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.4.
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.4'
579 PACKAGE_STRING
='wxWidgets 2.9.4'
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_USE_GUI_1
922 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
923 COND_PLATFORM_WIN32_0
924 COND_PLATFORM_WIN32_1
925 COND_PLATFORM_WIN32_1_SHARED_0
927 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
928 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
929 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
930 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
931 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
932 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
933 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
934 COND_SHARED_0_USE_STC_1
935 COND_SHARED_0_wxUSE_EXPAT_builtin
936 COND_SHARED_0_wxUSE_REGEX_builtin
937 COND_SHARED_0_wxUSE_ZLIB_builtin
939 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
942 COND_TOOLKIT_COCOA_USE_GUI_1
943 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
945 COND_TOOLKIT_DFB_USE_GUI_1
947 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
948 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
950 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
952 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_GTK_USE_GUI_1
956 COND_TOOLKIT_MOTIF_USE_GUI_1
957 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
959 COND_TOOLKIT_MSW_USE_GUI_1
960 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_MSW_WXUNIV_0
962 COND_TOOLKIT_OSX_CARBON
963 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
964 COND_TOOLKIT_OSX_COCOA
965 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
966 COND_TOOLKIT_OSX_IPHONE
967 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
968 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
970 COND_TOOLKIT_PM_USE_GUI_1
971 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
973 COND_TOOLKIT_WINCE_USE_GUI_1
974 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
975 COND_TOOLKIT_WINCE_WXUNIV_0
977 COND_TOOLKIT_X11_USE_GUI_1
980 COND_USE_EXCEPTIONS_0
981 COND_USE_EXCEPTIONS_1
984 COND_USE_GUI_1_USE_OPENGL_1
985 COND_USE_GUI_1_WXUNIV_0
986 COND_USE_GUI_1_WXUNIV_1
987 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
988 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
989 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
990 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
991 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
992 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
998 COND_USE_SOTWOSYMLINKS_1
999 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
1000 COND_USE_SOVERLINUX_1
1001 COND_USE_SOVERSION_0
1002 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
1003 COND_USE_SOVERSOLARIS_1
1008 COND_WINDOWS_IMPLIB_1
1009 COND_WITH_PLUGIN_SDL_1
1012 COND_WXUSE_EXPAT_BUILTIN
1013 COND_WXUSE_LIBJPEG_BUILTIN
1014 COND_WXUSE_LIBPNG_BUILTIN
1015 COND_WXUSE_LIBTIFF_BUILTIN
1016 COND_WXUSE_REGEX_BUILTIN
1017 COND_WXUSE_ZLIB_BUILTIN
1018 COND_wxUSE_EXPAT_builtin
1019 COND_wxUSE_LIBJPEG_builtin
1020 COND_wxUSE_LIBPNG_builtin
1021 COND_wxUSE_LIBTIFF_builtin
1022 COND_wxUSE_REGEX_builtin
1023 COND_wxUSE_ZLIB_builtin
1026 WX_LIBRARY_BASENAME_NOGUI
1027 WX_LIBRARY_BASENAME_GUI
1047 WXCONFIG_LDFLAGS_GUI
1059 WX_RESOURCES_MACOSX_ASCII
1060 WX_RESOURCES_MACOSX_DATA
1070 ac_precious_vars
='build_alias
1107 LIBGNOMEPRINTUI_CFLAGS
1108 LIBGNOMEPRINTUI_LIBS
1119 ac_subdirs_all
='src/tiff
1122 # Initialize some variables set by options.
1124 ac_init_version
=false
1125 # The variables have the same names as the options, with
1126 # dashes changed to underlines.
1127 cache_file
=/dev
/null
1134 program_transform_name
=s
,x
,x
,
1142 # Installation directory options.
1143 # These are left unexpanded so users can "make install exec_prefix=/foo"
1144 # and all the variables that are supposed to be based on exec_prefix
1145 # by default will actually change.
1146 # Use braces instead of parens because sh, perl, etc. also accept them.
1147 # (The list follows the same order as the GNU Coding Standards.)
1148 bindir
='${exec_prefix}/bin'
1149 sbindir
='${exec_prefix}/sbin'
1150 libexecdir
='${exec_prefix}/libexec'
1151 datarootdir
='${prefix}/share'
1152 datadir
='${datarootdir}'
1153 sysconfdir
='${prefix}/etc'
1154 sharedstatedir
='${prefix}/com'
1155 localstatedir
='${prefix}/var'
1156 includedir
='${prefix}/include'
1157 oldincludedir
='/usr/include'
1158 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1159 infodir
='${datarootdir}/info'
1164 libdir
='${exec_prefix}/lib'
1165 localedir
='${datarootdir}/locale'
1166 mandir
='${datarootdir}/man'
1172 # If the previous option needs an argument, assign it.
1173 if test -n "$ac_prev"; then
1174 eval $ac_prev=\
$ac_option
1180 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1184 # Accept the important Cygnus configure options, so we can diagnose typos.
1186 case $ac_dashdash$ac_option in
1190 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1192 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1193 bindir
=$ac_optarg ;;
1195 -build | --build | --buil | --bui | --bu)
1196 ac_prev
=build_alias
;;
1197 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1198 build_alias
=$ac_optarg ;;
1200 -cache-file | --cache-file | --cache-fil | --cache-fi \
1201 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1202 ac_prev
=cache_file
;;
1203 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1204 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1205 cache_file
=$ac_optarg ;;
1207 --config-cache | -C)
1208 cache_file
=config.cache
;;
1210 -datadir | --datadir | --datadi | --datad)
1212 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1213 datadir
=$ac_optarg ;;
1215 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1216 | --dataroo | --dataro | --datar)
1217 ac_prev
=datarootdir
;;
1218 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1219 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1220 datarootdir
=$ac_optarg ;;
1222 -disable-* | --disable-*)
1223 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1226 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1227 { (exit 1); exit 1; }; }
1228 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1229 eval enable_
$ac_feature=no
;;
1231 -docdir | --docdir | --docdi | --doc | --do)
1233 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1234 docdir
=$ac_optarg ;;
1236 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1238 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1239 dvidir
=$ac_optarg ;;
1241 -enable-* | --enable-*)
1242 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1243 # Reject names that are not valid shell variable names.
1244 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1245 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1246 { (exit 1); exit 1; }; }
1247 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1248 eval enable_
$ac_feature=\
$ac_optarg ;;
1250 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1251 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1252 | --exec | --exe | --ex)
1253 ac_prev
=exec_prefix
;;
1254 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1255 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1256 | --exec=* | --exe=* | --ex=*)
1257 exec_prefix
=$ac_optarg ;;
1259 -gas | --gas | --ga | --g)
1260 # Obsolete; use --with-gas.
1263 -help | --help | --hel | --he | -h)
1264 ac_init_help
=long
;;
1265 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1266 ac_init_help
=recursive
;;
1267 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1268 ac_init_help
=short
;;
1270 -host | --host | --hos | --ho)
1271 ac_prev
=host_alias
;;
1272 -host=* | --host=* | --hos=* | --ho=*)
1273 host_alias
=$ac_optarg ;;
1275 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1277 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1279 htmldir
=$ac_optarg ;;
1281 -includedir | --includedir | --includedi | --included | --include \
1282 | --includ | --inclu | --incl | --inc)
1283 ac_prev
=includedir
;;
1284 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1285 | --includ=* | --inclu=* | --incl=* | --inc=*)
1286 includedir
=$ac_optarg ;;
1288 -infodir | --infodir | --infodi | --infod | --info | --inf)
1290 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1291 infodir
=$ac_optarg ;;
1293 -libdir | --libdir | --libdi | --libd)
1295 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1296 libdir
=$ac_optarg ;;
1298 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1299 | --libexe | --libex | --libe)
1300 ac_prev
=libexecdir
;;
1301 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1302 | --libexe=* | --libex=* | --libe=*)
1303 libexecdir
=$ac_optarg ;;
1305 -localedir | --localedir | --localedi | --localed | --locale)
1306 ac_prev
=localedir
;;
1307 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1308 localedir
=$ac_optarg ;;
1310 -localstatedir | --localstatedir | --localstatedi | --localstated \
1311 | --localstate | --localstat | --localsta | --localst | --locals)
1312 ac_prev
=localstatedir
;;
1313 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1314 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1315 localstatedir
=$ac_optarg ;;
1317 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1319 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1320 mandir
=$ac_optarg ;;
1322 -nfp | --nfp | --nf)
1323 # Obsolete; use --without-fp.
1326 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1327 | --no-cr | --no-c | -n)
1330 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1331 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1334 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1335 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1336 | --oldin | --oldi | --old | --ol | --o)
1337 ac_prev
=oldincludedir
;;
1338 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1339 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1340 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1341 oldincludedir
=$ac_optarg ;;
1343 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1345 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1346 prefix
=$ac_optarg ;;
1348 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1349 | --program-pre | --program-pr | --program-p)
1350 ac_prev
=program_prefix
;;
1351 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1352 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1353 program_prefix
=$ac_optarg ;;
1355 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1356 | --program-suf | --program-su | --program-s)
1357 ac_prev
=program_suffix
;;
1358 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1359 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1360 program_suffix
=$ac_optarg ;;
1362 -program-transform-name | --program-transform-name \
1363 | --program-transform-nam | --program-transform-na \
1364 | --program-transform-n | --program-transform- \
1365 | --program-transform | --program-transfor \
1366 | --program-transfo | --program-transf \
1367 | --program-trans | --program-tran \
1368 | --progr-tra | --program-tr | --program-t)
1369 ac_prev
=program_transform_name
;;
1370 -program-transform-name=* | --program-transform-name=* \
1371 | --program-transform-nam=* | --program-transform-na=* \
1372 | --program-transform-n=* | --program-transform-=* \
1373 | --program-transform=* | --program-transfor=* \
1374 | --program-transfo=* | --program-transf=* \
1375 | --program-trans=* | --program-tran=* \
1376 | --progr-tra=* | --program-tr=* | --program-t=*)
1377 program_transform_name
=$ac_optarg ;;
1379 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1381 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1382 pdfdir
=$ac_optarg ;;
1384 -psdir | --psdir | --psdi | --psd | --ps)
1386 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1389 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1390 | -silent | --silent | --silen | --sile | --sil)
1393 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1395 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1397 sbindir
=$ac_optarg ;;
1399 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1400 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1401 | --sharedst | --shareds | --shared | --share | --shar \
1403 ac_prev
=sharedstatedir
;;
1404 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1405 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1406 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1408 sharedstatedir
=$ac_optarg ;;
1410 -site | --site | --sit)
1412 -site=* | --site=* | --sit=*)
1415 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1417 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1418 srcdir
=$ac_optarg ;;
1420 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1421 | --syscon | --sysco | --sysc | --sys | --sy)
1422 ac_prev
=sysconfdir
;;
1423 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1424 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1425 sysconfdir
=$ac_optarg ;;
1427 -target | --target | --targe | --targ | --tar | --ta | --t)
1428 ac_prev
=target_alias
;;
1429 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1430 target_alias
=$ac_optarg ;;
1432 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1435 -version | --version | --versio | --versi | --vers | -V)
1436 ac_init_version
=: ;;
1439 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1440 # Reject names that are not valid shell variable names.
1441 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1442 { echo "$as_me: error: invalid package name: $ac_package" >&2
1443 { (exit 1); exit 1; }; }
1444 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1445 eval with_
$ac_package=\
$ac_optarg ;;
1447 -without-* | --without-*)
1448 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1449 # Reject names that are not valid shell variable names.
1450 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1451 { echo "$as_me: error: invalid package name: $ac_package" >&2
1452 { (exit 1); exit 1; }; }
1453 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1454 eval with_
$ac_package=no
;;
1457 # Obsolete; use --with-x.
1460 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1461 | --x-incl | --x-inc | --x-in | --x-i)
1462 ac_prev
=x_includes
;;
1463 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1464 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1465 x_includes
=$ac_optarg ;;
1467 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1468 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1469 ac_prev
=x_libraries
;;
1470 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1471 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1472 x_libraries
=$ac_optarg ;;
1474 -*) { echo "$as_me: error: unrecognized option: $ac_option
1475 Try \`$0 --help' for more information." >&2
1476 { (exit 1); exit 1; }; }
1480 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1481 # Reject names that are not valid shell variable names.
1482 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1483 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1484 { (exit 1); exit 1; }; }
1485 eval $ac_envvar=\
$ac_optarg
1486 export $ac_envvar ;;
1489 # FIXME: should be removed in autoconf 3.0.
1490 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1491 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1492 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1493 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1499 if test -n "$ac_prev"; then
1500 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1501 { echo "$as_me: error: missing argument to $ac_option" >&2
1502 { (exit 1); exit 1; }; }
1505 # Be sure to have absolute directory names.
1506 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1507 datadir sysconfdir sharedstatedir localstatedir includedir \
1508 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1509 libdir localedir mandir
1511 eval ac_val
=\$
$ac_var
1513 [\\/$
]* | ?
:[\\/]* ) continue;;
1514 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1516 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1517 { (exit 1); exit 1; }; }
1520 # There might be people who depend on the old broken behavior: `$host'
1521 # used to hold the argument of --host etc.
1522 # FIXME: To remove some day.
1525 target
=$target_alias
1527 # FIXME: To remove some day.
1528 if test "x$host_alias" != x
; then
1529 if test "x$build_alias" = x
; then
1530 cross_compiling
=maybe
1531 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1532 If a cross compiler is detected then cross compile mode will be used." >&2
1533 elif test "x$build_alias" != "x$host_alias"; then
1539 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1541 test "$silent" = yes && exec 6>/dev
/null
1544 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1545 ac_ls_di
=`ls -di .` &&
1546 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1547 { echo "$as_me: error: Working directory cannot be determined" >&2
1548 { (exit 1); exit 1; }; }
1549 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1550 { echo "$as_me: error: pwd does not report name of working directory" >&2
1551 { (exit 1); exit 1; }; }
1554 # Find the source files, if location was not specified.
1555 if test -z "$srcdir"; then
1556 ac_srcdir_defaulted
=yes
1557 # Try the directory containing this script, then the parent directory.
1558 ac_confdir
=`$as_dirname -- "$0" ||
1559 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1560 X"$0" : 'X\(//\)[^/]' \| \
1561 X"$0" : 'X\(//\)$' \| \
1562 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1564 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1582 if test ! -r "$srcdir/$ac_unique_file"; then
1586 ac_srcdir_defaulted
=no
1588 if test ! -r "$srcdir/$ac_unique_file"; then
1589 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1590 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1591 { (exit 1); exit 1; }; }
1593 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1595 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1596 { (exit 1); exit 1; }; }
1598 # When building in place, set srcdir=.
1599 if test "$ac_abs_confdir" = "$ac_pwd"; then
1602 # Remove unnecessary trailing slashes from srcdir.
1603 # Double slashes in file names in object file debugging info
1604 # mess up M-x gdb in Emacs.
1606 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1608 for ac_var
in $ac_precious_vars; do
1609 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1610 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1611 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1612 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1616 # Report the --help message.
1618 if test "$ac_init_help" = "long"; then
1619 # Omit some internal or obsolete options to make the list less imposing.
1620 # This message is too long to be a string in the A/UX 3.1 sh.
1622 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1624 Usage: $0 [OPTION]... [VAR=VALUE]...
1626 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1627 VAR=VALUE. See below for descriptions of some of the useful variables.
1629 Defaults for the options are specified in brackets.
1632 -h, --help display this help and exit
1633 --help=short display options specific to this package
1634 --help=recursive display the short help of all the included packages
1635 -V, --version display version information and exit
1636 -q, --quiet, --silent do not print \`checking...' messages
1637 --cache-file=FILE cache test results in FILE [disabled]
1638 -C, --config-cache alias for \`--cache-file=config.cache'
1639 -n, --no-create do not create output files
1640 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1642 Installation directories:
1643 --prefix=PREFIX install architecture-independent files in PREFIX
1644 [$ac_default_prefix]
1645 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1648 By default, \`make install' will install all the files in
1649 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1650 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1651 for instance \`--prefix=\$HOME'.
1653 For better control, use the options below.
1655 Fine tuning of the installation directories:
1656 --bindir=DIR user executables [EPREFIX/bin]
1657 --sbindir=DIR system admin executables [EPREFIX/sbin]
1658 --libexecdir=DIR program executables [EPREFIX/libexec]
1659 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1660 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1661 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1662 --libdir=DIR object code libraries [EPREFIX/lib]
1663 --includedir=DIR C header files [PREFIX/include]
1664 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1665 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1666 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1667 --infodir=DIR info documentation [DATAROOTDIR/info]
1668 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1669 --mandir=DIR man documentation [DATAROOTDIR/man]
1670 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1671 --htmldir=DIR html documentation [DOCDIR]
1672 --dvidir=DIR dvi documentation [DOCDIR]
1673 --pdfdir=DIR pdf documentation [DOCDIR]
1674 --psdir=DIR ps documentation [DOCDIR]
1680 --x-includes=DIR X include files are
in DIR
1681 --x-libraries=DIR X library files are
in DIR
1684 --build=BUILD configure
for building on BUILD
[guessed
]
1685 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1689 if test -n "$ac_init_help"; then
1690 case $ac_init_help in
1691 short
| recursive
) echo "Configuration of wxWidgets 2.9.4:";;
1696 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1697 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1698 --disable-gui don
't build GUI parts of the library
1699 --enable-monolithic build wxWidgets as single library
1700 --enable-plugins build parts of wxWidgets as loadable components
1701 --enable-official_build official build of wxWidgets (win32 DLL only)
1702 --enable-vendor=VENDOR vendor name (win32 DLL only)
1703 --disable-all-features disable all optional features to build minimal library
1704 --enable-universal use wxWidgets GUI controls instead of native ones
1705 --enable-nanox use NanoX
1706 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1707 --enable-gpe use GNOME PDA Environment features if possible
1708 --enable-debug build library for debugging
1709 --disable-debug_flag disable all debugging support
1710 --enable-debug_info generate debug information
1711 --enable-debug_gdb create code with extra GDB debugging information
1712 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1713 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1714 --disable-shared create static library instead of shared
1715 --enable-stl use standard C++ classes for everything
1716 --enable-std_containers use standard C++ container classes
1717 --enable-std_iostreams use standard C++ stream classes
1718 --enable-std_string use standard C++ string classes
1719 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1720 --disable-unicode compile without Unicode support
1721 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1722 --enable-utf8 use UTF-8 representation for strings (Unix only)
1723 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1724 --enable-extended_rtti use extended RTTI (XTI)
1725 --enable-omf use OMF object format
1726 --disable-optimise compile without optimisations
1727 --enable-profile create code with profiling information
1728 --enable-no_rtti create code without RTTI information
1729 --enable-no_exceptions create code without C++ exceptions handling
1730 --enable-permissive compile code disregarding strict ANSI
1731 --enable-no_deps create code without dependency information
1732 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1733 --enable-universal_binary create universal binary with Mac PPC and i386
(and x86_64
if using Cocoa
) architectures
1734 --enable-macosx_arch=ARCH build
for just the specified architecture
1735 --enable-compat26 enable wxWidgets
2.6 compatibility
1736 --disable-compat28 disable wxWidgets
2.8 compatibility
1737 --disable-rpath disable use of rpath
for uninstalled builds
1738 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1739 --disable-visibility disable use of ELF symbols visibility even
if supported
1740 --disable-tls disable use of compiler TLS support
1741 --enable-intl use internationalization system
1742 --enable-xlocale use x
-locale support
(requires wxLocale
)
1743 --enable-config use wxConfig
(and derived
) classes
1744 --enable-protocols use wxProtocol and derived classes
1745 --enable-ftp use wxFTP
(requires wxProtocol
1746 --enable-http use wxHTTP
(requires wxProtocol
1747 --enable-fileproto use wxFileProto class
(requires wxProtocol
1748 --enable-sockets use socket
/network classes
1749 --enable-ipv6 enable IPv6 support
in wxSocket
1750 --enable-ole use OLE classes
(Win32 only
)
1751 --enable-dataobj use data object classes
1752 --enable-ipc use interprocess communication
(wxSocket etc.
)
1753 --enable-baseevtloop use event loop
in console programs too
1754 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1755 --enable-selectloop use wxSelectDispatcher class
1756 --enable-any use wxAny class
1757 --enable-apple_ieee use the Apple IEEE codec
1758 --enable-arcstream use wxArchive streams
1759 --enable-base64 use base64 encoding
/decoding functions
1760 --enable-backtrace use wxStackWalker class
for getting backtraces
1761 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1762 --enable-cmdline use wxCmdLineParser class
1763 --enable-datetime use wxDateTime class
1764 --enable-debugreport use wxDebugReport class
1765 --enable-dialupman use dialup network classes
1766 --enable-dynlib use wxLibrary class
for DLL loading
1767 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1768 --enable-exceptions build exception
-safe library
1769 --enable-ffile use wxFFile class
1770 --enable-file use wxFile class
1771 --enable-filehistory use wxFileHistory class
1772 --enable-filesystem use virtual
file systems classes
1773 --enable-fontenum use wxFontEnumerator class
1774 --enable-fontmap use font encodings conversion classes
1775 --enable-fs_archive use virtual archive filesystems
1776 --enable-fs_inet use virtual HTTP
/FTP filesystems
1777 --enable-fs_zip now replaced by fs_archive
1778 --enable-fswatcher use wxFileSystemWatcher class
1779 --enable-geometry use geometry class
1780 --enable-log use logging system
1781 --enable-longlong use wxLongLong class
1782 --enable-mimetype use wxMimeTypesManager
1783 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1784 --enable-snglinst use wxSingleInstanceChecker class
1785 --enable-sound use wxSound class
1786 --enable-stdpaths use wxStandardPaths class
1787 --enable-stopwatch use wxStopWatch class
1788 --enable-streams use wxStream etc classes
1789 --enable-sysoptions use wxSystemOptions
1790 --enable-tarstream use wxTar streams
1791 --enable-textbuf use wxTextBuffer class
1792 --enable-textfile use wxTextFile class
1793 --enable-timer use wxTimer class
1794 --enable-variant use wxVariant class
1795 --enable-zipstream use wxZip streams
1796 --enable-url use wxURL class
1797 --enable-protocol use wxProtocol class
1798 --enable-protocol-http HTTP support
in wxProtocol
1799 --enable-protocol-ftp FTP support
in wxProtocol
1800 --enable-protocol-file FILE support
in wxProtocol
1801 --enable-threads use threads
1802 --enable-iniconf use wxIniConfig
(Win32 only
)
1803 --enable-regkey use wxRegKey class
(Win32 only
)
1804 --enable-docview use document view architecture
1805 --enable-help use
help subsystem
1806 --enable-mshtmlhelp use MS HTML Help
(win32
)
1807 --enable-html use wxHTML sub
-library
1808 --enable-htmlhelp use wxHTML
-based help
1809 --enable-xrc use XRC resources sub
-library
1810 --enable-aui use AUI docking library
1811 --enable-propgrid use wxPropertyGrid library
1812 --enable-ribbon use wxRibbon library
1813 --enable-stc use wxStyledTextCtrl library
1814 --enable-constraints use layout
-constraints system
1815 --enable-loggui use standard GUI logger
1816 --enable-logwin use wxLogWindow
1817 --enable-logdialog use wxLogDialog
1818 --enable-mdi use multiple document interface architecture
1819 --enable-mdidoc use docview architecture with MDI
1820 --enable-mediactrl use wxMediaCtrl class
1821 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1822 --enable-richtext use wxRichTextCtrl
1823 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1824 --enable-printarch use printing architecture
1825 --enable-svg use wxSVGFileDC device context
1826 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
1827 --enable-webview use wxWebView library
1828 --enable-graphics_ctx use graphics context
2D drawing API
1829 --enable-clipboard use wxClipboard class
1830 --enable-dnd use Drag
'n'Drop classes
1831 --disable-controls disable compilation of all standard controls
1832 --enable-markup support wxControl
::SetLabelMarkup
1833 --enable-accel use accelerators
1834 --enable-animatectrl use wxAnimationCtrl class
1835 --enable-bannerwindow use wxBannerWindow class
1836 --enable-artstd use standard XPM icons
in wxArtProvider
1837 --enable-arttango use Tango icons
in wxArtProvider
1838 --enable-bmpbutton use wxBitmapButton class
1839 --enable-bmpcombobox use wxBitmapComboBox class
1840 --enable-button use wxButton class
1841 --enable-calendar use wxCalendarCtrl class
1842 --enable-caret use wxCaret class
1843 --enable-checkbox use wxCheckBox class
1844 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1845 --enable-choice use wxChoice class
1846 --enable-choicebook use wxChoicebook class
1847 --enable-collpane use wxCollapsiblePane class
1848 --enable-colourpicker use wxColourPickerCtrl class
1849 --enable-combobox use wxComboBox class
1850 --enable-comboctrl use wxComboCtrl class
1851 --enable-commandlinkbutton use wxCommmandLinkButton class
1852 --enable-dataviewctrl use wxDataViewCtrl class
1853 --enable-datepick use wxDatePickerCtrl class
1854 --enable-detect_sm use code to detect X11 session manager
1855 --enable-dirpicker use wxDirPickerCtrl class
1856 --enable-display use wxDisplay class
1857 --enable-editablebox use wxEditableListBox class
1858 --enable-filectrl use wxFileCtrl class
1859 --enable-filepicker use wxFilePickerCtrl class
1860 --enable-fontpicker use wxFontPickerCtrl class
1861 --enable-gauge use wxGauge class
1862 --enable-grid use wxGrid class
1863 --enable-headerctrl use wxHeaderCtrl class
1864 --enable-hyperlink use wxHyperlinkCtrl class
1865 --enable-imaglist use wxImageList class
1866 --enable-infobar use wxInfoBar class
1867 --enable-listbook use wxListbook class
1868 --enable-listbox use wxListBox class
1869 --enable-listctrl use wxListCtrl class
1870 --enable-notebook use wxNotebook class
1871 --enable-notifmsg use wxNotificationMessage class
1872 --enable-odcombobox use wxOwnerDrawnComboBox class
1873 --enable-popupwin use wxPopUpWindow class
1874 --enable-radiobox use wxRadioBox class
1875 --enable-radiobtn use wxRadioButton class
1876 --enable-richmsgdlg use wxRichMessageDialog class
1877 --enable-richtooltip use wxRichToolTip class
1878 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1879 --enable-sash use wxSashWindow class
1880 --enable-scrollbar use wxScrollBar class and scrollable windows
1881 --enable-searchctrl use wxSearchCtrl class
1882 --enable-slider use wxSlider class
1883 --enable-spinbtn use wxSpinButton class
1884 --enable-spinctrl use wxSpinCtrl class
1885 --enable-splitter use wxSplitterWindow class
1886 --enable-statbmp use wxStaticBitmap class
1887 --enable-statbox use wxStaticBox class
1888 --enable-statline use wxStaticLine class
1889 --enable-stattext use wxStaticText class
1890 --enable-statusbar use wxStatusBar class
1891 --enable-taskbaricon use wxTaskBarIcon class
1892 --enable-tbarnative use native wxToolBar class
1893 --enable-textctrl use wxTextCtrl class
1894 --enable-timepick use wxTimePickerCtrl class
1895 --enable-tipwindow use wxTipWindow class
1896 --enable-togglebtn use wxToggleButton class
1897 --enable-toolbar use wxToolBar class
1898 --enable-toolbook use wxToolbook class
1899 --enable-treebook use wxTreebook class
1900 --enable-treectrl use wxTreeCtrl class
1901 --enable-treelist use wxTreeListCtrl class
1902 --enable-commondlg use all common dialogs
1903 --enable-aboutdlg use wxAboutBox
1904 --enable-choicedlg use wxChoiceDialog
1905 --enable-coldlg use wxColourDialog
1906 --enable-filedlg use wxFileDialog
1907 --enable-finddlg use wxFindReplaceDialog
1908 --enable-fontdlg use wxFontDialog
1909 --enable-dirdlg use wxDirDialog
1910 --enable-msgdlg use wxMessageDialog
1911 --enable-numberdlg use wxNumberEntryDialog
1912 --enable-splash use wxSplashScreen
1913 --enable-textdlg use wxTextDialog
1914 --enable-tipdlg use startup tips
1915 --enable-progressdlg use wxProgressDialog
1916 --enable-wizarddlg use wxWizard
1917 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1918 --enable-miniframe use wxMiniFrame class
1919 --enable-tooltips use wxToolTip class
1920 --enable-splines use spline drawing code
1921 --enable-mousewheel use mousewheel
1922 --enable-validators use wxValidator and derived classes
1923 --enable-busyinfo use wxBusyInfo
1924 --enable-hotkey use wxWindow
::RegisterHotKey
()
1925 --enable-joystick use wxJoystick
1926 --enable-metafiles use wxMetaFile
1927 --enable-dragimage use wxDragImage
1928 --enable-accessibility enable accessibility support
1929 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1930 --enable-dctransform use wxDC
::SetTransformMatrix and related
1931 --enable-webview-webkit use wxWebView WebKit backend
1932 --enable-palette use wxPalette class
1933 --enable-image use wxImage class
1934 --enable-gif use gif images
(GIF
file format
)
1935 --enable-pcx use pcx images
(PCX
file format
)
1936 --enable-tga use tga images
(TGA
file format
)
1937 --enable-iff use iff images
(IFF
file format
)
1938 --enable-pnm use pnm images
(PNM
file format
)
1939 --enable-xpm use xpm images
(XPM
file format
)
1940 --enable-ico_cur use Windows ICO and CUR formats
1941 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1942 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1943 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1944 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1945 --enable-wxdib use wxDIB class
(Win32 only
)
1946 --enable-webview-ie use wxWebView IE backend
(Win32 only
)
1947 --enable-autoidman use automatic ids management
1948 --disable-largefile omit support
for large files
1949 --disable-gtktest do not try to compile and run a
test GTK
+ program
1950 --disable-gtktest Do not try to compile and run a
test GTK program
1951 --disable-sdltest Do not try to compile and run a
test SDL program
1952 --enable-omf use OMF object format
(OS
/2)
1953 --disable-dependency-tracking
1954 don
't use dependency tracking even if the compiler
1956 --disable-precomp-headers
1957 don't use precompiled headers even
if compiler can
1960 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1961 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1962 --without-subdirs don
't generate makefiles for samples/demos/...
1963 --with-flavour=NAME specify a name to identify this build
1964 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1965 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1966 --with-motif use Motif/Lesstif
1967 --with-osx_carbon use Mac OS X (Carbon)
1968 --with-osx_cocoa use Mac OS X (Cocoa)
1969 --with-osx_iphone use iPhone OS X port
1970 --with-osx use Mac OS X (default port, currently Carbon)
1971 --with-carbon same as --with-osx_carbon
1972 --with-cocoa same as --with-osx_cocoa
1973 --with-iphone same as --with-osx_iphone
1974 --with-mac same as --with-osx
1975 --with-old_cocoa use old, deprecated, Cocoa port
1976 --with-wine use Wine
1977 --with-msw use MS-Windows
1978 --with-pm use OS/2 Presentation Manager
1979 --with-directfb use DirectFB
1980 --with-microwin use MicroWindows
1982 --with-libpng use libpng (PNG image format)
1983 --with-libjpeg use libjpeg (JPEG file format)
1984 --with-libtiff use libtiff (TIFF file format)
1985 --with-libxpm use libxpm (XPM file format)
1986 --with-libiconv use libiconv (character conversion)
1987 --with-libmspack use libmspack (CHM help files loading)
1988 --without-gtkprint don't use GTK printing support
1989 --without-gnomeprint don
't use GNOME printing libraries
1990 --with-gnomevfs use GNOME VFS for associating MIME types
1991 --with-hildon use Hildon framework for Nokia 770/800/810
1992 --with-opengl use OpenGL (or Mesa)
1993 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1994 --with-sdl use SDL for audio on Unix
1995 --with-regex enable support for wxRegEx class
1996 --with-zlib use zlib for LZW compression
1997 --with-expat enable XML support using expat parser
1998 --with-macosx-sdk=PATH use an OS X SDK at PATH
1999 --with-macosx-version-min=VER build binaries which require at least this OS X version
2000 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2001 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2002 --with-x use the X Window System
2003 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2004 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2005 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2006 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2007 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2009 Some influential environment variables:
2010 CC C compiler command
2011 CFLAGS C compiler flags
2012 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2013 nonstandard directory <lib dir>
2014 LIBS libraries to pass to the linker, e.g. -l<library>
2015 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2016 you have headers in a nonstandard directory <include dir>
2018 CXX C++ compiler command
2019 CXXFLAGS C++ compiler flags
2020 CXXCPP C++ preprocessor
2021 PKG_CONFIG path to pkg-config utility
2023 C compiler flags for DIRECTFB, overriding pkg-config
2025 linker flags for DIRECTFB, overriding pkg-config
2026 XMKMF Path to xmkmf, Makefile generator for X Window System
2028 C compiler flags for PANGOX, overriding pkg-config
2029 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2031 C compiler flags for PANGOFT2, overriding pkg-config
2033 linker flags for PANGOFT2, overriding pkg-config
2035 C compiler flags for PANGOXFT, overriding pkg-config
2037 linker flags for PANGOXFT, overriding pkg-config
2039 C compiler flags for Xinerama, overriding pkg-config
2041 linker flags for Xinerama, overriding pkg-config
2043 C compiler flags for Xxf86vm, overriding pkg-config
2045 linker flags for Xxf86vm, overriding pkg-config
2046 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2047 SM_LIBS linker flags for SM, overriding pkg-config
2048 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2049 GL_LIBS linker flags for GL, overriding pkg-config
2050 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2051 GLU_LIBS linker flags for GLU, overriding pkg-config
2053 C compiler flags for MesaGL, overriding pkg-config
2054 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2056 C compiler flags for GTKPRINT, overriding pkg-config
2058 linker flags for GTKPRINT, overriding pkg-config
2059 LIBGNOMEPRINTUI_CFLAGS
2060 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2061 LIBGNOMEPRINTUI_LIBS
2062 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2064 C compiler flags for GNOMEVFS, overriding pkg-config
2066 linker flags for GNOMEVFS, overriding pkg-config
2068 C compiler flags for HILDON, overriding pkg-config
2069 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2071 C compiler flags for HILDON2, overriding pkg-config
2073 linker flags for HILDON2, overriding pkg-config
2075 C compiler flags for CAIRO, overriding pkg-config
2076 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2077 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2078 GST_LIBS linker flags for GST, overriding pkg-config
2080 Use these variables to override the choices made by `configure' or to
help
2081 it to
find libraries and programs with nonstandard names
/locations.
2083 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2088 if test "$ac_init_help" = "recursive"; then
2089 # If there are subdirs, report their specific --help.
2090 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2091 test -d "$ac_dir" || continue
2095 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2097 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2098 # A ".." for each directory in $ac_dir_suffix.
2099 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2100 case $ac_top_builddir_sub in
2101 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2102 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2105 ac_abs_top_builddir
=$ac_pwd
2106 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2107 # for backward compatibility:
2108 ac_top_builddir
=$ac_top_build_prefix
2111 .
) # We are building in place.
2113 ac_top_srcdir
=$ac_top_builddir_sub
2114 ac_abs_top_srcdir
=$ac_pwd ;;
2115 [\\/]* | ?
:[\\/]* ) # Absolute name.
2116 ac_srcdir
=$srcdir$ac_dir_suffix;
2117 ac_top_srcdir
=$srcdir
2118 ac_abs_top_srcdir
=$srcdir ;;
2120 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2121 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2122 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2124 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2126 cd "$ac_dir" || { ac_status
=$?
; continue; }
2127 # Check for guested configure.
2128 if test -f "$ac_srcdir/configure.gnu"; then
2130 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2131 elif test -f "$ac_srcdir/configure"; then
2133 $SHELL "$ac_srcdir/configure" --help=recursive
2135 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2137 cd "$ac_pwd" || { ac_status
=$?
; break; }
2141 test -n "$ac_init_help" && exit $ac_status
2142 if $ac_init_version; then
2144 wxWidgets configure
2.9.4
2145 generated by GNU Autoconf
2.61
2147 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2148 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2149 This configure
script is free software
; the Free Software Foundation
2150 gives unlimited permission to copy
, distribute and modify it.
2154 cat >config.log
<<_ACEOF
2155 This file contains any messages produced by compilers while
2156 running configure, to aid debugging if configure makes a mistake.
2158 It was created by wxWidgets $as_me 2.9.4, which was
2159 generated by GNU Autoconf 2.61. Invocation command line was
2171 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2172 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2173 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2174 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2175 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2177 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2178 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2180 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2181 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2182 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2183 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2184 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2185 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2186 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2190 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2194 test -z "$as_dir" && as_dir
=.
2195 echo "PATH: $as_dir"
2211 # Keep a trace of the command line.
2212 # Strip out --no-create and --no-recursion so they do not pile up.
2213 # Strip out --silent because we don't want to record it for future runs.
2214 # Also quote any args containing shell meta-characters.
2215 # Make two passes to allow for proper duplicate-argument suppression.
2219 ac_must_keep_next
=false
2225 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2226 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2227 | -silent | --silent | --silen | --sile | --sil)
2230 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2233 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2235 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2236 if test $ac_must_keep_next = true
; then
2237 ac_must_keep_next
=false
# Got value, back to normal.
2240 *=* | --config-cache | -C | -disable-* | --disable-* \
2241 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2242 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2243 | -with-* | --with-* | -without-* | --without-* | --x)
2244 case "$ac_configure_args0 " in
2245 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2248 -* ) ac_must_keep_next
=true
;;
2251 ac_configure_args
="$ac_configure_args '$ac_arg'"
2256 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2257 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2259 # When interrupted or exit'd, cleanup temporary files, and complete
2260 # config.log. We remove comments because anyway the quotes in there
2261 # would cause problems or look ugly.
2262 # WARNING: Use '\'' to represent an apostrophe within the trap.
2263 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2264 trap 'exit_status=$?
2265 # Save into config.log some information that might help in debugging.
2270 ## ---------------- ##
2271 ## Cache variables. ##
2272 ## ---------------- ##
2275 # The following way of writing the cache mishandles newlines in values,
2277 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2278 eval ac_val=\$$ac_var
2282 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2283 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2286 _ | IFS | as_nl) ;; #(
2287 *) $as_unset $ac_var ;;
2292 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2293 *${as_nl}ac_space=\ *)
2295 "s/'\''/'\''\\\\'\'''\''/g;
2296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2307 ## ----------------- ##
2308 ## Output variables. ##
2309 ## ----------------- ##
2312 for ac_var in $ac_subst_vars
2314 eval ac_val=\$$ac_var
2316 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2318 echo "$ac_var='\''$ac_val'\''"
2322 if test -n "$ac_subst_files"; then
2324 ## ------------------- ##
2325 ## File substitutions. ##
2326 ## ------------------- ##
2329 for ac_var
in $ac_subst_files
2331 eval ac_val
=\$
$ac_var
2333 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2335 echo "$ac_var='\''$ac_val'\''"
2340 if test -s confdefs.h; then
2350 test "$ac_signal" != 0 &&
2351 echo "$as_me: caught signal $ac_signal"
2352 echo "$as_me: exit $exit_status"
2354 rm -f core *.core core.conftest.* &&
2355 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2358 for ac_signal
in 1 2 13 15; do
2359 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2363 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2364 rm -f -r conftest
* confdefs.h
2366 # Predefined preprocessor variables.
2368 cat >>confdefs.h
<<_ACEOF
2369 #define PACKAGE_NAME "$PACKAGE_NAME"
2373 cat >>confdefs.h
<<_ACEOF
2374 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2378 cat >>confdefs.h
<<_ACEOF
2379 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PACKAGE_STRING "$PACKAGE_STRING"
2388 cat >>confdefs.h
<<_ACEOF
2389 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2393 # Let the site file select an alternate cache file if it wants to.
2394 # Prefer explicitly selected file to automatically selected ones.
2395 if test -n "$CONFIG_SITE"; then
2396 set x
"$CONFIG_SITE"
2397 elif test "x$prefix" != xNONE
; then
2398 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2400 set x
"$ac_default_prefix/share/config.site" \
2401 "$ac_default_prefix/etc/config.site"
2406 if test -r "$ac_site_file"; then
2407 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2408 echo "$as_me: loading site script $ac_site_file" >&6;}
2409 sed 's/^/| /' "$ac_site_file" >&5
2414 if test -r "$cache_file"; then
2415 # Some versions of bash will fail to source /dev/null (special
2416 # files actually), so we avoid doing that.
2417 if test -f "$cache_file"; then
2418 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2419 echo "$as_me: loading cache $cache_file" >&6;}
2421 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2422 *) .
"./$cache_file";;
2426 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2427 echo "$as_me: creating cache $cache_file" >&6;}
2431 # Check that the precious variables saved in the cache have kept the same
2433 ac_cache_corrupted
=false
2434 for ac_var
in $ac_precious_vars; do
2435 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2436 eval ac_new_set
=\
$ac_env_${ac_var}_set
2437 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2438 eval ac_new_val
=\
$ac_env_${ac_var}_value
2439 case $ac_old_set,$ac_new_set in
2441 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2442 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2443 ac_cache_corrupted
=: ;;
2445 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2446 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2447 ac_cache_corrupted
=: ;;
2450 if test "x$ac_old_val" != "x$ac_new_val"; then
2451 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2452 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2453 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2454 echo "$as_me: former value: $ac_old_val" >&2;}
2455 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2456 echo "$as_me: current value: $ac_new_val" >&2;}
2457 ac_cache_corrupted
=:
2460 # Pass precious variables to config.status.
2461 if test "$ac_new_set" = set; then
2463 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2464 *) ac_arg
=$ac_var=$ac_new_val ;;
2466 case " $ac_configure_args " in
2467 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2468 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2472 if $ac_cache_corrupted; then
2473 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2474 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2475 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2476 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2477 { (exit 1); exit 1; }; }
2505 ac_cpp
='$CPP $CPPFLAGS'
2506 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2507 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2508 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2515 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2516 if test -f "$ac_dir/install-sh"; then
2518 ac_install_sh
="$ac_aux_dir/install-sh -c"
2520 elif test -f "$ac_dir/install.sh"; then
2522 ac_install_sh
="$ac_aux_dir/install.sh -c"
2524 elif test -f "$ac_dir/shtool"; then
2526 ac_install_sh
="$ac_aux_dir/shtool install -c"
2530 if test -z "$ac_aux_dir"; then
2531 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2532 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2533 { (exit 1); exit 1; }; }
2536 # These three variables are undocumented and unsupported,
2537 # and are intended to be withdrawn in a future Autoconf release.
2538 # They can cause serious problems if a builder's source tree is in a directory
2539 # whose full name contains unusual characters.
2540 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2541 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2542 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2545 # Make sure we can run config.sub.
2546 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2547 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2548 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2549 { (exit 1); exit 1; }; }
2551 { echo "$as_me:$LINENO: checking build system type" >&5
2552 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2553 if test "${ac_cv_build+set}" = set; then
2554 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 ac_build_alias
=$build_alias
2557 test "x$ac_build_alias" = x
&&
2558 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2559 test "x$ac_build_alias" = x
&&
2560 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2561 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2562 { (exit 1); exit 1; }; }
2563 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2564 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2565 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2566 { (exit 1); exit 1; }; }
2569 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2570 echo "${ECHO_T}$ac_cv_build" >&6; }
2571 case $ac_cv_build in
2573 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2574 echo "$as_me: error: invalid value of canonical build" >&2;}
2575 { (exit 1); exit 1; }; };;
2578 ac_save_IFS
=$IFS; IFS
='-'
2584 # Remember, the first character of IFS is used to create $*,
2585 # except with old shells:
2588 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2591 { echo "$as_me:$LINENO: checking host system type" >&5
2592 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2593 if test "${ac_cv_host+set}" = set; then
2594 echo $ECHO_N "(cached) $ECHO_C" >&6
2596 if test "x$host_alias" = x
; then
2597 ac_cv_host
=$ac_cv_build
2599 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2600 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2601 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2602 { (exit 1); exit 1; }; }
2606 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2607 echo "${ECHO_T}$ac_cv_host" >&6; }
2610 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2611 echo "$as_me: error: invalid value of canonical host" >&2;}
2612 { (exit 1); exit 1; }; };;
2615 ac_save_IFS
=$IFS; IFS
='-'
2621 # Remember, the first character of IFS is used to create $*,
2622 # except with old shells:
2625 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2629 if test "$cross_compiling" != "no"; then
2630 HOST_PREFIX
="${host_alias}-"
2631 HOST_SUFFIX
="-$host_alias"
2638 wx_major_version_number
=2
2639 wx_minor_version_number
=9
2641 wx_subrelease_number
=0
2643 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2644 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2645 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2647 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2650 wx_top_builddir
="`pwd`"
2663 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2669 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2675 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2677 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
2679 DEFAULT_wxUSE_OLD_COCOA
=0
2681 DEFAULT_wxUSE_OSX_CARBON
=0
2682 DEFAULT_wxUSE_OSX_COCOA
=0
2683 DEFAULT_wxUSE_OSX_IPHONE
=0
2684 DEFAULT_wxUSE_MICROWIN
=0
2685 DEFAULT_wxUSE_MOTIF
=0
2691 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2692 DEFAULT_DEFAULT_wxUSE_GTK
=0
2693 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2694 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2695 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2696 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2697 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2698 DEFAULT_DEFAULT_wxUSE_MSW
=0
2699 DEFAULT_DEFAULT_wxUSE_PM
=0
2700 DEFAULT_DEFAULT_wxUSE_X11
=0
2701 DEFAULT_DEFAULT_wxUSE_DFB
=0
2705 DYLIB_RPATH_INSTALL
=
2706 DYLIB_RPATH_POSTLINK
=
2708 DEFAULT_STD_FLAG
=yes
2713 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2714 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2715 cat >>confdefs.h
<<\_ACEOF
2720 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2724 cat >>confdefs.h
<<\_ACEOF
2729 if test "x$TMP" = "xalpha"; then
2731 cat >>confdefs.h
<<\_ACEOF
2736 DEFAULT_DEFAULT_wxUSE_GTK
=1
2738 *-*-gnu* | *-*-k*bsd
*-gnu )
2741 if test "x$TMP" = "xalpha"; then
2743 cat >>confdefs.h
<<\_ACEOF
2748 DEFAULT_DEFAULT_wxUSE_GTK
=1
2750 *-*-irix5* | *-*-irix6* )
2753 cat >>confdefs.h
<<\_ACEOF
2757 cat >>confdefs.h
<<\_ACEOF
2761 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2765 cat >>confdefs.h
<<\_ACEOF
2769 DEFAULT_DEFAULT_wxUSE_X11
=1
2775 cat >>confdefs.h
<<\_ACEOF
2779 cat >>confdefs.h
<<\_ACEOF
2780 #define __SOLARIS__ 1
2783 cat >>confdefs.h
<<\_ACEOF
2787 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2788 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2794 cat >>confdefs.h
<<\_ACEOF
2798 cat >>confdefs.h
<<\_ACEOF
2802 cat >>confdefs.h
<<\_ACEOF
2806 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2811 cat >>confdefs.h
<<\_ACEOF
2812 #define __FREEBSD__ 1
2815 cat >>confdefs.h
<<\_ACEOF
2819 DEFAULT_DEFAULT_wxUSE_GTK
=1
2821 *-*-openbsd*|*-*-mirbsd*)
2824 cat >>confdefs.h
<<\_ACEOF
2825 #define __OPENBSD__ 1
2828 cat >>confdefs.h
<<\_ACEOF
2832 DEFAULT_DEFAULT_wxUSE_GTK
=1
2837 cat >>confdefs.h
<<\_ACEOF
2838 #define __NETBSD__ 1
2841 cat >>confdefs.h
<<\_ACEOF
2845 DEFAULT_DEFAULT_wxUSE_GTK
=1
2846 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2848 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2853 cat >>confdefs.h
<<\_ACEOF
2857 cat >>confdefs.h
<<\_ACEOF
2861 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2862 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2867 cat >>confdefs.h
<<\_ACEOF
2871 cat >>confdefs.h
<<\_ACEOF
2875 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2880 cat >>confdefs.h
<<\_ACEOF
2884 cat >>confdefs.h
<<\_ACEOF
2888 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2894 cat >>confdefs.h
<<\_ACEOF
2898 cat >>confdefs.h
<<\_ACEOF
2902 cat >>confdefs.h
<<\_ACEOF
2906 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2913 cat >>confdefs.h
<<\_ACEOF
2914 #define __UNIXWARE__ 1
2919 *-*-cygwin* | *-*-mingw32* )
2921 DEFAULT_DEFAULT_wxUSE_MSW
=1
2927 cat >>confdefs.h
<<\_ACEOF
2934 *-pc-os2_emx | *-pc-os2-emx )
2935 cat >>confdefs.h
<<\_ACEOF
2940 cat >>confdefs.h
<<\_ACEOF
2945 DEFAULT_DEFAULT_wxUSE_PM
=1
2947 LDFLAGS
="$LDFLAGS -Zcrtdll"
2948 ac_executable_extensions
=".exe"
2949 export ac_executable_extensions
2953 for ac_dir
in $PATH; do
2955 if test -z "$ac_TEMP_PATH"; then
2956 ac_TEMP_PATH
="$ac_dir"
2958 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2961 export PATH
="$ac_TEMP_PATH"
2969 cat >>confdefs.h
<<\_ACEOF
2973 cat >>confdefs.h
<<\_ACEOF
2974 #define __DARWIN__ 1
2977 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2983 cat >>confdefs.h
<<\_ACEOF
2987 cat >>confdefs.h
<<\_ACEOF
2988 #define __DARWIN__ 1
2991 cat >>confdefs.h
<<\_ACEOF
2992 #define TARGET_CARBON 1
2995 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
3000 cat >>confdefs.h
<<\_ACEOF
3007 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
3008 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
3009 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
3010 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
3012 DEFAULT_DEFAULT_wxUSE_X11
=1
3013 DEFAULT_wxUSE_SHARED
=no
3018 DEFAULT_wxUSE_ALL_FEATURES
=yes
3020 DEFAULT_wxUSE_STD_CONTAINERS
=no
3021 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
3022 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
3024 DEFAULT_wxUSE_DMALLOC
=no
3025 DEFAULT_wxUSE_LIBGNOMEVFS
=no
3026 DEFAULT_wxUSE_LIBHILDON
=no
3027 DEFAULT_wxUSE_LIBHILDON2
=no
3028 DEFAULT_wxUSE_LIBMSPACK
=no
3029 DEFAULT_wxUSE_LIBSDL
=no
3031 DEFAULT_wxUSE_ACCESSIBILITY
=no
3032 DEFAULT_wxUSE_IPV6
=no
3033 DEFAULT_wxUSE_GSTREAMER8
=no
3035 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
3036 DEFAULT_wxUSE_UNICODE_UTF8
=auto
3037 DEFAULT_wxUSE_OPENGL
=auto
3038 DEFAULT_wxUSE_MEDIACTRL
=auto
3039 DEFAULT_wxUSE_COMPILER_TLS
=auto
3040 DEFAULT_wxUSE_HOTKEY
=auto
3041 DEFAULT_wxUSE_METAFILE
=auto
3043 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
3045 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
3046 DEFAULT_wxUSE_MAC_ARCH
=no
3048 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3050 DEFAULT_wxUSE_GTK2
=yes
3052 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3058 enablestring
=disable
3060 if test -z "$defaultval"; then
3061 if test x
"$enablestring" = xdisable
; then
3068 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3069 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3070 # Check whether --enable-gui was given.
3071 if test "${enable_gui+set}" = set; then
3072 enableval
=$enable_gui;
3073 if test "$enableval" = yes; then
3074 wx_cv_use_gui
='wxUSE_GUI=yes'
3076 wx_cv_use_gui
='wxUSE_GUI=no'
3081 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3086 eval "$wx_cv_use_gui"
3088 if test x"$enablestring" = xdisable; then
3089 if test $wxUSE_GUI = no; then
3098 { echo "$as_me:$LINENO: result: $result" >&5
3099 echo "${ECHO_T}$result" >&6; }
3104 if test -z "$defaultval"; then
3105 if test x"$enablestring" = xdisable; then
3112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3113 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3114 # Check whether --enable-monolithic was given.
3115 if test "${enable_monolithic+set}" = set; then
3116 enableval=$enable_monolithic;
3117 if test "$enableval" = yes; then
3118 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3120 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3125 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3130 eval "$wx_cv_use_monolithic"
3132 if test x"$enablestring" = xdisable; then
3133 if test $wxUSE_MONOLITHIC = no; then
3139 result=$wxUSE_MONOLITHIC
3142 { echo "$as_me:$LINENO: result
: $result" >&5
3143 echo "${ECHO_T}$result" >&6; }
3148 if test -z "$defaultval"; then
3149 if test x"$enablestring" = xdisable; then
3156 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3157 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3158 # Check whether --enable-plugins was given.
3159 if test "${enable_plugins+set}" = set; then
3160 enableval=$enable_plugins;
3161 if test "$enableval" = yes; then
3162 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3164 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3169 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3174 eval "$wx_cv_use_plugins"
3176 if test x
"$enablestring" = xdisable
; then
3177 if test $wxUSE_PLUGINS = no
; then
3183 result
=$wxUSE_PLUGINS
3186 { echo "$as_me:$LINENO: result: $result" >&5
3187 echo "${ECHO_T}$result" >&6; }
3191 defaultval
=$wxUSE_ALL_FEATURES
3192 if test -z "$defaultval"; then
3193 if test x
"$withstring" = xwithout
; then
3199 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3200 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3202 # Check whether --with-subdirs was given.
3203 if test "${with_subdirs+set}" = set; then
3204 withval
=$with_subdirs;
3205 if test "$withval" = yes; then
3206 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3208 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3213 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3218 eval "$wx_cv_use_subdirs"
3220 if test x"$withstring" = xwithout; then
3221 if test $wxWITH_SUBDIRS = yes; then
3227 result=$wxWITH_SUBDIRS
3230 { echo "$as_me:$LINENO: result: $result" >&5
3231 echo "${ECHO_T}$result" >&6; }
3234 # Check whether --with-flavour was given.
3235 if test "${with_flavour+set}" = set; then
3236 withval=$with_flavour; WX_FLAVOUR="$withval"
3242 if test -z "$defaultval"; then
3243 if test x"$enablestring" = xdisable; then
3250 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3251 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3252 # Check whether --enable-official_build was given.
3253 if test "${enable_official_build+set}" = set; then
3254 enableval=$enable_official_build;
3255 if test "$enableval" = yes; then
3256 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3258 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3263 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3268 eval "$wx_cv_use_official_build"
3270 if test x"$enablestring" = xdisable; then
3271 if test $wxUSE_OFFICIAL_BUILD = no; then
3277 result=$wxUSE_OFFICIAL_BUILD
3280 { echo "$as_me:$LINENO: result
: $result" >&5
3281 echo "${ECHO_T}$result" >&6; }
3283 # Check whether --enable-vendor was given.
3284 if test "${enable_vendor+set}" = set; then
3285 enableval=$enable_vendor; VENDOR="$enableval"
3288 if test "x
$VENDOR" = "x
"; then
3293 enablestring=disable
3295 if test -z "$defaultval"; then
3296 if test x"$enablestring" = xdisable; then
3303 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3304 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3305 # Check whether --enable-all-features was given.
3306 if test "${enable_all_features+set}" = set; then
3307 enableval=$enable_all_features;
3308 if test "$enableval" = yes; then
3309 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3311 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3316 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3321 eval "$wx_cv_use_all_features"
3323 if test x
"$enablestring" = xdisable
; then
3324 if test $wxUSE_ALL_FEATURES = no
; then
3330 result
=$wxUSE_ALL_FEATURES
3333 { echo "$as_me:$LINENO: result: $result" >&5
3334 echo "${ECHO_T}$result" >&6; }
3337 if test "$wxUSE_ALL_FEATURES" = "no"; then
3338 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3339 DEFAULT_wxUSE_MEDIACTRL
=no
3343 if test "$wxUSE_GUI" = "yes"; then
3348 if test -z "$defaultval"; then
3349 if test x
"$enablestring" = xdisable
; then
3356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3357 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3358 # Check whether --enable-universal was given.
3359 if test "${enable_universal+set}" = set; then
3360 enableval
=$enable_universal;
3361 if test "$enableval" = yes; then
3362 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3364 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3369 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3374 eval "$wx_cv_use_universal"
3376 if test x"$enablestring" = xdisable; then
3377 if test $wxUSE_UNIVERSAL = no; then
3383 result=$wxUSE_UNIVERSAL
3386 { echo "$as_me:$LINENO: result: $result" >&5
3387 echo "${ECHO_T}$result" >&6; }
3389 if test "$wxUSE_UNIVERSAL" = "yes"; then
3391 # Check whether --with-themes was given.
3392 if test "${with_themes+set}" = set; then
3393 withval=$with_themes; wxUNIV_THEMES="$withval"
3399 # Check whether --with-gtk was given.
3400 if test "${with_gtk+set}" = set; then
3401 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3405 # Check whether --with-motif was given.
3406 if test "${with_motif+set}" = set; then
3407 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3411 # Check whether --with-osx_carbon was given.
3412 if test "${with_osx_carbon+set}" = set; then
3413 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3417 # Check whether --with-osx_cocoa was given.
3418 if test "${with_osx_cocoa+set}" = set; then
3419 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3423 # Check whether --with-osx_iphone was given.
3424 if test "${with_osx_iphone+set}" = set; then
3425 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3429 # Check whether --with-osx was given.
3430 if test "${with_osx+set}" = set; then
3431 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3435 # Check whether --with-carbon was given.
3436 if test "${with_carbon+set}" = set; then
3437 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3441 # Check whether --with-cocoa was given.
3442 if test "${with_cocoa+set}" = set; then
3443 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3447 # Check whether --with-iphone was given.
3448 if test "${with_iphone+set}" = set; then
3449 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3453 # Check whether --with-mac was given.
3454 if test "${with_mac+set}" = set; then
3455 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3459 # Check whether --with-old_cocoa was given.
3460 if test "${with_old_cocoa+set}" = set; then
3461 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3465 # Check whether --with-wine was given.
3466 if test "${with_wine+set}" = set; then
3467 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3471 # Check whether --with-msw was given.
3472 if test "${with_msw+set}" = set; then
3473 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3477 # Check whether --with-pm was given.
3478 if test "${with_pm+set}" = set; then
3479 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3483 # Check whether --with-directfb was given.
3484 if test "${with_directfb+set}" = set; then
3485 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3489 # Check whether --with-microwin was given.
3490 if test "${with_microwin+set}" = set; then
3491 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3495 # Check whether --with-x11 was given.
3496 if test "${with_x11+set}" = set; then
3497 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3503 if test -z "$defaultval"; then
3504 if test x"$enablestring" = xdisable; then
3511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3512 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3513 # Check whether --enable-nanox was given.
3514 if test "${enable_nanox+set}" = set; then
3515 enableval=$enable_nanox;
3516 if test "$enableval" = yes; then
3517 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3519 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3524 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3529 eval "$wx_cv_use_nanox"
3531 if test x"$enablestring" = xdisable; then
3532 if test $wxUSE_NANOX = no; then
3541 { echo "$as_me:$LINENO: result
: $result" >&5
3542 echo "${ECHO_T}$result" >&6; }
3545 # Check whether --enable-gtk2 was given.
3546 if test "${enable_gtk2+set}" = set; then
3547 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3553 if test -z "$defaultval"; then
3554 if test x"$enablestring" = xdisable; then
3561 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3562 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3563 # Check whether --enable-gpe was given.
3564 if test "${enable_gpe+set}" = set; then
3565 enableval=$enable_gpe;
3566 if test "$enableval" = yes; then
3567 wx_cv_use_gpe='wxUSE_GPE=yes'
3569 wx_cv_use_gpe='wxUSE_GPE=no'
3574 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3579 eval "$wx_cv_use_gpe"
3581 if test x
"$enablestring" = xdisable
; then
3582 if test $wxUSE_GPE = no
; then
3591 { echo "$as_me:$LINENO: result: $result" >&5
3592 echo "${ECHO_T}$result" >&6; }
3596 { echo "$as_me:$LINENO: checking for toolkit" >&5
3597 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3601 # In Wine, we need to default to MSW, not GTK or MOTIF
3602 if test "$wxUSE_WINE" = "yes"; then
3603 DEFAULT_DEFAULT_wxUSE_GTK
=0
3604 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3605 DEFAULT_DEFAULT_wxUSE_MSW
=1
3612 if test "$wxUSE_GUI" = "yes"; then
3614 if test "$USE_BEOS" = 1; then
3615 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3616 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3617 { (exit 1); exit 1; }; }
3620 if test "$TOOLKIT_GIVEN" = 1; then
3621 for toolkit
in $ALL_TOOLKITS; do
3623 eval "value=\$${var}"
3624 if test "x$value" = "xno"; then
3626 elif test "x$value" != "x"; then
3630 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3631 eval "wx${toolkit}_VERSION=$value"
3635 for toolkit
in $ALL_TOOLKITS; do
3636 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3637 eval "wxUSE_$toolkit=\$${var}"
3641 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3642 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
3643 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3646 *-pc-os2_emx | *-pc-os2-emx )
3647 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3650 case "$NUM_TOOLKITS" in
3654 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3655 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3656 { (exit 1); exit 1; }; }
3659 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3660 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3661 { (exit 1); exit 1; }; }
3664 # to be removed when --disable-gtk2 isn't needed
3665 if test "x$wxUSE_GTK2" = "xyes"; then
3668 elif test "x$wxUSE_GTK2" = "xno"; then
3673 for toolkit
in $ALL_TOOLKITS; do
3675 eval "value=\$${var}"
3676 if test "$value" = 1; then
3677 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3678 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3679 echo "${ECHO_T}$toolkit_echo" >&6; }
3683 if test "x$host_alias" != "x"; then
3684 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3685 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3687 { echo "$as_me:$LINENO: result: base only" >&5
3688 echo "${ECHO_T}base only" >&6; }
3693 if test "$wxUSE_OSX_CARBON" = 1 \
3694 -o "$wxUSE_OSX_COCOA" = 1 \
3695 -o "$wxUSE_OSX_IPHONE" = 1; then
3701 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3702 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3704 # Check whether --with-libpng was given.
3705 if test "${with_libpng+set}" = set; then
3706 withval
=$with_libpng;
3707 if test "$withval" = yes; then
3708 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3709 elif test "$withval" = no
; then
3710 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3711 elif test "$withval" = sys
; then
3712 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3713 elif test "$withval" = builtin; then
3714 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3716 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3717 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3718 { (exit 1); exit 1; }; }
3723 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3728 eval "$wx_cv_use_libpng"
3730 if test "$wxUSE_LIBPNG" = yes; then
3731 { echo "$as_me:$LINENO: result: yes" >&5
3732 echo "${ECHO_T}yes" >&6; }
3733 elif test "$wxUSE_LIBPNG" = no; then
3734 { echo "$as_me:$LINENO: result: no" >&5
3735 echo "${ECHO_T}no" >&6; }
3736 elif test "$wxUSE_LIBPNG" = sys; then
3737 { echo "$as_me:$LINENO: result: system version" >&5
3738 echo "${ECHO_T}system version" >&6; }
3739 elif test "$wxUSE_LIBPNG" = builtin; then
3740 { echo "$as_me:$LINENO: result: builtin version" >&5
3741 echo "${ECHO_T}builtin version" >&6; }
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3749 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3750 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3752 # Check whether --with-libjpeg was given.
3753 if test "${with_libjpeg+set}" = set; then
3754 withval=$with_libjpeg;
3755 if test "$withval" = yes; then
3756 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3757 elif test "$withval" = no; then
3758 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3759 elif test "$withval" = sys; then
3760 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3761 elif test "$withval" = builtin; then
3762 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3764 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3765 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3766 { (exit 1); exit 1; }; }
3771 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3776 eval "$wx_cv_use_libjpeg"
3778 if test "$wxUSE_LIBJPEG" = yes; then
3779 { echo "$as_me:$LINENO: result
: yes" >&5
3780 echo "${ECHO_T}yes" >&6; }
3781 elif test "$wxUSE_LIBJPEG" = no; then
3782 { echo "$as_me:$LINENO: result
: no
" >&5
3783 echo "${ECHO_T}no
" >&6; }
3784 elif test "$wxUSE_LIBJPEG" = sys; then
3785 { echo "$as_me:$LINENO: result
: system version
" >&5
3786 echo "${ECHO_T}system version
" >&6; }
3787 elif test "$wxUSE_LIBJPEG" = builtin; then
3788 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3789 echo "${ECHO_T}builtin version
" >&6; }
3791 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3792 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3793 { (exit 1); exit 1; }; }
3797 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3798 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3800 # Check whether --with-libtiff was given.
3801 if test "${with_libtiff+set}" = set; then
3802 withval=$with_libtiff;
3803 if test "$withval" = yes; then
3804 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3805 elif test "$withval" = no; then
3806 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3807 elif test "$withval" = sys; then
3808 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3809 elif test "$withval" = builtin; then
3810 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3812 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3813 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3814 { (exit 1); exit 1; }; }
3819 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3824 eval "$wx_cv_use_libtiff"
3826 if test "$wxUSE_LIBTIFF" = yes; then
3827 { echo "$as_me:$LINENO: result: yes" >&5
3828 echo "${ECHO_T}yes" >&6; }
3829 elif test "$wxUSE_LIBTIFF" = no
; then
3830 { echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6; }
3832 elif test "$wxUSE_LIBTIFF" = sys
; then
3833 { echo "$as_me:$LINENO: result: system version" >&5
3834 echo "${ECHO_T}system version" >&6; }
3835 elif test "$wxUSE_LIBTIFF" = builtin; then
3836 { echo "$as_me:$LINENO: result: builtin version" >&5
3837 echo "${ECHO_T}builtin version" >&6; }
3839 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3840 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3841 { (exit 1); exit 1; }; }
3845 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3846 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3848 # Check whether --with-libxpm was given.
3849 if test "${with_libxpm+set}" = set; then
3850 withval
=$with_libxpm;
3851 if test "$withval" = yes; then
3852 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3853 elif test "$withval" = no
; then
3854 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3855 elif test "$withval" = sys
; then
3856 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3857 elif test "$withval" = builtin; then
3858 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3867 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3872 eval "$wx_cv_use_libxpm"
3874 if test "$wxUSE_LIBXPM" = yes; then
3875 { echo "$as_me:$LINENO: result: yes" >&5
3876 echo "${ECHO_T}yes" >&6; }
3877 elif test "$wxUSE_LIBXPM" = no; then
3878 { echo "$as_me:$LINENO: result: no" >&5
3879 echo "${ECHO_T}no" >&6; }
3880 elif test "$wxUSE_LIBXPM" = sys; then
3881 { echo "$as_me:$LINENO: result: system version" >&5
3882 echo "${ECHO_T}system version" >&6; }
3883 elif test "$wxUSE_LIBXPM" = builtin; then
3884 { echo "$as_me:$LINENO: result: builtin version" >&5
3885 echo "${ECHO_T}builtin version" >&6; }
3887 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3888 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3889 { (exit 1); exit 1; }; }
3894 defaultval=$wxUSE_ALL_FEATURES
3895 if test -z "$defaultval"; then
3896 if test x"$withstring" = xwithout; then
3902 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3903 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3905 # Check whether --with-libiconv was given.
3906 if test "${with_libiconv+set}" = set; then
3907 withval=$with_libiconv;
3908 if test "$withval" = yes; then
3909 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3911 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3916 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3921 eval "$wx_cv_use_libiconv"
3923 if test x"$withstring" = xwithout; then
3924 if test $wxUSE_LIBICONV = yes; then
3930 result=$wxUSE_LIBICONV
3933 { echo "$as_me:$LINENO: result
: $result" >&5
3934 echo "${ECHO_T}$result" >&6; }
3938 defaultval=$wxUSE_ALL_FEATURES
3939 if test -z "$defaultval"; then
3940 if test x"$withstring" = xwithout; then
3946 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3947 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3949 # Check whether --with-libmspack was given.
3950 if test "${with_libmspack+set}" = set; then
3951 withval=$with_libmspack;
3952 if test "$withval" = yes; then
3953 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3955 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3960 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3965 eval "$wx_cv_use_libmspack"
3967 if test x
"$withstring" = xwithout
; then
3968 if test $wxUSE_LIBMSPACK = yes; then
3974 result
=$wxUSE_LIBMSPACK
3977 { echo "$as_me:$LINENO: result: $result" >&5
3978 echo "${ECHO_T}$result" >&6; }
3982 defaultval
=$wxUSE_ALL_FEATURES
3983 if test -z "$defaultval"; then
3984 if test x
"$withstring" = xwithout
; then
3990 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3991 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3993 # Check whether --with-gtkprint was given.
3994 if test "${with_gtkprint+set}" = set; then
3995 withval
=$with_gtkprint;
3996 if test "$withval" = yes; then
3997 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3999 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
4004 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4009 eval "$wx_cv_use_gtkprint"
4011 if test x"$withstring" = xwithout; then
4012 if test $wxUSE_GTKPRINT = yes; then
4018 result=$wxUSE_GTKPRINT
4021 { echo "$as_me:$LINENO: result: $result" >&5
4022 echo "${ECHO_T}$result" >&6; }
4026 defaultval=$wxUSE_ALL_FEATURES
4027 if test -z "$defaultval"; then
4028 if test x"$withstring" = xwithout; then
4034 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4035 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4037 # Check whether --with-gnomeprint was given.
4038 if test "${with_gnomeprint+set}" = set; then
4039 withval=$with_gnomeprint;
4040 if test "$withval" = yes; then
4041 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4043 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4048 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4053 eval "$wx_cv_use_gnomeprint"
4055 if test x"$withstring" = xwithout; then
4056 if test $wxUSE_LIBGNOMEPRINT = yes; then
4062 result=$wxUSE_LIBGNOMEPRINT
4065 { echo "$as_me:$LINENO: result
: $result" >&5
4066 echo "${ECHO_T}$result" >&6; }
4070 defaultval=$wxUSE_ALL_FEATURES
4071 if test -z "$defaultval"; then
4072 if test x"$withstring" = xwithout; then
4078 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4079 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4081 # Check whether --with-gnomevfs was given.
4082 if test "${with_gnomevfs+set}" = set; then
4083 withval=$with_gnomevfs;
4084 if test "$withval" = yes; then
4085 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4087 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4092 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4097 eval "$wx_cv_use_gnomevfs"
4099 if test x
"$withstring" = xwithout
; then
4100 if test $wxUSE_LIBGNOMEVFS = yes; then
4106 result
=$wxUSE_LIBGNOMEVFS
4109 { echo "$as_me:$LINENO: result: $result" >&5
4110 echo "${ECHO_T}$result" >&6; }
4114 defaultval
=$wxUSE_ALL_FEATURES
4115 if test -z "$defaultval"; then
4116 if test x
"$withstring" = xwithout
; then
4122 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4123 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4125 # Check whether --with-hildon was given.
4126 if test "${with_hildon+set}" = set; then
4127 withval
=$with_hildon;
4128 if test "$withval" = yes; then
4129 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4131 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4136 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4141 eval "$wx_cv_use_hildon"
4143 if test x"$withstring" = xwithout; then
4144 if test $wxUSE_LIBHILDON = yes; then
4150 result=$wxUSE_LIBHILDON
4153 { echo "$as_me:$LINENO: result: $result" >&5
4154 echo "${ECHO_T}$result" >&6; }
4158 defaultval=$wxUSE_ALL_FEATURES
4159 if test -z "$defaultval"; then
4160 if test x"$withstring" = xwithout; then
4166 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4167 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4169 # Check whether --with-opengl was given.
4170 if test "${with_opengl+set}" = set; then
4171 withval=$with_opengl;
4172 if test "$withval" = yes; then
4173 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4175 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4180 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4185 eval "$wx_cv_use_opengl"
4187 if test x"$withstring" = xwithout; then
4188 if test $wxUSE_OPENGL = yes; then
4194 result=$wxUSE_OPENGL
4197 { echo "$as_me:$LINENO: result
: $result" >&5
4198 echo "${ECHO_T}$result" >&6; }
4205 defaultval=$wxUSE_ALL_FEATURES
4206 if test -z "$defaultval"; then
4207 if test x"$withstring" = xwithout; then
4213 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4214 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4216 # Check whether --with-dmalloc was given.
4217 if test "${with_dmalloc+set}" = set; then
4218 withval=$with_dmalloc;
4219 if test "$withval" = yes; then
4220 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4222 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4227 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4232 eval "$wx_cv_use_dmalloc"
4234 if test x
"$withstring" = xwithout
; then
4235 if test $wxUSE_DMALLOC = yes; then
4241 result
=$wxUSE_DMALLOC
4244 { echo "$as_me:$LINENO: result: $result" >&5
4245 echo "${ECHO_T}$result" >&6; }
4249 defaultval
=$wxUSE_ALL_FEATURES
4250 if test -z "$defaultval"; then
4251 if test x
"$withstring" = xwithout
; then
4257 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4258 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4260 # Check whether --with-sdl was given.
4261 if test "${with_sdl+set}" = set; then
4263 if test "$withval" = yes; then
4264 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4266 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4271 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4276 eval "$wx_cv_use_sdl"
4278 if test x"$withstring" = xwithout; then
4279 if test $wxUSE_LIBSDL = yes; then
4285 result=$wxUSE_LIBSDL
4288 { echo "$as_me:$LINENO: result: $result" >&5
4289 echo "${ECHO_T}$result" >&6; }
4292 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4293 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4295 # Check whether --with-regex was given.
4296 if test "${with_regex+set}" = set; then
4297 withval=$with_regex;
4298 if test "$withval" = yes; then
4299 wx_cv_use_regex='wxUSE_REGEX
=yes'
4300 elif test "$withval" = no; then
4301 wx_cv_use_regex='wxUSE_REGEX
=no
'
4302 elif test "$withval" = sys; then
4303 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4304 elif test "$withval" = builtin; then
4305 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4307 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4308 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4309 { (exit 1); exit 1; }; }
4314 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4319 eval "$wx_cv_use_regex"
4321 if test "$wxUSE_REGEX" = yes; then
4322 { echo "$as_me:$LINENO: result
: yes" >&5
4323 echo "${ECHO_T}yes" >&6; }
4324 elif test "$wxUSE_REGEX" = no; then
4325 { echo "$as_me:$LINENO: result
: no
" >&5
4326 echo "${ECHO_T}no
" >&6; }
4327 elif test "$wxUSE_REGEX" = sys; then
4328 { echo "$as_me:$LINENO: result
: system version
" >&5
4329 echo "${ECHO_T}system version
" >&6; }
4330 elif test "$wxUSE_REGEX" = builtin; then
4331 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4332 echo "${ECHO_T}builtin version
" >&6; }
4334 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4335 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4336 { (exit 1); exit 1; }; }
4340 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4341 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4343 # Check whether --with-zlib was given.
4344 if test "${with_zlib+set}" = set; then
4346 if test "$withval" = yes; then
4347 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4348 elif test "$withval" = no; then
4349 wx_cv_use_zlib='wxUSE_ZLIB=no'
4350 elif test "$withval" = sys; then
4351 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4352 elif test "$withval" = builtin; then
4353 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4355 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4356 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4357 { (exit 1); exit 1; }; }
4362 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4367 eval "$wx_cv_use_zlib"
4369 if test "$wxUSE_ZLIB" = yes; then
4370 { echo "$as_me:$LINENO: result: yes" >&5
4371 echo "${ECHO_T}yes" >&6; }
4372 elif test "$wxUSE_ZLIB" = no
; then
4373 { echo "$as_me:$LINENO: result: no" >&5
4374 echo "${ECHO_T}no" >&6; }
4375 elif test "$wxUSE_ZLIB" = sys
; then
4376 { echo "$as_me:$LINENO: result: system version" >&5
4377 echo "${ECHO_T}system version" >&6; }
4378 elif test "$wxUSE_ZLIB" = builtin; then
4379 { echo "$as_me:$LINENO: result: builtin version" >&5
4380 echo "${ECHO_T}builtin version" >&6; }
4382 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4383 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4384 { (exit 1); exit 1; }; }
4388 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4389 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4391 # Check whether --with-expat was given.
4392 if test "${with_expat+set}" = set; then
4393 withval
=$with_expat;
4394 if test "$withval" = yes; then
4395 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4396 elif test "$withval" = no
; then
4397 wx_cv_use_expat
='wxUSE_EXPAT=no'
4398 elif test "$withval" = sys
; then
4399 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4400 elif test "$withval" = builtin; then
4401 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4403 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4404 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4405 { (exit 1); exit 1; }; }
4410 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4415 eval "$wx_cv_use_expat"
4417 if test "$wxUSE_EXPAT" = yes; then
4418 { echo "$as_me:$LINENO: result: yes" >&5
4419 echo "${ECHO_T}yes" >&6; }
4420 elif test "$wxUSE_EXPAT" = no; then
4421 { echo "$as_me:$LINENO: result: no" >&5
4422 echo "${ECHO_T}no" >&6; }
4423 elif test "$wxUSE_EXPAT" = sys; then
4424 { echo "$as_me:$LINENO: result: system version" >&5
4425 echo "${ECHO_T}system version" >&6; }
4426 elif test "$wxUSE_EXPAT" = builtin; then
4427 { echo "$as_me:$LINENO: result: builtin version" >&5
4428 echo "${ECHO_T}builtin version" >&6; }
4430 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4431 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4432 { (exit 1); exit 1; }; }
4436 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4437 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4439 # Check whether --with-macosx-sdk was given.
4440 if test "${with_macosx_sdk+set}" = set; then
4441 withval=$with_macosx_sdk;
4442 wxUSE_MACOSX_SDK=$withval
4443 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4447 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4448 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4450 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4451 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4453 # Check whether --with-macosx-version-min was given.
4454 if test "${with_macosx_version_min+set}" = set; then
4455 withval=$with_macosx_version_min;
4456 wxUSE_MACOSX_VERSION_MIN=$withval
4457 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4461 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4462 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4465 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4466 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4467 # Check whether --enable-debug was given.
4468 if test "${enable_debug+set}" = set; then
4469 enableval=$enable_debug;
4470 if test "$enableval" = yes; then
4472 elif test "$enableval" = no; then
4474 elif test "$enableval" = max; then
4476 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4478 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4479 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4480 { (exit 1); exit 1; }; }
4488 { echo "$as_me:$LINENO: result: ${enable_debug-default}" >&5
4489 echo "${ECHO_T}${enable_debug-default}" >&6; }
4491 case "$wxUSE_DEBUG" in
4493 DEFAULT_wxUSE_DEBUG_FLAG=yes
4494 DEFAULT_wxUSE_DEBUG_INFO=yes
4496 DEFAULT_wxUSE_OPTIMISE=no
4500 DEFAULT_wxUSE_DEBUG_FLAG=no
4501 DEFAULT_wxUSE_DEBUG_INFO=no
4505 DEFAULT_wxUSE_DEBUG_FLAG=yes
4506 DEFAULT_wxUSE_DEBUG_INFO=no
4511 enablestring=disable
4513 if test -z "$defaultval"; then
4514 if test x"$enablestring" = xdisable; then
4521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4522 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4523 # Check whether --enable-debug_flag was given.
4524 if test "${enable_debug_flag+set}" = set; then
4525 enableval=$enable_debug_flag;
4526 if test "$enableval" = yes; then
4527 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4529 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4534 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4539 eval "$wx_cv_use_debug_flag"
4541 if test x"$enablestring" = xdisable; then
4542 if test $wxUSE_DEBUG_FLAG = no; then
4548 result=$wxUSE_DEBUG_FLAG
4551 { echo "$as_me:$LINENO: result
: $result" >&5
4552 echo "${ECHO_T}$result" >&6; }
4557 if test -z "$defaultval"; then
4558 if test x"$enablestring" = xdisable; then
4565 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4566 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4567 # Check whether --enable-debug_info was given.
4568 if test "${enable_debug_info+set}" = set; then
4569 enableval=$enable_debug_info;
4570 if test "$enableval" = yes; then
4571 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4573 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4578 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4583 eval "$wx_cv_use_debug_info"
4585 if test x
"$enablestring" = xdisable
; then
4586 if test $wxUSE_DEBUG_INFO = no
; then
4592 result
=$wxUSE_DEBUG_INFO
4595 { echo "$as_me:$LINENO: result: $result" >&5
4596 echo "${ECHO_T}$result" >&6; }
4603 if test -z "$defaultval"; then
4604 if test x
"$enablestring" = xdisable
; then
4611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4612 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4613 # Check whether --enable-debug_gdb was given.
4614 if test "${enable_debug_gdb+set}" = set; then
4615 enableval
=$enable_debug_gdb;
4616 if test "$enableval" = yes; then
4617 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4619 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4624 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4629 eval "$wx_cv_use_debug_gdb"
4631 if test x"$enablestring" = xdisable; then
4632 if test $wxUSE_DEBUG_GDB = no; then
4638 result=$wxUSE_DEBUG_GDB
4641 { echo "$as_me:$LINENO: result: $result" >&5
4642 echo "${ECHO_T}$result" >&6; }
4647 if test -z "$defaultval"; then
4648 if test x"$enablestring" = xdisable; then
4655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4657 # Check whether --enable-debug_cntxt was given.
4658 if test "${enable_debug_cntxt+set}" = set; then
4659 enableval=$enable_debug_cntxt;
4660 if test "$enableval" = yes; then
4661 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4663 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4668 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4673 eval "$wx_cv_use_debug_cntxt"
4675 if test x"$enablestring" = xdisable; then
4676 if test $wxUSE_DEBUG_CONTEXT = no; then
4682 result=$wxUSE_DEBUG_CONTEXT
4685 { echo "$as_me:$LINENO: result
: $result" >&5
4686 echo "${ECHO_T}$result" >&6; }
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4699 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4700 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4701 # Check whether --enable-mem_tracing was given.
4702 if test "${enable_mem_tracing+set}" = set; then
4703 enableval=$enable_mem_tracing;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4707 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4712 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4717 eval "$wx_cv_use_mem_tracing"
4719 if test x
"$enablestring" = xdisable
; then
4720 if test $wxUSE_MEM_TRACING = no
; then
4726 result
=$wxUSE_MEM_TRACING
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4735 enablestring
=disable
4737 if test -z "$defaultval"; then
4738 if test x
"$enablestring" = xdisable
; then
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4747 # Check whether --enable-shared was given.
4748 if test "${enable_shared+set}" = set; then
4749 enableval
=$enable_shared;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_shared
='wxUSE_SHARED=yes'
4753 wx_cv_use_shared
='wxUSE_SHARED=no'
4758 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4763 eval "$wx_cv_use_shared"
4765 if test x"$enablestring" = xdisable; then
4766 if test $wxUSE_SHARED = no; then
4772 result=$wxUSE_SHARED
4775 { echo "$as_me:$LINENO: result: $result" >&5
4776 echo "${ECHO_T}$result" >&6; }
4781 if test -z "$defaultval"; then
4782 if test x"$enablestring" = xdisable; then
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4791 # Check whether --enable-stl was given.
4792 if test "${enable_stl+set}" = set; then
4793 enableval=$enable_stl;
4794 if test "$enableval" = yes; then
4795 wx_cv_use_stl='wxUSE_STL
=yes'
4797 wx_cv_use_stl='wxUSE_STL
=no
'
4802 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4807 eval "$wx_cv_use_stl"
4809 if test x"$enablestring" = xdisable; then
4810 if test $wxUSE_STL = no; then
4819 { echo "$as_me:$LINENO: result
: $result" >&5
4820 echo "${ECHO_T}$result" >&6; }
4822 if test "$wxUSE_STL" = "yes"; then
4823 DEFAULT_wxUSE_STD_CONTAINERS=yes
4824 DEFAULT_wxUSE_STD_IOSTREAM=yes
4825 DEFAULT_wxUSE_STD_STRING=yes
4830 if test -z "$defaultval"; then
4831 if test x"$enablestring" = xdisable; then
4838 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_containers" >&5
4839 echo $ECHO_N "checking
for --${enablestring:-enable}-std_containers...
$ECHO_C" >&6; }
4840 # Check whether --enable-std_containers was given.
4841 if test "${enable_std_containers+set}" = set; then
4842 enableval=$enable_std_containers;
4843 if test "$enableval" = yes; then
4844 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4846 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4851 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4856 eval "$wx_cv_use_std_containers"
4858 if test x
"$enablestring" = xdisable
; then
4859 if test $wxUSE_STD_CONTAINERS = no
; then
4865 result
=$wxUSE_STD_CONTAINERS
4868 { echo "$as_me:$LINENO: result: $result" >&5
4869 echo "${ECHO_T}$result" >&6; }
4874 if test -z "$defaultval"; then
4875 if test x
"$enablestring" = xdisable
; then
4882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4883 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4884 # Check whether --enable-std_iostreams was given.
4885 if test "${enable_std_iostreams+set}" = set; then
4886 enableval
=$enable_std_iostreams;
4887 if test "$enableval" = yes; then
4888 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4890 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4895 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4900 eval "$wx_cv_use_std_iostreams"
4902 if test x"$enablestring" = xdisable; then
4903 if test $wxUSE_STD_IOSTREAM = no; then
4909 result=$wxUSE_STD_IOSTREAM
4912 { echo "$as_me:$LINENO: result: $result" >&5
4913 echo "${ECHO_T}$result" >&6; }
4918 if test -z "$defaultval"; then
4919 if test x"$enablestring" = xdisable; then
4926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4927 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4928 # Check whether --enable-std_string was given.
4929 if test "${enable_std_string+set}" = set; then
4930 enableval=$enable_std_string;
4931 if test "$enableval" = yes; then
4932 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
4934 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
4939 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4944 eval "$wx_cv_use_std_string"
4946 if test x"$enablestring" = xdisable; then
4947 if test $wxUSE_STD_STRING = no; then
4953 result=$wxUSE_STD_STRING
4956 { echo "$as_me:$LINENO: result
: $result" >&5
4957 echo "${ECHO_T}$result" >&6; }
4962 if test -z "$defaultval"; then
4963 if test x"$enablestring" = xdisable; then
4970 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4971 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
$ECHO_C" >&6; }
4972 # Check whether --enable-std_string_conv_in_wxstring was given.
4973 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4974 enableval=$enable_std_string_conv_in_wxstring;
4975 if test "$enableval" = yes; then
4976 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4978 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4983 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4988 eval "$wx_cv_use_std_string_conv_in_wxstring"
4990 if test x
"$enablestring" = xdisable
; then
4991 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
4997 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
5000 { echo "$as_me:$LINENO: result: $result" >&5
5001 echo "${ECHO_T}$result" >&6; }
5004 enablestring
=disable
5006 if test -z "$defaultval"; then
5007 if test x
"$enablestring" = xdisable
; then
5014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5015 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
5016 # Check whether --enable-unicode was given.
5017 if test "${enable_unicode+set}" = set; then
5018 enableval
=$enable_unicode;
5019 if test "$enableval" = yes; then
5020 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
5022 wx_cv_use_unicode
='wxUSE_UNICODE=no'
5027 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5032 eval "$wx_cv_use_unicode"
5034 if test x"$enablestring" = xdisable; then
5035 if test $wxUSE_UNICODE = no; then
5041 result=$wxUSE_UNICODE
5044 { echo "$as_me:$LINENO: result: $result" >&5
5045 echo "${ECHO_T}$result" >&6; }
5050 if test -z "$defaultval"; then
5051 if test x"$enablestring" = xdisable; then
5058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5059 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5060 # Check whether --enable-mslu was given.
5061 if test "${enable_mslu+set}" = set; then
5062 enableval=$enable_mslu;
5063 if test "$enableval" = yes; then
5064 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5066 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5071 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5076 eval "$wx_cv_use_mslu"
5078 if test x"$enablestring" = xdisable; then
5079 if test $wxUSE_UNICODE_MSLU = no; then
5085 result=$wxUSE_UNICODE_MSLU
5088 { echo "$as_me:$LINENO: result
: $result" >&5
5089 echo "${ECHO_T}$result" >&6; }
5093 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5094 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5095 # Check whether --enable-utf8 was given.
5096 if test "${enable_utf8+set}" = set; then
5097 enableval=$enable_utf8;
5098 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5102 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5107 eval "$wx_cv_use_utf8"
5109 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5110 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5115 if test -z "$defaultval"; then
5116 if test x"$enablestring" = xdisable; then
5123 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5124 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5125 # Check whether --enable-utf8only was given.
5126 if test "${enable_utf8only+set}" = set; then
5127 enableval=$enable_utf8only;
5128 if test "$enableval" = yes; then
5129 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5131 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5136 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5141 eval "$wx_cv_use_utf8only"
5143 if test x
"$enablestring" = xdisable
; then
5144 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
5150 result
=$wxUSE_UNICODE_UTF8_LOCALE
5153 { echo "$as_me:$LINENO: result: $result" >&5
5154 echo "${ECHO_T}$result" >&6; }
5159 if test -z "$defaultval"; then
5160 if test x
"$enablestring" = xdisable
; then
5167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5168 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5169 # Check whether --enable-extended_rtti was given.
5170 if test "${enable_extended_rtti+set}" = set; then
5171 enableval
=$enable_extended_rtti;
5172 if test "$enableval" = yes; then
5173 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5175 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5180 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5185 eval "$wx_cv_use_extended_rtti"
5187 if test x"$enablestring" = xdisable; then
5188 if test $wxUSE_EXTENDED_RTTI = no; then
5194 result=$wxUSE_EXTENDED_RTTI
5197 { echo "$as_me:$LINENO: result: $result" >&5
5198 echo "${ECHO_T}$result" >&6; }
5200 if test "$USE_OS2" = 1; then
5201 DEFAULT_wxUSE_OMF=no
5205 if test -z "$defaultval"; then
5206 if test x"$enablestring" = xdisable; then
5213 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5214 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5215 # Check whether --enable-omf was given.
5216 if test "${enable_omf+set}" = set; then
5217 enableval=$enable_omf;
5218 if test "$enableval" = yes; then
5219 wx_cv_use_omf='wxUSE_OMF
=yes'
5221 wx_cv_use_omf='wxUSE_OMF
=no
'
5226 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5231 eval "$wx_cv_use_omf"
5233 if test x"$enablestring" = xdisable; then
5234 if test $wxUSE_OMF = no; then
5243 { echo "$as_me:$LINENO: result
: $result" >&5
5244 echo "${ECHO_T}$result" >&6; }
5249 enablestring=disable
5251 if test -z "$defaultval"; then
5252 if test x"$enablestring" = xdisable; then
5259 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
5260 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
5261 # Check whether --enable-optimise was given.
5262 if test "${enable_optimise+set}" = set; then
5263 enableval=$enable_optimise;
5264 if test "$enableval" = yes; then
5265 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5267 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5272 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5277 eval "$wx_cv_use_optimise"
5279 if test x
"$enablestring" = xdisable
; then
5280 if test $wxUSE_OPTIMISE = no
; then
5286 result
=$wxUSE_OPTIMISE
5289 { echo "$as_me:$LINENO: result: $result" >&5
5290 echo "${ECHO_T}$result" >&6; }
5296 if test -z "$defaultval"; then
5297 if test x
"$enablestring" = xdisable
; then
5304 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5305 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5306 # Check whether --enable-profile was given.
5307 if test "${enable_profile+set}" = set; then
5308 enableval
=$enable_profile;
5309 if test "$enableval" = yes; then
5310 wx_cv_use_profile
='wxUSE_PROFILE=yes'
5312 wx_cv_use_profile
='wxUSE_PROFILE=no'
5317 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5322 eval "$wx_cv_use_profile"
5324 if test x"$enablestring" = xdisable; then
5325 if test $wxUSE_PROFILE = no; then
5331 result=$wxUSE_PROFILE
5334 { echo "$as_me:$LINENO: result: $result" >&5
5335 echo "${ECHO_T}$result" >&6; }
5340 if test -z "$defaultval"; then
5341 if test x"$enablestring" = xdisable; then
5348 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5349 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5350 # Check whether --enable-no_rtti was given.
5351 if test "${enable_no_rtti+set}" = set; then
5352 enableval=$enable_no_rtti;
5353 if test "$enableval" = yes; then
5354 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
5356 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
5361 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5366 eval "$wx_cv_use_no_rtti"
5368 if test x"$enablestring" = xdisable; then
5369 if test $wxUSE_NO_RTTI = no; then
5375 result=$wxUSE_NO_RTTI
5378 { echo "$as_me:$LINENO: result
: $result" >&5
5379 echo "${ECHO_T}$result" >&6; }
5384 if test -z "$defaultval"; then
5385 if test x"$enablestring" = xdisable; then
5392 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_exceptions" >&5
5393 echo $ECHO_N "checking
for --${enablestring:-enable}-no_exceptions...
$ECHO_C" >&6; }
5394 # Check whether --enable-no_exceptions was given.
5395 if test "${enable_no_exceptions+set}" = set; then
5396 enableval=$enable_no_exceptions;
5397 if test "$enableval" = yes; then
5398 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5400 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5405 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5410 eval "$wx_cv_use_no_exceptions"
5412 if test x
"$enablestring" = xdisable
; then
5413 if test $wxUSE_NO_EXCEPTIONS = no
; then
5419 result
=$wxUSE_NO_EXCEPTIONS
5422 { echo "$as_me:$LINENO: result: $result" >&5
5423 echo "${ECHO_T}$result" >&6; }
5428 if test -z "$defaultval"; then
5429 if test x
"$enablestring" = xdisable
; then
5436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5437 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5438 # Check whether --enable-permissive was given.
5439 if test "${enable_permissive+set}" = set; then
5440 enableval
=$enable_permissive;
5441 if test "$enableval" = yes; then
5442 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
5444 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
5449 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5454 eval "$wx_cv_use_permissive"
5456 if test x"$enablestring" = xdisable; then
5457 if test $wxUSE_PERMISSIVE = no; then
5463 result=$wxUSE_PERMISSIVE
5466 { echo "$as_me:$LINENO: result: $result" >&5
5467 echo "${ECHO_T}$result" >&6; }
5472 if test -z "$defaultval"; then
5473 if test x"$enablestring" = xdisable; then
5480 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5481 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5482 # Check whether --enable-no_deps was given.
5483 if test "${enable_no_deps+set}" = set; then
5484 enableval=$enable_no_deps;
5485 if test "$enableval" = yes; then
5486 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
5488 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
5493 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5498 eval "$wx_cv_use_no_deps"
5500 if test x"$enablestring" = xdisable; then
5501 if test $wxUSE_NO_DEPS = no; then
5507 result=$wxUSE_NO_DEPS
5510 { echo "$as_me:$LINENO: result
: $result" >&5
5511 echo "${ECHO_T}$result" >&6; }
5514 enablestring=disable
5516 if test -z "$defaultval"; then
5517 if test x"$enablestring" = xdisable; then
5524 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-vararg_macros" >&5
5525 echo $ECHO_N "checking
for --${enablestring:-enable}-vararg_macros...
$ECHO_C" >&6; }
5526 # Check whether --enable-vararg_macros was given.
5527 if test "${enable_vararg_macros+set}" = set; then
5528 enableval=$enable_vararg_macros;
5529 if test "$enableval" = yes; then
5530 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5532 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5537 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5542 eval "$wx_cv_use_vararg_macros"
5544 if test x
"$enablestring" = xdisable
; then
5545 if test $wxUSE_VARARG_MACROS = no
; then
5551 result
=$wxUSE_VARARG_MACROS
5554 { echo "$as_me:$LINENO: result: $result" >&5
5555 echo "${ECHO_T}$result" >&6; }
5560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5561 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5562 # Check whether --enable-universal_binary was given.
5563 if test "${enable_universal_binary+set}" = set; then
5564 enableval
=$enable_universal_binary;
5565 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
5569 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5574 eval "$wx_cv_use_universal_binary"
5576 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5577 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5582 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5583 # Check whether --enable-macosx_arch was given.
5584 if test "${enable_macosx_arch+set}" = set; then
5585 enableval
=$enable_macosx_arch;
5586 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
5590 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5595 eval "$wx_cv_use_macosx_arch"
5597 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5598 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5604 if test -z "$defaultval"; then
5605 if test x
"$enablestring" = xdisable
; then
5612 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5613 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5614 # Check whether --enable-compat26 was given.
5615 if test "${enable_compat26+set}" = set; then
5616 enableval
=$enable_compat26;
5617 if test "$enableval" = yes; then
5618 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
5620 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
5625 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5630 eval "$wx_cv_use_compat26"
5632 if test x"$enablestring" = xdisable; then
5633 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5639 result=$WXWIN_COMPATIBILITY_2_6
5642 { echo "$as_me:$LINENO: result: $result" >&5
5643 echo "${ECHO_T}$result" >&6; }
5646 enablestring=disable
5648 if test -z "$defaultval"; then
5649 if test x"$enablestring" = xdisable; then
5656 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5657 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5658 # Check whether --enable-compat28 was given.
5659 if test "${enable_compat28+set}" = set; then
5660 enableval=$enable_compat28;
5661 if test "$enableval" = yes; then
5662 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
5664 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
5669 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5674 eval "$wx_cv_use_compat28"
5676 if test x"$enablestring" = xdisable; then
5677 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5683 result=$WXWIN_COMPATIBILITY_2_8
5686 { echo "$as_me:$LINENO: result
: $result" >&5
5687 echo "${ECHO_T}$result" >&6; }
5691 enablestring=disable
5693 if test -z "$defaultval"; then
5694 if test x"$enablestring" = xdisable; then
5701 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rpath" >&5
5702 echo $ECHO_N "checking
for --${enablestring:-enable}-rpath...
$ECHO_C" >&6; }
5703 # Check whether --enable-rpath was given.
5704 if test "${enable_rpath+set}" = set; then
5705 enableval=$enable_rpath;
5706 if test "$enableval" = yes; then
5707 wx_cv_use_rpath='wxUSE_RPATH=yes'
5709 wx_cv_use_rpath='wxUSE_RPATH=no'
5714 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5719 eval "$wx_cv_use_rpath"
5721 if test x
"$enablestring" = xdisable
; then
5722 if test $wxUSE_RPATH = no
; then
5731 { echo "$as_me:$LINENO: result: $result" >&5
5732 echo "${ECHO_T}$result" >&6; }
5738 if test -z "$defaultval"; then
5739 if test x
"$enablestring" = xdisable
; then
5746 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5747 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5748 # Check whether --enable-objc_uniquifying was given.
5749 if test "${enable_objc_uniquifying+set}" = set; then
5750 enableval
=$enable_objc_uniquifying;
5751 if test "$enableval" = yes; then
5752 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
5754 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
5759 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5764 eval "$wx_cv_use_objc_uniquifying"
5766 if test x"$enablestring" = xdisable; then
5767 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5773 result=$wxUSE_OBJC_UNIQUIFYING
5776 { echo "$as_me:$LINENO: result: $result" >&5
5777 echo "${ECHO_T}$result" >&6; }
5781 enablestring=disable
5783 if test -z "$defaultval"; then
5784 if test x"$enablestring" = xdisable; then
5791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5792 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5793 # Check whether --enable-visibility was given.
5794 if test "${enable_visibility+set}" = set; then
5795 enableval=$enable_visibility;
5796 if test "$enableval" = yes; then
5797 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
5799 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
5804 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5809 eval "$wx_cv_use_visibility"
5811 if test x"$enablestring" = xdisable; then
5812 if test $wxUSE_VISIBILITY = no; then
5818 result=$wxUSE_VISIBILITY
5821 { echo "$as_me:$LINENO: result
: $result" >&5
5822 echo "${ECHO_T}$result" >&6; }
5825 enablestring=disable
5827 if test -z "$defaultval"; then
5828 if test x"$enablestring" = xdisable; then
5835 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tls" >&5
5836 echo $ECHO_N "checking
for --${enablestring:-enable}-tls...
$ECHO_C" >&6; }
5837 # Check whether --enable-tls was given.
5838 if test "${enable_tls+set}" = set; then
5839 enableval=$enable_tls;
5840 if test "$enableval" = yes; then
5841 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5843 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5848 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5853 eval "$wx_cv_use_tls"
5855 if test x
"$enablestring" = xdisable
; then
5856 if test $wxUSE_COMPILER_TLS = no
; then
5862 result
=$wxUSE_COMPILER_TLS
5865 { echo "$as_me:$LINENO: result: $result" >&5
5866 echo "${ECHO_T}$result" >&6; }
5872 defaultval
=$wxUSE_ALL_FEATURES
5873 if test -z "$defaultval"; then
5874 if test x
"$enablestring" = xdisable
; then
5881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5882 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5883 # Check whether --enable-intl was given.
5884 if test "${enable_intl+set}" = set; then
5885 enableval
=$enable_intl;
5886 if test "$enableval" = yes; then
5887 wx_cv_use_intl
='wxUSE_INTL=yes'
5889 wx_cv_use_intl
='wxUSE_INTL=no'
5894 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5899 eval "$wx_cv_use_intl"
5901 if test x"$enablestring" = xdisable; then
5902 if test $wxUSE_INTL = no; then
5911 { echo "$as_me:$LINENO: result: $result" >&5
5912 echo "${ECHO_T}$result" >&6; }
5916 defaultval=$wxUSE_ALL_FEATURES
5917 if test -z "$defaultval"; then
5918 if test x"$enablestring" = xdisable; then
5925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5926 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5927 # Check whether --enable-xlocale was given.
5928 if test "${enable_xlocale+set}" = set; then
5929 enableval=$enable_xlocale;
5930 if test "$enableval" = yes; then
5931 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
5933 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
5938 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5943 eval "$wx_cv_use_xlocale"
5945 if test x"$enablestring" = xdisable; then
5946 if test $wxUSE_XLOCALE = no; then
5952 result=$wxUSE_XLOCALE
5955 { echo "$as_me:$LINENO: result
: $result" >&5
5956 echo "${ECHO_T}$result" >&6; }
5960 defaultval=$wxUSE_ALL_FEATURES
5961 if test -z "$defaultval"; then
5962 if test x"$enablestring" = xdisable; then
5969 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-config" >&5
5970 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5971 # Check whether --enable-config was given.
5972 if test "${enable_config+set}" = set; then
5973 enableval=$enable_config;
5974 if test "$enableval" = yes; then
5975 wx_cv_use_config='wxUSE_CONFIG=yes'
5977 wx_cv_use_config='wxUSE_CONFIG=no'
5982 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5987 eval "$wx_cv_use_config"
5989 if test x
"$enablestring" = xdisable
; then
5990 if test $wxUSE_CONFIG = no
; then
5996 result
=$wxUSE_CONFIG
5999 { echo "$as_me:$LINENO: result: $result" >&5
6000 echo "${ECHO_T}$result" >&6; }
6005 defaultval
=$wxUSE_ALL_FEATURES
6006 if test -z "$defaultval"; then
6007 if test x
"$enablestring" = xdisable
; then
6014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6015 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6016 # Check whether --enable-protocols was given.
6017 if test "${enable_protocols+set}" = set; then
6018 enableval
=$enable_protocols;
6019 if test "$enableval" = yes; then
6020 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
6022 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
6027 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6032 eval "$wx_cv_use_protocols"
6034 if test x"$enablestring" = xdisable; then
6035 if test $wxUSE_PROTOCOL = no; then
6041 result=$wxUSE_PROTOCOL
6044 { echo "$as_me:$LINENO: result: $result" >&5
6045 echo "${ECHO_T}$result" >&6; }
6049 defaultval=$wxUSE_ALL_FEATURES
6050 if test -z "$defaultval"; then
6051 if test x"$enablestring" = xdisable; then
6058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6059 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6060 # Check whether --enable-ftp was given.
6061 if test "${enable_ftp+set}" = set; then
6062 enableval=$enable_ftp;
6063 if test "$enableval" = yes; then
6064 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
6066 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
6071 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6076 eval "$wx_cv_use_ftp"
6078 if test x"$enablestring" = xdisable; then
6079 if test $wxUSE_PROTOCOL_FTP = no; then
6085 result=$wxUSE_PROTOCOL_FTP
6088 { echo "$as_me:$LINENO: result
: $result" >&5
6089 echo "${ECHO_T}$result" >&6; }
6093 defaultval=$wxUSE_ALL_FEATURES
6094 if test -z "$defaultval"; then
6095 if test x"$enablestring" = xdisable; then
6102 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
6103 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
6104 # Check whether --enable-http was given.
6105 if test "${enable_http+set}" = set; then
6106 enableval=$enable_http;
6107 if test "$enableval" = yes; then
6108 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6110 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6115 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6120 eval "$wx_cv_use_http"
6122 if test x
"$enablestring" = xdisable
; then
6123 if test $wxUSE_PROTOCOL_HTTP = no
; then
6129 result
=$wxUSE_PROTOCOL_HTTP
6132 { echo "$as_me:$LINENO: result: $result" >&5
6133 echo "${ECHO_T}$result" >&6; }
6137 defaultval
=$wxUSE_ALL_FEATURES
6138 if test -z "$defaultval"; then
6139 if test x
"$enablestring" = xdisable
; then
6146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6147 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6148 # Check whether --enable-fileproto was given.
6149 if test "${enable_fileproto+set}" = set; then
6150 enableval
=$enable_fileproto;
6151 if test "$enableval" = yes; then
6152 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
6154 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
6159 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6164 eval "$wx_cv_use_fileproto"
6166 if test x"$enablestring" = xdisable; then
6167 if test $wxUSE_PROTOCOL_FILE = no; then
6173 result=$wxUSE_PROTOCOL_FILE
6176 { echo "$as_me:$LINENO: result: $result" >&5
6177 echo "${ECHO_T}$result" >&6; }
6181 defaultval=$wxUSE_ALL_FEATURES
6182 if test -z "$defaultval"; then
6183 if test x"$enablestring" = xdisable; then
6190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6191 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6192 # Check whether --enable-sockets was given.
6193 if test "${enable_sockets+set}" = set; then
6194 enableval=$enable_sockets;
6195 if test "$enableval" = yes; then
6196 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
6198 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
6203 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6208 eval "$wx_cv_use_sockets"
6210 if test x"$enablestring" = xdisable; then
6211 if test $wxUSE_SOCKETS = no; then
6217 result=$wxUSE_SOCKETS
6220 { echo "$as_me:$LINENO: result
: $result" >&5
6221 echo "${ECHO_T}$result" >&6; }
6225 defaultval=$wxUSE_ALL_FEATURES
6226 if test -z "$defaultval"; then
6227 if test x"$enablestring" = xdisable; then
6234 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
6235 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
6236 # Check whether --enable-ipv6 was given.
6237 if test "${enable_ipv6+set}" = set; then
6238 enableval=$enable_ipv6;
6239 if test "$enableval" = yes; then
6240 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6242 wx_cv_use_ipv6='wxUSE_IPV6=no'
6247 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6252 eval "$wx_cv_use_ipv6"
6254 if test x
"$enablestring" = xdisable
; then
6255 if test $wxUSE_IPV6 = no
; then
6264 { echo "$as_me:$LINENO: result: $result" >&5
6265 echo "${ECHO_T}$result" >&6; }
6269 defaultval
=$wxUSE_ALL_FEATURES
6270 if test -z "$defaultval"; then
6271 if test x
"$enablestring" = xdisable
; then
6278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6279 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6280 # Check whether --enable-ole was given.
6281 if test "${enable_ole+set}" = set; then
6282 enableval
=$enable_ole;
6283 if test "$enableval" = yes; then
6284 wx_cv_use_ole
='wxUSE_OLE=yes'
6286 wx_cv_use_ole
='wxUSE_OLE=no'
6291 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6296 eval "$wx_cv_use_ole"
6298 if test x"$enablestring" = xdisable; then
6299 if test $wxUSE_OLE = no; then
6308 { echo "$as_me:$LINENO: result: $result" >&5
6309 echo "${ECHO_T}$result" >&6; }
6313 defaultval=$wxUSE_ALL_FEATURES
6314 if test -z "$defaultval"; then
6315 if test x"$enablestring" = xdisable; then
6322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6323 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6324 # Check whether --enable-dataobj was given.
6325 if test "${enable_dataobj+set}" = set; then
6326 enableval=$enable_dataobj;
6327 if test "$enableval" = yes; then
6328 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
6330 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
6335 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6340 eval "$wx_cv_use_dataobj"
6342 if test x"$enablestring" = xdisable; then
6343 if test $wxUSE_DATAOBJ = no; then
6349 result=$wxUSE_DATAOBJ
6352 { echo "$as_me:$LINENO: result
: $result" >&5
6353 echo "${ECHO_T}$result" >&6; }
6358 defaultval=$wxUSE_ALL_FEATURES
6359 if test -z "$defaultval"; then
6360 if test x"$enablestring" = xdisable; then
6367 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipc" >&5
6368 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6369 # Check whether --enable-ipc was given.
6370 if test "${enable_ipc+set}" = set; then
6371 enableval=$enable_ipc;
6372 if test "$enableval" = yes; then
6373 wx_cv_use_ipc='wxUSE_IPC=yes'
6375 wx_cv_use_ipc='wxUSE_IPC=no'
6380 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6385 eval "$wx_cv_use_ipc"
6387 if test x
"$enablestring" = xdisable
; then
6388 if test $wxUSE_IPC = no
; then
6397 { echo "$as_me:$LINENO: result: $result" >&5
6398 echo "${ECHO_T}$result" >&6; }
6403 defaultval
=$wxUSE_ALL_FEATURES
6404 if test -z "$defaultval"; then
6405 if test x
"$enablestring" = xdisable
; then
6412 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6413 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6414 # Check whether --enable-baseevtloop was given.
6415 if test "${enable_baseevtloop+set}" = set; then
6416 enableval
=$enable_baseevtloop;
6417 if test "$enableval" = yes; then
6418 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6420 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6425 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6430 eval "$wx_cv_use_baseevtloop"
6432 if test x"$enablestring" = xdisable; then
6433 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6439 result=$wxUSE_CONSOLE_EVENTLOOP
6442 { echo "$as_me:$LINENO: result: $result" >&5
6443 echo "${ECHO_T}$result" >&6; }
6447 defaultval=$wxUSE_ALL_FEATURES
6448 if test -z "$defaultval"; then
6449 if test x"$enablestring" = xdisable; then
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6458 # Check whether --enable-epollloop was given.
6459 if test "${enable_epollloop+set}" = set; then
6460 enableval=$enable_epollloop;
6461 if test "$enableval" = yes; then
6462 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6464 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6469 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6474 eval "$wx_cv_use_epollloop"
6476 if test x"$enablestring" = xdisable; then
6477 if test $wxUSE_EPOLL_DISPATCHER = no; then
6483 result=$wxUSE_EPOLL_DISPATCHER
6486 { echo "$as_me:$LINENO: result
: $result" >&5
6487 echo "${ECHO_T}$result" >&6; }
6491 defaultval=$wxUSE_ALL_FEATURES
6492 if test -z "$defaultval"; then
6493 if test x"$enablestring" = xdisable; then
6500 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-selectloop" >&5
6501 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6502 # Check whether --enable-selectloop was given.
6503 if test "${enable_selectloop+set}" = set; then
6504 enableval=$enable_selectloop;
6505 if test "$enableval" = yes; then
6506 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6508 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6513 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6518 eval "$wx_cv_use_selectloop"
6520 if test x
"$enablestring" = xdisable
; then
6521 if test $wxUSE_SELECT_DISPATCHER = no
; then
6527 result
=$wxUSE_SELECT_DISPATCHER
6530 { echo "$as_me:$LINENO: result: $result" >&5
6531 echo "${ECHO_T}$result" >&6; }
6536 defaultval
=$wxUSE_ALL_FEATURES
6537 if test -z "$defaultval"; then
6538 if test x
"$enablestring" = xdisable
; then
6545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6546 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6547 # Check whether --enable-any was given.
6548 if test "${enable_any+set}" = set; then
6549 enableval
=$enable_any;
6550 if test "$enableval" = yes; then
6551 wx_cv_use_any
='wxUSE_ANY=yes'
6553 wx_cv_use_any
='wxUSE_ANY=no'
6558 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6563 eval "$wx_cv_use_any"
6565 if test x"$enablestring" = xdisable; then
6566 if test $wxUSE_ANY = no; then
6575 { echo "$as_me:$LINENO: result: $result" >&5
6576 echo "${ECHO_T}$result" >&6; }
6580 defaultval=$wxUSE_ALL_FEATURES
6581 if test -z "$defaultval"; then
6582 if test x"$enablestring" = xdisable; then
6589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6590 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6591 # Check whether --enable-apple_ieee was given.
6592 if test "${enable_apple_ieee+set}" = set; then
6593 enableval=$enable_apple_ieee;
6594 if test "$enableval" = yes; then
6595 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6597 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6602 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6607 eval "$wx_cv_use_apple_ieee"
6609 if test x"$enablestring" = xdisable; then
6610 if test $wxUSE_APPLE_IEEE = no; then
6616 result=$wxUSE_APPLE_IEEE
6619 { echo "$as_me:$LINENO: result
: $result" >&5
6620 echo "${ECHO_T}$result" >&6; }
6624 defaultval=$wxUSE_ALL_FEATURES
6625 if test -z "$defaultval"; then
6626 if test x"$enablestring" = xdisable; then
6633 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6634 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6635 # Check whether --enable-arcstream was given.
6636 if test "${enable_arcstream+set}" = set; then
6637 enableval=$enable_arcstream;
6638 if test "$enableval" = yes; then
6639 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6641 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6646 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6651 eval "$wx_cv_use_arcstream"
6653 if test x
"$enablestring" = xdisable
; then
6654 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6660 result
=$wxUSE_ARCHIVE_STREAMS
6663 { echo "$as_me:$LINENO: result: $result" >&5
6664 echo "${ECHO_T}$result" >&6; }
6668 defaultval
=$wxUSE_ALL_FEATURES
6669 if test -z "$defaultval"; then
6670 if test x
"$enablestring" = xdisable
; then
6677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6679 # Check whether --enable-base64 was given.
6680 if test "${enable_base64+set}" = set; then
6681 enableval
=$enable_base64;
6682 if test "$enableval" = yes; then
6683 wx_cv_use_base64
='wxUSE_BASE64=yes'
6685 wx_cv_use_base64
='wxUSE_BASE64=no'
6690 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6695 eval "$wx_cv_use_base64"
6697 if test x"$enablestring" = xdisable; then
6698 if test $wxUSE_BASE64 = no; then
6704 result=$wxUSE_BASE64
6707 { echo "$as_me:$LINENO: result: $result" >&5
6708 echo "${ECHO_T}$result" >&6; }
6712 defaultval=$wxUSE_ALL_FEATURES
6713 if test -z "$defaultval"; then
6714 if test x"$enablestring" = xdisable; then
6721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6722 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6723 # Check whether --enable-backtrace was given.
6724 if test "${enable_backtrace+set}" = set; then
6725 enableval=$enable_backtrace;
6726 if test "$enableval" = yes; then
6727 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6729 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6734 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6739 eval "$wx_cv_use_backtrace"
6741 if test x"$enablestring" = xdisable; then
6742 if test $wxUSE_STACKWALKER = no; then
6748 result=$wxUSE_STACKWALKER
6751 { echo "$as_me:$LINENO: result
: $result" >&5
6752 echo "${ECHO_T}$result" >&6; }
6756 defaultval=$wxUSE_ALL_FEATURES
6757 if test -z "$defaultval"; then
6758 if test x"$enablestring" = xdisable; then
6765 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6766 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6767 # Check whether --enable-catch_segvs was given.
6768 if test "${enable_catch_segvs+set}" = set; then
6769 enableval=$enable_catch_segvs;
6770 if test "$enableval" = yes; then
6771 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6773 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6778 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6783 eval "$wx_cv_use_catch_segvs"
6785 if test x
"$enablestring" = xdisable
; then
6786 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6792 result
=$wxUSE_ON_FATAL_EXCEPTION
6795 { echo "$as_me:$LINENO: result: $result" >&5
6796 echo "${ECHO_T}$result" >&6; }
6800 defaultval
=$wxUSE_ALL_FEATURES
6801 if test -z "$defaultval"; then
6802 if test x
"$enablestring" = xdisable
; then
6809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6810 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6811 # Check whether --enable-cmdline was given.
6812 if test "${enable_cmdline+set}" = set; then
6813 enableval
=$enable_cmdline;
6814 if test "$enableval" = yes; then
6815 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6817 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6822 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6827 eval "$wx_cv_use_cmdline"
6829 if test x"$enablestring" = xdisable; then
6830 if test $wxUSE_CMDLINE_PARSER = no; then
6836 result=$wxUSE_CMDLINE_PARSER
6839 { echo "$as_me:$LINENO: result: $result" >&5
6840 echo "${ECHO_T}$result" >&6; }
6844 defaultval=$wxUSE_ALL_FEATURES
6845 if test -z "$defaultval"; then
6846 if test x"$enablestring" = xdisable; then
6853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6854 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6855 # Check whether --enable-datetime was given.
6856 if test "${enable_datetime+set}" = set; then
6857 enableval=$enable_datetime;
6858 if test "$enableval" = yes; then
6859 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6861 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6866 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6871 eval "$wx_cv_use_datetime"
6873 if test x"$enablestring" = xdisable; then
6874 if test $wxUSE_DATETIME = no; then
6880 result=$wxUSE_DATETIME
6883 { echo "$as_me:$LINENO: result
: $result" >&5
6884 echo "${ECHO_T}$result" >&6; }
6888 defaultval=$wxUSE_ALL_FEATURES
6889 if test -z "$defaultval"; then
6890 if test x"$enablestring" = xdisable; then
6897 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6898 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6899 # Check whether --enable-debugreport was given.
6900 if test "${enable_debugreport+set}" = set; then
6901 enableval=$enable_debugreport;
6902 if test "$enableval" = yes; then
6903 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6905 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6910 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6915 eval "$wx_cv_use_debugreport"
6917 if test x
"$enablestring" = xdisable
; then
6918 if test $wxUSE_DEBUGREPORT = no
; then
6924 result
=$wxUSE_DEBUGREPORT
6927 { echo "$as_me:$LINENO: result: $result" >&5
6928 echo "${ECHO_T}$result" >&6; }
6932 defaultval
=$wxUSE_ALL_FEATURES
6933 if test -z "$defaultval"; then
6934 if test x
"$enablestring" = xdisable
; then
6941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6943 # Check whether --enable-dialupman was given.
6944 if test "${enable_dialupman+set}" = set; then
6945 enableval
=$enable_dialupman;
6946 if test "$enableval" = yes; then
6947 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6949 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6954 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6959 eval "$wx_cv_use_dialupman"
6961 if test x"$enablestring" = xdisable; then
6962 if test $wxUSE_DIALUP_MANAGER = no; then
6968 result=$wxUSE_DIALUP_MANAGER
6971 { echo "$as_me:$LINENO: result: $result" >&5
6972 echo "${ECHO_T}$result" >&6; }
6976 defaultval=$wxUSE_ALL_FEATURES
6977 if test -z "$defaultval"; then
6978 if test x"$enablestring" = xdisable; then
6985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6986 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6987 # Check whether --enable-dynlib was given.
6988 if test "${enable_dynlib+set}" = set; then
6989 enableval=$enable_dynlib;
6990 if test "$enableval" = yes; then
6991 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6993 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6998 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7003 eval "$wx_cv_use_dynlib"
7005 if test x"$enablestring" = xdisable; then
7006 if test $wxUSE_DYNLIB_CLASS = no; then
7012 result=$wxUSE_DYNLIB_CLASS
7015 { echo "$as_me:$LINENO: result
: $result" >&5
7016 echo "${ECHO_T}$result" >&6; }
7020 defaultval=$wxUSE_ALL_FEATURES
7021 if test -z "$defaultval"; then
7022 if test x"$enablestring" = xdisable; then
7029 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7030 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7031 # Check whether --enable-dynamicloader was given.
7032 if test "${enable_dynamicloader+set}" = set; then
7033 enableval=$enable_dynamicloader;
7034 if test "$enableval" = yes; then
7035 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7037 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7042 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7047 eval "$wx_cv_use_dynamicloader"
7049 if test x
"$enablestring" = xdisable
; then
7050 if test $wxUSE_DYNAMIC_LOADER = no
; then
7056 result
=$wxUSE_DYNAMIC_LOADER
7059 { echo "$as_me:$LINENO: result: $result" >&5
7060 echo "${ECHO_T}$result" >&6; }
7064 defaultval
=$wxUSE_ALL_FEATURES
7065 if test -z "$defaultval"; then
7066 if test x
"$enablestring" = xdisable
; then
7073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7074 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7075 # Check whether --enable-exceptions was given.
7076 if test "${enable_exceptions+set}" = set; then
7077 enableval
=$enable_exceptions;
7078 if test "$enableval" = yes; then
7079 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7081 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7086 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7091 eval "$wx_cv_use_exceptions"
7093 if test x"$enablestring" = xdisable; then
7094 if test $wxUSE_EXCEPTIONS = no; then
7100 result=$wxUSE_EXCEPTIONS
7103 { echo "$as_me:$LINENO: result: $result" >&5
7104 echo "${ECHO_T}$result" >&6; }
7108 defaultval=$wxUSE_ALL_FEATURES
7109 if test -z "$defaultval"; then
7110 if test x"$enablestring" = xdisable; then
7117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7118 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7119 # Check whether --enable-ffile was given.
7120 if test "${enable_ffile+set}" = set; then
7121 enableval=$enable_ffile;
7122 if test "$enableval" = yes; then
7123 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7125 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7130 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7135 eval "$wx_cv_use_ffile"
7137 if test x"$enablestring" = xdisable; then
7138 if test $wxUSE_FFILE = no; then
7147 { echo "$as_me:$LINENO: result
: $result" >&5
7148 echo "${ECHO_T}$result" >&6; }
7152 defaultval=$wxUSE_ALL_FEATURES
7153 if test -z "$defaultval"; then
7154 if test x"$enablestring" = xdisable; then
7161 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7162 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7163 # Check whether --enable-file was given.
7164 if test "${enable_file+set}" = set; then
7165 enableval=$enable_file;
7166 if test "$enableval" = yes; then
7167 wx_cv_use_file='wxUSE_FILE=yes'
7169 wx_cv_use_file='wxUSE_FILE=no'
7174 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7179 eval "$wx_cv_use_file"
7181 if test x
"$enablestring" = xdisable
; then
7182 if test $wxUSE_FILE = no
; then
7191 { echo "$as_me:$LINENO: result: $result" >&5
7192 echo "${ECHO_T}$result" >&6; }
7196 defaultval
=$wxUSE_ALL_FEATURES
7197 if test -z "$defaultval"; then
7198 if test x
"$enablestring" = xdisable
; then
7205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7206 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7207 # Check whether --enable-filehistory was given.
7208 if test "${enable_filehistory+set}" = set; then
7209 enableval
=$enable_filehistory;
7210 if test "$enableval" = yes; then
7211 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
7213 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
7218 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7223 eval "$wx_cv_use_filehistory"
7225 if test x"$enablestring" = xdisable; then
7226 if test $wxUSE_FILE_HISTORY = no; then
7232 result=$wxUSE_FILE_HISTORY
7235 { echo "$as_me:$LINENO: result: $result" >&5
7236 echo "${ECHO_T}$result" >&6; }
7240 defaultval=$wxUSE_ALL_FEATURES
7241 if test -z "$defaultval"; then
7242 if test x"$enablestring" = xdisable; then
7249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7250 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7251 # Check whether --enable-filesystem was given.
7252 if test "${enable_filesystem+set}" = set; then
7253 enableval=$enable_filesystem;
7254 if test "$enableval" = yes; then
7255 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7257 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7262 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7267 eval "$wx_cv_use_filesystem"
7269 if test x"$enablestring" = xdisable; then
7270 if test $wxUSE_FILESYSTEM = no; then
7276 result=$wxUSE_FILESYSTEM
7279 { echo "$as_me:$LINENO: result
: $result" >&5
7280 echo "${ECHO_T}$result" >&6; }
7284 defaultval=$wxUSE_ALL_FEATURES
7285 if test -z "$defaultval"; then
7286 if test x"$enablestring" = xdisable; then
7293 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7294 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7295 # Check whether --enable-fontenum was given.
7296 if test "${enable_fontenum+set}" = set; then
7297 enableval=$enable_fontenum;
7298 if test "$enableval" = yes; then
7299 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7301 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7306 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7311 eval "$wx_cv_use_fontenum"
7313 if test x
"$enablestring" = xdisable
; then
7314 if test $wxUSE_FONTENUM = no
; then
7320 result
=$wxUSE_FONTENUM
7323 { echo "$as_me:$LINENO: result: $result" >&5
7324 echo "${ECHO_T}$result" >&6; }
7328 defaultval
=$wxUSE_ALL_FEATURES
7329 if test -z "$defaultval"; then
7330 if test x
"$enablestring" = xdisable
; then
7337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7338 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7339 # Check whether --enable-fontmap was given.
7340 if test "${enable_fontmap+set}" = set; then
7341 enableval
=$enable_fontmap;
7342 if test "$enableval" = yes; then
7343 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7345 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7350 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7355 eval "$wx_cv_use_fontmap"
7357 if test x"$enablestring" = xdisable; then
7358 if test $wxUSE_FONTMAP = no; then
7364 result=$wxUSE_FONTMAP
7367 { echo "$as_me:$LINENO: result: $result" >&5
7368 echo "${ECHO_T}$result" >&6; }
7372 defaultval=$wxUSE_ALL_FEATURES
7373 if test -z "$defaultval"; then
7374 if test x"$enablestring" = xdisable; then
7381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7383 # Check whether --enable-fs_archive was given.
7384 if test "${enable_fs_archive+set}" = set; then
7385 enableval=$enable_fs_archive;
7386 if test "$enableval" = yes; then
7387 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7389 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7394 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7399 eval "$wx_cv_use_fs_archive"
7401 if test x"$enablestring" = xdisable; then
7402 if test $wxUSE_FS_ARCHIVE = no; then
7408 result=$wxUSE_FS_ARCHIVE
7411 { echo "$as_me:$LINENO: result
: $result" >&5
7412 echo "${ECHO_T}$result" >&6; }
7416 defaultval=$wxUSE_ALL_FEATURES
7417 if test -z "$defaultval"; then
7418 if test x"$enablestring" = xdisable; then
7425 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7426 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7427 # Check whether --enable-fs_inet was given.
7428 if test "${enable_fs_inet+set}" = set; then
7429 enableval=$enable_fs_inet;
7430 if test "$enableval" = yes; then
7431 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7433 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7438 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7443 eval "$wx_cv_use_fs_inet"
7445 if test x
"$enablestring" = xdisable
; then
7446 if test $wxUSE_FS_INET = no
; then
7452 result
=$wxUSE_FS_INET
7455 { echo "$as_me:$LINENO: result: $result" >&5
7456 echo "${ECHO_T}$result" >&6; }
7460 defaultval
=$wxUSE_ALL_FEATURES
7461 if test -z "$defaultval"; then
7462 if test x
"$enablestring" = xdisable
; then
7469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7470 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7471 # Check whether --enable-fs_zip was given.
7472 if test "${enable_fs_zip+set}" = set; then
7473 enableval
=$enable_fs_zip;
7474 if test "$enableval" = yes; then
7475 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7477 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7482 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7487 eval "$wx_cv_use_fs_zip"
7489 if test x"$enablestring" = xdisable; then
7490 if test $wxUSE_FS_ZIP = no; then
7496 result=$wxUSE_FS_ZIP
7499 { echo "$as_me:$LINENO: result: $result" >&5
7500 echo "${ECHO_T}$result" >&6; }
7504 defaultval=$wxUSE_ALL_FEATURES
7505 if test -z "$defaultval"; then
7506 if test x"$enablestring" = xdisable; then
7513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7514 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7515 # Check whether --enable-fswatcher was given.
7516 if test "${enable_fswatcher+set}" = set; then
7517 enableval=$enable_fswatcher;
7518 if test "$enableval" = yes; then
7519 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7521 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7526 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7531 eval "$wx_cv_use_fswatcher"
7533 if test x"$enablestring" = xdisable; then
7534 if test $wxUSE_FSWATCHER = no; then
7540 result=$wxUSE_FSWATCHER
7543 { echo "$as_me:$LINENO: result
: $result" >&5
7544 echo "${ECHO_T}$result" >&6; }
7548 defaultval=$wxUSE_ALL_FEATURES
7549 if test -z "$defaultval"; then
7550 if test x"$enablestring" = xdisable; then
7557 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7558 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7559 # Check whether --enable-geometry was given.
7560 if test "${enable_geometry+set}" = set; then
7561 enableval=$enable_geometry;
7562 if test "$enableval" = yes; then
7563 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7565 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7570 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7575 eval "$wx_cv_use_geometry"
7577 if test x
"$enablestring" = xdisable
; then
7578 if test $wxUSE_GEOMETRY = no
; then
7584 result
=$wxUSE_GEOMETRY
7587 { echo "$as_me:$LINENO: result: $result" >&5
7588 echo "${ECHO_T}$result" >&6; }
7592 defaultval
=$wxUSE_ALL_FEATURES
7593 if test -z "$defaultval"; then
7594 if test x
"$enablestring" = xdisable
; then
7601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7603 # Check whether --enable-log was given.
7604 if test "${enable_log+set}" = set; then
7605 enableval
=$enable_log;
7606 if test "$enableval" = yes; then
7607 wx_cv_use_log
='wxUSE_LOG=yes'
7609 wx_cv_use_log
='wxUSE_LOG=no'
7614 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7619 eval "$wx_cv_use_log"
7621 if test x"$enablestring" = xdisable; then
7622 if test $wxUSE_LOG = no; then
7631 { echo "$as_me:$LINENO: result: $result" >&5
7632 echo "${ECHO_T}$result" >&6; }
7636 defaultval=$wxUSE_ALL_FEATURES
7637 if test -z "$defaultval"; then
7638 if test x"$enablestring" = xdisable; then
7645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7646 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7647 # Check whether --enable-longlong was given.
7648 if test "${enable_longlong+set}" = set; then
7649 enableval=$enable_longlong;
7650 if test "$enableval" = yes; then
7651 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7653 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7658 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7663 eval "$wx_cv_use_longlong"
7665 if test x"$enablestring" = xdisable; then
7666 if test $wxUSE_LONGLONG = no; then
7672 result=$wxUSE_LONGLONG
7675 { echo "$as_me:$LINENO: result
: $result" >&5
7676 echo "${ECHO_T}$result" >&6; }
7680 defaultval=$wxUSE_ALL_FEATURES
7681 if test -z "$defaultval"; then
7682 if test x"$enablestring" = xdisable; then
7689 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7690 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7691 # Check whether --enable-mimetype was given.
7692 if test "${enable_mimetype+set}" = set; then
7693 enableval=$enable_mimetype;
7694 if test "$enableval" = yes; then
7695 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7697 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7702 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7707 eval "$wx_cv_use_mimetype"
7709 if test x
"$enablestring" = xdisable
; then
7710 if test $wxUSE_MIMETYPE = no
; then
7716 result
=$wxUSE_MIMETYPE
7719 { echo "$as_me:$LINENO: result: $result" >&5
7720 echo "${ECHO_T}$result" >&6; }
7724 defaultval
=$wxUSE_ALL_FEATURES
7725 if test -z "$defaultval"; then
7726 if test x
"$enablestring" = xdisable
; then
7733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7734 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7735 # Check whether --enable-printfposparam was given.
7736 if test "${enable_printfposparam+set}" = set; then
7737 enableval
=$enable_printfposparam;
7738 if test "$enableval" = yes; then
7739 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7741 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7746 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7751 eval "$wx_cv_use_printfposparam"
7753 if test x"$enablestring" = xdisable; then
7754 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7760 result=$wxUSE_PRINTF_POS_PARAMS
7763 { echo "$as_me:$LINENO: result: $result" >&5
7764 echo "${ECHO_T}$result" >&6; }
7768 defaultval=$wxUSE_ALL_FEATURES
7769 if test -z "$defaultval"; then
7770 if test x"$enablestring" = xdisable; then
7777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7778 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7779 # Check whether --enable-snglinst was given.
7780 if test "${enable_snglinst+set}" = set; then
7781 enableval=$enable_snglinst;
7782 if test "$enableval" = yes; then
7783 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7785 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7790 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7795 eval "$wx_cv_use_snglinst"
7797 if test x"$enablestring" = xdisable; then
7798 if test $wxUSE_SNGLINST_CHECKER = no; then
7804 result=$wxUSE_SNGLINST_CHECKER
7807 { echo "$as_me:$LINENO: result
: $result" >&5
7808 echo "${ECHO_T}$result" >&6; }
7812 defaultval=$wxUSE_ALL_FEATURES
7813 if test -z "$defaultval"; then
7814 if test x"$enablestring" = xdisable; then
7821 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7822 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7823 # Check whether --enable-sound was given.
7824 if test "${enable_sound+set}" = set; then
7825 enableval=$enable_sound;
7826 if test "$enableval" = yes; then
7827 wx_cv_use_sound='wxUSE_SOUND=yes'
7829 wx_cv_use_sound='wxUSE_SOUND=no'
7834 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7839 eval "$wx_cv_use_sound"
7841 if test x
"$enablestring" = xdisable
; then
7842 if test $wxUSE_SOUND = no
; then
7851 { echo "$as_me:$LINENO: result: $result" >&5
7852 echo "${ECHO_T}$result" >&6; }
7856 defaultval
=$wxUSE_ALL_FEATURES
7857 if test -z "$defaultval"; then
7858 if test x
"$enablestring" = xdisable
; then
7865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7866 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7867 # Check whether --enable-stdpaths was given.
7868 if test "${enable_stdpaths+set}" = set; then
7869 enableval
=$enable_stdpaths;
7870 if test "$enableval" = yes; then
7871 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7873 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7878 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7883 eval "$wx_cv_use_stdpaths"
7885 if test x"$enablestring" = xdisable; then
7886 if test $wxUSE_STDPATHS = no; then
7892 result=$wxUSE_STDPATHS
7895 { echo "$as_me:$LINENO: result: $result" >&5
7896 echo "${ECHO_T}$result" >&6; }
7900 defaultval=$wxUSE_ALL_FEATURES
7901 if test -z "$defaultval"; then
7902 if test x"$enablestring" = xdisable; then
7909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7910 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7911 # Check whether --enable-stopwatch was given.
7912 if test "${enable_stopwatch+set}" = set; then
7913 enableval=$enable_stopwatch;
7914 if test "$enableval" = yes; then
7915 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7917 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7922 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7927 eval "$wx_cv_use_stopwatch"
7929 if test x"$enablestring" = xdisable; then
7930 if test $wxUSE_STOPWATCH = no; then
7936 result=$wxUSE_STOPWATCH
7939 { echo "$as_me:$LINENO: result
: $result" >&5
7940 echo "${ECHO_T}$result" >&6; }
7944 defaultval=$wxUSE_ALL_FEATURES
7945 if test -z "$defaultval"; then
7946 if test x"$enablestring" = xdisable; then
7953 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7954 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7955 # Check whether --enable-streams was given.
7956 if test "${enable_streams+set}" = set; then
7957 enableval=$enable_streams;
7958 if test "$enableval" = yes; then
7959 wx_cv_use_streams='wxUSE_STREAMS=yes'
7961 wx_cv_use_streams='wxUSE_STREAMS=no'
7966 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7971 eval "$wx_cv_use_streams"
7973 if test x
"$enablestring" = xdisable
; then
7974 if test $wxUSE_STREAMS = no
; then
7980 result
=$wxUSE_STREAMS
7983 { echo "$as_me:$LINENO: result: $result" >&5
7984 echo "${ECHO_T}$result" >&6; }
7988 defaultval
=$wxUSE_ALL_FEATURES
7989 if test -z "$defaultval"; then
7990 if test x
"$enablestring" = xdisable
; then
7997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7998 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7999 # Check whether --enable-sysoptions was given.
8000 if test "${enable_sysoptions+set}" = set; then
8001 enableval
=$enable_sysoptions;
8002 if test "$enableval" = yes; then
8003 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
8005 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
8010 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8015 eval "$wx_cv_use_sysoptions"
8017 if test x"$enablestring" = xdisable; then
8018 if test $wxUSE_SYSTEM_OPTIONS = no; then
8024 result=$wxUSE_SYSTEM_OPTIONS
8027 { echo "$as_me:$LINENO: result: $result" >&5
8028 echo "${ECHO_T}$result" >&6; }
8032 defaultval=$wxUSE_ALL_FEATURES
8033 if test -z "$defaultval"; then
8034 if test x"$enablestring" = xdisable; then
8041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8042 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8043 # Check whether --enable-tarstream was given.
8044 if test "${enable_tarstream+set}" = set; then
8045 enableval=$enable_tarstream;
8046 if test "$enableval" = yes; then
8047 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
8049 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
8054 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8059 eval "$wx_cv_use_tarstream"
8061 if test x"$enablestring" = xdisable; then
8062 if test $wxUSE_TARSTREAM = no; then
8068 result=$wxUSE_TARSTREAM
8071 { echo "$as_me:$LINENO: result
: $result" >&5
8072 echo "${ECHO_T}$result" >&6; }
8076 defaultval=$wxUSE_ALL_FEATURES
8077 if test -z "$defaultval"; then
8078 if test x"$enablestring" = xdisable; then
8085 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
8086 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
8087 # Check whether --enable-textbuf was given.
8088 if test "${enable_textbuf+set}" = set; then
8089 enableval=$enable_textbuf;
8090 if test "$enableval" = yes; then
8091 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8093 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8098 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8103 eval "$wx_cv_use_textbuf"
8105 if test x
"$enablestring" = xdisable
; then
8106 if test $wxUSE_TEXTBUFFER = no
; then
8112 result
=$wxUSE_TEXTBUFFER
8115 { echo "$as_me:$LINENO: result: $result" >&5
8116 echo "${ECHO_T}$result" >&6; }
8120 defaultval
=$wxUSE_ALL_FEATURES
8121 if test -z "$defaultval"; then
8122 if test x
"$enablestring" = xdisable
; then
8129 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8130 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8131 # Check whether --enable-textfile was given.
8132 if test "${enable_textfile+set}" = set; then
8133 enableval
=$enable_textfile;
8134 if test "$enableval" = yes; then
8135 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
8137 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
8142 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8147 eval "$wx_cv_use_textfile"
8149 if test x"$enablestring" = xdisable; then
8150 if test $wxUSE_TEXTFILE = no; then
8156 result=$wxUSE_TEXTFILE
8159 { echo "$as_me:$LINENO: result: $result" >&5
8160 echo "${ECHO_T}$result" >&6; }
8164 defaultval=$wxUSE_ALL_FEATURES
8165 if test -z "$defaultval"; then
8166 if test x"$enablestring" = xdisable; then
8173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8174 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8175 # Check whether --enable-timer was given.
8176 if test "${enable_timer+set}" = set; then
8177 enableval=$enable_timer;
8178 if test "$enableval" = yes; then
8179 wx_cv_use_timer='wxUSE_TIMER
=yes'
8181 wx_cv_use_timer='wxUSE_TIMER
=no
'
8186 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8191 eval "$wx_cv_use_timer"
8193 if test x"$enablestring" = xdisable; then
8194 if test $wxUSE_TIMER = no; then
8203 { echo "$as_me:$LINENO: result
: $result" >&5
8204 echo "${ECHO_T}$result" >&6; }
8208 defaultval=$wxUSE_ALL_FEATURES
8209 if test -z "$defaultval"; then
8210 if test x"$enablestring" = xdisable; then
8217 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
8218 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
8219 # Check whether --enable-variant was given.
8220 if test "${enable_variant+set}" = set; then
8221 enableval=$enable_variant;
8222 if test "$enableval" = yes; then
8223 wx_cv_use_variant='wxUSE_VARIANT=yes'
8225 wx_cv_use_variant='wxUSE_VARIANT=no'
8230 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8235 eval "$wx_cv_use_variant"
8237 if test x
"$enablestring" = xdisable
; then
8238 if test $wxUSE_VARIANT = no
; then
8244 result
=$wxUSE_VARIANT
8247 { echo "$as_me:$LINENO: result: $result" >&5
8248 echo "${ECHO_T}$result" >&6; }
8252 defaultval
=$wxUSE_ALL_FEATURES
8253 if test -z "$defaultval"; then
8254 if test x
"$enablestring" = xdisable
; then
8261 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8262 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8263 # Check whether --enable-zipstream was given.
8264 if test "${enable_zipstream+set}" = set; then
8265 enableval
=$enable_zipstream;
8266 if test "$enableval" = yes; then
8267 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8269 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8274 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8279 eval "$wx_cv_use_zipstream"
8281 if test x"$enablestring" = xdisable; then
8282 if test $wxUSE_ZIPSTREAM = no; then
8288 result=$wxUSE_ZIPSTREAM
8291 { echo "$as_me:$LINENO: result: $result" >&5
8292 echo "${ECHO_T}$result" >&6; }
8297 defaultval=$wxUSE_ALL_FEATURES
8298 if test -z "$defaultval"; then
8299 if test x"$enablestring" = xdisable; then
8306 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8307 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8308 # Check whether --enable-url was given.
8309 if test "${enable_url+set}" = set; then
8310 enableval=$enable_url;
8311 if test "$enableval" = yes; then
8312 wx_cv_use_url='wxUSE_URL
=yes'
8314 wx_cv_use_url='wxUSE_URL
=no
'
8319 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8324 eval "$wx_cv_use_url"
8326 if test x"$enablestring" = xdisable; then
8327 if test $wxUSE_URL = no; then
8336 { echo "$as_me:$LINENO: result
: $result" >&5
8337 echo "${ECHO_T}$result" >&6; }
8341 defaultval=$wxUSE_ALL_FEATURES
8342 if test -z "$defaultval"; then
8343 if test x"$enablestring" = xdisable; then
8350 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8351 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8352 # Check whether --enable-protocol was given.
8353 if test "${enable_protocol+set}" = set; then
8354 enableval=$enable_protocol;
8355 if test "$enableval" = yes; then
8356 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8358 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8363 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8368 eval "$wx_cv_use_protocol"
8370 if test x
"$enablestring" = xdisable
; then
8371 if test $wxUSE_PROTOCOL = no
; then
8377 result
=$wxUSE_PROTOCOL
8380 { echo "$as_me:$LINENO: result: $result" >&5
8381 echo "${ECHO_T}$result" >&6; }
8385 defaultval
=$wxUSE_ALL_FEATURES
8386 if test -z "$defaultval"; then
8387 if test x
"$enablestring" = xdisable
; then
8394 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8395 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8396 # Check whether --enable-protocol_http was given.
8397 if test "${enable_protocol_http+set}" = set; then
8398 enableval
=$enable_protocol_http;
8399 if test "$enableval" = yes; then
8400 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8402 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8407 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8412 eval "$wx_cv_use_protocol_http"
8414 if test x"$enablestring" = xdisable; then
8415 if test $wxUSE_PROTOCOL_HTTP = no; then
8421 result=$wxUSE_PROTOCOL_HTTP
8424 { echo "$as_me:$LINENO: result: $result" >&5
8425 echo "${ECHO_T}$result" >&6; }
8429 defaultval=$wxUSE_ALL_FEATURES
8430 if test -z "$defaultval"; then
8431 if test x"$enablestring" = xdisable; then
8438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8439 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8440 # Check whether --enable-protocol_ftp was given.
8441 if test "${enable_protocol_ftp+set}" = set; then
8442 enableval=$enable_protocol_ftp;
8443 if test "$enableval" = yes; then
8444 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8446 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8451 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8456 eval "$wx_cv_use_protocol_ftp"
8458 if test x"$enablestring" = xdisable; then
8459 if test $wxUSE_PROTOCOL_FTP = no; then
8465 result=$wxUSE_PROTOCOL_FTP
8468 { echo "$as_me:$LINENO: result
: $result" >&5
8469 echo "${ECHO_T}$result" >&6; }
8473 defaultval=$wxUSE_ALL_FEATURES
8474 if test -z "$defaultval"; then
8475 if test x"$enablestring" = xdisable; then
8482 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8483 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8484 # Check whether --enable-protocol_file was given.
8485 if test "${enable_protocol_file+set}" = set; then
8486 enableval=$enable_protocol_file;
8487 if test "$enableval" = yes; then
8488 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8490 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8495 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8500 eval "$wx_cv_use_protocol_file"
8502 if test x
"$enablestring" = xdisable
; then
8503 if test $wxUSE_PROTOCOL_FILE = no
; then
8509 result
=$wxUSE_PROTOCOL_FILE
8512 { echo "$as_me:$LINENO: result: $result" >&5
8513 echo "${ECHO_T}$result" >&6; }
8518 defaultval
=$wxUSE_ALL_FEATURES
8519 if test -z "$defaultval"; then
8520 if test x
"$enablestring" = xdisable
; then
8527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8529 # Check whether --enable-threads was given.
8530 if test "${enable_threads+set}" = set; then
8531 enableval
=$enable_threads;
8532 if test "$enableval" = yes; then
8533 wx_cv_use_threads
='wxUSE_THREADS=yes'
8535 wx_cv_use_threads
='wxUSE_THREADS=no'
8540 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8545 eval "$wx_cv_use_threads"
8547 if test x"$enablestring" = xdisable; then
8548 if test $wxUSE_THREADS = no; then
8554 result=$wxUSE_THREADS
8557 { echo "$as_me:$LINENO: result: $result" >&5
8558 echo "${ECHO_T}$result" >&6; }
8564 if test -z "$defaultval"; then
8565 if test x"$enablestring" = xdisable; then
8572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8573 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8574 # Check whether --enable-iniconf was given.
8575 if test "${enable_iniconf+set}" = set; then
8576 enableval=$enable_iniconf;
8577 if test "$enableval" = yes; then
8578 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8580 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8585 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8590 eval "$wx_cv_use_iniconf"
8592 if test x"$enablestring" = xdisable; then
8593 if test $wxUSE_INICONF = no; then
8599 result=$wxUSE_INICONF
8602 { echo "$as_me:$LINENO: result
: $result" >&5
8603 echo "${ECHO_T}$result" >&6; }
8607 defaultval=$wxUSE_ALL_FEATURES
8608 if test -z "$defaultval"; then
8609 if test x"$enablestring" = xdisable; then
8616 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8617 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8618 # Check whether --enable-regkey was given.
8619 if test "${enable_regkey+set}" = set; then
8620 enableval=$enable_regkey;
8621 if test "$enableval" = yes; then
8622 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8624 wx_cv_use_regkey='wxUSE_REGKEY=no'
8629 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8634 eval "$wx_cv_use_regkey"
8636 if test x
"$enablestring" = xdisable
; then
8637 if test $wxUSE_REGKEY = no
; then
8643 result
=$wxUSE_REGKEY
8646 { echo "$as_me:$LINENO: result: $result" >&5
8647 echo "${ECHO_T}$result" >&6; }
8650 if test "$wxUSE_GUI" = "yes"; then
8655 defaultval
=$wxUSE_ALL_FEATURES
8656 if test -z "$defaultval"; then
8657 if test x
"$enablestring" = xdisable
; then
8664 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8665 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8666 # Check whether --enable-docview was given.
8667 if test "${enable_docview+set}" = set; then
8668 enableval
=$enable_docview;
8669 if test "$enableval" = yes; then
8670 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8672 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8677 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8682 eval "$wx_cv_use_docview"
8684 if test x"$enablestring" = xdisable; then
8685 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8691 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8694 { echo "$as_me:$LINENO: result: $result" >&5
8695 echo "${ECHO_T}$result" >&6; }
8699 defaultval=$wxUSE_ALL_FEATURES
8700 if test -z "$defaultval"; then
8701 if test x"$enablestring" = xdisable; then
8708 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8709 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8710 # Check whether --enable-help was given.
8711 if test "${enable_help+set}" = set; then
8712 enableval=$enable_help;
8713 if test "$enableval" = yes; then
8714 wx_cv_use_help='wxUSE_HELP
=yes'
8716 wx_cv_use_help='wxUSE_HELP
=no
'
8721 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8726 eval "$wx_cv_use_help"
8728 if test x"$enablestring" = xdisable; then
8729 if test $wxUSE_HELP = no; then
8738 { echo "$as_me:$LINENO: result
: $result" >&5
8739 echo "${ECHO_T}$result" >&6; }
8743 defaultval=$wxUSE_ALL_FEATURES
8744 if test -z "$defaultval"; then
8745 if test x"$enablestring" = xdisable; then
8752 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8753 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8754 # Check whether --enable-mshtmlhelp was given.
8755 if test "${enable_mshtmlhelp+set}" = set; then
8756 enableval=$enable_mshtmlhelp;
8757 if test "$enableval" = yes; then
8758 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8760 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8765 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8770 eval "$wx_cv_use_mshtmlhelp"
8772 if test x
"$enablestring" = xdisable
; then
8773 if test $wxUSE_MS_HTML_HELP = no
; then
8779 result
=$wxUSE_MS_HTML_HELP
8782 { echo "$as_me:$LINENO: result: $result" >&5
8783 echo "${ECHO_T}$result" >&6; }
8787 defaultval
=$wxUSE_ALL_FEATURES
8788 if test -z "$defaultval"; then
8789 if test x
"$enablestring" = xdisable
; then
8796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8797 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8798 # Check whether --enable-html was given.
8799 if test "${enable_html+set}" = set; then
8800 enableval
=$enable_html;
8801 if test "$enableval" = yes; then
8802 wx_cv_use_html
='wxUSE_HTML=yes'
8804 wx_cv_use_html
='wxUSE_HTML=no'
8809 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8814 eval "$wx_cv_use_html"
8816 if test x"$enablestring" = xdisable; then
8817 if test $wxUSE_HTML = no; then
8826 { echo "$as_me:$LINENO: result: $result" >&5
8827 echo "${ECHO_T}$result" >&6; }
8831 defaultval=$wxUSE_ALL_FEATURES
8832 if test -z "$defaultval"; then
8833 if test x"$enablestring" = xdisable; then
8840 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8841 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8842 # Check whether --enable-htmlhelp was given.
8843 if test "${enable_htmlhelp+set}" = set; then
8844 enableval=$enable_htmlhelp;
8845 if test "$enableval" = yes; then
8846 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8848 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8853 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8858 eval "$wx_cv_use_htmlhelp"
8860 if test x"$enablestring" = xdisable; then
8861 if test $wxUSE_WXHTML_HELP = no; then
8867 result=$wxUSE_WXHTML_HELP
8870 { echo "$as_me:$LINENO: result
: $result" >&5
8871 echo "${ECHO_T}$result" >&6; }
8875 defaultval=$wxUSE_ALL_FEATURES
8876 if test -z "$defaultval"; then
8877 if test x"$enablestring" = xdisable; then
8884 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8885 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8886 # Check whether --enable-xrc was given.
8887 if test "${enable_xrc+set}" = set; then
8888 enableval=$enable_xrc;
8889 if test "$enableval" = yes; then
8890 wx_cv_use_xrc='wxUSE_XRC=yes'
8892 wx_cv_use_xrc='wxUSE_XRC=no'
8897 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8902 eval "$wx_cv_use_xrc"
8904 if test x
"$enablestring" = xdisable
; then
8905 if test $wxUSE_XRC = no
; then
8914 { echo "$as_me:$LINENO: result: $result" >&5
8915 echo "${ECHO_T}$result" >&6; }
8919 defaultval
=$wxUSE_ALL_FEATURES
8920 if test -z "$defaultval"; then
8921 if test x
"$enablestring" = xdisable
; then
8928 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8929 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8930 # Check whether --enable-aui was given.
8931 if test "${enable_aui+set}" = set; then
8932 enableval
=$enable_aui;
8933 if test "$enableval" = yes; then
8934 wx_cv_use_aui
='wxUSE_AUI=yes'
8936 wx_cv_use_aui
='wxUSE_AUI=no'
8941 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8946 eval "$wx_cv_use_aui"
8948 if test x"$enablestring" = xdisable; then
8949 if test $wxUSE_AUI = no; then
8958 { echo "$as_me:$LINENO: result: $result" >&5
8959 echo "${ECHO_T}$result" >&6; }
8963 defaultval=$wxUSE_ALL_FEATURES
8964 if test -z "$defaultval"; then
8965 if test x"$enablestring" = xdisable; then
8972 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8973 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8974 # Check whether --enable-propgrid was given.
8975 if test "${enable_propgrid+set}" = set; then
8976 enableval=$enable_propgrid;
8977 if test "$enableval" = yes; then
8978 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8980 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8985 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8990 eval "$wx_cv_use_propgrid"
8992 if test x"$enablestring" = xdisable; then
8993 if test $wxUSE_PROPGRID = no; then
8999 result=$wxUSE_PROPGRID
9002 { echo "$as_me:$LINENO: result
: $result" >&5
9003 echo "${ECHO_T}$result" >&6; }
9007 defaultval=$wxUSE_ALL_FEATURES
9008 if test -z "$defaultval"; then
9009 if test x"$enablestring" = xdisable; then
9016 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
9017 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
9018 # Check whether --enable-ribbon was given.
9019 if test "${enable_ribbon+set}" = set; then
9020 enableval=$enable_ribbon;
9021 if test "$enableval" = yes; then
9022 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
9024 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9029 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9034 eval "$wx_cv_use_ribbon"
9036 if test x
"$enablestring" = xdisable
; then
9037 if test $wxUSE_RIBBON = no
; then
9043 result
=$wxUSE_RIBBON
9046 { echo "$as_me:$LINENO: result: $result" >&5
9047 echo "${ECHO_T}$result" >&6; }
9051 defaultval
=$wxUSE_ALL_FEATURES
9052 if test -z "$defaultval"; then
9053 if test x
"$enablestring" = xdisable
; then
9060 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9061 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9062 # Check whether --enable-stc was given.
9063 if test "${enable_stc+set}" = set; then
9064 enableval
=$enable_stc;
9065 if test "$enableval" = yes; then
9066 wx_cv_use_stc
='wxUSE_STC=yes'
9068 wx_cv_use_stc
='wxUSE_STC=no'
9073 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9078 eval "$wx_cv_use_stc"
9080 if test x"$enablestring" = xdisable; then
9081 if test $wxUSE_STC = no; then
9090 { echo "$as_me:$LINENO: result: $result" >&5
9091 echo "${ECHO_T}$result" >&6; }
9095 defaultval=$wxUSE_ALL_FEATURES
9096 if test -z "$defaultval"; then
9097 if test x"$enablestring" = xdisable; then
9104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9105 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9106 # Check whether --enable-constraints was given.
9107 if test "${enable_constraints+set}" = set; then
9108 enableval=$enable_constraints;
9109 if test "$enableval" = yes; then
9110 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
9112 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
9117 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9122 eval "$wx_cv_use_constraints"
9124 if test x"$enablestring" = xdisable; then
9125 if test $wxUSE_CONSTRAINTS = no; then
9131 result=$wxUSE_CONSTRAINTS
9134 { echo "$as_me:$LINENO: result
: $result" >&5
9135 echo "${ECHO_T}$result" >&6; }
9139 defaultval=$wxUSE_ALL_FEATURES
9140 if test -z "$defaultval"; then
9141 if test x"$enablestring" = xdisable; then
9148 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
9149 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
9150 # Check whether --enable-loggui was given.
9151 if test "${enable_loggui+set}" = set; then
9152 enableval=$enable_loggui;
9153 if test "$enableval" = yes; then
9154 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9156 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9161 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9166 eval "$wx_cv_use_loggui"
9168 if test x
"$enablestring" = xdisable
; then
9169 if test $wxUSE_LOGGUI = no
; then
9175 result
=$wxUSE_LOGGUI
9178 { echo "$as_me:$LINENO: result: $result" >&5
9179 echo "${ECHO_T}$result" >&6; }
9183 defaultval
=$wxUSE_ALL_FEATURES
9184 if test -z "$defaultval"; then
9185 if test x
"$enablestring" = xdisable
; then
9192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9193 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9194 # Check whether --enable-logwin was given.
9195 if test "${enable_logwin+set}" = set; then
9196 enableval
=$enable_logwin;
9197 if test "$enableval" = yes; then
9198 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
9200 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
9205 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9210 eval "$wx_cv_use_logwin"
9212 if test x"$enablestring" = xdisable; then
9213 if test $wxUSE_LOGWINDOW = no; then
9219 result=$wxUSE_LOGWINDOW
9222 { echo "$as_me:$LINENO: result: $result" >&5
9223 echo "${ECHO_T}$result" >&6; }
9227 defaultval=$wxUSE_ALL_FEATURES
9228 if test -z "$defaultval"; then
9229 if test x"$enablestring" = xdisable; then
9236 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9237 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9238 # Check whether --enable-logdialog was given.
9239 if test "${enable_logdialog+set}" = set; then
9240 enableval=$enable_logdialog;
9241 if test "$enableval" = yes; then
9242 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9244 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9249 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9254 eval "$wx_cv_use_logdialog"
9256 if test x"$enablestring" = xdisable; then
9257 if test $wxUSE_LOGDIALOG = no; then
9263 result=$wxUSE_LOGDIALOG
9266 { echo "$as_me:$LINENO: result
: $result" >&5
9267 echo "${ECHO_T}$result" >&6; }
9271 defaultval=$wxUSE_ALL_FEATURES
9272 if test -z "$defaultval"; then
9273 if test x"$enablestring" = xdisable; then
9280 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9281 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9282 # Check whether --enable-mdi was given.
9283 if test "${enable_mdi+set}" = set; then
9284 enableval=$enable_mdi;
9285 if test "$enableval" = yes; then
9286 wx_cv_use_mdi='wxUSE_MDI=yes'
9288 wx_cv_use_mdi='wxUSE_MDI=no'
9293 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9298 eval "$wx_cv_use_mdi"
9300 if test x
"$enablestring" = xdisable
; then
9301 if test $wxUSE_MDI = no
; then
9310 { echo "$as_me:$LINENO: result: $result" >&5
9311 echo "${ECHO_T}$result" >&6; }
9315 defaultval
=$wxUSE_ALL_FEATURES
9316 if test -z "$defaultval"; then
9317 if test x
"$enablestring" = xdisable
; then
9324 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9325 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9326 # Check whether --enable-mdidoc was given.
9327 if test "${enable_mdidoc+set}" = set; then
9328 enableval
=$enable_mdidoc;
9329 if test "$enableval" = yes; then
9330 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9332 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9337 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9342 eval "$wx_cv_use_mdidoc"
9344 if test x"$enablestring" = xdisable; then
9345 if test $wxUSE_MDI_ARCHITECTURE = no; then
9351 result=$wxUSE_MDI_ARCHITECTURE
9354 { echo "$as_me:$LINENO: result: $result" >&5
9355 echo "${ECHO_T}$result" >&6; }
9359 defaultval=$wxUSE_ALL_FEATURES
9360 if test -z "$defaultval"; then
9361 if test x"$enablestring" = xdisable; then
9368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9369 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9370 # Check whether --enable-mediactrl was given.
9371 if test "${enable_mediactrl+set}" = set; then
9372 enableval=$enable_mediactrl;
9373 if test "$enableval" = yes; then
9374 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9376 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9381 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9386 eval "$wx_cv_use_mediactrl"
9388 if test x"$enablestring" = xdisable; then
9389 if test $wxUSE_MEDIACTRL = no; then
9395 result=$wxUSE_MEDIACTRL
9398 { echo "$as_me:$LINENO: result
: $result" >&5
9399 echo "${ECHO_T}$result" >&6; }
9403 defaultval=$wxUSE_ALL_FEATURES
9404 if test -z "$defaultval"; then
9405 if test x"$enablestring" = xdisable; then
9412 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9413 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9414 # Check whether --enable-gstreamer8 was given.
9415 if test "${enable_gstreamer8+set}" = set; then
9416 enableval=$enable_gstreamer8;
9417 if test "$enableval" = yes; then
9418 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9420 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9425 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9430 eval "$wx_cv_use_gstreamer8"
9432 if test x
"$enablestring" = xdisable
; then
9433 if test $wxUSE_GSTREAMER8 = no
; then
9439 result
=$wxUSE_GSTREAMER8
9442 { echo "$as_me:$LINENO: result: $result" >&5
9443 echo "${ECHO_T}$result" >&6; }
9447 defaultval
=$wxUSE_ALL_FEATURES
9448 if test -z "$defaultval"; then
9449 if test x
"$enablestring" = xdisable
; then
9456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9457 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9458 # Check whether --enable-richtext was given.
9459 if test "${enable_richtext+set}" = set; then
9460 enableval
=$enable_richtext;
9461 if test "$enableval" = yes; then
9462 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
9464 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
9469 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9474 eval "$wx_cv_use_richtext"
9476 if test x"$enablestring" = xdisable; then
9477 if test $wxUSE_RICHTEXT = no; then
9483 result=$wxUSE_RICHTEXT
9486 { echo "$as_me:$LINENO: result: $result" >&5
9487 echo "${ECHO_T}$result" >&6; }
9491 defaultval=$wxUSE_ALL_FEATURES
9492 if test -z "$defaultval"; then
9493 if test x"$enablestring" = xdisable; then
9500 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9501 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9502 # Check whether --enable-postscript was given.
9503 if test "${enable_postscript+set}" = set; then
9504 enableval=$enable_postscript;
9505 if test "$enableval" = yes; then
9506 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9508 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9513 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9518 eval "$wx_cv_use_postscript"
9520 if test x"$enablestring" = xdisable; then
9521 if test $wxUSE_POSTSCRIPT = no; then
9527 result=$wxUSE_POSTSCRIPT
9530 { echo "$as_me:$LINENO: result
: $result" >&5
9531 echo "${ECHO_T}$result" >&6; }
9535 defaultval=$wxUSE_ALL_FEATURES
9536 if test -z "$defaultval"; then
9537 if test x"$enablestring" = xdisable; then
9544 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
9545 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
9546 # Check whether --enable-printarch was given.
9547 if test "${enable_printarch+set}" = set; then
9548 enableval=$enable_printarch;
9549 if test "$enableval" = yes; then
9550 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9552 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9557 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9562 eval "$wx_cv_use_printarch"
9564 if test x
"$enablestring" = xdisable
; then
9565 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
9571 result
=$wxUSE_PRINTING_ARCHITECTURE
9574 { echo "$as_me:$LINENO: result: $result" >&5
9575 echo "${ECHO_T}$result" >&6; }
9579 defaultval
=$wxUSE_ALL_FEATURES
9580 if test -z "$defaultval"; then
9581 if test x
"$enablestring" = xdisable
; then
9588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9590 # Check whether --enable-svg was given.
9591 if test "${enable_svg+set}" = set; then
9592 enableval
=$enable_svg;
9593 if test "$enableval" = yes; then
9594 wx_cv_use_svg
='wxUSE_SVG=yes'
9596 wx_cv_use_svg
='wxUSE_SVG=no'
9601 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9606 eval "$wx_cv_use_svg"
9608 if test x"$enablestring" = xdisable; then
9609 if test $wxUSE_SVG = no; then
9618 { echo "$as_me:$LINENO: result: $result" >&5
9619 echo "${ECHO_T}$result" >&6; }
9623 defaultval=$wxUSE_ALL_FEATURES
9624 if test -z "$defaultval"; then
9625 if test x"$enablestring" = xdisable; then
9632 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9633 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9634 # Check whether --enable-webkit was given.
9635 if test "${enable_webkit+set}" = set; then
9636 enableval=$enable_webkit;
9637 if test "$enableval" = yes; then
9638 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9640 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9645 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9650 eval "$wx_cv_use_webkit"
9652 if test x"$enablestring" = xdisable; then
9653 if test $wxUSE_WEBKIT = no; then
9659 result=$wxUSE_WEBKIT
9662 { echo "$as_me:$LINENO: result
: $result" >&5
9663 echo "${ECHO_T}$result" >&6; }
9667 defaultval=$wxUSE_ALL_FEATURES
9668 if test -z "$defaultval"; then
9669 if test x"$enablestring" = xdisable; then
9676 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webview" >&5
9677 echo $ECHO_N "checking
for --${enablestring:-enable}-webview...
$ECHO_C" >&6; }
9678 # Check whether --enable-webview was given.
9679 if test "${enable_webview+set}" = set; then
9680 enableval=$enable_webview;
9681 if test "$enableval" = yes; then
9682 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9684 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9689 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9694 eval "$wx_cv_use_webview"
9696 if test x
"$enablestring" = xdisable
; then
9697 if test $wxUSE_WEBVIEW = no
; then
9703 result
=$wxUSE_WEBVIEW
9706 { echo "$as_me:$LINENO: result: $result" >&5
9707 echo "${ECHO_T}$result" >&6; }
9710 if test "$wxUSE_MAC" != 1; then
9713 defaultval
=$wxUSE_ALL_FEATURES
9714 if test -z "$defaultval"; then
9715 if test x
"$enablestring" = xdisable
; then
9722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9723 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9724 # Check whether --enable-graphics_ctx was given.
9725 if test "${enable_graphics_ctx+set}" = set; then
9726 enableval
=$enable_graphics_ctx;
9727 if test "$enableval" = yes; then
9728 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9730 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9735 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9740 eval "$wx_cv_use_graphics_ctx"
9742 if test x"$enablestring" = xdisable; then
9743 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9749 result=$wxUSE_GRAPHICS_CONTEXT
9752 { echo "$as_me:$LINENO: result: $result" >&5
9753 echo "${ECHO_T}$result" >&6; }
9760 defaultval=$wxUSE_ALL_FEATURES
9761 if test -z "$defaultval"; then
9762 if test x"$enablestring" = xdisable; then
9769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9770 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9771 # Check whether --enable-clipboard was given.
9772 if test "${enable_clipboard+set}" = set; then
9773 enableval=$enable_clipboard;
9774 if test "$enableval" = yes; then
9775 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9777 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9782 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9787 eval "$wx_cv_use_clipboard"
9789 if test x"$enablestring" = xdisable; then
9790 if test $wxUSE_CLIPBOARD = no; then
9796 result=$wxUSE_CLIPBOARD
9799 { echo "$as_me:$LINENO: result
: $result" >&5
9800 echo "${ECHO_T}$result" >&6; }
9804 defaultval=$wxUSE_ALL_FEATURES
9805 if test -z "$defaultval"; then
9806 if test x"$enablestring" = xdisable; then
9813 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9814 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9815 # Check whether --enable-dnd was given.
9816 if test "${enable_dnd+set}" = set; then
9817 enableval=$enable_dnd;
9818 if test "$enableval" = yes; then
9819 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9821 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9826 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9831 eval "$wx_cv_use_dnd"
9833 if test x
"$enablestring" = xdisable
; then
9834 if test $wxUSE_DRAG_AND_DROP = no
; then
9840 result
=$wxUSE_DRAG_AND_DROP
9843 { echo "$as_me:$LINENO: result: $result" >&5
9844 echo "${ECHO_T}$result" >&6; }
9848 DEFAULT_wxUSE_CONTROLS
=none
9850 enablestring
=disable
9852 if test -z "$defaultval"; then
9853 if test x
"$enablestring" = xdisable
; then
9860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9862 # Check whether --enable-controls was given.
9863 if test "${enable_controls+set}" = set; then
9864 enableval
=$enable_controls;
9865 if test "$enableval" = yes; then
9866 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9868 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9873 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9878 eval "$wx_cv_use_controls"
9880 if test x"$enablestring" = xdisable; then
9881 if test $wxUSE_CONTROLS = no; then
9887 result=$wxUSE_CONTROLS
9890 { echo "$as_me:$LINENO: result: $result" >&5
9891 echo "${ECHO_T}$result" >&6; }
9894 if test "$wxUSE_CONTROLS" = "no"; then
9895 DEFAULT_wxUSE_ACCEL=no
9896 DEFAULT_wxUSE_ANIMATIONCTRL=no
9897 DEFAULT_wxUSE_BANNERWINDOW=no
9898 DEFAULT_wxUSE_BMPBUTTON=no
9899 DEFAULT_wxUSE_BUTTON=no
9900 DEFAULT_wxUSE_CALCTRL=no
9901 DEFAULT_wxUSE_CARET=no
9902 DEFAULT_wxUSE_CHECKBOX=no
9903 DEFAULT_wxUSE_CHECKLISTBOX=no
9904 DEFAULT_wxUSE_CHOICE=no
9905 DEFAULT_wxUSE_CHOICEBOOK=no
9906 DEFAULT_wxUSE_COLLPANE=no
9907 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9908 DEFAULT_wxUSE_COMBOBOX=no
9909 DEFAULT_wxUSE_COMBOBOX=no
9910 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9911 DEFAULT_wxUSE_DATAVIEWCTRL=no
9912 DEFAULT_wxUSE_DATEPICKCTRL=no
9913 DEFAULT_wxUSE_DETECT_SM=no
9914 DEFAULT_wxUSE_DIRPICKERCTRL=no
9915 DEFAULT_wxUSE_DISPLAY=no
9916 DEFAULT_wxUSE_FILECTRL=no
9917 DEFAULT_wxUSE_FILEPICKERCTRL=no
9918 DEFAULT_wxUSE_FONTPICKERCTRL=no
9919 DEFAULT_wxUSE_GAUGE=no
9920 DEFAULT_wxUSE_GRID=no
9921 DEFAULT_wxUSE_HEADERCTRL=no
9922 DEFAULT_wxUSE_HYPERLINKCTRL=no
9923 DEFAULT_wxUSE_IMAGLIST=no
9924 DEFAULT_wxUSE_LISTBOOK=no
9925 DEFAULT_wxUSE_LISTBOX=no
9926 DEFAULT_wxUSE_LISTCTRL=no
9927 DEFAULT_wxUSE_MARKUP=no
9928 DEFAULT_wxUSE_NOTEBOOK=no
9929 DEFAULT_wxUSE_POPUPWIN=no
9930 DEFAULT_wxUSE_RADIOBOX=no
9931 DEFAULT_wxUSE_RADIOBTN=no
9932 DEFAULT_wxUSE_RICHMSGDLG=no
9933 DEFAULT_wxUSE_RICHTOOLTIP=no
9934 DEFAULT_wxUSE_REARRANGECTRL=no
9935 DEFAULT_wxUSE_SASH=no
9936 DEFAULT_wxUSE_SCROLLBAR=no
9937 DEFAULT_wxUSE_SEARCHCTRL=no
9938 DEFAULT_wxUSE_SLIDER=no
9939 DEFAULT_wxUSE_SPINBTN=no
9940 DEFAULT_wxUSE_SPINCTRL=no
9941 DEFAULT_wxUSE_SPLITTER=no
9942 DEFAULT_wxUSE_STATBMP=no
9943 DEFAULT_wxUSE_STATBOX=no
9944 DEFAULT_wxUSE_STATLINE=no
9945 DEFAULT_wxUSE_STATUSBAR=no
9946 DEFAULT_wxUSE_TIMEPICKCTRL=no
9947 DEFAULT_wxUSE_TIPWINDOW=no
9948 DEFAULT_wxUSE_TOGGLEBTN=no
9949 DEFAULT_wxUSE_TOOLBAR=no
9950 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9951 DEFAULT_wxUSE_TOOLBOOK=no
9952 DEFAULT_wxUSE_TOOLTIPS=no
9953 DEFAULT_wxUSE_TREEBOOK=no
9954 DEFAULT_wxUSE_TREECTRL=no
9955 DEFAULT_wxUSE_TREELISTCTRL=no
9960 defaultval=$wxUSE_ALL_FEATURES
9961 if test -z "$defaultval"; then
9962 if test x"$enablestring" = xdisable; then
9969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9970 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9971 # Check whether --enable-markup was given.
9972 if test "${enable_markup+set}" = set; then
9973 enableval=$enable_markup;
9974 if test "$enableval" = yes; then
9975 wx_cv_use_markup='wxUSE_MARKUP
=yes'
9977 wx_cv_use_markup='wxUSE_MARKUP
=no
'
9982 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9987 eval "$wx_cv_use_markup"
9989 if test x"$enablestring" = xdisable; then
9990 if test $wxUSE_MARKUP = no; then
9996 result=$wxUSE_MARKUP
9999 { echo "$as_me:$LINENO: result
: $result" >&5
10000 echo "${ECHO_T}$result" >&6; }
10005 defaultval=$wxUSE_ALL_FEATURES
10006 if test -z "$defaultval"; then
10007 if test x"$enablestring" = xdisable; then
10014 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
10015 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
10016 # Check whether --enable-accel was given.
10017 if test "${enable_accel+set}" = set; then
10018 enableval=$enable_accel;
10019 if test "$enableval" = yes; then
10020 wx_cv_use_accel='wxUSE_ACCEL=yes'
10022 wx_cv_use_accel='wxUSE_ACCEL=no'
10027 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10032 eval "$wx_cv_use_accel"
10034 if test x
"$enablestring" = xdisable
; then
10035 if test $wxUSE_ACCEL = no
; then
10041 result
=$wxUSE_ACCEL
10044 { echo "$as_me:$LINENO: result: $result" >&5
10045 echo "${ECHO_T}$result" >&6; }
10049 defaultval
=$wxUSE_ALL_FEATURES
10050 if test -z "$defaultval"; then
10051 if test x
"$enablestring" = xdisable
; then
10058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10059 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10060 # Check whether --enable-animatectrl was given.
10061 if test "${enable_animatectrl+set}" = set; then
10062 enableval
=$enable_animatectrl;
10063 if test "$enableval" = yes; then
10064 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
10066 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
10071 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10076 eval "$wx_cv_use_animatectrl"
10078 if test x"$enablestring" = xdisable; then
10079 if test $wxUSE_ANIMATIONCTRL = no; then
10085 result=$wxUSE_ANIMATIONCTRL
10088 { echo "$as_me:$LINENO: result: $result" >&5
10089 echo "${ECHO_T}$result" >&6; }
10093 defaultval=$wxUSE_ALL_FEATURES
10094 if test -z "$defaultval"; then
10095 if test x"$enablestring" = xdisable; then
10102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10103 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10104 # Check whether --enable-bannerwindow was given.
10105 if test "${enable_bannerwindow+set}" = set; then
10106 enableval=$enable_bannerwindow;
10107 if test "$enableval" = yes; then
10108 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
10110 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
10115 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10120 eval "$wx_cv_use_bannerwindow"
10122 if test x"$enablestring" = xdisable; then
10123 if test $wxUSE_BANNERWINDOW = no; then
10129 result=$wxUSE_BANNERWINDOW
10132 { echo "$as_me:$LINENO: result
: $result" >&5
10133 echo "${ECHO_T}$result" >&6; }
10137 defaultval=$wxUSE_ALL_FEATURES
10138 if test -z "$defaultval"; then
10139 if test x"$enablestring" = xdisable; then
10146 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-artstd" >&5
10147 echo $ECHO_N "checking
for --${enablestring:-enable}-artstd...
$ECHO_C" >&6; }
10148 # Check whether --enable-artstd was given.
10149 if test "${enable_artstd+set}" = set; then
10150 enableval=$enable_artstd;
10151 if test "$enableval" = yes; then
10152 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10154 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10159 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10164 eval "$wx_cv_use_artstd"
10166 if test x
"$enablestring" = xdisable
; then
10167 if test $wxUSE_ARTPROVIDER_STD = no
; then
10173 result
=$wxUSE_ARTPROVIDER_STD
10176 { echo "$as_me:$LINENO: result: $result" >&5
10177 echo "${ECHO_T}$result" >&6; }
10181 defaultval
=$wxUSE_ALL_FEATURES
10182 if test -z "$defaultval"; then
10183 if test x
"$enablestring" = xdisable
; then
10190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10191 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10192 # Check whether --enable-arttango was given.
10193 if test "${enable_arttango+set}" = set; then
10194 enableval
=$enable_arttango;
10195 if test "$enableval" = yes; then
10196 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
10198 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
10203 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10208 eval "$wx_cv_use_arttango"
10210 if test x"$enablestring" = xdisable; then
10211 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10217 result=$wxUSE_ARTPROVIDER_TANGO
10220 { echo "$as_me:$LINENO: result: $result" >&5
10221 echo "${ECHO_T}$result" >&6; }
10225 defaultval=$wxUSE_ALL_FEATURES
10226 if test -z "$defaultval"; then
10227 if test x"$enablestring" = xdisable; then
10234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10235 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10236 # Check whether --enable-bmpbutton was given.
10237 if test "${enable_bmpbutton+set}" = set; then
10238 enableval=$enable_bmpbutton;
10239 if test "$enableval" = yes; then
10240 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
10242 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
10247 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10252 eval "$wx_cv_use_bmpbutton"
10254 if test x"$enablestring" = xdisable; then
10255 if test $wxUSE_BMPBUTTON = no; then
10261 result=$wxUSE_BMPBUTTON
10264 { echo "$as_me:$LINENO: result
: $result" >&5
10265 echo "${ECHO_T}$result" >&6; }
10269 defaultval=$wxUSE_ALL_FEATURES
10270 if test -z "$defaultval"; then
10271 if test x"$enablestring" = xdisable; then
10278 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
10279 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
10280 # Check whether --enable-bmpcombobox was given.
10281 if test "${enable_bmpcombobox+set}" = set; then
10282 enableval=$enable_bmpcombobox;
10283 if test "$enableval" = yes; then
10284 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10286 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10291 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10296 eval "$wx_cv_use_bmpcombobox"
10298 if test x
"$enablestring" = xdisable
; then
10299 if test $wxUSE_BITMAPCOMBOBOX = no
; then
10305 result
=$wxUSE_BITMAPCOMBOBOX
10308 { echo "$as_me:$LINENO: result: $result" >&5
10309 echo "${ECHO_T}$result" >&6; }
10313 defaultval
=$wxUSE_ALL_FEATURES
10314 if test -z "$defaultval"; then
10315 if test x
"$enablestring" = xdisable
; then
10322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10323 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10324 # Check whether --enable-button was given.
10325 if test "${enable_button+set}" = set; then
10326 enableval
=$enable_button;
10327 if test "$enableval" = yes; then
10328 wx_cv_use_button
='wxUSE_BUTTON=yes'
10330 wx_cv_use_button
='wxUSE_BUTTON=no'
10335 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10340 eval "$wx_cv_use_button"
10342 if test x"$enablestring" = xdisable; then
10343 if test $wxUSE_BUTTON = no; then
10349 result=$wxUSE_BUTTON
10352 { echo "$as_me:$LINENO: result: $result" >&5
10353 echo "${ECHO_T}$result" >&6; }
10357 defaultval=$wxUSE_ALL_FEATURES
10358 if test -z "$defaultval"; then
10359 if test x"$enablestring" = xdisable; then
10366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10367 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10368 # Check whether --enable-calendar was given.
10369 if test "${enable_calendar+set}" = set; then
10370 enableval=$enable_calendar;
10371 if test "$enableval" = yes; then
10372 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10374 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10379 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10384 eval "$wx_cv_use_calendar"
10386 if test x"$enablestring" = xdisable; then
10387 if test $wxUSE_CALCTRL = no; then
10393 result=$wxUSE_CALCTRL
10396 { echo "$as_me:$LINENO: result
: $result" >&5
10397 echo "${ECHO_T}$result" >&6; }
10401 defaultval=$wxUSE_ALL_FEATURES
10402 if test -z "$defaultval"; then
10403 if test x"$enablestring" = xdisable; then
10410 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10411 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10412 # Check whether --enable-caret was given.
10413 if test "${enable_caret+set}" = set; then
10414 enableval=$enable_caret;
10415 if test "$enableval" = yes; then
10416 wx_cv_use_caret='wxUSE_CARET=yes'
10418 wx_cv_use_caret='wxUSE_CARET=no'
10423 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10428 eval "$wx_cv_use_caret"
10430 if test x
"$enablestring" = xdisable
; then
10431 if test $wxUSE_CARET = no
; then
10437 result
=$wxUSE_CARET
10440 { echo "$as_me:$LINENO: result: $result" >&5
10441 echo "${ECHO_T}$result" >&6; }
10445 defaultval
=$wxUSE_ALL_FEATURES
10446 if test -z "$defaultval"; then
10447 if test x
"$enablestring" = xdisable
; then
10454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10455 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10456 # Check whether --enable-checkbox was given.
10457 if test "${enable_checkbox+set}" = set; then
10458 enableval
=$enable_checkbox;
10459 if test "$enableval" = yes; then
10460 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10462 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10467 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10472 eval "$wx_cv_use_checkbox"
10474 if test x"$enablestring" = xdisable; then
10475 if test $wxUSE_CHECKBOX = no; then
10481 result=$wxUSE_CHECKBOX
10484 { echo "$as_me:$LINENO: result: $result" >&5
10485 echo "${ECHO_T}$result" >&6; }
10489 defaultval=$wxUSE_ALL_FEATURES
10490 if test -z "$defaultval"; then
10491 if test x"$enablestring" = xdisable; then
10498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10499 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10500 # Check whether --enable-checklst was given.
10501 if test "${enable_checklst+set}" = set; then
10502 enableval=$enable_checklst;
10503 if test "$enableval" = yes; then
10504 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10506 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10511 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10516 eval "$wx_cv_use_checklst"
10518 if test x"$enablestring" = xdisable; then
10519 if test $wxUSE_CHECKLST = no; then
10525 result=$wxUSE_CHECKLST
10528 { echo "$as_me:$LINENO: result
: $result" >&5
10529 echo "${ECHO_T}$result" >&6; }
10533 defaultval=$wxUSE_ALL_FEATURES
10534 if test -z "$defaultval"; then
10535 if test x"$enablestring" = xdisable; then
10542 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10543 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10544 # Check whether --enable-choice was given.
10545 if test "${enable_choice+set}" = set; then
10546 enableval=$enable_choice;
10547 if test "$enableval" = yes; then
10548 wx_cv_use_choice='wxUSE_CHOICE=yes'
10550 wx_cv_use_choice='wxUSE_CHOICE=no'
10555 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10560 eval "$wx_cv_use_choice"
10562 if test x
"$enablestring" = xdisable
; then
10563 if test $wxUSE_CHOICE = no
; then
10569 result
=$wxUSE_CHOICE
10572 { echo "$as_me:$LINENO: result: $result" >&5
10573 echo "${ECHO_T}$result" >&6; }
10577 defaultval
=$wxUSE_ALL_FEATURES
10578 if test -z "$defaultval"; then
10579 if test x
"$enablestring" = xdisable
; then
10586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10587 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10588 # Check whether --enable-choicebook was given.
10589 if test "${enable_choicebook+set}" = set; then
10590 enableval
=$enable_choicebook;
10591 if test "$enableval" = yes; then
10592 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10594 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10599 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10604 eval "$wx_cv_use_choicebook"
10606 if test x"$enablestring" = xdisable; then
10607 if test $wxUSE_CHOICEBOOK = no; then
10613 result=$wxUSE_CHOICEBOOK
10616 { echo "$as_me:$LINENO: result: $result" >&5
10617 echo "${ECHO_T}$result" >&6; }
10621 defaultval=$wxUSE_ALL_FEATURES
10622 if test -z "$defaultval"; then
10623 if test x"$enablestring" = xdisable; then
10630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10631 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10632 # Check whether --enable-collpane was given.
10633 if test "${enable_collpane+set}" = set; then
10634 enableval=$enable_collpane;
10635 if test "$enableval" = yes; then
10636 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10638 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10643 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10648 eval "$wx_cv_use_collpane"
10650 if test x"$enablestring" = xdisable; then
10651 if test $wxUSE_COLLPANE = no; then
10657 result=$wxUSE_COLLPANE
10660 { echo "$as_me:$LINENO: result
: $result" >&5
10661 echo "${ECHO_T}$result" >&6; }
10665 defaultval=$wxUSE_ALL_FEATURES
10666 if test -z "$defaultval"; then
10667 if test x"$enablestring" = xdisable; then
10674 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10675 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10676 # Check whether --enable-colourpicker was given.
10677 if test "${enable_colourpicker+set}" = set; then
10678 enableval=$enable_colourpicker;
10679 if test "$enableval" = yes; then
10680 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10682 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10687 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10692 eval "$wx_cv_use_colourpicker"
10694 if test x
"$enablestring" = xdisable
; then
10695 if test $wxUSE_COLOURPICKERCTRL = no
; then
10701 result
=$wxUSE_COLOURPICKERCTRL
10704 { echo "$as_me:$LINENO: result: $result" >&5
10705 echo "${ECHO_T}$result" >&6; }
10709 defaultval
=$wxUSE_ALL_FEATURES
10710 if test -z "$defaultval"; then
10711 if test x
"$enablestring" = xdisable
; then
10718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10719 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10720 # Check whether --enable-combobox was given.
10721 if test "${enable_combobox+set}" = set; then
10722 enableval
=$enable_combobox;
10723 if test "$enableval" = yes; then
10724 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10726 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10731 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10736 eval "$wx_cv_use_combobox"
10738 if test x"$enablestring" = xdisable; then
10739 if test $wxUSE_COMBOBOX = no; then
10745 result=$wxUSE_COMBOBOX
10748 { echo "$as_me:$LINENO: result: $result" >&5
10749 echo "${ECHO_T}$result" >&6; }
10753 defaultval=$wxUSE_ALL_FEATURES
10754 if test -z "$defaultval"; then
10755 if test x"$enablestring" = xdisable; then
10762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10763 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10764 # Check whether --enable-comboctrl was given.
10765 if test "${enable_comboctrl+set}" = set; then
10766 enableval=$enable_comboctrl;
10767 if test "$enableval" = yes; then
10768 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10770 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10775 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10780 eval "$wx_cv_use_comboctrl"
10782 if test x"$enablestring" = xdisable; then
10783 if test $wxUSE_COMBOCTRL = no; then
10789 result=$wxUSE_COMBOCTRL
10792 { echo "$as_me:$LINENO: result
: $result" >&5
10793 echo "${ECHO_T}$result" >&6; }
10797 defaultval=$wxUSE_ALL_FEATURES
10798 if test -z "$defaultval"; then
10799 if test x"$enablestring" = xdisable; then
10806 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
10807 echo $ECHO_N "checking
for --${enablestring:-enable}-commandlinkbutton...
$ECHO_C" >&6; }
10808 # Check whether --enable-commandlinkbutton was given.
10809 if test "${enable_commandlinkbutton+set}" = set; then
10810 enableval=$enable_commandlinkbutton;
10811 if test "$enableval" = yes; then
10812 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10814 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10819 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10824 eval "$wx_cv_use_commandlinkbutton"
10826 if test x
"$enablestring" = xdisable
; then
10827 if test $wxUSE_COMMANDLINKBUTTON = no
; then
10833 result
=$wxUSE_COMMANDLINKBUTTON
10836 { echo "$as_me:$LINENO: result: $result" >&5
10837 echo "${ECHO_T}$result" >&6; }
10841 defaultval
=$wxUSE_ALL_FEATURES
10842 if test -z "$defaultval"; then
10843 if test x
"$enablestring" = xdisable
; then
10850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10851 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10852 # Check whether --enable-dataviewctrl was given.
10853 if test "${enable_dataviewctrl+set}" = set; then
10854 enableval
=$enable_dataviewctrl;
10855 if test "$enableval" = yes; then
10856 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10858 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10863 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10868 eval "$wx_cv_use_dataviewctrl"
10870 if test x"$enablestring" = xdisable; then
10871 if test $wxUSE_DATAVIEWCTRL = no; then
10877 result=$wxUSE_DATAVIEWCTRL
10880 { echo "$as_me:$LINENO: result: $result" >&5
10881 echo "${ECHO_T}$result" >&6; }
10885 defaultval=$wxUSE_ALL_FEATURES
10886 if test -z "$defaultval"; then
10887 if test x"$enablestring" = xdisable; then
10894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10895 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10896 # Check whether --enable-datepick was given.
10897 if test "${enable_datepick+set}" = set; then
10898 enableval=$enable_datepick;
10899 if test "$enableval" = yes; then
10900 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10902 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10907 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10912 eval "$wx_cv_use_datepick"
10914 if test x"$enablestring" = xdisable; then
10915 if test $wxUSE_DATEPICKCTRL = no; then
10921 result=$wxUSE_DATEPICKCTRL
10924 { echo "$as_me:$LINENO: result
: $result" >&5
10925 echo "${ECHO_T}$result" >&6; }
10929 defaultval=$wxUSE_ALL_FEATURES
10930 if test -z "$defaultval"; then
10931 if test x"$enablestring" = xdisable; then
10938 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10939 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10940 # Check whether --enable-detect_sm was given.
10941 if test "${enable_detect_sm+set}" = set; then
10942 enableval=$enable_detect_sm;
10943 if test "$enableval" = yes; then
10944 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10946 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10951 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10956 eval "$wx_cv_use_detect_sm"
10958 if test x
"$enablestring" = xdisable
; then
10959 if test $wxUSE_DETECT_SM = no
; then
10965 result
=$wxUSE_DETECT_SM
10968 { echo "$as_me:$LINENO: result: $result" >&5
10969 echo "${ECHO_T}$result" >&6; }
10973 defaultval
=$wxUSE_ALL_FEATURES
10974 if test -z "$defaultval"; then
10975 if test x
"$enablestring" = xdisable
; then
10982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10983 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10984 # Check whether --enable-dirpicker was given.
10985 if test "${enable_dirpicker+set}" = set; then
10986 enableval
=$enable_dirpicker;
10987 if test "$enableval" = yes; then
10988 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10990 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
10995 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11000 eval "$wx_cv_use_dirpicker"
11002 if test x"$enablestring" = xdisable; then
11003 if test $wxUSE_DIRPICKERCTRL = no; then
11009 result=$wxUSE_DIRPICKERCTRL
11012 { echo "$as_me:$LINENO: result: $result" >&5
11013 echo "${ECHO_T}$result" >&6; }
11017 defaultval=$wxUSE_ALL_FEATURES
11018 if test -z "$defaultval"; then
11019 if test x"$enablestring" = xdisable; then
11026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11027 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11028 # Check whether --enable-display was given.
11029 if test "${enable_display+set}" = set; then
11030 enableval=$enable_display;
11031 if test "$enableval" = yes; then
11032 wx_cv_use_display='wxUSE_DISPLAY
=yes'
11034 wx_cv_use_display='wxUSE_DISPLAY
=no
'
11039 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11044 eval "$wx_cv_use_display"
11046 if test x"$enablestring" = xdisable; then
11047 if test $wxUSE_DISPLAY = no; then
11053 result=$wxUSE_DISPLAY
11056 { echo "$as_me:$LINENO: result
: $result" >&5
11057 echo "${ECHO_T}$result" >&6; }
11061 defaultval=$wxUSE_ALL_FEATURES
11062 if test -z "$defaultval"; then
11063 if test x"$enablestring" = xdisable; then
11070 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
11071 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
11072 # Check whether --enable-editablebox was given.
11073 if test "${enable_editablebox+set}" = set; then
11074 enableval=$enable_editablebox;
11075 if test "$enableval" = yes; then
11076 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11078 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11083 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11088 eval "$wx_cv_use_editablebox"
11090 if test x
"$enablestring" = xdisable
; then
11091 if test $wxUSE_EDITABLELISTBOX = no
; then
11097 result
=$wxUSE_EDITABLELISTBOX
11100 { echo "$as_me:$LINENO: result: $result" >&5
11101 echo "${ECHO_T}$result" >&6; }
11105 defaultval
=$wxUSE_ALL_FEATURES
11106 if test -z "$defaultval"; then
11107 if test x
"$enablestring" = xdisable
; then
11114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11115 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11116 # Check whether --enable-filectrl was given.
11117 if test "${enable_filectrl+set}" = set; then
11118 enableval
=$enable_filectrl;
11119 if test "$enableval" = yes; then
11120 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
11122 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
11127 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11132 eval "$wx_cv_use_filectrl"
11134 if test x"$enablestring" = xdisable; then
11135 if test $wxUSE_FILECTRL = no; then
11141 result=$wxUSE_FILECTRL
11144 { echo "$as_me:$LINENO: result: $result" >&5
11145 echo "${ECHO_T}$result" >&6; }
11149 defaultval=$wxUSE_ALL_FEATURES
11150 if test -z "$defaultval"; then
11151 if test x"$enablestring" = xdisable; then
11158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11159 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11160 # Check whether --enable-filepicker was given.
11161 if test "${enable_filepicker+set}" = set; then
11162 enableval=$enable_filepicker;
11163 if test "$enableval" = yes; then
11164 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
11166 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
11171 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11176 eval "$wx_cv_use_filepicker"
11178 if test x"$enablestring" = xdisable; then
11179 if test $wxUSE_FILEPICKERCTRL = no; then
11185 result=$wxUSE_FILEPICKERCTRL
11188 { echo "$as_me:$LINENO: result
: $result" >&5
11189 echo "${ECHO_T}$result" >&6; }
11193 defaultval=$wxUSE_ALL_FEATURES
11194 if test -z "$defaultval"; then
11195 if test x"$enablestring" = xdisable; then
11202 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
11203 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
11204 # Check whether --enable-fontpicker was given.
11205 if test "${enable_fontpicker+set}" = set; then
11206 enableval=$enable_fontpicker;
11207 if test "$enableval" = yes; then
11208 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11210 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11215 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11220 eval "$wx_cv_use_fontpicker"
11222 if test x
"$enablestring" = xdisable
; then
11223 if test $wxUSE_FONTPICKERCTRL = no
; then
11229 result
=$wxUSE_FONTPICKERCTRL
11232 { echo "$as_me:$LINENO: result: $result" >&5
11233 echo "${ECHO_T}$result" >&6; }
11237 defaultval
=$wxUSE_ALL_FEATURES
11238 if test -z "$defaultval"; then
11239 if test x
"$enablestring" = xdisable
; then
11246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11247 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11248 # Check whether --enable-gauge was given.
11249 if test "${enable_gauge+set}" = set; then
11250 enableval
=$enable_gauge;
11251 if test "$enableval" = yes; then
11252 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
11254 wx_cv_use_gauge
='wxUSE_GAUGE=no'
11259 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11264 eval "$wx_cv_use_gauge"
11266 if test x"$enablestring" = xdisable; then
11267 if test $wxUSE_GAUGE = no; then
11273 result=$wxUSE_GAUGE
11276 { echo "$as_me:$LINENO: result: $result" >&5
11277 echo "${ECHO_T}$result" >&6; }
11281 defaultval=$wxUSE_ALL_FEATURES
11282 if test -z "$defaultval"; then
11283 if test x"$enablestring" = xdisable; then
11290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11291 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11292 # Check whether --enable-grid was given.
11293 if test "${enable_grid+set}" = set; then
11294 enableval=$enable_grid;
11295 if test "$enableval" = yes; then
11296 wx_cv_use_grid='wxUSE_GRID
=yes'
11298 wx_cv_use_grid='wxUSE_GRID
=no
'
11303 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11308 eval "$wx_cv_use_grid"
11310 if test x"$enablestring" = xdisable; then
11311 if test $wxUSE_GRID = no; then
11320 { echo "$as_me:$LINENO: result
: $result" >&5
11321 echo "${ECHO_T}$result" >&6; }
11325 defaultval=$wxUSE_ALL_FEATURES
11326 if test -z "$defaultval"; then
11327 if test x"$enablestring" = xdisable; then
11334 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
11335 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
11336 # Check whether --enable-headerctrl was given.
11337 if test "${enable_headerctrl+set}" = set; then
11338 enableval=$enable_headerctrl;
11339 if test "$enableval" = yes; then
11340 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11342 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11347 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11352 eval "$wx_cv_use_headerctrl"
11354 if test x
"$enablestring" = xdisable
; then
11355 if test $wxUSE_HEADERCTRL = no
; then
11361 result
=$wxUSE_HEADERCTRL
11364 { echo "$as_me:$LINENO: result: $result" >&5
11365 echo "${ECHO_T}$result" >&6; }
11369 defaultval
=$wxUSE_ALL_FEATURES
11370 if test -z "$defaultval"; then
11371 if test x
"$enablestring" = xdisable
; then
11378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11379 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11380 # Check whether --enable-hyperlink was given.
11381 if test "${enable_hyperlink+set}" = set; then
11382 enableval
=$enable_hyperlink;
11383 if test "$enableval" = yes; then
11384 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
11386 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
11391 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11396 eval "$wx_cv_use_hyperlink"
11398 if test x"$enablestring" = xdisable; then
11399 if test $wxUSE_HYPERLINKCTRL = no; then
11405 result=$wxUSE_HYPERLINKCTRL
11408 { echo "$as_me:$LINENO: result: $result" >&5
11409 echo "${ECHO_T}$result" >&6; }
11413 defaultval=$wxUSE_ALL_FEATURES
11414 if test -z "$defaultval"; then
11415 if test x"$enablestring" = xdisable; then
11422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11423 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11424 # Check whether --enable-imaglist was given.
11425 if test "${enable_imaglist+set}" = set; then
11426 enableval=$enable_imaglist;
11427 if test "$enableval" = yes; then
11428 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
11430 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
11435 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11440 eval "$wx_cv_use_imaglist"
11442 if test x"$enablestring" = xdisable; then
11443 if test $wxUSE_IMAGLIST = no; then
11449 result=$wxUSE_IMAGLIST
11452 { echo "$as_me:$LINENO: result
: $result" >&5
11453 echo "${ECHO_T}$result" >&6; }
11457 defaultval=$wxUSE_ALL_FEATURES
11458 if test -z "$defaultval"; then
11459 if test x"$enablestring" = xdisable; then
11466 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
11467 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
11468 # Check whether --enable-infobar was given.
11469 if test "${enable_infobar+set}" = set; then
11470 enableval=$enable_infobar;
11471 if test "$enableval" = yes; then
11472 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11474 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11479 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11484 eval "$wx_cv_use_infobar"
11486 if test x
"$enablestring" = xdisable
; then
11487 if test $wxUSE_INFOBAR = no
; then
11493 result
=$wxUSE_INFOBAR
11496 { echo "$as_me:$LINENO: result: $result" >&5
11497 echo "${ECHO_T}$result" >&6; }
11501 defaultval
=$wxUSE_ALL_FEATURES
11502 if test -z "$defaultval"; then
11503 if test x
"$enablestring" = xdisable
; then
11510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11511 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11512 # Check whether --enable-listbook was given.
11513 if test "${enable_listbook+set}" = set; then
11514 enableval
=$enable_listbook;
11515 if test "$enableval" = yes; then
11516 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11518 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11523 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11528 eval "$wx_cv_use_listbook"
11530 if test x"$enablestring" = xdisable; then
11531 if test $wxUSE_LISTBOOK = no; then
11537 result=$wxUSE_LISTBOOK
11540 { echo "$as_me:$LINENO: result: $result" >&5
11541 echo "${ECHO_T}$result" >&6; }
11545 defaultval=$wxUSE_ALL_FEATURES
11546 if test -z "$defaultval"; then
11547 if test x"$enablestring" = xdisable; then
11554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11555 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11556 # Check whether --enable-listbox was given.
11557 if test "${enable_listbox+set}" = set; then
11558 enableval=$enable_listbox;
11559 if test "$enableval" = yes; then
11560 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11562 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11567 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11572 eval "$wx_cv_use_listbox"
11574 if test x"$enablestring" = xdisable; then
11575 if test $wxUSE_LISTBOX = no; then
11581 result=$wxUSE_LISTBOX
11584 { echo "$as_me:$LINENO: result
: $result" >&5
11585 echo "${ECHO_T}$result" >&6; }
11589 defaultval=$wxUSE_ALL_FEATURES
11590 if test -z "$defaultval"; then
11591 if test x"$enablestring" = xdisable; then
11598 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11599 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11600 # Check whether --enable-listctrl was given.
11601 if test "${enable_listctrl+set}" = set; then
11602 enableval=$enable_listctrl;
11603 if test "$enableval" = yes; then
11604 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11606 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11611 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11616 eval "$wx_cv_use_listctrl"
11618 if test x
"$enablestring" = xdisable
; then
11619 if test $wxUSE_LISTCTRL = no
; then
11625 result
=$wxUSE_LISTCTRL
11628 { echo "$as_me:$LINENO: result: $result" >&5
11629 echo "${ECHO_T}$result" >&6; }
11633 defaultval
=$wxUSE_ALL_FEATURES
11634 if test -z "$defaultval"; then
11635 if test x
"$enablestring" = xdisable
; then
11642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11643 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11644 # Check whether --enable-notebook was given.
11645 if test "${enable_notebook+set}" = set; then
11646 enableval
=$enable_notebook;
11647 if test "$enableval" = yes; then
11648 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11650 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11655 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11660 eval "$wx_cv_use_notebook"
11662 if test x"$enablestring" = xdisable; then
11663 if test $wxUSE_NOTEBOOK = no; then
11669 result=$wxUSE_NOTEBOOK
11672 { echo "$as_me:$LINENO: result: $result" >&5
11673 echo "${ECHO_T}$result" >&6; }
11677 defaultval=$wxUSE_ALL_FEATURES
11678 if test -z "$defaultval"; then
11679 if test x"$enablestring" = xdisable; then
11686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11687 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11688 # Check whether --enable-notifmsg was given.
11689 if test "${enable_notifmsg+set}" = set; then
11690 enableval=$enable_notifmsg;
11691 if test "$enableval" = yes; then
11692 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11694 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11699 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11704 eval "$wx_cv_use_notifmsg"
11706 if test x"$enablestring" = xdisable; then
11707 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11713 result=$wxUSE_NOTIFICATION_MESSAGE
11716 { echo "$as_me:$LINENO: result
: $result" >&5
11717 echo "${ECHO_T}$result" >&6; }
11721 defaultval=$wxUSE_ALL_FEATURES
11722 if test -z "$defaultval"; then
11723 if test x"$enablestring" = xdisable; then
11730 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11731 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11732 # Check whether --enable-odcombobox was given.
11733 if test "${enable_odcombobox+set}" = set; then
11734 enableval=$enable_odcombobox;
11735 if test "$enableval" = yes; then
11736 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11738 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11743 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11748 eval "$wx_cv_use_odcombobox"
11750 if test x
"$enablestring" = xdisable
; then
11751 if test $wxUSE_ODCOMBOBOX = no
; then
11757 result
=$wxUSE_ODCOMBOBOX
11760 { echo "$as_me:$LINENO: result: $result" >&5
11761 echo "${ECHO_T}$result" >&6; }
11765 defaultval
=$wxUSE_ALL_FEATURES
11766 if test -z "$defaultval"; then
11767 if test x
"$enablestring" = xdisable
; then
11774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11775 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11776 # Check whether --enable-popupwin was given.
11777 if test "${enable_popupwin+set}" = set; then
11778 enableval
=$enable_popupwin;
11779 if test "$enableval" = yes; then
11780 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11782 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11787 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11792 eval "$wx_cv_use_popupwin"
11794 if test x"$enablestring" = xdisable; then
11795 if test $wxUSE_POPUPWIN = no; then
11801 result=$wxUSE_POPUPWIN
11804 { echo "$as_me:$LINENO: result: $result" >&5
11805 echo "${ECHO_T}$result" >&6; }
11809 defaultval=$wxUSE_ALL_FEATURES
11810 if test -z "$defaultval"; then
11811 if test x"$enablestring" = xdisable; then
11818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11819 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11820 # Check whether --enable-radiobox was given.
11821 if test "${enable_radiobox+set}" = set; then
11822 enableval=$enable_radiobox;
11823 if test "$enableval" = yes; then
11824 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11826 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11831 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11836 eval "$wx_cv_use_radiobox"
11838 if test x"$enablestring" = xdisable; then
11839 if test $wxUSE_RADIOBOX = no; then
11845 result=$wxUSE_RADIOBOX
11848 { echo "$as_me:$LINENO: result
: $result" >&5
11849 echo "${ECHO_T}$result" >&6; }
11853 defaultval=$wxUSE_ALL_FEATURES
11854 if test -z "$defaultval"; then
11855 if test x"$enablestring" = xdisable; then
11862 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11863 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11864 # Check whether --enable-radiobtn was given.
11865 if test "${enable_radiobtn+set}" = set; then
11866 enableval=$enable_radiobtn;
11867 if test "$enableval" = yes; then
11868 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11870 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11875 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11880 eval "$wx_cv_use_radiobtn"
11882 if test x
"$enablestring" = xdisable
; then
11883 if test $wxUSE_RADIOBTN = no
; then
11889 result
=$wxUSE_RADIOBTN
11892 { echo "$as_me:$LINENO: result: $result" >&5
11893 echo "${ECHO_T}$result" >&6; }
11897 defaultval
=$wxUSE_ALL_FEATURES
11898 if test -z "$defaultval"; then
11899 if test x
"$enablestring" = xdisable
; then
11906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11907 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11908 # Check whether --enable-richmsgdlg was given.
11909 if test "${enable_richmsgdlg+set}" = set; then
11910 enableval
=$enable_richmsgdlg;
11911 if test "$enableval" = yes; then
11912 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
11914 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
11919 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11924 eval "$wx_cv_use_richmsgdlg"
11926 if test x"$enablestring" = xdisable; then
11927 if test $wxUSE_RICHMSGDLG = no; then
11933 result=$wxUSE_RICHMSGDLG
11936 { echo "$as_me:$LINENO: result: $result" >&5
11937 echo "${ECHO_T}$result" >&6; }
11941 defaultval=$wxUSE_ALL_FEATURES
11942 if test -z "$defaultval"; then
11943 if test x"$enablestring" = xdisable; then
11950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11951 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11952 # Check whether --enable-richtooltip was given.
11953 if test "${enable_richtooltip+set}" = set; then
11954 enableval=$enable_richtooltip;
11955 if test "$enableval" = yes; then
11956 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=yes'
11958 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=no
'
11963 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11968 eval "$wx_cv_use_richtooltip"
11970 if test x"$enablestring" = xdisable; then
11971 if test $wxUSE_RICHTOOLTIP = no; then
11977 result=$wxUSE_RICHTOOLTIP
11980 { echo "$as_me:$LINENO: result
: $result" >&5
11981 echo "${ECHO_T}$result" >&6; }
11985 defaultval=$wxUSE_ALL_FEATURES
11986 if test -z "$defaultval"; then
11987 if test x"$enablestring" = xdisable; then
11994 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rearrangectrl" >&5
11995 echo $ECHO_N "checking
for --${enablestring:-enable}-rearrangectrl...
$ECHO_C" >&6; }
11996 # Check whether --enable-rearrangectrl was given.
11997 if test "${enable_rearrangectrl+set}" = set; then
11998 enableval=$enable_rearrangectrl;
11999 if test "$enableval" = yes; then
12000 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
12002 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
12007 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
12012 eval "$wx_cv_use_rearrangectrl"
12014 if test x
"$enablestring" = xdisable
; then
12015 if test $wxUSE_REARRANGECTRL = no
; then
12021 result
=$wxUSE_REARRANGECTRL
12024 { echo "$as_me:$LINENO: result: $result" >&5
12025 echo "${ECHO_T}$result" >&6; }
12029 defaultval
=$wxUSE_ALL_FEATURES
12030 if test -z "$defaultval"; then
12031 if test x
"$enablestring" = xdisable
; then
12038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12039 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12040 # Check whether --enable-sash was given.
12041 if test "${enable_sash+set}" = set; then
12042 enableval
=$enable_sash;
12043 if test "$enableval" = yes; then
12044 wx_cv_use_sash
='wxUSE_SASH=yes'
12046 wx_cv_use_sash
='wxUSE_SASH=no'
12051 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12056 eval "$wx_cv_use_sash"
12058 if test x"$enablestring" = xdisable; then
12059 if test $wxUSE_SASH = no; then
12068 { echo "$as_me:$LINENO: result: $result" >&5
12069 echo "${ECHO_T}$result" >&6; }
12073 defaultval=$wxUSE_ALL_FEATURES
12074 if test -z "$defaultval"; then
12075 if test x"$enablestring" = xdisable; then
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12084 # Check whether --enable-scrollbar was given.
12085 if test "${enable_scrollbar+set}" = set; then
12086 enableval=$enable_scrollbar;
12087 if test "$enableval" = yes; then
12088 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
12090 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
12095 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12100 eval "$wx_cv_use_scrollbar"
12102 if test x"$enablestring" = xdisable; then
12103 if test $wxUSE_SCROLLBAR = no; then
12109 result=$wxUSE_SCROLLBAR
12112 { echo "$as_me:$LINENO: result
: $result" >&5
12113 echo "${ECHO_T}$result" >&6; }
12117 defaultval=$wxUSE_ALL_FEATURES
12118 if test -z "$defaultval"; then
12119 if test x"$enablestring" = xdisable; then
12126 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
12127 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
12128 # Check whether --enable-searchctrl was given.
12129 if test "${enable_searchctrl+set}" = set; then
12130 enableval=$enable_searchctrl;
12131 if test "$enableval" = yes; then
12132 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12134 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12139 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12144 eval "$wx_cv_use_searchctrl"
12146 if test x
"$enablestring" = xdisable
; then
12147 if test $wxUSE_SEARCHCTRL = no
; then
12153 result
=$wxUSE_SEARCHCTRL
12156 { echo "$as_me:$LINENO: result: $result" >&5
12157 echo "${ECHO_T}$result" >&6; }
12161 defaultval
=$wxUSE_ALL_FEATURES
12162 if test -z "$defaultval"; then
12163 if test x
"$enablestring" = xdisable
; then
12170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12171 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12172 # Check whether --enable-slider was given.
12173 if test "${enable_slider+set}" = set; then
12174 enableval
=$enable_slider;
12175 if test "$enableval" = yes; then
12176 wx_cv_use_slider
='wxUSE_SLIDER=yes'
12178 wx_cv_use_slider
='wxUSE_SLIDER=no'
12183 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12188 eval "$wx_cv_use_slider"
12190 if test x"$enablestring" = xdisable; then
12191 if test $wxUSE_SLIDER = no; then
12197 result=$wxUSE_SLIDER
12200 { echo "$as_me:$LINENO: result: $result" >&5
12201 echo "${ECHO_T}$result" >&6; }
12205 defaultval=$wxUSE_ALL_FEATURES
12206 if test -z "$defaultval"; then
12207 if test x"$enablestring" = xdisable; then
12214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12215 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12216 # Check whether --enable-spinbtn was given.
12217 if test "${enable_spinbtn+set}" = set; then
12218 enableval=$enable_spinbtn;
12219 if test "$enableval" = yes; then
12220 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
12222 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
12227 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12232 eval "$wx_cv_use_spinbtn"
12234 if test x"$enablestring" = xdisable; then
12235 if test $wxUSE_SPINBTN = no; then
12241 result=$wxUSE_SPINBTN
12244 { echo "$as_me:$LINENO: result
: $result" >&5
12245 echo "${ECHO_T}$result" >&6; }
12249 defaultval=$wxUSE_ALL_FEATURES
12250 if test -z "$defaultval"; then
12251 if test x"$enablestring" = xdisable; then
12258 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
12259 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
12260 # Check whether --enable-spinctrl was given.
12261 if test "${enable_spinctrl+set}" = set; then
12262 enableval=$enable_spinctrl;
12263 if test "$enableval" = yes; then
12264 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12266 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12271 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12276 eval "$wx_cv_use_spinctrl"
12278 if test x
"$enablestring" = xdisable
; then
12279 if test $wxUSE_SPINCTRL = no
; then
12285 result
=$wxUSE_SPINCTRL
12288 { echo "$as_me:$LINENO: result: $result" >&5
12289 echo "${ECHO_T}$result" >&6; }
12293 defaultval
=$wxUSE_ALL_FEATURES
12294 if test -z "$defaultval"; then
12295 if test x
"$enablestring" = xdisable
; then
12302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12303 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12304 # Check whether --enable-splitter was given.
12305 if test "${enable_splitter+set}" = set; then
12306 enableval
=$enable_splitter;
12307 if test "$enableval" = yes; then
12308 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
12310 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
12315 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12320 eval "$wx_cv_use_splitter"
12322 if test x"$enablestring" = xdisable; then
12323 if test $wxUSE_SPLITTER = no; then
12329 result=$wxUSE_SPLITTER
12332 { echo "$as_me:$LINENO: result: $result" >&5
12333 echo "${ECHO_T}$result" >&6; }
12337 defaultval=$wxUSE_ALL_FEATURES
12338 if test -z "$defaultval"; then
12339 if test x"$enablestring" = xdisable; then
12346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12347 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12348 # Check whether --enable-statbmp was given.
12349 if test "${enable_statbmp+set}" = set; then
12350 enableval=$enable_statbmp;
12351 if test "$enableval" = yes; then
12352 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
12354 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
12359 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12364 eval "$wx_cv_use_statbmp"
12366 if test x"$enablestring" = xdisable; then
12367 if test $wxUSE_STATBMP = no; then
12373 result=$wxUSE_STATBMP
12376 { echo "$as_me:$LINENO: result
: $result" >&5
12377 echo "${ECHO_T}$result" >&6; }
12381 defaultval=$wxUSE_ALL_FEATURES
12382 if test -z "$defaultval"; then
12383 if test x"$enablestring" = xdisable; then
12390 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
12391 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
12392 # Check whether --enable-statbox was given.
12393 if test "${enable_statbox+set}" = set; then
12394 enableval=$enable_statbox;
12395 if test "$enableval" = yes; then
12396 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12398 wx_cv_use_statbox='wxUSE_STATBOX=no'
12403 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12408 eval "$wx_cv_use_statbox"
12410 if test x
"$enablestring" = xdisable
; then
12411 if test $wxUSE_STATBOX = no
; then
12417 result
=$wxUSE_STATBOX
12420 { echo "$as_me:$LINENO: result: $result" >&5
12421 echo "${ECHO_T}$result" >&6; }
12425 defaultval
=$wxUSE_ALL_FEATURES
12426 if test -z "$defaultval"; then
12427 if test x
"$enablestring" = xdisable
; then
12434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12435 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12436 # Check whether --enable-statline was given.
12437 if test "${enable_statline+set}" = set; then
12438 enableval
=$enable_statline;
12439 if test "$enableval" = yes; then
12440 wx_cv_use_statline
='wxUSE_STATLINE=yes'
12442 wx_cv_use_statline
='wxUSE_STATLINE=no'
12447 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12452 eval "$wx_cv_use_statline"
12454 if test x"$enablestring" = xdisable; then
12455 if test $wxUSE_STATLINE = no; then
12461 result=$wxUSE_STATLINE
12464 { echo "$as_me:$LINENO: result: $result" >&5
12465 echo "${ECHO_T}$result" >&6; }
12469 defaultval=$wxUSE_ALL_FEATURES
12470 if test -z "$defaultval"; then
12471 if test x"$enablestring" = xdisable; then
12478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12479 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12480 # Check whether --enable-stattext was given.
12481 if test "${enable_stattext+set}" = set; then
12482 enableval=$enable_stattext;
12483 if test "$enableval" = yes; then
12484 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
12486 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
12491 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12496 eval "$wx_cv_use_stattext"
12498 if test x"$enablestring" = xdisable; then
12499 if test $wxUSE_STATTEXT = no; then
12505 result=$wxUSE_STATTEXT
12508 { echo "$as_me:$LINENO: result
: $result" >&5
12509 echo "${ECHO_T}$result" >&6; }
12513 defaultval=$wxUSE_ALL_FEATURES
12514 if test -z "$defaultval"; then
12515 if test x"$enablestring" = xdisable; then
12522 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
12523 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
12524 # Check whether --enable-statusbar was given.
12525 if test "${enable_statusbar+set}" = set; then
12526 enableval=$enable_statusbar;
12527 if test "$enableval" = yes; then
12528 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12530 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12535 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12540 eval "$wx_cv_use_statusbar"
12542 if test x
"$enablestring" = xdisable
; then
12543 if test $wxUSE_STATUSBAR = no
; then
12549 result
=$wxUSE_STATUSBAR
12552 { echo "$as_me:$LINENO: result: $result" >&5
12553 echo "${ECHO_T}$result" >&6; }
12557 defaultval
=$wxUSE_ALL_FEATURES
12558 if test -z "$defaultval"; then
12559 if test x
"$enablestring" = xdisable
; then
12566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12567 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12568 # Check whether --enable-taskbaricon was given.
12569 if test "${enable_taskbaricon+set}" = set; then
12570 enableval
=$enable_taskbaricon;
12571 if test "$enableval" = yes; then
12572 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
12574 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
12579 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12584 eval "$wx_cv_use_taskbaricon"
12586 if test x"$enablestring" = xdisable; then
12587 if test $wxUSE_TASKBARICON = no; then
12593 result=$wxUSE_TASKBARICON
12596 { echo "$as_me:$LINENO: result: $result" >&5
12597 echo "${ECHO_T}$result" >&6; }
12601 defaultval=$wxUSE_ALL_FEATURES
12602 if test -z "$defaultval"; then
12603 if test x"$enablestring" = xdisable; then
12610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12611 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12612 # Check whether --enable-tbarnative was given.
12613 if test "${enable_tbarnative+set}" = set; then
12614 enableval=$enable_tbarnative;
12615 if test "$enableval" = yes; then
12616 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
12618 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
12623 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12628 eval "$wx_cv_use_tbarnative"
12630 if test x"$enablestring" = xdisable; then
12631 if test $wxUSE_TOOLBAR_NATIVE = no; then
12637 result=$wxUSE_TOOLBAR_NATIVE
12640 { echo "$as_me:$LINENO: result
: $result" >&5
12641 echo "${ECHO_T}$result" >&6; }
12645 defaultval=$wxUSE_ALL_FEATURES
12646 if test -z "$defaultval"; then
12647 if test x"$enablestring" = xdisable; then
12654 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
12655 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
12656 # Check whether --enable-textctrl was given.
12657 if test "${enable_textctrl+set}" = set; then
12658 enableval=$enable_textctrl;
12659 if test "$enableval" = yes; then
12660 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12662 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12667 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12672 eval "$wx_cv_use_textctrl"
12674 if test x
"$enablestring" = xdisable
; then
12675 if test $wxUSE_TEXTCTRL = no
; then
12681 result
=$wxUSE_TEXTCTRL
12684 { echo "$as_me:$LINENO: result: $result" >&5
12685 echo "${ECHO_T}$result" >&6; }
12689 defaultval
=$wxUSE_ALL_FEATURES
12690 if test -z "$defaultval"; then
12691 if test x
"$enablestring" = xdisable
; then
12698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
12699 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12700 # Check whether --enable-datepick was given.
12701 if test "${enable_datepick+set}" = set; then
12702 enableval
=$enable_datepick;
12703 if test "$enableval" = yes; then
12704 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=yes'
12706 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=no'
12711 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12716 eval "$wx_cv_use_datepick"
12718 if test x"$enablestring" = xdisable; then
12719 if test $wxUSE_TIMEPICKCTRL = no; then
12725 result=$wxUSE_TIMEPICKCTRL
12728 { echo "$as_me:$LINENO: result: $result" >&5
12729 echo "${ECHO_T}$result" >&6; }
12733 defaultval=$wxUSE_ALL_FEATURES
12734 if test -z "$defaultval"; then
12735 if test x"$enablestring" = xdisable; then
12742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12743 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12744 # Check whether --enable-tipwindow was given.
12745 if test "${enable_tipwindow+set}" = set; then
12746 enableval=$enable_tipwindow;
12747 if test "$enableval" = yes; then
12748 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12750 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12755 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12760 eval "$wx_cv_use_tipwindow"
12762 if test x"$enablestring" = xdisable; then
12763 if test $wxUSE_TIPWINDOW = no; then
12769 result=$wxUSE_TIPWINDOW
12772 { echo "$as_me:$LINENO: result
: $result" >&5
12773 echo "${ECHO_T}$result" >&6; }
12777 defaultval=$wxUSE_ALL_FEATURES
12778 if test -z "$defaultval"; then
12779 if test x"$enablestring" = xdisable; then
12786 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
12787 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
12788 # Check whether --enable-togglebtn was given.
12789 if test "${enable_togglebtn+set}" = set; then
12790 enableval=$enable_togglebtn;
12791 if test "$enableval" = yes; then
12792 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12794 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12799 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12804 eval "$wx_cv_use_togglebtn"
12806 if test x
"$enablestring" = xdisable
; then
12807 if test $wxUSE_TOGGLEBTN = no
; then
12813 result
=$wxUSE_TOGGLEBTN
12816 { echo "$as_me:$LINENO: result: $result" >&5
12817 echo "${ECHO_T}$result" >&6; }
12821 defaultval
=$wxUSE_ALL_FEATURES
12822 if test -z "$defaultval"; then
12823 if test x
"$enablestring" = xdisable
; then
12830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12831 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12832 # Check whether --enable-toolbar was given.
12833 if test "${enable_toolbar+set}" = set; then
12834 enableval
=$enable_toolbar;
12835 if test "$enableval" = yes; then
12836 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
12838 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
12843 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12848 eval "$wx_cv_use_toolbar"
12850 if test x"$enablestring" = xdisable; then
12851 if test $wxUSE_TOOLBAR = no; then
12857 result=$wxUSE_TOOLBAR
12860 { echo "$as_me:$LINENO: result: $result" >&5
12861 echo "${ECHO_T}$result" >&6; }
12865 defaultval=$wxUSE_ALL_FEATURES
12866 if test -z "$defaultval"; then
12867 if test x"$enablestring" = xdisable; then
12874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12875 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12876 # Check whether --enable-toolbook was given.
12877 if test "${enable_toolbook+set}" = set; then
12878 enableval=$enable_toolbook;
12879 if test "$enableval" = yes; then
12880 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12882 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12887 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12892 eval "$wx_cv_use_toolbook"
12894 if test x"$enablestring" = xdisable; then
12895 if test $wxUSE_TOOLBOOK = no; then
12901 result=$wxUSE_TOOLBOOK
12904 { echo "$as_me:$LINENO: result
: $result" >&5
12905 echo "${ECHO_T}$result" >&6; }
12909 defaultval=$wxUSE_ALL_FEATURES
12910 if test -z "$defaultval"; then
12911 if test x"$enablestring" = xdisable; then
12918 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12919 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12920 # Check whether --enable-treebook was given.
12921 if test "${enable_treebook+set}" = set; then
12922 enableval=$enable_treebook;
12923 if test "$enableval" = yes; then
12924 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12926 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12931 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12936 eval "$wx_cv_use_treebook"
12938 if test x
"$enablestring" = xdisable
; then
12939 if test $wxUSE_TREEBOOK = no
; then
12945 result
=$wxUSE_TREEBOOK
12948 { echo "$as_me:$LINENO: result: $result" >&5
12949 echo "${ECHO_T}$result" >&6; }
12953 defaultval
=$wxUSE_ALL_FEATURES
12954 if test -z "$defaultval"; then
12955 if test x
"$enablestring" = xdisable
; then
12962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12963 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12964 # Check whether --enable-treectrl was given.
12965 if test "${enable_treectrl+set}" = set; then
12966 enableval
=$enable_treectrl;
12967 if test "$enableval" = yes; then
12968 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12970 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12975 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12980 eval "$wx_cv_use_treectrl"
12982 if test x"$enablestring" = xdisable; then
12983 if test $wxUSE_TREECTRL = no; then
12989 result=$wxUSE_TREECTRL
12992 { echo "$as_me:$LINENO: result: $result" >&5
12993 echo "${ECHO_T}$result" >&6; }
12997 defaultval=$wxUSE_ALL_FEATURES
12998 if test -z "$defaultval"; then
12999 if test x"$enablestring" = xdisable; then
13006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
13007 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
13008 # Check whether --enable-treelist was given.
13009 if test "${enable_treelist+set}" = set; then
13010 enableval=$enable_treelist;
13011 if test "$enableval" = yes; then
13012 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=yes'
13014 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=no
'
13019 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
13024 eval "$wx_cv_use_treelist"
13026 if test x"$enablestring" = xdisable; then
13027 if test $wxUSE_TREELISTCTRL = no; then
13033 result=$wxUSE_TREELISTCTRL
13036 { echo "$as_me:$LINENO: result
: $result" >&5
13037 echo "${ECHO_T}$result" >&6; }
13043 defaultval=$wxUSE_ALL_FEATURES
13044 if test -z "$defaultval"; then
13045 if test x"$enablestring" = xdisable; then
13052 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
13053 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
13054 # Check whether --enable-commondlg was given.
13055 if test "${enable_commondlg+set}" = set; then
13056 enableval=$enable_commondlg;
13057 if test "$enableval" = yes; then
13058 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13060 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13065 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13070 eval "$wx_cv_use_commondlg"
13072 if test x
"$enablestring" = xdisable
; then
13073 if test $wxUSE_COMMONDLGS = no
; then
13079 result
=$wxUSE_COMMONDLGS
13082 { echo "$as_me:$LINENO: result: $result" >&5
13083 echo "${ECHO_T}$result" >&6; }
13087 defaultval
=$wxUSE_ALL_FEATURES
13088 if test -z "$defaultval"; then
13089 if test x
"$enablestring" = xdisable
; then
13096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13097 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13098 # Check whether --enable-aboutdlg was given.
13099 if test "${enable_aboutdlg+set}" = set; then
13100 enableval
=$enable_aboutdlg;
13101 if test "$enableval" = yes; then
13102 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
13104 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
13109 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13114 eval "$wx_cv_use_aboutdlg"
13116 if test x"$enablestring" = xdisable; then
13117 if test $wxUSE_ABOUTDLG = no; then
13123 result=$wxUSE_ABOUTDLG
13126 { echo "$as_me:$LINENO: result: $result" >&5
13127 echo "${ECHO_T}$result" >&6; }
13131 defaultval=$wxUSE_ALL_FEATURES
13132 if test -z "$defaultval"; then
13133 if test x"$enablestring" = xdisable; then
13140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13141 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13142 # Check whether --enable-choicedlg was given.
13143 if test "${enable_choicedlg+set}" = set; then
13144 enableval=$enable_choicedlg;
13145 if test "$enableval" = yes; then
13146 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
13148 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
13153 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13158 eval "$wx_cv_use_choicedlg"
13160 if test x"$enablestring" = xdisable; then
13161 if test $wxUSE_CHOICEDLG = no; then
13167 result=$wxUSE_CHOICEDLG
13170 { echo "$as_me:$LINENO: result
: $result" >&5
13171 echo "${ECHO_T}$result" >&6; }
13175 defaultval=$wxUSE_ALL_FEATURES
13176 if test -z "$defaultval"; then
13177 if test x"$enablestring" = xdisable; then
13184 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
13185 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
13186 # Check whether --enable-coldlg was given.
13187 if test "${enable_coldlg+set}" = set; then
13188 enableval=$enable_coldlg;
13189 if test "$enableval" = yes; then
13190 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13192 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13197 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13202 eval "$wx_cv_use_coldlg"
13204 if test x
"$enablestring" = xdisable
; then
13205 if test $wxUSE_COLOURDLG = no
; then
13211 result
=$wxUSE_COLOURDLG
13214 { echo "$as_me:$LINENO: result: $result" >&5
13215 echo "${ECHO_T}$result" >&6; }
13219 defaultval
=$wxUSE_ALL_FEATURES
13220 if test -z "$defaultval"; then
13221 if test x
"$enablestring" = xdisable
; then
13228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13229 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13230 # Check whether --enable-filedlg was given.
13231 if test "${enable_filedlg+set}" = set; then
13232 enableval
=$enable_filedlg;
13233 if test "$enableval" = yes; then
13234 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
13236 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
13241 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13246 eval "$wx_cv_use_filedlg"
13248 if test x"$enablestring" = xdisable; then
13249 if test $wxUSE_FILEDLG = no; then
13255 result=$wxUSE_FILEDLG
13258 { echo "$as_me:$LINENO: result: $result" >&5
13259 echo "${ECHO_T}$result" >&6; }
13263 defaultval=$wxUSE_ALL_FEATURES
13264 if test -z "$defaultval"; then
13265 if test x"$enablestring" = xdisable; then
13272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13273 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13274 # Check whether --enable-finddlg was given.
13275 if test "${enable_finddlg+set}" = set; then
13276 enableval=$enable_finddlg;
13277 if test "$enableval" = yes; then
13278 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
13280 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
13285 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13290 eval "$wx_cv_use_finddlg"
13292 if test x"$enablestring" = xdisable; then
13293 if test $wxUSE_FINDREPLDLG = no; then
13299 result=$wxUSE_FINDREPLDLG
13302 { echo "$as_me:$LINENO: result
: $result" >&5
13303 echo "${ECHO_T}$result" >&6; }
13307 defaultval=$wxUSE_ALL_FEATURES
13308 if test -z "$defaultval"; then
13309 if test x"$enablestring" = xdisable; then
13316 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
13317 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
13318 # Check whether --enable-fontdlg was given.
13319 if test "${enable_fontdlg+set}" = set; then
13320 enableval=$enable_fontdlg;
13321 if test "$enableval" = yes; then
13322 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13324 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13329 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13334 eval "$wx_cv_use_fontdlg"
13336 if test x
"$enablestring" = xdisable
; then
13337 if test $wxUSE_FONTDLG = no
; then
13343 result
=$wxUSE_FONTDLG
13346 { echo "$as_me:$LINENO: result: $result" >&5
13347 echo "${ECHO_T}$result" >&6; }
13351 defaultval
=$wxUSE_ALL_FEATURES
13352 if test -z "$defaultval"; then
13353 if test x
"$enablestring" = xdisable
; then
13360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13361 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13362 # Check whether --enable-dirdlg was given.
13363 if test "${enable_dirdlg+set}" = set; then
13364 enableval
=$enable_dirdlg;
13365 if test "$enableval" = yes; then
13366 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
13368 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
13373 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13378 eval "$wx_cv_use_dirdlg"
13380 if test x"$enablestring" = xdisable; then
13381 if test $wxUSE_DIRDLG = no; then
13387 result=$wxUSE_DIRDLG
13390 { echo "$as_me:$LINENO: result: $result" >&5
13391 echo "${ECHO_T}$result" >&6; }
13395 defaultval=$wxUSE_ALL_FEATURES
13396 if test -z "$defaultval"; then
13397 if test x"$enablestring" = xdisable; then
13404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13405 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13406 # Check whether --enable-msgdlg was given.
13407 if test "${enable_msgdlg+set}" = set; then
13408 enableval=$enable_msgdlg;
13409 if test "$enableval" = yes; then
13410 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
13412 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
13417 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13422 eval "$wx_cv_use_msgdlg"
13424 if test x"$enablestring" = xdisable; then
13425 if test $wxUSE_MSGDLG = no; then
13431 result=$wxUSE_MSGDLG
13434 { echo "$as_me:$LINENO: result
: $result" >&5
13435 echo "${ECHO_T}$result" >&6; }
13439 defaultval=$wxUSE_ALL_FEATURES
13440 if test -z "$defaultval"; then
13441 if test x"$enablestring" = xdisable; then
13448 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
13449 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
13450 # Check whether --enable-numberdlg was given.
13451 if test "${enable_numberdlg+set}" = set; then
13452 enableval=$enable_numberdlg;
13453 if test "$enableval" = yes; then
13454 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13456 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13461 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13466 eval "$wx_cv_use_numberdlg"
13468 if test x
"$enablestring" = xdisable
; then
13469 if test $wxUSE_NUMBERDLG = no
; then
13475 result
=$wxUSE_NUMBERDLG
13478 { echo "$as_me:$LINENO: result: $result" >&5
13479 echo "${ECHO_T}$result" >&6; }
13483 defaultval
=$wxUSE_ALL_FEATURES
13484 if test -z "$defaultval"; then
13485 if test x
"$enablestring" = xdisable
; then
13492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13493 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13494 # Check whether --enable-splash was given.
13495 if test "${enable_splash+set}" = set; then
13496 enableval
=$enable_splash;
13497 if test "$enableval" = yes; then
13498 wx_cv_use_splash
='wxUSE_SPLASH=yes'
13500 wx_cv_use_splash
='wxUSE_SPLASH=no'
13505 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13510 eval "$wx_cv_use_splash"
13512 if test x"$enablestring" = xdisable; then
13513 if test $wxUSE_SPLASH = no; then
13519 result=$wxUSE_SPLASH
13522 { echo "$as_me:$LINENO: result: $result" >&5
13523 echo "${ECHO_T}$result" >&6; }
13527 defaultval=$wxUSE_ALL_FEATURES
13528 if test -z "$defaultval"; then
13529 if test x"$enablestring" = xdisable; then
13536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13537 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13538 # Check whether --enable-textdlg was given.
13539 if test "${enable_textdlg+set}" = set; then
13540 enableval=$enable_textdlg;
13541 if test "$enableval" = yes; then
13542 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
13544 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
13549 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13554 eval "$wx_cv_use_textdlg"
13556 if test x"$enablestring" = xdisable; then
13557 if test $wxUSE_TEXTDLG = no; then
13563 result=$wxUSE_TEXTDLG
13566 { echo "$as_me:$LINENO: result
: $result" >&5
13567 echo "${ECHO_T}$result" >&6; }
13571 defaultval=$wxUSE_ALL_FEATURES
13572 if test -z "$defaultval"; then
13573 if test x"$enablestring" = xdisable; then
13580 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
13581 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
13582 # Check whether --enable-tipdlg was given.
13583 if test "${enable_tipdlg+set}" = set; then
13584 enableval=$enable_tipdlg;
13585 if test "$enableval" = yes; then
13586 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13588 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13593 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13598 eval "$wx_cv_use_tipdlg"
13600 if test x
"$enablestring" = xdisable
; then
13601 if test $wxUSE_STARTUP_TIPS = no
; then
13607 result
=$wxUSE_STARTUP_TIPS
13610 { echo "$as_me:$LINENO: result: $result" >&5
13611 echo "${ECHO_T}$result" >&6; }
13615 defaultval
=$wxUSE_ALL_FEATURES
13616 if test -z "$defaultval"; then
13617 if test x
"$enablestring" = xdisable
; then
13624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13625 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13626 # Check whether --enable-progressdlg was given.
13627 if test "${enable_progressdlg+set}" = set; then
13628 enableval
=$enable_progressdlg;
13629 if test "$enableval" = yes; then
13630 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
13632 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13637 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13642 eval "$wx_cv_use_progressdlg"
13644 if test x"$enablestring" = xdisable; then
13645 if test $wxUSE_PROGRESSDLG = no; then
13651 result=$wxUSE_PROGRESSDLG
13654 { echo "$as_me:$LINENO: result: $result" >&5
13655 echo "${ECHO_T}$result" >&6; }
13659 defaultval=$wxUSE_ALL_FEATURES
13660 if test -z "$defaultval"; then
13661 if test x"$enablestring" = xdisable; then
13668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13669 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13670 # Check whether --enable-wizarddlg was given.
13671 if test "${enable_wizarddlg+set}" = set; then
13672 enableval=$enable_wizarddlg;
13673 if test "$enableval" = yes; then
13674 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13676 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13681 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13686 eval "$wx_cv_use_wizarddlg"
13688 if test x"$enablestring" = xdisable; then
13689 if test $wxUSE_WIZARDDLG = no; then
13695 result=$wxUSE_WIZARDDLG
13698 { echo "$as_me:$LINENO: result
: $result" >&5
13699 echo "${ECHO_T}$result" >&6; }
13705 defaultval=$wxUSE_ALL_FEATURES
13706 if test -z "$defaultval"; then
13707 if test x"$enablestring" = xdisable; then
13714 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13715 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13716 # Check whether --enable-menus was given.
13717 if test "${enable_menus+set}" = set; then
13718 enableval=$enable_menus;
13719 if test "$enableval" = yes; then
13720 wx_cv_use_menus='wxUSE_MENUS=yes'
13722 wx_cv_use_menus='wxUSE_MENUS=no'
13727 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13732 eval "$wx_cv_use_menus"
13734 if test x
"$enablestring" = xdisable
; then
13735 if test $wxUSE_MENUS = no
; then
13741 result
=$wxUSE_MENUS
13744 { echo "$as_me:$LINENO: result: $result" >&5
13745 echo "${ECHO_T}$result" >&6; }
13749 defaultval
=$wxUSE_ALL_FEATURES
13750 if test -z "$defaultval"; then
13751 if test x
"$enablestring" = xdisable
; then
13758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13759 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13760 # Check whether --enable-miniframe was given.
13761 if test "${enable_miniframe+set}" = set; then
13762 enableval
=$enable_miniframe;
13763 if test "$enableval" = yes; then
13764 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13766 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13771 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13776 eval "$wx_cv_use_miniframe"
13778 if test x"$enablestring" = xdisable; then
13779 if test $wxUSE_MINIFRAME = no; then
13785 result=$wxUSE_MINIFRAME
13788 { echo "$as_me:$LINENO: result: $result" >&5
13789 echo "${ECHO_T}$result" >&6; }
13793 defaultval=$wxUSE_ALL_FEATURES
13794 if test -z "$defaultval"; then
13795 if test x"$enablestring" = xdisable; then
13802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13803 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13804 # Check whether --enable-tooltips was given.
13805 if test "${enable_tooltips+set}" = set; then
13806 enableval=$enable_tooltips;
13807 if test "$enableval" = yes; then
13808 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13810 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13815 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13820 eval "$wx_cv_use_tooltips"
13822 if test x"$enablestring" = xdisable; then
13823 if test $wxUSE_TOOLTIPS = no; then
13829 result=$wxUSE_TOOLTIPS
13832 { echo "$as_me:$LINENO: result
: $result" >&5
13833 echo "${ECHO_T}$result" >&6; }
13837 defaultval=$wxUSE_ALL_FEATURES
13838 if test -z "$defaultval"; then
13839 if test x"$enablestring" = xdisable; then
13846 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13847 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13848 # Check whether --enable-splines was given.
13849 if test "${enable_splines+set}" = set; then
13850 enableval=$enable_splines;
13851 if test "$enableval" = yes; then
13852 wx_cv_use_splines='wxUSE_SPLINES=yes'
13854 wx_cv_use_splines='wxUSE_SPLINES=no'
13859 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13864 eval "$wx_cv_use_splines"
13866 if test x
"$enablestring" = xdisable
; then
13867 if test $wxUSE_SPLINES = no
; then
13873 result
=$wxUSE_SPLINES
13876 { echo "$as_me:$LINENO: result: $result" >&5
13877 echo "${ECHO_T}$result" >&6; }
13881 defaultval
=$wxUSE_ALL_FEATURES
13882 if test -z "$defaultval"; then
13883 if test x
"$enablestring" = xdisable
; then
13890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13891 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13892 # Check whether --enable-mousewheel was given.
13893 if test "${enable_mousewheel+set}" = set; then
13894 enableval
=$enable_mousewheel;
13895 if test "$enableval" = yes; then
13896 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13898 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13903 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13908 eval "$wx_cv_use_mousewheel"
13910 if test x"$enablestring" = xdisable; then
13911 if test $wxUSE_MOUSEWHEEL = no; then
13917 result=$wxUSE_MOUSEWHEEL
13920 { echo "$as_me:$LINENO: result: $result" >&5
13921 echo "${ECHO_T}$result" >&6; }
13925 defaultval=$wxUSE_ALL_FEATURES
13926 if test -z "$defaultval"; then
13927 if test x"$enablestring" = xdisable; then
13934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13935 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13936 # Check whether --enable-validators was given.
13937 if test "${enable_validators+set}" = set; then
13938 enableval=$enable_validators;
13939 if test "$enableval" = yes; then
13940 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13942 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13947 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13952 eval "$wx_cv_use_validators"
13954 if test x"$enablestring" = xdisable; then
13955 if test $wxUSE_VALIDATORS = no; then
13961 result=$wxUSE_VALIDATORS
13964 { echo "$as_me:$LINENO: result
: $result" >&5
13965 echo "${ECHO_T}$result" >&6; }
13969 defaultval=$wxUSE_ALL_FEATURES
13970 if test -z "$defaultval"; then
13971 if test x"$enablestring" = xdisable; then
13978 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13979 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13980 # Check whether --enable-busyinfo was given.
13981 if test "${enable_busyinfo+set}" = set; then
13982 enableval=$enable_busyinfo;
13983 if test "$enableval" = yes; then
13984 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13986 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13991 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13996 eval "$wx_cv_use_busyinfo"
13998 if test x
"$enablestring" = xdisable
; then
13999 if test $wxUSE_BUSYINFO = no
; then
14005 result
=$wxUSE_BUSYINFO
14008 { echo "$as_me:$LINENO: result: $result" >&5
14009 echo "${ECHO_T}$result" >&6; }
14013 defaultval
=$wxUSE_ALL_FEATURES
14014 if test -z "$defaultval"; then
14015 if test x
"$enablestring" = xdisable
; then
14022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
14023 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
14024 # Check whether --enable-hotkey was given.
14025 if test "${enable_hotkey+set}" = set; then
14026 enableval
=$enable_hotkey;
14027 if test "$enableval" = yes; then
14028 wx_cv_use_hotkey
='wxUSE_HOTKEY=yes'
14030 wx_cv_use_hotkey
='wxUSE_HOTKEY=no'
14035 wx_cv_use_hotkey
='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14040 eval "$wx_cv_use_hotkey"
14042 if test x"$enablestring" = xdisable; then
14043 if test $wxUSE_HOTKEY = no; then
14049 result=$wxUSE_HOTKEY
14052 { echo "$as_me:$LINENO: result: $result" >&5
14053 echo "${ECHO_T}$result" >&6; }
14057 defaultval=$wxUSE_ALL_FEATURES
14058 if test -z "$defaultval"; then
14059 if test x"$enablestring" = xdisable; then
14066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14067 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14068 # Check whether --enable-joystick was given.
14069 if test "${enable_joystick+set}" = set; then
14070 enableval=$enable_joystick;
14071 if test "$enableval" = yes; then
14072 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
14074 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
14079 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14084 eval "$wx_cv_use_joystick"
14086 if test x"$enablestring" = xdisable; then
14087 if test $wxUSE_JOYSTICK = no; then
14093 result=$wxUSE_JOYSTICK
14096 { echo "$as_me:$LINENO: result
: $result" >&5
14097 echo "${ECHO_T}$result" >&6; }
14101 defaultval=$wxUSE_ALL_FEATURES
14102 if test -z "$defaultval"; then
14103 if test x"$enablestring" = xdisable; then
14110 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
14111 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
14112 # Check whether --enable-metafile was given.
14113 if test "${enable_metafile+set}" = set; then
14114 enableval=$enable_metafile;
14115 if test "$enableval" = yes; then
14116 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14118 wx_cv_use_metafile='wxUSE_METAFILE=no'
14123 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14128 eval "$wx_cv_use_metafile"
14130 if test x
"$enablestring" = xdisable
; then
14131 if test $wxUSE_METAFILE = no
; then
14137 result
=$wxUSE_METAFILE
14140 { echo "$as_me:$LINENO: result: $result" >&5
14141 echo "${ECHO_T}$result" >&6; }
14145 defaultval
=$wxUSE_ALL_FEATURES
14146 if test -z "$defaultval"; then
14147 if test x
"$enablestring" = xdisable
; then
14154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14155 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14156 # Check whether --enable-dragimage was given.
14157 if test "${enable_dragimage+set}" = set; then
14158 enableval
=$enable_dragimage;
14159 if test "$enableval" = yes; then
14160 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
14162 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
14167 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14172 eval "$wx_cv_use_dragimage"
14174 if test x"$enablestring" = xdisable; then
14175 if test $wxUSE_DRAGIMAGE = no; then
14181 result=$wxUSE_DRAGIMAGE
14184 { echo "$as_me:$LINENO: result: $result" >&5
14185 echo "${ECHO_T}$result" >&6; }
14189 defaultval=$wxUSE_ALL_FEATURES
14190 if test -z "$defaultval"; then
14191 if test x"$enablestring" = xdisable; then
14198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14199 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14200 # Check whether --enable-accessibility was given.
14201 if test "${enable_accessibility+set}" = set; then
14202 enableval=$enable_accessibility;
14203 if test "$enableval" = yes; then
14204 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
14206 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
14211 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14216 eval "$wx_cv_use_accessibility"
14218 if test x"$enablestring" = xdisable; then
14219 if test $wxUSE_ACCESSIBILITY = no; then
14225 result=$wxUSE_ACCESSIBILITY
14228 { echo "$as_me:$LINENO: result
: $result" >&5
14229 echo "${ECHO_T}$result" >&6; }
14233 defaultval=$wxUSE_ALL_FEATURES
14234 if test -z "$defaultval"; then
14235 if test x"$enablestring" = xdisable; then
14242 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uiactionsim" >&5
14243 echo $ECHO_N "checking
for --${enablestring:-enable}-uiactionsim...
$ECHO_C" >&6; }
14244 # Check whether --enable-uiactionsim was given.
14245 if test "${enable_uiactionsim+set}" = set; then
14246 enableval=$enable_uiactionsim;
14247 if test "$enableval" = yes; then
14248 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14250 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14255 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14260 eval "$wx_cv_use_uiactionsim"
14262 if test x
"$enablestring" = xdisable
; then
14263 if test $wxUSE_UIACTIONSIMULATOR = no
; then
14269 result
=$wxUSE_UIACTIONSIMULATOR
14272 { echo "$as_me:$LINENO: result: $result" >&5
14273 echo "${ECHO_T}$result" >&6; }
14277 defaultval
=$wxUSE_ALL_FEATURES
14278 if test -z "$defaultval"; then
14279 if test x
"$enablestring" = xdisable
; then
14286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14287 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14288 # Check whether --enable-dctransform was given.
14289 if test "${enable_dctransform+set}" = set; then
14290 enableval
=$enable_dctransform;
14291 if test "$enableval" = yes; then
14292 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=yes'
14294 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=no'
14299 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14304 eval "$wx_cv_use_dctransform"
14306 if test x"$enablestring" = xdisable; then
14307 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14313 result=$wxUSE_DC_TRANSFORM_MATRIX
14316 { echo "$as_me:$LINENO: result: $result" >&5
14317 echo "${ECHO_T}$result" >&6; }
14321 defaultval=$wxUSE_ALL_FEATURES
14322 if test -z "$defaultval"; then
14323 if test x"$enablestring" = xdisable; then
14330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14331 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14332 # Check whether --enable-webviewwebkit was given.
14333 if test "${enable_webviewwebkit+set}" = set; then
14334 enableval=$enable_webviewwebkit;
14335 if test "$enableval" = yes; then
14336 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=yes'
14338 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=no
'
14343 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14348 eval "$wx_cv_use_webviewwebkit"
14350 if test x"$enablestring" = xdisable; then
14351 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14357 result=$wxUSE_WEBVIEW_WEBKIT
14360 { echo "$as_me:$LINENO: result
: $result" >&5
14361 echo "${ECHO_T}$result" >&6; }
14367 defaultval=$wxUSE_ALL_FEATURES
14368 if test -z "$defaultval"; then
14369 if test x"$enablestring" = xdisable; then
14376 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
14377 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
14378 # Check whether --enable-palette was given.
14379 if test "${enable_palette+set}" = set; then
14380 enableval=$enable_palette;
14381 if test "$enableval" = yes; then
14382 wx_cv_use_palette='wxUSE_PALETTE=yes'
14384 wx_cv_use_palette='wxUSE_PALETTE=no'
14389 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14394 eval "$wx_cv_use_palette"
14396 if test x
"$enablestring" = xdisable
; then
14397 if test $wxUSE_PALETTE = no
; then
14403 result
=$wxUSE_PALETTE
14406 { echo "$as_me:$LINENO: result: $result" >&5
14407 echo "${ECHO_T}$result" >&6; }
14411 defaultval
=$wxUSE_ALL_FEATURES
14412 if test -z "$defaultval"; then
14413 if test x
"$enablestring" = xdisable
; then
14420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14421 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14422 # Check whether --enable-image was given.
14423 if test "${enable_image+set}" = set; then
14424 enableval
=$enable_image;
14425 if test "$enableval" = yes; then
14426 wx_cv_use_image
='wxUSE_IMAGE=yes'
14428 wx_cv_use_image
='wxUSE_IMAGE=no'
14433 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14438 eval "$wx_cv_use_image"
14440 if test x"$enablestring" = xdisable; then
14441 if test $wxUSE_IMAGE = no; then
14447 result=$wxUSE_IMAGE
14450 { echo "$as_me:$LINENO: result: $result" >&5
14451 echo "${ECHO_T}$result" >&6; }
14455 defaultval=$wxUSE_ALL_FEATURES
14456 if test -z "$defaultval"; then
14457 if test x"$enablestring" = xdisable; then
14464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14465 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14466 # Check whether --enable-gif was given.
14467 if test "${enable_gif+set}" = set; then
14468 enableval=$enable_gif;
14469 if test "$enableval" = yes; then
14470 wx_cv_use_gif='wxUSE_GIF
=yes'
14472 wx_cv_use_gif='wxUSE_GIF
=no
'
14477 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14482 eval "$wx_cv_use_gif"
14484 if test x"$enablestring" = xdisable; then
14485 if test $wxUSE_GIF = no; then
14494 { echo "$as_me:$LINENO: result
: $result" >&5
14495 echo "${ECHO_T}$result" >&6; }
14499 defaultval=$wxUSE_ALL_FEATURES
14500 if test -z "$defaultval"; then
14501 if test x"$enablestring" = xdisable; then
14508 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
14509 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
14510 # Check whether --enable-pcx was given.
14511 if test "${enable_pcx+set}" = set; then
14512 enableval=$enable_pcx;
14513 if test "$enableval" = yes; then
14514 wx_cv_use_pcx='wxUSE_PCX=yes'
14516 wx_cv_use_pcx='wxUSE_PCX=no'
14521 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14526 eval "$wx_cv_use_pcx"
14528 if test x
"$enablestring" = xdisable
; then
14529 if test $wxUSE_PCX = no
; then
14538 { echo "$as_me:$LINENO: result: $result" >&5
14539 echo "${ECHO_T}$result" >&6; }
14543 defaultval
=$wxUSE_ALL_FEATURES
14544 if test -z "$defaultval"; then
14545 if test x
"$enablestring" = xdisable
; then
14552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14553 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14554 # Check whether --enable-tga was given.
14555 if test "${enable_tga+set}" = set; then
14556 enableval
=$enable_tga;
14557 if test "$enableval" = yes; then
14558 wx_cv_use_tga
='wxUSE_TGA=yes'
14560 wx_cv_use_tga
='wxUSE_TGA=no'
14565 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14570 eval "$wx_cv_use_tga"
14572 if test x"$enablestring" = xdisable; then
14573 if test $wxUSE_TGA = no; then
14582 { echo "$as_me:$LINENO: result: $result" >&5
14583 echo "${ECHO_T}$result" >&6; }
14587 defaultval=$wxUSE_ALL_FEATURES
14588 if test -z "$defaultval"; then
14589 if test x"$enablestring" = xdisable; then
14596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14597 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14598 # Check whether --enable-iff was given.
14599 if test "${enable_iff+set}" = set; then
14600 enableval=$enable_iff;
14601 if test "$enableval" = yes; then
14602 wx_cv_use_iff='wxUSE_IFF
=yes'
14604 wx_cv_use_iff='wxUSE_IFF
=no
'
14609 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14614 eval "$wx_cv_use_iff"
14616 if test x"$enablestring" = xdisable; then
14617 if test $wxUSE_IFF = no; then
14626 { echo "$as_me:$LINENO: result
: $result" >&5
14627 echo "${ECHO_T}$result" >&6; }
14631 defaultval=$wxUSE_ALL_FEATURES
14632 if test -z "$defaultval"; then
14633 if test x"$enablestring" = xdisable; then
14640 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
14641 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
14642 # Check whether --enable-pnm was given.
14643 if test "${enable_pnm+set}" = set; then
14644 enableval=$enable_pnm;
14645 if test "$enableval" = yes; then
14646 wx_cv_use_pnm='wxUSE_PNM=yes'
14648 wx_cv_use_pnm='wxUSE_PNM=no'
14653 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14658 eval "$wx_cv_use_pnm"
14660 if test x
"$enablestring" = xdisable
; then
14661 if test $wxUSE_PNM = no
; then
14670 { echo "$as_me:$LINENO: result: $result" >&5
14671 echo "${ECHO_T}$result" >&6; }
14675 defaultval
=$wxUSE_ALL_FEATURES
14676 if test -z "$defaultval"; then
14677 if test x
"$enablestring" = xdisable
; then
14684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14685 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14686 # Check whether --enable-xpm was given.
14687 if test "${enable_xpm+set}" = set; then
14688 enableval
=$enable_xpm;
14689 if test "$enableval" = yes; then
14690 wx_cv_use_xpm
='wxUSE_XPM=yes'
14692 wx_cv_use_xpm
='wxUSE_XPM=no'
14697 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14702 eval "$wx_cv_use_xpm"
14704 if test x"$enablestring" = xdisable; then
14705 if test $wxUSE_XPM = no; then
14714 { echo "$as_me:$LINENO: result: $result" >&5
14715 echo "${ECHO_T}$result" >&6; }
14719 defaultval=$wxUSE_ALL_FEATURES
14720 if test -z "$defaultval"; then
14721 if test x"$enablestring" = xdisable; then
14728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14729 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14730 # Check whether --enable-ico_cur was given.
14731 if test "${enable_ico_cur+set}" = set; then
14732 enableval=$enable_ico_cur;
14733 if test "$enableval" = yes; then
14734 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
14736 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
14741 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14746 eval "$wx_cv_use_ico_cur"
14748 if test x"$enablestring" = xdisable; then
14749 if test $wxUSE_ICO_CUR = no; then
14755 result=$wxUSE_ICO_CUR
14758 { echo "$as_me:$LINENO: result
: $result" >&5
14759 echo "${ECHO_T}$result" >&6; }
14765 defaultval=$wxUSE_ALL_FEATURES
14766 if test -z "$defaultval"; then
14767 if test x"$enablestring" = xdisable; then
14774 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
14775 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
14776 # Check whether --enable-dccache was given.
14777 if test "${enable_dccache+set}" = set; then
14778 enableval=$enable_dccache;
14779 if test "$enableval" = yes; then
14780 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14782 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14787 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14792 eval "$wx_cv_use_dccache"
14794 if test x
"$enablestring" = xdisable
; then
14795 if test $wxUSE_DC_CACHEING = no
; then
14801 result
=$wxUSE_DC_CACHEING
14804 { echo "$as_me:$LINENO: result: $result" >&5
14805 echo "${ECHO_T}$result" >&6; }
14809 defaultval
=$wxUSE_ALL_FEATURES
14810 if test -z "$defaultval"; then
14811 if test x
"$enablestring" = xdisable
; then
14818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14819 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14820 # Check whether --enable-ps-in-msw was given.
14821 if test "${enable_ps_in_msw+set}" = set; then
14822 enableval
=$enable_ps_in_msw;
14823 if test "$enableval" = yes; then
14824 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14826 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14831 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14836 eval "$wx_cv_use_ps_in_msw"
14838 if test x"$enablestring" = xdisable; then
14839 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14845 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14848 { echo "$as_me:$LINENO: result: $result" >&5
14849 echo "${ECHO_T}$result" >&6; }
14853 defaultval=$wxUSE_ALL_FEATURES
14854 if test -z "$defaultval"; then
14855 if test x"$enablestring" = xdisable; then
14862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14863 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14864 # Check whether --enable-ownerdrawn was given.
14865 if test "${enable_ownerdrawn+set}" = set; then
14866 enableval=$enable_ownerdrawn;
14867 if test "$enableval" = yes; then
14868 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
14870 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
14875 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14880 eval "$wx_cv_use_ownerdrawn"
14882 if test x"$enablestring" = xdisable; then
14883 if test $wxUSE_OWNER_DRAWN = no; then
14889 result=$wxUSE_OWNER_DRAWN
14892 { echo "$as_me:$LINENO: result
: $result" >&5
14893 echo "${ECHO_T}$result" >&6; }
14897 defaultval=$wxUSE_ALL_FEATURES
14898 if test -z "$defaultval"; then
14899 if test x"$enablestring" = xdisable; then
14906 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
14907 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
14908 # Check whether --enable-uxtheme was given.
14909 if test "${enable_uxtheme+set}" = set; then
14910 enableval=$enable_uxtheme;
14911 if test "$enableval" = yes; then
14912 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14914 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14919 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14924 eval "$wx_cv_use_uxtheme"
14926 if test x
"$enablestring" = xdisable
; then
14927 if test $wxUSE_UXTHEME = no
; then
14933 result
=$wxUSE_UXTHEME
14936 { echo "$as_me:$LINENO: result: $result" >&5
14937 echo "${ECHO_T}$result" >&6; }
14941 defaultval
=$wxUSE_ALL_FEATURES
14942 if test -z "$defaultval"; then
14943 if test x
"$enablestring" = xdisable
; then
14950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14951 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14952 # Check whether --enable-wxdib was given.
14953 if test "${enable_wxdib+set}" = set; then
14954 enableval
=$enable_wxdib;
14955 if test "$enableval" = yes; then
14956 wx_cv_use_wxdib
='wxUSE_DIB=yes'
14958 wx_cv_use_wxdib
='wxUSE_DIB=no'
14963 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14968 eval "$wx_cv_use_wxdib"
14970 if test x"$enablestring" = xdisable; then
14971 if test $wxUSE_DIB = no; then
14980 { echo "$as_me:$LINENO: result: $result" >&5
14981 echo "${ECHO_T}$result" >&6; }
14985 defaultval=$wxUSE_ALL_FEATURES
14986 if test -z "$defaultval"; then
14987 if test x"$enablestring" = xdisable; then
14994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
14995 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
14996 # Check whether --enable-webviewie was given.
14997 if test "${enable_webviewie+set}" = set; then
14998 enableval=$enable_webviewie;
14999 if test "$enableval" = yes; then
15000 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=yes'
15002 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=no
'
15007 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
15012 eval "$wx_cv_use_webviewie"
15014 if test x"$enablestring" = xdisable; then
15015 if test $wxUSE_WEBVIEW_IE = no; then
15021 result=$wxUSE_WEBVIEW_IE
15024 { echo "$as_me:$LINENO: result
: $result" >&5
15025 echo "${ECHO_T}$result" >&6; }
15028 if test "$wxUSE_MSW" != 1; then
15029 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15034 defaultval=$wxUSE_ALL_FEATURES
15035 if test -z "$defaultval"; then
15036 if test x"$enablestring" = xdisable; then
15043 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
15044 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
15045 # Check whether --enable-autoidman was given.
15046 if test "${enable_autoidman+set}" = set; then
15047 enableval=$enable_autoidman;
15048 if test "$enableval" = yes; then
15049 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15051 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15056 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15061 eval "$wx_cv_use_autoidman"
15063 if test x
"$enablestring" = xdisable
; then
15064 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
15070 result
=$wxUSE_AUTOID_MANAGEMENT
15073 { echo "$as_me:$LINENO: result: $result" >&5
15074 echo "${ECHO_T}$result" >&6; }
15080 cat >confcache
<<\_ACEOF
15081 # This file is a shell script that caches the results of configure
15082 # tests run on this system so they can be shared between configure
15083 # scripts and configure runs, see configure's option --config-cache.
15084 # It is not useful on other systems. If it contains results you don't
15085 # want to keep, you may remove or edit it.
15087 # config.status only pays attention to the cache file if you give it
15088 # the --recheck option to rerun configure.
15090 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15091 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15092 # following values.
15096 # The following way of writing the cache mishandles newlines in values,
15097 # but we know of no workaround that is simple, portable, and efficient.
15098 # So, we kill variables containing newlines.
15099 # Ultrix sh set writes to stderr and can't be redirected directly,
15100 # and sets the high bit in the cache file unless we assign to the vars.
15102 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15103 eval ac_val
=\$
$ac_var
15107 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15108 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15111 _
| IFS
| as_nl
) ;; #(
15112 *) $as_unset $ac_var ;;
15118 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15119 *${as_nl}ac_space
=\
*)
15120 # `set' does not quote correctly, so add quotes (double-quote
15121 # substitution turns \\\\ into \\, and sed turns \\ into \).
15124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15127 # `set' quotes correctly as required by POSIX, so do not add quotes.
15128 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15137 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15139 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15141 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15142 if test -w "$cache_file"; then
15143 test "x$cache_file" != "x/dev/null" &&
15144 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15145 echo "$as_me: updating cache $cache_file" >&6;}
15146 cat confcache
>$cache_file
15148 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15149 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15156 ac_cpp
='$CPP $CPPFLAGS'
15157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15160 if test -n "$ac_tool_prefix"; then
15161 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15162 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15165 if test "${ac_cv_prog_CC+set}" = set; then
15166 echo $ECHO_N "(cached) $ECHO_C" >&6
15168 if test -n "$CC"; then
15169 ac_cv_prog_CC
="$CC" # Let the user override the test.
15171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15172 for as_dir
in $PATH
15175 test -z "$as_dir" && as_dir
=.
15176 for ac_exec_ext
in '' $ac_executable_extensions; do
15177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15178 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15189 if test -n "$CC"; then
15190 { echo "$as_me:$LINENO: result: $CC" >&5
15191 echo "${ECHO_T}$CC" >&6; }
15193 { echo "$as_me:$LINENO: result: no" >&5
15194 echo "${ECHO_T}no" >&6; }
15199 if test -z "$ac_cv_prog_CC"; then
15201 # Extract the first word of "gcc", so it can be a program name with args.
15202 set dummy gcc
; ac_word
=$2
15203 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15205 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15206 echo $ECHO_N "(cached) $ECHO_C" >&6
15208 if test -n "$ac_ct_CC"; then
15209 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15212 for as_dir
in $PATH
15215 test -z "$as_dir" && as_dir
=.
15216 for ac_exec_ext
in '' $ac_executable_extensions; do
15217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15218 ac_cv_prog_ac_ct_CC
="gcc"
15219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15228 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15229 if test -n "$ac_ct_CC"; then
15230 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15231 echo "${ECHO_T}$ac_ct_CC" >&6; }
15233 { echo "$as_me:$LINENO: result: no" >&5
15234 echo "${ECHO_T}no" >&6; }
15237 if test "x$ac_ct_CC" = x
; then
15240 case $cross_compiling:$ac_tool_warned in
15242 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15243 whose name does not start with the host triplet. If you think this
15244 configuration is useful to you, please write to autoconf@gnu.org." >&5
15245 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15246 whose name does not start with the host triplet. If you think this
15247 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15248 ac_tool_warned
=yes ;;
15253 CC
="$ac_cv_prog_CC"
15256 if test -z "$CC"; then
15257 if test -n "$ac_tool_prefix"; then
15258 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15259 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15262 if test "${ac_cv_prog_CC+set}" = set; then
15263 echo $ECHO_N "(cached) $ECHO_C" >&6
15265 if test -n "$CC"; then
15266 ac_cv_prog_CC
="$CC" # Let the user override the test.
15268 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15269 for as_dir
in $PATH
15272 test -z "$as_dir" && as_dir
=.
15273 for ac_exec_ext
in '' $ac_executable_extensions; do
15274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15275 ac_cv_prog_CC
="${ac_tool_prefix}cc"
15276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15286 if test -n "$CC"; then
15287 { echo "$as_me:$LINENO: result: $CC" >&5
15288 echo "${ECHO_T}$CC" >&6; }
15290 { echo "$as_me:$LINENO: result: no" >&5
15291 echo "${ECHO_T}no" >&6; }
15297 if test -z "$CC"; then
15298 # Extract the first word of "cc", so it can be a program name with args.
15299 set dummy cc
; ac_word
=$2
15300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15302 if test "${ac_cv_prog_CC+set}" = set; then
15303 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 if test -n "$CC"; then
15306 ac_cv_prog_CC
="$CC" # Let the user override the test.
15308 ac_prog_rejected
=no
15309 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15310 for as_dir
in $PATH
15313 test -z "$as_dir" && as_dir
=.
15314 for ac_exec_ext
in '' $ac_executable_extensions; do
15315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15316 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15317 ac_prog_rejected
=yes
15321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15328 if test $ac_prog_rejected = yes; then
15329 # We found a bogon in the path, so make sure we never use it.
15330 set dummy
$ac_cv_prog_CC
15332 if test $# != 0; then
15333 # We chose a different compiler from the bogus one.
15334 # However, it has the same basename, so the bogon will be chosen
15335 # first if we set CC to just the basename; use the full file name.
15337 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
15343 if test -n "$CC"; then
15344 { echo "$as_me:$LINENO: result: $CC" >&5
15345 echo "${ECHO_T}$CC" >&6; }
15347 { echo "$as_me:$LINENO: result: no" >&5
15348 echo "${ECHO_T}no" >&6; }
15353 if test -z "$CC"; then
15354 if test -n "$ac_tool_prefix"; then
15355 for ac_prog
in cl.exe
15357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15358 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15359 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15361 if test "${ac_cv_prog_CC+set}" = set; then
15362 echo $ECHO_N "(cached) $ECHO_C" >&6
15364 if test -n "$CC"; then
15365 ac_cv_prog_CC
="$CC" # Let the user override the test.
15367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15368 for as_dir
in $PATH
15371 test -z "$as_dir" && as_dir
=.
15372 for ac_exec_ext
in '' $ac_executable_extensions; do
15373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15374 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
15375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15385 if test -n "$CC"; then
15386 { echo "$as_me:$LINENO: result: $CC" >&5
15387 echo "${ECHO_T}$CC" >&6; }
15389 { echo "$as_me:$LINENO: result: no" >&5
15390 echo "${ECHO_T}no" >&6; }
15394 test -n "$CC" && break
15397 if test -z "$CC"; then
15399 for ac_prog
in cl.exe
15401 # Extract the first word of "$ac_prog", so it can be a program name with args.
15402 set dummy
$ac_prog; ac_word
=$2
15403 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15405 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15406 echo $ECHO_N "(cached) $ECHO_C" >&6
15408 if test -n "$ac_ct_CC"; then
15409 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15412 for as_dir
in $PATH
15415 test -z "$as_dir" && as_dir
=.
15416 for ac_exec_ext
in '' $ac_executable_extensions; do
15417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15418 ac_cv_prog_ac_ct_CC
="$ac_prog"
15419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15428 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15429 if test -n "$ac_ct_CC"; then
15430 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15431 echo "${ECHO_T}$ac_ct_CC" >&6; }
15433 { echo "$as_me:$LINENO: result: no" >&5
15434 echo "${ECHO_T}no" >&6; }
15438 test -n "$ac_ct_CC" && break
15441 if test "x$ac_ct_CC" = x
; then
15444 case $cross_compiling:$ac_tool_warned in
15446 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15447 whose name does not start with the host triplet. If you think this
15448 configuration is useful to you, please write to autoconf@gnu.org." >&5
15449 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15450 whose name does not start with the host triplet. If you think this
15451 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15452 ac_tool_warned
=yes ;;
15461 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15462 See \`config.log' for more details." >&5
15463 echo "$as_me: error: no acceptable C compiler found in \$PATH
15464 See \`config.log' for more details." >&2;}
15465 { (exit 1); exit 1; }; }
15467 # Provide some information about the compiler.
15468 echo "$as_me:$LINENO: checking for C compiler version" >&5
15469 ac_compiler
=`set X $ac_compile; echo $2`
15470 { (ac_try
="$ac_compiler --version >&5"
15471 case "(($ac_try" in
15472 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15473 *) ac_try_echo=$ac_try;;
15475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15476 (eval "$ac_compiler --version >&5") 2>&5
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); }
15480 { (ac_try="$ac_compiler -v >&5"
15481 case "(($ac_try" in
15482 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15483 *) ac_try_echo
=$ac_try;;
15485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15486 (eval "$ac_compiler -v >&5") 2>&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }
15490 { (ac_try
="$ac_compiler -V >&5"
15491 case "(($ac_try" in
15492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15493 *) ac_try_echo=$ac_try;;
15495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15496 (eval "$ac_compiler -V >&5") 2>&5
15498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15499 (exit $ac_status); }
15501 cat >conftest.$ac_ext <<_ACEOF
15504 cat confdefs.h >>conftest.$ac_ext
15505 cat >>conftest.$ac_ext <<_ACEOF
15506 /* end confdefs.h. */
15516 ac_clean_files_save=$ac_clean_files
15517 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15518 # Try to create an executable without -o first, disregard a.out.
15519 # It will help us diagnose broken compilers, and finding out an intuition
15521 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15522 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15523 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15525 # List of possible output files, starting from the most likely.
15526 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
15527 # only as a last resort. b.out is created by i960 compilers.
15528 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
15530 # The IRIX 6 linker writes into existing files which may not be
15531 # executable, retaining their permissions. Remove them first so a
15532 # subsequent execution test works.
15534 for ac_file in $ac_files
15537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15538 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15543 if { (ac_try="$ac_link_default"
15544 case "(($ac_try" in
15545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15546 *) ac_try_echo=$ac_try;;
15548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15549 (eval "$ac_link_default") 2>&5
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); }; then
15553 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15554 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15555 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15556 # so that the user can short-circuit this test for compilers unknown to
15558 for ac_file
in $ac_files ''
15560 test -f "$ac_file" || continue
15562 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
15565 # We found the default executable, but exeext='' is most
15569 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
15571 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15573 # We set ac_cv_exeext here because the later test for it is not
15574 # safe: cross compilers may not add the suffix if given an `-o'
15575 # argument, so we may need to know it at that point already.
15576 # Even if this section looks crufty: it has the advantage of
15577 # actually working.
15583 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
15589 { echo "$as_me:$LINENO: result: $ac_file" >&5
15590 echo "${ECHO_T}$ac_file" >&6; }
15591 if test -z "$ac_file"; then
15592 echo "$as_me: failed program was:" >&5
15593 sed 's/^/| /' conftest.
$ac_ext >&5
15595 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15596 See \`config.log' for more details." >&5
15597 echo "$as_me: error: C compiler cannot create executables
15598 See \`config.log' for more details." >&2;}
15599 { (exit 77); exit 77; }; }
15602 ac_exeext
=$ac_cv_exeext
15604 # Check that the compiler produces executables we can run. If not, either
15605 # the compiler is broken, or we cross compile.
15606 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15607 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15608 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15609 # If not cross compiling, check that we can run a simple program.
15610 if test "$cross_compiling" != yes; then
15611 if { ac_try
='./$ac_file'
15612 { (case "(($ac_try" in
15613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15614 *) ac_try_echo=$ac_try;;
15616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15617 (eval "$ac_try") 2>&5
15619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15620 (exit $ac_status); }; }; then
15623 if test "$cross_compiling" = maybe; then
15624 cross_compiling=yes
15626 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15627 If you meant to cross compile, use \`--host'.
15628 See \`config.log' for more details.
" >&5
15629 echo "$as_me: error
: cannot run C compiled programs.
15630 If you meant to cross compile
, use \
`--host'.
15631 See \`config.log
' for more details." >&2;}
15632 { (exit 1); exit 1; }; }
15636 { echo "$as_me:$LINENO: result: yes" >&5
15637 echo "${ECHO_T}yes" >&6; }
15639 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15640 ac_clean_files=$ac_clean_files_save
15641 # Check that the compiler produces executables we can run. If not, either
15642 # the compiler is broken, or we cross compile.
15643 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15644 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15645 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15646 echo "${ECHO_T}$cross_compiling" >&6; }
15648 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15649 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15650 if { (ac_try="$ac_link"
15651 case "(($ac_try" in
15652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15653 *) ac_try_echo=$ac_try;;
15655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15656 (eval "$ac_link") 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; then
15660 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
15661 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
15662 # work properly (i.e., refer to `conftest.exe
'), while it won't with
15664 for ac_file
in conftest.exe conftest conftest.
*; do
15665 test -f "$ac_file" || continue
15667 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15668 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15674 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15675 See \`config.log' for more details." >&5
15676 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15677 See \`config.log' for more details." >&2;}
15678 { (exit 1); exit 1; }; }
15681 rm -f conftest
$ac_cv_exeext
15682 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15683 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15685 rm -f conftest.
$ac_ext
15686 EXEEXT
=$ac_cv_exeext
15688 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15689 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15690 if test "${ac_cv_objext+set}" = set; then
15691 echo $ECHO_N "(cached) $ECHO_C" >&6
15693 cat >conftest.
$ac_ext <<_ACEOF
15696 cat confdefs.h
>>conftest.
$ac_ext
15697 cat >>conftest.
$ac_ext <<_ACEOF
15698 /* end confdefs.h. */
15708 rm -f conftest.o conftest.obj
15709 if { (ac_try
="$ac_compile"
15710 case "(($ac_try" in
15711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15712 *) ac_try_echo=$ac_try;;
15714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15715 (eval "$ac_compile") 2>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; then
15719 for ac_file in conftest.o conftest.obj conftest.*; do
15720 test -f "$ac_file" || continue;
15722 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15723 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15728 echo "$as_me: failed program was:" >&5
15729 sed 's/^/| /' conftest.$ac_ext >&5
15731 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15732 See \`config.log
' for more details." >&5
15733 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15734 See \`config.log' for more details.
" >&2;}
15735 { (exit 1); exit 1; }; }
15738 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15740 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15741 echo "${ECHO_T}$ac_cv_objext" >&6; }
15742 OBJEXT=$ac_cv_objext
15744 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15745 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15746 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15747 echo $ECHO_N "(cached
) $ECHO_C" >&6
15749 cat >conftest.$ac_ext <<_ACEOF
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15767 rm -f conftest.$ac_objext
15768 if { (ac_try="$ac_compile"
15769 case "(($ac_try" in
15770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15771 *) ac_try_echo=$ac_try;;
15773 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15774 (eval "$ac_compile") 2>conftest.er1
15776 grep -v '^ *+' conftest.er1 >conftest.err
15778 cat conftest.err >&5
15779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15780 (exit $ac_status); } && {
15781 test -z "$ac_c_werror_flag" ||
15782 test ! -s conftest.err
15783 } && test -s conftest.$ac_objext; then
15784 ac_compiler_gnu=yes
15786 echo "$as_me: failed program was
:" >&5
15787 sed 's/^/| /' conftest.$ac_ext >&5
15792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15793 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15796 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15797 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15798 GCC=`test $ac_compiler_gnu = yes && echo yes`
15799 ac_test_CFLAGS=${CFLAGS+set}
15800 ac_save_CFLAGS=$CFLAGS
15801 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15802 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15803 if test "${ac_cv_prog_cc_g+set}" = set; then
15804 echo $ECHO_N "(cached
) $ECHO_C" >&6
15806 ac_save_c_werror_flag=$ac_c_werror_flag
15807 ac_c_werror_flag=yes
15810 cat >conftest.$ac_ext <<_ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15825 rm -f conftest.$ac_objext
15826 if { (ac_try="$ac_compile"
15827 case "(($ac_try" in
15828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15829 *) ac_try_echo=$ac_try;;
15831 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15832 (eval "$ac_compile") 2>conftest.er1
15834 grep -v '^ *+' conftest.er1 >conftest.err
15836 cat conftest.err >&5
15837 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15838 (exit $ac_status); } && {
15839 test -z "$ac_c_werror_flag" ||
15840 test ! -s conftest.err
15841 } && test -s conftest.$ac_objext; then
15842 ac_cv_prog_cc_g=yes
15844 echo "$as_me: failed program was
:" >&5
15845 sed 's/^/| /' conftest.$ac_ext >&5
15848 cat >conftest.$ac_ext <<_ACEOF
15851 cat confdefs.h >>conftest.$ac_ext
15852 cat >>conftest.$ac_ext <<_ACEOF
15853 /* end confdefs.h. */
15863 rm -f conftest.$ac_objext
15864 if { (ac_try="$ac_compile"
15865 case "(($ac_try" in
15866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15867 *) ac_try_echo=$ac_try;;
15869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15870 (eval "$ac_compile") 2>conftest.er1
15872 grep -v '^ *+' conftest.er1 >conftest.err
15874 cat conftest.err >&5
15875 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15876 (exit $ac_status); } && {
15877 test -z "$ac_c_werror_flag" ||
15878 test ! -s conftest.err
15879 } && test -s conftest.$ac_objext; then
15882 echo "$as_me: failed program was
:" >&5
15883 sed 's/^/| /' conftest.$ac_ext >&5
15885 ac_c_werror_flag=$ac_save_c_werror_flag
15887 cat >conftest.$ac_ext <<_ACEOF
15890 cat confdefs.h >>conftest.$ac_ext
15891 cat >>conftest.$ac_ext <<_ACEOF
15892 /* end confdefs.h. */
15902 rm -f conftest.$ac_objext
15903 if { (ac_try="$ac_compile"
15904 case "(($ac_try" in
15905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15906 *) ac_try_echo=$ac_try;;
15908 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15909 (eval "$ac_compile") 2>conftest.er1
15911 grep -v '^ *+' conftest.er1 >conftest.err
15913 cat conftest.err >&5
15914 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15915 (exit $ac_status); } && {
15916 test -z "$ac_c_werror_flag" ||
15917 test ! -s conftest.err
15918 } && test -s conftest.$ac_objext; then
15919 ac_cv_prog_cc_g=yes
15921 echo "$as_me: failed program was
:" >&5
15922 sed 's/^/| /' conftest.$ac_ext >&5
15927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15934 ac_c_werror_flag=$ac_save_c_werror_flag
15936 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15937 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15938 if test "$ac_test_CFLAGS" = set; then
15939 CFLAGS=$ac_save_CFLAGS
15940 elif test $ac_cv_prog_cc_g = yes; then
15941 if test "$GCC" = yes; then
15947 if test "$GCC" = yes; then
15953 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15954 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15955 if test "${ac_cv_prog_cc_c89+set}" = set; then
15956 echo $ECHO_N "(cached
) $ECHO_C" >&6
15958 ac_cv_prog_cc_c89=no
15960 cat >conftest.$ac_ext <<_ACEOF
15963 cat confdefs.h >>conftest.$ac_ext
15964 cat >>conftest.$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 #include <stdarg.h>
15968 #include <sys/types.h>
15969 #include <sys/stat.h>
15970 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15971 struct buf { int x; };
15972 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15973 static char *e (p, i)
15979 static char *f (char * (*g) (char **, int), char **p, ...)
15984 s = g (p, va_arg (v,int));
15989 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15990 function prototypes and stuff, but not '\xHH' hex character constants.
15991 These don't provoke an error unfortunately, instead are silently treated
15992 as 'x'. The following induces an error, until -std is added to get
15993 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15994 array size at least. It's necessary to write '\x00'==0 to get something
15995 that's true only with -std. */
15996 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15998 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15999 inside strings and character constants. */
16001 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16003 int test (int i, double x);
16004 struct s1 {int (*f) (int a);};
16005 struct s2 {int (*f) (double a);};
16006 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16012 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16017 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16018 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16020 CC="$ac_save_CC $ac_arg"
16021 rm -f conftest.$ac_objext
16022 if { (ac_try="$ac_compile"
16023 case "(($ac_try" in
16024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16025 *) ac_try_echo=$ac_try;;
16027 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16028 (eval "$ac_compile") 2>conftest.er1
16030 grep -v '^ *+' conftest.er1 >conftest.err
16032 cat conftest.err >&5
16033 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16034 (exit $ac_status); } && {
16035 test -z "$ac_c_werror_flag" ||
16036 test ! -s conftest.err
16037 } && test -s conftest.$ac_objext; then
16038 ac_cv_prog_cc_c89=$ac_arg
16040 echo "$as_me: failed program was
:" >&5
16041 sed 's/^/| /' conftest.$ac_ext >&5
16046 rm -f core conftest.err conftest.$ac_objext
16047 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
16049 rm -f conftest.$ac_ext
16054 case "x
$ac_cv_prog_cc_c89" in
16056 { echo "$as_me:$LINENO: result
: none needed
" >&5
16057 echo "${ECHO_T}none needed
" >&6; } ;;
16059 { echo "$as_me:$LINENO: result
: unsupported
" >&5
16060 echo "${ECHO_T}unsupported
" >&6; } ;;
16062 CC="$CC $ac_cv_prog_cc_c89"
16063 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
16064 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16069 ac_cpp='$CPP $CPPFLAGS'
16070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16082 ac_cpp='$CPP $CPPFLAGS'
16083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16087 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
16088 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
16089 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16090 echo $ECHO_N "(cached
) $ECHO_C" >&6
16092 cat >conftest.$ac_ext <<_ACEOF
16095 cat confdefs.h >>conftest.$ac_ext
16096 cat >>conftest.$ac_ext <<_ACEOF
16097 /* end confdefs.h. */
16103 #ifndef __INTEL_COMPILER
16111 rm -f conftest.$ac_objext
16112 if { (ac_try="$ac_compile"
16113 case "(($ac_try" in
16114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16115 *) ac_try_echo=$ac_try;;
16117 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16118 (eval "$ac_compile") 2>conftest.er1
16120 grep -v '^ *+' conftest.er1 >conftest.err
16122 cat conftest.err >&5
16123 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16124 (exit $ac_status); } && {
16125 test -z "$ac_c_werror_flag" ||
16126 test ! -s conftest.err
16127 } && test -s conftest.$ac_objext; then
16128 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16130 echo "$as_me: failed program was
:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16133 bakefile_cv_c_compiler___INTEL_COMPILER=no
16137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16141 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16142 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16143 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16149 ac_cpp='$CPP $CPPFLAGS'
16150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16157 if test "$INTELCC" = "yes"; 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
16166 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
16167 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
16168 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16169 echo $ECHO_N "(cached
) $ECHO_C" >&6
16171 cat >conftest.$ac_ext <<_ACEOF
16174 cat confdefs.h >>conftest.$ac_ext
16175 cat >>conftest.$ac_ext <<_ACEOF
16176 /* end confdefs.h. */
16182 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16190 rm -f conftest.$ac_objext
16191 if { (ac_try="$ac_compile"
16192 case "(($ac_try" in
16193 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16194 *) ac_try_echo=$ac_try;;
16196 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16197 (eval "$ac_compile") 2>conftest.er1
16199 grep -v '^ *+' conftest.er1 >conftest.err
16201 cat conftest.err >&5
16202 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16203 (exit $ac_status); } && {
16204 test -z "$ac_c_werror_flag" ||
16205 test ! -s conftest.err
16206 } && test -s conftest.$ac_objext; then
16207 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16209 echo "$as_me: failed program was
:" >&5
16210 sed 's/^/| /' conftest.$ac_ext >&5
16212 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16220 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16221 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16222 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
16228 ac_cpp='$CPP $CPPFLAGS'
16229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16238 ac_cpp='$CPP $CPPFLAGS'
16239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16243 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
16244 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
16245 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16246 echo $ECHO_N "(cached
) $ECHO_C" >&6
16248 cat >conftest.$ac_ext <<_ACEOF
16251 cat confdefs.h >>conftest.$ac_ext
16252 cat >>conftest.$ac_ext <<_ACEOF
16253 /* end confdefs.h. */
16259 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16267 rm -f conftest.$ac_objext
16268 if { (ac_try="$ac_compile"
16269 case "(($ac_try" in
16270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16271 *) ac_try_echo=$ac_try;;
16273 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16274 (eval "$ac_compile") 2>conftest.er1
16276 grep -v '^ *+' conftest.er1 >conftest.err
16278 cat conftest.err >&5
16279 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16280 (exit $ac_status); } && {
16281 test -z "$ac_c_werror_flag" ||
16282 test ! -s conftest.err
16283 } && test -s conftest.$ac_objext; then
16284 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16286 echo "$as_me: failed program was
:" >&5
16287 sed 's/^/| /' conftest.$ac_ext >&5
16289 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16297 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16298 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16299 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
16305 ac_cpp='$CPP $CPPFLAGS'
16306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16314 if test "x
$GCC" != "xyes
"; then
16315 if test "xCC
" = "xC
"; then
16316 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16317 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16318 if test "${bakefile_cv_c_exto+set}" = set; then
16319 echo $ECHO_N "(cached
) $ECHO_C" >&6
16321 cat >conftest.$ac_ext <<_ACEOF
16324 cat confdefs.h >>conftest.$ac_ext
16325 cat >>conftest.$ac_ext <<_ACEOF
16326 /* end confdefs.h. */
16336 rm -f conftest.$ac_objext conftest.$ac_ext.o
16337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16338 (eval $ac_compile) 2>&5
16340 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16341 (exit $ac_status); }; then
16342 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16344 conftest.$ac_ext.o)
16345 bakefile_cv_c_exto="-ext o
"
16352 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16353 See \
`config.log' for more details." >&5
16354 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16355 See \`config.log
' for more details." >&2;}
16356 { (exit 1); exit 1; }; }
16360 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16363 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16364 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16365 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16366 if test "c" = "c"; then
16367 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16369 if test "c" = "cxx"; then
16370 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16374 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16375 unset ac_cv_prog_cc_g
16376 ac_test_CFLAGS=${CFLAGS+set}
16377 ac_save_CFLAGS=$CFLAGS
16378 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16379 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16380 if test "${ac_cv_prog_cc_g+set}" = set; then
16381 echo $ECHO_N "(cached) $ECHO_C" >&6
16383 ac_save_c_werror_flag=$ac_c_werror_flag
16384 ac_c_werror_flag=yes
16387 cat >conftest.$ac_ext <<_ACEOF
16390 cat confdefs.h >>conftest.$ac_ext
16391 cat >>conftest.$ac_ext <<_ACEOF
16392 /* end confdefs.h. */
16402 rm -f conftest.$ac_objext
16403 if { (ac_try="$ac_compile"
16404 case "(($ac_try" in
16405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16406 *) ac_try_echo=$ac_try;;
16408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16409 (eval "$ac_compile") 2>conftest.er1
16411 grep -v '^
*+' conftest.er1 >conftest.err
16413 cat conftest.err >&5
16414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16415 (exit $ac_status); } && {
16416 test -z "$ac_c_werror_flag" ||
16417 test ! -s conftest.err
16418 } && test -s conftest.$ac_objext; then
16419 ac_cv_prog_cc_g=yes
16421 echo "$as_me: failed program was:" >&5
16422 sed 's
/^
/| /' conftest.$ac_ext >&5
16425 cat >conftest.$ac_ext <<_ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16440 rm -f conftest.$ac_objext
16441 if { (ac_try="$ac_compile"
16442 case "(($ac_try" in
16443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16444 *) ac_try_echo=$ac_try;;
16446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16447 (eval "$ac_compile") 2>conftest.er1
16449 grep -v '^
*+' conftest.er1 >conftest.err
16451 cat conftest.err >&5
16452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16453 (exit $ac_status); } && {
16454 test -z "$ac_c_werror_flag" ||
16455 test ! -s conftest.err
16456 } && test -s conftest.$ac_objext; then
16459 echo "$as_me: failed program was:" >&5
16460 sed 's
/^
/| /' conftest.$ac_ext >&5
16462 ac_c_werror_flag=$ac_save_c_werror_flag
16464 cat >conftest.$ac_ext <<_ACEOF
16467 cat confdefs.h >>conftest.$ac_ext
16468 cat >>conftest.$ac_ext <<_ACEOF
16469 /* end confdefs.h. */
16479 rm -f conftest.$ac_objext
16480 if { (ac_try="$ac_compile"
16481 case "(($ac_try" in
16482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16483 *) ac_try_echo=$ac_try;;
16485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16486 (eval "$ac_compile") 2>conftest.er1
16488 grep -v '^
*+' conftest.er1 >conftest.err
16490 cat conftest.err >&5
16491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16492 (exit $ac_status); } && {
16493 test -z "$ac_c_werror_flag" ||
16494 test ! -s conftest.err
16495 } && test -s conftest.$ac_objext; then
16496 ac_cv_prog_cc_g=yes
16498 echo "$as_me: failed program was:" >&5
16499 sed 's
/^
/| /' conftest.$ac_ext >&5
16504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16511 ac_c_werror_flag=$ac_save_c_werror_flag
16513 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16514 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16515 if test "$ac_test_CFLAGS" = set; then
16516 CFLAGS=$ac_save_CFLAGS
16517 elif test $ac_cv_prog_cc_g = yes; then
16518 if test "$GCC" = yes; then
16524 if test "$GCC" = yes; then
16538 ac_cpp='$CPP $CPPFLAGS'
16539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16540 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16543 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16544 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16545 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16546 echo $ECHO_N "(cached) $ECHO_C" >&6
16548 cat >conftest.$ac_ext <<_ACEOF
16551 cat confdefs.h >>conftest.$ac_ext
16552 cat >>conftest.$ac_ext <<_ACEOF
16553 /* end confdefs.h. */
16567 rm -f conftest.$ac_objext
16568 if { (ac_try="$ac_compile"
16569 case "(($ac_try" in
16570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16571 *) ac_try_echo=$ac_try;;
16573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16574 (eval "$ac_compile") 2>conftest.er1
16576 grep -v '^
*+' conftest.er1 >conftest.err
16578 cat conftest.err >&5
16579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16580 (exit $ac_status); } && {
16581 test -z "$ac_c_werror_flag" ||
16582 test ! -s conftest.err
16583 } && test -s conftest.$ac_objext; then
16584 bakefile_cv_c_compiler___xlC__=yes
16586 echo "$as_me: failed program was:" >&5
16587 sed 's
/^
/| /' conftest.$ac_ext >&5
16589 bakefile_cv_c_compiler___xlC__=no
16593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16597 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16598 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16599 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16605 ac_cpp='$CPP $CPPFLAGS'
16606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16607 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16618 ac_cpp='$CPP $CPPFLAGS'
16619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16620 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16623 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16624 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16625 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16626 echo $ECHO_N "(cached) $ECHO_C" >&6
16628 cat >conftest.$ac_ext <<_ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16647 rm -f conftest.$ac_objext
16648 if { (ac_try="$ac_compile"
16649 case "(($ac_try" in
16650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16651 *) ac_try_echo=$ac_try;;
16653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16654 (eval "$ac_compile") 2>conftest.er1
16656 grep -v '^
*+' conftest.er1 >conftest.err
16658 cat conftest.err >&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } && {
16661 test -z "$ac_c_werror_flag" ||
16662 test ! -s conftest.err
16663 } && test -s conftest.$ac_objext; then
16664 bakefile_cv_c_compiler___MWERKS__=yes
16666 echo "$as_me: failed program was:" >&5
16667 sed 's
/^
/| /' conftest.$ac_ext >&5
16669 bakefile_cv_c_compiler___MWERKS__=no
16673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16677 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16678 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16679 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16685 ac_cpp='$CPP $CPPFLAGS'
16686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16687 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16692 if test "$MWCC" != "yes"; then
16696 ac_cpp='$CPP $CPPFLAGS'
16697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16698 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16701 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16702 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16703 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16704 echo $ECHO_N "(cached) $ECHO_C" >&6
16706 cat >conftest.$ac_ext <<_ACEOF
16709 cat confdefs.h >>conftest.$ac_ext
16710 cat >>conftest.$ac_ext <<_ACEOF
16711 /* end confdefs.h. */
16725 rm -f conftest.$ac_objext
16726 if { (ac_try="$ac_compile"
16727 case "(($ac_try" in
16728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16729 *) ac_try_echo=$ac_try;;
16731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16732 (eval "$ac_compile") 2>conftest.er1
16734 grep -v '^
*+' conftest.er1 >conftest.err
16736 cat conftest.err >&5
16737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738 (exit $ac_status); } && {
16739 test -z "$ac_c_werror_flag" ||
16740 test ! -s conftest.err
16741 } && test -s conftest.$ac_objext; then
16742 bakefile_cv_c_compiler___xlC__=yes
16744 echo "$as_me: failed program was:" >&5
16745 sed 's
/^
/| /' conftest.$ac_ext >&5
16747 bakefile_cv_c_compiler___xlC__=no
16751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16755 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16756 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16757 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16763 ac_cpp='$CPP $CPPFLAGS'
16764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16765 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16777 ac_cpp='$CPP $CPPFLAGS'
16778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16779 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16782 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16783 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16784 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 cat >conftest.$ac_ext <<_ACEOF
16790 cat confdefs.h >>conftest.$ac_ext
16791 cat >>conftest.$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16798 #ifndef _SGI_COMPILER_VERSION
16806 rm -f conftest.$ac_objext
16807 if { (ac_try="$ac_compile"
16808 case "(($ac_try" in
16809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16810 *) ac_try_echo=$ac_try;;
16812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16813 (eval "$ac_compile") 2>conftest.er1
16815 grep -v '^
*+' conftest.er1 >conftest.err
16817 cat conftest.err >&5
16818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819 (exit $ac_status); } && {
16820 test -z "$ac_c_werror_flag" ||
16821 test ! -s conftest.err
16822 } && test -s conftest.$ac_objext; then
16823 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16825 echo "$as_me: failed program was:" >&5
16826 sed 's
/^
/| /' conftest.$ac_ext >&5
16828 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16836 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16837 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16838 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16844 ac_cpp='$CPP $CPPFLAGS'
16845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16846 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16854 if test "$INTELCC" != "yes"; then
16858 ac_cpp='$CPP $CPPFLAGS'
16859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16860 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16863 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16864 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16865 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16866 echo $ECHO_N "(cached) $ECHO_C" >&6
16868 cat >conftest.$ac_ext <<_ACEOF
16871 cat confdefs.h >>conftest.$ac_ext
16872 cat >>conftest.$ac_ext <<_ACEOF
16873 /* end confdefs.h. */
16887 rm -f conftest.$ac_objext
16888 if { (ac_try="$ac_compile"
16889 case "(($ac_try" in
16890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16891 *) ac_try_echo=$ac_try;;
16893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16894 (eval "$ac_compile") 2>conftest.er1
16896 grep -v '^
*+' conftest.er1 >conftest.err
16898 cat conftest.err >&5
16899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16900 (exit $ac_status); } && {
16901 test -z "$ac_c_werror_flag" ||
16902 test ! -s conftest.err
16903 } && test -s conftest.$ac_objext; then
16904 bakefile_cv_c_compiler___SUNPRO_C=yes
16906 echo "$as_me: failed program was:" >&5
16907 sed 's
/^
/| /' conftest.$ac_ext >&5
16909 bakefile_cv_c_compiler___SUNPRO_C=no
16913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16917 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16918 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16919 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16925 ac_cpp='$CPP $CPPFLAGS'
16926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16927 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16939 ac_cpp='$CPP $CPPFLAGS'
16940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16941 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16944 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16945 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16946 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16947 echo $ECHO_N "(cached) $ECHO_C" >&6
16949 cat >conftest.$ac_ext <<_ACEOF
16952 cat confdefs.h >>conftest.$ac_ext
16953 cat >>conftest.$ac_ext <<_ACEOF
16954 /* end confdefs.h. */
16968 rm -f conftest.$ac_objext
16969 if { (ac_try="$ac_compile"
16970 case "(($ac_try" in
16971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16972 *) ac_try_echo=$ac_try;;
16974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16975 (eval "$ac_compile") 2>conftest.er1
16977 grep -v '^
*+' conftest.er1 >conftest.err
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } && {
16982 test -z "$ac_c_werror_flag" ||
16983 test ! -s conftest.err
16984 } && test -s conftest.$ac_objext; then
16985 bakefile_cv_c_compiler___HP_cc=yes
16987 echo "$as_me: failed program was:" >&5
16988 sed 's
/^
/| /' conftest.$ac_ext >&5
16990 bakefile_cv_c_compiler___HP_cc=no
16994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16998 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16999 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17000 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17006 ac_cpp='$CPP $CPPFLAGS'
17007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17008 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17019 ac_cpp='$CPP $CPPFLAGS'
17020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17021 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17024 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17025 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17026 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17027 echo $ECHO_N "(cached) $ECHO_C" >&6
17029 cat >conftest.$ac_ext <<_ACEOF
17032 cat confdefs.h >>conftest.$ac_ext
17033 cat >>conftest.$ac_ext <<_ACEOF
17034 /* end confdefs.h. */
17048 rm -f conftest.$ac_objext
17049 if { (ac_try="$ac_compile"
17050 case "(($ac_try" in
17051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17052 *) ac_try_echo=$ac_try;;
17054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17055 (eval "$ac_compile") 2>conftest.er1
17057 grep -v '^
*+' conftest.er1 >conftest.err
17059 cat conftest.err >&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); } && {
17062 test -z "$ac_c_werror_flag" ||
17063 test ! -s conftest.err
17064 } && test -s conftest.$ac_objext; then
17065 bakefile_cv_c_compiler___DECC=yes
17067 echo "$as_me: failed program was:" >&5
17068 sed 's
/^
/| /' conftest.$ac_ext >&5
17070 bakefile_cv_c_compiler___DECC=no
17074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17078 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17079 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17080 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17086 ac_cpp='$CPP $CPPFLAGS'
17087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17088 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17099 ac_cpp='$CPP $CPPFLAGS'
17100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17101 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17104 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17105 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17106 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17107 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 cat >conftest.$ac_ext <<_ACEOF
17112 cat confdefs.h >>conftest.$ac_ext
17113 cat >>conftest.$ac_ext <<_ACEOF
17114 /* end confdefs.h. */
17128 rm -f conftest.$ac_objext
17129 if { (ac_try="$ac_compile"
17130 case "(($ac_try" in
17131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17132 *) ac_try_echo=$ac_try;;
17134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17135 (eval "$ac_compile") 2>conftest.er1
17137 grep -v '^
*+' conftest.er1 >conftest.err
17139 cat conftest.err >&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); } && {
17142 test -z "$ac_c_werror_flag" ||
17143 test ! -s conftest.err
17144 } && test -s conftest.$ac_objext; then
17145 bakefile_cv_c_compiler___SUNPRO_C=yes
17147 echo "$as_me: failed program was:" >&5
17148 sed 's
/^
/| /' conftest.$ac_ext >&5
17150 bakefile_cv_c_compiler___SUNPRO_C=no
17154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17158 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17159 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17160 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17166 ac_cpp='$CPP $CPPFLAGS'
17167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17168 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17180 ac_cpp='$CPP $CPPFLAGS'
17181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17182 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17184 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17185 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17186 # On Suns, sometimes $CPP names a directory.
17187 if test -n "$CPP" && test -d "$CPP"; then
17190 if test -z "$CPP"; then
17191 if test "${ac_cv_prog_CPP+set}" = set; then
17192 echo $ECHO_N "(cached) $ECHO_C" >&6
17194 # Double quotes because CPP needs to be expanded
17195 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17197 ac_preproc_ok=false
17198 for ac_c_preproc_warn_flag in '' yes
17200 # Use a header file that comes with gcc, so configuring glibc
17201 # with a fresh cross-compiler works.
17202 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17203 # <limits.h> exists even on freestanding compilers.
17204 # On the NeXT, cc -E runs the code through the compiler's parser
,
17205 # not just through cpp. "Syntax error" is here to catch this case.
17206 cat >conftest.
$ac_ext <<_ACEOF
17209 cat confdefs.h
>>conftest.
$ac_ext
17210 cat >>conftest.
$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17213 # include <limits.h>
17215 # include <assert.h>
17219 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17220 case "(($ac_try" in
17221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17222 *) ac_try_echo=$ac_try;;
17224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17225 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17227 grep -v '^ *+' conftest.er1 >conftest.err
17229 cat conftest.err >&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); } >/dev/null && {
17232 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17233 test ! -s conftest.err
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.$ac_ext >&5
17240 # Broken: fails on valid input.
17244 rm -f conftest.err conftest.$ac_ext
17246 # OK, works on sane cases. Now check whether nonexistent headers
17247 # can be detected and how.
17248 cat >conftest.$ac_ext <<_ACEOF
17251 cat confdefs.h >>conftest.$ac_ext
17252 cat >>conftest.$ac_ext <<_ACEOF
17253 /* end confdefs.h. */
17254 #include <ac_nonexistent.h>
17256 if { (ac_try="$ac_cpp conftest.$ac_ext"
17257 case "(($ac_try" in
17258 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17259 *) ac_try_echo
=$ac_try;;
17261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17262 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17264 grep -v '^ *+' conftest.er1
>conftest.err
17266 cat conftest.err
>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); } >/dev
/null
&& {
17269 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17270 test ! -s conftest.err
17272 # Broken: success on invalid input.
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.
$ac_ext >&5
17278 # Passes both tests.
17283 rm -f conftest.err conftest.
$ac_ext
17286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17287 rm -f conftest.err conftest.
$ac_ext
17288 if $ac_preproc_ok; then
17293 ac_cv_prog_CPP
=$CPP
17296 CPP
=$ac_cv_prog_CPP
17298 ac_cv_prog_CPP
=$CPP
17300 { echo "$as_me:$LINENO: result: $CPP" >&5
17301 echo "${ECHO_T}$CPP" >&6; }
17302 ac_preproc_ok
=false
17303 for ac_c_preproc_warn_flag
in '' yes
17305 # Use a header file that comes with gcc, so configuring glibc
17306 # with a fresh cross-compiler works.
17307 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17308 # <limits.h> exists even on freestanding compilers.
17309 # On the NeXT, cc -E runs the code through the compiler's parser,
17310 # not just through cpp. "Syntax error" is here to catch this case.
17311 cat >conftest.
$ac_ext <<_ACEOF
17314 cat confdefs.h
>>conftest.
$ac_ext
17315 cat >>conftest.
$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17318 # include <limits.h>
17320 # include <assert.h>
17324 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17325 case "(($ac_try" in
17326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17327 *) ac_try_echo=$ac_try;;
17329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17330 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17332 grep -v '^ *+' conftest.er1 >conftest.err
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } >/dev/null && {
17337 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17338 test ! -s conftest.err
17342 echo "$as_me: failed program was:" >&5
17343 sed 's/^/| /' conftest.$ac_ext >&5
17345 # Broken: fails on valid input.
17349 rm -f conftest.err conftest.$ac_ext
17351 # OK, works on sane cases. Now check whether nonexistent headers
17352 # can be detected and how.
17353 cat >conftest.$ac_ext <<_ACEOF
17356 cat confdefs.h >>conftest.$ac_ext
17357 cat >>conftest.$ac_ext <<_ACEOF
17358 /* end confdefs.h. */
17359 #include <ac_nonexistent.h>
17361 if { (ac_try="$ac_cpp conftest.$ac_ext"
17362 case "(($ac_try" in
17363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17364 *) ac_try_echo
=$ac_try;;
17366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17367 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17369 grep -v '^ *+' conftest.er1
>conftest.err
17371 cat conftest.err
>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); } >/dev
/null
&& {
17374 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17375 test ! -s conftest.err
17377 # Broken: success on invalid input.
17380 echo "$as_me: failed program was:" >&5
17381 sed 's/^/| /' conftest.
$ac_ext >&5
17383 # Passes both tests.
17388 rm -f conftest.err conftest.
$ac_ext
17391 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17392 rm -f conftest.err conftest.
$ac_ext
17393 if $ac_preproc_ok; then
17396 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17397 See \`config.log' for more details." >&5
17398 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17399 See \`config.log' for more details." >&2;}
17400 { (exit 1); exit 1; }; }
17404 ac_cpp
='$CPP $CPPFLAGS'
17405 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17406 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17407 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17410 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17411 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17412 if test "${ac_cv_path_GREP+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 # Extract the first word of "grep ggrep" to use in msg output
17416 if test -z "$GREP"; then
17417 set dummy
grep ggrep
; ac_prog_name
=$2
17418 if test "${ac_cv_path_GREP+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17421 ac_path_GREP_found
=false
17422 # Loop through the user's path and test for each of PROGNAME-LIST
17423 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17424 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17427 test -z "$as_dir" && as_dir
=.
17428 for ac_prog
in grep ggrep
; do
17429 for ac_exec_ext
in '' $ac_executable_extensions; do
17430 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17431 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17432 # Check for GNU ac_path_GREP and select it if it is found.
17433 # Check for GNU $ac_path_GREP
17434 case `"$ac_path_GREP" --version 2>&1` in
17436 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17439 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17442 cat "conftest.in" "conftest.in" >"conftest.tmp"
17443 mv "conftest.tmp" "conftest.in"
17444 cp "conftest.in" "conftest.nl"
17445 echo 'GREP' >> "conftest.nl"
17446 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17447 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17448 ac_count
=`expr $ac_count + 1`
17449 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17450 # Best one so far, save it but keep looking for a better one
17451 ac_cv_path_GREP
="$ac_path_GREP"
17452 ac_path_GREP_max
=$ac_count
17454 # 10*(2^10) chars as input seems more than enough
17455 test $ac_count -gt 10 && break
17457 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17461 $ac_path_GREP_found && break 3
17471 GREP
="$ac_cv_path_GREP"
17472 if test -z "$GREP"; then
17473 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17474 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17475 { (exit 1); exit 1; }; }
17479 ac_cv_path_GREP
=$GREP
17484 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17485 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17486 GREP
="$ac_cv_path_GREP"
17489 { echo "$as_me:$LINENO: checking for egrep" >&5
17490 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17491 if test "${ac_cv_path_EGREP+set}" = set; then
17492 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17495 then ac_cv_path_EGREP
="$GREP -E"
17497 # Extract the first word of "egrep" to use in msg output
17498 if test -z "$EGREP"; then
17499 set dummy
egrep; ac_prog_name
=$2
17500 if test "${ac_cv_path_EGREP+set}" = set; then
17501 echo $ECHO_N "(cached) $ECHO_C" >&6
17503 ac_path_EGREP_found
=false
17504 # Loop through the user's path and test for each of PROGNAME-LIST
17505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17506 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17509 test -z "$as_dir" && as_dir
=.
17510 for ac_prog
in egrep; do
17511 for ac_exec_ext
in '' $ac_executable_extensions; do
17512 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17513 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17514 # Check for GNU ac_path_EGREP and select it if it is found.
17515 # Check for GNU $ac_path_EGREP
17516 case `"$ac_path_EGREP" --version 2>&1` in
17518 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17521 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17524 cat "conftest.in" "conftest.in" >"conftest.tmp"
17525 mv "conftest.tmp" "conftest.in"
17526 cp "conftest.in" "conftest.nl"
17527 echo 'EGREP' >> "conftest.nl"
17528 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17529 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17530 ac_count
=`expr $ac_count + 1`
17531 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17532 # Best one so far, save it but keep looking for a better one
17533 ac_cv_path_EGREP
="$ac_path_EGREP"
17534 ac_path_EGREP_max
=$ac_count
17536 # 10*(2^10) chars as input seems more than enough
17537 test $ac_count -gt 10 && break
17539 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17543 $ac_path_EGREP_found && break 3
17553 EGREP
="$ac_cv_path_EGREP"
17554 if test -z "$EGREP"; then
17555 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17556 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17557 { (exit 1); exit 1; }; }
17561 ac_cv_path_EGREP
=$EGREP
17567 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17568 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17569 EGREP
="$ac_cv_path_EGREP"
17572 if test $ac_cv_c_compiler_gnu = yes; then
17573 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17574 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17575 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17576 echo $ECHO_N "(cached) $ECHO_C" >&6
17578 ac_pattern
="Autoconf.*'x'"
17579 cat >conftest.
$ac_ext <<_ACEOF
17582 cat confdefs.h
>>conftest.
$ac_ext
17583 cat >>conftest.
$ac_ext <<_ACEOF
17584 /* end confdefs.h. */
17588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17589 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17590 ac_cv_prog_gcc_traditional
=yes
17592 ac_cv_prog_gcc_traditional
=no
17597 if test $ac_cv_prog_gcc_traditional = no
; then
17598 cat >conftest.
$ac_ext <<_ACEOF
17601 cat confdefs.h
>>conftest.
$ac_ext
17602 cat >>conftest.
$ac_ext <<_ACEOF
17603 /* end confdefs.h. */
17604 #include <termio.h>
17607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17608 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17609 ac_cv_prog_gcc_traditional
=yes
17615 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17616 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17617 if test $ac_cv_prog_gcc_traditional = yes; then
17618 CC
="$CC -traditional"
17623 CXXFLAGS
=${CXXFLAGS:=}
17625 ac_cpp
='$CXXCPP $CPPFLAGS'
17626 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17627 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17628 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17629 if test -z "$CXX"; then
17630 if test -n "$CCC"; then
17633 if test -n "$ac_tool_prefix"; then
17634 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17636 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17637 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17638 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17640 if test "${ac_cv_prog_CXX+set}" = set; then
17641 echo $ECHO_N "(cached) $ECHO_C" >&6
17643 if test -n "$CXX"; then
17644 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17647 for as_dir
in $PATH
17650 test -z "$as_dir" && as_dir
=.
17651 for ac_exec_ext
in '' $ac_executable_extensions; do
17652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17653 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17654 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17663 CXX
=$ac_cv_prog_CXX
17664 if test -n "$CXX"; then
17665 { echo "$as_me:$LINENO: result: $CXX" >&5
17666 echo "${ECHO_T}$CXX" >&6; }
17668 { echo "$as_me:$LINENO: result: no" >&5
17669 echo "${ECHO_T}no" >&6; }
17673 test -n "$CXX" && break
17676 if test -z "$CXX"; then
17678 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17680 # Extract the first word of "$ac_prog", so it can be a program name with args.
17681 set dummy
$ac_prog; ac_word
=$2
17682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17684 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17685 echo $ECHO_N "(cached) $ECHO_C" >&6
17687 if test -n "$ac_ct_CXX"; then
17688 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17691 for as_dir
in $PATH
17694 test -z "$as_dir" && as_dir
=.
17695 for ac_exec_ext
in '' $ac_executable_extensions; do
17696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17697 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17707 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17708 if test -n "$ac_ct_CXX"; then
17709 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17710 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17712 { echo "$as_me:$LINENO: result: no" >&5
17713 echo "${ECHO_T}no" >&6; }
17717 test -n "$ac_ct_CXX" && break
17720 if test "x$ac_ct_CXX" = x
; then
17723 case $cross_compiling:$ac_tool_warned in
17725 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17726 whose name does not start with the host triplet. If you think this
17727 configuration is useful to you, please write to autoconf@gnu.org." >&5
17728 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17729 whose name does not start with the host triplet. If you think this
17730 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17731 ac_tool_warned
=yes ;;
17739 # Provide some information about the compiler.
17740 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17741 ac_compiler
=`set X $ac_compile; echo $2`
17742 { (ac_try
="$ac_compiler --version >&5"
17743 case "(($ac_try" in
17744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17745 *) ac_try_echo=$ac_try;;
17747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17748 (eval "$ac_compiler --version >&5") 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }
17752 { (ac_try="$ac_compiler -v >&5"
17753 case "(($ac_try" in
17754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17755 *) ac_try_echo
=$ac_try;;
17757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17758 (eval "$ac_compiler -v >&5") 2>&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); }
17762 { (ac_try
="$ac_compiler -V >&5"
17763 case "(($ac_try" in
17764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17765 *) ac_try_echo=$ac_try;;
17767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17768 (eval "$ac_compiler -V >&5") 2>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); }
17773 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17774 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17775 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17778 cat >conftest.$ac_ext <<_ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17796 rm -f conftest.$ac_objext
17797 if { (ac_try="$ac_compile"
17798 case "(($ac_try" in
17799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17800 *) ac_try_echo
=$ac_try;;
17802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17803 (eval "$ac_compile") 2>conftest.er1
17805 grep -v '^ *+' conftest.er1
>conftest.err
17807 cat conftest.err
>&5
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); } && {
17810 test -z "$ac_cxx_werror_flag" ||
17811 test ! -s conftest.err
17812 } && test -s conftest.
$ac_objext; then
17813 ac_compiler_gnu
=yes
17815 echo "$as_me: failed program was:" >&5
17816 sed 's/^/| /' conftest.
$ac_ext >&5
17821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17822 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17825 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17826 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17827 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17828 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17829 ac_save_CXXFLAGS
=$CXXFLAGS
17830 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17831 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17832 if test "${ac_cv_prog_cxx_g+set}" = set; then
17833 echo $ECHO_N "(cached) $ECHO_C" >&6
17835 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17836 ac_cxx_werror_flag
=yes
17837 ac_cv_prog_cxx_g
=no
17839 cat >conftest.
$ac_ext <<_ACEOF
17842 cat confdefs.h
>>conftest.
$ac_ext
17843 cat >>conftest.
$ac_ext <<_ACEOF
17844 /* end confdefs.h. */
17854 rm -f conftest.
$ac_objext
17855 if { (ac_try
="$ac_compile"
17856 case "(($ac_try" in
17857 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17858 *) ac_try_echo=$ac_try;;
17860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17861 (eval "$ac_compile") 2>conftest.er1
17863 grep -v '^ *+' conftest.er1 >conftest.err
17865 cat conftest.err >&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } && {
17868 test -z "$ac_cxx_werror_flag" ||
17869 test ! -s conftest.err
17870 } && test -s conftest.$ac_objext; then
17871 ac_cv_prog_cxx_g=yes
17873 echo "$as_me: failed program was:" >&5
17874 sed 's/^/| /' conftest.$ac_ext >&5
17877 cat >conftest.$ac_ext <<_ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17892 rm -f conftest.$ac_objext
17893 if { (ac_try="$ac_compile"
17894 case "(($ac_try" in
17895 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17896 *) ac_try_echo
=$ac_try;;
17898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17899 (eval "$ac_compile") 2>conftest.er1
17901 grep -v '^ *+' conftest.er1
>conftest.err
17903 cat conftest.err
>&5
17904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17905 (exit $ac_status); } && {
17906 test -z "$ac_cxx_werror_flag" ||
17907 test ! -s conftest.err
17908 } && test -s conftest.
$ac_objext; then
17911 echo "$as_me: failed program was:" >&5
17912 sed 's/^/| /' conftest.
$ac_ext >&5
17914 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17916 cat >conftest.
$ac_ext <<_ACEOF
17919 cat confdefs.h
>>conftest.
$ac_ext
17920 cat >>conftest.
$ac_ext <<_ACEOF
17921 /* end confdefs.h. */
17931 rm -f conftest.
$ac_objext
17932 if { (ac_try
="$ac_compile"
17933 case "(($ac_try" in
17934 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17935 *) ac_try_echo=$ac_try;;
17937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17938 (eval "$ac_compile") 2>conftest.er1
17940 grep -v '^ *+' conftest.er1 >conftest.err
17942 cat conftest.err >&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); } && {
17945 test -z "$ac_cxx_werror_flag" ||
17946 test ! -s conftest.err
17947 } && test -s conftest.$ac_objext; then
17948 ac_cv_prog_cxx_g=yes
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.$ac_ext >&5
17956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17963 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17965 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17966 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17967 if test "$ac_test_CXXFLAGS" = set; then
17968 CXXFLAGS=$ac_save_CXXFLAGS
17969 elif test $ac_cv_prog_cxx_g = yes; then
17970 if test "$GXX" = yes; then
17976 if test "$GXX" = yes; then
17983 ac_cpp='$CPP $CPPFLAGS'
17984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17996 ac_cpp='$CXXCPP $CPPFLAGS'
17997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18001 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18002 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18003 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18004 echo $ECHO_N "(cached) $ECHO_C" >&6
18006 cat >conftest.$ac_ext <<_ACEOF
18009 cat confdefs.h >>conftest.$ac_ext
18010 cat >>conftest.$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18017 #ifndef __INTEL_COMPILER
18025 rm -f conftest.$ac_objext
18026 if { (ac_try="$ac_compile"
18027 case "(($ac_try" in
18028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18029 *) ac_try_echo
=$ac_try;;
18031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18032 (eval "$ac_compile") 2>conftest.er1
18034 grep -v '^ *+' conftest.er1
>conftest.err
18036 cat conftest.err
>&5
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); } && {
18039 test -z "$ac_cxx_werror_flag" ||
18040 test ! -s conftest.err
18041 } && test -s conftest.
$ac_objext; then
18042 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
18044 echo "$as_me: failed program was:" >&5
18045 sed 's/^/| /' conftest.
$ac_ext >&5
18047 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
18051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18055 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18056 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18057 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18063 ac_cpp
='$CPP $CPPFLAGS'
18064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18071 if test "$INTELCXX" = "yes"; then
18075 ac_cpp
='$CXXCPP $CPPFLAGS'
18076 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18077 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18078 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18080 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18081 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18082 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 cat >conftest.
$ac_ext <<_ACEOF
18088 cat confdefs.h
>>conftest.
$ac_ext
18089 cat >>conftest.
$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18096 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18104 rm -f conftest.
$ac_objext
18105 if { (ac_try
="$ac_compile"
18106 case "(($ac_try" in
18107 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18108 *) ac_try_echo=$ac_try;;
18110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18111 (eval "$ac_compile") 2>conftest.er1
18113 grep -v '^ *+' conftest.er1 >conftest.err
18115 cat conftest.err >&5
18116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18117 (exit $ac_status); } && {
18118 test -z "$ac_cxx_werror_flag" ||
18119 test ! -s conftest.err
18120 } && test -s conftest.$ac_objext; then
18121 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.$ac_ext >&5
18126 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18134 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18135 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18136 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18142 ac_cpp='$CPP $CPPFLAGS'
18143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18152 ac_cpp='$CXXCPP $CPPFLAGS'
18153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18157 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18158 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18159 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18160 echo $ECHO_N "(cached) $ECHO_C" >&6
18162 cat >conftest.$ac_ext <<_ACEOF
18165 cat confdefs.h >>conftest.$ac_ext
18166 cat >>conftest.$ac_ext <<_ACEOF
18167 /* end confdefs.h. */
18173 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18181 rm -f conftest.$ac_objext
18182 if { (ac_try="$ac_compile"
18183 case "(($ac_try" in
18184 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18185 *) ac_try_echo
=$ac_try;;
18187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18188 (eval "$ac_compile") 2>conftest.er1
18190 grep -v '^ *+' conftest.er1
>conftest.err
18192 cat conftest.err
>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); } && {
18195 test -z "$ac_cxx_werror_flag" ||
18196 test ! -s conftest.err
18197 } && test -s conftest.
$ac_objext; then
18198 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
18200 echo "$as_me: failed program was:" >&5
18201 sed 's/^/| /' conftest.
$ac_ext >&5
18203 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
18207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18211 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18212 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18213 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18219 ac_cpp
='$CPP $CPPFLAGS'
18220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18228 if test "x$GCXX" != "xyes"; then
18229 if test "xCXX" = "xC"; then
18230 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18231 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18232 if test "${bakefile_cv_c_exto+set}" = set; then
18233 echo $ECHO_N "(cached) $ECHO_C" >&6
18235 cat >conftest.
$ac_ext <<_ACEOF
18238 cat confdefs.h
>>conftest.
$ac_ext
18239 cat >>conftest.
$ac_ext <<_ACEOF
18240 /* end confdefs.h. */
18250 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18252 (eval $ac_compile) 2>&5
18254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18255 (exit $ac_status); }; then
18256 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18258 conftest.
$ac_ext.o
)
18259 bakefile_cv_c_exto
="-ext o"
18266 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18267 See \`config.log' for more details." >&5
18268 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18269 See \`config.log' for more details." >&2;}
18270 { (exit 1); exit 1; }; }
18274 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18277 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18278 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18279 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18280 if test "c" = "c"; then
18281 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18283 if test "c" = "cxx"; then
18284 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18288 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18289 unset ac_cv_prog_cc_g
18290 ac_test_CFLAGS
=${CFLAGS+set}
18291 ac_save_CFLAGS
=$CFLAGS
18292 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18293 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18294 if test "${ac_cv_prog_cc_g+set}" = set; then
18295 echo $ECHO_N "(cached) $ECHO_C" >&6
18297 ac_save_c_werror_flag
=$ac_c_werror_flag
18298 ac_c_werror_flag
=yes
18301 cat >conftest.
$ac_ext <<_ACEOF
18304 cat confdefs.h
>>conftest.
$ac_ext
18305 cat >>conftest.
$ac_ext <<_ACEOF
18306 /* end confdefs.h. */
18316 rm -f conftest.
$ac_objext
18317 if { (ac_try
="$ac_compile"
18318 case "(($ac_try" in
18319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18320 *) ac_try_echo=$ac_try;;
18322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18323 (eval "$ac_compile") 2>conftest.er1
18325 grep -v '^ *+' conftest.er1 >conftest.err
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } && {
18330 test -z "$ac_c_werror_flag" ||
18331 test ! -s conftest.err
18332 } && test -s conftest.$ac_objext; then
18333 ac_cv_prog_cc_g=yes
18335 echo "$as_me: failed program was:" >&5
18336 sed 's/^/| /' conftest.$ac_ext >&5
18339 cat >conftest.$ac_ext <<_ACEOF
18342 cat confdefs.h >>conftest.$ac_ext
18343 cat >>conftest.$ac_ext <<_ACEOF
18344 /* end confdefs.h. */
18354 rm -f conftest.$ac_objext
18355 if { (ac_try="$ac_compile"
18356 case "(($ac_try" in
18357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18358 *) ac_try_echo
=$ac_try;;
18360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18361 (eval "$ac_compile") 2>conftest.er1
18363 grep -v '^ *+' conftest.er1
>conftest.err
18365 cat conftest.err
>&5
18366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18367 (exit $ac_status); } && {
18368 test -z "$ac_c_werror_flag" ||
18369 test ! -s conftest.err
18370 } && test -s conftest.
$ac_objext; then
18373 echo "$as_me: failed program was:" >&5
18374 sed 's/^/| /' conftest.
$ac_ext >&5
18376 ac_c_werror_flag
=$ac_save_c_werror_flag
18378 cat >conftest.
$ac_ext <<_ACEOF
18381 cat confdefs.h
>>conftest.
$ac_ext
18382 cat >>conftest.
$ac_ext <<_ACEOF
18383 /* end confdefs.h. */
18393 rm -f conftest.
$ac_objext
18394 if { (ac_try
="$ac_compile"
18395 case "(($ac_try" in
18396 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18397 *) ac_try_echo=$ac_try;;
18399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18400 (eval "$ac_compile") 2>conftest.er1
18402 grep -v '^ *+' conftest.er1 >conftest.err
18404 cat conftest.err >&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } && {
18407 test -z "$ac_c_werror_flag" ||
18408 test ! -s conftest.err
18409 } && test -s conftest.$ac_objext; then
18410 ac_cv_prog_cc_g=yes
18412 echo "$as_me: failed program was:" >&5
18413 sed 's/^/| /' conftest.$ac_ext >&5
18418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 ac_c_werror_flag=$ac_save_c_werror_flag
18427 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18428 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18429 if test "$ac_test_CFLAGS" = set; then
18430 CFLAGS=$ac_save_CFLAGS
18431 elif test $ac_cv_prog_cc_g = yes; then
18432 if test "$GCC" = yes; then
18438 if test "$GCC" = yes; then
18452 ac_cpp='$CXXCPP $CPPFLAGS'
18453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18457 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18458 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18459 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18460 echo $ECHO_N "(cached) $ECHO_C" >&6
18462 cat >conftest.$ac_ext <<_ACEOF
18465 cat confdefs.h >>conftest.$ac_ext
18466 cat >>conftest.$ac_ext <<_ACEOF
18467 /* end confdefs.h. */
18481 rm -f conftest.$ac_objext
18482 if { (ac_try="$ac_compile"
18483 case "(($ac_try" in
18484 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18485 *) ac_try_echo
=$ac_try;;
18487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18488 (eval "$ac_compile") 2>conftest.er1
18490 grep -v '^ *+' conftest.er1
>conftest.err
18492 cat conftest.err
>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); } && {
18495 test -z "$ac_cxx_werror_flag" ||
18496 test ! -s conftest.err
18497 } && test -s conftest.
$ac_objext; then
18498 bakefile_cv_cxx_compiler___xlC__
=yes
18500 echo "$as_me: failed program was:" >&5
18501 sed 's/^/| /' conftest.
$ac_ext >&5
18503 bakefile_cv_cxx_compiler___xlC__
=no
18507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18511 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18512 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18513 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18519 ac_cpp
='$CPP $CPPFLAGS'
18520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18532 ac_cpp
='$CXXCPP $CPPFLAGS'
18533 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18534 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18535 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18537 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18538 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18539 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18540 echo $ECHO_N "(cached) $ECHO_C" >&6
18542 cat >conftest.
$ac_ext <<_ACEOF
18545 cat confdefs.h
>>conftest.
$ac_ext
18546 cat >>conftest.
$ac_ext <<_ACEOF
18547 /* end confdefs.h. */
18561 rm -f conftest.
$ac_objext
18562 if { (ac_try
="$ac_compile"
18563 case "(($ac_try" in
18564 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18565 *) ac_try_echo=$ac_try;;
18567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18568 (eval "$ac_compile") 2>conftest.er1
18570 grep -v '^ *+' conftest.er1 >conftest.err
18572 cat conftest.err >&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); } && {
18575 test -z "$ac_cxx_werror_flag" ||
18576 test ! -s conftest.err
18577 } && test -s conftest.$ac_objext; then
18578 bakefile_cv_cxx_compiler___MWERKS__=yes
18580 echo "$as_me: failed program was:" >&5
18581 sed 's/^/| /' conftest.$ac_ext >&5
18583 bakefile_cv_cxx_compiler___MWERKS__=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18591 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18592 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18593 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18599 ac_cpp='$CPP $CPPFLAGS'
18600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18606 if test "$MWCXX" != "yes"; then
18610 ac_cpp='$CXXCPP $CPPFLAGS'
18611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18615 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18616 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18617 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18620 cat >conftest.$ac_ext <<_ACEOF
18623 cat confdefs.h >>conftest.$ac_ext
18624 cat >>conftest.$ac_ext <<_ACEOF
18625 /* end confdefs.h. */
18639 rm -f conftest.$ac_objext
18640 if { (ac_try="$ac_compile"
18641 case "(($ac_try" in
18642 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18643 *) ac_try_echo
=$ac_try;;
18645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18646 (eval "$ac_compile") 2>conftest.er1
18648 grep -v '^ *+' conftest.er1
>conftest.err
18650 cat conftest.err
>&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } && {
18653 test -z "$ac_cxx_werror_flag" ||
18654 test ! -s conftest.err
18655 } && test -s conftest.
$ac_objext; then
18656 bakefile_cv_cxx_compiler___xlC__
=yes
18658 echo "$as_me: failed program was:" >&5
18659 sed 's/^/| /' conftest.
$ac_ext >&5
18661 bakefile_cv_cxx_compiler___xlC__
=no
18665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18669 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18670 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18671 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18677 ac_cpp
='$CPP $CPPFLAGS'
18678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18691 ac_cpp
='$CXXCPP $CPPFLAGS'
18692 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18693 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18694 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18696 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18697 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18698 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18699 echo $ECHO_N "(cached) $ECHO_C" >&6
18701 cat >conftest.
$ac_ext <<_ACEOF
18704 cat confdefs.h
>>conftest.
$ac_ext
18705 cat >>conftest.
$ac_ext <<_ACEOF
18706 /* end confdefs.h. */
18712 #ifndef _SGI_COMPILER_VERSION
18720 rm -f conftest.
$ac_objext
18721 if { (ac_try
="$ac_compile"
18722 case "(($ac_try" in
18723 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18724 *) ac_try_echo=$ac_try;;
18726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18727 (eval "$ac_compile") 2>conftest.er1
18729 grep -v '^ *+' conftest.er1 >conftest.err
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } && {
18734 test -z "$ac_cxx_werror_flag" ||
18735 test ! -s conftest.err
18736 } && test -s conftest.$ac_objext; then
18737 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18739 echo "$as_me: failed program was:" >&5
18740 sed 's/^/| /' conftest.$ac_ext >&5
18742 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18751 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18752 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18758 ac_cpp='$CPP $CPPFLAGS'
18759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18768 if test "$INTELCXX" != "yes"; then
18772 ac_cpp='$CXXCPP $CPPFLAGS'
18773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18777 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18778 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18779 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18780 echo $ECHO_N "(cached) $ECHO_C" >&6
18782 cat >conftest.$ac_ext <<_ACEOF
18785 cat confdefs.h >>conftest.$ac_ext
18786 cat >>conftest.$ac_ext <<_ACEOF
18787 /* end confdefs.h. */
18793 #ifndef __SUNPRO_CC
18801 rm -f conftest.$ac_objext
18802 if { (ac_try="$ac_compile"
18803 case "(($ac_try" in
18804 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18805 *) ac_try_echo
=$ac_try;;
18807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18808 (eval "$ac_compile") 2>conftest.er1
18810 grep -v '^ *+' conftest.er1
>conftest.err
18812 cat conftest.err
>&5
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); } && {
18815 test -z "$ac_cxx_werror_flag" ||
18816 test ! -s conftest.err
18817 } && test -s conftest.
$ac_objext; then
18818 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18820 echo "$as_me: failed program was:" >&5
18821 sed 's/^/| /' conftest.
$ac_ext >&5
18823 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18831 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18832 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18833 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18839 ac_cpp
='$CPP $CPPFLAGS'
18840 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18841 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18842 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18853 ac_cpp
='$CXXCPP $CPPFLAGS'
18854 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18855 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18856 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18858 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18859 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18860 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18861 echo $ECHO_N "(cached) $ECHO_C" >&6
18863 cat >conftest.
$ac_ext <<_ACEOF
18866 cat confdefs.h
>>conftest.
$ac_ext
18867 cat >>conftest.
$ac_ext <<_ACEOF
18868 /* end confdefs.h. */
18882 rm -f conftest.
$ac_objext
18883 if { (ac_try
="$ac_compile"
18884 case "(($ac_try" in
18885 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18886 *) ac_try_echo=$ac_try;;
18888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18889 (eval "$ac_compile") 2>conftest.er1
18891 grep -v '^ *+' conftest.er1 >conftest.err
18893 cat conftest.err >&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); } && {
18896 test -z "$ac_cxx_werror_flag" ||
18897 test ! -s conftest.err
18898 } && test -s conftest.$ac_objext; then
18899 bakefile_cv_cxx_compiler___HP_aCC=yes
18901 echo "$as_me: failed program was:" >&5
18902 sed 's/^/| /' conftest.$ac_ext >&5
18904 bakefile_cv_cxx_compiler___HP_aCC=no
18908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18912 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18913 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18914 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18920 ac_cpp='$CPP $CPPFLAGS'
18921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18933 ac_cpp='$CXXCPP $CPPFLAGS'
18934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18938 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18939 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18940 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18941 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 cat >conftest.$ac_ext <<_ACEOF
18946 cat confdefs.h >>conftest.$ac_ext
18947 cat >>conftest.$ac_ext <<_ACEOF
18948 /* end confdefs.h. */
18962 rm -f conftest.$ac_objext
18963 if { (ac_try="$ac_compile"
18964 case "(($ac_try" in
18965 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18966 *) ac_try_echo
=$ac_try;;
18968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18969 (eval "$ac_compile") 2>conftest.er1
18971 grep -v '^ *+' conftest.er1
>conftest.err
18973 cat conftest.err
>&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); } && {
18976 test -z "$ac_cxx_werror_flag" ||
18977 test ! -s conftest.err
18978 } && test -s conftest.
$ac_objext; then
18979 bakefile_cv_cxx_compiler___DECCXX
=yes
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.
$ac_ext >&5
18984 bakefile_cv_cxx_compiler___DECCXX
=no
18988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18992 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18993 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18994 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19000 ac_cpp
='$CPP $CPPFLAGS'
19001 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19002 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19003 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19013 ac_cpp
='$CXXCPP $CPPFLAGS'
19014 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19015 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19016 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19018 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19019 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19020 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19021 echo $ECHO_N "(cached) $ECHO_C" >&6
19023 cat >conftest.
$ac_ext <<_ACEOF
19026 cat confdefs.h
>>conftest.
$ac_ext
19027 cat >>conftest.
$ac_ext <<_ACEOF
19028 /* end confdefs.h. */
19034 #ifndef __SUNPRO_CC
19042 rm -f conftest.
$ac_objext
19043 if { (ac_try
="$ac_compile"
19044 case "(($ac_try" in
19045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19046 *) ac_try_echo=$ac_try;;
19048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19049 (eval "$ac_compile") 2>conftest.er1
19051 grep -v '^ *+' conftest.er1 >conftest.err
19053 cat conftest.err >&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); } && {
19056 test -z "$ac_cxx_werror_flag" ||
19057 test ! -s conftest.err
19058 } && test -s conftest.$ac_objext; then
19059 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19061 echo "$as_me: failed program was:" >&5
19062 sed 's/^/| /' conftest.$ac_ext >&5
19064 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19072 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19073 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19074 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19080 ac_cpp='$CPP $CPPFLAGS'
19081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19093 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19094 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19095 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19096 { (exit 1); exit 1; }; }
19099 if test "x$SUNCXX" != xyes; then
19100 if test -n "$ac_tool_prefix"; then
19101 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19102 set dummy ${ac_tool_prefix}ar; ac_word=$2
19103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19105 if test "${ac_cv_prog_AR+set}" = set; then
19106 echo $ECHO_N "(cached) $ECHO_C" >&6
19108 if test -n "$AR"; then
19109 ac_cv_prog_AR="$AR" # Let the user override the test.
19111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19112 for as_dir in $PATH
19115 test -z "$as_dir" && as_dir=.
19116 for ac_exec_ext in '' $ac_executable_extensions; do
19117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19118 ac_cv_prog_AR="${ac_tool_prefix}ar"
19119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19129 if test -n "$AR"; then
19130 { echo "$as_me:$LINENO: result: $AR" >&5
19131 echo "${ECHO_T}$AR" >&6; }
19133 { echo "$as_me:$LINENO: result: no" >&5
19134 echo "${ECHO_T}no" >&6; }
19139 if test -z "$ac_cv_prog_AR"; then
19141 # Extract the first word of "ar", so it can be a program name with args.
19142 set dummy ar; ac_word=$2
19143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19145 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19146 echo $ECHO_N "(cached) $ECHO_C" >&6
19148 if test -n "$ac_ct_AR"; then
19149 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19152 for as_dir in $PATH
19155 test -z "$as_dir" && as_dir=.
19156 for ac_exec_ext in '' $ac_executable_extensions; do
19157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19158 ac_cv_prog_ac_ct_AR="ar"
19159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19168 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19169 if test -n "$ac_ct_AR"; then
19170 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19171 echo "${ECHO_T}$ac_ct_AR" >&6; }
19173 { echo "$as_me:$LINENO: result: no" >&5
19174 echo "${ECHO_T}no" >&6; }
19177 if test "x$ac_ct_AR" = x; then
19180 case $cross_compiling:$ac_tool_warned in
19182 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19183 whose name does not start with the host triplet. If you think this
19184 configuration is useful to you, please write to autoconf@gnu.org." >&5
19185 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19186 whose name does not start with the host triplet. If you think this
19187 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19188 ac_tool_warned=yes ;;
19193 AR="$ac_cv_prog_AR"
19196 if test "x$AR" = "x" ; then
19197 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19198 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19199 { (exit 1); exit 1; }; }
19204 if test "$wxUSE_MAC" = 1; then
19206 retest_macosx_linking=no
19209 if test "x$wxUSE_MAC_ARCH" != xno; then
19210 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
19213 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19214 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19215 # Implicitly turn on the new --with-macosx-sdk using the default
19216 # SDK which provides the behaviour this option has always had.
19217 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19218 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19219 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19220 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19221 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19222 wxUSE_MACOSX_SDK=yes
19225 # Complain to user if he specified an argument to --enable-universal_binary
19226 # and also 1) specified --with-macosx-sdk using the default (yes) or
19227 # 2) specified --with-macosx-sdk using a path or 3) specified
19228 # --without-macosx-sdk (no).
19229 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19230 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19231 See \`config.log
' for more details." >&5
19232 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19233 See \`config.log' for more details.
" >&2;}
19234 { (exit 1); exit 1; }; }
19236 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19237 # special-case the empty string because the below test simply
19238 # converts "no
" to the empty string anyway.
19239 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19240 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
19241 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
19244 OSX_ARCH_OPTS="-arch ppc
-arch i386
"
19245 if test "$wxUSE_OSX_COCOA" = 1; then
19246 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64
"
19248 { echo "$as_me:$LINENO: checking
for universal binary architectures
" >&5
19249 echo $ECHO_N "checking
for universal binary architectures...
$ECHO_C" >&6; }
19250 { echo "$as_me:$LINENO: result
: $OSX_ARCH_OPTS" >&5
19251 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19253 retest_macosx_linking=yes
19255 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
19256 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
19260 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19261 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19262 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19263 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19264 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19266 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
19268 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
19269 # TODO: Search for most recent SDK and use it.
19270 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
19274 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
19275 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
19276 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
19277 if ! test -d "$wxUSE_MACOSX_SDK"; then
19278 { { echo "$as_me:$LINENO: error
: not found
19279 See \
`config.log' for more details." >&5
19280 echo "$as_me: error: not found
19281 See \`config.log
' for more details." >&2;}
19282 { (exit 1); exit 1; }; }
19284 { echo "$as_me:$LINENO: result: exists" >&5
19285 echo "${ECHO_T}exists" >&6; }
19287 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19288 retest_macosx_linking=yes
19291 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19292 wxUSE_MACOSX_VERSION_MIN=
19293 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19294 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19295 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19296 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19298 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/'`
19300 # If that failed, try again with the new key
19301 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19303 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/'`
19307 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19308 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19309 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19310 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19312 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19313 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19314 wxUSE_MACOSX_VERSION_MIN=
19317 wxUSE_MACOSX_VERSION_MIN=
19319 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19320 for ac_prog in sw_vers
19322 # Extract the first word of "$ac_prog", so it can be a program name with args.
19323 set dummy $ac_prog; ac_word=$2
19324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19326 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19329 if test -n "$OSX_SW_VERS"; then
19330 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19333 for as_dir in $PATH
19336 test -z "$as_dir" && as_dir=.
19337 for ac_exec_ext in '' $ac_executable_extensions; do
19338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19339 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19349 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19350 if test -n "$OSX_SW_VERS"; then
19351 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19352 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19354 { echo "$as_me:$LINENO: result: no" >&5
19355 echo "${ECHO_T}no" >&6; }
19359 test -n "$OSX_SW_VERS" && break
19362 if test "$OSX_SW_VERS" != ""; then
19363 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19365 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19366 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19370 case "$OSX_VERSION" in
19372 wxUSE_MACOSX_VERSION_MIN=10.4
19376 if test "$wxUSE_OSX_CARBON" = 1; then
19377 # otherwise configure stops on leopard for universal_binary
19378 wxUSE_MACOSX_VERSION_MIN=10.4
19380 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19381 wxUSE_MACOSX_VERSION_MIN=10.5
19388 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19392 if test "$wxUSE_OSX_CARBON" = 1; then
19396 if test "x$NEEDS_GCC40" == "xyes"; then
19397 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19398 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
19399 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19400 if test "x$CC" = "xgcc"; then
19401 CCVERSION=`$CC --version | grep 4.[2-9].`
19402 if test "x$CCVERSION" != "x"; then
19403 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19408 if test "x$CXX" = "xg++"; then
19409 CCVERSION=`$CXX --version | grep 4.[2-9].`
19410 if test "x$CCVERSION" != "x"; then
19416 if test "x$MACOSX_SDK_OPTS" != "x"; then
19417 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19418 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19419 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19422 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19423 if test "$wxUSE_OSX_IPHONE" = 1; then
19424 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19426 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19428 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19429 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19430 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19431 retest_macosx_linking=yes
19434 if test "x$retest_macosx_linking" = "xyes"; then
19436 ac_cpp='$CPP $CPPFLAGS'
19437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19438 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19441 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19442 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19443 cat >conftest.$ac_ext <<_ACEOF
19446 cat confdefs.h >>conftest.$ac_ext
19447 cat >>conftest.$ac_ext <<_ACEOF
19448 /* end confdefs.h. */
19458 rm -f conftest.$ac_objext conftest$ac_exeext
19459 if { (ac_try="$ac_link"
19460 case "(($ac_try" in
19461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19462 *) ac_try_echo=$ac_try;;
19464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19465 (eval "$ac_link") 2>conftest.er1
19467 grep -v '^
*+' conftest.er1 >conftest.err
19469 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } && {
19472 test -z "$ac_c_werror_flag" ||
19473 test ! -s conftest.err
19474 } && test -s conftest$ac_exeext &&
19475 $as_test_x conftest$ac_exeext; then
19476 { echo "$as_me:$LINENO: result: yes" >&5
19477 echo "${ECHO_T}yes" >&6; }
19479 echo "$as_me: failed program was:" >&5
19480 sed 's
/^
/| /' conftest.$ac_ext >&5
19482 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19483 See \`config.log' for more details.
" >&5
19484 echo "$as_me: error
: no. Try a different SDK
19485 See \
`config.log' for more details." >&2;}
19486 { (exit 1); exit 1; }; }; exit 1
19489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19490 conftest$ac_exeext conftest.$ac_ext
19492 ac_cpp='$CPP $CPPFLAGS'
19493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19499 ac_cpp='$CXXCPP $CPPFLAGS'
19500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19504 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19505 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19506 cat >conftest.$ac_ext <<_ACEOF
19509 cat confdefs.h >>conftest.$ac_ext
19510 cat >>conftest.$ac_ext <<_ACEOF
19511 /* end confdefs.h. */
19521 rm -f conftest.$ac_objext conftest$ac_exeext
19522 if { (ac_try="$ac_link"
19523 case "(($ac_try" in
19524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19525 *) ac_try_echo
=$ac_try;;
19527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19528 (eval "$ac_link") 2>conftest.er1
19530 grep -v '^ *+' conftest.er1
>conftest.err
19532 cat conftest.err
>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } && {
19535 test -z "$ac_cxx_werror_flag" ||
19536 test ! -s conftest.err
19537 } && test -s conftest
$ac_exeext &&
19538 $as_test_x conftest
$ac_exeext; then
19539 { echo "$as_me:$LINENO: result: yes" >&5
19540 echo "${ECHO_T}yes" >&6; }
19542 echo "$as_me: failed program was:" >&5
19543 sed 's/^/| /' conftest.
$ac_ext >&5
19545 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19546 See \`config.log' for more details." >&5
19547 echo "$as_me: error: no. Try a different SDK
19548 See \`config.log' for more details." >&2;}
19549 { (exit 1); exit 1; }; }; exit 1
19552 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19553 conftest
$ac_exeext conftest.
$ac_ext
19555 ac_cpp
='$CPP $CPPFLAGS'
19556 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19557 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19558 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19566 INSTALL_PROGRAM
="cp -fp"
19567 INSTALL_DATA
="cp -fp"
19574 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19575 cat >>confdefs.h
<<\_ACEOF
19576 #define _GNU_SOURCE 1
19580 GNU_SOURCE_FLAG
="-D_GNU_SOURCE"
19581 CFLAGS
="$GNU_SOURCE_FLAG $CFLAGS"
19584 if test "x$USE_AIX" = "x1"; then
19585 if test "x$XLCXX" = "xyes"; then
19586 CXXFLAGS
="-qunique $CXXFLAGS"
19589 CPPFLAGS
="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19593 powerpc
-*-darwin* )
19594 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19595 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19596 cat >conftest.
$ac_ext <<_ACEOF
19599 cat confdefs.h
>>conftest.
$ac_ext
19600 cat >>conftest.
$ac_ext <<_ACEOF
19601 /* end confdefs.h. */
19606 #ifndef __POWERPC__
19607 choke me for lack of PowerPC
19614 rm -f conftest.
$ac_objext
19615 if { (ac_try
="$ac_compile"
19616 case "(($ac_try" in
19617 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19618 *) ac_try_echo=$ac_try;;
19620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19621 (eval "$ac_compile") 2>conftest.er1
19623 grep -v '^ *+' conftest.er1 >conftest.err
19625 cat conftest.err >&5
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); } && {
19628 test -z "$ac_c_werror_flag" ||
19629 test ! -s conftest.err
19630 } && test -s conftest.$ac_objext; then
19631 { echo "$as_me:$LINENO: result: yes" >&5
19632 echo "${ECHO_T}yes" >&6; }
19634 echo "$as_me: failed program was:" >&5
19635 sed 's/^/| /' conftest.$ac_ext >&5
19637 { echo "$as_me:$LINENO: result: no" >&5
19638 echo "${ECHO_T}no" >&6; }
19639 cat >>confdefs.h <<\_ACEOF
19640 #define __POWERPC__ 1
19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19652 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19653 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19654 cat >conftest.$ac_ext <<_ACEOF
19657 cat confdefs.h >>conftest.$ac_ext
19658 cat >>conftest.$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 #include <CoreFoundation/CFBase.h>
19670 rm -f conftest.$ac_objext
19671 if { (ac_try="$ac_compile"
19672 case "(($ac_try" in
19673 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19674 *) ac_try_echo
=$ac_try;;
19676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19677 (eval "$ac_compile") 2>conftest.er1
19679 grep -v '^ *+' conftest.er1
>conftest.err
19681 cat conftest.err
>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); } && {
19684 test -z "$ac_c_werror_flag" ||
19685 test ! -s conftest.err
19686 } && test -s conftest.
$ac_objext; then
19687 { echo "$as_me:$LINENO: result: yes" >&5
19688 echo "${ECHO_T}yes" >&6; }
19690 echo "$as_me: failed program was:" >&5
19691 sed 's/^/| /' conftest.
$ac_ext >&5
19693 { echo "$as_me:$LINENO: result: no" >&5
19694 echo "${ECHO_T}no" >&6; }
19695 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19696 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19697 cat >conftest.
$ac_ext <<_ACEOF
19700 cat confdefs.h
>>conftest.
$ac_ext
19701 cat >>conftest.
$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 #define __CF_USE_FRAMEWORK_INCLUDES__
19704 #include <CoreFoundation/CFBase.h>
19714 rm -f conftest.
$ac_objext
19715 if { (ac_try
="$ac_compile"
19716 case "(($ac_try" in
19717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19718 *) ac_try_echo=$ac_try;;
19720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19721 (eval "$ac_compile") 2>conftest.er1
19723 grep -v '^ *+' conftest.er1 >conftest.err
19725 cat conftest.err >&5
19726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19727 (exit $ac_status); } && {
19728 test -z "$ac_c_werror_flag" ||
19729 test ! -s conftest.err
19730 } && test -s conftest.$ac_objext; then
19731 { echo "$as_me:$LINENO: result: yes" >&5
19732 echo "${ECHO_T}yes" >&6; }
19733 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19735 echo "$as_me: failed program was:" >&5
19736 sed 's/^/| /' conftest.$ac_ext >&5
19738 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19739 See \`config.log
' for more details." >&5
19740 echo "$as_me: error: no. CoreFoundation not available.
19741 See \`config.log' for more details.
" >&2;}
19742 { (exit 1); exit 1; }; }
19746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19756 doesnt_want_win32=0
19759 if test "$wxUSE_MSW" = 1 ; then
19762 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19763 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19764 if test "${wx_cv_nocygwin+set}" = set; then
19765 echo $ECHO_N "(cached
) $ECHO_C" >&6
19768 cat >conftest.$ac_ext <<_ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19787 rm -f conftest.$ac_objext
19788 if { (ac_try="$ac_compile"
19789 case "(($ac_try" in
19790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19791 *) ac_try_echo=$ac_try;;
19793 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19794 (eval "$ac_compile") 2>conftest.er1
19796 grep -v '^ *+' conftest.er1 >conftest.err
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19800 (exit $ac_status); } && {
19801 test -z "$ac_c_werror_flag" ||
19802 test ! -s conftest.err
19803 } && test -s conftest.$ac_objext; then
19806 echo "$as_me: failed program was
:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19818 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19820 if test "$wx_cv_nocygwin" = "yes"; then
19823 doesnt_want_win32=1
19826 if test "$wants_win32" = 1 ; then
19827 BAKEFILE_FORCE_PLATFORM=win32
19835 if test "$wxUSE_WINE" = "yes"; then
19837 LDFLAGS_GUI="-mwindows"
19840 if test "$wants_win32" = 1 ; then
19843 cat >>confdefs.h <<\_ACEOF
19844 #define __WIN32__ 1
19847 cat >>confdefs.h <<\_ACEOF
19848 #define __WIN95__ 1
19851 cat >>confdefs.h <<\_ACEOF
19852 #define __WINDOWS__ 1
19855 cat >>confdefs.h <<\_ACEOF
19856 #define __GNUWIN32__ 1
19859 cat >>confdefs.h <<\_ACEOF
19864 if test "$doesnt_want_win32" = 1 ; then
19869 if test "$USE_UNIX" = 1 ; then
19871 cat >>confdefs.h <<\_ACEOF
19878 *-pc-os2_emx | *-pc-os2-emx )
19879 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19880 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19881 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19882 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19883 echo $ECHO_N "(cached
) $ECHO_C" >&6
19885 ac_check_lib_save_LIBS=$LIBS
19886 LIBS="-lcExt $LIBS"
19887 cat >conftest.$ac_ext <<_ACEOF
19890 cat confdefs.h >>conftest.$ac_ext
19891 cat >>conftest.$ac_ext <<_ACEOF
19892 /* end confdefs.h. */
19894 /* Override any GCC internal prototype to avoid an error.
19895 Use char because int might match the return type of a GCC
19896 builtin and then its argument prototype would still apply. */
19909 rm -f conftest.$ac_objext conftest$ac_exeext
19910 if { (ac_try="$ac_link"
19911 case "(($ac_try" in
19912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19913 *) ac_try_echo=$ac_try;;
19915 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19916 (eval "$ac_link") 2>conftest.er1
19918 grep -v '^ *+' conftest.er1 >conftest.err
19920 cat conftest.err >&5
19921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19922 (exit $ac_status); } && {
19923 test -z "$ac_c_werror_flag" ||
19924 test ! -s conftest.err
19925 } && test -s conftest$ac_exeext &&
19926 $as_test_x conftest$ac_exeext; then
19927 ac_cv_lib_cExt_drand48=yes
19929 echo "$as_me: failed program was
:" >&5
19930 sed 's/^/| /' conftest.$ac_ext >&5
19932 ac_cv_lib_cExt_drand48=no
19935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19936 conftest$ac_exeext conftest.$ac_ext
19937 LIBS=$ac_check_lib_save_LIBS
19939 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19940 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19941 if test $ac_cv_lib_cExt_drand48 = yes; then
19942 LIBS="$LIBS -lcExt"
19946 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19948 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19949 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19950 if test "${wx_cv_gccversion+set}" = set; then
19951 echo $ECHO_N "(cached
) $ECHO_C" >&6
19954 if test "$cross_compiling" = yes; then
19955 wx_cv_gccversion="EMX2
"
19958 cat >conftest.$ac_ext <<_ACEOF
19961 cat confdefs.h >>conftest.$ac_ext
19962 cat >>conftest.$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19969 FILE *f=fopen("conftestval
", "w
");
19974 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19976 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19986 rm -f conftest$ac_exeext
19987 if { (ac_try="$ac_link"
19988 case "(($ac_try" in
19989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19990 *) ac_try_echo=$ac_try;;
19992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19993 (eval "$ac_link") 2>&5
19995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19997 { (case "(($ac_try" in
19998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19999 *) ac_try_echo=$ac_try;;
20001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20002 (eval "$ac_try") 2>&5
20004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20005 (exit $ac_status); }; }; then
20006 wx_cv_gccversion=`cat conftestval`
20008 echo "$as_me: program exited with status
$ac_status" >&5
20009 echo "$as_me: failed program was
:" >&5
20010 sed 's/^/| /' conftest.$ac_ext >&5
20012 ( exit $ac_status )
20013 wx_cv_gccversion="EMX2
"
20015 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20021 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
20022 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20023 if test "$wx_cv_gccversion" = "EMX2
"; then
20024 LIBS="$LIBS -lstdcpp"
20025 LDFLAGS="$LDFLAGS -Zsysv-signals"
20027 if test "$wx_cv_gccversion" = "EMX3
"; then
20028 LIBS="$LIBS -lstdcxx -lgcc"
20029 LDFLAGS="$LDFLAGS -Zsysv-signals"
20031 LIBS="$LIBS -lstdc++"
20034 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
20035 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
20036 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
20043 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
20044 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
20045 if test "${ac_cv_string_strcasecmp+set}" = set; then
20046 echo $ECHO_N "(cached
) $ECHO_C" >&6
20049 cat >conftest.$ac_ext <<_ACEOF
20052 cat confdefs.h >>conftest.$ac_ext
20053 cat >>conftest.$ac_ext <<_ACEOF
20054 /* end confdefs.h. */
20056 #include <string.h>
20062 strcasecmp("foo
", "bar
");
20068 rm -f conftest.$ac_objext conftest$ac_exeext
20069 if { (ac_try="$ac_link"
20070 case "(($ac_try" in
20071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20072 *) ac_try_echo=$ac_try;;
20074 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20075 (eval "$ac_link") 2>conftest.er1
20077 grep -v '^ *+' conftest.er1 >conftest.err
20079 cat conftest.err >&5
20080 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20081 (exit $ac_status); } && {
20082 test -z "$ac_c_werror_flag" ||
20083 test ! -s conftest.err
20084 } && test -s conftest$ac_exeext &&
20085 $as_test_x conftest$ac_exeext; then
20086 ac_cv_string_strcasecmp=yes
20088 echo "$as_me: failed program was
:" >&5
20089 sed 's/^/| /' conftest.$ac_ext >&5
20091 ac_cv_string_strcasecmp=no
20095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20096 conftest$ac_exeext conftest.$ac_ext
20099 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
20100 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20102 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
20103 cat >>confdefs.h <<\_ACEOF
20104 #define HAVE_STRCASECMP_IN_STRING_H 1
20108 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
20109 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
20110 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20111 echo $ECHO_N "(cached
) $ECHO_C" >&6
20114 cat >conftest.$ac_ext <<_ACEOF
20117 cat confdefs.h >>conftest.$ac_ext
20118 cat >>conftest.$ac_ext <<_ACEOF
20119 /* end confdefs.h. */
20121 #include <strings.h>
20127 strcasecmp("foo
", "bar
");
20133 rm -f conftest.$ac_objext conftest$ac_exeext
20134 if { (ac_try="$ac_link"
20135 case "(($ac_try" in
20136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20137 *) ac_try_echo=$ac_try;;
20139 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20140 (eval "$ac_link") 2>conftest.er1
20142 grep -v '^ *+' conftest.er1 >conftest.err
20144 cat conftest.err >&5
20145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20146 (exit $ac_status); } && {
20147 test -z "$ac_c_werror_flag" ||
20148 test ! -s conftest.err
20149 } && test -s conftest$ac_exeext &&
20150 $as_test_x conftest$ac_exeext; then
20151 ac_cv_strings_strcasecmp=yes
20153 echo "$as_me: failed program was
:" >&5
20154 sed 's/^/| /' conftest.$ac_ext >&5
20156 ac_cv_strings_strcasecmp=no
20160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20161 conftest$ac_exeext conftest.$ac_ext
20164 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
20165 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20167 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
20168 cat >>confdefs.h <<\_ACEOF
20169 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20173 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
20174 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
20175 { (exit 1); exit 1; }; }
20183 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
20184 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
20185 if test "${ac_cv_header_stdc+set}" = set; then
20186 echo $ECHO_N "(cached
) $ECHO_C" >&6
20188 cat >conftest.$ac_ext <<_ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 #include <stdlib.h>
20195 #include <stdarg.h>
20196 #include <string.h>
20207 rm -f conftest.$ac_objext
20208 if { (ac_try="$ac_compile"
20209 case "(($ac_try" in
20210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20211 *) ac_try_echo=$ac_try;;
20213 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20214 (eval "$ac_compile") 2>conftest.er1
20216 grep -v '^ *+' conftest.er1 >conftest.err
20218 cat conftest.err >&5
20219 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20220 (exit $ac_status); } && {
20221 test -z "$ac_c_werror_flag" ||
20222 test ! -s conftest.err
20223 } && test -s conftest.$ac_objext; then
20224 ac_cv_header_stdc=yes
20226 echo "$as_me: failed program was
:" >&5
20227 sed 's/^/| /' conftest.$ac_ext >&5
20229 ac_cv_header_stdc=no
20232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20234 if test $ac_cv_header_stdc = yes; then
20235 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20236 cat >conftest.$ac_ext <<_ACEOF
20239 cat confdefs.h >>conftest.$ac_ext
20240 cat >>conftest.$ac_ext <<_ACEOF
20241 /* end confdefs.h. */
20242 #include <string.h>
20245 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20246 $EGREP "memchr
" >/dev/null 2>&1; then
20249 ac_cv_header_stdc=no
20255 if test $ac_cv_header_stdc = yes; then
20256 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20257 cat >conftest.$ac_ext <<_ACEOF
20260 cat confdefs.h >>conftest.$ac_ext
20261 cat >>conftest.$ac_ext <<_ACEOF
20262 /* end confdefs.h. */
20263 #include <stdlib.h>
20266 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20267 $EGREP "free
" >/dev/null 2>&1; then
20270 ac_cv_header_stdc=no
20276 if test $ac_cv_header_stdc = yes; then
20277 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20278 if test "$cross_compiling" = yes; then
20281 cat >conftest.$ac_ext <<_ACEOF
20284 cat confdefs.h >>conftest.$ac_ext
20285 cat >>conftest.$ac_ext <<_ACEOF
20286 /* end confdefs.h. */
20288 #include <stdlib.h>
20289 #if ((' ' & 0x0FF) == 0x020)
20290 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20291 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20293 # define ISLOWER(c) \
20294 (('a' <= (c) && (c) <= 'i') \
20295 || ('j' <= (c) && (c) <= 'r') \
20296 || ('s' <= (c) && (c) <= 'z'))
20297 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20300 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20305 for (i = 0; i < 256; i++)
20306 if (XOR (islower (i), ISLOWER (i))
20307 || toupper (i) != TOUPPER (i))
20312 rm -f conftest$ac_exeext
20313 if { (ac_try="$ac_link"
20314 case "(($ac_try" in
20315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20316 *) ac_try_echo=$ac_try;;
20318 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20319 (eval "$ac_link") 2>&5
20321 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20323 { (case "(($ac_try" in
20324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20325 *) ac_try_echo=$ac_try;;
20327 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20328 (eval "$ac_try") 2>&5
20330 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20331 (exit $ac_status); }; }; then
20334 echo "$as_me: program exited with status
$ac_status" >&5
20335 echo "$as_me: failed program was
:" >&5
20336 sed 's/^/| /' conftest.$ac_ext >&5
20338 ( exit $ac_status )
20339 ac_cv_header_stdc=no
20341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20347 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
20348 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20349 if test $ac_cv_header_stdc = yes; then
20351 cat >>confdefs.h <<\_ACEOF
20352 #define STDC_HEADERS 1
20357 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20367 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20368 inttypes.h stdint.h unistd.h
20370 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20371 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20372 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20373 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20374 echo $ECHO_N "(cached
) $ECHO_C" >&6
20376 cat >conftest.$ac_ext <<_ACEOF
20379 cat confdefs.h >>conftest.$ac_ext
20380 cat >>conftest.$ac_ext <<_ACEOF
20381 /* end confdefs.h. */
20382 $ac_includes_default
20384 #include <$ac_header>
20386 rm -f conftest.$ac_objext
20387 if { (ac_try="$ac_compile"
20388 case "(($ac_try" in
20389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20390 *) ac_try_echo=$ac_try;;
20392 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20393 (eval "$ac_compile") 2>conftest.er1
20395 grep -v '^ *+' conftest.er1 >conftest.err
20397 cat conftest.err >&5
20398 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20399 (exit $ac_status); } && {
20400 test -z "$ac_c_werror_flag" ||
20401 test ! -s conftest.err
20402 } && test -s conftest.$ac_objext; then
20403 eval "$as_ac_Header=yes"
20405 echo "$as_me: failed program was
:" >&5
20406 sed 's/^/| /' conftest.$ac_ext >&5
20408 eval "$as_ac_Header=no
"
20411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20413 ac_res=`eval echo '${'$as_ac_Header'}'`
20414 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20415 echo "${ECHO_T}$ac_res" >&6; }
20416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20417 cat >>confdefs.h <<_ACEOF
20418 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20428 for ac_header in langinfo.h wchar.h
20430 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20431 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20432 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20433 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20434 echo $ECHO_N "(cached
) $ECHO_C" >&6
20436 cat >conftest.$ac_ext <<_ACEOF
20439 cat confdefs.h >>conftest.$ac_ext
20440 cat >>conftest.$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20442 $ac_includes_default
20444 #include <$ac_header>
20446 rm -f conftest.$ac_objext
20447 if { (ac_try="$ac_compile"
20448 case "(($ac_try" in
20449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20450 *) ac_try_echo=$ac_try;;
20452 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20453 (eval "$ac_compile") 2>conftest.er1
20455 grep -v '^ *+' conftest.er1 >conftest.err
20457 cat conftest.err >&5
20458 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20459 (exit $ac_status); } && {
20460 test -z "$ac_c_werror_flag" ||
20461 test ! -s conftest.err
20462 } && test -s conftest.$ac_objext; then
20463 eval "$as_ac_Header=yes"
20465 echo "$as_me: failed program was
:" >&5
20466 sed 's/^/| /' conftest.$ac_ext >&5
20468 eval "$as_ac_Header=no
"
20471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20473 ac_res=`eval echo '${'$as_ac_Header'}'`
20474 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20475 echo "${ECHO_T}$ac_res" >&6; }
20476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20477 cat >>confdefs.h <<_ACEOF
20478 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20486 if test "$ac_cv_header_wchar_h" != "yes"; then
20488 for ac_header in wcstr.h
20490 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20491 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20492 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20493 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20494 echo $ECHO_N "(cached
) $ECHO_C" >&6
20496 cat >conftest.$ac_ext <<_ACEOF
20499 cat confdefs.h >>conftest.$ac_ext
20500 cat >>conftest.$ac_ext <<_ACEOF
20501 /* end confdefs.h. */
20502 $ac_includes_default
20504 #include <$ac_header>
20506 rm -f conftest.$ac_objext
20507 if { (ac_try="$ac_compile"
20508 case "(($ac_try" in
20509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20510 *) ac_try_echo=$ac_try;;
20512 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20513 (eval "$ac_compile") 2>conftest.er1
20515 grep -v '^ *+' conftest.er1 >conftest.err
20517 cat conftest.err >&5
20518 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20519 (exit $ac_status); } && {
20520 test -z "$ac_c_werror_flag" ||
20521 test ! -s conftest.err
20522 } && test -s conftest.$ac_objext; then
20523 eval "$as_ac_Header=yes"
20525 echo "$as_me: failed program was
:" >&5
20526 sed 's/^/| /' conftest.$ac_ext >&5
20528 eval "$as_ac_Header=no
"
20531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20533 ac_res=`eval echo '${'$as_ac_Header'}'`
20534 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20535 echo "${ECHO_T}$ac_res" >&6; }
20536 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20537 cat >>confdefs.h <<_ACEOF
20538 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20548 *-pc-os2_emx | *-pc-os2-emx )
20549 if test $ac_cv_header_langinfo_h = "yes" \
20550 -a \( "$wx_cv_gccversion" = "EMX2
" \
20551 -o "$wx_cv_gccversion" = "EMX3
" \
20552 -o "$wx_cv_gccversion" = "Innotek5
" \); then
20553 LIBS="$LIBS -lintl"
20558 if test "$USE_UNIX" = 1 ; then
20560 for ac_header in sys/select.h
20562 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20563 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20564 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20565 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20566 echo $ECHO_N "(cached
) $ECHO_C" >&6
20568 cat >conftest.$ac_ext <<_ACEOF
20571 cat confdefs.h >>conftest.$ac_ext
20572 cat >>conftest.$ac_ext <<_ACEOF
20573 /* end confdefs.h. */
20574 $ac_includes_default
20576 #include <$ac_header>
20578 rm -f conftest.$ac_objext
20579 if { (ac_try="$ac_compile"
20580 case "(($ac_try" in
20581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20582 *) ac_try_echo=$ac_try;;
20584 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20585 (eval "$ac_compile") 2>conftest.er1
20587 grep -v '^ *+' conftest.er1 >conftest.err
20589 cat conftest.err >&5
20590 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20591 (exit $ac_status); } && {
20592 test -z "$ac_c_werror_flag" ||
20593 test ! -s conftest.err
20594 } && test -s conftest.$ac_objext; then
20595 eval "$as_ac_Header=yes"
20597 echo "$as_me: failed program was
:" >&5
20598 sed 's/^/| /' conftest.$ac_ext >&5
20600 eval "$as_ac_Header=no
"
20603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20605 ac_res=`eval echo '${'$as_ac_Header'}'`
20606 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20607 echo "${ECHO_T}$ac_res" >&6; }
20608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20609 cat >>confdefs.h <<_ACEOF
20610 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20620 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
20621 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
20622 if test "${ac_cv_c_const+set}" = set; then
20623 echo $ECHO_N "(cached
) $ECHO_C" >&6
20625 cat >conftest.$ac_ext <<_ACEOF
20628 cat confdefs.h >>conftest.$ac_ext
20629 cat >>conftest.$ac_ext <<_ACEOF
20630 /* end confdefs.h. */
20635 /* FIXME: Include the comments suggested by Paul. */
20636 #ifndef __cplusplus
20637 /* Ultrix mips cc rejects this. */
20638 typedef int charset[2];
20640 /* SunOS 4.1.1 cc rejects this. */
20641 char const *const *pcpcc;
20643 /* NEC SVR4.0.2 mips cc rejects this. */
20644 struct point {int x, y;};
20645 static struct point const zero = {0,0};
20646 /* AIX XL C 1.02.0.0 rejects this.
20647 It does not let you subtract one const X* pointer from another in
20648 an arm of an if-expression whose if-part is not a constant
20650 const char *g = "string
";
20651 pcpcc = &g + (g ? g-g : 0);
20652 /* HPUX 7.0 cc rejects these. */
20654 ppc = (char**) pcpcc;
20655 pcpcc = (char const *const *) ppc;
20656 { /* SCO 3.2v4 cc rejects this. */
20658 char const *s = 0 ? (char *) 0 : (char const *) 0;
20663 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20664 int x[] = {25, 17};
20665 const int *foo = &x[0];
20668 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20669 typedef const int *iptr;
20673 { /* AIX XL C 1.02.0.0 rejects this saying
20674 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20675 struct s { int j; const int *ap[3]; };
20676 struct s *b; b->j = 5;
20678 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20679 const int foo = 10;
20680 if (!foo) return 0;
20682 return !cs[0] && !zero.x;
20689 rm -f conftest.$ac_objext
20690 if { (ac_try="$ac_compile"
20691 case "(($ac_try" in
20692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20693 *) ac_try_echo=$ac_try;;
20695 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20696 (eval "$ac_compile") 2>conftest.er1
20698 grep -v '^ *+' conftest.er1 >conftest.err
20700 cat conftest.err >&5
20701 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20702 (exit $ac_status); } && {
20703 test -z "$ac_c_werror_flag" ||
20704 test ! -s conftest.err
20705 } && test -s conftest.$ac_objext; then
20708 echo "$as_me: failed program was
:" >&5
20709 sed 's/^/| /' conftest.$ac_ext >&5
20714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20716 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20717 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20718 if test $ac_cv_c_const = no; then
20720 cat >>confdefs.h <<\_ACEOF
20726 { echo "$as_me:$LINENO: checking
for inline
" >&5
20727 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20728 if test "${ac_cv_c_inline+set}" = set; then
20729 echo $ECHO_N "(cached
) $ECHO_C" >&6
20732 for ac_kw in inline __inline__ __inline; do
20733 cat >conftest.$ac_ext <<_ACEOF
20736 cat confdefs.h >>conftest.$ac_ext
20737 cat >>conftest.$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 #ifndef __cplusplus
20741 static $ac_kw foo_t static_foo () {return 0; }
20742 $ac_kw foo_t foo () {return 0; }
20746 rm -f conftest.$ac_objext
20747 if { (ac_try="$ac_compile"
20748 case "(($ac_try" in
20749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20750 *) ac_try_echo=$ac_try;;
20752 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20753 (eval "$ac_compile") 2>conftest.er1
20755 grep -v '^ *+' conftest.er1 >conftest.err
20757 cat conftest.err >&5
20758 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20759 (exit $ac_status); } && {
20760 test -z "$ac_c_werror_flag" ||
20761 test ! -s conftest.err
20762 } && test -s conftest.$ac_objext; then
20763 ac_cv_c_inline=$ac_kw
20765 echo "$as_me: failed program was
:" >&5
20766 sed 's/^/| /' conftest.$ac_ext >&5
20771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20772 test "$ac_cv_c_inline" != no && break
20776 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20777 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20780 case $ac_cv_c_inline in
20783 case $ac_cv_c_inline in
20785 *) ac_val=$ac_cv_c_inline;;
20787 cat >>confdefs.h <<_ACEOF
20788 #ifndef __cplusplus
20789 #define inline $ac_val
20796 { echo "$as_me:$LINENO: checking
for short
" >&5
20797 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20798 if test "${ac_cv_type_short+set}" = set; then
20799 echo $ECHO_N "(cached
) $ECHO_C" >&6
20801 cat >conftest.$ac_ext <<_ACEOF
20804 cat confdefs.h >>conftest.$ac_ext
20805 cat >>conftest.$ac_ext <<_ACEOF
20806 /* end confdefs.h. */
20807 $ac_includes_default
20808 typedef short ac__type_new_;
20812 if ((ac__type_new_ *) 0)
20814 if (sizeof (ac__type_new_))
20820 rm -f conftest.$ac_objext
20821 if { (ac_try="$ac_compile"
20822 case "(($ac_try" in
20823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20824 *) ac_try_echo=$ac_try;;
20826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20827 (eval "$ac_compile") 2>conftest.er1
20829 grep -v '^ *+' conftest.er1 >conftest.err
20831 cat conftest.err >&5
20832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20833 (exit $ac_status); } && {
20834 test -z "$ac_c_werror_flag" ||
20835 test ! -s conftest.err
20836 } && test -s conftest.$ac_objext; then
20837 ac_cv_type_short=yes
20839 echo "$as_me: failed program was
:" >&5
20840 sed 's/^/| /' conftest.$ac_ext >&5
20842 ac_cv_type_short=no
20845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20847 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20848 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20850 # The cast to long int works around a bug in the HP C Compiler
20851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20853 # This bug is HP SR number 8606223364.
20854 { echo "$as_me:$LINENO: checking size of short
" >&5
20855 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20856 if test "${ac_cv_sizeof_short+set}" = set; then
20857 echo $ECHO_N "(cached
) $ECHO_C" >&6
20859 if test "$cross_compiling" = yes; then
20860 # Depending upon the size, compute the lo and hi bounds.
20861 cat >conftest.$ac_ext <<_ACEOF
20864 cat confdefs.h >>conftest.$ac_ext
20865 cat >>conftest.$ac_ext <<_ACEOF
20866 /* end confdefs.h. */
20867 $ac_includes_default
20868 typedef short ac__type_sizeof_;
20872 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20879 rm -f conftest.$ac_objext
20880 if { (ac_try="$ac_compile"
20881 case "(($ac_try" in
20882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20883 *) ac_try_echo=$ac_try;;
20885 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20886 (eval "$ac_compile") 2>conftest.er1
20888 grep -v '^ *+' conftest.er1 >conftest.err
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20892 (exit $ac_status); } && {
20893 test -z "$ac_c_werror_flag" ||
20894 test ! -s conftest.err
20895 } && test -s conftest.$ac_objext; then
20898 cat >conftest.$ac_ext <<_ACEOF
20901 cat confdefs.h >>conftest.$ac_ext
20902 cat >>conftest.$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20904 $ac_includes_default
20905 typedef short ac__type_sizeof_;
20909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20916 rm -f conftest.$ac_objext
20917 if { (ac_try="$ac_compile"
20918 case "(($ac_try" in
20919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20922 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_compile") 2>conftest.er1
20925 grep -v '^ *+' conftest.er1 >conftest.err
20927 cat conftest.err >&5
20928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20929 (exit $ac_status); } && {
20930 test -z "$ac_c_werror_flag" ||
20931 test ! -s conftest.err
20932 } && test -s conftest.$ac_objext; then
20933 ac_hi=$ac_mid; break
20935 echo "$as_me: failed program was
:" >&5
20936 sed 's/^/| /' conftest.$ac_ext >&5
20938 ac_lo=`expr $ac_mid + 1`
20939 if test $ac_lo -le $ac_mid; then
20943 ac_mid=`expr 2 '*' $ac_mid + 1`
20946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20949 echo "$as_me: failed program was
:" >&5
20950 sed 's/^/| /' conftest.$ac_ext >&5
20952 cat >conftest.$ac_ext <<_ACEOF
20955 cat confdefs.h >>conftest.$ac_ext
20956 cat >>conftest.$ac_ext <<_ACEOF
20957 /* end confdefs.h. */
20958 $ac_includes_default
20959 typedef short ac__type_sizeof_;
20963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20970 rm -f conftest.$ac_objext
20971 if { (ac_try="$ac_compile"
20972 case "(($ac_try" in
20973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20974 *) ac_try_echo=$ac_try;;
20976 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20977 (eval "$ac_compile") 2>conftest.er1
20979 grep -v '^ *+' conftest.er1 >conftest.err
20981 cat conftest.err >&5
20982 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20983 (exit $ac_status); } && {
20984 test -z "$ac_c_werror_flag" ||
20985 test ! -s conftest.err
20986 } && test -s conftest.$ac_objext; then
20989 cat >conftest.$ac_ext <<_ACEOF
20992 cat confdefs.h >>conftest.$ac_ext
20993 cat >>conftest.$ac_ext <<_ACEOF
20994 /* end confdefs.h. */
20995 $ac_includes_default
20996 typedef short ac__type_sizeof_;
21000 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21007 rm -f conftest.$ac_objext
21008 if { (ac_try="$ac_compile"
21009 case "(($ac_try" in
21010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21011 *) ac_try_echo=$ac_try;;
21013 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21014 (eval "$ac_compile") 2>conftest.er1
21016 grep -v '^ *+' conftest.er1 >conftest.err
21018 cat conftest.err >&5
21019 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21020 (exit $ac_status); } && {
21021 test -z "$ac_c_werror_flag" ||
21022 test ! -s conftest.err
21023 } && test -s conftest.$ac_objext; then
21024 ac_lo=$ac_mid; break
21026 echo "$as_me: failed program was
:" >&5
21027 sed 's/^/| /' conftest.$ac_ext >&5
21029 ac_hi=`expr '(' $ac_mid ')' - 1`
21030 if test $ac_mid -le $ac_hi; then
21034 ac_mid=`expr 2 '*' $ac_mid`
21037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21040 echo "$as_me: failed program was
:" >&5
21041 sed 's/^/| /' conftest.$ac_ext >&5
21046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21050 # Binary search between lo and hi bounds.
21051 while test "x
$ac_lo" != "x
$ac_hi"; do
21052 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21053 cat >conftest.$ac_ext <<_ACEOF
21056 cat confdefs.h >>conftest.$ac_ext
21057 cat >>conftest.$ac_ext <<_ACEOF
21058 /* end confdefs.h. */
21059 $ac_includes_default
21060 typedef short ac__type_sizeof_;
21064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21071 rm -f conftest.$ac_objext
21072 if { (ac_try="$ac_compile"
21073 case "(($ac_try" in
21074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21075 *) ac_try_echo=$ac_try;;
21077 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21078 (eval "$ac_compile") 2>conftest.er1
21080 grep -v '^ *+' conftest.er1 >conftest.err
21082 cat conftest.err >&5
21083 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21084 (exit $ac_status); } && {
21085 test -z "$ac_c_werror_flag" ||
21086 test ! -s conftest.err
21087 } && test -s conftest.$ac_objext; then
21090 echo "$as_me: failed program was
:" >&5
21091 sed 's/^/| /' conftest.$ac_ext >&5
21093 ac_lo=`expr '(' $ac_mid ')' + 1`
21096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099 ?*) ac_cv_sizeof_short=$ac_lo;;
21100 '') if test "$ac_cv_type_short" = yes; then
21101 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
21102 See \
`config.log' for more details." >&5
21103 echo "$as_me: error: cannot compute sizeof (short)
21104 See \`config.log
' for more details." >&2;}
21105 { (exit 77); exit 77; }; }
21107 ac_cv_sizeof_short=0
21111 cat >conftest.$ac_ext <<_ACEOF
21114 cat confdefs.h >>conftest.$ac_ext
21115 cat >>conftest.$ac_ext <<_ACEOF
21116 /* end confdefs.h. */
21117 $ac_includes_default
21118 typedef short ac__type_sizeof_;
21119 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21120 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21122 #include <stdlib.h>
21127 FILE *f = fopen ("conftest.val", "w");
21130 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21132 long int i = longval ();
21133 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21135 fprintf (f, "%ld\n", i);
21139 unsigned long int i = ulongval ();
21140 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21142 fprintf (f, "%lu\n", i);
21144 return ferror (f) || fclose (f) != 0;
21150 rm -f conftest$ac_exeext
21151 if { (ac_try="$ac_link"
21152 case "(($ac_try" in
21153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_link") 2>&5
21159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21160 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
21161 { (case "(($ac_try" in
21162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21166 (eval "$ac_try") 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; }; then
21170 ac_cv_sizeof_short=`cat conftest.val`
21172 echo "$as_me: program exited with status $ac_status" >&5
21173 echo "$as_me: failed program was:" >&5
21174 sed 's
/^
/| /' conftest.$ac_ext >&5
21176 ( exit $ac_status )
21177 if test "$ac_cv_type_short" = yes; then
21178 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21179 See \`config.log' for more details.
" >&5
21180 echo "$as_me: error
: cannot compute sizeof
(short
)
21181 See \
`config.log' for more details." >&2;}
21182 { (exit 77); exit 77; }; }
21184 ac_cv_sizeof_short=0
21187 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21191 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21192 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21196 cat >>confdefs.h <<_ACEOF
21197 #define SIZEOF_SHORT $ac_cv_sizeof_short
21201 { echo "$as_me:$LINENO: checking for void *" >&5
21202 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21203 if test "${ac_cv_type_void_p+set}" = set; then
21204 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 cat >conftest.$ac_ext <<_ACEOF
21209 cat confdefs.h >>conftest.$ac_ext
21210 cat >>conftest.$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21212 $ac_includes_default
21213 typedef void * ac__type_new_;
21217 if ((ac__type_new_ *) 0)
21219 if (sizeof (ac__type_new_))
21225 rm -f conftest.$ac_objext
21226 if { (ac_try="$ac_compile"
21227 case "(($ac_try" in
21228 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21229 *) ac_try_echo
=$ac_try;;
21231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21232 (eval "$ac_compile") 2>conftest.er1
21234 grep -v '^ *+' conftest.er1
>conftest.err
21236 cat conftest.err
>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); } && {
21239 test -z "$ac_c_werror_flag" ||
21240 test ! -s conftest.err
21241 } && test -s conftest.
$ac_objext; then
21242 ac_cv_type_void_p
=yes
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.
$ac_ext >&5
21247 ac_cv_type_void_p
=no
21250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21252 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21253 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21255 # The cast to long int works around a bug in the HP C Compiler
21256 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21257 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21258 # This bug is HP SR number 8606223364.
21259 { echo "$as_me:$LINENO: checking size of void *" >&5
21260 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21261 if test "${ac_cv_sizeof_void_p+set}" = set; then
21262 echo $ECHO_N "(cached) $ECHO_C" >&6
21264 if test "$cross_compiling" = yes; then
21265 # Depending upon the size, compute the lo and hi bounds.
21266 cat >conftest.
$ac_ext <<_ACEOF
21269 cat confdefs.h
>>conftest.
$ac_ext
21270 cat >>conftest.
$ac_ext <<_ACEOF
21271 /* end confdefs.h. */
21272 $ac_includes_default
21273 typedef void * ac__type_sizeof_;
21277 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21284 rm -f conftest.
$ac_objext
21285 if { (ac_try
="$ac_compile"
21286 case "(($ac_try" in
21287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21288 *) ac_try_echo=$ac_try;;
21290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21291 (eval "$ac_compile") 2>conftest.er1
21293 grep -v '^ *+' conftest.er1 >conftest.err
21295 cat conftest.err >&5
21296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21297 (exit $ac_status); } && {
21298 test -z "$ac_c_werror_flag" ||
21299 test ! -s conftest.err
21300 } && test -s conftest.$ac_objext; then
21303 cat >conftest.$ac_ext <<_ACEOF
21306 cat confdefs.h >>conftest.$ac_ext
21307 cat >>conftest.$ac_ext <<_ACEOF
21308 /* end confdefs.h. */
21309 $ac_includes_default
21310 typedef void * ac__type_sizeof_;
21314 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21321 rm -f conftest.$ac_objext
21322 if { (ac_try="$ac_compile"
21323 case "(($ac_try" in
21324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21325 *) ac_try_echo
=$ac_try;;
21327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21328 (eval "$ac_compile") 2>conftest.er1
21330 grep -v '^ *+' conftest.er1
>conftest.err
21332 cat conftest.err
>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); } && {
21335 test -z "$ac_c_werror_flag" ||
21336 test ! -s conftest.err
21337 } && test -s conftest.
$ac_objext; then
21338 ac_hi
=$ac_mid; break
21340 echo "$as_me: failed program was:" >&5
21341 sed 's/^/| /' conftest.
$ac_ext >&5
21343 ac_lo
=`expr $ac_mid + 1`
21344 if test $ac_lo -le $ac_mid; then
21348 ac_mid
=`expr 2 '*' $ac_mid + 1`
21351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.
$ac_ext >&5
21357 cat >conftest.
$ac_ext <<_ACEOF
21360 cat confdefs.h
>>conftest.
$ac_ext
21361 cat >>conftest.
$ac_ext <<_ACEOF
21362 /* end confdefs.h. */
21363 $ac_includes_default
21364 typedef void * ac__type_sizeof_;
21368 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21375 rm -f conftest.
$ac_objext
21376 if { (ac_try
="$ac_compile"
21377 case "(($ac_try" in
21378 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21379 *) ac_try_echo=$ac_try;;
21381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21382 (eval "$ac_compile") 2>conftest.er1
21384 grep -v '^ *+' conftest.er1 >conftest.err
21386 cat conftest.err >&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); } && {
21389 test -z "$ac_c_werror_flag" ||
21390 test ! -s conftest.err
21391 } && test -s conftest.$ac_objext; then
21394 cat >conftest.$ac_ext <<_ACEOF
21397 cat confdefs.h >>conftest.$ac_ext
21398 cat >>conftest.$ac_ext <<_ACEOF
21399 /* end confdefs.h. */
21400 $ac_includes_default
21401 typedef void * ac__type_sizeof_;
21405 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21412 rm -f conftest.$ac_objext
21413 if { (ac_try="$ac_compile"
21414 case "(($ac_try" in
21415 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21416 *) ac_try_echo
=$ac_try;;
21418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21419 (eval "$ac_compile") 2>conftest.er1
21421 grep -v '^ *+' conftest.er1
>conftest.err
21423 cat conftest.err
>&5
21424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21425 (exit $ac_status); } && {
21426 test -z "$ac_c_werror_flag" ||
21427 test ! -s conftest.err
21428 } && test -s conftest.
$ac_objext; then
21429 ac_lo
=$ac_mid; break
21431 echo "$as_me: failed program was:" >&5
21432 sed 's/^/| /' conftest.
$ac_ext >&5
21434 ac_hi
=`expr '(' $ac_mid ')' - 1`
21435 if test $ac_mid -le $ac_hi; then
21439 ac_mid
=`expr 2 '*' $ac_mid`
21442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.
$ac_ext >&5
21451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21455 # Binary search between lo and hi bounds.
21456 while test "x$ac_lo" != "x$ac_hi"; do
21457 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21458 cat >conftest.
$ac_ext <<_ACEOF
21461 cat confdefs.h
>>conftest.
$ac_ext
21462 cat >>conftest.
$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 $ac_includes_default
21465 typedef void * ac__type_sizeof_;
21469 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21476 rm -f conftest.
$ac_objext
21477 if { (ac_try
="$ac_compile"
21478 case "(($ac_try" in
21479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21480 *) ac_try_echo=$ac_try;;
21482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21483 (eval "$ac_compile") 2>conftest.er1
21485 grep -v '^ *+' conftest.er1 >conftest.err
21487 cat conftest.err >&5
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); } && {
21490 test -z "$ac_c_werror_flag" ||
21491 test ! -s conftest.err
21492 } && test -s conftest.$ac_objext; then
21495 echo "$as_me: failed program was:" >&5
21496 sed 's/^/| /' conftest.$ac_ext >&5
21498 ac_lo=`expr '(' $ac_mid ')' + 1`
21501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21504 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21505 '') if test "$ac_cv_type_void_p" = yes; then
21506 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21507 See \`config.log
' for more details." >&5
21508 echo "$as_me: error: cannot compute sizeof (void *)
21509 See \`config.log' for more details.
" >&2;}
21510 { (exit 77); exit 77; }; }
21512 ac_cv_sizeof_void_p=0
21516 cat >conftest.$ac_ext <<_ACEOF
21519 cat confdefs.h >>conftest.$ac_ext
21520 cat >>conftest.$ac_ext <<_ACEOF
21521 /* end confdefs.h. */
21522 $ac_includes_default
21523 typedef void * ac__type_sizeof_;
21524 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21525 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21527 #include <stdlib.h>
21532 FILE *f = fopen ("conftest.val
", "w
");
21535 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21537 long int i = longval ();
21538 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21540 fprintf (f, "%ld
\n", i);
21544 unsigned long int i = ulongval ();
21545 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21547 fprintf (f, "%lu
\n", i);
21549 return ferror (f) || fclose (f) != 0;
21555 rm -f conftest$ac_exeext
21556 if { (ac_try="$ac_link"
21557 case "(($ac_try" in
21558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21559 *) ac_try_echo=$ac_try;;
21561 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21562 (eval "$ac_link") 2>&5
21564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21566 { (case "(($ac_try" in
21567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21568 *) ac_try_echo=$ac_try;;
21570 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21571 (eval "$ac_try") 2>&5
21573 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 ac_cv_sizeof_void_p=`cat conftest.val`
21577 echo "$as_me: program exited with status
$ac_status" >&5
21578 echo "$as_me: failed program was
:" >&5
21579 sed 's/^/| /' conftest.$ac_ext >&5
21581 ( exit $ac_status )
21582 if test "$ac_cv_type_void_p" = yes; then
21583 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21584 See \
`config.log' for more details." >&5
21585 echo "$as_me: error: cannot compute sizeof (void *)
21586 See \`config.log
' for more details." >&2;}
21587 { (exit 77); exit 77; }; }
21589 ac_cv_sizeof_void_p=0
21592 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21596 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21597 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21601 cat >>confdefs.h <<_ACEOF
21602 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21606 { echo "$as_me:$LINENO: checking for int" >&5
21607 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21608 if test "${ac_cv_type_int+set}" = set; then
21609 echo $ECHO_N "(cached) $ECHO_C" >&6
21611 cat >conftest.$ac_ext <<_ACEOF
21614 cat confdefs.h >>conftest.$ac_ext
21615 cat >>conftest.$ac_ext <<_ACEOF
21616 /* end confdefs.h. */
21617 $ac_includes_default
21618 typedef int ac__type_new_;
21622 if ((ac__type_new_ *) 0)
21624 if (sizeof (ac__type_new_))
21630 rm -f conftest.$ac_objext
21631 if { (ac_try="$ac_compile"
21632 case "(($ac_try" in
21633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21634 *) ac_try_echo=$ac_try;;
21636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21637 (eval "$ac_compile") 2>conftest.er1
21639 grep -v '^
*+' conftest.er1 >conftest.err
21641 cat conftest.err >&5
21642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21643 (exit $ac_status); } && {
21644 test -z "$ac_c_werror_flag" ||
21645 test ! -s conftest.err
21646 } && test -s conftest.$ac_objext; then
21649 echo "$as_me: failed program was:" >&5
21650 sed 's
/^
/| /' conftest.$ac_ext >&5
21655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21657 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21658 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21660 # The cast to long int works around a bug in the HP C Compiler
21661 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21662 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21663 # This bug is HP SR number 8606223364.
21664 { echo "$as_me:$LINENO: checking size of int" >&5
21665 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21666 if test "${ac_cv_sizeof_int+set}" = set; then
21667 echo $ECHO_N "(cached) $ECHO_C" >&6
21669 if test "$cross_compiling" = yes; then
21670 # Depending upon the size, compute the lo and hi bounds.
21671 cat >conftest.
$ac_ext <<_ACEOF
21674 cat confdefs.h
>>conftest.
$ac_ext
21675 cat >>conftest.
$ac_ext <<_ACEOF
21676 /* end confdefs.h. */
21677 $ac_includes_default
21678 typedef int ac__type_sizeof_;
21682 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21689 rm -f conftest.
$ac_objext
21690 if { (ac_try
="$ac_compile"
21691 case "(($ac_try" in
21692 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21693 *) ac_try_echo=$ac_try;;
21695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21696 (eval "$ac_compile") 2>conftest.er1
21698 grep -v '^ *+' conftest.er1 >conftest.err
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } && {
21703 test -z "$ac_c_werror_flag" ||
21704 test ! -s conftest.err
21705 } && test -s conftest.$ac_objext; then
21708 cat >conftest.$ac_ext <<_ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714 $ac_includes_default
21715 typedef int ac__type_sizeof_;
21719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21726 rm -f conftest.$ac_objext
21727 if { (ac_try="$ac_compile"
21728 case "(($ac_try" in
21729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21730 *) ac_try_echo
=$ac_try;;
21732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21733 (eval "$ac_compile") 2>conftest.er1
21735 grep -v '^ *+' conftest.er1
>conftest.err
21737 cat conftest.err
>&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && {
21740 test -z "$ac_c_werror_flag" ||
21741 test ! -s conftest.err
21742 } && test -s conftest.
$ac_objext; then
21743 ac_hi
=$ac_mid; break
21745 echo "$as_me: failed program was:" >&5
21746 sed 's/^/| /' conftest.
$ac_ext >&5
21748 ac_lo
=`expr $ac_mid + 1`
21749 if test $ac_lo -le $ac_mid; then
21753 ac_mid
=`expr 2 '*' $ac_mid + 1`
21756 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21759 echo "$as_me: failed program was:" >&5
21760 sed 's/^/| /' conftest.
$ac_ext >&5
21762 cat >conftest.
$ac_ext <<_ACEOF
21765 cat confdefs.h
>>conftest.
$ac_ext
21766 cat >>conftest.
$ac_ext <<_ACEOF
21767 /* end confdefs.h. */
21768 $ac_includes_default
21769 typedef int ac__type_sizeof_;
21773 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21780 rm -f conftest.
$ac_objext
21781 if { (ac_try
="$ac_compile"
21782 case "(($ac_try" in
21783 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21784 *) ac_try_echo=$ac_try;;
21786 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21787 (eval "$ac_compile") 2>conftest.er1
21789 grep -v '^ *+' conftest.er1 >conftest.err
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } && {
21794 test -z "$ac_c_werror_flag" ||
21795 test ! -s conftest.err
21796 } && test -s conftest.$ac_objext; then
21799 cat >conftest.$ac_ext <<_ACEOF
21802 cat confdefs.h >>conftest.$ac_ext
21803 cat >>conftest.$ac_ext <<_ACEOF
21804 /* end confdefs.h. */
21805 $ac_includes_default
21806 typedef int ac__type_sizeof_;
21810 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21817 rm -f conftest.$ac_objext
21818 if { (ac_try="$ac_compile"
21819 case "(($ac_try" in
21820 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21821 *) ac_try_echo
=$ac_try;;
21823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21824 (eval "$ac_compile") 2>conftest.er1
21826 grep -v '^ *+' conftest.er1
>conftest.err
21828 cat conftest.err
>&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); } && {
21831 test -z "$ac_c_werror_flag" ||
21832 test ! -s conftest.err
21833 } && test -s conftest.
$ac_objext; then
21834 ac_lo
=$ac_mid; break
21836 echo "$as_me: failed program was:" >&5
21837 sed 's/^/| /' conftest.
$ac_ext >&5
21839 ac_hi
=`expr '(' $ac_mid ')' - 1`
21840 if test $ac_mid -le $ac_hi; then
21844 ac_mid
=`expr 2 '*' $ac_mid`
21847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21850 echo "$as_me: failed program was:" >&5
21851 sed 's/^/| /' conftest.
$ac_ext >&5
21856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21859 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21860 # Binary search between lo and hi bounds.
21861 while test "x$ac_lo" != "x$ac_hi"; do
21862 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21863 cat >conftest.
$ac_ext <<_ACEOF
21866 cat confdefs.h
>>conftest.
$ac_ext
21867 cat >>conftest.
$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21869 $ac_includes_default
21870 typedef int ac__type_sizeof_;
21874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21881 rm -f conftest.
$ac_objext
21882 if { (ac_try
="$ac_compile"
21883 case "(($ac_try" in
21884 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21885 *) ac_try_echo=$ac_try;;
21887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21888 (eval "$ac_compile") 2>conftest.er1
21890 grep -v '^ *+' conftest.er1 >conftest.err
21892 cat conftest.err >&5
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); } && {
21895 test -z "$ac_c_werror_flag" ||
21896 test ! -s conftest.err
21897 } && test -s conftest.$ac_objext; then
21900 echo "$as_me: failed program was:" >&5
21901 sed 's/^/| /' conftest.$ac_ext >&5
21903 ac_lo=`expr '(' $ac_mid ')' + 1`
21906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21909 ?*) ac_cv_sizeof_int=$ac_lo;;
21910 '') if test "$ac_cv_type_int" = yes; then
21911 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21912 See \`config.log
' for more details." >&5
21913 echo "$as_me: error: cannot compute sizeof (int)
21914 See \`config.log' for more details.
" >&2;}
21915 { (exit 77); exit 77; }; }
21921 cat >conftest.$ac_ext <<_ACEOF
21924 cat confdefs.h >>conftest.$ac_ext
21925 cat >>conftest.$ac_ext <<_ACEOF
21926 /* end confdefs.h. */
21927 $ac_includes_default
21928 typedef int ac__type_sizeof_;
21929 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21930 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21932 #include <stdlib.h>
21937 FILE *f = fopen ("conftest.val
", "w
");
21940 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21942 long int i = longval ();
21943 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21945 fprintf (f, "%ld
\n", i);
21949 unsigned long int i = ulongval ();
21950 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21952 fprintf (f, "%lu
\n", i);
21954 return ferror (f) || fclose (f) != 0;
21960 rm -f conftest$ac_exeext
21961 if { (ac_try="$ac_link"
21962 case "(($ac_try" in
21963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21964 *) ac_try_echo=$ac_try;;
21966 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21967 (eval "$ac_link") 2>&5
21969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21971 { (case "(($ac_try" in
21972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21973 *) ac_try_echo=$ac_try;;
21975 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21976 (eval "$ac_try") 2>&5
21978 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21979 (exit $ac_status); }; }; then
21980 ac_cv_sizeof_int=`cat conftest.val`
21982 echo "$as_me: program exited with status
$ac_status" >&5
21983 echo "$as_me: failed program was
:" >&5
21984 sed 's/^/| /' conftest.$ac_ext >&5
21986 ( exit $ac_status )
21987 if test "$ac_cv_type_int" = yes; then
21988 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21989 See \
`config.log' for more details." >&5
21990 echo "$as_me: error: cannot compute sizeof (int)
21991 See \`config.log
' for more details." >&2;}
21992 { (exit 77); exit 77; }; }
21997 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22001 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
22002 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
22006 cat >>confdefs.h <<_ACEOF
22007 #define SIZEOF_INT $ac_cv_sizeof_int
22011 { echo "$as_me:$LINENO: checking for long" >&5
22012 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22013 if test "${ac_cv_type_long+set}" = set; then
22014 echo $ECHO_N "(cached) $ECHO_C" >&6
22016 cat >conftest.$ac_ext <<_ACEOF
22019 cat confdefs.h >>conftest.$ac_ext
22020 cat >>conftest.$ac_ext <<_ACEOF
22021 /* end confdefs.h. */
22022 $ac_includes_default
22023 typedef long ac__type_new_;
22027 if ((ac__type_new_ *) 0)
22029 if (sizeof (ac__type_new_))
22035 rm -f conftest.$ac_objext
22036 if { (ac_try="$ac_compile"
22037 case "(($ac_try" in
22038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22039 *) ac_try_echo=$ac_try;;
22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042 (eval "$ac_compile") 2>conftest.er1
22044 grep -v '^
*+' conftest.er1 >conftest.err
22046 cat conftest.err >&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } && {
22049 test -z "$ac_c_werror_flag" ||
22050 test ! -s conftest.err
22051 } && test -s conftest.$ac_objext; then
22052 ac_cv_type_long=yes
22054 echo "$as_me: failed program was:" >&5
22055 sed 's
/^
/| /' conftest.$ac_ext >&5
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22062 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22063 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22065 # The cast to long int works around a bug in the HP C Compiler
22066 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22067 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22068 # This bug is HP SR number 8606223364.
22069 { echo "$as_me:$LINENO: checking size of long" >&5
22070 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22071 if test "${ac_cv_sizeof_long+set}" = set; then
22072 echo $ECHO_N "(cached) $ECHO_C" >&6
22074 if test "$cross_compiling" = yes; then
22075 # Depending upon the size, compute the lo and hi bounds.
22076 cat >conftest.
$ac_ext <<_ACEOF
22079 cat confdefs.h
>>conftest.
$ac_ext
22080 cat >>conftest.
$ac_ext <<_ACEOF
22081 /* end confdefs.h. */
22082 $ac_includes_default
22083 typedef long ac__type_sizeof_;
22087 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22094 rm -f conftest.
$ac_objext
22095 if { (ac_try
="$ac_compile"
22096 case "(($ac_try" in
22097 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22098 *) ac_try_echo=$ac_try;;
22100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22101 (eval "$ac_compile") 2>conftest.er1
22103 grep -v '^ *+' conftest.er1 >conftest.err
22105 cat conftest.err >&5
22106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22107 (exit $ac_status); } && {
22108 test -z "$ac_c_werror_flag" ||
22109 test ! -s conftest.err
22110 } && test -s conftest.$ac_objext; then
22113 cat >conftest.$ac_ext <<_ACEOF
22116 cat confdefs.h >>conftest.$ac_ext
22117 cat >>conftest.$ac_ext <<_ACEOF
22118 /* end confdefs.h. */
22119 $ac_includes_default
22120 typedef long ac__type_sizeof_;
22124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22131 rm -f conftest.$ac_objext
22132 if { (ac_try="$ac_compile"
22133 case "(($ac_try" in
22134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22135 *) ac_try_echo
=$ac_try;;
22137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22138 (eval "$ac_compile") 2>conftest.er1
22140 grep -v '^ *+' conftest.er1
>conftest.err
22142 cat conftest.err
>&5
22143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22144 (exit $ac_status); } && {
22145 test -z "$ac_c_werror_flag" ||
22146 test ! -s conftest.err
22147 } && test -s conftest.
$ac_objext; then
22148 ac_hi
=$ac_mid; break
22150 echo "$as_me: failed program was:" >&5
22151 sed 's/^/| /' conftest.
$ac_ext >&5
22153 ac_lo
=`expr $ac_mid + 1`
22154 if test $ac_lo -le $ac_mid; then
22158 ac_mid
=`expr 2 '*' $ac_mid + 1`
22161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22164 echo "$as_me: failed program was:" >&5
22165 sed 's/^/| /' conftest.
$ac_ext >&5
22167 cat >conftest.
$ac_ext <<_ACEOF
22170 cat confdefs.h
>>conftest.
$ac_ext
22171 cat >>conftest.
$ac_ext <<_ACEOF
22172 /* end confdefs.h. */
22173 $ac_includes_default
22174 typedef long ac__type_sizeof_;
22178 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22185 rm -f conftest.
$ac_objext
22186 if { (ac_try
="$ac_compile"
22187 case "(($ac_try" in
22188 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22189 *) ac_try_echo=$ac_try;;
22191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22192 (eval "$ac_compile") 2>conftest.er1
22194 grep -v '^ *+' conftest.er1 >conftest.err
22196 cat conftest.err >&5
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); } && {
22199 test -z "$ac_c_werror_flag" ||
22200 test ! -s conftest.err
22201 } && test -s conftest.$ac_objext; then
22204 cat >conftest.$ac_ext <<_ACEOF
22207 cat confdefs.h >>conftest.$ac_ext
22208 cat >>conftest.$ac_ext <<_ACEOF
22209 /* end confdefs.h. */
22210 $ac_includes_default
22211 typedef long ac__type_sizeof_;
22215 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22222 rm -f conftest.$ac_objext
22223 if { (ac_try="$ac_compile"
22224 case "(($ac_try" in
22225 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22226 *) ac_try_echo
=$ac_try;;
22228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22229 (eval "$ac_compile") 2>conftest.er1
22231 grep -v '^ *+' conftest.er1
>conftest.err
22233 cat conftest.err
>&5
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); } && {
22236 test -z "$ac_c_werror_flag" ||
22237 test ! -s conftest.err
22238 } && test -s conftest.
$ac_objext; then
22239 ac_lo
=$ac_mid; break
22241 echo "$as_me: failed program was:" >&5
22242 sed 's/^/| /' conftest.
$ac_ext >&5
22244 ac_hi
=`expr '(' $ac_mid ')' - 1`
22245 if test $ac_mid -le $ac_hi; then
22249 ac_mid
=`expr 2 '*' $ac_mid`
22252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22255 echo "$as_me: failed program was:" >&5
22256 sed 's/^/| /' conftest.
$ac_ext >&5
22261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22265 # Binary search between lo and hi bounds.
22266 while test "x$ac_lo" != "x$ac_hi"; do
22267 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22268 cat >conftest.
$ac_ext <<_ACEOF
22271 cat confdefs.h
>>conftest.
$ac_ext
22272 cat >>conftest.
$ac_ext <<_ACEOF
22273 /* end confdefs.h. */
22274 $ac_includes_default
22275 typedef long ac__type_sizeof_;
22279 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22286 rm -f conftest.
$ac_objext
22287 if { (ac_try
="$ac_compile"
22288 case "(($ac_try" in
22289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22290 *) ac_try_echo=$ac_try;;
22292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22293 (eval "$ac_compile") 2>conftest.er1
22295 grep -v '^ *+' conftest.er1 >conftest.err
22297 cat conftest.err >&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); } && {
22300 test -z "$ac_c_werror_flag" ||
22301 test ! -s conftest.err
22302 } && test -s conftest.$ac_objext; then
22305 echo "$as_me: failed program was:" >&5
22306 sed 's/^/| /' conftest.$ac_ext >&5
22308 ac_lo=`expr '(' $ac_mid ')' + 1`
22311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22314 ?*) ac_cv_sizeof_long=$ac_lo;;
22315 '') if test "$ac_cv_type_long" = yes; then
22316 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22317 See \`config.log
' for more details." >&5
22318 echo "$as_me: error: cannot compute sizeof (long)
22319 See \`config.log' for more details.
" >&2;}
22320 { (exit 77); exit 77; }; }
22322 ac_cv_sizeof_long=0
22326 cat >conftest.$ac_ext <<_ACEOF
22329 cat confdefs.h >>conftest.$ac_ext
22330 cat >>conftest.$ac_ext <<_ACEOF
22331 /* end confdefs.h. */
22332 $ac_includes_default
22333 typedef long ac__type_sizeof_;
22334 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22335 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22337 #include <stdlib.h>
22342 FILE *f = fopen ("conftest.val
", "w
");
22345 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22347 long int i = longval ();
22348 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22350 fprintf (f, "%ld
\n", i);
22354 unsigned long int i = ulongval ();
22355 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22357 fprintf (f, "%lu
\n", i);
22359 return ferror (f) || fclose (f) != 0;
22365 rm -f conftest$ac_exeext
22366 if { (ac_try="$ac_link"
22367 case "(($ac_try" in
22368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22369 *) ac_try_echo=$ac_try;;
22371 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22372 (eval "$ac_link") 2>&5
22374 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22375 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22376 { (case "(($ac_try" in
22377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22378 *) ac_try_echo=$ac_try;;
22380 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22381 (eval "$ac_try") 2>&5
22383 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22384 (exit $ac_status); }; }; then
22385 ac_cv_sizeof_long=`cat conftest.val`
22387 echo "$as_me: program exited with status
$ac_status" >&5
22388 echo "$as_me: failed program was
:" >&5
22389 sed 's/^/| /' conftest.$ac_ext >&5
22391 ( exit $ac_status )
22392 if test "$ac_cv_type_long" = yes; then
22393 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22394 See \
`config.log' for more details." >&5
22395 echo "$as_me: error: cannot compute sizeof (long)
22396 See \`config.log
' for more details." >&2;}
22397 { (exit 77); exit 77; }; }
22399 ac_cv_sizeof_long=0
22402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22406 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22407 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22411 cat >>confdefs.h <<_ACEOF
22412 #define SIZEOF_LONG $ac_cv_sizeof_long
22416 { echo "$as_me:$LINENO: checking for size_t" >&5
22417 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22418 if test "${ac_cv_type_size_t+set}" = set; then
22419 echo $ECHO_N "(cached) $ECHO_C" >&6
22421 cat >conftest.$ac_ext <<_ACEOF
22424 cat confdefs.h >>conftest.$ac_ext
22425 cat >>conftest.$ac_ext <<_ACEOF
22426 /* end confdefs.h. */
22427 $ac_includes_default
22428 typedef size_t ac__type_new_;
22432 if ((ac__type_new_ *) 0)
22434 if (sizeof (ac__type_new_))
22440 rm -f conftest.$ac_objext
22441 if { (ac_try="$ac_compile"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_compile") 2>conftest.er1
22449 grep -v '^
*+' conftest.er1 >conftest.err
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } && {
22454 test -z "$ac_c_werror_flag" ||
22455 test ! -s conftest.err
22456 } && test -s conftest.$ac_objext; then
22457 ac_cv_type_size_t=yes
22459 echo "$as_me: failed program was:" >&5
22460 sed 's
/^
/| /' conftest.$ac_ext >&5
22462 ac_cv_type_size_t=no
22465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22467 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22468 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22470 # The cast to long int works around a bug in the HP C Compiler
22471 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22472 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22473 # This bug is HP SR number 8606223364.
22474 { echo "$as_me:$LINENO: checking size of size_t" >&5
22475 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22476 if test "${ac_cv_sizeof_size_t+set}" = set; then
22477 echo $ECHO_N "(cached) $ECHO_C" >&6
22479 if test "$cross_compiling" = yes; then
22480 # Depending upon the size, compute the lo and hi bounds.
22481 cat >conftest.
$ac_ext <<_ACEOF
22484 cat confdefs.h
>>conftest.
$ac_ext
22485 cat >>conftest.
$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22487 $ac_includes_default
22488 typedef size_t ac__type_sizeof_;
22492 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22499 rm -f conftest.
$ac_objext
22500 if { (ac_try
="$ac_compile"
22501 case "(($ac_try" in
22502 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22503 *) ac_try_echo=$ac_try;;
22505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22506 (eval "$ac_compile") 2>conftest.er1
22508 grep -v '^ *+' conftest.er1 >conftest.err
22510 cat conftest.err >&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } && {
22513 test -z "$ac_c_werror_flag" ||
22514 test ! -s conftest.err
22515 } && test -s conftest.$ac_objext; then
22518 cat >conftest.$ac_ext <<_ACEOF
22521 cat confdefs.h >>conftest.$ac_ext
22522 cat >>conftest.$ac_ext <<_ACEOF
22523 /* end confdefs.h. */
22524 $ac_includes_default
22525 typedef size_t ac__type_sizeof_;
22529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22536 rm -f conftest.$ac_objext
22537 if { (ac_try="$ac_compile"
22538 case "(($ac_try" in
22539 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22540 *) ac_try_echo
=$ac_try;;
22542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22543 (eval "$ac_compile") 2>conftest.er1
22545 grep -v '^ *+' conftest.er1
>conftest.err
22547 cat conftest.err
>&5
22548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22549 (exit $ac_status); } && {
22550 test -z "$ac_c_werror_flag" ||
22551 test ! -s conftest.err
22552 } && test -s conftest.
$ac_objext; then
22553 ac_hi
=$ac_mid; break
22555 echo "$as_me: failed program was:" >&5
22556 sed 's/^/| /' conftest.
$ac_ext >&5
22558 ac_lo
=`expr $ac_mid + 1`
22559 if test $ac_lo -le $ac_mid; then
22563 ac_mid
=`expr 2 '*' $ac_mid + 1`
22566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22569 echo "$as_me: failed program was:" >&5
22570 sed 's/^/| /' conftest.
$ac_ext >&5
22572 cat >conftest.
$ac_ext <<_ACEOF
22575 cat confdefs.h
>>conftest.
$ac_ext
22576 cat >>conftest.
$ac_ext <<_ACEOF
22577 /* end confdefs.h. */
22578 $ac_includes_default
22579 typedef size_t ac__type_sizeof_;
22583 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22590 rm -f conftest.
$ac_objext
22591 if { (ac_try
="$ac_compile"
22592 case "(($ac_try" in
22593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22594 *) ac_try_echo=$ac_try;;
22596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22597 (eval "$ac_compile") 2>conftest.er1
22599 grep -v '^ *+' conftest.er1 >conftest.err
22601 cat conftest.err >&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); } && {
22604 test -z "$ac_c_werror_flag" ||
22605 test ! -s conftest.err
22606 } && test -s conftest.$ac_objext; then
22609 cat >conftest.$ac_ext <<_ACEOF
22612 cat confdefs.h >>conftest.$ac_ext
22613 cat >>conftest.$ac_ext <<_ACEOF
22614 /* end confdefs.h. */
22615 $ac_includes_default
22616 typedef size_t ac__type_sizeof_;
22620 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22627 rm -f conftest.$ac_objext
22628 if { (ac_try="$ac_compile"
22629 case "(($ac_try" in
22630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22631 *) ac_try_echo
=$ac_try;;
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_compile") 2>conftest.er1
22636 grep -v '^ *+' conftest.er1
>conftest.err
22638 cat conftest.err
>&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } && {
22641 test -z "$ac_c_werror_flag" ||
22642 test ! -s conftest.err
22643 } && test -s conftest.
$ac_objext; then
22644 ac_lo
=$ac_mid; break
22646 echo "$as_me: failed program was:" >&5
22647 sed 's/^/| /' conftest.
$ac_ext >&5
22649 ac_hi
=`expr '(' $ac_mid ')' - 1`
22650 if test $ac_mid -le $ac_hi; then
22654 ac_mid
=`expr 2 '*' $ac_mid`
22657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22660 echo "$as_me: failed program was:" >&5
22661 sed 's/^/| /' conftest.
$ac_ext >&5
22666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22670 # Binary search between lo and hi bounds.
22671 while test "x$ac_lo" != "x$ac_hi"; do
22672 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22673 cat >conftest.
$ac_ext <<_ACEOF
22676 cat confdefs.h
>>conftest.
$ac_ext
22677 cat >>conftest.
$ac_ext <<_ACEOF
22678 /* end confdefs.h. */
22679 $ac_includes_default
22680 typedef size_t ac__type_sizeof_;
22684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22691 rm -f conftest.
$ac_objext
22692 if { (ac_try
="$ac_compile"
22693 case "(($ac_try" in
22694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22695 *) ac_try_echo=$ac_try;;
22697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22698 (eval "$ac_compile") 2>conftest.er1
22700 grep -v '^ *+' conftest.er1 >conftest.err
22702 cat conftest.err >&5
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); } && {
22705 test -z "$ac_c_werror_flag" ||
22706 test ! -s conftest.err
22707 } && test -s conftest.$ac_objext; then
22710 echo "$as_me: failed program was:" >&5
22711 sed 's/^/| /' conftest.$ac_ext >&5
22713 ac_lo=`expr '(' $ac_mid ')' + 1`
22716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22719 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22720 '') if test "$ac_cv_type_size_t" = yes; then
22721 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22722 See \`config.log
' for more details." >&5
22723 echo "$as_me: error: cannot compute sizeof (size_t)
22724 See \`config.log' for more details.
" >&2;}
22725 { (exit 77); exit 77; }; }
22727 ac_cv_sizeof_size_t=0
22731 cat >conftest.$ac_ext <<_ACEOF
22734 cat confdefs.h >>conftest.$ac_ext
22735 cat >>conftest.$ac_ext <<_ACEOF
22736 /* end confdefs.h. */
22737 $ac_includes_default
22738 typedef size_t ac__type_sizeof_;
22739 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22740 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22742 #include <stdlib.h>
22747 FILE *f = fopen ("conftest.val
", "w
");
22750 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22752 long int i = longval ();
22753 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22755 fprintf (f, "%ld
\n", i);
22759 unsigned long int i = ulongval ();
22760 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22762 fprintf (f, "%lu
\n", i);
22764 return ferror (f) || fclose (f) != 0;
22770 rm -f conftest$ac_exeext
22771 if { (ac_try="$ac_link"
22772 case "(($ac_try" in
22773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22774 *) ac_try_echo=$ac_try;;
22776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22777 (eval "$ac_link") 2>&5
22779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22780 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22781 { (case "(($ac_try" in
22782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22783 *) ac_try_echo=$ac_try;;
22785 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22786 (eval "$ac_try") 2>&5
22788 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22789 (exit $ac_status); }; }; then
22790 ac_cv_sizeof_size_t=`cat conftest.val`
22792 echo "$as_me: program exited with status
$ac_status" >&5
22793 echo "$as_me: failed program was
:" >&5
22794 sed 's/^/| /' conftest.$ac_ext >&5
22796 ( exit $ac_status )
22797 if test "$ac_cv_type_size_t" = yes; then
22798 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22799 See \
`config.log' for more details." >&5
22800 echo "$as_me: error: cannot compute sizeof (size_t)
22801 See \`config.log
' for more details." >&2;}
22802 { (exit 77); exit 77; }; }
22804 ac_cv_sizeof_size_t=0
22807 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22811 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22812 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22816 cat >>confdefs.h <<_ACEOF
22817 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22824 { echo "$as_me:$LINENO: checking for long long" >&5
22825 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22826 if test "${ac_cv_type_long_long+set}" = set; then
22827 echo $ECHO_N "(cached) $ECHO_C" >&6
22829 cat >conftest.$ac_ext <<_ACEOF
22832 cat confdefs.h >>conftest.$ac_ext
22833 cat >>conftest.$ac_ext <<_ACEOF
22834 /* end confdefs.h. */
22835 $ac_includes_default
22836 typedef long long ac__type_new_;
22840 if ((ac__type_new_ *) 0)
22842 if (sizeof (ac__type_new_))
22848 rm -f conftest.$ac_objext
22849 if { (ac_try="$ac_compile"
22850 case "(($ac_try" in
22851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22852 *) ac_try_echo=$ac_try;;
22854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22855 (eval "$ac_compile") 2>conftest.er1
22857 grep -v '^
*+' conftest.er1 >conftest.err
22859 cat conftest.err >&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); } && {
22862 test -z "$ac_c_werror_flag" ||
22863 test ! -s conftest.err
22864 } && test -s conftest.$ac_objext; then
22865 ac_cv_type_long_long=yes
22867 echo "$as_me: failed program was:" >&5
22868 sed 's
/^
/| /' conftest.$ac_ext >&5
22870 ac_cv_type_long_long=no
22873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22875 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22876 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22878 # The cast to long int works around a bug in the HP C Compiler
22879 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22880 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22881 # This bug is HP SR number 8606223364.
22882 { echo "$as_me:$LINENO: checking size of long long" >&5
22883 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22884 if test "${ac_cv_sizeof_long_long+set}" = set; then
22885 echo $ECHO_N "(cached) $ECHO_C" >&6
22887 if test "$cross_compiling" = yes; then
22888 # Depending upon the size, compute the lo and hi bounds.
22889 cat >conftest.
$ac_ext <<_ACEOF
22892 cat confdefs.h
>>conftest.
$ac_ext
22893 cat >>conftest.
$ac_ext <<_ACEOF
22894 /* end confdefs.h. */
22895 $ac_includes_default
22896 typedef long long ac__type_sizeof_;
22900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22907 rm -f conftest.
$ac_objext
22908 if { (ac_try
="$ac_compile"
22909 case "(($ac_try" in
22910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22911 *) ac_try_echo=$ac_try;;
22913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22914 (eval "$ac_compile") 2>conftest.er1
22916 grep -v '^ *+' conftest.er1 >conftest.err
22918 cat conftest.err >&5
22919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22920 (exit $ac_status); } && {
22921 test -z "$ac_c_werror_flag" ||
22922 test ! -s conftest.err
22923 } && test -s conftest.$ac_objext; then
22926 cat >conftest.$ac_ext <<_ACEOF
22929 cat confdefs.h >>conftest.$ac_ext
22930 cat >>conftest.$ac_ext <<_ACEOF
22931 /* end confdefs.h. */
22932 $ac_includes_default
22933 typedef long long ac__type_sizeof_;
22937 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22944 rm -f conftest.$ac_objext
22945 if { (ac_try="$ac_compile"
22946 case "(($ac_try" in
22947 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22948 *) ac_try_echo
=$ac_try;;
22950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22951 (eval "$ac_compile") 2>conftest.er1
22953 grep -v '^ *+' conftest.er1
>conftest.err
22955 cat conftest.err
>&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); } && {
22958 test -z "$ac_c_werror_flag" ||
22959 test ! -s conftest.err
22960 } && test -s conftest.
$ac_objext; then
22961 ac_hi
=$ac_mid; break
22963 echo "$as_me: failed program was:" >&5
22964 sed 's/^/| /' conftest.
$ac_ext >&5
22966 ac_lo
=`expr $ac_mid + 1`
22967 if test $ac_lo -le $ac_mid; then
22971 ac_mid
=`expr 2 '*' $ac_mid + 1`
22974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22977 echo "$as_me: failed program was:" >&5
22978 sed 's/^/| /' conftest.
$ac_ext >&5
22980 cat >conftest.
$ac_ext <<_ACEOF
22983 cat confdefs.h
>>conftest.
$ac_ext
22984 cat >>conftest.
$ac_ext <<_ACEOF
22985 /* end confdefs.h. */
22986 $ac_includes_default
22987 typedef long long ac__type_sizeof_;
22991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22998 rm -f conftest.
$ac_objext
22999 if { (ac_try
="$ac_compile"
23000 case "(($ac_try" in
23001 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23002 *) ac_try_echo=$ac_try;;
23004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23005 (eval "$ac_compile") 2>conftest.er1
23007 grep -v '^ *+' conftest.er1 >conftest.err
23009 cat conftest.err >&5
23010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23011 (exit $ac_status); } && {
23012 test -z "$ac_c_werror_flag" ||
23013 test ! -s conftest.err
23014 } && test -s conftest.$ac_objext; then
23017 cat >conftest.$ac_ext <<_ACEOF
23020 cat confdefs.h >>conftest.$ac_ext
23021 cat >>conftest.$ac_ext <<_ACEOF
23022 /* end confdefs.h. */
23023 $ac_includes_default
23024 typedef long long ac__type_sizeof_;
23028 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23035 rm -f conftest.$ac_objext
23036 if { (ac_try="$ac_compile"
23037 case "(($ac_try" in
23038 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23039 *) ac_try_echo
=$ac_try;;
23041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23042 (eval "$ac_compile") 2>conftest.er1
23044 grep -v '^ *+' conftest.er1
>conftest.err
23046 cat conftest.err
>&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); } && {
23049 test -z "$ac_c_werror_flag" ||
23050 test ! -s conftest.err
23051 } && test -s conftest.
$ac_objext; then
23052 ac_lo
=$ac_mid; break
23054 echo "$as_me: failed program was:" >&5
23055 sed 's/^/| /' conftest.
$ac_ext >&5
23057 ac_hi
=`expr '(' $ac_mid ')' - 1`
23058 if test $ac_mid -le $ac_hi; then
23062 ac_mid
=`expr 2 '*' $ac_mid`
23065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23068 echo "$as_me: failed program was:" >&5
23069 sed 's/^/| /' conftest.
$ac_ext >&5
23074 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23077 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23078 # Binary search between lo and hi bounds.
23079 while test "x$ac_lo" != "x$ac_hi"; do
23080 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23081 cat >conftest.
$ac_ext <<_ACEOF
23084 cat confdefs.h
>>conftest.
$ac_ext
23085 cat >>conftest.
$ac_ext <<_ACEOF
23086 /* end confdefs.h. */
23087 $ac_includes_default
23088 typedef long long ac__type_sizeof_;
23092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23099 rm -f conftest.
$ac_objext
23100 if { (ac_try
="$ac_compile"
23101 case "(($ac_try" in
23102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23103 *) ac_try_echo=$ac_try;;
23105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23106 (eval "$ac_compile") 2>conftest.er1
23108 grep -v '^ *+' conftest.er1 >conftest.err
23110 cat conftest.err >&5
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); } && {
23113 test -z "$ac_c_werror_flag" ||
23114 test ! -s conftest.err
23115 } && test -s conftest.$ac_objext; then
23118 echo "$as_me: failed program was:" >&5
23119 sed 's/^/| /' conftest.$ac_ext >&5
23121 ac_lo=`expr '(' $ac_mid ')' + 1`
23124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23127 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23128 '') if test "$ac_cv_type_long_long" = yes; then
23129 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23130 See \`config.log
' for more details." >&5
23131 echo "$as_me: error: cannot compute sizeof (long long)
23132 See \`config.log' for more details.
" >&2;}
23133 { (exit 77); exit 77; }; }
23135 ac_cv_sizeof_long_long=0
23139 cat >conftest.$ac_ext <<_ACEOF
23142 cat confdefs.h >>conftest.$ac_ext
23143 cat >>conftest.$ac_ext <<_ACEOF
23144 /* end confdefs.h. */
23145 $ac_includes_default
23146 typedef long long ac__type_sizeof_;
23147 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23148 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23150 #include <stdlib.h>
23155 FILE *f = fopen ("conftest.val
", "w
");
23158 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23160 long int i = longval ();
23161 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23163 fprintf (f, "%ld
\n", i);
23167 unsigned long int i = ulongval ();
23168 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23170 fprintf (f, "%lu
\n", i);
23172 return ferror (f) || fclose (f) != 0;
23178 rm -f conftest$ac_exeext
23179 if { (ac_try="$ac_link"
23180 case "(($ac_try" in
23181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23182 *) ac_try_echo=$ac_try;;
23184 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23185 (eval "$ac_link") 2>&5
23187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23189 { (case "(($ac_try" in
23190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23191 *) ac_try_echo=$ac_try;;
23193 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23194 (eval "$ac_try") 2>&5
23196 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23197 (exit $ac_status); }; }; then
23198 ac_cv_sizeof_long_long=`cat conftest.val`
23200 echo "$as_me: program exited with status
$ac_status" >&5
23201 echo "$as_me: failed program was
:" >&5
23202 sed 's/^/| /' conftest.$ac_ext >&5
23204 ( exit $ac_status )
23205 if test "$ac_cv_type_long_long" = yes; then
23206 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23207 See \
`config.log' for more details." >&5
23208 echo "$as_me: error: cannot compute sizeof (long long)
23209 See \`config.log
' for more details." >&2;}
23210 { (exit 77); exit 77; }; }
23212 ac_cv_sizeof_long_long=0
23215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23219 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23220 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23224 cat >>confdefs.h <<_ACEOF
23225 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23231 { echo "$as_me:$LINENO: checking for long long" >&5
23232 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23233 if test "${ac_cv_type_long_long+set}" = set; then
23234 echo $ECHO_N "(cached) $ECHO_C" >&6
23236 cat >conftest.$ac_ext <<_ACEOF
23239 cat confdefs.h >>conftest.$ac_ext
23240 cat >>conftest.$ac_ext <<_ACEOF
23241 /* end confdefs.h. */
23242 $ac_includes_default
23243 typedef long long ac__type_new_;
23247 if ((ac__type_new_ *) 0)
23249 if (sizeof (ac__type_new_))
23255 rm -f conftest.$ac_objext
23256 if { (ac_try="$ac_compile"
23257 case "(($ac_try" in
23258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23259 *) ac_try_echo=$ac_try;;
23261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23262 (eval "$ac_compile") 2>conftest.er1
23264 grep -v '^
*+' conftest.er1 >conftest.err
23266 cat conftest.err >&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } && {
23269 test -z "$ac_c_werror_flag" ||
23270 test ! -s conftest.err
23271 } && test -s conftest.$ac_objext; then
23272 ac_cv_type_long_long=yes
23274 echo "$as_me: failed program was:" >&5
23275 sed 's
/^
/| /' conftest.$ac_ext >&5
23277 ac_cv_type_long_long=no
23280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23282 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23283 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23285 # The cast to long int works around a bug in the HP C Compiler
23286 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23287 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23288 # This bug is HP SR number 8606223364.
23289 { echo "$as_me:$LINENO: checking size of long long" >&5
23290 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23291 if test "${ac_cv_sizeof_long_long+set}" = set; then
23292 echo $ECHO_N "(cached) $ECHO_C" >&6
23294 if test "$cross_compiling" = yes; then
23295 # Depending upon the size, compute the lo and hi bounds.
23296 cat >conftest.
$ac_ext <<_ACEOF
23299 cat confdefs.h
>>conftest.
$ac_ext
23300 cat >>conftest.
$ac_ext <<_ACEOF
23301 /* end confdefs.h. */
23302 $ac_includes_default
23303 typedef long long ac__type_sizeof_;
23307 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23314 rm -f conftest.
$ac_objext
23315 if { (ac_try
="$ac_compile"
23316 case "(($ac_try" in
23317 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23318 *) ac_try_echo=$ac_try;;
23320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23321 (eval "$ac_compile") 2>conftest.er1
23323 grep -v '^ *+' conftest.er1 >conftest.err
23325 cat conftest.err >&5
23326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327 (exit $ac_status); } && {
23328 test -z "$ac_c_werror_flag" ||
23329 test ! -s conftest.err
23330 } && test -s conftest.$ac_objext; then
23333 cat >conftest.$ac_ext <<_ACEOF
23336 cat confdefs.h >>conftest.$ac_ext
23337 cat >>conftest.$ac_ext <<_ACEOF
23338 /* end confdefs.h. */
23339 $ac_includes_default
23340 typedef long long ac__type_sizeof_;
23344 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23351 rm -f conftest.$ac_objext
23352 if { (ac_try="$ac_compile"
23353 case "(($ac_try" in
23354 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23355 *) ac_try_echo
=$ac_try;;
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_compile") 2>conftest.er1
23360 grep -v '^ *+' conftest.er1
>conftest.err
23362 cat conftest.err
>&5
23363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23364 (exit $ac_status); } && {
23365 test -z "$ac_c_werror_flag" ||
23366 test ! -s conftest.err
23367 } && test -s conftest.
$ac_objext; then
23368 ac_hi
=$ac_mid; break
23370 echo "$as_me: failed program was:" >&5
23371 sed 's/^/| /' conftest.
$ac_ext >&5
23373 ac_lo
=`expr $ac_mid + 1`
23374 if test $ac_lo -le $ac_mid; then
23378 ac_mid
=`expr 2 '*' $ac_mid + 1`
23381 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23384 echo "$as_me: failed program was:" >&5
23385 sed 's/^/| /' conftest.
$ac_ext >&5
23387 cat >conftest.
$ac_ext <<_ACEOF
23390 cat confdefs.h
>>conftest.
$ac_ext
23391 cat >>conftest.
$ac_ext <<_ACEOF
23392 /* end confdefs.h. */
23393 $ac_includes_default
23394 typedef long long ac__type_sizeof_;
23398 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23405 rm -f conftest.
$ac_objext
23406 if { (ac_try
="$ac_compile"
23407 case "(($ac_try" in
23408 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23409 *) ac_try_echo=$ac_try;;
23411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23412 (eval "$ac_compile") 2>conftest.er1
23414 grep -v '^ *+' conftest.er1 >conftest.err
23416 cat conftest.err >&5
23417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23418 (exit $ac_status); } && {
23419 test -z "$ac_c_werror_flag" ||
23420 test ! -s conftest.err
23421 } && test -s conftest.$ac_objext; then
23424 cat >conftest.$ac_ext <<_ACEOF
23427 cat confdefs.h >>conftest.$ac_ext
23428 cat >>conftest.$ac_ext <<_ACEOF
23429 /* end confdefs.h. */
23430 $ac_includes_default
23431 typedef long long ac__type_sizeof_;
23435 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23442 rm -f conftest.$ac_objext
23443 if { (ac_try="$ac_compile"
23444 case "(($ac_try" in
23445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23446 *) ac_try_echo
=$ac_try;;
23448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23449 (eval "$ac_compile") 2>conftest.er1
23451 grep -v '^ *+' conftest.er1
>conftest.err
23453 cat conftest.err
>&5
23454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23455 (exit $ac_status); } && {
23456 test -z "$ac_c_werror_flag" ||
23457 test ! -s conftest.err
23458 } && test -s conftest.
$ac_objext; then
23459 ac_lo
=$ac_mid; break
23461 echo "$as_me: failed program was:" >&5
23462 sed 's/^/| /' conftest.
$ac_ext >&5
23464 ac_hi
=`expr '(' $ac_mid ')' - 1`
23465 if test $ac_mid -le $ac_hi; then
23469 ac_mid
=`expr 2 '*' $ac_mid`
23472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23475 echo "$as_me: failed program was:" >&5
23476 sed 's/^/| /' conftest.
$ac_ext >&5
23481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23485 # Binary search between lo and hi bounds.
23486 while test "x$ac_lo" != "x$ac_hi"; do
23487 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23488 cat >conftest.
$ac_ext <<_ACEOF
23491 cat confdefs.h
>>conftest.
$ac_ext
23492 cat >>conftest.
$ac_ext <<_ACEOF
23493 /* end confdefs.h. */
23494 $ac_includes_default
23495 typedef long long ac__type_sizeof_;
23499 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23506 rm -f conftest.
$ac_objext
23507 if { (ac_try
="$ac_compile"
23508 case "(($ac_try" in
23509 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23510 *) ac_try_echo=$ac_try;;
23512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23513 (eval "$ac_compile") 2>conftest.er1
23515 grep -v '^ *+' conftest.er1 >conftest.err
23517 cat conftest.err >&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); } && {
23520 test -z "$ac_c_werror_flag" ||
23521 test ! -s conftest.err
23522 } && test -s conftest.$ac_objext; then
23525 echo "$as_me: failed program was:" >&5
23526 sed 's/^/| /' conftest.$ac_ext >&5
23528 ac_lo=`expr '(' $ac_mid ')' + 1`
23531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23534 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23535 '') if test "$ac_cv_type_long_long" = yes; then
23536 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23537 See \`config.log
' for more details." >&5
23538 echo "$as_me: error: cannot compute sizeof (long long)
23539 See \`config.log' for more details.
" >&2;}
23540 { (exit 77); exit 77; }; }
23542 ac_cv_sizeof_long_long=0
23546 cat >conftest.$ac_ext <<_ACEOF
23549 cat confdefs.h >>conftest.$ac_ext
23550 cat >>conftest.$ac_ext <<_ACEOF
23551 /* end confdefs.h. */
23552 $ac_includes_default
23553 typedef long long ac__type_sizeof_;
23554 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23555 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23557 #include <stdlib.h>
23562 FILE *f = fopen ("conftest.val
", "w
");
23565 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23567 long int i = longval ();
23568 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23570 fprintf (f, "%ld
\n", i);
23574 unsigned long int i = ulongval ();
23575 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23577 fprintf (f, "%lu
\n", i);
23579 return ferror (f) || fclose (f) != 0;
23585 rm -f conftest$ac_exeext
23586 if { (ac_try="$ac_link"
23587 case "(($ac_try" in
23588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23589 *) ac_try_echo=$ac_try;;
23591 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23592 (eval "$ac_link") 2>&5
23594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23595 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23596 { (case "(($ac_try" in
23597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23598 *) ac_try_echo=$ac_try;;
23600 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23601 (eval "$ac_try") 2>&5
23603 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23604 (exit $ac_status); }; }; then
23605 ac_cv_sizeof_long_long=`cat conftest.val`
23607 echo "$as_me: program exited with status
$ac_status" >&5
23608 echo "$as_me: failed program was
:" >&5
23609 sed 's/^/| /' conftest.$ac_ext >&5
23611 ( exit $ac_status )
23612 if test "$ac_cv_type_long_long" = yes; then
23613 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23614 See \
`config.log' for more details." >&5
23615 echo "$as_me: error: cannot compute sizeof (long long)
23616 See \`config.log
' for more details." >&2;}
23617 { (exit 77); exit 77; }; }
23619 ac_cv_sizeof_long_long=0
23622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23626 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23627 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23631 cat >>confdefs.h <<_ACEOF
23632 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23636 if test "$ac_cv_sizeof_long_long" != 0; then
23637 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23641 { echo "$as_me:$LINENO: checking for long long" >&5
23642 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23643 if test "${ac_cv_type_long_long+set}" = set; then
23644 echo $ECHO_N "(cached) $ECHO_C" >&6
23646 cat >conftest.$ac_ext <<_ACEOF
23649 cat confdefs.h >>conftest.$ac_ext
23650 cat >>conftest.$ac_ext <<_ACEOF
23651 /* end confdefs.h. */
23652 $ac_includes_default
23653 typedef long long ac__type_new_;
23657 if ((ac__type_new_ *) 0)
23659 if (sizeof (ac__type_new_))
23665 rm -f conftest.$ac_objext
23666 if { (ac_try="$ac_compile"
23667 case "(($ac_try" in
23668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23669 *) ac_try_echo=$ac_try;;
23671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23672 (eval "$ac_compile") 2>conftest.er1
23674 grep -v '^
*+' conftest.er1 >conftest.err
23676 cat conftest.err >&5
23677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23678 (exit $ac_status); } && {
23679 test -z "$ac_c_werror_flag" ||
23680 test ! -s conftest.err
23681 } && test -s conftest.$ac_objext; then
23682 ac_cv_type_long_long=yes
23684 echo "$as_me: failed program was:" >&5
23685 sed 's
/^
/| /' conftest.$ac_ext >&5
23687 ac_cv_type_long_long=no
23690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23692 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23693 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23695 # The cast to long int works around a bug in the HP C Compiler
23696 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23697 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23698 # This bug is HP SR number 8606223364.
23699 { echo "$as_me:$LINENO: checking size of long long" >&5
23700 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23701 if test "${ac_cv_sizeof_long_long+set}" = set; then
23702 echo $ECHO_N "(cached) $ECHO_C" >&6
23704 if test "$cross_compiling" = yes; then
23705 # Depending upon the size, compute the lo and hi bounds.
23706 cat >conftest.
$ac_ext <<_ACEOF
23709 cat confdefs.h
>>conftest.
$ac_ext
23710 cat >>conftest.
$ac_ext <<_ACEOF
23711 /* end confdefs.h. */
23712 $ac_includes_default
23713 typedef long long ac__type_sizeof_;
23717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23724 rm -f conftest.
$ac_objext
23725 if { (ac_try
="$ac_compile"
23726 case "(($ac_try" in
23727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23728 *) ac_try_echo=$ac_try;;
23730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23731 (eval "$ac_compile") 2>conftest.er1
23733 grep -v '^ *+' conftest.er1 >conftest.err
23735 cat conftest.err >&5
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); } && {
23738 test -z "$ac_c_werror_flag" ||
23739 test ! -s conftest.err
23740 } && test -s conftest.$ac_objext; then
23743 cat >conftest.$ac_ext <<_ACEOF
23746 cat confdefs.h >>conftest.$ac_ext
23747 cat >>conftest.$ac_ext <<_ACEOF
23748 /* end confdefs.h. */
23749 $ac_includes_default
23750 typedef long long ac__type_sizeof_;
23754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23761 rm -f conftest.$ac_objext
23762 if { (ac_try="$ac_compile"
23763 case "(($ac_try" in
23764 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23765 *) ac_try_echo
=$ac_try;;
23767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23768 (eval "$ac_compile") 2>conftest.er1
23770 grep -v '^ *+' conftest.er1
>conftest.err
23772 cat conftest.err
>&5
23773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23774 (exit $ac_status); } && {
23775 test -z "$ac_c_werror_flag" ||
23776 test ! -s conftest.err
23777 } && test -s conftest.
$ac_objext; then
23778 ac_hi
=$ac_mid; break
23780 echo "$as_me: failed program was:" >&5
23781 sed 's/^/| /' conftest.
$ac_ext >&5
23783 ac_lo
=`expr $ac_mid + 1`
23784 if test $ac_lo -le $ac_mid; then
23788 ac_mid
=`expr 2 '*' $ac_mid + 1`
23791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23794 echo "$as_me: failed program was:" >&5
23795 sed 's/^/| /' conftest.
$ac_ext >&5
23797 cat >conftest.
$ac_ext <<_ACEOF
23800 cat confdefs.h
>>conftest.
$ac_ext
23801 cat >>conftest.
$ac_ext <<_ACEOF
23802 /* end confdefs.h. */
23803 $ac_includes_default
23804 typedef long long ac__type_sizeof_;
23808 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23815 rm -f conftest.
$ac_objext
23816 if { (ac_try
="$ac_compile"
23817 case "(($ac_try" in
23818 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23819 *) ac_try_echo=$ac_try;;
23821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23822 (eval "$ac_compile") 2>conftest.er1
23824 grep -v '^ *+' conftest.er1 >conftest.err
23826 cat conftest.err >&5
23827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23828 (exit $ac_status); } && {
23829 test -z "$ac_c_werror_flag" ||
23830 test ! -s conftest.err
23831 } && test -s conftest.$ac_objext; then
23834 cat >conftest.$ac_ext <<_ACEOF
23837 cat confdefs.h >>conftest.$ac_ext
23838 cat >>conftest.$ac_ext <<_ACEOF
23839 /* end confdefs.h. */
23840 $ac_includes_default
23841 typedef long long ac__type_sizeof_;
23845 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23852 rm -f conftest.$ac_objext
23853 if { (ac_try="$ac_compile"
23854 case "(($ac_try" in
23855 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23856 *) ac_try_echo
=$ac_try;;
23858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23859 (eval "$ac_compile") 2>conftest.er1
23861 grep -v '^ *+' conftest.er1
>conftest.err
23863 cat conftest.err
>&5
23864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23865 (exit $ac_status); } && {
23866 test -z "$ac_c_werror_flag" ||
23867 test ! -s conftest.err
23868 } && test -s conftest.
$ac_objext; then
23869 ac_lo
=$ac_mid; break
23871 echo "$as_me: failed program was:" >&5
23872 sed 's/^/| /' conftest.
$ac_ext >&5
23874 ac_hi
=`expr '(' $ac_mid ')' - 1`
23875 if test $ac_mid -le $ac_hi; then
23879 ac_mid
=`expr 2 '*' $ac_mid`
23882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23885 echo "$as_me: failed program was:" >&5
23886 sed 's/^/| /' conftest.
$ac_ext >&5
23891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23895 # Binary search between lo and hi bounds.
23896 while test "x$ac_lo" != "x$ac_hi"; do
23897 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23898 cat >conftest.
$ac_ext <<_ACEOF
23901 cat confdefs.h
>>conftest.
$ac_ext
23902 cat >>conftest.
$ac_ext <<_ACEOF
23903 /* end confdefs.h. */
23904 $ac_includes_default
23905 typedef long long ac__type_sizeof_;
23909 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23916 rm -f conftest.
$ac_objext
23917 if { (ac_try
="$ac_compile"
23918 case "(($ac_try" in
23919 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23920 *) ac_try_echo=$ac_try;;
23922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23923 (eval "$ac_compile") 2>conftest.er1
23925 grep -v '^ *+' conftest.er1 >conftest.err
23927 cat conftest.err >&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); } && {
23930 test -z "$ac_c_werror_flag" ||
23931 test ! -s conftest.err
23932 } && test -s conftest.$ac_objext; then
23935 echo "$as_me: failed program was:" >&5
23936 sed 's/^/| /' conftest.$ac_ext >&5
23938 ac_lo=`expr '(' $ac_mid ')' + 1`
23941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23944 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23945 '') if test "$ac_cv_type_long_long" = yes; then
23946 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23947 See \`config.log
' for more details." >&5
23948 echo "$as_me: error: cannot compute sizeof (long long)
23949 See \`config.log' for more details.
" >&2;}
23950 { (exit 77); exit 77; }; }
23952 ac_cv_sizeof_long_long=0
23956 cat >conftest.$ac_ext <<_ACEOF
23959 cat confdefs.h >>conftest.$ac_ext
23960 cat >>conftest.$ac_ext <<_ACEOF
23961 /* end confdefs.h. */
23962 $ac_includes_default
23963 typedef long long ac__type_sizeof_;
23964 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23965 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23967 #include <stdlib.h>
23972 FILE *f = fopen ("conftest.val
", "w
");
23975 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23977 long int i = longval ();
23978 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23980 fprintf (f, "%ld
\n", i);
23984 unsigned long int i = ulongval ();
23985 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23987 fprintf (f, "%lu
\n", i);
23989 return ferror (f) || fclose (f) != 0;
23995 rm -f conftest$ac_exeext
23996 if { (ac_try="$ac_link"
23997 case "(($ac_try" in
23998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23999 *) ac_try_echo=$ac_try;;
24001 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24002 (eval "$ac_link") 2>&5
24004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24006 { (case "(($ac_try" in
24007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24008 *) ac_try_echo=$ac_try;;
24010 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24011 (eval "$ac_try") 2>&5
24013 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24014 (exit $ac_status); }; }; then
24015 ac_cv_sizeof_long_long=`cat conftest.val`
24017 echo "$as_me: program exited with status
$ac_status" >&5
24018 echo "$as_me: failed program was
:" >&5
24019 sed 's/^/| /' conftest.$ac_ext >&5
24021 ( exit $ac_status )
24022 if test "$ac_cv_type_long_long" = yes; then
24023 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24024 See \
`config.log' for more details." >&5
24025 echo "$as_me: error: cannot compute sizeof (long long)
24026 See \`config.log
' for more details." >&2;}
24027 { (exit 77); exit 77; }; }
24029 ac_cv_sizeof_long_long=0
24032 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24036 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24037 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24041 cat >>confdefs.h <<_ACEOF
24042 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24048 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24049 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24050 if test "${ac_cv_type_wchar_t+set}" = set; then
24051 echo $ECHO_N "(cached) $ECHO_C" >&6
24053 cat >conftest.$ac_ext <<_ACEOF
24056 cat confdefs.h >>conftest.$ac_ext
24057 cat >>conftest.$ac_ext <<_ACEOF
24058 /* end confdefs.h. */
24060 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24061 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24062 # error "fake wchar_t"
24064 #ifdef HAVE_WCHAR_H
24066 # include <stddef.h>
24068 # include <wchar.h>
24070 #ifdef HAVE_STDLIB_H
24071 # include <stdlib.h>
24077 typedef wchar_t ac__type_new_
;
24081 if ((ac__type_new_
*) 0)
24083 if (sizeof
(ac__type_new_
))
24089 rm -f conftest.
$ac_objext
24090 if { (ac_try
="$ac_compile"
24091 case "(($ac_try" in
24092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24093 *) ac_try_echo=$ac_try;;
24095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24096 (eval "$ac_compile") 2>conftest.er1
24098 grep -v '^ *+' conftest.er1 >conftest.err
24100 cat conftest.err >&5
24101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24102 (exit $ac_status); } && {
24103 test -z "$ac_c_werror_flag" ||
24104 test ! -s conftest.err
24105 } && test -s conftest.$ac_objext; then
24106 ac_cv_type_wchar_t=yes
24108 echo "$as_me: failed program was:" >&5
24109 sed 's/^/| /' conftest.$ac_ext >&5
24111 ac_cv_type_wchar_t=no
24114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24116 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24117 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24119 # The cast to long int works around a bug in the HP C Compiler
24120 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24121 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
24122 # This bug is HP SR number 8606223364.
24123 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24124 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24125 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24126 echo $ECHO_N "(cached) $ECHO_C" >&6
24128 if test "$cross_compiling" = yes; then
24129 # Depending upon the size, compute the lo and hi bounds.
24130 cat >conftest.$ac_ext <<_ACEOF
24133 cat confdefs.h >>conftest.$ac_ext
24134 cat >>conftest.$ac_ext <<_ACEOF
24135 /* end confdefs.h. */
24137 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24138 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24139 # error "fake wchar_t"
24141 #ifdef HAVE_WCHAR_H
24143 # include <stddef.h>
24145 # include <wchar.h>
24147 #ifdef HAVE_STDLIB_H
24148 # include <stdlib.h>
24154 typedef wchar_t ac__type_sizeof_
;
24158 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24165 rm -f conftest.
$ac_objext
24166 if { (ac_try
="$ac_compile"
24167 case "(($ac_try" in
24168 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24169 *) ac_try_echo=$ac_try;;
24171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24172 (eval "$ac_compile") 2>conftest.er1
24174 grep -v '^ *+' conftest.er1 >conftest.err
24176 cat conftest.err >&5
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); } && {
24179 test -z "$ac_c_werror_flag" ||
24180 test ! -s conftest.err
24181 } && test -s conftest.$ac_objext; then
24184 cat >conftest.$ac_ext <<_ACEOF
24187 cat confdefs.h >>conftest.$ac_ext
24188 cat >>conftest.$ac_ext <<_ACEOF
24189 /* end confdefs.h. */
24191 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24192 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24193 # error "fake wchar_t"
24195 #ifdef HAVE_WCHAR_H
24197 # include <stddef.h>
24199 # include <wchar.h>
24201 #ifdef HAVE_STDLIB_H
24202 # include <stdlib.h>
24208 typedef wchar_t ac__type_sizeof_;
24212 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24219 rm -f conftest.$ac_objext
24220 if { (ac_try="$ac_compile"
24221 case "(($ac_try" in
24222 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24223 *) ac_try_echo
=$ac_try;;
24225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24226 (eval "$ac_compile") 2>conftest.er1
24228 grep -v '^ *+' conftest.er1
>conftest.err
24230 cat conftest.err
>&5
24231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24232 (exit $ac_status); } && {
24233 test -z "$ac_c_werror_flag" ||
24234 test ! -s conftest.err
24235 } && test -s conftest.
$ac_objext; then
24236 ac_hi
=$ac_mid; break
24238 echo "$as_me: failed program was:" >&5
24239 sed 's/^/| /' conftest.
$ac_ext >&5
24241 ac_lo
=`expr $ac_mid + 1`
24242 if test $ac_lo -le $ac_mid; then
24246 ac_mid
=`expr 2 '*' $ac_mid + 1`
24249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24252 echo "$as_me: failed program was:" >&5
24253 sed 's/^/| /' conftest.
$ac_ext >&5
24255 cat >conftest.
$ac_ext <<_ACEOF
24258 cat confdefs.h
>>conftest.
$ac_ext
24259 cat >>conftest.
$ac_ext <<_ACEOF
24260 /* end confdefs.h. */
24262 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24263 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24264 # error "fake wchar_t"
24266 #ifdef HAVE_WCHAR_H
24268 # include <stddef.h>
24270 # include <wchar.h>
24272 #ifdef HAVE_STDLIB_H
24273 # include <stdlib.h>
24279 typedef wchar_t ac__type_sizeof_;
24283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24290 rm -f conftest.
$ac_objext
24291 if { (ac_try
="$ac_compile"
24292 case "(($ac_try" in
24293 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24294 *) ac_try_echo=$ac_try;;
24296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24297 (eval "$ac_compile") 2>conftest.er1
24299 grep -v '^ *+' conftest.er1 >conftest.err
24301 cat conftest.err >&5
24302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24303 (exit $ac_status); } && {
24304 test -z "$ac_c_werror_flag" ||
24305 test ! -s conftest.err
24306 } && test -s conftest.$ac_objext; then
24309 cat >conftest.$ac_ext <<_ACEOF
24312 cat confdefs.h >>conftest.$ac_ext
24313 cat >>conftest.$ac_ext <<_ACEOF
24314 /* end confdefs.h. */
24316 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24317 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24318 # error "fake wchar_t"
24320 #ifdef HAVE_WCHAR_H
24322 # include <stddef.h>
24324 # include <wchar.h>
24326 #ifdef HAVE_STDLIB_H
24327 # include <stdlib.h>
24333 typedef wchar_t ac__type_sizeof_;
24337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24344 rm -f conftest.$ac_objext
24345 if { (ac_try="$ac_compile"
24346 case "(($ac_try" in
24347 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24348 *) ac_try_echo
=$ac_try;;
24350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24351 (eval "$ac_compile") 2>conftest.er1
24353 grep -v '^ *+' conftest.er1
>conftest.err
24355 cat conftest.err
>&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); } && {
24358 test -z "$ac_c_werror_flag" ||
24359 test ! -s conftest.err
24360 } && test -s conftest.
$ac_objext; then
24361 ac_lo
=$ac_mid; break
24363 echo "$as_me: failed program was:" >&5
24364 sed 's/^/| /' conftest.
$ac_ext >&5
24366 ac_hi
=`expr '(' $ac_mid ')' - 1`
24367 if test $ac_mid -le $ac_hi; then
24371 ac_mid
=`expr 2 '*' $ac_mid`
24374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24377 echo "$as_me: failed program was:" >&5
24378 sed 's/^/| /' conftest.
$ac_ext >&5
24383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24386 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24387 # Binary search between lo and hi bounds.
24388 while test "x$ac_lo" != "x$ac_hi"; do
24389 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24390 cat >conftest.
$ac_ext <<_ACEOF
24393 cat confdefs.h
>>conftest.
$ac_ext
24394 cat >>conftest.
$ac_ext <<_ACEOF
24395 /* end confdefs.h. */
24397 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24398 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24399 # error "fake wchar_t"
24401 #ifdef HAVE_WCHAR_H
24403 # include <stddef.h>
24405 # include <wchar.h>
24407 #ifdef HAVE_STDLIB_H
24408 # include <stdlib.h>
24414 typedef wchar_t ac__type_sizeof_;
24418 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24425 rm -f conftest.
$ac_objext
24426 if { (ac_try
="$ac_compile"
24427 case "(($ac_try" in
24428 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24429 *) ac_try_echo=$ac_try;;
24431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24432 (eval "$ac_compile") 2>conftest.er1
24434 grep -v '^ *+' conftest.er1 >conftest.err
24436 cat conftest.err >&5
24437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24438 (exit $ac_status); } && {
24439 test -z "$ac_c_werror_flag" ||
24440 test ! -s conftest.err
24441 } && test -s conftest.$ac_objext; then
24444 echo "$as_me: failed program was:" >&5
24445 sed 's/^/| /' conftest.$ac_ext >&5
24447 ac_lo=`expr '(' $ac_mid ')' + 1`
24450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24453 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24454 '') if test "$ac_cv_type_wchar_t" = yes; then
24455 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24456 See \`config.log
' for more details." >&5
24457 echo "$as_me: error: cannot compute sizeof (wchar_t)
24458 See \`config.log' for more details.
" >&2;}
24459 { (exit 77); exit 77; }; }
24461 ac_cv_sizeof_wchar_t=0
24465 cat >conftest.$ac_ext <<_ACEOF
24468 cat confdefs.h >>conftest.$ac_ext
24469 cat >>conftest.$ac_ext <<_ACEOF
24470 /* end confdefs.h. */
24472 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24473 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24474 # error "fake wchar_t
"
24476 #ifdef HAVE_WCHAR_H
24478 # include <stddef.h>
24480 # include <wchar.h>
24482 #ifdef HAVE_STDLIB_H
24483 # include <stdlib.h>
24489 typedef wchar_t ac__type_sizeof_;
24490 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24491 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24493 #include <stdlib.h>
24498 FILE *f = fopen ("conftest.val
", "w
");
24501 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24503 long int i = longval ();
24504 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24506 fprintf (f, "%ld
\n", i);
24510 unsigned long int i = ulongval ();
24511 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24513 fprintf (f, "%lu
\n", i);
24515 return ferror (f) || fclose (f) != 0;
24521 rm -f conftest$ac_exeext
24522 if { (ac_try="$ac_link"
24523 case "(($ac_try" in
24524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24525 *) ac_try_echo=$ac_try;;
24527 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24528 (eval "$ac_link") 2>&5
24530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24531 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24532 { (case "(($ac_try" in
24533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24534 *) ac_try_echo=$ac_try;;
24536 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24537 (eval "$ac_try") 2>&5
24539 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24540 (exit $ac_status); }; }; then
24541 ac_cv_sizeof_wchar_t=`cat conftest.val`
24543 echo "$as_me: program exited with status
$ac_status" >&5
24544 echo "$as_me: failed program was
:" >&5
24545 sed 's/^/| /' conftest.$ac_ext >&5
24547 ( exit $ac_status )
24548 if test "$ac_cv_type_wchar_t" = yes; then
24549 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24550 See \
`config.log' for more details." >&5
24551 echo "$as_me: error: cannot compute sizeof (wchar_t)
24552 See \`config.log
' for more details." >&2;}
24553 { (exit 77); exit 77; }; }
24555 ac_cv_sizeof_wchar_t=0
24558 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24562 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24563 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24567 cat >>confdefs.h <<_ACEOF
24568 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24572 if test "$ac_cv_sizeof_wchar_t" = 0; then
24573 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24574 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24575 { (exit 1); exit 1; }; }
24577 cat >>confdefs.h <<\_ACEOF
24578 #define wxUSE_WCHAR_T 1
24582 { echo "$as_me:$LINENO: checking for va_copy" >&5
24583 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24584 if test "${wx_cv_func_va_copy+set}" = set; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24589 ac_cpp='$CXXCPP $CPPFLAGS'
24590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24591 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24594 cat >conftest.$ac_ext <<_ACEOF
24598 cat confdefs.h >>conftest.$ac_ext
24599 cat >>conftest.$ac_ext <<_ACEOF
24600 /* end confdefs.h. */
24602 #include <stdarg.h>
24603 void foo(char *f, ...)
24618 rm -f conftest.$ac_objext conftest$ac_exeext
24619 if { (ac_try="$ac_link"
24620 case "(($ac_try" in
24621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24622 *) ac_try_echo=$ac_try;;
24624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24625 (eval "$ac_link") 2>conftest.er1
24627 grep -v '^
*+' conftest.er1 >conftest.err
24629 cat conftest.err >&5
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); } && {
24632 test -z "$ac_cxx_werror_flag" ||
24633 test ! -s conftest.err
24634 } && test -s conftest$ac_exeext &&
24635 $as_test_x conftest$ac_exeext; then
24636 wx_cv_func_va_copy=yes
24638 echo "$as_me: failed program was:" >&5
24639 sed 's
/^
/| /' conftest.$ac_ext >&5
24641 wx_cv_func_va_copy=no
24645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24646 conftest$ac_exeext conftest.$ac_ext
24648 ac_cpp='$CPP $CPPFLAGS'
24649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24650 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24656 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24657 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24659 if test $wx_cv_func_va_copy = "yes"; then
24660 cat >>confdefs.h <<\_ACEOF
24661 #define HAVE_VA_COPY 1
24665 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24666 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24667 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24668 echo $ECHO_N "(cached) $ECHO_C" >&6
24671 if test "$cross_compiling" = yes; then
24672 wx_cv_type_va_list_lvalue=yes
24675 cat >conftest.$ac_ext <<_ACEOF
24679 cat confdefs.h >>conftest.$ac_ext
24680 cat >>conftest.$ac_ext <<_ACEOF
24681 /* end confdefs.h. */
24683 #include <stdarg.h>
24684 int foo(char *f, ...)
24689 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24697 return foo("hi", 17);
24701 rm -f conftest$ac_exeext
24702 if { (ac_try="$ac_link"
24703 case "(($ac_try" in
24704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24705 *) ac_try_echo=$ac_try;;
24707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24708 (eval "$ac_link") 2>&5
24710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24711 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24712 { (case "(($ac_try" in
24713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24714 *) ac_try_echo=$ac_try;;
24716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24717 (eval "$ac_try") 2>&5
24719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24720 (exit $ac_status); }; }; then
24721 wx_cv_type_va_list_lvalue=yes
24723 echo "$as_me: program exited with status $ac_status" >&5
24724 echo "$as_me: failed program was:" >&5
24725 sed 's
/^
/| /' conftest.$ac_ext >&5
24727 ( exit $ac_status )
24728 wx_cv_type_va_list_lvalue=no
24730 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24737 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24738 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24740 if test $wx_cv_type_va_list_lvalue != "yes"; then
24741 cat >>confdefs.h <<\_ACEOF
24742 #define VA_LIST_IS_ARRAY 1
24748 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24750 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24751 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24752 if test "${wx_cv_have_variadic_macros+set}" = set; then
24753 echo $ECHO_N "(cached) $ECHO_C" >&6
24757 ac_cpp='$CXXCPP $CPPFLAGS'
24758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24759 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24762 cat >conftest.$ac_ext <<_ACEOF
24766 cat confdefs.h >>conftest.$ac_ext
24767 cat >>conftest.$ac_ext <<_ACEOF
24768 /* end confdefs.h. */
24771 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24777 test("%s %d %p", "test", 1, 0);
24784 rm -f conftest.$ac_objext
24785 if { (ac_try="$ac_compile"
24786 case "(($ac_try" in
24787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24788 *) ac_try_echo=$ac_try;;
24790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24791 (eval "$ac_compile") 2>conftest.er1
24793 grep -v '^
*+' conftest.er1 >conftest.err
24795 cat conftest.err >&5
24796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24797 (exit $ac_status); } && {
24798 test -z "$ac_cxx_werror_flag" ||
24799 test ! -s conftest.err
24800 } && test -s conftest.$ac_objext; then
24801 wx_cv_have_variadic_macros=yes
24803 echo "$as_me: failed program was:" >&5
24804 sed 's
/^
/| /' conftest.$ac_ext >&5
24806 wx_cv_have_variadic_macros=no
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24812 ac_cpp='$CPP $CPPFLAGS'
24813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24814 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24820 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24821 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24823 if test $wx_cv_have_variadic_macros = "yes"; then
24824 cat >>confdefs.h <<\_ACEOF
24825 #define HAVE_VARIADIC_MACROS 1
24832 LARGEFILE_CPPFLAGS=
24833 # Check whether --enable-largefile was given.
24834 if test "${enable_largefile+set}" = set; then
24835 enableval=$enable_largefile;
24838 if test "$enable_largefile" != no; then
24841 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24842 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24843 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24844 echo $ECHO_N "(cached) $ECHO_C" >&6
24847 cat >conftest.$ac_ext <<_ACEOF
24850 cat confdefs.h >>conftest.$ac_ext
24851 cat >>conftest.$ac_ext <<_ACEOF
24852 /* end confdefs.h. */
24853 #define _FILE_OFFSET_BITS 64
24854 #include <sys/types.h>
24859 unsigned int field: sizeof(off_t) == 8;
24866 rm -f conftest.$ac_objext
24867 if { (ac_try="$ac_compile"
24868 case "(($ac_try" in
24869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24870 *) ac_try_echo=$ac_try;;
24872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24873 (eval "$ac_compile") 2>conftest.er1
24875 grep -v '^
*+' conftest.er1 >conftest.err
24877 cat conftest.err >&5
24878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24879 (exit $ac_status); } && {
24880 test -z "$ac_c_werror_flag" ||
24881 test ! -s conftest.err
24882 } && test -s conftest.$ac_objext; then
24883 ac_cv_sys_file_offset_bits=64
24885 echo "$as_me: failed program was:" >&5
24886 sed 's
/^
/| /' conftest.$ac_ext >&5
24888 ac_cv_sys_file_offset_bits=no
24891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24895 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24896 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24898 if test "$ac_cv_sys_file_offset_bits" != no; then
24900 cat >>confdefs.h <<_ACEOF
24901 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24906 if test "x$wx_largefile" != "xyes"; then
24908 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24909 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24910 if test "${ac_cv_sys_large_files+set}" = set; then
24911 echo $ECHO_N "(cached) $ECHO_C" >&6
24914 cat >conftest.$ac_ext <<_ACEOF
24917 cat confdefs.h >>conftest.$ac_ext
24918 cat >>conftest.$ac_ext <<_ACEOF
24919 /* end confdefs.h. */
24920 #define _LARGE_FILES 1
24921 #include <sys/types.h>
24926 unsigned int field: sizeof(off_t) == 8;
24933 rm -f conftest.$ac_objext
24934 if { (ac_try="$ac_compile"
24935 case "(($ac_try" in
24936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24937 *) ac_try_echo=$ac_try;;
24939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24940 (eval "$ac_compile") 2>conftest.er1
24942 grep -v '^
*+' conftest.er1 >conftest.err
24944 cat conftest.err >&5
24945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24946 (exit $ac_status); } && {
24947 test -z "$ac_c_werror_flag" ||
24948 test ! -s conftest.err
24949 } && test -s conftest.$ac_objext; then
24950 ac_cv_sys_large_files=1
24952 echo "$as_me: failed program was:" >&5
24953 sed 's
/^
/| /' conftest.$ac_ext >&5
24955 ac_cv_sys_large_files=no
24958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24962 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24963 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24965 if test "$ac_cv_sys_large_files" != no; then
24967 cat >>confdefs.h <<_ACEOF
24968 #define _LARGE_FILES $ac_cv_sys_large_files
24975 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24976 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24977 if test "x$wx_largefile" = "xyes"; then
24978 cat >>confdefs.h <<\_ACEOF
24979 #define HAVE_LARGEFILE_SUPPORT 1
24983 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24984 echo "${ECHO_T}$wx_largefile" >&6; }
24987 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24988 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24989 elif test "$ac_cv_sys_large_files" = 1; then
24990 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24993 if test -n "$LARGEFILE_CPPFLAGS"; then
24994 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24996 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24997 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24998 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24999 if test "${wx_cv_STDC_EXT_required+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25004 ac_cpp='$CXXCPP $CPPFLAGS'
25005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25006 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25009 cat >conftest.$ac_ext <<_ACEOF
25012 cat confdefs.h >>conftest.$ac_ext
25013 cat >>conftest.$ac_ext <<_ACEOF
25014 /* end confdefs.h. */
25020 #ifndef __STDC_EXT__
25028 rm -f conftest.$ac_objext
25029 if { (ac_try="$ac_compile"
25030 case "(($ac_try" in
25031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25032 *) ac_try_echo=$ac_try;;
25034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25035 (eval "$ac_compile") 2>conftest.er1
25037 grep -v '^
*+' conftest.er1 >conftest.err
25039 cat conftest.err >&5
25040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25041 (exit $ac_status); } && {
25042 test -z "$ac_cxx_werror_flag" ||
25043 test ! -s conftest.err
25044 } && test -s conftest.$ac_objext; then
25045 wx_cv_STDC_EXT_required=no
25047 echo "$as_me: failed program was:" >&5
25048 sed 's
/^
/| /' conftest.$ac_ext >&5
25050 wx_cv_STDC_EXT_required=yes
25054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25056 ac_cpp='$CPP $CPPFLAGS'
25057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25058 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25064 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25065 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25066 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25067 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25073 ac_cpp='$CXXCPP $CPPFLAGS'
25074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25075 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25078 old_CPPFLAGS="$CPPFLAGS"
25079 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25080 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25081 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25082 if test "${ac_cv_sys_largefile_source+set}" = set; then
25083 echo $ECHO_N "(cached) $ECHO_C" >&6
25086 cat >conftest.$ac_ext <<_ACEOF
25089 cat confdefs.h >>conftest.$ac_ext
25090 cat >>conftest.$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25092 #include <sys/types.h> /* for off_t */
25097 int (*fp) (FILE *, off_t, int) = fseeko;
25098 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25103 rm -f conftest.$ac_objext conftest$ac_exeext
25104 if { (ac_try="$ac_link"
25105 case "(($ac_try" in
25106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25107 *) ac_try_echo=$ac_try;;
25109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25110 (eval "$ac_link") 2>conftest.er1
25112 grep -v '^
*+' conftest.er1 >conftest.err
25114 cat conftest.err >&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); } && {
25117 test -z "$ac_cxx_werror_flag" ||
25118 test ! -s conftest.err
25119 } && test -s conftest$ac_exeext &&
25120 $as_test_x conftest$ac_exeext; then
25121 ac_cv_sys_largefile_source=no; break
25123 echo "$as_me: failed program was:" >&5
25124 sed 's
/^
/| /' conftest.$ac_ext >&5
25129 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25130 conftest$ac_exeext conftest.$ac_ext
25131 cat >conftest.$ac_ext <<_ACEOF
25134 cat confdefs.h >>conftest.$ac_ext
25135 cat >>conftest.$ac_ext <<_ACEOF
25136 /* end confdefs.h. */
25137 #define _LARGEFILE_SOURCE 1
25138 #include <sys/types.h> /* for off_t */
25143 int (*fp) (FILE *, off_t, int) = fseeko;
25144 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25149 rm -f conftest.$ac_objext conftest$ac_exeext
25150 if { (ac_try="$ac_link"
25151 case "(($ac_try" in
25152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25153 *) ac_try_echo=$ac_try;;
25155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25156 (eval "$ac_link") 2>conftest.er1
25158 grep -v '^
*+' conftest.er1 >conftest.err
25160 cat conftest.err >&5
25161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25162 (exit $ac_status); } && {
25163 test -z "$ac_cxx_werror_flag" ||
25164 test ! -s conftest.err
25165 } && test -s conftest$ac_exeext &&
25166 $as_test_x conftest$ac_exeext; then
25167 ac_cv_sys_largefile_source=1; break
25169 echo "$as_me: failed program was:" >&5
25170 sed 's
/^
/| /' conftest.$ac_ext >&5
25175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25176 conftest$ac_exeext conftest.$ac_ext
25177 ac_cv_sys_largefile_source=unknown
25181 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25182 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25183 case $ac_cv_sys_largefile_source in #(
25186 cat >>confdefs.h <<_ACEOF
25187 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25193 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25194 # in glibc 2.1.3, but that breaks too many other things.
25195 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25196 if test $ac_cv_sys_largefile_source != unknown; then
25198 cat >>confdefs.h <<\_ACEOF
25199 #define HAVE_FSEEKO 1
25204 CPPFLAGS="$old_CPPFLAGS"
25206 ac_cpp='$CPP $CPPFLAGS'
25207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25208 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25211 if test "$ac_cv_sys_largefile_source" != no; then
25212 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25215 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25216 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25217 if test "${ac_cv_c_bigendian+set}" = set; then
25218 echo $ECHO_N "(cached) $ECHO_C" >&6
25220 ac_cv_c_bigendian=unknown
25221 # See if sys/param.h defines the BYTE_ORDER macro.
25222 cat >conftest.$ac_ext <<_ACEOF
25225 cat confdefs.h >>conftest.$ac_ext
25226 cat >>conftest.$ac_ext <<_ACEOF
25227 /* end confdefs.h. */
25228 #include <sys/types.h>
25229 #include <sys/param.h>
25234 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25235 bogus endian macros
25241 rm -f conftest.$ac_objext
25242 if { (ac_try="$ac_compile"
25243 case "(($ac_try" in
25244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25245 *) ac_try_echo=$ac_try;;
25247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25248 (eval "$ac_compile") 2>conftest.er1
25250 grep -v '^
*+' conftest.er1 >conftest.err
25252 cat conftest.err >&5
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); } && {
25255 test -z "$ac_c_werror_flag" ||
25256 test ! -s conftest.err
25257 } && test -s conftest.$ac_objext; then
25258 # It does; now see whether it defined to BIG_ENDIAN or not.
25259 cat >conftest.$ac_ext <<_ACEOF
25262 cat confdefs.h >>conftest.$ac_ext
25263 cat >>conftest.$ac_ext <<_ACEOF
25264 /* end confdefs.h. */
25265 #include <sys/types.h>
25266 #include <sys/param.h>
25271 #if BYTE_ORDER != BIG_ENDIAN
25278 rm -f conftest.$ac_objext
25279 if { (ac_try="$ac_compile"
25280 case "(($ac_try" in
25281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25282 *) ac_try_echo=$ac_try;;
25284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25285 (eval "$ac_compile") 2>conftest.er1
25287 grep -v '^
*+' conftest.er1 >conftest.err
25289 cat conftest.err >&5
25290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25291 (exit $ac_status); } && {
25292 test -z "$ac_c_werror_flag" ||
25293 test ! -s conftest.err
25294 } && test -s conftest.$ac_objext; then
25295 ac_cv_c_bigendian=yes
25297 echo "$as_me: failed program was:" >&5
25298 sed 's
/^
/| /' conftest.$ac_ext >&5
25300 ac_cv_c_bigendian=no
25303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25305 echo "$as_me: failed program was:" >&5
25306 sed 's
/^
/| /' conftest.$ac_ext >&5
25311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25312 if test $ac_cv_c_bigendian = unknown; then
25313 if test "$cross_compiling" = yes; then
25314 ac_cv_c_bigendian=unknown
25316 cat >conftest.$ac_ext <<_ACEOF
25319 cat confdefs.h >>conftest.$ac_ext
25320 cat >>conftest.$ac_ext <<_ACEOF
25321 /* end confdefs.h. */
25323 /* Are we little or big endian? From Harbison&Steele. */
25327 char c[sizeof (long)];
25330 exit (u.c[sizeof (long) - 1] == 1);
25333 rm -f conftest$ac_exeext
25334 if { (ac_try="$ac_link"
25335 case "(($ac_try" in
25336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25337 *) ac_try_echo=$ac_try;;
25339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25340 (eval "$ac_link") 2>&5
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25344 { (case "(($ac_try" in
25345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25346 *) ac_try_echo=$ac_try;;
25348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25349 (eval "$ac_try") 2>&5
25351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25352 (exit $ac_status); }; }; then
25353 ac_cv_c_bigendian=no
25355 echo "$as_me: program exited with status $ac_status" >&5
25356 echo "$as_me: failed program was:" >&5
25357 sed 's
/^
/| /' conftest.$ac_ext >&5
25359 ( exit $ac_status )
25360 ac_cv_c_bigendian=yes
25362 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25368 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25369 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25370 if test $ac_cv_c_bigendian = unknown; then
25371 { 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
25372 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;}
25374 if test $ac_cv_c_bigendian = yes; then
25375 cat >>confdefs.h <<\_ACEOF
25376 #define WORDS_BIGENDIAN 1
25385 ac_cpp='$CXXCPP $CPPFLAGS'
25386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25387 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25392 for ac_header in iostream
25394 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25395 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25396 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25397 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25398 echo $ECHO_N "(cached) $ECHO_C" >&6
25400 cat >conftest.$ac_ext <<_ACEOF
25403 cat confdefs.h >>conftest.$ac_ext
25404 cat >>conftest.$ac_ext <<_ACEOF
25405 /* end confdefs.h. */
25408 #include <$ac_header>
25410 rm -f conftest.$ac_objext
25411 if { (ac_try="$ac_compile"
25412 case "(($ac_try" in
25413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25414 *) ac_try_echo=$ac_try;;
25416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25417 (eval "$ac_compile") 2>conftest.er1
25419 grep -v '^
*+' conftest.er1 >conftest.err
25421 cat conftest.err >&5
25422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25423 (exit $ac_status); } && {
25424 test -z "$ac_cxx_werror_flag" ||
25425 test ! -s conftest.err
25426 } && test -s conftest.$ac_objext; then
25427 eval "$as_ac_Header=yes"
25429 echo "$as_me: failed program was:" >&5
25430 sed 's
/^
/| /' conftest.$ac_ext >&5
25432 eval "$as_ac_Header=no"
25435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25437 ac_res=`eval echo '${'$as_ac_Header'}'`
25438 { echo "$as_me:$LINENO: result: $ac_res" >&5
25439 echo "${ECHO_T}$ac_res" >&6; }
25440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25441 cat >>confdefs.h <<_ACEOF
25442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25450 if test "$ac_cv_header_iostream" = "yes" ; then
25453 cat >>confdefs.h <<\_ACEOF
25454 #define wxUSE_IOSTREAMH 1
25460 ac_cpp='$CPP $CPPFLAGS'
25461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25462 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25468 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25469 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25470 if test "${wx_cv_explicit+set}" = set; then
25471 echo $ECHO_N "(cached) $ECHO_C" >&6
25476 ac_cpp='$CXXCPP $CPPFLAGS'
25477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25478 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25482 cat >conftest.$ac_ext <<_ACEOF
25485 cat confdefs.h >>conftest.$ac_ext
25486 cat >>conftest.$ac_ext <<_ACEOF
25487 /* end confdefs.h. */
25489 class Foo { public: explicit Foo(int) {} };
25501 rm -f conftest.$ac_objext
25502 if { (ac_try="$ac_compile"
25503 case "(($ac_try" in
25504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25505 *) ac_try_echo=$ac_try;;
25507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25508 (eval "$ac_compile") 2>conftest.er1
25510 grep -v '^
*+' conftest.er1 >conftest.err
25512 cat conftest.err >&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } && {
25515 test -z "$ac_cxx_werror_flag" ||
25516 test ! -s conftest.err
25517 } && test -s conftest.$ac_objext; then
25519 cat >conftest.$ac_ext <<_ACEOF
25522 cat confdefs.h >>conftest.$ac_ext
25523 cat >>conftest.$ac_ext <<_ACEOF
25524 /* end confdefs.h. */
25526 class Foo { public: explicit Foo(int) {} };
25527 static void TakeFoo(const Foo& foo) { }
25540 rm -f conftest.$ac_objext
25541 if { (ac_try="$ac_compile"
25542 case "(($ac_try" in
25543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25544 *) ac_try_echo=$ac_try;;
25546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25547 (eval "$ac_compile") 2>conftest.er1
25549 grep -v '^
*+' conftest.er1 >conftest.err
25551 cat conftest.err >&5
25552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25553 (exit $ac_status); } && {
25554 test -z "$ac_cxx_werror_flag" ||
25555 test ! -s conftest.err
25556 } && test -s conftest.$ac_objext; then
25559 echo "$as_me: failed program was:" >&5
25560 sed 's
/^
/| /' conftest.$ac_ext >&5
25566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25569 echo "$as_me: failed program was:" >&5
25570 sed 's
/^
/| /' conftest.$ac_ext >&5
25576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25579 ac_cpp='$CPP $CPPFLAGS'
25580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25581 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25586 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25587 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25589 if test "$wx_cv_explicit" = "yes"; then
25590 cat >>confdefs.h <<\_ACEOF
25591 #define HAVE_EXPLICIT 1
25597 if test "x$SUNCXX" = xyes; then
25598 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
25601 if test "x$SUNCC" = xyes; then
25602 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25605 if test "x$SGICC" = "xyes"; then
25606 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25607 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25608 if test "${wx_cv_prog_sgicc744+set}" = set; then
25609 echo $ECHO_N "(cached) $ECHO_C" >&6
25612 cat >conftest.$ac_ext <<_ACEOF
25615 cat confdefs.h >>conftest.$ac_ext
25616 cat >>conftest.$ac_ext <<_ACEOF
25617 /* end confdefs.h. */
25623 #if _SGI_COMPILER_VERSION >= 744
25624 chock me: mipsPro is 7.4.4 or later
25631 rm -f conftest.$ac_objext
25632 if { (ac_try="$ac_compile"
25633 case "(($ac_try" in
25634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25635 *) ac_try_echo=$ac_try;;
25637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25638 (eval "$ac_compile") 2>conftest.er1
25640 grep -v '^
*+' conftest.er1 >conftest.err
25642 cat conftest.err >&5
25643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25644 (exit $ac_status); } && {
25645 test -z "$ac_c_werror_flag" ||
25646 test ! -s conftest.err
25647 } && test -s conftest.$ac_objext; then
25648 wx_cv_prog_sgicc744=no
25650 echo "$as_me: failed program was:" >&5
25651 sed 's
/^
/| /' conftest.$ac_ext >&5
25653 wx_cv_prog_sgicc744=yes
25657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25661 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25662 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25664 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25665 CFLAGS="-woff 3970 $CFLAGS"
25668 if test "x$SGICXX" = "xyes"; then
25669 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25670 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25671 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25672 echo $ECHO_N "(cached) $ECHO_C" >&6
25676 ac_cpp='$CXXCPP $CPPFLAGS'
25677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25678 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25681 cat >conftest.$ac_ext <<_ACEOF
25684 cat confdefs.h >>conftest.$ac_ext
25685 cat >>conftest.$ac_ext <<_ACEOF
25686 /* end confdefs.h. */
25692 #if _SGI_COMPILER_VERSION >= 744
25693 chock me: mipsPro is 7.4.4 or later
25700 rm -f conftest.$ac_objext
25701 if { (ac_try="$ac_compile"
25702 case "(($ac_try" in
25703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25704 *) ac_try_echo=$ac_try;;
25706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25707 (eval "$ac_compile") 2>conftest.er1
25709 grep -v '^
*+' conftest.er1 >conftest.err
25711 cat conftest.err >&5
25712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25713 (exit $ac_status); } && {
25714 test -z "$ac_cxx_werror_flag" ||
25715 test ! -s conftest.err
25716 } && test -s conftest.$ac_objext; then
25717 wx_cv_prog_sgicxx744=no
25719 echo "$as_me: failed program was:" >&5
25720 sed 's
/^
/| /' conftest.$ac_ext >&5
25722 wx_cv_prog_sgicxx744=yes
25726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25728 ac_cpp='$CPP $CPPFLAGS'
25729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25730 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25736 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25737 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25739 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25740 CXXFLAGS="-woff 3970 $CXXFLAGS"
25744 if test "x$HPCC" = "xyes"; then
25745 CFLAGS="+W 2011,2450 $CFLAGS"
25747 if test "x$HPCXX" = "xyes"; then
25748 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25751 if test "x$COMPAQCXX" = "xyes"; then
25752 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25756 ac_cpp='$CXXCPP $CPPFLAGS'
25757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25758 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25762 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25763 if test "$wxUSE_UNICODE" = "yes"; then
25764 std_string="std::wstring"
25765 char_type="wchar_t"
25767 std_string="std::string"
25771 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25772 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25773 if test "${wx_cv_class_stdstring+set}" = set; then
25774 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 cat >conftest.$ac_ext <<_ACEOF
25780 cat confdefs.h >>conftest.$ac_ext
25781 cat >>conftest.$ac_ext <<_ACEOF
25782 /* end confdefs.h. */
25792 rm -f conftest.$ac_objext
25793 if { (ac_try="$ac_compile"
25794 case "(($ac_try" in
25795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25796 *) ac_try_echo=$ac_try;;
25798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25799 (eval "$ac_compile") 2>conftest.er1
25801 grep -v '^
*+' conftest.er1 >conftest.err
25803 cat conftest.err >&5
25804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25805 (exit $ac_status); } && {
25806 test -z "$ac_cxx_werror_flag" ||
25807 test ! -s conftest.err
25808 } && test -s conftest.$ac_objext; then
25809 wx_cv_class_stdstring=yes
25811 echo "$as_me: failed program was:" >&5
25812 sed 's
/^
/| /' conftest.$ac_ext >&5
25814 wx_cv_class_stdstring=no
25818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25822 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25823 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25825 if test "$wx_cv_class_stdstring" = yes; then
25826 if test "$wxUSE_UNICODE" = "yes"; then
25827 cat >>confdefs.h <<\_ACEOF
25828 #define HAVE_STD_WSTRING 1
25833 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25834 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25835 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25836 echo $ECHO_N "(cached) $ECHO_C" >&6
25839 cat >conftest.$ac_ext <<_ACEOF
25842 cat confdefs.h >>conftest.$ac_ext
25843 cat >>conftest.$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25846 #ifdef HAVE_WCHAR_H
25848 # include <stddef.h>
25850 # include <wchar.h>
25852 #ifdef HAVE_STDLIB_H
25853 # include <stdlib.h>
25861 std::basic_string<$char_type> foo;
25862 const $char_type* dummy = foo.c_str();
25867 rm -f conftest.$ac_objext
25868 if { (ac_try="$ac_compile"
25869 case "(($ac_try" in
25870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25871 *) ac_try_echo=$ac_try;;
25873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25874 (eval "$ac_compile") 2>conftest.er1
25876 grep -v '^
*+' conftest.er1 >conftest.err
25878 cat conftest.err >&5
25879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25880 (exit $ac_status); } && {
25881 test -z "$ac_cxx_werror_flag" ||
25882 test ! -s conftest.err
25883 } && test -s conftest.$ac_objext; then
25884 wx_cv_class_stdbasicstring=yes
25886 echo "$as_me: failed program was:" >&5
25887 sed 's
/^
/| /' conftest.$ac_ext >&5
25889 wx_cv_class_stdbasicstring=no
25893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25897 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25898 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25900 if test "$wx_cv_class_stdbasicstring" != yes; then
25901 if test "$wxUSE_STL" = "yes"; then
25902 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25903 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25904 { (exit 1); exit 1; }; }
25905 elif test "$wxUSE_STD_STRING" = "yes"; then
25906 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25907 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25908 { (exit 1); exit 1; }; }
25910 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25911 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25912 wxUSE_STD_STRING=no
25918 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25919 { echo "$as_me:$LINENO: checking for std::istream" >&5
25920 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25921 if test "${ac_cv_type_std__istream+set}" = set; then
25922 echo $ECHO_N "(cached) $ECHO_C" >&6
25924 cat >conftest.$ac_ext <<_ACEOF
25927 cat confdefs.h >>conftest.$ac_ext
25928 cat >>conftest.$ac_ext <<_ACEOF
25929 /* end confdefs.h. */
25930 #include <iostream>
25932 typedef std::istream ac__type_new_;
25936 if ((ac__type_new_ *) 0)
25938 if (sizeof (ac__type_new_))
25944 rm -f conftest.$ac_objext
25945 if { (ac_try="$ac_compile"
25946 case "(($ac_try" in
25947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25948 *) ac_try_echo=$ac_try;;
25950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25951 (eval "$ac_compile") 2>conftest.er1
25953 grep -v '^
*+' conftest.er1 >conftest.err
25955 cat conftest.err >&5
25956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25957 (exit $ac_status); } && {
25958 test -z "$ac_cxx_werror_flag" ||
25959 test ! -s conftest.err
25960 } && test -s conftest.$ac_objext; then
25961 ac_cv_type_std__istream=yes
25963 echo "$as_me: failed program was:" >&5
25964 sed 's
/^
/| /' conftest.$ac_ext >&5
25966 ac_cv_type_std__istream=no
25969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25971 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25972 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25973 if test $ac_cv_type_std__istream = yes; then
25975 cat >>confdefs.h <<_ACEOF
25976 #define HAVE_STD__ISTREAM 1
25981 wxUSE_STD_IOSTREAM=no
25983 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25984 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25985 if test "${ac_cv_type_std__ostream+set}" = set; then
25986 echo $ECHO_N "(cached) $ECHO_C" >&6
25988 cat >conftest.$ac_ext <<_ACEOF
25991 cat confdefs.h >>conftest.$ac_ext
25992 cat >>conftest.$ac_ext <<_ACEOF
25993 /* end confdefs.h. */
25994 #include <iostream>
25996 typedef std::ostream ac__type_new_;
26000 if ((ac__type_new_ *) 0)
26002 if (sizeof (ac__type_new_))
26008 rm -f conftest.$ac_objext
26009 if { (ac_try="$ac_compile"
26010 case "(($ac_try" in
26011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26012 *) ac_try_echo=$ac_try;;
26014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26015 (eval "$ac_compile") 2>conftest.er1
26017 grep -v '^
*+' conftest.er1 >conftest.err
26019 cat conftest.err >&5
26020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26021 (exit $ac_status); } && {
26022 test -z "$ac_cxx_werror_flag" ||
26023 test ! -s conftest.err
26024 } && test -s conftest.$ac_objext; then
26025 ac_cv_type_std__ostream=yes
26027 echo "$as_me: failed program was:" >&5
26028 sed 's
/^
/| /' conftest.$ac_ext >&5
26030 ac_cv_type_std__ostream=no
26033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26035 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26036 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26037 if test $ac_cv_type_std__ostream = yes; then
26039 cat >>confdefs.h <<_ACEOF
26040 #define HAVE_STD__OSTREAM 1
26045 wxUSE_STD_IOSTREAM=no
26049 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26050 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26051 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
26052 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26053 { (exit 1); exit 1; }; }
26055 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26056 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26061 if test "$wxUSE_STL" = "yes"; then
26062 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26063 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26064 if test "${wx_cv_lib_stl+set}" = set; then
26065 echo $ECHO_N "(cached) $ECHO_C" >&6
26067 cat >conftest.$ac_ext <<_ACEOF
26070 cat confdefs.h >>conftest.$ac_ext
26071 cat >>conftest.$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26074 #include <functional>
26075 #include <algorithm>
26081 std::vector<int> moo;
26082 std::list<int> foo;
26083 std::vector<int>::iterator it =
26084 std::find_if(moo.begin(), moo.end(),
26085 std::bind2nd(std::less<int>(), 3));
26090 rm -f conftest.$ac_objext
26091 if { (ac_try="$ac_compile"
26092 case "(($ac_try" in
26093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26094 *) ac_try_echo=$ac_try;;
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_compile") 2>conftest.er1
26099 grep -v '^
*+' conftest.er1 >conftest.err
26101 cat conftest.err >&5
26102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26103 (exit $ac_status); } && {
26104 test -z "$ac_cxx_werror_flag" ||
26105 test ! -s conftest.err
26106 } && test -s conftest.$ac_objext; then
26109 echo "$as_me: failed program was:" >&5
26110 sed 's
/^
/| /' conftest.$ac_ext >&5
26116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26119 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26120 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26122 if test "$wx_cv_lib_stl" != yes; then
26123 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
26124 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
26125 { (exit 1); exit 1; }; }
26128 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26129 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26130 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26131 echo $ECHO_N "(cached) $ECHO_C" >&6
26133 cat >conftest.$ac_ext <<_ACEOF
26136 cat confdefs.h >>conftest.$ac_ext
26137 cat >>conftest.$ac_ext <<_ACEOF
26138 /* end confdefs.h. */
26143 std::string foo, bar;
26145 foo.compare(1, 1, bar);
26146 foo.compare(1, 1, bar, 1, 1);
26148 foo.compare(1, 1, "");
26149 foo.compare(1, 1, "", 2);
26154 rm -f conftest.$ac_objext
26155 if { (ac_try="$ac_compile"
26156 case "(($ac_try" in
26157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26158 *) ac_try_echo=$ac_try;;
26160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26161 (eval "$ac_compile") 2>conftest.er1
26163 grep -v '^
*+' conftest.er1 >conftest.err
26165 cat conftest.err >&5
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); } && {
26168 test -z "$ac_cxx_werror_flag" ||
26169 test ! -s conftest.err
26170 } && test -s conftest.$ac_objext; then
26171 wx_cv_func_stdstring_compare=yes
26173 echo "$as_me: failed program was:" >&5
26174 sed 's
/^
/| /' conftest.$ac_ext >&5
26176 wx_cv_func_stdstring_compare=no
26180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26183 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26184 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26186 if test "$wx_cv_func_stdstring_compare" = yes; then
26187 cat >>confdefs.h <<\_ACEOF
26188 #define HAVE_STD_STRING_COMPARE 1
26193 if test "$wx_cv_class_gnuhashmapset" = yes; then
26194 cat >>confdefs.h <<\_ACEOF
26195 #define HAVE_EXT_HASH_MAP 1
26198 cat >>confdefs.h <<\_ACEOF
26199 #define HAVE_GNU_CXX_HASH_MAP 1
26204 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26205 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26206 if test "${ac_cv_header_unordered_map+set}" = set; then
26207 echo $ECHO_N "(cached) $ECHO_C" >&6
26209 cat >conftest.$ac_ext <<_ACEOF
26212 cat confdefs.h >>conftest.$ac_ext
26213 cat >>conftest.$ac_ext <<_ACEOF
26214 /* end confdefs.h. */
26218 #include <unordered_map>
26220 rm -f conftest.$ac_objext
26221 if { (ac_try="$ac_compile"
26222 case "(($ac_try" in
26223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26224 *) ac_try_echo=$ac_try;;
26226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26227 (eval "$ac_compile") 2>conftest.er1
26229 grep -v '^
*+' conftest.er1 >conftest.err
26231 cat conftest.err >&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); } && {
26234 test -z "$ac_cxx_werror_flag" ||
26235 test ! -s conftest.err
26236 } && test -s conftest.$ac_objext; then
26237 ac_cv_header_unordered_map=yes
26239 echo "$as_me: failed program was:" >&5
26240 sed 's
/^
/| /' conftest.$ac_ext >&5
26242 ac_cv_header_unordered_map=no
26245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26247 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26248 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26249 if test $ac_cv_header_unordered_map = yes; then
26250 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26251 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26252 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26253 echo $ECHO_N "(cached) $ECHO_C" >&6
26255 cat >conftest.$ac_ext <<_ACEOF
26258 cat confdefs.h >>conftest.$ac_ext
26259 cat >>conftest.$ac_ext <<_ACEOF
26260 /* end confdefs.h. */
26261 #include <unordered_map>
26262 #include <unordered_set>
26266 std::unordered_map<double*, char*> test1;
26267 std::unordered_set<char*> test2;
26272 rm -f conftest.$ac_objext
26273 if { (ac_try="$ac_compile"
26274 case "(($ac_try" in
26275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26276 *) ac_try_echo=$ac_try;;
26278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26279 (eval "$ac_compile") 2>conftest.er1
26281 grep -v '^
*+' conftest.er1 >conftest.err
26283 cat conftest.err >&5
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); } && {
26286 test -z "$ac_cxx_werror_flag" ||
26287 test ! -s conftest.err
26288 } && test -s conftest.$ac_objext; then
26289 wx_cv_class_stdunorderedmapset=yes
26291 echo "$as_me: failed program was:" >&5
26292 sed 's
/^
/| /' conftest.$ac_ext >&5
26294 wx_cv_class_stdunorderedmapset=no
26297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26301 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26302 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26307 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26308 cat >>confdefs.h <<\_ACEOF
26309 #define HAVE_STD_UNORDERED_MAP 1
26312 cat >>confdefs.h <<\_ACEOF
26313 #define HAVE_STD_UNORDERED_SET 1
26317 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26318 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26319 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26320 echo $ECHO_N "(cached) $ECHO_C" >&6
26322 cat >conftest.$ac_ext <<_ACEOF
26325 cat confdefs.h >>conftest.$ac_ext
26326 cat >>conftest.$ac_ext <<_ACEOF
26327 /* end confdefs.h. */
26331 #include <tr1/unordered_map>
26333 rm -f conftest.$ac_objext
26334 if { (ac_try="$ac_compile"
26335 case "(($ac_try" in
26336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26337 *) ac_try_echo=$ac_try;;
26339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26340 (eval "$ac_compile") 2>conftest.er1
26342 grep -v '^
*+' conftest.er1 >conftest.err
26344 cat conftest.err >&5
26345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26346 (exit $ac_status); } && {
26347 test -z "$ac_cxx_werror_flag" ||
26348 test ! -s conftest.err
26349 } && test -s conftest.$ac_objext; then
26350 ac_cv_header_tr1_unordered_map=yes
26352 echo "$as_me: failed program was:" >&5
26353 sed 's
/^
/| /' conftest.$ac_ext >&5
26355 ac_cv_header_tr1_unordered_map=no
26358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26360 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26361 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26362 if test $ac_cv_header_tr1_unordered_map = yes; then
26363 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26364 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26365 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26366 echo $ECHO_N "(cached) $ECHO_C" >&6
26368 cat >conftest.$ac_ext <<_ACEOF
26371 cat confdefs.h >>conftest.$ac_ext
26372 cat >>conftest.$ac_ext <<_ACEOF
26373 /* end confdefs.h. */
26374 #include <tr1/unordered_map>
26375 #include <tr1/unordered_set>
26379 std::tr1::unordered_map<double*, char*> test1;
26380 std::tr1::unordered_set<char*> test2;
26381 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26382 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
26388 rm -f conftest.
$ac_objext
26389 if { (ac_try
="$ac_compile"
26390 case "(($ac_try" in
26391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26392 *) ac_try_echo=$ac_try;;
26394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26395 (eval "$ac_compile") 2>conftest.er1
26397 grep -v '^ *+' conftest.er1 >conftest.err
26399 cat conftest.err >&5
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); } && {
26402 test -z "$ac_cxx_werror_flag" ||
26403 test ! -s conftest.err
26404 } && test -s conftest.$ac_objext; then
26405 wx_cv_class_tr1unorderedmapset=yes
26407 echo "$as_me: failed program was:" >&5
26408 sed 's/^/| /' conftest.$ac_ext >&5
26410 wx_cv_class_tr1unorderedmapset=no
26413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26417 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26418 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26423 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26424 cat >>confdefs.h <<\_ACEOF
26425 #define HAVE_TR1_UNORDERED_MAP 1
26428 cat >>confdefs.h <<\_ACEOF
26429 #define HAVE_TR1_UNORDERED_SET 1
26433 { echo "$as_me:$LINENO: checking for hash_map" >&5
26434 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26435 if test "${ac_cv_header_hash_map+set}" = set; then
26436 echo $ECHO_N "(cached) $ECHO_C" >&6
26438 cat >conftest.$ac_ext <<_ACEOF
26441 cat confdefs.h >>conftest.$ac_ext
26442 cat >>conftest.$ac_ext <<_ACEOF
26443 /* end confdefs.h. */
26447 #include <hash_map>
26449 rm -f conftest.$ac_objext
26450 if { (ac_try="$ac_compile"
26451 case "(($ac_try" in
26452 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26453 *) ac_try_echo
=$ac_try;;
26455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26456 (eval "$ac_compile") 2>conftest.er1
26458 grep -v '^ *+' conftest.er1
>conftest.err
26460 cat conftest.err
>&5
26461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26462 (exit $ac_status); } && {
26463 test -z "$ac_cxx_werror_flag" ||
26464 test ! -s conftest.err
26465 } && test -s conftest.
$ac_objext; then
26466 ac_cv_header_hash_map
=yes
26468 echo "$as_me: failed program was:" >&5
26469 sed 's/^/| /' conftest.
$ac_ext >&5
26471 ac_cv_header_hash_map
=no
26474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26476 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26477 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26478 if test $ac_cv_header_hash_map = yes; then
26479 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26480 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26481 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26482 echo $ECHO_N "(cached) $ECHO_C" >&6
26484 cat >conftest.
$ac_ext <<_ACEOF
26487 cat confdefs.h
>>conftest.
$ac_ext
26488 cat >>conftest.
$ac_ext <<_ACEOF
26489 /* end confdefs.h. */
26490 #include <hash_map>
26491 #include <hash_set>
26495 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26496 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26501 rm -f conftest.
$ac_objext
26502 if { (ac_try
="$ac_compile"
26503 case "(($ac_try" in
26504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26505 *) ac_try_echo=$ac_try;;
26507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26508 (eval "$ac_compile") 2>conftest.er1
26510 grep -v '^ *+' conftest.er1 >conftest.err
26512 cat conftest.err >&5
26513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26514 (exit $ac_status); } && {
26515 test -z "$ac_cxx_werror_flag" ||
26516 test ! -s conftest.err
26517 } && test -s conftest.$ac_objext; then
26518 wx_cv_class_stdhashmapset=yes
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26523 wx_cv_class_stdhashmapset=no
26526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26530 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26531 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26536 if test "$wx_cv_class_stdhashmapset" = yes; then
26537 cat >>confdefs.h <<\_ACEOF
26538 #define HAVE_HASH_MAP 1
26541 cat >>confdefs.h <<\_ACEOF
26542 #define HAVE_STD_HASH_MAP 1
26547 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26548 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26549 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26550 echo $ECHO_N "(cached) $ECHO_C" >&6
26552 cat >conftest.$ac_ext <<_ACEOF
26555 cat confdefs.h >>conftest.$ac_ext
26556 cat >>conftest.$ac_ext <<_ACEOF
26557 /* end confdefs.h. */
26561 #include <ext/hash_map>
26563 rm -f conftest.$ac_objext
26564 if { (ac_try="$ac_compile"
26565 case "(($ac_try" in
26566 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26567 *) ac_try_echo
=$ac_try;;
26569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26570 (eval "$ac_compile") 2>conftest.er1
26572 grep -v '^ *+' conftest.er1
>conftest.err
26574 cat conftest.err
>&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); } && {
26577 test -z "$ac_cxx_werror_flag" ||
26578 test ! -s conftest.err
26579 } && test -s conftest.
$ac_objext; then
26580 ac_cv_header_ext_hash_map
=yes
26582 echo "$as_me: failed program was:" >&5
26583 sed 's/^/| /' conftest.
$ac_ext >&5
26585 ac_cv_header_ext_hash_map
=no
26588 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26590 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26591 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26592 if test $ac_cv_header_ext_hash_map = yes; then
26593 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26594 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26595 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26596 echo $ECHO_N "(cached) $ECHO_C" >&6
26598 cat >conftest.
$ac_ext <<_ACEOF
26601 cat confdefs.h
>>conftest.
$ac_ext
26602 cat >>conftest.
$ac_ext <<_ACEOF
26603 /* end confdefs.h. */
26604 #include <ext/hash_map>
26605 #include <ext/hash_set>
26609 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26610 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26615 rm -f conftest.
$ac_objext
26616 if { (ac_try
="$ac_compile"
26617 case "(($ac_try" in
26618 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26619 *) ac_try_echo=$ac_try;;
26621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26622 (eval "$ac_compile") 2>conftest.er1
26624 grep -v '^ *+' conftest.er1 >conftest.err
26626 cat conftest.err >&5
26627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26628 (exit $ac_status); } && {
26629 test -z "$ac_cxx_werror_flag" ||
26630 test ! -s conftest.err
26631 } && test -s conftest.$ac_objext; then
26632 wx_cv_class_gnuhashmapset=yes
26634 echo "$as_me: failed program was:" >&5
26635 sed 's/^/| /' conftest.$ac_ext >&5
26637 wx_cv_class_gnuhashmapset=no
26640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26644 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26645 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26655 ac_cpp='$CXXCPP $CPPFLAGS'
26656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26659 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26660 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26661 if test -z "$CXXCPP"; then
26662 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26663 echo $ECHO_N "(cached) $ECHO_C" >&6
26665 # Double quotes because CXXCPP needs to be expanded
26666 for CXXCPP in "$CXX -E" "/lib/cpp"
26668 ac_preproc_ok=false
26669 for ac_cxx_preproc_warn_flag in '' yes
26671 # Use a header file that comes with gcc, so configuring glibc
26672 # with a fresh cross-compiler works.
26673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26674 # <limits.h> exists even on freestanding compilers.
26675 # On the NeXT, cc -E runs the code through the compiler's parser,
26676 # not just through cpp. "Syntax error" is here to catch this case.
26677 cat >conftest.$ac_ext <<_ACEOF
26680 cat confdefs.h >>conftest.$ac_ext
26681 cat >>conftest.$ac_ext <<_ACEOF
26682 /* end confdefs.h. */
26684 # include <limits.h>
26686 # include <assert.h>
26690 if { (ac_try="$ac_cpp conftest.$ac_ext"
26691 case "(($ac_try" in
26692 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26693 *) ac_try_echo
=$ac_try;;
26695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26696 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26698 grep -v '^ *+' conftest.er1
>conftest.err
26700 cat conftest.err
>&5
26701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26702 (exit $ac_status); } >/dev
/null
&& {
26703 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26704 test ! -s conftest.err
26708 echo "$as_me: failed program was:" >&5
26709 sed 's/^/| /' conftest.
$ac_ext >&5
26711 # Broken: fails on valid input.
26715 rm -f conftest.err conftest.
$ac_ext
26717 # OK, works on sane cases. Now check whether nonexistent headers
26718 # can be detected and how.
26719 cat >conftest.
$ac_ext <<_ACEOF
26722 cat confdefs.h
>>conftest.
$ac_ext
26723 cat >>conftest.
$ac_ext <<_ACEOF
26724 /* end confdefs.h. */
26725 #include <ac_nonexistent.h>
26727 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26728 case "(($ac_try" in
26729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26730 *) ac_try_echo=$ac_try;;
26732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26733 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26735 grep -v '^ *+' conftest.er1 >conftest.err
26737 cat conftest.err >&5
26738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739 (exit $ac_status); } >/dev/null && {
26740 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26741 test ! -s conftest.err
26743 # Broken: success on invalid input.
26746 echo "$as_me: failed program was:" >&5
26747 sed 's/^/| /' conftest.$ac_ext >&5
26749 # Passes both tests.
26754 rm -f conftest.err conftest.$ac_ext
26757 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26758 rm -f conftest.err conftest.
$ac_ext
26759 if $ac_preproc_ok; then
26764 ac_cv_prog_CXXCPP
=$CXXCPP
26767 CXXCPP
=$ac_cv_prog_CXXCPP
26769 ac_cv_prog_CXXCPP
=$CXXCPP
26771 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26772 echo "${ECHO_T}$CXXCPP" >&6; }
26773 ac_preproc_ok
=false
26774 for ac_cxx_preproc_warn_flag
in '' yes
26776 # Use a header file that comes with gcc, so configuring glibc
26777 # with a fresh cross-compiler works.
26778 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26779 # <limits.h> exists even on freestanding compilers.
26780 # On the NeXT, cc -E runs the code through the compiler's parser,
26781 # not just through cpp. "Syntax error" is here to catch this case.
26782 cat >conftest.
$ac_ext <<_ACEOF
26785 cat confdefs.h
>>conftest.
$ac_ext
26786 cat >>conftest.
$ac_ext <<_ACEOF
26787 /* end confdefs.h. */
26789 # include <limits.h>
26791 # include <assert.h>
26795 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26796 case "(($ac_try" in
26797 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26798 *) ac_try_echo=$ac_try;;
26800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26803 grep -v '^ *+' conftest.er1 >conftest.err
26805 cat conftest.err >&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); } >/dev/null && {
26808 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26809 test ! -s conftest.err
26813 echo "$as_me: failed program was:" >&5
26814 sed 's/^/| /' conftest.$ac_ext >&5
26816 # Broken: fails on valid input.
26820 rm -f conftest.err conftest.$ac_ext
26822 # OK, works on sane cases. Now check whether nonexistent headers
26823 # can be detected and how.
26824 cat >conftest.$ac_ext <<_ACEOF
26827 cat confdefs.h >>conftest.$ac_ext
26828 cat >>conftest.$ac_ext <<_ACEOF
26829 /* end confdefs.h. */
26830 #include <ac_nonexistent.h>
26832 if { (ac_try="$ac_cpp conftest.$ac_ext"
26833 case "(($ac_try" in
26834 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26835 *) ac_try_echo
=$ac_try;;
26837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26838 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26840 grep -v '^ *+' conftest.er1
>conftest.err
26842 cat conftest.err
>&5
26843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844 (exit $ac_status); } >/dev
/null
&& {
26845 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26846 test ! -s conftest.err
26848 # Broken: success on invalid input.
26851 echo "$as_me: failed program was:" >&5
26852 sed 's/^/| /' conftest.
$ac_ext >&5
26854 # Passes both tests.
26859 rm -f conftest.err conftest.
$ac_ext
26862 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26863 rm -f conftest.err conftest.
$ac_ext
26864 if $ac_preproc_ok; then
26867 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26868 See \`config.log' for more details." >&5
26869 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26870 See \`config.log' for more details." >&2;}
26871 { (exit 1); exit 1; }; }
26875 ac_cpp
='$CXXCPP $CPPFLAGS'
26876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26883 for ac_header
in type_traits tr
1/type_traits
26885 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26886 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26887 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26889 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26890 echo $ECHO_N "(cached) $ECHO_C" >&6
26892 ac_res
=`eval echo '${'$as_ac_Header'}'`
26893 { echo "$as_me:$LINENO: result: $ac_res" >&5
26894 echo "${ECHO_T}$ac_res" >&6; }
26896 # Is the header compilable?
26897 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26898 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26899 cat >conftest.
$ac_ext <<_ACEOF
26902 cat confdefs.h
>>conftest.
$ac_ext
26903 cat >>conftest.
$ac_ext <<_ACEOF
26904 /* end confdefs.h. */
26905 $ac_includes_default
26906 #include <$ac_header>
26908 rm -f conftest.
$ac_objext
26909 if { (ac_try
="$ac_compile"
26910 case "(($ac_try" in
26911 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26912 *) ac_try_echo=$ac_try;;
26914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26915 (eval "$ac_compile") 2>conftest.er1
26917 grep -v '^ *+' conftest.er1 >conftest.err
26919 cat conftest.err >&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } && {
26922 test -z "$ac_cxx_werror_flag" ||
26923 test ! -s conftest.err
26924 } && test -s conftest.$ac_objext; then
26925 ac_header_compiler=yes
26927 echo "$as_me: failed program was:" >&5
26928 sed 's/^/| /' conftest.$ac_ext >&5
26930 ac_header_compiler=no
26933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26934 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26935 echo "${ECHO_T}$ac_header_compiler" >&6; }
26937 # Is the header present?
26938 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26940 cat >conftest.$ac_ext <<_ACEOF
26943 cat confdefs.h >>conftest.$ac_ext
26944 cat >>conftest.$ac_ext <<_ACEOF
26945 /* end confdefs.h. */
26946 #include <$ac_header>
26948 if { (ac_try="$ac_cpp conftest.$ac_ext"
26949 case "(($ac_try" in
26950 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26951 *) ac_try_echo
=$ac_try;;
26953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26954 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26956 grep -v '^ *+' conftest.er1
>conftest.err
26958 cat conftest.err
>&5
26959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26960 (exit $ac_status); } >/dev
/null
&& {
26961 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26962 test ! -s conftest.err
26964 ac_header_preproc
=yes
26966 echo "$as_me: failed program was:" >&5
26967 sed 's/^/| /' conftest.
$ac_ext >&5
26969 ac_header_preproc
=no
26972 rm -f conftest.err conftest.
$ac_ext
26973 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26974 echo "${ECHO_T}$ac_header_preproc" >&6; }
26976 # So? What about this header?
26977 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26979 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26980 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26982 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26983 ac_header_preproc
=yes
26986 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26987 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26988 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26989 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26990 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26991 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26992 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26993 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26994 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26995 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26996 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26997 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26999 ## ----------------------------------------- ##
27000 ## Report this to wx-dev@lists.wxwidgets.org ##
27001 ## ----------------------------------------- ##
27003 ) | sed "s/^/$as_me: WARNING: /" >&2
27006 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27008 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27009 echo $ECHO_N "(cached) $ECHO_C" >&6
27011 eval "$as_ac_Header=\$ac_header_preproc"
27013 ac_res
=`eval echo '${'$as_ac_Header'}'`
27014 { echo "$as_me:$LINENO: result: $ac_res" >&5
27015 echo "${ECHO_T}$ac_res" >&6; }
27018 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27019 cat >>confdefs.h
<<_ACEOF
27020 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27030 if test -n "$GCC"; then
27031 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27032 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27033 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27034 echo $ECHO_N "(cached) $ECHO_C" >&6
27037 cat >conftest.
$ac_ext <<_ACEOF
27040 cat confdefs.h
>>conftest.
$ac_ext
27041 cat >>conftest.
$ac_ext <<_ACEOF
27042 /* end confdefs.h. */
27048 unsigned int value=0;
27049 /* wxAtomicInc doesn't use return value here */
27050 __sync_fetch_and_add(&value, 2);
27051 __sync_sub_and_fetch(&value, 1);
27052 /* but wxAtomicDec does, so mimic that: */
27053 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27059 rm -f conftest.
$ac_objext conftest
$ac_exeext
27060 if { (ac_try
="$ac_link"
27061 case "(($ac_try" in
27062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27063 *) ac_try_echo=$ac_try;;
27065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27066 (eval "$ac_link") 2>conftest.er1
27068 grep -v '^ *+' conftest.er1 >conftest.err
27070 cat conftest.err >&5
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); } && {
27073 test -z "$ac_cxx_werror_flag" ||
27074 test ! -s conftest.err
27075 } && test -s conftest$ac_exeext &&
27076 $as_test_x conftest$ac_exeext; then
27077 wx_cv_cc_gcc_atomic_builtins=yes
27079 echo "$as_me: failed program was:" >&5
27080 sed 's/^/| /' conftest.$ac_ext >&5
27082 wx_cv_cc_gcc_atomic_builtins=no
27085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27086 conftest$ac_exeext conftest.$ac_ext
27090 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27091 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27092 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27093 cat >>confdefs.h <<\_ACEOF
27094 #define HAVE_GCC_ATOMIC_BUILTINS 1
27102 ac_cpp='$CPP $CPPFLAGS'
27103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27110 /usr/local/include \
27111 /usr/local/X11/include \
27112 /usr/local/include/X11 \
27113 /usr/local/X11R7/include \
27114 /usr/local/X11R6/include \
27115 /usr/local/include/X11R7 \
27116 /usr/local/include/X11R6 \
27118 /usr/Motif-2.1/include \
27119 /usr/Motif-1.2/include \
27120 /usr/include/Motif1.2 \
27123 /usr/openwin/include \
27127 /usr/X11R7/include \
27128 /usr/X11R6/include \
27129 /usr/X11R6.4/include \
27131 /usr/include/X11R7 \
27132 /usr/include/X11R6 \
27137 /usr/XFree86/include/X11 \
27140 /usr/local/X1R5/include \
27141 /usr/local/include/X11R5 \
27142 /usr/X11R5/include \
27143 /usr/include/X11R5 \
27145 /usr/local/X11R4/include \
27146 /usr/local/include/X11R4 \
27147 /usr/X11R4/include \
27148 /usr/include/X11R4 \
27150 /usr/openwin/share/include"
27152 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27153 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27157 if test "${wx_cv_std_libpath+set}" = set; then
27158 echo $ECHO_N "(cached) $ECHO_C" >&6
27161 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27162 for e in a so sl dylib dll.a; do
27164 if test -f $libc; then
27167 cat >conftest.$ac_ext <<_ACEOF
27171 cat confdefs.h >>conftest.$ac_ext
27172 cat >>conftest.$ac_ext <<_ACEOF
27173 /* end confdefs.h. */
27174 int main() { return 0; }
27177 rm -f conftest.$ac_objext conftest$ac_exeext
27178 if { (ac_try="$ac_link"
27179 case "(($ac_try" in
27180 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27181 *) ac_try_echo
=$ac_try;;
27183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27184 (eval "$ac_link") 2>conftest.er1
27186 grep -v '^ *+' conftest.er1
>conftest.err
27188 cat conftest.err
>&5
27189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190 (exit $ac_status); } && {
27191 test -z "$ac_c_werror_flag" ||
27192 test ! -s conftest.err
27193 } && test -s conftest
$ac_exeext &&
27194 $as_test_x conftest
$ac_exeext; then
27195 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
27197 echo "$as_me: failed program was:" >&5
27198 sed 's/^/| /' conftest.
$ac_ext >&5
27203 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27204 conftest
$ac_exeext conftest.
$ac_ext
27206 if test "x$wx_cv_std_libpath" != "x"; then
27219 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27220 wx_cv_std_libpath
="lib/64"
27225 if test "$ac_cv_sizeof_void_p" = 8; then
27226 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27227 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
27228 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27229 wx_cv_std_libpath
="lib64"
27234 if test -d '/usr/lib/i386-linux-gnu'; then
27235 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
27240 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27241 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
27246 if test -z "$wx_cv_std_libpath"; then
27247 wx_cv_std_libpath
="lib"
27250 if test -z "$wx_cv_std_libfullpath"; then
27251 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
27255 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27256 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27258 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27260 if test "$build" != "$host" -a "$GCC" = yes; then
27261 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
27262 cross_root
=`dirname $cross_root`
27263 cross_root
=`dirname $cross_root`
27265 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27266 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27267 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
27269 if test -z "$PKG_CONFIG_PATH"; then
27270 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27271 export PKG_CONFIG_PATH
27274 if test -z "$x_includes" -o "$x_includes" = NONE
; then
27277 for ac_dir
in $SEARCH_INCLUDE /usr
/include
27279 if test -f "$ac_dir/X11/Intrinsic.h"; then
27280 ac_find_includes
=$ac_dir
27285 x_includes
=$ac_find_includes
27287 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
27290 for ac_dir
in $SEARCH_LIB
27292 for ac_extension
in a so sl dylib dll.a
; do
27293 if test -f "$ac_dir/libXt.$ac_extension"; then
27294 ac_find_libraries
=$ac_dir
27300 x_libraries
=$ac_find_libraries
27306 cat >confcache
<<\_ACEOF
27307 # This file is a shell script that caches the results of configure
27308 # tests run on this system so they can be shared between configure
27309 # scripts and configure runs, see configure's option --config-cache.
27310 # It is not useful on other systems. If it contains results you don't
27311 # want to keep, you may remove or edit it.
27313 # config.status only pays attention to the cache file if you give it
27314 # the --recheck option to rerun configure.
27316 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27317 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27318 # following values.
27322 # The following way of writing the cache mishandles newlines in values,
27323 # but we know of no workaround that is simple, portable, and efficient.
27324 # So, we kill variables containing newlines.
27325 # Ultrix sh set writes to stderr and can't be redirected directly,
27326 # and sets the high bit in the cache file unless we assign to the vars.
27328 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27329 eval ac_val
=\$
$ac_var
27333 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27334 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27337 _
| IFS
| as_nl
) ;; #(
27338 *) $as_unset $ac_var ;;
27344 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27345 *${as_nl}ac_space
=\
*)
27346 # `set' does not quote correctly, so add quotes (double-quote
27347 # substitution turns \\\\ into \\, and sed turns \\ into \).
27350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27353 # `set' quotes correctly as required by POSIX, so do not add quotes.
27354 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27363 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27365 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27367 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27368 if test -w "$cache_file"; then
27369 test "x$cache_file" != "x/dev/null" &&
27370 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27371 echo "$as_me: updating cache $cache_file" >&6;}
27372 cat confcache
>$cache_file
27374 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27375 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27385 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27386 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27388 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27389 echo $ECHO_N "(cached) $ECHO_C" >&6
27391 cat >conftest.
$ac_ext <<_ACEOF
27394 cat confdefs.h
>>conftest.
$ac_ext
27395 cat >>conftest.
$ac_ext <<_ACEOF
27396 /* end confdefs.h. */
27397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27399 #define $ac_func innocuous_$ac_func
27401 /* System header to define __stub macros and hopefully few prototypes,
27402 which can conflict with char $ac_func (); below.
27403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27404 <limits.h> exists even on freestanding compilers. */
27407 # include <limits.h>
27409 # include <assert.h>
27414 /* Override any GCC internal prototype to avoid an error.
27415 Use char because int might match the return type of a GCC
27416 builtin and then its argument prototype would still apply. */
27421 /* The GNU C library defines this for functions which it implements
27422 to always fail with ENOSYS. Some functions are actually named
27423 something starting with __ and the normal name is an alias. */
27424 #if defined __stub_$ac_func || defined __stub___$ac_func
27431 return $ac_func ();
27436 rm -f conftest.
$ac_objext conftest
$ac_exeext
27437 if { (ac_try
="$ac_link"
27438 case "(($ac_try" in
27439 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27440 *) ac_try_echo=$ac_try;;
27442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27443 (eval "$ac_link") 2>conftest.er1
27445 grep -v '^ *+' conftest.er1 >conftest.err
27447 cat conftest.err >&5
27448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27449 (exit $ac_status); } && {
27450 test -z "$ac_c_werror_flag" ||
27451 test ! -s conftest.err
27452 } && test -s conftest$ac_exeext &&
27453 $as_test_x conftest$ac_exeext; then
27454 eval "$as_ac_var=yes"
27456 echo "$as_me: failed program was:" >&5
27457 sed 's/^/| /' conftest.$ac_ext >&5
27459 eval "$as_ac_var=no"
27462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27463 conftest$ac_exeext conftest.$ac_ext
27465 ac_res=`eval echo '${'$as_ac_var'}'`
27466 { echo "$as_me:$LINENO: result: $ac_res" >&5
27467 echo "${ECHO_T}$ac_res" >&6; }
27468 if test `eval echo '${'$as_ac_var'}'` = yes; then
27469 cat >>confdefs.h <<_ACEOF
27470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27477 for ac_func in floor
27479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27483 echo $ECHO_N "(cached) $ECHO_C" >&6
27485 cat >conftest.$ac_ext <<_ACEOF
27488 cat confdefs.h >>conftest.$ac_ext
27489 cat >>conftest.$ac_ext <<_ACEOF
27490 /* end confdefs.h. */
27491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27493 #define $ac_func innocuous_$ac_func
27495 /* System header to define __stub macros and hopefully few prototypes,
27496 which can conflict with char $ac_func (); below.
27497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27498 <limits.h> exists even on freestanding compilers. */
27501 # include <limits.h>
27503 # include <assert.h>
27508 /* Override any GCC internal prototype to avoid an error.
27509 Use char because int might match the return type of a GCC
27510 builtin and then its argument prototype would still apply. */
27515 /* The GNU C library defines this for functions which it implements
27516 to always fail with ENOSYS. Some functions are actually named
27517 something starting with __ and the normal name is an alias. */
27518 #if defined __stub_$ac_func || defined __stub___$ac_func
27525 return $ac_func ();
27530 rm -f conftest.$ac_objext conftest$ac_exeext
27531 if { (ac_try="$ac_link"
27532 case "(($ac_try" in
27533 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27534 *) ac_try_echo
=$ac_try;;
27536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27537 (eval "$ac_link") 2>conftest.er1
27539 grep -v '^ *+' conftest.er1
>conftest.err
27541 cat conftest.err
>&5
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); } && {
27544 test -z "$ac_c_werror_flag" ||
27545 test ! -s conftest.err
27546 } && test -s conftest
$ac_exeext &&
27547 $as_test_x conftest
$ac_exeext; then
27548 eval "$as_ac_var=yes"
27550 echo "$as_me: failed program was:" >&5
27551 sed 's/^/| /' conftest.
$ac_ext >&5
27553 eval "$as_ac_var=no"
27556 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27557 conftest
$ac_exeext conftest.
$ac_ext
27559 ac_res
=`eval echo '${'$as_ac_var'}'`
27560 { echo "$as_me:$LINENO: result: $ac_res" >&5
27561 echo "${ECHO_T}$ac_res" >&6; }
27562 if test `eval echo '${'$as_ac_var'}'` = yes; then
27563 cat >>confdefs.h
<<_ACEOF
27564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27570 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27571 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27572 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27573 { echo "$as_me:$LINENO: result: yes" >&5
27574 echo "${ECHO_T}yes" >&6; }
27576 { echo "$as_me:$LINENO: result: no" >&5
27577 echo "${ECHO_T}no" >&6; }
27579 # use different functions to avoid configure caching
27585 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27586 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27588 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27589 echo $ECHO_N "(cached) $ECHO_C" >&6
27591 cat >conftest.
$ac_ext <<_ACEOF
27594 cat confdefs.h
>>conftest.
$ac_ext
27595 cat >>conftest.
$ac_ext <<_ACEOF
27596 /* end confdefs.h. */
27597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27599 #define $ac_func innocuous_$ac_func
27601 /* System header to define __stub macros and hopefully few prototypes,
27602 which can conflict with char $ac_func (); below.
27603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27604 <limits.h> exists even on freestanding compilers. */
27607 # include <limits.h>
27609 # include <assert.h>
27614 /* Override any GCC internal prototype to avoid an error.
27615 Use char because int might match the return type of a GCC
27616 builtin and then its argument prototype would still apply. */
27621 /* The GNU C library defines this for functions which it implements
27622 to always fail with ENOSYS. Some functions are actually named
27623 something starting with __ and the normal name is an alias. */
27624 #if defined __stub_$ac_func || defined __stub___$ac_func
27631 return $ac_func ();
27636 rm -f conftest.
$ac_objext conftest
$ac_exeext
27637 if { (ac_try
="$ac_link"
27638 case "(($ac_try" in
27639 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27640 *) ac_try_echo=$ac_try;;
27642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27643 (eval "$ac_link") 2>conftest.er1
27645 grep -v '^ *+' conftest.er1 >conftest.err
27647 cat conftest.err >&5
27648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27649 (exit $ac_status); } && {
27650 test -z "$ac_c_werror_flag" ||
27651 test ! -s conftest.err
27652 } && test -s conftest$ac_exeext &&
27653 $as_test_x conftest$ac_exeext; then
27654 eval "$as_ac_var=yes"
27656 echo "$as_me: failed program was:" >&5
27657 sed 's/^/| /' conftest.$ac_ext >&5
27659 eval "$as_ac_var=no"
27662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27663 conftest$ac_exeext conftest.$ac_ext
27665 ac_res=`eval echo '${'$as_ac_var'}'`
27666 { echo "$as_me:$LINENO: result: $ac_res" >&5
27667 echo "${ECHO_T}$ac_res" >&6; }
27668 if test `eval echo '${'$as_ac_var'}'` = yes; then
27669 cat >>confdefs.h <<_ACEOF
27670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27677 for ac_func in ceil
27679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27680 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27682 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27683 echo $ECHO_N "(cached) $ECHO_C" >&6
27685 cat >conftest.$ac_ext <<_ACEOF
27688 cat confdefs.h >>conftest.$ac_ext
27689 cat >>conftest.$ac_ext <<_ACEOF
27690 /* end confdefs.h. */
27691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27693 #define $ac_func innocuous_$ac_func
27695 /* System header to define __stub macros and hopefully few prototypes,
27696 which can conflict with char $ac_func (); below.
27697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27698 <limits.h> exists even on freestanding compilers. */
27701 # include <limits.h>
27703 # include <assert.h>
27708 /* Override any GCC internal prototype to avoid an error.
27709 Use char because int might match the return type of a GCC
27710 builtin and then its argument prototype would still apply. */
27715 /* The GNU C library defines this for functions which it implements
27716 to always fail with ENOSYS. Some functions are actually named
27717 something starting with __ and the normal name is an alias. */
27718 #if defined __stub_$ac_func || defined __stub___$ac_func
27725 return $ac_func ();
27730 rm -f conftest.$ac_objext conftest$ac_exeext
27731 if { (ac_try="$ac_link"
27732 case "(($ac_try" in
27733 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27734 *) ac_try_echo
=$ac_try;;
27736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27737 (eval "$ac_link") 2>conftest.er1
27739 grep -v '^ *+' conftest.er1
>conftest.err
27741 cat conftest.err
>&5
27742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27743 (exit $ac_status); } && {
27744 test -z "$ac_c_werror_flag" ||
27745 test ! -s conftest.err
27746 } && test -s conftest
$ac_exeext &&
27747 $as_test_x conftest
$ac_exeext; then
27748 eval "$as_ac_var=yes"
27750 echo "$as_me: failed program was:" >&5
27751 sed 's/^/| /' conftest.
$ac_ext >&5
27753 eval "$as_ac_var=no"
27756 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27757 conftest
$ac_exeext conftest.
$ac_ext
27759 ac_res
=`eval echo '${'$as_ac_var'}'`
27760 { echo "$as_me:$LINENO: result: $ac_res" >&5
27761 echo "${ECHO_T}$ac_res" >&6; }
27762 if test `eval echo '${'$as_ac_var'}'` = yes; then
27763 cat >>confdefs.h
<<_ACEOF
27764 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27770 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27771 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27772 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27773 { echo "$as_me:$LINENO: result: yes" >&5
27774 echo "${ECHO_T}yes" >&6; }
27776 { echo "$as_me:$LINENO: result: no" >&5
27777 echo "${ECHO_T}no" >&6; }
27778 # not sure we should warn the user, crash, etc.
27783 ac_cpp
='$CXXCPP $CPPFLAGS'
27784 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27785 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27786 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27788 if test "wxUSE_UNICODE" = "yes"; then
27790 for wx_func
in wcstoull
27792 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27793 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27794 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27795 echo $ECHO_N "(cached) $ECHO_C" >&6
27798 cat >conftest.
$ac_ext <<_ACEOF
27802 cat confdefs.h
>>conftest.
$ac_ext
27803 cat >>conftest.
$ac_ext <<_ACEOF
27804 /* end confdefs.h. */
27807 $ac_includes_default
27823 rm -f conftest.
$ac_objext conftest
$ac_exeext
27824 if { (ac_try
="$ac_link"
27825 case "(($ac_try" in
27826 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27827 *) ac_try_echo=$ac_try;;
27829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27830 (eval "$ac_link") 2>conftest.er1
27832 grep -v '^ *+' conftest.er1 >conftest.err
27834 cat conftest.err >&5
27835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27836 (exit $ac_status); } && {
27837 test -z "$ac_cxx_werror_flag" ||
27838 test ! -s conftest.err
27839 } && test -s conftest$ac_exeext &&
27840 $as_test_x conftest$ac_exeext; then
27841 eval wx_cv_func_$wx_func=yes
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.$ac_ext >&5
27846 eval wx_cv_func_$wx_func=no
27849 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27850 conftest$ac_exeext conftest.$ac_ext
27853 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27854 { echo "$as_me:$LINENO: result: $ac_res" >&5
27855 echo "${ECHO_T}$ac_res" >&6; }
27857 if eval test \$wx_cv_func_$wx_func = yes
27859 cat >>confdefs.h <<_ACEOF
27860 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27872 for wx_func in strtoull
27874 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27875 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27876 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27877 echo $ECHO_N "(cached) $ECHO_C" >&6
27880 cat >conftest.$ac_ext <<_ACEOF
27884 cat confdefs.h >>conftest.$ac_ext
27885 cat >>conftest.$ac_ext <<_ACEOF
27886 /* end confdefs.h. */
27889 $ac_includes_default
27905 rm -f conftest.$ac_objext conftest$ac_exeext
27906 if { (ac_try="$ac_link"
27907 case "(($ac_try" in
27908 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27909 *) ac_try_echo
=$ac_try;;
27911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27912 (eval "$ac_link") 2>conftest.er1
27914 grep -v '^ *+' conftest.er1
>conftest.err
27916 cat conftest.err
>&5
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); } && {
27919 test -z "$ac_cxx_werror_flag" ||
27920 test ! -s conftest.err
27921 } && test -s conftest
$ac_exeext &&
27922 $as_test_x conftest
$ac_exeext; then
27923 eval wx_cv_func_
$wx_func=yes
27925 echo "$as_me: failed program was:" >&5
27926 sed 's/^/| /' conftest.
$ac_ext >&5
27928 eval wx_cv_func_
$wx_func=no
27931 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27932 conftest
$ac_exeext conftest.
$ac_ext
27935 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27936 { echo "$as_me:$LINENO: result: $ac_res" >&5
27937 echo "${ECHO_T}$ac_res" >&6; }
27939 if eval test \
$wx_cv_func_$wx_func = yes
27941 cat >>confdefs.h
<<_ACEOF
27942 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27954 ac_cpp
='$CPP $CPPFLAGS'
27955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27962 if test "$wxUSE_REGEX" != "no"; then
27963 cat >>confdefs.h
<<\_ACEOF
27964 #define wxUSE_REGEX 1
27968 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27969 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27970 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27971 wxUSE_REGEX
=builtin
27974 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27975 { echo "$as_me:$LINENO: checking for regex.h" >&5
27976 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27977 if test "${ac_cv_header_regex_h+set}" = set; then
27978 echo $ECHO_N "(cached) $ECHO_C" >&6
27980 cat >conftest.
$ac_ext <<_ACEOF
27983 cat confdefs.h
>>conftest.
$ac_ext
27984 cat >>conftest.
$ac_ext <<_ACEOF
27985 /* end confdefs.h. */
27990 rm -f conftest.
$ac_objext
27991 if { (ac_try
="$ac_compile"
27992 case "(($ac_try" in
27993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27994 *) ac_try_echo=$ac_try;;
27996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27997 (eval "$ac_compile") 2>conftest.er1
27999 grep -v '^ *+' conftest.er1 >conftest.err
28001 cat conftest.err >&5
28002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28003 (exit $ac_status); } && {
28004 test -z "$ac_c_werror_flag" ||
28005 test ! -s conftest.err
28006 } && test -s conftest.$ac_objext; then
28007 ac_cv_header_regex_h=yes
28009 echo "$as_me: failed program was:" >&5
28010 sed 's/^/| /' conftest.$ac_ext >&5
28012 ac_cv_header_regex_h=no
28015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28017 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28018 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28019 if test $ac_cv_header_regex_h = yes; then
28022 for ac_func in regcomp re_search
28024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28027 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28028 echo $ECHO_N "(cached) $ECHO_C" >&6
28030 cat >conftest.$ac_ext <<_ACEOF
28033 cat confdefs.h >>conftest.$ac_ext
28034 cat >>conftest.$ac_ext <<_ACEOF
28035 /* end confdefs.h. */
28036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28038 #define $ac_func innocuous_$ac_func
28040 /* System header to define __stub macros and hopefully few prototypes,
28041 which can conflict with char $ac_func (); below.
28042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28043 <limits.h> exists even on freestanding compilers. */
28046 # include <limits.h>
28048 # include <assert.h>
28053 /* Override any GCC internal prototype to avoid an error.
28054 Use char because int might match the return type of a GCC
28055 builtin and then its argument prototype would still apply. */
28060 /* The GNU C library defines this for functions which it implements
28061 to always fail with ENOSYS. Some functions are actually named
28062 something starting with __ and the normal name is an alias. */
28063 #if defined __stub_$ac_func || defined __stub___$ac_func
28070 return $ac_func ();
28075 rm -f conftest.$ac_objext conftest$ac_exeext
28076 if { (ac_try="$ac_link"
28077 case "(($ac_try" in
28078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28079 *) ac_try_echo
=$ac_try;;
28081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28082 (eval "$ac_link") 2>conftest.er1
28084 grep -v '^ *+' conftest.er1
>conftest.err
28086 cat conftest.err
>&5
28087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28088 (exit $ac_status); } && {
28089 test -z "$ac_c_werror_flag" ||
28090 test ! -s conftest.err
28091 } && test -s conftest
$ac_exeext &&
28092 $as_test_x conftest
$ac_exeext; then
28093 eval "$as_ac_var=yes"
28095 echo "$as_me: failed program was:" >&5
28096 sed 's/^/| /' conftest.
$ac_ext >&5
28098 eval "$as_ac_var=no"
28101 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28102 conftest
$ac_exeext conftest.
$ac_ext
28104 ac_res
=`eval echo '${'$as_ac_var'}'`
28105 { echo "$as_me:$LINENO: result: $ac_res" >&5
28106 echo "${ECHO_T}$ac_res" >&6; }
28107 if test `eval echo '${'$as_ac_var'}'` = yes; then
28108 cat >>confdefs.h
<<_ACEOF
28109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28119 if test "x$ac_cv_func_regcomp" != "xyes"; then
28120 if test "$wxUSE_REGEX" = "sys" ; then
28121 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28122 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28123 { (exit 1); exit 1; }; }
28125 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28126 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28127 wxUSE_REGEX
=builtin
28131 cat >>confdefs.h
<<\_ACEOF
28132 #define WX_NO_REGEX_ADVANCED 1
28141 if test "$wxUSE_ZLIB" != "no" ; then
28142 cat >>confdefs.h
<<\_ACEOF
28143 #define wxUSE_ZLIB 1
28147 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28148 if test "$USE_DARWIN" = 1; then
28149 system_zlib_h_ok
="yes"
28151 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28152 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28153 if test "${ac_cv_header_zlib_h+set}" = set; then
28154 echo $ECHO_N "(cached) $ECHO_C" >&6
28156 if test "$cross_compiling" = yes; then
28157 unset ac_cv_header_zlib_h
28160 cat >conftest.
$ac_ext <<_ACEOF
28163 cat confdefs.h
>>conftest.
$ac_ext
28164 cat >>conftest.
$ac_ext <<_ACEOF
28165 /* end confdefs.h. */
28172 FILE *f=fopen("conftestval", "w");
28175 ZLIB_VERSION[0] == '1' &&
28176 (ZLIB_VERSION[2] > '1' ||
28177 (ZLIB_VERSION[2] == '1' &&
28178 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28183 rm -f conftest
$ac_exeext
28184 if { (ac_try
="$ac_link"
28185 case "(($ac_try" in
28186 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28187 *) ac_try_echo=$ac_try;;
28189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28190 (eval "$ac_link") 2>&5
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28194 { (case "(($ac_try" in
28195 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28196 *) ac_try_echo
=$ac_try;;
28198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28199 (eval "$ac_try") 2>&5
28201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28202 (exit $ac_status); }; }; then
28203 ac_cv_header_zlib_h
=`cat conftestval`
28205 echo "$as_me: program exited with status $ac_status" >&5
28206 echo "$as_me: failed program was:" >&5
28207 sed 's/^/| /' conftest.
$ac_ext >&5
28209 ( exit $ac_status )
28210 ac_cv_header_zlib_h
=no
28212 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28218 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28219 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28220 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28221 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28222 if test "${ac_cv_header_zlib_h+set}" = set; then
28223 echo $ECHO_N "(cached) $ECHO_C" >&6
28225 cat >conftest.
$ac_ext <<_ACEOF
28228 cat confdefs.h
>>conftest.
$ac_ext
28229 cat >>conftest.
$ac_ext <<_ACEOF
28230 /* end confdefs.h. */
28235 rm -f conftest.
$ac_objext
28236 if { (ac_try
="$ac_compile"
28237 case "(($ac_try" in
28238 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28239 *) ac_try_echo=$ac_try;;
28241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28242 (eval "$ac_compile") 2>conftest.er1
28244 grep -v '^ *+' conftest.er1 >conftest.err
28246 cat conftest.err >&5
28247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28248 (exit $ac_status); } && {
28249 test -z "$ac_c_werror_flag" ||
28250 test ! -s conftest.err
28251 } && test -s conftest.$ac_objext; then
28252 ac_cv_header_zlib_h=yes
28254 echo "$as_me: failed program was:" >&5
28255 sed 's/^/| /' conftest.$ac_ext >&5
28257 ac_cv_header_zlib_h=no
28260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28262 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28263 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28267 system_zlib_h_ok=$ac_cv_header_zlib_h
28270 if test "$system_zlib_h_ok" = "yes"; then
28271 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28272 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28273 if test "${ac_cv_lib_z_deflate+set}" = set; then
28274 echo $ECHO_N "(cached) $ECHO_C" >&6
28276 ac_check_lib_save_LIBS=$LIBS
28278 cat >conftest.$ac_ext <<_ACEOF
28281 cat confdefs.h >>conftest.$ac_ext
28282 cat >>conftest.$ac_ext <<_ACEOF
28283 /* end confdefs.h. */
28285 /* Override any GCC internal prototype to avoid an error.
28286 Use char because int might match the return type of a GCC
28287 builtin and then its argument prototype would still apply. */
28300 rm -f conftest.$ac_objext conftest$ac_exeext
28301 if { (ac_try="$ac_link"
28302 case "(($ac_try" in
28303 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28304 *) ac_try_echo
=$ac_try;;
28306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28307 (eval "$ac_link") 2>conftest.er1
28309 grep -v '^ *+' conftest.er1
>conftest.err
28311 cat conftest.err
>&5
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); } && {
28314 test -z "$ac_c_werror_flag" ||
28315 test ! -s conftest.err
28316 } && test -s conftest
$ac_exeext &&
28317 $as_test_x conftest
$ac_exeext; then
28318 ac_cv_lib_z_deflate
=yes
28320 echo "$as_me: failed program was:" >&5
28321 sed 's/^/| /' conftest.
$ac_ext >&5
28323 ac_cv_lib_z_deflate
=no
28326 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28327 conftest
$ac_exeext conftest.
$ac_ext
28328 LIBS
=$ac_check_lib_save_LIBS
28330 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28331 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28332 if test $ac_cv_lib_z_deflate = yes; then
28338 if test "x$ZLIB_LINK" = "x" ; then
28339 if test "$wxUSE_ZLIB" = "sys" ; then
28340 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28341 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28342 { (exit 1); exit 1; }; }
28344 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28345 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28356 if test "$wxUSE_LIBPNG" != "no" ; then
28357 cat >>confdefs.h
<<\_ACEOF
28358 #define wxUSE_LIBPNG 1
28362 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28363 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28364 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28365 wxUSE_LIBPNG
=builtin
28368 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28369 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28370 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28371 if test "${ac_cv_header_png_h+set}" = set; then
28372 echo $ECHO_N "(cached) $ECHO_C" >&6
28374 if test "$cross_compiling" = yes; then
28375 unset ac_cv_header_png_h
28378 cat >conftest.
$ac_ext <<_ACEOF
28381 cat confdefs.h
>>conftest.
$ac_ext
28382 cat >>conftest.
$ac_ext <<_ACEOF
28383 /* end confdefs.h. */
28390 FILE *f=fopen("conftestval", "w");
28393 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28398 rm -f conftest
$ac_exeext
28399 if { (ac_try
="$ac_link"
28400 case "(($ac_try" in
28401 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28402 *) ac_try_echo=$ac_try;;
28404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28405 (eval "$ac_link") 2>&5
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28409 { (case "(($ac_try" in
28410 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28411 *) ac_try_echo
=$ac_try;;
28413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28414 (eval "$ac_try") 2>&5
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); }; }; then
28418 ac_cv_header_png_h
=`cat conftestval`
28420 echo "$as_me: program exited with status $ac_status" >&5
28421 echo "$as_me: failed program was:" >&5
28422 sed 's/^/| /' conftest.
$ac_ext >&5
28424 ( exit $ac_status )
28425 ac_cv_header_png_h
=no
28427 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28433 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28434 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28435 { echo "$as_me:$LINENO: checking for png.h" >&5
28436 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28437 if test "${ac_cv_header_png_h+set}" = set; then
28438 echo $ECHO_N "(cached) $ECHO_C" >&6
28440 cat >conftest.
$ac_ext <<_ACEOF
28443 cat confdefs.h
>>conftest.
$ac_ext
28444 cat >>conftest.
$ac_ext <<_ACEOF
28445 /* end confdefs.h. */
28450 rm -f conftest.
$ac_objext
28451 if { (ac_try
="$ac_compile"
28452 case "(($ac_try" in
28453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28454 *) ac_try_echo=$ac_try;;
28456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28457 (eval "$ac_compile") 2>conftest.er1
28459 grep -v '^ *+' conftest.er1 >conftest.err
28461 cat conftest.err >&5
28462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28463 (exit $ac_status); } && {
28464 test -z "$ac_c_werror_flag" ||
28465 test ! -s conftest.err
28466 } && test -s conftest.$ac_objext; then
28467 ac_cv_header_png_h=yes
28469 echo "$as_me: failed program was:" >&5
28470 sed 's/^/| /' conftest.$ac_ext >&5
28472 ac_cv_header_png_h=no
28475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28477 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28478 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28482 if test "$ac_cv_header_png_h" = "yes"; then
28483 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28484 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28485 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28486 echo $ECHO_N "(cached) $ECHO_C" >&6
28488 ac_check_lib_save_LIBS=$LIBS
28489 LIBS="-lpng -lz -lm $LIBS"
28490 cat >conftest.$ac_ext <<_ACEOF
28493 cat confdefs.h >>conftest.$ac_ext
28494 cat >>conftest.$ac_ext <<_ACEOF
28495 /* end confdefs.h. */
28497 /* Override any GCC internal prototype to avoid an error.
28498 Use char because int might match the return type of a GCC
28499 builtin and then its argument prototype would still apply. */
28503 char png_sig_cmp ();
28507 return png_sig_cmp ();
28512 rm -f conftest.$ac_objext conftest$ac_exeext
28513 if { (ac_try="$ac_link"
28514 case "(($ac_try" in
28515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28516 *) ac_try_echo
=$ac_try;;
28518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28519 (eval "$ac_link") 2>conftest.er1
28521 grep -v '^ *+' conftest.er1
>conftest.err
28523 cat conftest.err
>&5
28524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525 (exit $ac_status); } && {
28526 test -z "$ac_c_werror_flag" ||
28527 test ! -s conftest.err
28528 } && test -s conftest
$ac_exeext &&
28529 $as_test_x conftest
$ac_exeext; then
28530 ac_cv_lib_png_png_sig_cmp
=yes
28532 echo "$as_me: failed program was:" >&5
28533 sed 's/^/| /' conftest.
$ac_ext >&5
28535 ac_cv_lib_png_png_sig_cmp
=no
28538 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28539 conftest
$ac_exeext conftest.
$ac_ext
28540 LIBS
=$ac_check_lib_save_LIBS
28542 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28543 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28544 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28545 PNG_LINK
=" -lpng -lz"
28550 if test "x$PNG_LINK" = "x" ; then
28551 if test "$wxUSE_LIBPNG" = "sys" ; then
28552 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28553 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28554 { (exit 1); exit 1; }; }
28556 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28557 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28558 wxUSE_LIBPNG
=builtin
28568 if test "$wxUSE_LIBJPEG" != "no" ; then
28569 cat >>confdefs.h
<<\_ACEOF
28570 #define wxUSE_LIBJPEG 1
28574 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28575 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28576 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28577 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28578 echo $ECHO_N "(cached) $ECHO_C" >&6
28580 cat >conftest.
$ac_ext <<_ACEOF
28583 cat confdefs.h
>>conftest.
$ac_ext
28584 cat >>conftest.
$ac_ext <<_ACEOF
28585 /* end confdefs.h. */
28587 #undef HAVE_STDLIB_H
28589 #include <jpeglib.h>
28600 rm -f conftest.
$ac_objext
28601 if { (ac_try
="$ac_compile"
28602 case "(($ac_try" in
28603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28604 *) ac_try_echo=$ac_try;;
28606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28607 (eval "$ac_compile") 2>conftest.er1
28609 grep -v '^ *+' conftest.er1 >conftest.err
28611 cat conftest.err >&5
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); } && {
28614 test -z "$ac_c_werror_flag" ||
28615 test ! -s conftest.err
28616 } && test -s conftest.$ac_objext; then
28617 ac_cv_header_jpeglib_h=yes
28619 echo "$as_me: failed program was:" >&5
28620 sed 's/^/| /' conftest.$ac_ext >&5
28622 ac_cv_header_jpeglib_h=no
28626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28630 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28631 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28633 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28634 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28635 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28636 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28637 echo $ECHO_N "(cached) $ECHO_C" >&6
28639 ac_check_lib_save_LIBS=$LIBS
28640 LIBS="-ljpeg $LIBS"
28641 cat >conftest.$ac_ext <<_ACEOF
28644 cat confdefs.h >>conftest.$ac_ext
28645 cat >>conftest.$ac_ext <<_ACEOF
28646 /* end confdefs.h. */
28648 /* Override any GCC internal prototype to avoid an error.
28649 Use char because int might match the return type of a GCC
28650 builtin and then its argument prototype would still apply. */
28654 char jpeg_read_header ();
28658 return jpeg_read_header ();
28663 rm -f conftest.$ac_objext conftest$ac_exeext
28664 if { (ac_try="$ac_link"
28665 case "(($ac_try" in
28666 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28667 *) ac_try_echo
=$ac_try;;
28669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28670 (eval "$ac_link") 2>conftest.er1
28672 grep -v '^ *+' conftest.er1
>conftest.err
28674 cat conftest.err
>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); } && {
28677 test -z "$ac_c_werror_flag" ||
28678 test ! -s conftest.err
28679 } && test -s conftest
$ac_exeext &&
28680 $as_test_x conftest
$ac_exeext; then
28681 ac_cv_lib_jpeg_jpeg_read_header
=yes
28683 echo "$as_me: failed program was:" >&5
28684 sed 's/^/| /' conftest.
$ac_ext >&5
28686 ac_cv_lib_jpeg_jpeg_read_header
=no
28689 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28690 conftest
$ac_exeext conftest.
$ac_ext
28691 LIBS
=$ac_check_lib_save_LIBS
28693 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28694 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28695 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28696 JPEG_LINK
=" -ljpeg"
28701 if test "x$JPEG_LINK" = "x" ; then
28702 if test "$wxUSE_LIBJPEG" = "sys" ; then
28703 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28704 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28705 { (exit 1); exit 1; }; }
28707 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28708 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28709 wxUSE_LIBJPEG
=builtin
28714 if test "$wxUSE_MSW" = 1; then
28715 { echo "$as_me:$LINENO: checking for boolean" >&5
28716 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28717 if test "${ac_cv_type_boolean+set}" = set; then
28718 echo $ECHO_N "(cached) $ECHO_C" >&6
28720 cat >conftest.
$ac_ext <<_ACEOF
28723 cat confdefs.h
>>conftest.
$ac_ext
28724 cat >>conftest.
$ac_ext <<_ACEOF
28725 /* end confdefs.h. */
28726 #include <windows.h>
28728 typedef boolean ac__type_new_;
28732 if ((ac__type_new_ *) 0)
28734 if (sizeof (ac__type_new_))
28740 rm -f conftest.
$ac_objext
28741 if { (ac_try
="$ac_compile"
28742 case "(($ac_try" in
28743 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28744 *) ac_try_echo=$ac_try;;
28746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28747 (eval "$ac_compile") 2>conftest.er1
28749 grep -v '^ *+' conftest.er1 >conftest.err
28751 cat conftest.err >&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); } && {
28754 test -z "$ac_c_werror_flag" ||
28755 test ! -s conftest.err
28756 } && test -s conftest.$ac_objext; then
28757 ac_cv_type_boolean=yes
28759 echo "$as_me: failed program was:" >&5
28760 sed 's/^/| /' conftest.$ac_ext >&5
28762 ac_cv_type_boolean=no
28765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28767 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28768 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28769 if test $ac_cv_type_boolean = yes; then
28771 cat >>confdefs.h <<_ACEOF
28772 #define HAVE_BOOLEAN 1
28776 { echo "$as_me:$LINENO: checking for boolean" >&5
28777 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28778 if test "${ac_cv_type_boolean+set}" = set; then
28779 echo $ECHO_N "(cached) $ECHO_C" >&6
28781 cat >conftest.$ac_ext <<_ACEOF
28784 cat confdefs.h >>conftest.$ac_ext
28785 cat >>conftest.$ac_ext <<_ACEOF
28786 /* end confdefs.h. */
28788 #undef HAVE_BOOLEAN
28790 #include <jpeglib.h>
28793 typedef boolean ac__type_new_;
28797 if ((ac__type_new_ *) 0)
28799 if (sizeof (ac__type_new_))
28805 rm -f conftest.$ac_objext
28806 if { (ac_try="$ac_compile"
28807 case "(($ac_try" in
28808 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28809 *) ac_try_echo
=$ac_try;;
28811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28812 (eval "$ac_compile") 2>conftest.er1
28814 grep -v '^ *+' conftest.er1
>conftest.err
28816 cat conftest.err
>&5
28817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28818 (exit $ac_status); } && {
28819 test -z "$ac_c_werror_flag" ||
28820 test ! -s conftest.err
28821 } && test -s conftest.
$ac_objext; then
28822 ac_cv_type_boolean
=yes
28824 echo "$as_me: failed program was:" >&5
28825 sed 's/^/| /' conftest.
$ac_ext >&5
28827 ac_cv_type_boolean
=no
28830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28832 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28833 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28835 # The cast to long int works around a bug in the HP C Compiler
28836 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28837 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28838 # This bug is HP SR number 8606223364.
28839 { echo "$as_me:$LINENO: checking size of boolean" >&5
28840 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28841 if test "${ac_cv_sizeof_boolean+set}" = set; then
28842 echo $ECHO_N "(cached) $ECHO_C" >&6
28844 if test "$cross_compiling" = yes; then
28845 # Depending upon the size, compute the lo and hi bounds.
28846 cat >conftest.
$ac_ext <<_ACEOF
28849 cat confdefs.h
>>conftest.
$ac_ext
28850 cat >>conftest.
$ac_ext <<_ACEOF
28851 /* end confdefs.h. */
28853 #undef HAVE_BOOLEAN
28855 #include <jpeglib.h>
28858 typedef boolean ac__type_sizeof_;
28862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28869 rm -f conftest.
$ac_objext
28870 if { (ac_try
="$ac_compile"
28871 case "(($ac_try" in
28872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28873 *) ac_try_echo=$ac_try;;
28875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28876 (eval "$ac_compile") 2>conftest.er1
28878 grep -v '^ *+' conftest.er1 >conftest.err
28880 cat conftest.err >&5
28881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28882 (exit $ac_status); } && {
28883 test -z "$ac_c_werror_flag" ||
28884 test ! -s conftest.err
28885 } && test -s conftest.$ac_objext; then
28888 cat >conftest.$ac_ext <<_ACEOF
28891 cat confdefs.h >>conftest.$ac_ext
28892 cat >>conftest.$ac_ext <<_ACEOF
28893 /* end confdefs.h. */
28895 #undef HAVE_BOOLEAN
28897 #include <jpeglib.h>
28900 typedef boolean ac__type_sizeof_;
28904 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28911 rm -f conftest.$ac_objext
28912 if { (ac_try="$ac_compile"
28913 case "(($ac_try" in
28914 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28915 *) ac_try_echo
=$ac_try;;
28917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28918 (eval "$ac_compile") 2>conftest.er1
28920 grep -v '^ *+' conftest.er1
>conftest.err
28922 cat conftest.err
>&5
28923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28924 (exit $ac_status); } && {
28925 test -z "$ac_c_werror_flag" ||
28926 test ! -s conftest.err
28927 } && test -s conftest.
$ac_objext; then
28928 ac_hi
=$ac_mid; break
28930 echo "$as_me: failed program was:" >&5
28931 sed 's/^/| /' conftest.
$ac_ext >&5
28933 ac_lo
=`expr $ac_mid + 1`
28934 if test $ac_lo -le $ac_mid; then
28938 ac_mid
=`expr 2 '*' $ac_mid + 1`
28941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28944 echo "$as_me: failed program was:" >&5
28945 sed 's/^/| /' conftest.
$ac_ext >&5
28947 cat >conftest.
$ac_ext <<_ACEOF
28950 cat confdefs.h
>>conftest.
$ac_ext
28951 cat >>conftest.
$ac_ext <<_ACEOF
28952 /* end confdefs.h. */
28954 #undef HAVE_BOOLEAN
28956 #include <jpeglib.h>
28959 typedef boolean ac__type_sizeof_;
28963 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28970 rm -f conftest.
$ac_objext
28971 if { (ac_try
="$ac_compile"
28972 case "(($ac_try" in
28973 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28974 *) ac_try_echo=$ac_try;;
28976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28977 (eval "$ac_compile") 2>conftest.er1
28979 grep -v '^ *+' conftest.er1 >conftest.err
28981 cat conftest.err >&5
28982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28983 (exit $ac_status); } && {
28984 test -z "$ac_c_werror_flag" ||
28985 test ! -s conftest.err
28986 } && test -s conftest.$ac_objext; then
28989 cat >conftest.$ac_ext <<_ACEOF
28992 cat confdefs.h >>conftest.$ac_ext
28993 cat >>conftest.$ac_ext <<_ACEOF
28994 /* end confdefs.h. */
28996 #undef HAVE_BOOLEAN
28998 #include <jpeglib.h>
29001 typedef boolean ac__type_sizeof_;
29005 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29012 rm -f conftest.$ac_objext
29013 if { (ac_try="$ac_compile"
29014 case "(($ac_try" in
29015 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29016 *) ac_try_echo
=$ac_try;;
29018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29019 (eval "$ac_compile") 2>conftest.er1
29021 grep -v '^ *+' conftest.er1
>conftest.err
29023 cat conftest.err
>&5
29024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29025 (exit $ac_status); } && {
29026 test -z "$ac_c_werror_flag" ||
29027 test ! -s conftest.err
29028 } && test -s conftest.
$ac_objext; then
29029 ac_lo
=$ac_mid; break
29031 echo "$as_me: failed program was:" >&5
29032 sed 's/^/| /' conftest.
$ac_ext >&5
29034 ac_hi
=`expr '(' $ac_mid ')' - 1`
29035 if test $ac_mid -le $ac_hi; then
29039 ac_mid
=`expr 2 '*' $ac_mid`
29042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29045 echo "$as_me: failed program was:" >&5
29046 sed 's/^/| /' conftest.
$ac_ext >&5
29051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29054 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29055 # Binary search between lo and hi bounds.
29056 while test "x$ac_lo" != "x$ac_hi"; do
29057 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29058 cat >conftest.
$ac_ext <<_ACEOF
29061 cat confdefs.h
>>conftest.
$ac_ext
29062 cat >>conftest.
$ac_ext <<_ACEOF
29063 /* end confdefs.h. */
29065 #undef HAVE_BOOLEAN
29067 #include <jpeglib.h>
29070 typedef boolean ac__type_sizeof_;
29074 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29081 rm -f conftest.
$ac_objext
29082 if { (ac_try
="$ac_compile"
29083 case "(($ac_try" in
29084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29085 *) ac_try_echo=$ac_try;;
29087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29088 (eval "$ac_compile") 2>conftest.er1
29090 grep -v '^ *+' conftest.er1 >conftest.err
29092 cat conftest.err >&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } && {
29095 test -z "$ac_c_werror_flag" ||
29096 test ! -s conftest.err
29097 } && test -s conftest.$ac_objext; then
29100 echo "$as_me: failed program was:" >&5
29101 sed 's/^/| /' conftest.$ac_ext >&5
29103 ac_lo=`expr '(' $ac_mid ')' + 1`
29106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29109 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29110 '') if test "$ac_cv_type_boolean" = yes; then
29111 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29112 See \`config.log
' for more details." >&5
29113 echo "$as_me: error: cannot compute sizeof (boolean)
29114 See \`config.log' for more details.
" >&2;}
29115 { (exit 77); exit 77; }; }
29117 ac_cv_sizeof_boolean=0
29121 cat >conftest.$ac_ext <<_ACEOF
29124 cat confdefs.h >>conftest.$ac_ext
29125 cat >>conftest.$ac_ext <<_ACEOF
29126 /* end confdefs.h. */
29128 #undef HAVE_BOOLEAN
29130 #include <jpeglib.h>
29133 typedef boolean ac__type_sizeof_;
29134 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29135 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29137 #include <stdlib.h>
29142 FILE *f = fopen ("conftest.val
", "w
");
29145 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29147 long int i = longval ();
29148 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29150 fprintf (f, "%ld
\n", i);
29154 unsigned long int i = ulongval ();
29155 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29157 fprintf (f, "%lu
\n", i);
29159 return ferror (f) || fclose (f) != 0;
29165 rm -f conftest$ac_exeext
29166 if { (ac_try="$ac_link"
29167 case "(($ac_try" in
29168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29169 *) ac_try_echo=$ac_try;;
29171 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29172 (eval "$ac_link") 2>&5
29174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29176 { (case "(($ac_try" in
29177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29178 *) ac_try_echo=$ac_try;;
29180 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29181 (eval "$ac_try") 2>&5
29183 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29184 (exit $ac_status); }; }; then
29185 ac_cv_sizeof_boolean=`cat conftest.val`
29187 echo "$as_me: program exited with status
$ac_status" >&5
29188 echo "$as_me: failed program was
:" >&5
29189 sed 's/^/| /' conftest.$ac_ext >&5
29191 ( exit $ac_status )
29192 if test "$ac_cv_type_boolean" = yes; then
29193 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(boolean
)
29194 See \
`config.log' for more details." >&5
29195 echo "$as_me: error: cannot compute sizeof (boolean)
29196 See \`config.log
' for more details." >&2;}
29197 { (exit 77); exit 77; }; }
29199 ac_cv_sizeof_boolean=0
29202 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29206 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29207 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29211 cat >>confdefs.h <<_ACEOF
29212 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29216 cat >>confdefs.h <<_ACEOF
29217 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29230 TIFF_PREREQ_LINKS=-lm
29231 if test "$wxUSE_LIBTIFF" != "no" ; then
29232 cat >>confdefs.h <<\_ACEOF
29233 #define wxUSE_LIBTIFF 1
29237 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29238 if test "$wxUSE_LIBJPEG" = "sys"; then
29239 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29241 if test "$wxUSE_ZLIB" = "sys"; then
29242 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29244 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29245 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29246 if test "${ac_cv_header_tiffio_h+set}" = set; then
29247 echo $ECHO_N "(cached) $ECHO_C" >&6
29249 cat >conftest.$ac_ext <<_ACEOF
29252 cat confdefs.h >>conftest.$ac_ext
29253 cat >>conftest.$ac_ext <<_ACEOF
29254 /* end confdefs.h. */
29258 #include <tiffio.h>
29260 rm -f conftest.$ac_objext
29261 if { (ac_try="$ac_compile"
29262 case "(($ac_try" in
29263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29264 *) ac_try_echo=$ac_try;;
29266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29267 (eval "$ac_compile") 2>conftest.er1
29269 grep -v '^
*+' conftest.er1 >conftest.err
29271 cat conftest.err >&5
29272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29273 (exit $ac_status); } && {
29274 test -z "$ac_c_werror_flag" ||
29275 test ! -s conftest.err
29276 } && test -s conftest.$ac_objext; then
29277 ac_cv_header_tiffio_h=yes
29279 echo "$as_me: failed program was:" >&5
29280 sed 's
/^
/| /' conftest.$ac_ext >&5
29282 ac_cv_header_tiffio_h=no
29285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29287 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29288 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29289 if test $ac_cv_header_tiffio_h = yes; then
29291 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29292 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29293 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29294 echo $ECHO_N "(cached) $ECHO_C" >&6
29296 ac_check_lib_save_LIBS=$LIBS
29297 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29298 cat >conftest.$ac_ext <<_ACEOF
29301 cat confdefs.h >>conftest.$ac_ext
29302 cat >>conftest.$ac_ext <<_ACEOF
29303 /* end confdefs.h. */
29305 /* Override any GCC internal prototype to avoid an error.
29306 Use char because int might match the return type of a GCC
29307 builtin and then its argument prototype would still apply. */
29315 return TIFFError ();
29320 rm -f conftest.$ac_objext conftest$ac_exeext
29321 if { (ac_try="$ac_link"
29322 case "(($ac_try" in
29323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29324 *) ac_try_echo=$ac_try;;
29326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29327 (eval "$ac_link") 2>conftest.er1
29329 grep -v '^
*+' conftest.er1 >conftest.err
29331 cat conftest.err >&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); } && {
29334 test -z "$ac_c_werror_flag" ||
29335 test ! -s conftest.err
29336 } && test -s conftest$ac_exeext &&
29337 $as_test_x conftest$ac_exeext; then
29338 ac_cv_lib_tiff_TIFFError=yes
29340 echo "$as_me: failed program was:" >&5
29341 sed 's
/^
/| /' conftest.$ac_ext >&5
29343 ac_cv_lib_tiff_TIFFError=no
29346 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29347 conftest$ac_exeext conftest.$ac_ext
29348 LIBS=$ac_check_lib_save_LIBS
29350 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29351 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29352 if test $ac_cv_lib_tiff_TIFFError = yes; then
29353 TIFF_LINK=" -ltiff"
29361 if test "x$TIFF_LINK" = "x" ; then
29362 if test "$wxUSE_LIBTIFF" = "sys" ; then
29363 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29364 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29365 { (exit 1); exit 1; }; }
29367 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29368 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29369 wxUSE_LIBTIFF=builtin
29375 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29376 if test "$wxUSE_LIBJPEG" = "no"; then
29377 ac_configure_args="$ac_configure_args --disable-jpeg"
29379 subdirs="$subdirs src/tiff"
29385 if test "$wxUSE_EXPAT" != "no"; then
29387 cat >>confdefs.h <<\_ACEOF
29388 #define wxUSE_EXPAT 1
29391 cat >>confdefs.h <<\_ACEOF
29392 #define wxUSE_XML 1
29396 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29397 { echo "$as_me:$LINENO: checking for expat.h" >&5
29398 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29399 if test "${ac_cv_header_expat_h+set}" = set; then
29400 echo $ECHO_N "(cached) $ECHO_C" >&6
29402 cat >conftest.$ac_ext <<_ACEOF
29405 cat confdefs.h >>conftest.$ac_ext
29406 cat >>conftest.$ac_ext <<_ACEOF
29407 /* end confdefs.h. */
29412 rm -f conftest.$ac_objext
29413 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
29429 ac_cv_header_expat_h=yes
29431 echo "$as_me: failed program was:" >&5
29432 sed 's
/^
/| /' conftest.$ac_ext >&5
29434 ac_cv_header_expat_h=no
29437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29439 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29440 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29441 if test $ac_cv_header_expat_h = yes; then
29446 if test "x$found_expat_h" = "x1"; then
29447 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29448 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29449 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29450 echo $ECHO_N "(cached) $ECHO_C" >&6
29454 ac_cpp='$CXXCPP $CPPFLAGS'
29455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
29456 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
29457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29459 cat >conftest.$ac_ext <<_ACEOF
29462 cat confdefs.h >>conftest.$ac_ext
29463 cat >>conftest.$ac_ext <<_ACEOF
29464 /* end confdefs.h. */
29474 rm -f conftest.$ac_objext
29475 if { (ac_try="$ac_compile"
29476 case "(($ac_try" in
29477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29478 *) ac_try_echo=$ac_try;;
29480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29481 (eval "$ac_compile") 2>conftest.er1
29483 grep -v '^
*+' conftest.er1 >conftest.err
29485 cat conftest.err >&5
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); } && {
29488 test -z "$ac_cxx_werror_flag" ||
29489 test ! -s conftest.err
29490 } && test -s conftest.$ac_objext; then
29491 wx_cv_expat_is_not_broken=yes
29493 echo "$as_me: failed program was:" >&5
29494 sed 's
/^
/| /' conftest.$ac_ext >&5
29496 wx_cv_expat_is_not_broken=no
29500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29502 ac_cpp='$CPP $CPPFLAGS'
29503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
29504 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
29505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29510 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29511 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29512 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29513 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29514 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29515 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29516 echo $ECHO_N "(cached) $ECHO_C" >&6
29518 ac_check_lib_save_LIBS=$LIBS
29519 LIBS="-lexpat $LIBS"
29520 cat >conftest.$ac_ext <<_ACEOF
29523 cat confdefs.h >>conftest.$ac_ext
29524 cat >>conftest.$ac_ext <<_ACEOF
29525 /* end confdefs.h. */
29527 /* Override any GCC internal prototype to avoid an error.
29528 Use char because int might match the return type of a GCC
29529 builtin and then its argument prototype would still apply. */
29533 char XML_ParserCreate ();
29537 return XML_ParserCreate ();
29542 rm -f conftest.$ac_objext conftest$ac_exeext
29543 if { (ac_try="$ac_link"
29544 case "(($ac_try" in
29545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29546 *) ac_try_echo=$ac_try;;
29548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29549 (eval "$ac_link") 2>conftest.er1
29551 grep -v '^
*+' conftest.er1 >conftest.err
29553 cat conftest.err >&5
29554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555 (exit $ac_status); } && {
29556 test -z "$ac_c_werror_flag" ||
29557 test ! -s conftest.err
29558 } && test -s conftest$ac_exeext &&
29559 $as_test_x conftest$ac_exeext; then
29560 ac_cv_lib_expat_XML_ParserCreate=yes
29562 echo "$as_me: failed program was:" >&5
29563 sed 's
/^
/| /' conftest.$ac_ext >&5
29565 ac_cv_lib_expat_XML_ParserCreate=no
29568 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29569 conftest$ac_exeext conftest.$ac_ext
29570 LIBS=$ac_check_lib_save_LIBS
29572 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29573 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29574 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29575 EXPAT_LINK=" -lexpat"
29580 if test "x$EXPAT_LINK" = "x" ; then
29581 if test "$wxUSE_EXPAT" = "sys" ; then
29582 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29583 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29584 { (exit 1); exit 1; }; }
29586 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29587 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29588 wxUSE_EXPAT=builtin
29594 if test "$wxUSE_EXPAT" = "builtin" ; then
29595 subdirs="$subdirs src/expat"
29602 if test "$wxUSE_LIBMSPACK" != "no"; then
29603 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29604 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29605 if test "${ac_cv_header_mspack_h+set}" = set; then
29606 echo $ECHO_N "(cached) $ECHO_C" >&6
29608 cat >conftest.$ac_ext <<_ACEOF
29611 cat confdefs.h >>conftest.$ac_ext
29612 cat >>conftest.$ac_ext <<_ACEOF
29613 /* end confdefs.h. */
29616 #include <mspack.h>
29618 rm -f conftest.$ac_objext
29619 if { (ac_try="$ac_compile"
29620 case "(($ac_try" in
29621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29622 *) ac_try_echo=$ac_try;;
29624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29625 (eval "$ac_compile") 2>conftest.er1
29627 grep -v '^
*+' conftest.er1 >conftest.err
29629 cat conftest.err >&5
29630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29631 (exit $ac_status); } && {
29632 test -z "$ac_c_werror_flag" ||
29633 test ! -s conftest.err
29634 } && test -s conftest.$ac_objext; then
29635 ac_cv_header_mspack_h=yes
29637 echo "$as_me: failed program was:" >&5
29638 sed 's
/^
/| /' conftest.$ac_ext >&5
29640 ac_cv_header_mspack_h=no
29643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29645 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29646 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29647 if test $ac_cv_header_mspack_h = yes; then
29652 if test "x$found_mspack_h" = "x1"; then
29653 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29654 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29655 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29656 echo $ECHO_N "(cached) $ECHO_C" >&6
29658 ac_check_lib_save_LIBS=$LIBS
29659 LIBS="-lmspack $LIBS"
29660 cat >conftest.$ac_ext <<_ACEOF
29663 cat confdefs.h >>conftest.$ac_ext
29664 cat >>conftest.$ac_ext <<_ACEOF
29665 /* end confdefs.h. */
29667 /* Override any GCC internal prototype to avoid an error.
29668 Use char because int might match the return type of a GCC
29669 builtin and then its argument prototype would still apply. */
29673 char mspack_create_chm_decompressor ();
29677 return mspack_create_chm_decompressor ();
29682 rm -f conftest.$ac_objext conftest$ac_exeext
29683 if { (ac_try="$ac_link"
29684 case "(($ac_try" in
29685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29686 *) ac_try_echo=$ac_try;;
29688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29689 (eval "$ac_link") 2>conftest.er1
29691 grep -v '^
*+' conftest.er1 >conftest.err
29693 cat conftest.err >&5
29694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29695 (exit $ac_status); } && {
29696 test -z "$ac_c_werror_flag" ||
29697 test ! -s conftest.err
29698 } && test -s conftest$ac_exeext &&
29699 $as_test_x conftest$ac_exeext; then
29700 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29702 echo "$as_me: failed program was:" >&5
29703 sed 's
/^
/| /' conftest.$ac_ext >&5
29705 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29709 conftest$ac_exeext conftest.$ac_ext
29710 LIBS=$ac_check_lib_save_LIBS
29712 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29713 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29714 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29715 MSPACK_LINK=" -lmspack"
29719 if test "x$MSPACK_LINK" = "x" ; then
29724 if test "$wxUSE_LIBMSPACK" != "no"; then
29725 cat >>confdefs.h <<\_ACEOF
29726 #define wxUSE_LIBMSPACK 1
29740 if test "$USE_WIN32" = 1 ; then
29742 for ac_header in w32api.h
29744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29745 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29748 echo $ECHO_N "(cached) $ECHO_C" >&6
29750 cat >conftest.$ac_ext <<_ACEOF
29753 cat confdefs.h >>conftest.$ac_ext
29754 cat >>conftest.$ac_ext <<_ACEOF
29755 /* end confdefs.h. */
29758 #include <$ac_header>
29760 rm -f conftest.$ac_objext
29761 if { (ac_try="$ac_compile"
29762 case "(($ac_try" in
29763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29764 *) ac_try_echo=$ac_try;;
29766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29767 (eval "$ac_compile") 2>conftest.er1
29769 grep -v '^
*+' conftest.er1 >conftest.err
29771 cat conftest.err >&5
29772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29773 (exit $ac_status); } && {
29774 test -z "$ac_c_werror_flag" ||
29775 test ! -s conftest.err
29776 } && test -s conftest.$ac_objext; then
29777 eval "$as_ac_Header=yes"
29779 echo "$as_me: failed program was:" >&5
29780 sed 's
/^
/| /' conftest.$ac_ext >&5
29782 eval "$as_ac_Header=no"
29785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29787 ac_res=`eval echo '${'$as_ac_Header'}'`
29788 { echo "$as_me:$LINENO: result: $ac_res" >&5
29789 echo "${ECHO_T}$ac_res" >&6; }
29790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29791 cat >>confdefs.h <<_ACEOF
29792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29799 { echo "$as_me:$LINENO: checking for windows.h" >&5
29800 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29801 if test "${ac_cv_header_windows_h+set}" = set; then
29802 echo $ECHO_N "(cached) $ECHO_C" >&6
29804 cat >conftest.$ac_ext <<_ACEOF
29807 cat confdefs.h >>conftest.$ac_ext
29808 cat >>conftest.$ac_ext <<_ACEOF
29809 /* end confdefs.h. */
29812 #include <windows.h>
29814 rm -f conftest.$ac_objext
29815 if { (ac_try="$ac_compile"
29816 case "(($ac_try" in
29817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29818 *) ac_try_echo=$ac_try;;
29820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29821 (eval "$ac_compile") 2>conftest.er1
29823 grep -v '^
*+' conftest.er1 >conftest.err
29825 cat conftest.err >&5
29826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29827 (exit $ac_status); } && {
29828 test -z "$ac_c_werror_flag" ||
29829 test ! -s conftest.err
29830 } && test -s conftest.$ac_objext; then
29831 ac_cv_header_windows_h=yes
29833 echo "$as_me: failed program was:" >&5
29834 sed 's
/^
/| /' conftest.$ac_ext >&5
29836 ac_cv_header_windows_h=no
29839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29841 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29842 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29843 if test $ac_cv_header_windows_h = yes; then
29847 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29848 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29849 { (exit 1); exit 1; }; }
29855 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29857 x86_64-*-mingw32* )
29858 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29861 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29862 LIBS="$LIBS -loleacc"
29867 LIBS="$LIBS -lkernel32 -luser32"
29870 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29871 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29873 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29875 WIN32INSTALL=win32install
29878 if test "$wxUSE_GUI" = "yes"; then
29887 if test "$wxUSE_OLD_COCOA" = 1 ; then
29888 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29889 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29890 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29891 wxUSE_PRINTING_ARCHITECTURE=no
29893 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29894 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29895 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29896 wxUSE_DRAG_AND_DROP=no
29898 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29899 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29900 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29905 if test "$wxUSE_MSW" = 1 ; then
29911 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29915 if test "$wxUSE_GTK" = 1; then
29916 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29917 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29919 gtk_version_cached=1
29920 if test "${wx_cv_lib_gtk+set}" = set; then
29921 echo $ECHO_N "(cached) $ECHO_C" >&6
29924 gtk_version_cached=0
29925 { echo "$as_me:$LINENO: result: " >&5
29926 echo "${ECHO_T}" >&6; }
29929 if test "$wxUSE_THREADS" = "yes"; then
29930 GTK_MODULES=gthread
29934 if test "x$wxGTK_VERSION" != "x1"
29938 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29943 # Check whether --enable-gtktest was given.
29944 if test "${enable_gtktest+set}" = set; then
29945 enableval=$enable_gtktest;
29951 pkg_config_args=gtk+-2.0
29952 for module in . $GTK_MODULES
29956 pkg_config_args="$pkg_config_args gthread-2.0"
29963 # Extract the first word of "pkg-config", so it can be a program name with args.
29964 set dummy pkg-config; ac_word=$2
29965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29967 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29968 echo $ECHO_N "(cached) $ECHO_C" >&6
29970 case $PKG_CONFIG in
29972 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29976 for as_dir in $PATH
29979 test -z "$as_dir" && as_dir=.
29980 for ac_exec_ext in '' $ac_executable_extensions; do
29981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29982 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29990 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29994 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29995 if test -n "$PKG_CONFIG"; then
29996 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29997 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29999 { echo "$as_me:$LINENO: result: no" >&5
30000 echo "${ECHO_T}no" >&6; }
30005 if test x$PKG_CONFIG != xno ; then
30006 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30009 echo "*** pkg-config too old; version 0.7 or better required."
30017 min_gtk_version=2.4.0
30018 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30019 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30021 if test x$PKG_CONFIG != xno ; then
30022 ## don't try to run the
test against uninstalled libtool libs
30023 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30024 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30028 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30035 if test x
"$no_gtk" = x
; then
30036 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
30037 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
30038 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30039 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30040 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30041 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30042 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30043 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30044 if test "x$enable_gtktest" = "xyes" ; then
30045 ac_save_CFLAGS
="$CFLAGS"
30046 ac_save_LIBS
="$LIBS"
30047 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30048 LIBS
="$GTK_LIBS $LIBS"
30050 if test "$cross_compiling" = yes; then
30051 echo $ac_n "cross compiling; assumed OK... $ac_c"
30053 cat >conftest.
$ac_ext <<_ACEOF
30056 cat confdefs.h
>>conftest.
$ac_ext
30057 cat >>conftest.
$ac_ext <<_ACEOF
30058 /* end confdefs.h. */
30060 #include <gtk/gtk.h>
30062 #include <stdlib.h>
30067 int major, minor, micro;
30070 system ("touch conf.gtktest");
30072 /* HP/UX 9 (%@#!) writes to sscanf strings */
30073 tmp_version = g_strdup("$min_gtk_version");
30074 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30075 printf("%s, bad version string\n", "$min_gtk_version");
30079 if ((gtk_major_version != $gtk_config_major_version) ||
30080 (gtk_minor_version != $gtk_config_minor_version) ||
30081 (gtk_micro_version != $gtk_config_micro_version))
30083 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30084 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30085 gtk_major_version, gtk_minor_version, gtk_micro_version);
30086 printf ("*** was found! If pkg-config was correct, then it is best\n");
30087 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30088 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30089 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30090 printf("*** required on your system.\n");
30091 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30092 printf("*** to point to the correct configuration files\n");
30094 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30095 (gtk_minor_version != GTK_MINOR_VERSION) ||
30096 (gtk_micro_version != GTK_MICRO_VERSION))
30098 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30099 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30100 printf("*** library (version %d.%d.%d)\n",
30101 gtk_major_version, gtk_minor_version, gtk_micro_version);
30105 if ((gtk_major_version > major) ||
30106 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30107 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30113 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30114 gtk_major_version, gtk_minor_version, gtk_micro_version);
30115 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30116 major, minor, micro);
30117 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30119 printf("*** If you have already installed a sufficiently new version, this error\n");
30120 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30121 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30122 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30123 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30124 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30125 printf("*** so that the correct libraries are found at run-time))\n");
30132 rm -f conftest
$ac_exeext
30133 if { (ac_try
="$ac_link"
30134 case "(($ac_try" in
30135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30136 *) ac_try_echo=$ac_try;;
30138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30139 (eval "$ac_link") 2>&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30143 { (case "(($ac_try" in
30144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30145 *) ac_try_echo
=$ac_try;;
30147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30148 (eval "$ac_try") 2>&5
30150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30151 (exit $ac_status); }; }; then
30154 echo "$as_me: program exited with status $ac_status" >&5
30155 echo "$as_me: failed program was:" >&5
30156 sed 's/^/| /' conftest.
$ac_ext >&5
30158 ( exit $ac_status )
30161 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30165 CFLAGS
="$ac_save_CFLAGS"
30166 LIBS
="$ac_save_LIBS"
30169 if test "x$no_gtk" = x
; then
30170 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30171 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30174 { echo "$as_me:$LINENO: result: no" >&5
30175 echo "${ECHO_T}no" >&6; }
30176 if test "$PKG_CONFIG" = "no" ; then
30177 echo "*** A new enough version of pkg-config was not found."
30178 echo "*** See http://pkgconfig.sourceforge.net"
30180 if test -f conf.gtktest
; then
30183 echo "*** Could not run GTK+ test program, checking why..."
30184 ac_save_CFLAGS
="$CFLAGS"
30185 ac_save_LIBS
="$LIBS"
30186 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30187 LIBS
="$LIBS $GTK_LIBS"
30188 cat >conftest.
$ac_ext <<_ACEOF
30191 cat confdefs.h
>>conftest.
$ac_ext
30192 cat >>conftest.
$ac_ext <<_ACEOF
30193 /* end confdefs.h. */
30195 #include <gtk/gtk.h>
30201 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30206 rm -f conftest.
$ac_objext conftest
$ac_exeext
30207 if { (ac_try
="$ac_link"
30208 case "(($ac_try" in
30209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30210 *) ac_try_echo=$ac_try;;
30212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30213 (eval "$ac_link") 2>conftest.er1
30215 grep -v '^ *+' conftest.er1 >conftest.err
30217 cat conftest.err >&5
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); } && {
30220 test -z "$ac_c_werror_flag" ||
30221 test ! -s conftest.err
30222 } && test -s conftest$ac_exeext &&
30223 $as_test_x conftest$ac_exeext; then
30224 echo "*** The test program compiled, but did not run. This usually means"
30225 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30226 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30227 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30228 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30229 echo "*** is required on your system"
30231 echo "*** If you have an old version installed, it is best to remove it, although"
30232 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30234 echo "$as_me: failed program was:" >&5
30235 sed 's/^/| /' conftest.$ac_ext >&5
30237 echo "*** The test program failed to compile or link. See the file config.log for the"
30238 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30242 conftest$ac_exeext conftest.$ac_ext
30243 CFLAGS="$ac_save_CFLAGS"
30244 LIBS="$ac_save_LIBS"
30257 if test -z "$wx_cv_lib_gtk"; then
30258 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30260 # Check whether --with-gtk-prefix was given.
30261 if test "${with_gtk_prefix+set}" = set; then
30262 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30264 gtk_config_prefix=""
30268 # Check whether --with-gtk-exec-prefix was given.
30269 if test "${with_gtk_exec_prefix+set}" = set; then
30270 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30272 gtk_config_exec_prefix=""
30275 # Check whether --enable-gtktest was given.
30276 if test "${enable_gtktest+set}" = set; then
30277 enableval=$enable_gtktest;
30283 for module in . $GTK_MODULES
30287 gtk_config_args="$gtk_config_args gthread"
30292 if test x$gtk_config_exec_prefix != x ; then
30293 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30294 if test x${GTK_CONFIG+set} != xset ; then
30295 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30298 if test x$gtk_config_prefix != x ; then
30299 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30300 if test x${GTK_CONFIG+set} != xset ; then
30301 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30305 # Extract the first word of "gtk-config", so it can be a program name with args.
30306 set dummy gtk-config; ac_word=$2
30307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30309 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30310 echo $ECHO_N "(cached) $ECHO_C" >&6
30312 case $GTK_CONFIG in
30314 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30318 for as_dir in $PATH
30321 test -z "$as_dir" && as_dir=.
30322 for ac_exec_ext in '' $ac_executable_extensions; do
30323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30324 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30332 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30336 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30337 if test -n "$GTK_CONFIG"; then
30338 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30339 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30341 { echo "$as_me:$LINENO: result: no" >&5
30342 echo "${ECHO_T}no" >&6; }
30346 min_gtk_version=1.2.7
30347 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30348 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30350 if test "$GTK_CONFIG" = "no" ; then
30353 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30354 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30355 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30356 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30357 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30358 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30359 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30360 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30361 if test "x$enable_gtktest" = "xyes" ; then
30362 ac_save_CFLAGS="$CFLAGS"
30363 ac_save_LIBS="$LIBS"
30364 CFLAGS="$CFLAGS $GTK_CFLAGS"
30365 LIBS="$GTK_LIBS $LIBS"
30367 if test "$cross_compiling" = yes; then
30368 echo $ac_n "cross compiling; assumed OK... $ac_c"
30370 cat >conftest.$ac_ext <<_ACEOF
30373 cat confdefs.h >>conftest.$ac_ext
30374 cat >>conftest.$ac_ext <<_ACEOF
30375 /* end confdefs.h. */
30377 #include <gtk/gtk.h>
30379 #include <stdlib.h>
30384 int major, minor, micro;
30387 system ("touch conf.gtktest");
30389 /* HP/UX 9 (%@#!) writes to sscanf strings */
30390 tmp_version = g_strdup("$min_gtk_version");
30391 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30392 printf("%s, bad version string\n", "$min_gtk_version");
30396 if ((gtk_major_version != $gtk_config_major_version) ||
30397 (gtk_minor_version != $gtk_config_minor_version) ||
30398 (gtk_micro_version != $gtk_config_micro_version))
30400 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30401 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30402 gtk_major_version, gtk_minor_version, gtk_micro_version);
30403 printf ("*** was found! If gtk-config was correct, then it is best\n");
30404 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30405 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30406 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30407 printf("*** required on your system.\n");
30408 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30409 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30410 printf("*** before re-running configure\n");
30412 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30413 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30414 (gtk_minor_version != GTK_MINOR_VERSION) ||
30415 (gtk_micro_version != GTK_MICRO_VERSION))
30417 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30418 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30419 printf("*** library (version %d.%d.%d)\n",
30420 gtk_major_version, gtk_minor_version, gtk_micro_version);
30422 #endif /* defined (GTK_MAJOR_VERSION) ... */
30425 if ((gtk_major_version > major) ||
30426 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30427 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30433 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30434 gtk_major_version, gtk_minor_version, gtk_micro_version);
30435 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30436 major, minor, micro);
30437 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30439 printf("*** If you have already installed a sufficiently new version, this error\n");
30440 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30441 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30442 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30443 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30444 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30445 printf("*** so that the correct libraries are found at run-time))\n");
30452 rm -f conftest$ac_exeext
30453 if { (ac_try="$ac_link"
30454 case "(($ac_try" in
30455 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30456 *) ac_try_echo
=$ac_try;;
30458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30459 (eval "$ac_link") 2>&5
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
30463 { (case "(($ac_try" in
30464 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30465 *) ac_try_echo=$ac_try;;
30467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30468 (eval "$ac_try") 2>&5
30470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30471 (exit $ac_status); }; }; then
30474 echo "$as_me: program exited with status $ac_status" >&5
30475 echo "$as_me: failed program was:" >&5
30476 sed 's/^/| /' conftest.$ac_ext >&5
30478 ( exit $ac_status )
30481 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30485 CFLAGS="$ac_save_CFLAGS"
30486 LIBS="$ac_save_LIBS"
30489 if test "x$no_gtk" = x ; then
30490 { echo "$as_me:$LINENO: result: yes" >&5
30491 echo "${ECHO_T}yes" >&6; }
30492 wx_cv_lib_gtk=1.2.7
30494 { echo "$as_me:$LINENO: result: no" >&5
30495 echo "${ECHO_T}no" >&6; }
30496 if test "$GTK_CONFIG" = "no" ; then
30497 echo "*** The gtk-config script installed by GTK could not be found"
30498 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30499 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30500 echo "*** full path to gtk-config."
30502 if test -f conf.gtktest ; then
30505 echo "*** Could not run GTK test program, checking why..."
30506 CFLAGS="$CFLAGS $GTK_CFLAGS"
30507 LIBS="$LIBS $GTK_LIBS"
30508 cat >conftest.$ac_ext <<_ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30515 #include <gtk/gtk.h>
30521 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30526 rm -f conftest.$ac_objext conftest$ac_exeext
30527 if { (ac_try="$ac_link"
30528 case "(($ac_try" in
30529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30530 *) ac_try_echo
=$ac_try;;
30532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30533 (eval "$ac_link") 2>conftest.er1
30535 grep -v '^ *+' conftest.er1
>conftest.err
30537 cat conftest.err
>&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } && {
30540 test -z "$ac_c_werror_flag" ||
30541 test ! -s conftest.err
30542 } && test -s conftest
$ac_exeext &&
30543 $as_test_x conftest
$ac_exeext; then
30544 echo "*** The test program compiled, but did not run. This usually means"
30545 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30546 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30547 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30548 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30549 echo "*** is required on your system"
30551 echo "*** If you have an old version installed, it is best to remove it, although"
30552 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30554 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30555 echo "*** came with the system with the command"
30557 echo "*** rpm --erase --nodeps gtk gtk-devel"
30559 echo "$as_me: failed program was:" >&5
30560 sed 's/^/| /' conftest.
$ac_ext >&5
30562 echo "*** The test program failed to compile or link. See the file config.log for the"
30563 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30564 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30565 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30568 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30569 conftest
$ac_exeext conftest.
$ac_ext
30570 CFLAGS
="$ac_save_CFLAGS"
30571 LIBS
="$ac_save_LIBS"
30583 if test -z "$wx_cv_lib_gtk"; then
30585 # Check whether --with-gtk-prefix was given.
30586 if test "${with_gtk_prefix+set}" = set; then
30587 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
30589 gtk_config_prefix
=""
30593 # Check whether --with-gtk-exec-prefix was given.
30594 if test "${with_gtk_exec_prefix+set}" = set; then
30595 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
30597 gtk_config_exec_prefix
=""
30600 # Check whether --enable-gtktest was given.
30601 if test "${enable_gtktest+set}" = set; then
30602 enableval
=$enable_gtktest;
30608 for module
in .
$GTK_MODULES
30612 gtk_config_args
="$gtk_config_args gthread"
30617 if test x
$gtk_config_exec_prefix != x
; then
30618 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30619 if test x
${GTK_CONFIG+set} != xset
; then
30620 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
30623 if test x
$gtk_config_prefix != x
; then
30624 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
30625 if test x
${GTK_CONFIG+set} != xset
; then
30626 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
30630 # Extract the first word of "gtk-config", so it can be a program name with args.
30631 set dummy gtk
-config; ac_word
=$2
30632 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30634 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30635 echo $ECHO_N "(cached) $ECHO_C" >&6
30637 case $GTK_CONFIG in
30639 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
30642 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30643 for as_dir
in $PATH
30646 test -z "$as_dir" && as_dir
=.
30647 for ac_exec_ext
in '' $ac_executable_extensions; do
30648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30649 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30650 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30657 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
30661 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
30662 if test -n "$GTK_CONFIG"; then
30663 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30664 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30666 { echo "$as_me:$LINENO: result: no" >&5
30667 echo "${ECHO_T}no" >&6; }
30671 min_gtk_version
=1.2.3
30672 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30673 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30675 if test "$GTK_CONFIG" = "no" ; then
30678 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
30679 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
30680 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
30681 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30682 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
30683 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30684 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
30685 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30686 if test "x$enable_gtktest" = "xyes" ; then
30687 ac_save_CFLAGS
="$CFLAGS"
30688 ac_save_LIBS
="$LIBS"
30689 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30690 LIBS
="$GTK_LIBS $LIBS"
30692 if test "$cross_compiling" = yes; then
30693 echo $ac_n "cross compiling; assumed OK... $ac_c"
30695 cat >conftest.
$ac_ext <<_ACEOF
30698 cat confdefs.h
>>conftest.
$ac_ext
30699 cat >>conftest.
$ac_ext <<_ACEOF
30700 /* end confdefs.h. */
30702 #include <gtk/gtk.h>
30704 #include <stdlib.h>
30709 int major, minor, micro;
30712 system ("touch conf.gtktest");
30714 /* HP/UX 9 (%@#!) writes to sscanf strings */
30715 tmp_version = g_strdup("$min_gtk_version");
30716 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30717 printf("%s, bad version string\n", "$min_gtk_version");
30721 if ((gtk_major_version != $gtk_config_major_version) ||
30722 (gtk_minor_version != $gtk_config_minor_version) ||
30723 (gtk_micro_version != $gtk_config_micro_version))
30725 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30726 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30727 gtk_major_version, gtk_minor_version, gtk_micro_version);
30728 printf ("*** was found! If gtk-config was correct, then it is best\n");
30729 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30730 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30731 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30732 printf("*** required on your system.\n");
30733 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30734 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30735 printf("*** before re-running configure\n");
30737 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30738 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30739 (gtk_minor_version != GTK_MINOR_VERSION) ||
30740 (gtk_micro_version != GTK_MICRO_VERSION))
30742 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30743 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30744 printf("*** library (version %d.%d.%d)\n",
30745 gtk_major_version, gtk_minor_version, gtk_micro_version);
30747 #endif /* defined (GTK_MAJOR_VERSION) ... */
30750 if ((gtk_major_version > major) ||
30751 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30752 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30758 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30759 gtk_major_version, gtk_minor_version, gtk_micro_version);
30760 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30761 major, minor, micro);
30762 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30764 printf("*** If you have already installed a sufficiently new version, this error\n");
30765 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30766 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30767 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30768 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30769 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30770 printf("*** so that the correct libraries are found at run-time))\n");
30777 rm -f conftest
$ac_exeext
30778 if { (ac_try
="$ac_link"
30779 case "(($ac_try" in
30780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30781 *) ac_try_echo=$ac_try;;
30783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30784 (eval "$ac_link") 2>&5
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30788 { (case "(($ac_try" in
30789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30790 *) ac_try_echo
=$ac_try;;
30792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30793 (eval "$ac_try") 2>&5
30795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796 (exit $ac_status); }; }; then
30799 echo "$as_me: program exited with status $ac_status" >&5
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.
$ac_ext >&5
30803 ( exit $ac_status )
30806 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30810 CFLAGS
="$ac_save_CFLAGS"
30811 LIBS
="$ac_save_LIBS"
30814 if test "x$no_gtk" = x
; then
30815 { echo "$as_me:$LINENO: result: yes" >&5
30816 echo "${ECHO_T}yes" >&6; }
30817 wx_cv_lib_gtk
=1.2.3
30819 { echo "$as_me:$LINENO: result: no" >&5
30820 echo "${ECHO_T}no" >&6; }
30821 if test "$GTK_CONFIG" = "no" ; then
30822 echo "*** The gtk-config script installed by GTK could not be found"
30823 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30824 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30825 echo "*** full path to gtk-config."
30827 if test -f conf.gtktest
; then
30830 echo "*** Could not run GTK test program, checking why..."
30831 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30832 LIBS
="$LIBS $GTK_LIBS"
30833 cat >conftest.
$ac_ext <<_ACEOF
30836 cat confdefs.h
>>conftest.
$ac_ext
30837 cat >>conftest.
$ac_ext <<_ACEOF
30838 /* end confdefs.h. */
30840 #include <gtk/gtk.h>
30846 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30851 rm -f conftest.
$ac_objext conftest
$ac_exeext
30852 if { (ac_try
="$ac_link"
30853 case "(($ac_try" in
30854 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30855 *) ac_try_echo=$ac_try;;
30857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30858 (eval "$ac_link") 2>conftest.er1
30860 grep -v '^ *+' conftest.er1 >conftest.err
30862 cat conftest.err >&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); } && {
30865 test -z "$ac_c_werror_flag" ||
30866 test ! -s conftest.err
30867 } && test -s conftest$ac_exeext &&
30868 $as_test_x conftest$ac_exeext; then
30869 echo "*** The test program compiled, but did not run. This usually means"
30870 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30871 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30872 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30873 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30874 echo "*** is required on your system"
30876 echo "*** If you have an old version installed, it is best to remove it, although"
30877 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30879 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30880 echo "*** came with the system with the command"
30882 echo "*** rpm --erase --nodeps gtk gtk-devel"
30884 echo "$as_me: failed program was:" >&5
30885 sed 's/^/| /' conftest.$ac_ext >&5
30887 echo "*** The test program failed to compile or link. See the file config.log for the"
30888 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30889 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30890 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30894 conftest$ac_exeext conftest.$ac_ext
30895 CFLAGS="$ac_save_CFLAGS"
30896 LIBS="$ac_save_LIBS"
30911 if test -z "$wx_cv_lib_gtk"; then
30914 GTK_LIBS="$GTK_LIBS -lX11"
30916 wx_cv_cflags_gtk=$GTK_CFLAGS
30917 wx_cv_libs_gtk=$GTK_LIBS
30924 if test "$gtk_version_cached" = 1; then
30925 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30926 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30929 case "$wx_cv_lib_gtk" in
30936 *) { { echo "$as_me:$LINENO: error:
30937 The development files for GTK+ were not found. For GTK+ 2, please
30938 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30939 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30940 and that the version is 1.2.3 or above. Also check that the
30941 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30942 --libs' are in the LD_LIBRARY_PATH or equivalent.
30944 echo "$as_me: error:
30945 The development files for GTK+ were not found. For GTK+ 2, please
30946 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30947 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30948 and that the version is 1.2.3 or above. Also check that the
30949 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30950 --libs' are in the LD_LIBRARY_PATH or equivalent.
30952 { (exit 1); exit 1; }; }
30956 if test "$WXGTK2" = 1; then
30957 save_CFLAGS="$CFLAGS"
30959 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30960 LIBS="$LIBS $wx_cv_libs_gtk"
30962 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30963 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30964 cat >conftest.$ac_ext <<_ACEOF
30967 cat confdefs.h >>conftest.$ac_ext
30968 cat >>conftest.$ac_ext <<_ACEOF
30969 /* end confdefs.h. */
30971 #include <gtk/gtk.h>
30977 #if !GTK_CHECK_VERSION(2,18,0)
30985 rm -f conftest.$ac_objext
30986 if { (ac_try="$ac_compile"
30987 case "(($ac_try" in
30988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30989 *) ac_try_echo
=$ac_try;;
30991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30992 (eval "$ac_compile") 2>conftest.er1
30994 grep -v '^ *+' conftest.er1
>conftest.err
30996 cat conftest.err
>&5
30997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30998 (exit $ac_status); } && {
30999 test -z "$ac_c_werror_flag" ||
31000 test ! -s conftest.err
31001 } && test -s conftest.
$ac_objext; then
31003 cat >>confdefs.h
<<\_ACEOF
31004 #define __WXGTK218__ 1
31007 cat >>confdefs.h
<<\_ACEOF
31008 #define __WXGTK210__ 1
31011 cat >>confdefs.h
<<\_ACEOF
31012 #define __WXGTK26__ 1
31015 { echo "$as_me:$LINENO: result: yes" >&5
31016 echo "${ECHO_T}yes" >&6; }
31020 echo "$as_me: failed program was:" >&5
31021 sed 's/^/| /' conftest.
$ac_ext >&5
31024 { echo "$as_me:$LINENO: result: no" >&5
31025 echo "${ECHO_T}no" >&6; }
31030 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31032 if test "$ac_wxgtk218" = 0; then
31033 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31034 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31035 cat >conftest.
$ac_ext <<_ACEOF
31038 cat confdefs.h
>>conftest.
$ac_ext
31039 cat >>conftest.
$ac_ext <<_ACEOF
31040 /* end confdefs.h. */
31042 #include <gtk/gtk.h>
31048 #if !GTK_CHECK_VERSION(2,10,0)
31056 rm -f conftest.
$ac_objext
31057 if { (ac_try
="$ac_compile"
31058 case "(($ac_try" in
31059 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31060 *) ac_try_echo=$ac_try;;
31062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31063 (eval "$ac_compile") 2>conftest.er1
31065 grep -v '^ *+' conftest.er1 >conftest.err
31067 cat conftest.err >&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); } && {
31070 test -z "$ac_c_werror_flag" ||
31071 test ! -s conftest.err
31072 } && test -s conftest.$ac_objext; then
31074 cat >>confdefs.h <<\_ACEOF
31075 #define __WXGTK210__ 1
31078 cat >>confdefs.h <<\_ACEOF
31079 #define __WXGTK26__ 1
31082 { echo "$as_me:$LINENO: result: yes" >&5
31083 echo "${ECHO_T}yes" >&6; }
31087 echo "$as_me: failed program was:" >&5
31088 sed 's/^/| /' conftest.$ac_ext >&5
31091 { echo "$as_me:$LINENO: result: no" >&5
31092 echo "${ECHO_T}no" >&6; }
31097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31099 if test "$ac_wxgtk210" = 0; then
31100 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31101 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31102 cat >conftest.$ac_ext <<_ACEOF
31105 cat confdefs.h >>conftest.$ac_ext
31106 cat >>conftest.$ac_ext <<_ACEOF
31107 /* end confdefs.h. */
31109 #include <gtk/gtk.h>
31115 #if !GTK_CHECK_VERSION(2,6,0)
31123 rm -f conftest.$ac_objext
31124 if { (ac_try="$ac_compile"
31125 case "(($ac_try" in
31126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31127 *) ac_try_echo
=$ac_try;;
31129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31130 (eval "$ac_compile") 2>conftest.er1
31132 grep -v '^ *+' conftest.er1
>conftest.err
31134 cat conftest.err
>&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } && {
31137 test -z "$ac_c_werror_flag" ||
31138 test ! -s conftest.err
31139 } && test -s conftest.
$ac_objext; then
31141 cat >>confdefs.h
<<\_ACEOF
31142 #define __WXGTK26__ 1
31145 { echo "$as_me:$LINENO: result: yes" >&5
31146 echo "${ECHO_T}yes" >&6; }
31150 echo "$as_me: failed program was:" >&5
31151 sed 's/^/| /' conftest.
$ac_ext >&5
31154 { echo "$as_me:$LINENO: result: no" >&5
31155 echo "${ECHO_T}no" >&6; }
31160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31164 CFLAGS
="$save_CFLAGS"
31167 if test "$wxUSE_UNICODE" = "yes"; then
31168 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31169 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31173 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31174 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31175 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31176 echo $ECHO_N "(cached) $ECHO_C" >&6
31178 ac_check_lib_save_LIBS
=$LIBS
31180 cat >conftest.
$ac_ext <<_ACEOF
31183 cat confdefs.h
>>conftest.
$ac_ext
31184 cat >>conftest.
$ac_ext <<_ACEOF
31185 /* end confdefs.h. */
31187 /* Override any GCC internal prototype to avoid an error.
31188 Use char because int might match the return type of a GCC
31189 builtin and then its argument prototype would still apply. */
31193 char gdk_im_open ();
31197 return gdk_im_open ();
31202 rm -f conftest.
$ac_objext conftest
$ac_exeext
31203 if { (ac_try
="$ac_link"
31204 case "(($ac_try" in
31205 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31206 *) ac_try_echo=$ac_try;;
31208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31209 (eval "$ac_link") 2>conftest.er1
31211 grep -v '^ *+' conftest.er1 >conftest.err
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } && {
31216 test -z "$ac_c_werror_flag" ||
31217 test ! -s conftest.err
31218 } && test -s conftest$ac_exeext &&
31219 $as_test_x conftest$ac_exeext; then
31220 ac_cv_lib_gdk_gdk_im_open=yes
31222 echo "$as_me: failed program was:" >&5
31223 sed 's/^/| /' conftest.$ac_ext >&5
31225 ac_cv_lib_gdk_gdk_im_open=no
31228 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31229 conftest$ac_exeext conftest.$ac_ext
31230 LIBS=$ac_check_lib_save_LIBS
31232 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31233 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31234 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31235 cat >>confdefs.h <<\_ACEOF
31242 if test "$USE_DARWIN" != 1; then
31244 for ac_func in poll
31246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31247 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31249 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31250 echo $ECHO_N "(cached) $ECHO_C" >&6
31252 cat >conftest.$ac_ext <<_ACEOF
31255 cat confdefs.h >>conftest.$ac_ext
31256 cat >>conftest.$ac_ext <<_ACEOF
31257 /* end confdefs.h. */
31258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31260 #define $ac_func innocuous_$ac_func
31262 /* System header to define __stub macros and hopefully few prototypes,
31263 which can conflict with char $ac_func (); below.
31264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31265 <limits.h> exists even on freestanding compilers. */
31268 # include <limits.h>
31270 # include <assert.h>
31275 /* Override any GCC internal prototype to avoid an error.
31276 Use char because int might match the return type of a GCC
31277 builtin and then its argument prototype would still apply. */
31282 /* The GNU C library defines this for functions which it implements
31283 to always fail with ENOSYS. Some functions are actually named
31284 something starting with __ and the normal name is an alias. */
31285 #if defined __stub_$ac_func || defined __stub___$ac_func
31292 return $ac_func ();
31297 rm -f conftest.$ac_objext conftest$ac_exeext
31298 if { (ac_try="$ac_link"
31299 case "(($ac_try" in
31300 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31301 *) ac_try_echo
=$ac_try;;
31303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31304 (eval "$ac_link") 2>conftest.er1
31306 grep -v '^ *+' conftest.er1
>conftest.err
31308 cat conftest.err
>&5
31309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31310 (exit $ac_status); } && {
31311 test -z "$ac_c_werror_flag" ||
31312 test ! -s conftest.err
31313 } && test -s conftest
$ac_exeext &&
31314 $as_test_x conftest
$ac_exeext; then
31315 eval "$as_ac_var=yes"
31317 echo "$as_me: failed program was:" >&5
31318 sed 's/^/| /' conftest.
$ac_ext >&5
31320 eval "$as_ac_var=no"
31323 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31324 conftest
$ac_exeext conftest.
$ac_ext
31326 ac_res
=`eval echo '${'$as_ac_var'}'`
31327 { echo "$as_me:$LINENO: result: $ac_res" >&5
31328 echo "${ECHO_T}$ac_res" >&6; }
31329 if test `eval echo '${'$as_ac_var'}'` = yes; then
31330 cat >>confdefs.h
<<_ACEOF
31331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31340 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
31341 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31342 AFMINSTALL
=afminstall
31346 if test "$wxUSE_GPE" = "yes"; then
31347 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31348 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31351 for ac_dir
in $SEARCH_LIB
31353 for ac_extension
in a so sl dylib dll.a
; do
31354 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31355 ac_find_libraries
=$ac_dir
31361 if test "$ac_find_libraries" != "" ; then
31363 if test "$ac_find_libraries" = "default location"; then
31366 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31368 if test $result = 0; then
31371 ac_path_to_link
=" -L$ac_find_libraries"
31375 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31377 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31378 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31380 { echo "$as_me:$LINENO: result: not found" >&5
31381 echo "${ECHO_T}not found" >&6; }
31387 if test "$wxUSE_DFB" = 1; then
31390 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31391 if test -n "$ac_tool_prefix"; then
31392 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31393 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31394 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31396 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31399 case $PKG_CONFIG in
31401 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31404 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31405 for as_dir
in $PATH
31408 test -z "$as_dir" && as_dir
=.
31409 for ac_exec_ext
in '' $ac_executable_extensions; do
31410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31411 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31422 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31423 if test -n "$PKG_CONFIG"; then
31424 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31425 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31427 { echo "$as_me:$LINENO: result: no" >&5
31428 echo "${ECHO_T}no" >&6; }
31433 if test -z "$ac_cv_path_PKG_CONFIG"; then
31434 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31435 # Extract the first word of "pkg-config", so it can be a program name with args.
31436 set dummy pkg
-config; ac_word
=$2
31437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31439 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31440 echo $ECHO_N "(cached) $ECHO_C" >&6
31442 case $ac_pt_PKG_CONFIG in
31444 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31448 for as_dir
in $PATH
31451 test -z "$as_dir" && as_dir
=.
31452 for ac_exec_ext
in '' $ac_executable_extensions; do
31453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31454 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31455 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31465 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31466 if test -n "$ac_pt_PKG_CONFIG"; then
31467 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31468 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31470 { echo "$as_me:$LINENO: result: no" >&5
31471 echo "${ECHO_T}no" >&6; }
31474 if test "x$ac_pt_PKG_CONFIG" = x
; then
31477 case $cross_compiling:$ac_tool_warned in
31479 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31480 whose name does not start with the host triplet. If you think this
31481 configuration is useful to you, please write to autoconf@gnu.org." >&5
31482 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31483 whose name does not start with the host triplet. If you think this
31484 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31485 ac_tool_warned
=yes ;;
31487 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31490 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31494 if test -n "$PKG_CONFIG"; then
31495 _pkg_min_version
=0.9.0
31496 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31497 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31498 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31499 { echo "$as_me:$LINENO: result: yes" >&5
31500 echo "${ECHO_T}yes" >&6; }
31502 { echo "$as_me:$LINENO: result: no" >&5
31503 echo "${ECHO_T}no" >&6; }
31511 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31512 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31514 if test -n "$PKG_CONFIG"; then
31515 if test -n "$DIRECTFB_CFLAGS"; then
31516 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
31518 if test -n "$PKG_CONFIG" && \
31519 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31520 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31523 (exit $ac_status); }; then
31524 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31532 if test -n "$PKG_CONFIG"; then
31533 if test -n "$DIRECTFB_LIBS"; then
31534 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
31536 if test -n "$PKG_CONFIG" && \
31537 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31538 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541 (exit $ac_status); }; then
31542 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31553 if test $pkg_failed = yes; then
31555 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31556 _pkg_short_errors_supported
=yes
31558 _pkg_short_errors_supported
=no
31560 if test $_pkg_short_errors_supported = yes; then
31561 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31563 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31565 # Put the nasty error message in config.log where it belongs
31566 echo "$DIRECTFB_PKG_ERRORS" >&5
31569 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31570 echo "$as_me: error: DirectFB not found." >&2;}
31571 { (exit 1); exit 1; }; }
31574 elif test $pkg_failed = untried
; then
31576 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31577 echo "$as_me: error: DirectFB not found." >&2;}
31578 { (exit 1); exit 1; }; }
31582 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
31583 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
31584 { echo "$as_me:$LINENO: result: yes" >&5
31585 echo "${ECHO_T}yes" >&6; }
31587 wxUSE_UNIVERSAL
="yes"
31588 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
31589 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
31596 if test "$wxUSE_MICROWIN" = 1; then
31597 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31598 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31599 if test "x$MICROWINDOWS" = x
; then
31600 { echo "$as_me:$LINENO: result: not found" >&5
31601 echo "${ECHO_T}not found" >&6; }
31602 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31603 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31604 { (exit 1); exit 1; }; }
31606 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31607 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31610 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
31611 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31612 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31614 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31615 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31616 { (exit 1); exit 1; }; }
31619 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
31620 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31622 wxUSE_UNIVERSAL
="yes"
31624 AFMINSTALL
=afminstall
31626 GUIDIST
=MICROWIN_DIST
31628 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31631 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31632 { echo "$as_me:$LINENO: checking for X" >&5
31633 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31636 # Check whether --with-x was given.
31637 if test "${with_x+set}" = set; then
31641 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31642 if test "x$with_x" = xno
; then
31643 # The user explicitly disabled X.
31646 case $x_includes,$x_libraries in #(
31647 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31648 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31649 { (exit 1); exit 1; }; };; #(
31650 *,NONE
| NONE
,*) if test "${ac_cv_have_x+set}" = set; then
31651 echo $ECHO_N "(cached) $ECHO_C" >&6
31653 # One or both of the vars are not set, and there is no cached value.
31654 ac_x_includes
=no ac_x_libraries
=no
31655 rm -f -r conftest.dir
31656 if mkdir conftest.dir
; then
31658 cat >Imakefile
<<'_ACEOF'
31660 @echo incroot='${INCROOT}'
31662 @echo usrlibdir='${USRLIBDIR}'
31664 @echo libdir='${LIBDIR}'
31666 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
31667 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31668 for ac_var
in incroot usrlibdir libdir
; do
31669 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31671 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31672 for ac_extension
in a so sl
; do
31673 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31674 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31675 ac_im_usrlibdir
=$ac_im_libdir; break
31678 # Screen out bogus values from the imake configuration. They are
31679 # bogus both because they are the default anyway, and because
31680 # using them would break gcc on systems where it needs fixed includes.
31681 case $ac_im_incroot in
31682 /usr
/include
) ac_x_includes
= ;;
31683 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
31685 case $ac_im_usrlibdir in
31686 /usr
/lib
| /lib
) ;;
31687 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
31691 rm -f -r conftest.dir
31694 # Standard set of common directories for X headers.
31695 # Check X11 before X11Rn because it is often a symlink to the current release.
31707 /usr/local/X11/include
31708 /usr/local/X11R6/include
31709 /usr/local/X11R5/include
31710 /usr/local/X11R4/include
31712 /usr/local/include/X11
31713 /usr/local/include/X11R6
31714 /usr/local/include/X11R5
31715 /usr/local/include/X11R4
31719 /usr/XFree86/include/X11
31723 /usr/unsupported/include
31724 /usr/athena/include
31725 /usr/local/x11r5/include
31726 /usr/lpp/Xamples/include
31728 /usr/openwin/include
31729 /usr/openwin/share/include'
31731 if test "$ac_x_includes" = no
; then
31732 # Guess where to find include files, by looking for Xlib.h.
31733 # First, try using that file with no special directory specified.
31734 cat >conftest.
$ac_ext <<_ACEOF
31737 cat confdefs.h
>>conftest.
$ac_ext
31738 cat >>conftest.
$ac_ext <<_ACEOF
31739 /* end confdefs.h. */
31740 #include <X11/Xlib.h>
31742 if { (ac_try
="$ac_cpp conftest.$ac_ext"
31743 case "(($ac_try" in
31744 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31745 *) ac_try_echo=$ac_try;;
31747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31748 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31750 grep -v '^ *+' conftest.er1 >conftest.err
31752 cat conftest.err >&5
31753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31754 (exit $ac_status); } >/dev/null && {
31755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31756 test ! -s conftest.err
31758 # We can compile using X headers with no special include directory.
31761 echo "$as_me: failed program was:" >&5
31762 sed 's/^/| /' conftest.$ac_ext >&5
31764 for ac_dir in $ac_x_header_dirs; do
31765 if test -r "$ac_dir/X11/Xlib.h"; then
31766 ac_x_includes=$ac_dir
31772 rm -f conftest.err conftest.$ac_ext
31773 fi # $ac_x_includes = no
31775 if test "$ac_x_libraries" = no; then
31776 # Check for the libraries.
31777 # See if we find them without any special options.
31778 # Don't add to $LIBS permanently.
31781 cat >conftest.$ac_ext <<_ACEOF
31784 cat confdefs.h >>conftest.$ac_ext
31785 cat >>conftest.$ac_ext <<_ACEOF
31786 /* end confdefs.h. */
31787 #include <X11/Xlib.h>
31796 rm -f conftest.$ac_objext conftest$ac_exeext
31797 if { (ac_try="$ac_link"
31798 case "(($ac_try" in
31799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31800 *) ac_try_echo
=$ac_try;;
31802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31803 (eval "$ac_link") 2>conftest.er1
31805 grep -v '^ *+' conftest.er1
>conftest.err
31807 cat conftest.err
>&5
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); } && {
31810 test -z "$ac_c_werror_flag" ||
31811 test ! -s conftest.err
31812 } && test -s conftest
$ac_exeext &&
31813 $as_test_x conftest
$ac_exeext; then
31815 # We can link X programs with no special library path.
31818 echo "$as_me: failed program was:" >&5
31819 sed 's/^/| /' conftest.
$ac_ext >&5
31822 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31824 # Don't even attempt the hair of trying to link an X program!
31825 for ac_extension
in a so sl
; do
31826 if test -r "$ac_dir/libX11.$ac_extension"; then
31827 ac_x_libraries
=$ac_dir
31834 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31835 conftest
$ac_exeext conftest.
$ac_ext
31836 fi # $ac_x_libraries = no
31838 case $ac_x_includes,$ac_x_libraries in #(
31839 no
,* | *,no
| *\'*)
31840 # Didn't find X, or a directory has "'" in its name.
31841 ac_cv_have_x
="have_x=no";; #(
31843 # Record where we found X for the cache.
31844 ac_cv_have_x
="have_x=yes\
31845 ac_x_includes='$ac_x_includes'\
31846 ac_x_libraries='$ac_x_libraries'"
31852 eval "$ac_cv_have_x"
31855 if test "$have_x" != yes; then
31856 { echo "$as_me:$LINENO: result: $have_x" >&5
31857 echo "${ECHO_T}$have_x" >&6; }
31860 # If each of the values was on the command line, it overrides each guess.
31861 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
31862 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
31863 # Update the cache value to reflect the command line values.
31864 ac_cv_have_x
="have_x=yes\
31865 ac_x_includes='$x_includes'\
31866 ac_x_libraries='$x_libraries'"
31867 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31868 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31871 if test "$no_x" = yes; then
31872 # Not all programs may use this symbol, but it does not hurt to define it.
31874 cat >>confdefs.h
<<\_ACEOF
31875 #define X_DISPLAY_MISSING 1
31878 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
31880 if test -n "$x_includes"; then
31881 X_CFLAGS
="$X_CFLAGS -I$x_includes"
31884 # It would also be nice to do this for all -L options, not just this one.
31885 if test -n "$x_libraries"; then
31886 X_LIBS
="$X_LIBS -L$x_libraries"
31887 # For Solaris; some versions of Sun CC require a space after -R and
31888 # others require no space. Words are not sufficient . . . .
31889 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31890 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31891 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
31892 ac_xsave_c_werror_flag
=$ac_c_werror_flag
31893 ac_c_werror_flag
=yes
31894 cat >conftest.
$ac_ext <<_ACEOF
31897 cat confdefs.h
>>conftest.
$ac_ext
31898 cat >>conftest.
$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31909 rm -f conftest.
$ac_objext conftest
$ac_exeext
31910 if { (ac_try
="$ac_link"
31911 case "(($ac_try" in
31912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31913 *) ac_try_echo=$ac_try;;
31915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31916 (eval "$ac_link") 2>conftest.er1
31918 grep -v '^ *+' conftest.er1 >conftest.err
31920 cat conftest.err >&5
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); } && {
31923 test -z "$ac_c_werror_flag" ||
31924 test ! -s conftest.err
31925 } && test -s conftest$ac_exeext &&
31926 $as_test_x conftest$ac_exeext; then
31927 { echo "$as_me:$LINENO: result: no" >&5
31928 echo "${ECHO_T}no" >&6; }
31929 X_LIBS="$X_LIBS -R$x_libraries"
31931 echo "$as_me: failed program was:" >&5
31932 sed 's/^/| /' conftest.$ac_ext >&5
31934 LIBS="$ac_xsave_LIBS -R $x_libraries"
31935 cat >conftest.$ac_ext <<_ACEOF
31938 cat confdefs.h >>conftest.$ac_ext
31939 cat >>conftest.$ac_ext <<_ACEOF
31940 /* end confdefs.h. */
31950 rm -f conftest.$ac_objext conftest$ac_exeext
31951 if { (ac_try="$ac_link"
31952 case "(($ac_try" in
31953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31954 *) ac_try_echo
=$ac_try;;
31956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31957 (eval "$ac_link") 2>conftest.er1
31959 grep -v '^ *+' conftest.er1
>conftest.err
31961 cat conftest.err
>&5
31962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31963 (exit $ac_status); } && {
31964 test -z "$ac_c_werror_flag" ||
31965 test ! -s conftest.err
31966 } && test -s conftest
$ac_exeext &&
31967 $as_test_x conftest
$ac_exeext; then
31968 { echo "$as_me:$LINENO: result: yes" >&5
31969 echo "${ECHO_T}yes" >&6; }
31970 X_LIBS
="$X_LIBS -R $x_libraries"
31972 echo "$as_me: failed program was:" >&5
31973 sed 's/^/| /' conftest.
$ac_ext >&5
31975 { echo "$as_me:$LINENO: result: neither works" >&5
31976 echo "${ECHO_T}neither works" >&6; }
31979 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31980 conftest
$ac_exeext conftest.
$ac_ext
31983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31984 conftest
$ac_exeext conftest.
$ac_ext
31985 ac_c_werror_flag
=$ac_xsave_c_werror_flag
31986 LIBS
=$ac_xsave_LIBS
31989 # Check for system-dependent libraries X programs must link with.
31990 # Do this before checking for the system-independent R6 libraries
31991 # (-lICE), since we may need -lsocket or whatever for X linking.
31993 if test "$ISC" = yes; then
31994 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
31996 # Martyn Johnson says this is needed for Ultrix, if the X
31997 # libraries were built with DECnet support. And Karl Berry says
31998 # the Alpha needs dnet_stub (dnet does not exist).
31999 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
32000 cat >conftest.
$ac_ext <<_ACEOF
32003 cat confdefs.h
>>conftest.
$ac_ext
32004 cat >>conftest.
$ac_ext <<_ACEOF
32005 /* end confdefs.h. */
32007 /* Override any GCC internal prototype to avoid an error.
32008 Use char because int might match the return type of a GCC
32009 builtin and then its argument prototype would still apply. */
32013 char XOpenDisplay ();
32017 return XOpenDisplay ();
32022 rm -f conftest.
$ac_objext conftest
$ac_exeext
32023 if { (ac_try
="$ac_link"
32024 case "(($ac_try" in
32025 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32026 *) ac_try_echo=$ac_try;;
32028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32029 (eval "$ac_link") 2>conftest.er1
32031 grep -v '^ *+' conftest.er1 >conftest.err
32033 cat conftest.err >&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); } && {
32036 test -z "$ac_c_werror_flag" ||
32037 test ! -s conftest.err
32038 } && test -s conftest$ac_exeext &&
32039 $as_test_x conftest$ac_exeext; then
32042 echo "$as_me: failed program was:" >&5
32043 sed 's/^/| /' conftest.$ac_ext >&5
32045 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32046 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32047 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32048 echo $ECHO_N "(cached) $ECHO_C" >&6
32050 ac_check_lib_save_LIBS=$LIBS
32051 LIBS="-ldnet $LIBS"
32052 cat >conftest.$ac_ext <<_ACEOF
32055 cat confdefs.h >>conftest.$ac_ext
32056 cat >>conftest.$ac_ext <<_ACEOF
32057 /* end confdefs.h. */
32059 /* Override any GCC internal prototype to avoid an error.
32060 Use char because int might match the return type of a GCC
32061 builtin and then its argument prototype would still apply. */
32069 return dnet_ntoa ();
32074 rm -f conftest.$ac_objext conftest$ac_exeext
32075 if { (ac_try="$ac_link"
32076 case "(($ac_try" in
32077 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32078 *) ac_try_echo
=$ac_try;;
32080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32081 (eval "$ac_link") 2>conftest.er1
32083 grep -v '^ *+' conftest.er1
>conftest.err
32085 cat conftest.err
>&5
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); } && {
32088 test -z "$ac_c_werror_flag" ||
32089 test ! -s conftest.err
32090 } && test -s conftest
$ac_exeext &&
32091 $as_test_x conftest
$ac_exeext; then
32092 ac_cv_lib_dnet_dnet_ntoa
=yes
32094 echo "$as_me: failed program was:" >&5
32095 sed 's/^/| /' conftest.
$ac_ext >&5
32097 ac_cv_lib_dnet_dnet_ntoa
=no
32100 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32101 conftest
$ac_exeext conftest.
$ac_ext
32102 LIBS
=$ac_check_lib_save_LIBS
32104 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32105 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32106 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32107 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
32110 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
32111 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32112 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32113 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32114 echo $ECHO_N "(cached) $ECHO_C" >&6
32116 ac_check_lib_save_LIBS
=$LIBS
32117 LIBS
="-ldnet_stub $LIBS"
32118 cat >conftest.
$ac_ext <<_ACEOF
32121 cat confdefs.h
>>conftest.
$ac_ext
32122 cat >>conftest.
$ac_ext <<_ACEOF
32123 /* end confdefs.h. */
32125 /* Override any GCC internal prototype to avoid an error.
32126 Use char because int might match the return type of a GCC
32127 builtin and then its argument prototype would still apply. */
32135 return dnet_ntoa ();
32140 rm -f conftest.
$ac_objext conftest
$ac_exeext
32141 if { (ac_try
="$ac_link"
32142 case "(($ac_try" in
32143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32144 *) ac_try_echo=$ac_try;;
32146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32147 (eval "$ac_link") 2>conftest.er1
32149 grep -v '^ *+' conftest.er1 >conftest.err
32151 cat conftest.err >&5
32152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32153 (exit $ac_status); } && {
32154 test -z "$ac_c_werror_flag" ||
32155 test ! -s conftest.err
32156 } && test -s conftest$ac_exeext &&
32157 $as_test_x conftest$ac_exeext; then
32158 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32160 echo "$as_me: failed program was:" >&5
32161 sed 's/^/| /' conftest.$ac_ext >&5
32163 ac_cv_lib_dnet_stub_dnet_ntoa=no
32166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32167 conftest$ac_exeext conftest.$ac_ext
32168 LIBS=$ac_check_lib_save_LIBS
32170 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32171 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32172 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32173 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32180 conftest$ac_exeext conftest.$ac_ext
32181 LIBS="$ac_xsave_LIBS"
32183 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32184 # to get the SysV transport functions.
32185 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32187 # The nsl library prevents programs from opening the X display
32188 # on Irix 5.2, according to T.E. Dickey.
32189 # The functions gethostbyname, getservbyname, and inet_addr are
32190 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32191 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32192 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32193 if test "${ac_cv_func_gethostbyname+set}" = set; then
32194 echo $ECHO_N "(cached) $ECHO_C" >&6
32196 cat >conftest.$ac_ext <<_ACEOF
32199 cat confdefs.h >>conftest.$ac_ext
32200 cat >>conftest.$ac_ext <<_ACEOF
32201 /* end confdefs.h. */
32202 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32204 #define gethostbyname innocuous_gethostbyname
32206 /* System header to define __stub macros and hopefully few prototypes,
32207 which can conflict with char gethostbyname (); below.
32208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32209 <limits.h> exists even on freestanding compilers. */
32212 # include <limits.h>
32214 # include <assert.h>
32217 #undef gethostbyname
32219 /* Override any GCC internal prototype to avoid an error.
32220 Use char because int might match the return type of a GCC
32221 builtin and then its argument prototype would still apply. */
32225 char gethostbyname ();
32226 /* The GNU C library defines this for functions which it implements
32227 to always fail with ENOSYS. Some functions are actually named
32228 something starting with __ and the normal name is an alias. */
32229 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32236 return gethostbyname ();
32241 rm -f conftest.$ac_objext conftest$ac_exeext
32242 if { (ac_try="$ac_link"
32243 case "(($ac_try" in
32244 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32245 *) ac_try_echo
=$ac_try;;
32247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32248 (eval "$ac_link") 2>conftest.er1
32250 grep -v '^ *+' conftest.er1
>conftest.err
32252 cat conftest.err
>&5
32253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254 (exit $ac_status); } && {
32255 test -z "$ac_c_werror_flag" ||
32256 test ! -s conftest.err
32257 } && test -s conftest
$ac_exeext &&
32258 $as_test_x conftest
$ac_exeext; then
32259 ac_cv_func_gethostbyname
=yes
32261 echo "$as_me: failed program was:" >&5
32262 sed 's/^/| /' conftest.
$ac_ext >&5
32264 ac_cv_func_gethostbyname
=no
32267 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32268 conftest
$ac_exeext conftest.
$ac_ext
32270 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32271 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32273 if test $ac_cv_func_gethostbyname = no
; then
32274 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32275 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32276 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32277 echo $ECHO_N "(cached) $ECHO_C" >&6
32279 ac_check_lib_save_LIBS
=$LIBS
32281 cat >conftest.
$ac_ext <<_ACEOF
32284 cat confdefs.h
>>conftest.
$ac_ext
32285 cat >>conftest.
$ac_ext <<_ACEOF
32286 /* end confdefs.h. */
32288 /* Override any GCC internal prototype to avoid an error.
32289 Use char because int might match the return type of a GCC
32290 builtin and then its argument prototype would still apply. */
32294 char gethostbyname ();
32298 return gethostbyname ();
32303 rm -f conftest.
$ac_objext conftest
$ac_exeext
32304 if { (ac_try
="$ac_link"
32305 case "(($ac_try" in
32306 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32307 *) ac_try_echo=$ac_try;;
32309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32310 (eval "$ac_link") 2>conftest.er1
32312 grep -v '^ *+' conftest.er1 >conftest.err
32314 cat conftest.err >&5
32315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32316 (exit $ac_status); } && {
32317 test -z "$ac_c_werror_flag" ||
32318 test ! -s conftest.err
32319 } && test -s conftest$ac_exeext &&
32320 $as_test_x conftest$ac_exeext; then
32321 ac_cv_lib_nsl_gethostbyname=yes
32323 echo "$as_me: failed program was:" >&5
32324 sed 's/^/| /' conftest.$ac_ext >&5
32326 ac_cv_lib_nsl_gethostbyname=no
32329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32330 conftest$ac_exeext conftest.$ac_ext
32331 LIBS=$ac_check_lib_save_LIBS
32333 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32334 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32335 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32336 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32339 if test $ac_cv_lib_nsl_gethostbyname = no; then
32340 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32341 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32342 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32343 echo $ECHO_N "(cached) $ECHO_C" >&6
32345 ac_check_lib_save_LIBS=$LIBS
32347 cat >conftest.$ac_ext <<_ACEOF
32350 cat confdefs.h >>conftest.$ac_ext
32351 cat >>conftest.$ac_ext <<_ACEOF
32352 /* end confdefs.h. */
32354 /* Override any GCC internal prototype to avoid an error.
32355 Use char because int might match the return type of a GCC
32356 builtin and then its argument prototype would still apply. */
32360 char gethostbyname ();
32364 return gethostbyname ();
32369 rm -f conftest.$ac_objext conftest$ac_exeext
32370 if { (ac_try="$ac_link"
32371 case "(($ac_try" in
32372 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32373 *) ac_try_echo
=$ac_try;;
32375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32376 (eval "$ac_link") 2>conftest.er1
32378 grep -v '^ *+' conftest.er1
>conftest.err
32380 cat conftest.err
>&5
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); } && {
32383 test -z "$ac_c_werror_flag" ||
32384 test ! -s conftest.err
32385 } && test -s conftest
$ac_exeext &&
32386 $as_test_x conftest
$ac_exeext; then
32387 ac_cv_lib_bsd_gethostbyname
=yes
32389 echo "$as_me: failed program was:" >&5
32390 sed 's/^/| /' conftest.
$ac_ext >&5
32392 ac_cv_lib_bsd_gethostbyname
=no
32395 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32396 conftest
$ac_exeext conftest.
$ac_ext
32397 LIBS
=$ac_check_lib_save_LIBS
32399 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32400 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32401 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32402 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
32408 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32409 # socket/setsockopt and other routines are undefined under SCO ODT
32410 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32411 # on later versions), says Simon Leinen: it contains gethostby*
32412 # variants that don't use the name server (or something). -lsocket
32413 # must be given before -lnsl if both are needed. We assume that
32414 # if connect needs -lnsl, so does gethostbyname.
32415 { echo "$as_me:$LINENO: checking for connect" >&5
32416 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32417 if test "${ac_cv_func_connect+set}" = set; then
32418 echo $ECHO_N "(cached) $ECHO_C" >&6
32420 cat >conftest.
$ac_ext <<_ACEOF
32423 cat confdefs.h
>>conftest.
$ac_ext
32424 cat >>conftest.
$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32426 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32428 #define connect innocuous_connect
32430 /* System header to define __stub macros and hopefully few prototypes,
32431 which can conflict with char connect (); below.
32432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32433 <limits.h> exists even on freestanding compilers. */
32436 # include <limits.h>
32438 # include <assert.h>
32443 /* Override any GCC internal prototype to avoid an error.
32444 Use char because int might match the return type of a GCC
32445 builtin and then its argument prototype would still apply. */
32450 /* The GNU C library defines this for functions which it implements
32451 to always fail with ENOSYS. Some functions are actually named
32452 something starting with __ and the normal name is an alias. */
32453 #if defined __stub_connect || defined __stub___connect
32465 rm -f conftest.
$ac_objext conftest
$ac_exeext
32466 if { (ac_try
="$ac_link"
32467 case "(($ac_try" in
32468 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32469 *) ac_try_echo=$ac_try;;
32471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32472 (eval "$ac_link") 2>conftest.er1
32474 grep -v '^ *+' conftest.er1 >conftest.err
32476 cat conftest.err >&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); } && {
32479 test -z "$ac_c_werror_flag" ||
32480 test ! -s conftest.err
32481 } && test -s conftest$ac_exeext &&
32482 $as_test_x conftest$ac_exeext; then
32483 ac_cv_func_connect=yes
32485 echo "$as_me: failed program was:" >&5
32486 sed 's/^/| /' conftest.$ac_ext >&5
32488 ac_cv_func_connect=no
32491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32492 conftest$ac_exeext conftest.$ac_ext
32494 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32495 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32497 if test $ac_cv_func_connect = no; then
32498 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32499 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32500 if test "${ac_cv_lib_socket_connect+set}" = set; then
32501 echo $ECHO_N "(cached) $ECHO_C" >&6
32503 ac_check_lib_save_LIBS=$LIBS
32504 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32505 cat >conftest.$ac_ext <<_ACEOF
32508 cat confdefs.h >>conftest.$ac_ext
32509 cat >>conftest.$ac_ext <<_ACEOF
32510 /* end confdefs.h. */
32512 /* Override any GCC internal prototype to avoid an error.
32513 Use char because int might match the return type of a GCC
32514 builtin and then its argument prototype would still apply. */
32527 rm -f conftest.$ac_objext conftest$ac_exeext
32528 if { (ac_try="$ac_link"
32529 case "(($ac_try" in
32530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32531 *) ac_try_echo
=$ac_try;;
32533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32534 (eval "$ac_link") 2>conftest.er1
32536 grep -v '^ *+' conftest.er1
>conftest.err
32538 cat conftest.err
>&5
32539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32540 (exit $ac_status); } && {
32541 test -z "$ac_c_werror_flag" ||
32542 test ! -s conftest.err
32543 } && test -s conftest
$ac_exeext &&
32544 $as_test_x conftest
$ac_exeext; then
32545 ac_cv_lib_socket_connect
=yes
32547 echo "$as_me: failed program was:" >&5
32548 sed 's/^/| /' conftest.
$ac_ext >&5
32550 ac_cv_lib_socket_connect
=no
32553 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32554 conftest
$ac_exeext conftest.
$ac_ext
32555 LIBS
=$ac_check_lib_save_LIBS
32557 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32558 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32559 if test $ac_cv_lib_socket_connect = yes; then
32560 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
32565 # Guillermo Gomez says -lposix is necessary on A/UX.
32566 { echo "$as_me:$LINENO: checking for remove" >&5
32567 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32568 if test "${ac_cv_func_remove+set}" = set; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32571 cat >conftest.
$ac_ext <<_ACEOF
32574 cat confdefs.h
>>conftest.
$ac_ext
32575 cat >>conftest.
$ac_ext <<_ACEOF
32576 /* end confdefs.h. */
32577 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32579 #define remove innocuous_remove
32581 /* System header to define __stub macros and hopefully few prototypes,
32582 which can conflict with char remove (); below.
32583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32584 <limits.h> exists even on freestanding compilers. */
32587 # include <limits.h>
32589 # include <assert.h>
32594 /* Override any GCC internal prototype to avoid an error.
32595 Use char because int might match the return type of a GCC
32596 builtin and then its argument prototype would still apply. */
32601 /* The GNU C library defines this for functions which it implements
32602 to always fail with ENOSYS. Some functions are actually named
32603 something starting with __ and the normal name is an alias. */
32604 #if defined __stub_remove || defined __stub___remove
32616 rm -f conftest.
$ac_objext conftest
$ac_exeext
32617 if { (ac_try
="$ac_link"
32618 case "(($ac_try" in
32619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32620 *) ac_try_echo=$ac_try;;
32622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32623 (eval "$ac_link") 2>conftest.er1
32625 grep -v '^ *+' conftest.er1 >conftest.err
32627 cat conftest.err >&5
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); } && {
32630 test -z "$ac_c_werror_flag" ||
32631 test ! -s conftest.err
32632 } && test -s conftest$ac_exeext &&
32633 $as_test_x conftest$ac_exeext; then
32634 ac_cv_func_remove=yes
32636 echo "$as_me: failed program was:" >&5
32637 sed 's/^/| /' conftest.$ac_ext >&5
32639 ac_cv_func_remove=no
32642 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32643 conftest$ac_exeext conftest.$ac_ext
32645 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32646 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32648 if test $ac_cv_func_remove = no; then
32649 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32650 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32651 if test "${ac_cv_lib_posix_remove+set}" = set; then
32652 echo $ECHO_N "(cached) $ECHO_C" >&6
32654 ac_check_lib_save_LIBS=$LIBS
32655 LIBS="-lposix $LIBS"
32656 cat >conftest.$ac_ext <<_ACEOF
32659 cat confdefs.h >>conftest.$ac_ext
32660 cat >>conftest.$ac_ext <<_ACEOF
32661 /* end confdefs.h. */
32663 /* Override any GCC internal prototype to avoid an error.
32664 Use char because int might match the return type of a GCC
32665 builtin and then its argument prototype would still apply. */
32678 rm -f conftest.$ac_objext conftest$ac_exeext
32679 if { (ac_try="$ac_link"
32680 case "(($ac_try" in
32681 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32682 *) ac_try_echo
=$ac_try;;
32684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32685 (eval "$ac_link") 2>conftest.er1
32687 grep -v '^ *+' conftest.er1
>conftest.err
32689 cat conftest.err
>&5
32690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32691 (exit $ac_status); } && {
32692 test -z "$ac_c_werror_flag" ||
32693 test ! -s conftest.err
32694 } && test -s conftest
$ac_exeext &&
32695 $as_test_x conftest
$ac_exeext; then
32696 ac_cv_lib_posix_remove
=yes
32698 echo "$as_me: failed program was:" >&5
32699 sed 's/^/| /' conftest.
$ac_ext >&5
32701 ac_cv_lib_posix_remove
=no
32704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32705 conftest
$ac_exeext conftest.
$ac_ext
32706 LIBS
=$ac_check_lib_save_LIBS
32708 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32709 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32710 if test $ac_cv_lib_posix_remove = yes; then
32711 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
32716 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32717 { echo "$as_me:$LINENO: checking for shmat" >&5
32718 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32719 if test "${ac_cv_func_shmat+set}" = set; then
32720 echo $ECHO_N "(cached) $ECHO_C" >&6
32722 cat >conftest.
$ac_ext <<_ACEOF
32725 cat confdefs.h
>>conftest.
$ac_ext
32726 cat >>conftest.
$ac_ext <<_ACEOF
32727 /* end confdefs.h. */
32728 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32730 #define shmat innocuous_shmat
32732 /* System header to define __stub macros and hopefully few prototypes,
32733 which can conflict with char shmat (); below.
32734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32735 <limits.h> exists even on freestanding compilers. */
32738 # include <limits.h>
32740 # include <assert.h>
32745 /* Override any GCC internal prototype to avoid an error.
32746 Use char because int might match the return type of a GCC
32747 builtin and then its argument prototype would still apply. */
32752 /* The GNU C library defines this for functions which it implements
32753 to always fail with ENOSYS. Some functions are actually named
32754 something starting with __ and the normal name is an alias. */
32755 #if defined __stub_shmat || defined __stub___shmat
32767 rm -f conftest.
$ac_objext conftest
$ac_exeext
32768 if { (ac_try
="$ac_link"
32769 case "(($ac_try" in
32770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32771 *) ac_try_echo=$ac_try;;
32773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32774 (eval "$ac_link") 2>conftest.er1
32776 grep -v '^ *+' conftest.er1 >conftest.err
32778 cat conftest.err >&5
32779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32780 (exit $ac_status); } && {
32781 test -z "$ac_c_werror_flag" ||
32782 test ! -s conftest.err
32783 } && test -s conftest$ac_exeext &&
32784 $as_test_x conftest$ac_exeext; then
32785 ac_cv_func_shmat=yes
32787 echo "$as_me: failed program was:" >&5
32788 sed 's/^/| /' conftest.$ac_ext >&5
32790 ac_cv_func_shmat=no
32793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32794 conftest$ac_exeext conftest.$ac_ext
32796 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32797 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32799 if test $ac_cv_func_shmat = no; then
32800 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32801 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32802 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32803 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 ac_check_lib_save_LIBS=$LIBS
32807 cat >conftest.$ac_ext <<_ACEOF
32810 cat confdefs.h >>conftest.$ac_ext
32811 cat >>conftest.$ac_ext <<_ACEOF
32812 /* end confdefs.h. */
32814 /* Override any GCC internal prototype to avoid an error.
32815 Use char because int might match the return type of a GCC
32816 builtin and then its argument prototype would still apply. */
32829 rm -f conftest.$ac_objext conftest$ac_exeext
32830 if { (ac_try="$ac_link"
32831 case "(($ac_try" in
32832 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32833 *) ac_try_echo
=$ac_try;;
32835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32836 (eval "$ac_link") 2>conftest.er1
32838 grep -v '^ *+' conftest.er1
>conftest.err
32840 cat conftest.err
>&5
32841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32842 (exit $ac_status); } && {
32843 test -z "$ac_c_werror_flag" ||
32844 test ! -s conftest.err
32845 } && test -s conftest
$ac_exeext &&
32846 $as_test_x conftest
$ac_exeext; then
32847 ac_cv_lib_ipc_shmat
=yes
32849 echo "$as_me: failed program was:" >&5
32850 sed 's/^/| /' conftest.
$ac_ext >&5
32852 ac_cv_lib_ipc_shmat
=no
32855 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32856 conftest
$ac_exeext conftest.
$ac_ext
32857 LIBS
=$ac_check_lib_save_LIBS
32859 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32860 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32861 if test $ac_cv_lib_ipc_shmat = yes; then
32862 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
32868 # Check for libraries that X11R6 Xt/Xaw programs need.
32869 ac_save_LDFLAGS
=$LDFLAGS
32870 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
32871 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32872 # check for ICE first), but we must link in the order -lSM -lICE or
32873 # we get undefined symbols. So assume we have SM if we have ICE.
32874 # These have to be linked with before -lX11, unlike the other
32875 # libraries we check for below, so use a different variable.
32876 # John Interrante, Karl Berry
32877 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32878 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32879 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32880 echo $ECHO_N "(cached) $ECHO_C" >&6
32882 ac_check_lib_save_LIBS
=$LIBS
32883 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
32884 cat >conftest.
$ac_ext <<_ACEOF
32887 cat confdefs.h
>>conftest.
$ac_ext
32888 cat >>conftest.
$ac_ext <<_ACEOF
32889 /* end confdefs.h. */
32891 /* Override any GCC internal prototype to avoid an error.
32892 Use char because int might match the return type of a GCC
32893 builtin and then its argument prototype would still apply. */
32897 char IceConnectionNumber ();
32901 return IceConnectionNumber ();
32906 rm -f conftest.
$ac_objext conftest
$ac_exeext
32907 if { (ac_try
="$ac_link"
32908 case "(($ac_try" in
32909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32910 *) ac_try_echo=$ac_try;;
32912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32913 (eval "$ac_link") 2>conftest.er1
32915 grep -v '^ *+' conftest.er1 >conftest.err
32917 cat conftest.err >&5
32918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32919 (exit $ac_status); } && {
32920 test -z "$ac_c_werror_flag" ||
32921 test ! -s conftest.err
32922 } && test -s conftest$ac_exeext &&
32923 $as_test_x conftest$ac_exeext; then
32924 ac_cv_lib_ICE_IceConnectionNumber=yes
32926 echo "$as_me: failed program was:" >&5
32927 sed 's/^/| /' conftest.$ac_ext >&5
32929 ac_cv_lib_ICE_IceConnectionNumber=no
32932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32933 conftest$ac_exeext conftest.$ac_ext
32934 LIBS=$ac_check_lib_save_LIBS
32936 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32937 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32938 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32939 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32942 LDFLAGS=$ac_save_LDFLAGS
32947 if test "$no_x" = "yes"; then
32948 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32949 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32950 { (exit 1); exit 1; }; }
32953 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32954 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32955 AFMINSTALL=afminstall
32956 COMPILED_X_PROGRAM=0
32960 if test "$wxUSE_X11" = 1; then
32961 if test "$wxUSE_NANOX" = "yes"; then
32962 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32963 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32964 if test "x$MICROWIN" = x ; then
32965 { echo "$as_me:$LINENO: result: not found" >&5
32966 echo "${ECHO_T}not found" >&6; }
32967 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32968 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32969 { (exit 1); exit 1; }; }
32971 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32972 echo "${ECHO_T}$MICROWIN" >&6; }
32973 cat >>confdefs.h <<\_ACEOF
32974 #define wxUSE_NANOX 1
32980 if test "$wxUSE_UNICODE" = "yes"; then
32983 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32984 if test -n "$ac_tool_prefix"; then
32985 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32986 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32987 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32989 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32990 echo $ECHO_N "(cached) $ECHO_C" >&6
32992 case $PKG_CONFIG in
32994 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32998 for as_dir in $PATH
33001 test -z "$as_dir" && as_dir=.
33002 for ac_exec_ext in '' $ac_executable_extensions; do
33003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33004 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33015 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33016 if test -n "$PKG_CONFIG"; then
33017 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33018 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33020 { echo "$as_me:$LINENO: result: no" >&5
33021 echo "${ECHO_T}no" >&6; }
33026 if test -z "$ac_cv_path_PKG_CONFIG"; then
33027 ac_pt_PKG_CONFIG=$PKG_CONFIG
33028 # Extract the first word of "pkg-config", so it can be a program name with args.
33029 set dummy pkg-config; ac_word=$2
33030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33032 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33033 echo $ECHO_N "(cached) $ECHO_C" >&6
33035 case $ac_pt_PKG_CONFIG in
33037 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33041 for as_dir in $PATH
33044 test -z "$as_dir" && as_dir=.
33045 for ac_exec_ext in '' $ac_executable_extensions; do
33046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33047 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33048 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33058 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33059 if test -n "$ac_pt_PKG_CONFIG"; then
33060 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33061 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33063 { echo "$as_me:$LINENO: result: no" >&5
33064 echo "${ECHO_T}no" >&6; }
33067 if test "x$ac_pt_PKG_CONFIG" = x; then
33070 case $cross_compiling:$ac_tool_warned in
33072 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33073 whose name does not start with the host triplet. If you think this
33074 configuration is useful to you, please write to autoconf@gnu.org." >&5
33075 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33076 whose name does not start with the host triplet. If you think this
33077 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33078 ac_tool_warned=yes ;;
33080 PKG_CONFIG=$ac_pt_PKG_CONFIG
33083 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33087 if test -n "$PKG_CONFIG"; then
33088 _pkg_min_version=0.9.0
33089 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33090 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33091 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33092 { echo "$as_me:$LINENO: result: yes" >&5
33093 echo "${ECHO_T}yes" >&6; }
33095 { echo "$as_me:$LINENO: result: no" >&5
33096 echo "${ECHO_T}no" >&6; }
33104 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33105 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33107 if test -n "$PKG_CONFIG"; then
33108 if test -n "$PANGOX_CFLAGS"; then
33109 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33111 if test -n "$PKG_CONFIG" && \
33112 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33113 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); }; then
33117 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev
/null
`
33125 if test -n "$PKG_CONFIG"; then
33126 if test -n "$PANGOX_LIBS"; then
33127 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33129 if test -n "$PKG_CONFIG" && \
33130 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33131 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33134 (exit $ac_status); }; then
33135 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev
/null
`
33146 if test $pkg_failed = yes; then
33148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33149 _pkg_short_errors_supported=yes
33151 _pkg_short_errors_supported=no
33153 if test $_pkg_short_errors_supported = yes; then
33154 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33156 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33158 # Put the nasty error message in config.log where it belongs
33159 echo "$PANGOX_PKG_ERRORS" >&5
33162 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33163 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33164 { (exit 1); exit 1; }; }
33167 elif test $pkg_failed = untried; then
33169 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33170 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33171 { (exit 1); exit 1; }; }
33175 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33176 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33177 { echo "$as_me:$LINENO: result: yes" >&5
33178 echo "${ECHO_T}yes" >&6; }
33180 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33181 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33182 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33187 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33188 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33190 if test -n "$PKG_CONFIG"; then
33191 if test -n "$PANGOFT2_CFLAGS"; then
33192 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33194 if test -n "$PKG_CONFIG" && \
33195 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33196 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33199 (exit $ac_status); }; then
33200 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev
/null
`
33208 if test -n "$PKG_CONFIG"; then
33209 if test -n "$PANGOFT2_LIBS"; then
33210 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33212 if test -n "$PKG_CONFIG" && \
33213 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33214 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; then
33218 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev
/null
`
33229 if test $pkg_failed = yes; then
33231 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33232 _pkg_short_errors_supported=yes
33234 _pkg_short_errors_supported=no
33236 if test $_pkg_short_errors_supported = yes; then
33237 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33239 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33241 # Put the nasty error message in config.log where it belongs
33242 echo "$PANGOFT2_PKG_ERRORS" >&5
33245 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33246 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33247 wxUSE_PRINTING_ARCHITECTURE="no"
33250 elif test $pkg_failed = untried; then
33252 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33253 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33254 wxUSE_PRINTING_ARCHITECTURE="no"
33258 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33259 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33260 { echo "$as_me:$LINENO: result: yes" >&5
33261 echo "${ECHO_T}yes" >&6; }
33263 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33264 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33265 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33270 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33271 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33273 if test -n "$PKG_CONFIG"; then
33274 if test -n "$PANGOXFT_CFLAGS"; then
33275 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33277 if test -n "$PKG_CONFIG" && \
33278 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33279 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33282 (exit $ac_status); }; then
33283 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev
/null
`
33291 if test -n "$PKG_CONFIG"; then
33292 if test -n "$PANGOXFT_LIBS"; then
33293 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33295 if test -n "$PKG_CONFIG" && \
33296 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33297 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300 (exit $ac_status); }; then
33301 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev
/null
`
33312 if test $pkg_failed = yes; then
33314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33315 _pkg_short_errors_supported=yes
33317 _pkg_short_errors_supported=no
33319 if test $_pkg_short_errors_supported = yes; then
33320 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33322 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33324 # Put the nasty error message in config.log where it belongs
33325 echo "$PANGOXFT_PKG_ERRORS" >&5
33328 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33329 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33332 elif test $pkg_failed = untried; then
33334 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33335 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33339 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33340 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33341 { echo "$as_me:$LINENO: result: yes" >&5
33342 echo "${ECHO_T}yes" >&6; }
33344 cat >>confdefs.h <<\_ACEOF
33345 #define HAVE_PANGO_XFT 1
33348 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33349 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33350 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33354 LIBS="$LIBS $PANGOX_LIBS"
33356 for ac_func in pango_font_family_is_monospace
33358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33359 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33361 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33362 echo $ECHO_N "(cached) $ECHO_C" >&6
33364 cat >conftest.$ac_ext <<_ACEOF
33367 cat confdefs.h >>conftest.$ac_ext
33368 cat >>conftest.$ac_ext <<_ACEOF
33369 /* end confdefs.h. */
33370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33372 #define $ac_func innocuous_$ac_func
33374 /* System header to define __stub macros and hopefully few prototypes,
33375 which can conflict with char $ac_func (); below.
33376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33377 <limits.h> exists even on freestanding compilers. */
33380 # include <limits.h>
33382 # include <assert.h>
33387 /* Override any GCC internal prototype to avoid an error.
33388 Use char because int might match the return type of a GCC
33389 builtin and then its argument prototype would still apply. */
33394 /* The GNU C library defines this for functions which it implements
33395 to always fail with ENOSYS. Some functions are actually named
33396 something starting with __ and the normal name is an alias. */
33397 #if defined __stub_$ac_func || defined __stub___$ac_func
33404 return $ac_func ();
33409 rm -f conftest.$ac_objext conftest$ac_exeext
33410 if { (ac_try="$ac_link"
33411 case "(($ac_try" in
33412 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33413 *) ac_try_echo
=$ac_try;;
33415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33416 (eval "$ac_link") 2>conftest.er1
33418 grep -v '^ *+' conftest.er1
>conftest.err
33420 cat conftest.err
>&5
33421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422 (exit $ac_status); } && {
33423 test -z "$ac_c_werror_flag" ||
33424 test ! -s conftest.err
33425 } && test -s conftest
$ac_exeext &&
33426 $as_test_x conftest
$ac_exeext; then
33427 eval "$as_ac_var=yes"
33429 echo "$as_me: failed program was:" >&5
33430 sed 's/^/| /' conftest.
$ac_ext >&5
33432 eval "$as_ac_var=no"
33435 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33436 conftest
$ac_exeext conftest.
$ac_ext
33438 ac_res
=`eval echo '${'$as_ac_var'}'`
33439 { echo "$as_me:$LINENO: result: $ac_res" >&5
33440 echo "${ECHO_T}$ac_res" >&6; }
33441 if test `eval echo '${'$as_ac_var'}'` = yes; then
33442 cat >>confdefs.h
<<_ACEOF
33443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33452 wxUSE_UNIVERSAL
="yes"
33454 if test "$wxUSE_NANOX" = "yes"; then
33455 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33456 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"
33457 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33459 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
33466 if test "$wxUSE_MOTIF" = 1; then
33467 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33468 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33471 for ac_dir
in $SEARCH_INCLUDE /usr
/include
33473 if test -f "$ac_dir/Xm/Xm.h"; then
33474 ac_find_includes
=$ac_dir
33479 if test "$ac_find_includes" != "" ; then
33480 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33481 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33483 if test "x$ac_find_includes" = "x/usr/include"; then
33484 ac_path_to_include
=""
33486 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
33488 if test $result = 0; then
33489 ac_path_to_include
=""
33491 ac_path_to_include
=" -I$ac_find_includes"
33495 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
33497 save_CFLAGS
=$CFLAGS
33498 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33500 cat >conftest.
$ac_ext <<_ACEOF
33503 cat confdefs.h
>>conftest.
$ac_ext
33504 cat >>conftest.
$ac_ext <<_ACEOF
33505 /* end confdefs.h. */
33514 version = xmUseVersion;
33520 rm -f conftest.
$ac_objext
33521 if { (ac_try
="$ac_compile"
33522 case "(($ac_try" in
33523 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33524 *) ac_try_echo=$ac_try;;
33526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33527 (eval "$ac_compile") 2>conftest.er1
33529 grep -v '^ *+' conftest.er1 >conftest.err
33531 cat conftest.err >&5
33532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33533 (exit $ac_status); } && {
33534 test -z "$ac_c_werror_flag" ||
33535 test ! -s conftest.err
33536 } && test -s conftest.$ac_objext; then
33538 { echo "$as_me:$LINENO: result: found in default search path" >&5
33539 echo "${ECHO_T}found in default search path" >&6; }
33540 COMPILED_X_PROGRAM=1
33543 echo "$as_me: failed program was:" >&5
33544 sed 's/^/| /' conftest.$ac_ext >&5
33547 { echo "$as_me:$LINENO: result: no" >&5
33548 echo "${ECHO_T}no" >&6; }
33549 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33550 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33551 { (exit 1); exit 1; }; }
33556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33558 CFLAGS=$save_CFLAGS
33562 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33563 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33566 for ac_dir in $SEARCH_LIB
33568 for ac_extension in a so sl dylib dll.a; do
33569 if test -f "$ac_dir/libXm.$ac_extension"; then
33570 ac_find_libraries=$ac_dir
33577 if test "x$ac_find_libraries" != "x" ; then
33578 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33579 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33582 if test "$ac_find_libraries" = "default location"; then
33585 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33587 if test $result = 0; then
33590 ac_path_to_link=" -L$ac_find_libraries"
33594 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33596 save_CFLAGS=$CFLAGS
33597 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33599 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33601 cat >conftest.$ac_ext <<_ACEOF
33604 cat confdefs.h >>conftest.$ac_ext
33605 cat >>conftest.$ac_ext <<_ACEOF
33606 /* end confdefs.h. */
33615 version = xmUseVersion;
33621 rm -f conftest.$ac_objext conftest$ac_exeext
33622 if { (ac_try="$ac_link"
33623 case "(($ac_try" in
33624 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33625 *) ac_try_echo
=$ac_try;;
33627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33628 (eval "$ac_link") 2>conftest.er1
33630 grep -v '^ *+' conftest.er1
>conftest.err
33632 cat conftest.err
>&5
33633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33634 (exit $ac_status); } && {
33635 test -z "$ac_c_werror_flag" ||
33636 test ! -s conftest.err
33637 } && test -s conftest
$ac_exeext &&
33638 $as_test_x conftest
$ac_exeext; then
33640 { echo "$as_me:$LINENO: result: found in default search path" >&5
33641 echo "${ECHO_T}found in default search path" >&6; }
33642 COMPILED_X_PROGRAM
=1
33645 echo "$as_me: failed program was:" >&5
33646 sed 's/^/| /' conftest.
$ac_ext >&5
33649 { echo "$as_me:$LINENO: result: no" >&5
33650 echo "${ECHO_T}no" >&6; }
33651 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33652 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33653 { (exit 1); exit 1; }; }
33658 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33659 conftest
$ac_exeext conftest.
$ac_ext
33661 CFLAGS
=$save_CFLAGS
33665 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33666 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33670 for libp
in "" " -lXp"; do
33671 if test "$libs_found" = 0; then
33672 for libsm_ice
in "" " -lSM -lICE"; do
33673 if test "$libs_found" = 0; then
33675 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33676 save_CFLAGS
=$CFLAGS
33677 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33679 cat >conftest.
$ac_ext <<_ACEOF
33682 cat confdefs.h
>>conftest.
$ac_ext
33683 cat >>conftest.
$ac_ext <<_ACEOF
33684 /* end confdefs.h. */
33687 #include <Xm/List.h>
33693 XmString string = NULL;
33696 XmListAddItem(w, string, position);
33702 rm -f conftest.
$ac_objext conftest
$ac_exeext
33703 if { (ac_try
="$ac_link"
33704 case "(($ac_try" in
33705 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33706 *) ac_try_echo=$ac_try;;
33708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33709 (eval "$ac_link") 2>conftest.er1
33711 grep -v '^ *+' conftest.er1 >conftest.err
33713 cat conftest.err >&5
33714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33715 (exit $ac_status); } && {
33716 test -z "$ac_c_werror_flag" ||
33717 test ! -s conftest.err
33718 } && test -s conftest$ac_exeext &&
33719 $as_test_x conftest$ac_exeext; then
33722 libsm_ice_link="$libsm_ice"
33723 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33724 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33728 echo "$as_me: failed program was:" >&5
33729 sed 's/^/| /' conftest.$ac_ext >&5
33735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33736 conftest$ac_exeext conftest.$ac_ext
33739 CFLAGS=$save_CFLAGS
33745 if test "$libs_found" = 0; then
33746 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33747 echo "${ECHO_T}can't find the right libraries" >&6; }
33748 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33749 echo "$as_me: error: can't link a simple motif program" >&2;}
33750 { (exit 1); exit 1; }; }
33753 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33754 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33755 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33756 echo $ECHO_N "(cached) $ECHO_C" >&6
33758 ac_check_lib_save_LIBS=$LIBS
33760 cat >conftest.$ac_ext <<_ACEOF
33763 cat confdefs.h >>conftest.$ac_ext
33764 cat >>conftest.$ac_ext <<_ACEOF
33765 /* end confdefs.h. */
33767 /* Override any GCC internal prototype to avoid an error.
33768 Use char because int might match the return type of a GCC
33769 builtin and then its argument prototype would still apply. */
33773 char SgCreateList ();
33777 return SgCreateList ();
33782 rm -f conftest.$ac_objext conftest$ac_exeext
33783 if { (ac_try="$ac_link"
33784 case "(($ac_try" in
33785 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33786 *) ac_try_echo
=$ac_try;;
33788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33789 (eval "$ac_link") 2>conftest.er1
33791 grep -v '^ *+' conftest.er1
>conftest.err
33793 cat conftest.err
>&5
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); } && {
33796 test -z "$ac_c_werror_flag" ||
33797 test ! -s conftest.err
33798 } && test -s conftest
$ac_exeext &&
33799 $as_test_x conftest
$ac_exeext; then
33800 ac_cv_lib_Sgm_SgCreateList
=yes
33802 echo "$as_me: failed program was:" >&5
33803 sed 's/^/| /' conftest.
$ac_ext >&5
33805 ac_cv_lib_Sgm_SgCreateList
=no
33808 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33809 conftest
$ac_exeext conftest.
$ac_ext
33810 LIBS
=$ac_check_lib_save_LIBS
33812 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33813 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33814 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33815 libsgm_link
=" -lSgm"
33819 save_CFLAGS
=$CFLAGS
33820 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33822 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33823 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33824 if test "${wx_cv_lib_motif2+set}" = set; then
33825 echo $ECHO_N "(cached) $ECHO_C" >&6
33827 cat >conftest.
$ac_ext <<_ACEOF
33830 cat confdefs.h
>>conftest.
$ac_ext
33831 cat >>conftest.
$ac_ext <<_ACEOF
33832 /* end confdefs.h. */
33840 #if XmVersion < 2000
33848 rm -f conftest.
$ac_objext
33849 if { (ac_try
="$ac_compile"
33850 case "(($ac_try" in
33851 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33852 *) ac_try_echo=$ac_try;;
33854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33855 (eval "$ac_compile") 2>conftest.er1
33857 grep -v '^ *+' conftest.er1 >conftest.err
33859 cat conftest.err >&5
33860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33861 (exit $ac_status); } && {
33862 test -z "$ac_c_werror_flag" ||
33863 test ! -s conftest.err
33864 } && test -s conftest.$ac_objext; then
33865 wx_cv_lib_motif2="yes"
33867 echo "$as_me: failed program was:" >&5
33868 sed 's/^/| /' conftest.$ac_ext >&5
33870 wx_cv_lib_motif2="no"
33873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33875 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33876 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33877 if test "$wx_cv_lib_motif2" = "yes"; then
33878 cat >>confdefs.h <<\_ACEOF
33879 #define __WXMOTIF20__ 1
33883 cat >>confdefs.h <<\_ACEOF
33884 #define __WXMOTIF20__ 0
33889 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33890 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33891 if test "${wx_cv_lib_lesstif+set}" = set; then
33892 echo $ECHO_N "(cached) $ECHO_C" >&6
33894 cat >conftest.$ac_ext <<_ACEOF
33897 cat confdefs.h >>conftest.$ac_ext
33898 cat >>conftest.$ac_ext <<_ACEOF
33899 /* end confdefs.h. */
33907 #if !defined(LesstifVersion) || LesstifVersion <= 0
33915 rm -f conftest.$ac_objext
33916 if { (ac_try="$ac_compile"
33917 case "(($ac_try" in
33918 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33919 *) ac_try_echo
=$ac_try;;
33921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33922 (eval "$ac_compile") 2>conftest.er1
33924 grep -v '^ *+' conftest.er1
>conftest.err
33926 cat conftest.err
>&5
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); } && {
33929 test -z "$ac_c_werror_flag" ||
33930 test ! -s conftest.err
33931 } && test -s conftest.
$ac_objext; then
33932 wx_cv_lib_lesstif
="yes"
33934 echo "$as_me: failed program was:" >&5
33935 sed 's/^/| /' conftest.
$ac_ext >&5
33937 wx_cv_lib_lesstif
="no"
33940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33943 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33944 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33945 if test "$wx_cv_lib_lesstif" = "yes"; then
33946 cat >>confdefs.h
<<\_ACEOF
33947 #define __WXLESSTIF__ 1
33951 cat >>confdefs.h
<<\_ACEOF
33952 #define __WXLESSTIF__ 0
33957 CFLAGS
=$save_CFLAGS
33959 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33964 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33965 if test "$wxUSE_LIBXPM" = "sys"; then
33966 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33967 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33970 for ac_dir
in $SEARCH_LIB
33972 for ac_extension
in a so sl dylib dll.a
; do
33973 if test -f "$ac_dir/libXpm.$ac_extension"; then
33974 ac_find_libraries
=$ac_dir
33980 if test "$ac_find_libraries" != "" ; then
33982 if test "$ac_find_libraries" = "default location"; then
33985 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33987 if test $result = 0; then
33990 ac_path_to_link
=" -L$ac_find_libraries"
33994 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33995 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33996 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33998 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33999 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34000 if test "${wx_cv_x11_xpm_h+set}" = set; then
34001 echo $ECHO_N "(cached) $ECHO_C" >&6
34004 save_CFLAGS
=$CFLAGS
34005 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34007 cat >conftest.
$ac_ext <<_ACEOF
34010 cat confdefs.h
>>conftest.
$ac_ext
34011 cat >>conftest.
$ac_ext <<_ACEOF
34012 /* end confdefs.h. */
34014 #include <X11/xpm.h>
34021 version = XpmLibraryVersion();
34027 rm -f conftest.
$ac_objext
34028 if { (ac_try
="$ac_compile"
34029 case "(($ac_try" in
34030 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34031 *) ac_try_echo=$ac_try;;
34033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34034 (eval "$ac_compile") 2>conftest.er1
34036 grep -v '^ *+' conftest.er1 >conftest.err
34038 cat conftest.err >&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); } && {
34041 test -z "$ac_c_werror_flag" ||
34042 test ! -s conftest.err
34043 } && test -s conftest.$ac_objext; then
34044 wx_cv_x11_xpm_h=yes
34046 echo "$as_me: failed program was:" >&5
34047 sed 's/^/| /' conftest.$ac_ext >&5
34053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34055 CFLAGS=$save_CFLAGS
34059 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34060 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34062 if test $wx_cv_x11_xpm_h = "yes"; then
34063 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34064 cat >>confdefs.h <<\_ACEOF
34065 #define wxHAVE_LIB_XPM 1
34069 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34070 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34076 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34077 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34078 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34079 echo $ECHO_N "(cached) $ECHO_C" >&6
34081 ac_check_lib_save_LIBS=$LIBS
34082 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34083 cat >conftest.$ac_ext <<_ACEOF
34086 cat confdefs.h >>conftest.$ac_ext
34087 cat >>conftest.$ac_ext <<_ACEOF
34088 /* end confdefs.h. */
34090 /* Override any GCC internal prototype to avoid an error.
34091 Use char because int might match the return type of a GCC
34092 builtin and then its argument prototype would still apply. */
34096 char XShapeQueryExtension ();
34100 return XShapeQueryExtension ();
34105 rm -f conftest.$ac_objext conftest$ac_exeext
34106 if { (ac_try="$ac_link"
34107 case "(($ac_try" in
34108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34109 *) ac_try_echo
=$ac_try;;
34111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34112 (eval "$ac_link") 2>conftest.er1
34114 grep -v '^ *+' conftest.er1
>conftest.err
34116 cat conftest.err
>&5
34117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34118 (exit $ac_status); } && {
34119 test -z "$ac_c_werror_flag" ||
34120 test ! -s conftest.err
34121 } && test -s conftest
$ac_exeext &&
34122 $as_test_x conftest
$ac_exeext; then
34123 ac_cv_lib_Xext_XShapeQueryExtension
=yes
34125 echo "$as_me: failed program was:" >&5
34126 sed 's/^/| /' conftest.
$ac_ext >&5
34128 ac_cv_lib_Xext_XShapeQueryExtension
=no
34131 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34132 conftest
$ac_exeext conftest.
$ac_ext
34133 LIBS
=$ac_check_lib_save_LIBS
34135 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34136 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34137 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34139 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
34145 if test "$wxHAVE_XEXT_LIB" = 1; then
34146 save_CFLAGS
="$CFLAGS"
34147 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34149 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34150 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34151 cat >conftest.
$ac_ext <<_ACEOF
34154 cat confdefs.h
>>conftest.
$ac_ext
34155 cat >>conftest.
$ac_ext <<_ACEOF
34156 /* end confdefs.h. */
34158 #include <X11/Xlib.h>
34159 #include <X11/extensions/shape.h>
34165 int dummy1, dummy2;
34166 XShapeQueryExtension((Display*)NULL,
34167 (int*)NULL, (int*)NULL);
34173 rm -f conftest.
$ac_objext
34174 if { (ac_try
="$ac_compile"
34175 case "(($ac_try" in
34176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34177 *) ac_try_echo=$ac_try;;
34179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34180 (eval "$ac_compile") 2>conftest.er1
34182 grep -v '^ *+' conftest.er1 >conftest.err
34184 cat conftest.err >&5
34185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34186 (exit $ac_status); } && {
34187 test -z "$ac_c_werror_flag" ||
34188 test ! -s conftest.err
34189 } && test -s conftest.$ac_objext; then
34191 cat >>confdefs.h <<\_ACEOF
34192 #define HAVE_XSHAPE 1
34195 { echo "$as_me:$LINENO: result: found" >&5
34196 echo "${ECHO_T}found" >&6; }
34199 echo "$as_me: failed program was:" >&5
34200 sed 's/^/| /' conftest.$ac_ext >&5
34203 { echo "$as_me:$LINENO: result: not found" >&5
34204 echo "${ECHO_T}not found" >&6; }
34208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34209 CFLAGS="$save_CFLAGS"
34214 if test "$wxUSE_OSX_CARBON" = 1; then
34215 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34216 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34217 if test "$GCC" = yes; then
34218 { echo "$as_me:$LINENO: result: gcc" >&5
34219 echo "${ECHO_T}gcc" >&6; }
34220 CPPFLAGS_PASCAL="-fpascal-strings"
34221 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34222 { echo "$as_me:$LINENO: result: xlc" >&5
34223 echo "${ECHO_T}xlc" >&6; }
34224 CPPFLAGS_PASCAL="-qmacpstr"
34226 { echo "$as_me:$LINENO: result: none" >&5
34227 echo "${ECHO_T}none" >&6; }
34230 if test "x$wxUSE_UNIX" = "xyes"; then
34231 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34233 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34237 GUIDIST=OSX_CARBON_DIST
34238 WXBASEPORT="_carbon"
34240 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34243 if test "$wxUSE_OSX_COCOA" = 1; then
34245 GUIDIST=OSX_COCOA_DIST
34247 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34250 if test "$wxUSE_OSX_IPHONE" = 1; then
34254 if test "$wxUSE_OLD_COCOA" = 1; then
34259 if test "$wxUSE_PM" = 1; then
34262 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34263 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34264 if test "${wx_cv_spbcdata+set}" = set; then
34265 echo $ECHO_N "(cached) $ECHO_C" >&6
34268 cat >conftest.$ac_ext <<_ACEOF
34271 cat confdefs.h >>conftest.$ac_ext
34272 cat >>conftest.$ac_ext <<_ACEOF
34273 /* end confdefs.h. */
34288 rm -f conftest.$ac_objext
34289 if { (ac_try="$ac_compile"
34290 case "(($ac_try" in
34291 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34292 *) ac_try_echo
=$ac_try;;
34294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34295 (eval "$ac_compile") 2>conftest.er1
34297 grep -v '^ *+' conftest.er1
>conftest.err
34299 cat conftest.err
>&5
34300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34301 (exit $ac_status); } && {
34302 test -z "$ac_c_werror_flag" ||
34303 test ! -s conftest.err
34304 } && test -s conftest.
$ac_objext; then
34307 echo "$as_me: failed program was:" >&5
34308 sed 's/^/| /' conftest.
$ac_ext >&5
34314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34318 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34319 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34321 if test $wx_cv_spbcdata = "yes"; then
34322 cat >>confdefs.h
<<\_ACEOF
34323 #define HAVE_SPBCDATA 1
34329 if test "$TOOLKIT" = "PM" ; then
34332 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34335 if test "$wxUSE_UNIVERSAL" = "yes"; then
34336 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34340 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34341 DISTDIR
="wx\$(TOOLKIT)"
34347 if test "$USE_WIN32" = 1 ; then
34351 GUIDIST
="BASE_DIST"
34357 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34358 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34359 wxUSE_UNICODE_UTF8
=yes
34360 elif test "$USE_OS2" = 1 ; then
34361 wxUSE_UNICODE_UTF8
=yes
34363 wxUSE_UNICODE_UTF8
=no
34368 if test "$wxUSE_GUI" = "yes"; then
34369 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34371 for ac_header
in X
11/Xlib.h
34373 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34374 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34376 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34377 echo $ECHO_N "(cached) $ECHO_C" >&6
34379 cat >conftest.
$ac_ext <<_ACEOF
34382 cat confdefs.h
>>conftest.
$ac_ext
34383 cat >>conftest.
$ac_ext <<_ACEOF
34384 /* end confdefs.h. */
34387 #include <$ac_header>
34389 rm -f conftest.
$ac_objext
34390 if { (ac_try
="$ac_compile"
34391 case "(($ac_try" in
34392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34393 *) ac_try_echo=$ac_try;;
34395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34396 (eval "$ac_compile") 2>conftest.er1
34398 grep -v '^ *+' conftest.er1 >conftest.err
34400 cat conftest.err >&5
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); } && {
34403 test -z "$ac_c_werror_flag" ||
34404 test ! -s conftest.err
34405 } && test -s conftest.$ac_objext; then
34406 eval "$as_ac_Header=yes"
34408 echo "$as_me: failed program was:" >&5
34409 sed 's/^/| /' conftest.$ac_ext >&5
34411 eval "$as_ac_Header=no"
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34416 ac_res=`eval echo '${'$as_ac_Header'}'`
34417 { echo "$as_me:$LINENO: result: $ac_res" >&5
34418 echo "${ECHO_T}$ac_res" >&6; }
34419 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34420 cat >>confdefs.h <<_ACEOF
34421 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34429 for ac_header in X11/XKBlib.h
34431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34432 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34434 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34435 echo $ECHO_N "(cached) $ECHO_C" >&6
34437 cat >conftest.$ac_ext <<_ACEOF
34440 cat confdefs.h >>conftest.$ac_ext
34441 cat >>conftest.$ac_ext <<_ACEOF
34442 /* end confdefs.h. */
34444 #if HAVE_X11_XLIB_H
34445 #include <X11/Xlib.h>
34449 #include <$ac_header>
34451 rm -f conftest.$ac_objext
34452 if { (ac_try="$ac_compile"
34453 case "(($ac_try" in
34454 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34455 *) ac_try_echo
=$ac_try;;
34457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34458 (eval "$ac_compile") 2>conftest.er1
34460 grep -v '^ *+' conftest.er1
>conftest.err
34462 cat conftest.err
>&5
34463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34464 (exit $ac_status); } && {
34465 test -z "$ac_c_werror_flag" ||
34466 test ! -s conftest.err
34467 } && test -s conftest.
$ac_objext; then
34468 eval "$as_ac_Header=yes"
34470 echo "$as_me: failed program was:" >&5
34471 sed 's/^/| /' conftest.
$ac_ext >&5
34473 eval "$as_ac_Header=no"
34476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34478 ac_res
=`eval echo '${'$as_ac_Header'}'`
34479 { echo "$as_me:$LINENO: result: $ac_res" >&5
34480 echo "${ECHO_T}$ac_res" >&6; }
34481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34482 cat >>confdefs.h
<<_ACEOF
34483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34496 if test "$wxUSE_DISPLAY" = "yes"; then
34497 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34501 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
34504 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34505 if test -n "$ac_tool_prefix"; then
34506 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34507 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
34508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34510 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34511 echo $ECHO_N "(cached) $ECHO_C" >&6
34513 case $PKG_CONFIG in
34515 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34519 for as_dir
in $PATH
34522 test -z "$as_dir" && as_dir
=.
34523 for ac_exec_ext
in '' $ac_executable_extensions; do
34524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34525 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34536 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34537 if test -n "$PKG_CONFIG"; then
34538 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34539 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34541 { echo "$as_me:$LINENO: result: no" >&5
34542 echo "${ECHO_T}no" >&6; }
34547 if test -z "$ac_cv_path_PKG_CONFIG"; then
34548 ac_pt_PKG_CONFIG
=$PKG_CONFIG
34549 # Extract the first word of "pkg-config", so it can be a program name with args.
34550 set dummy pkg
-config; ac_word
=$2
34551 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34553 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34554 echo $ECHO_N "(cached) $ECHO_C" >&6
34556 case $ac_pt_PKG_CONFIG in
34558 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34562 for as_dir
in $PATH
34565 test -z "$as_dir" && as_dir
=.
34566 for ac_exec_ext
in '' $ac_executable_extensions; do
34567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34568 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34579 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
34580 if test -n "$ac_pt_PKG_CONFIG"; then
34581 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34582 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34584 { echo "$as_me:$LINENO: result: no" >&5
34585 echo "${ECHO_T}no" >&6; }
34588 if test "x$ac_pt_PKG_CONFIG" = x
; then
34591 case $cross_compiling:$ac_tool_warned in
34593 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34594 whose name does not start with the host triplet. If you think this
34595 configuration is useful to you, please write to autoconf@gnu.org." >&5
34596 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34597 whose name does not start with the host triplet. If you think this
34598 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34599 ac_tool_warned
=yes ;;
34601 PKG_CONFIG
=$ac_pt_PKG_CONFIG
34604 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
34608 if test -n "$PKG_CONFIG"; then
34609 _pkg_min_version
=0.9.0
34610 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34611 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34612 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34613 { echo "$as_me:$LINENO: result: yes" >&5
34614 echo "${ECHO_T}yes" >&6; }
34616 { echo "$as_me:$LINENO: result: no" >&5
34617 echo "${ECHO_T}no" >&6; }
34624 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34625 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34627 if test -n "$PKG_CONFIG"; then
34628 if test -n "$Xinerama_CFLAGS"; then
34629 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
34631 if test -n "$PKG_CONFIG" && \
34632 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34633 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34636 (exit $ac_status); }; then
34637 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
34645 if test -n "$PKG_CONFIG"; then
34646 if test -n "$Xinerama_LIBS"; then
34647 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
34649 if test -n "$PKG_CONFIG" && \
34650 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34651 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34654 (exit $ac_status); }; then
34655 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
34666 if test $pkg_failed = yes; then
34668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34669 _pkg_short_errors_supported
=yes
34671 _pkg_short_errors_supported
=no
34673 if test $_pkg_short_errors_supported = yes; then
34674 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34676 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34678 # Put the nasty error message in config.log where it belongs
34679 echo "$Xinerama_PKG_ERRORS" >&5
34682 if test "x$ac_find_libraries" = "x"; then
34683 if test "xXineramaQueryScreens" != "x"; then
34684 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34685 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34686 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34687 echo $ECHO_N "(cached) $ECHO_C" >&6
34689 ac_check_lib_save_LIBS
=$LIBS
34690 LIBS
="-lXinerama $LIBS"
34691 cat >conftest.
$ac_ext <<_ACEOF
34694 cat confdefs.h
>>conftest.
$ac_ext
34695 cat >>conftest.
$ac_ext <<_ACEOF
34696 /* end confdefs.h. */
34698 /* Override any GCC internal prototype to avoid an error.
34699 Use char because int might match the return type of a GCC
34700 builtin and then its argument prototype would still apply. */
34704 char XineramaQueryScreens ();
34708 return XineramaQueryScreens ();
34713 rm -f conftest.
$ac_objext conftest
$ac_exeext
34714 if { (ac_try
="$ac_link"
34715 case "(($ac_try" in
34716 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34717 *) ac_try_echo=$ac_try;;
34719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34720 (eval "$ac_link") 2>conftest.er1
34722 grep -v '^ *+' conftest.er1 >conftest.err
34724 cat conftest.err >&5
34725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34726 (exit $ac_status); } && {
34727 test -z "$ac_c_werror_flag" ||
34728 test ! -s conftest.err
34729 } && test -s conftest$ac_exeext &&
34730 $as_test_x conftest$ac_exeext; then
34731 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34733 echo "$as_me: failed program was:" >&5
34734 sed 's/^/| /' conftest.$ac_ext >&5
34736 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34740 conftest$ac_exeext conftest.$ac_ext
34741 LIBS=$ac_check_lib_save_LIBS
34743 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34744 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34745 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34746 ac_find_libraries="std"
34752 if test "x$ac_find_libraries" = "x"; then
34753 { echo "$as_me:$LINENO: checking elsewhere" >&5
34754 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34757 for ac_dir in $SEARCH_LIB
34759 for ac_extension in a so sl dylib dll.a; do
34760 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34761 ac_find_libraries=$ac_dir
34767 if test "x$ac_find_libraries" != "x"; then
34768 { echo "$as_me:$LINENO: result: yes" >&5
34769 echo "${ECHO_T}yes" >&6; }
34771 { echo "$as_me:$LINENO: result: no" >&5
34772 echo "${ECHO_T}no" >&6; }
34776 elif test $pkg_failed = untried; then
34778 if test "x$ac_find_libraries" = "x"; then
34779 if test "xXineramaQueryScreens" != "x"; then
34780 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34781 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34782 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34783 echo $ECHO_N "(cached) $ECHO_C" >&6
34785 ac_check_lib_save_LIBS=$LIBS
34786 LIBS="-lXinerama $LIBS"
34787 cat >conftest.$ac_ext <<_ACEOF
34790 cat confdefs.h >>conftest.$ac_ext
34791 cat >>conftest.$ac_ext <<_ACEOF
34792 /* end confdefs.h. */
34794 /* Override any GCC internal prototype to avoid an error.
34795 Use char because int might match the return type of a GCC
34796 builtin and then its argument prototype would still apply. */
34800 char XineramaQueryScreens ();
34804 return XineramaQueryScreens ();
34809 rm -f conftest.$ac_objext conftest$ac_exeext
34810 if { (ac_try="$ac_link"
34811 case "(($ac_try" in
34812 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34813 *) ac_try_echo
=$ac_try;;
34815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34816 (eval "$ac_link") 2>conftest.er1
34818 grep -v '^ *+' conftest.er1
>conftest.err
34820 cat conftest.err
>&5
34821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822 (exit $ac_status); } && {
34823 test -z "$ac_c_werror_flag" ||
34824 test ! -s conftest.err
34825 } && test -s conftest
$ac_exeext &&
34826 $as_test_x conftest
$ac_exeext; then
34827 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
34829 echo "$as_me: failed program was:" >&5
34830 sed 's/^/| /' conftest.
$ac_ext >&5
34832 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
34835 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34836 conftest
$ac_exeext conftest.
$ac_ext
34837 LIBS
=$ac_check_lib_save_LIBS
34839 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34840 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34841 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34842 ac_find_libraries
="std"
34848 if test "x$ac_find_libraries" = "x"; then
34849 { echo "$as_me:$LINENO: checking elsewhere" >&5
34850 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34853 for ac_dir
in $SEARCH_LIB
34855 for ac_extension
in a so sl dylib dll.a
; do
34856 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34857 ac_find_libraries
=$ac_dir
34863 if test "x$ac_find_libraries" != "x"; then
34864 { echo "$as_me:$LINENO: result: yes" >&5
34865 echo "${ECHO_T}yes" >&6; }
34867 { echo "$as_me:$LINENO: result: no" >&5
34868 echo "${ECHO_T}no" >&6; }
34873 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
34874 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
34875 { echo "$as_me:$LINENO: result: yes" >&5
34876 echo "${ECHO_T}yes" >&6; }
34878 ac_find_libraries
="std"
34880 eval ac_find_cflags
=\
$Xinerama_CFLAGS
34881 eval fl_libs
=\
$Xinerama_LIBS
34883 for fl_path
in $fl_libs
34885 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
34886 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
34892 if test "$ac_find_libraries" != "" ; then
34893 if test "$ac_find_libraries" != "std" ; then
34895 if test "$ac_find_libraries" = "default location"; then
34898 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34900 if test $result = 0; then
34903 ac_path_to_link
=" -L$ac_find_libraries"
34907 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34908 LDFLAGS
="$LDFLAGS $ac_path_to_link"
34912 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
34914 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34915 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34918 elif test "$wxUSE_MSW" = 1; then
34919 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34920 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34921 if test "${ac_cv_header_ddraw_h+set}" = set; then
34922 echo $ECHO_N "(cached) $ECHO_C" >&6
34924 cat >conftest.
$ac_ext <<_ACEOF
34927 cat confdefs.h
>>conftest.
$ac_ext
34928 cat >>conftest.
$ac_ext <<_ACEOF
34929 /* end confdefs.h. */
34930 #include <windows.h>
34934 rm -f conftest.
$ac_objext
34935 if { (ac_try
="$ac_compile"
34936 case "(($ac_try" in
34937 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34938 *) ac_try_echo=$ac_try;;
34940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34941 (eval "$ac_compile") 2>conftest.er1
34943 grep -v '^ *+' conftest.er1 >conftest.err
34945 cat conftest.err >&5
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); } && {
34948 test -z "$ac_c_werror_flag" ||
34949 test ! -s conftest.err
34950 } && test -s conftest.$ac_objext; then
34951 ac_cv_header_ddraw_h=yes
34953 echo "$as_me: failed program was:" >&5
34954 sed 's/^/| /' conftest.$ac_ext >&5
34956 ac_cv_header_ddraw_h=no
34959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34961 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34962 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34968 if test "$wxUSE_DISPLAY" = "yes"; then
34969 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34973 fl_pkgname=`echo "Xxf86vm" | tr [:upper
:] [:lower
:]`
34976 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34977 if test -n "$ac_tool_prefix"; then
34978 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34979 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34980 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34982 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34983 echo $ECHO_N "(cached) $ECHO_C" >&6
34985 case $PKG_CONFIG in
34987 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34991 for as_dir in $PATH
34994 test -z "$as_dir" && as_dir=.
34995 for ac_exec_ext in '' $ac_executable_extensions; do
34996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34997 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35008 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35009 if test -n "$PKG_CONFIG"; then
35010 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35011 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35013 { echo "$as_me:$LINENO: result: no" >&5
35014 echo "${ECHO_T}no" >&6; }
35019 if test -z "$ac_cv_path_PKG_CONFIG"; then
35020 ac_pt_PKG_CONFIG=$PKG_CONFIG
35021 # Extract the first word of "pkg-config", so it can be a program name with args.
35022 set dummy pkg-config; ac_word=$2
35023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35025 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35026 echo $ECHO_N "(cached) $ECHO_C" >&6
35028 case $ac_pt_PKG_CONFIG in
35030 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35034 for as_dir in $PATH
35037 test -z "$as_dir" && as_dir=.
35038 for ac_exec_ext in '' $ac_executable_extensions; do
35039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35040 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35051 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35052 if test -n "$ac_pt_PKG_CONFIG"; then
35053 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35054 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35056 { echo "$as_me:$LINENO: result: no" >&5
35057 echo "${ECHO_T}no" >&6; }
35060 if test "x$ac_pt_PKG_CONFIG" = x; then
35063 case $cross_compiling:$ac_tool_warned in
35065 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35066 whose name does not start with the host triplet. If you think this
35067 configuration is useful to you, please write to autoconf@gnu.org." >&5
35068 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35069 whose name does not start with the host triplet. If you think this
35070 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35071 ac_tool_warned=yes ;;
35073 PKG_CONFIG=$ac_pt_PKG_CONFIG
35076 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35080 if test -n "$PKG_CONFIG"; then
35081 _pkg_min_version=0.9.0
35082 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35083 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35084 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35085 { echo "$as_me:$LINENO: result: yes" >&5
35086 echo "${ECHO_T}yes" >&6; }
35088 { echo "$as_me:$LINENO: result: no" >&5
35089 echo "${ECHO_T}no" >&6; }
35096 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35097 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35099 if test -n "$PKG_CONFIG"; then
35100 if test -n "$Xxf86vm_CFLAGS"; then
35101 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
35103 if test -n "$PKG_CONFIG" && \
35104 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35105 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35108 (exit $ac_status); }; then
35109 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev
/null
`
35117 if test -n "$PKG_CONFIG"; then
35118 if test -n "$Xxf86vm_LIBS"; then
35119 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
35121 if test -n "$PKG_CONFIG" && \
35122 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35123 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); }; then
35127 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev
/null
`
35138 if test $pkg_failed = yes; then
35140 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35141 _pkg_short_errors_supported=yes
35143 _pkg_short_errors_supported=no
35145 if test $_pkg_short_errors_supported = yes; then
35146 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35148 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35150 # Put the nasty error message in config.log where it belongs
35151 echo "$Xxf86vm_PKG_ERRORS" >&5
35154 if test "x$ac_find_libraries" = "x"; then
35155 if test "xXF86VidModeQueryExtension" != "x"; then
35156 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35157 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35158 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35159 echo $ECHO_N "(cached) $ECHO_C" >&6
35161 ac_check_lib_save_LIBS=$LIBS
35162 LIBS="-lXxf86vm $LIBS"
35163 cat >conftest.$ac_ext <<_ACEOF
35166 cat confdefs.h >>conftest.$ac_ext
35167 cat >>conftest.$ac_ext <<_ACEOF
35168 /* end confdefs.h. */
35170 /* Override any GCC internal prototype to avoid an error.
35171 Use char because int might match the return type of a GCC
35172 builtin and then its argument prototype would still apply. */
35176 char XF86VidModeQueryExtension ();
35180 return XF86VidModeQueryExtension ();
35185 rm -f conftest.$ac_objext conftest$ac_exeext
35186 if { (ac_try="$ac_link"
35187 case "(($ac_try" in
35188 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35189 *) ac_try_echo
=$ac_try;;
35191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35192 (eval "$ac_link") 2>conftest.er1
35194 grep -v '^ *+' conftest.er1
>conftest.err
35196 cat conftest.err
>&5
35197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35198 (exit $ac_status); } && {
35199 test -z "$ac_c_werror_flag" ||
35200 test ! -s conftest.err
35201 } && test -s conftest
$ac_exeext &&
35202 $as_test_x conftest
$ac_exeext; then
35203 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
35205 echo "$as_me: failed program was:" >&5
35206 sed 's/^/| /' conftest.
$ac_ext >&5
35208 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
35211 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35212 conftest
$ac_exeext conftest.
$ac_ext
35213 LIBS
=$ac_check_lib_save_LIBS
35215 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35216 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35217 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35218 ac_find_libraries
="std"
35224 if test "x$ac_find_libraries" = "x"; then
35225 { echo "$as_me:$LINENO: checking elsewhere" >&5
35226 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35229 for ac_dir
in $SEARCH_LIB
35231 for ac_extension
in a so sl dylib dll.a
; do
35232 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35233 ac_find_libraries
=$ac_dir
35239 if test "x$ac_find_libraries" != "x"; then
35240 { echo "$as_me:$LINENO: result: yes" >&5
35241 echo "${ECHO_T}yes" >&6; }
35243 { echo "$as_me:$LINENO: result: no" >&5
35244 echo "${ECHO_T}no" >&6; }
35248 elif test $pkg_failed = untried
; then
35250 if test "x$ac_find_libraries" = "x"; then
35251 if test "xXF86VidModeQueryExtension" != "x"; then
35252 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35253 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35254 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35255 echo $ECHO_N "(cached) $ECHO_C" >&6
35257 ac_check_lib_save_LIBS
=$LIBS
35258 LIBS
="-lXxf86vm $LIBS"
35259 cat >conftest.
$ac_ext <<_ACEOF
35262 cat confdefs.h
>>conftest.
$ac_ext
35263 cat >>conftest.
$ac_ext <<_ACEOF
35264 /* end confdefs.h. */
35266 /* Override any GCC internal prototype to avoid an error.
35267 Use char because int might match the return type of a GCC
35268 builtin and then its argument prototype would still apply. */
35272 char XF86VidModeQueryExtension ();
35276 return XF86VidModeQueryExtension ();
35281 rm -f conftest.
$ac_objext conftest
$ac_exeext
35282 if { (ac_try
="$ac_link"
35283 case "(($ac_try" in
35284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35285 *) ac_try_echo=$ac_try;;
35287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35288 (eval "$ac_link") 2>conftest.er1
35290 grep -v '^ *+' conftest.er1 >conftest.err
35292 cat conftest.err >&5
35293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35294 (exit $ac_status); } && {
35295 test -z "$ac_c_werror_flag" ||
35296 test ! -s conftest.err
35297 } && test -s conftest$ac_exeext &&
35298 $as_test_x conftest$ac_exeext; then
35299 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35301 echo "$as_me: failed program was:" >&5
35302 sed 's/^/| /' conftest.$ac_ext >&5
35304 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35308 conftest$ac_exeext conftest.$ac_ext
35309 LIBS=$ac_check_lib_save_LIBS
35311 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35312 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35313 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35314 ac_find_libraries="std"
35320 if test "x$ac_find_libraries" = "x"; then
35321 { echo "$as_me:$LINENO: checking elsewhere" >&5
35322 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35325 for ac_dir in $SEARCH_LIB
35327 for ac_extension in a so sl dylib dll.a; do
35328 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35329 ac_find_libraries=$ac_dir
35335 if test "x$ac_find_libraries" != "x"; then
35336 { echo "$as_me:$LINENO: result: yes" >&5
35337 echo "${ECHO_T}yes" >&6; }
35339 { echo "$as_me:$LINENO: result: no" >&5
35340 echo "${ECHO_T}no" >&6; }
35345 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
35346 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
35347 { echo "$as_me:$LINENO: result: yes" >&5
35348 echo "${ECHO_T}yes" >&6; }
35350 ac_find_libraries="std"
35352 eval ac_find_cflags=\$Xxf86vm_CFLAGS
35353 eval fl_libs=\$Xxf86vm_LIBS
35355 for fl_path in $fl_libs
35357 if test `echo "$fl_path" | cut
-c 1-2` = "-L"; then
35358 ac_find_libraries=`echo "$fl_path" | cut
-c 3-`
35364 if test "$ac_find_libraries" != "" ; then
35366 for ac_header in X11/extensions/xf86vmode.h
35368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35369 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35371 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35372 echo $ECHO_N "(cached) $ECHO_C" >&6
35374 cat >conftest.$ac_ext <<_ACEOF
35377 cat confdefs.h >>conftest.$ac_ext
35378 cat >>conftest.$ac_ext <<_ACEOF
35379 /* end confdefs.h. */
35381 #if HAVE_X11_XLIB_H
35382 #include <X11/Xlib.h>
35386 #include <$ac_header>
35388 rm -f conftest.$ac_objext
35389 if { (ac_try="$ac_compile"
35390 case "(($ac_try" in
35391 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35392 *) ac_try_echo
=$ac_try;;
35394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35395 (eval "$ac_compile") 2>conftest.er1
35397 grep -v '^ *+' conftest.er1
>conftest.err
35399 cat conftest.err
>&5
35400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35401 (exit $ac_status); } && {
35402 test -z "$ac_c_werror_flag" ||
35403 test ! -s conftest.err
35404 } && test -s conftest.
$ac_objext; then
35405 eval "$as_ac_Header=yes"
35407 echo "$as_me: failed program was:" >&5
35408 sed 's/^/| /' conftest.
$ac_ext >&5
35410 eval "$as_ac_Header=no"
35413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35415 ac_res
=`eval echo '${'$as_ac_Header'}'`
35416 { echo "$as_me:$LINENO: result: $ac_res" >&5
35417 echo "${ECHO_T}$ac_res" >&6; }
35418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35419 cat >>confdefs.h
<<_ACEOF
35420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35423 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35433 if test "$wxUSE_DETECT_SM" = "yes"; then
35434 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35438 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
35441 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35442 if test -n "$ac_tool_prefix"; then
35443 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35444 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
35445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35447 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35448 echo $ECHO_N "(cached) $ECHO_C" >&6
35450 case $PKG_CONFIG in
35452 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35456 for as_dir
in $PATH
35459 test -z "$as_dir" && as_dir
=.
35460 for ac_exec_ext
in '' $ac_executable_extensions; do
35461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35462 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35473 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
35474 if test -n "$PKG_CONFIG"; then
35475 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35476 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35478 { echo "$as_me:$LINENO: result: no" >&5
35479 echo "${ECHO_T}no" >&6; }
35484 if test -z "$ac_cv_path_PKG_CONFIG"; then
35485 ac_pt_PKG_CONFIG
=$PKG_CONFIG
35486 # Extract the first word of "pkg-config", so it can be a program name with args.
35487 set dummy pkg
-config; ac_word
=$2
35488 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35490 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35491 echo $ECHO_N "(cached) $ECHO_C" >&6
35493 case $ac_pt_PKG_CONFIG in
35495 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35499 for as_dir
in $PATH
35502 test -z "$as_dir" && as_dir
=.
35503 for ac_exec_ext
in '' $ac_executable_extensions; do
35504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35505 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35516 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
35517 if test -n "$ac_pt_PKG_CONFIG"; then
35518 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35519 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35521 { echo "$as_me:$LINENO: result: no" >&5
35522 echo "${ECHO_T}no" >&6; }
35525 if test "x$ac_pt_PKG_CONFIG" = x
; then
35528 case $cross_compiling:$ac_tool_warned in
35530 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35531 whose name does not start with the host triplet. If you think this
35532 configuration is useful to you, please write to autoconf@gnu.org." >&5
35533 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35534 whose name does not start with the host triplet. If you think this
35535 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35536 ac_tool_warned
=yes ;;
35538 PKG_CONFIG
=$ac_pt_PKG_CONFIG
35541 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
35545 if test -n "$PKG_CONFIG"; then
35546 _pkg_min_version
=0.9.0
35547 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35548 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35549 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35550 { echo "$as_me:$LINENO: result: yes" >&5
35551 echo "${ECHO_T}yes" >&6; }
35553 { echo "$as_me:$LINENO: result: no" >&5
35554 echo "${ECHO_T}no" >&6; }
35561 { echo "$as_me:$LINENO: checking for SM" >&5
35562 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35564 if test -n "$PKG_CONFIG"; then
35565 if test -n "$SM_CFLAGS"; then
35566 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
35568 if test -n "$PKG_CONFIG" && \
35569 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35570 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35573 (exit $ac_status); }; then
35574 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35582 if test -n "$PKG_CONFIG"; then
35583 if test -n "$SM_LIBS"; then
35584 pkg_cv_SM_LIBS
="$SM_LIBS"
35586 if test -n "$PKG_CONFIG" && \
35587 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35588 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35591 (exit $ac_status); }; then
35592 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35603 if test $pkg_failed = yes; then
35605 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35606 _pkg_short_errors_supported
=yes
35608 _pkg_short_errors_supported
=no
35610 if test $_pkg_short_errors_supported = yes; then
35611 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35613 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35615 # Put the nasty error message in config.log where it belongs
35616 echo "$SM_PKG_ERRORS" >&5
35619 if test "x$ac_find_libraries" = "x"; then
35620 if test "xSmcOpenConnection" != "x"; then
35621 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35622 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35623 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35624 echo $ECHO_N "(cached) $ECHO_C" >&6
35626 ac_check_lib_save_LIBS
=$LIBS
35628 cat >conftest.
$ac_ext <<_ACEOF
35631 cat confdefs.h
>>conftest.
$ac_ext
35632 cat >>conftest.
$ac_ext <<_ACEOF
35633 /* end confdefs.h. */
35635 /* Override any GCC internal prototype to avoid an error.
35636 Use char because int might match the return type of a GCC
35637 builtin and then its argument prototype would still apply. */
35641 char SmcOpenConnection ();
35645 return SmcOpenConnection ();
35650 rm -f conftest.
$ac_objext conftest
$ac_exeext
35651 if { (ac_try
="$ac_link"
35652 case "(($ac_try" in
35653 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35654 *) ac_try_echo=$ac_try;;
35656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35657 (eval "$ac_link") 2>conftest.er1
35659 grep -v '^ *+' conftest.er1 >conftest.err
35661 cat conftest.err >&5
35662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35663 (exit $ac_status); } && {
35664 test -z "$ac_c_werror_flag" ||
35665 test ! -s conftest.err
35666 } && test -s conftest$ac_exeext &&
35667 $as_test_x conftest$ac_exeext; then
35668 ac_cv_lib_SM_SmcOpenConnection=yes
35670 echo "$as_me: failed program was:" >&5
35671 sed 's/^/| /' conftest.$ac_ext >&5
35673 ac_cv_lib_SM_SmcOpenConnection=no
35676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35677 conftest$ac_exeext conftest.$ac_ext
35678 LIBS=$ac_check_lib_save_LIBS
35680 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35681 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35682 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35683 ac_find_libraries="std"
35689 if test "x$ac_find_libraries" = "x"; then
35690 { echo "$as_me:$LINENO: checking elsewhere" >&5
35691 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35694 for ac_dir in $SEARCH_LIB
35696 for ac_extension in a so sl dylib dll.a; do
35697 if test -f "$ac_dir/libSM.$ac_extension"; then
35698 ac_find_libraries=$ac_dir
35704 if test "x$ac_find_libraries" != "x"; then
35705 { echo "$as_me:$LINENO: result: yes" >&5
35706 echo "${ECHO_T}yes" >&6; }
35708 { echo "$as_me:$LINENO: result: no" >&5
35709 echo "${ECHO_T}no" >&6; }
35713 elif test $pkg_failed = untried; then
35715 if test "x$ac_find_libraries" = "x"; then
35716 if test "xSmcOpenConnection" != "x"; then
35717 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35718 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35719 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35720 echo $ECHO_N "(cached) $ECHO_C" >&6
35722 ac_check_lib_save_LIBS=$LIBS
35724 cat >conftest.$ac_ext <<_ACEOF
35727 cat confdefs.h >>conftest.$ac_ext
35728 cat >>conftest.$ac_ext <<_ACEOF
35729 /* end confdefs.h. */
35731 /* Override any GCC internal prototype to avoid an error.
35732 Use char because int might match the return type of a GCC
35733 builtin and then its argument prototype would still apply. */
35737 char SmcOpenConnection ();
35741 return SmcOpenConnection ();
35746 rm -f conftest.$ac_objext conftest$ac_exeext
35747 if { (ac_try="$ac_link"
35748 case "(($ac_try" in
35749 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35750 *) ac_try_echo
=$ac_try;;
35752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35753 (eval "$ac_link") 2>conftest.er1
35755 grep -v '^ *+' conftest.er1
>conftest.err
35757 cat conftest.err
>&5
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); } && {
35760 test -z "$ac_c_werror_flag" ||
35761 test ! -s conftest.err
35762 } && test -s conftest
$ac_exeext &&
35763 $as_test_x conftest
$ac_exeext; then
35764 ac_cv_lib_SM_SmcOpenConnection
=yes
35766 echo "$as_me: failed program was:" >&5
35767 sed 's/^/| /' conftest.
$ac_ext >&5
35769 ac_cv_lib_SM_SmcOpenConnection
=no
35772 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35773 conftest
$ac_exeext conftest.
$ac_ext
35774 LIBS
=$ac_check_lib_save_LIBS
35776 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35777 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35778 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35779 ac_find_libraries
="std"
35785 if test "x$ac_find_libraries" = "x"; then
35786 { echo "$as_me:$LINENO: checking elsewhere" >&5
35787 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35790 for ac_dir
in $SEARCH_LIB
35792 for ac_extension
in a so sl dylib dll.a
; do
35793 if test -f "$ac_dir/libSM.$ac_extension"; then
35794 ac_find_libraries
=$ac_dir
35800 if test "x$ac_find_libraries" != "x"; then
35801 { echo "$as_me:$LINENO: result: yes" >&5
35802 echo "${ECHO_T}yes" >&6; }
35804 { echo "$as_me:$LINENO: result: no" >&5
35805 echo "${ECHO_T}no" >&6; }
35810 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
35811 SM_LIBS
=$pkg_cv_SM_LIBS
35812 { echo "$as_me:$LINENO: result: yes" >&5
35813 echo "${ECHO_T}yes" >&6; }
35815 ac_find_libraries
="std"
35817 eval ac_find_cflags
=\
$SM_CFLAGS
35818 eval fl_libs
=\
$SM_LIBS
35820 for fl_path
in $fl_libs
35822 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35823 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
35829 if test "$ac_find_libraries" != "" ; then
35830 if test "$ac_find_libraries" != "std" ; then
35832 if test "$ac_find_libraries" = "default location"; then
35835 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35837 if test $result = 0; then
35840 ac_path_to_link
=" -L$ac_find_libraries"
35844 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35845 LDFLAGS
="$LDFLAGS $ac_path_to_link"
35848 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
35850 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35851 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35852 wxUSE_DETECT_SM
="no"
35855 wxUSE_DETECT_SM
="no"
35862 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
35865 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35866 OPENGL_LIBS
="-framework OpenGL -framework AGL"
35867 elif test "$wxUSE_MSW" = 1; then
35868 OPENGL_LIBS
="-lopengl32 -lglu32"
35869 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
35871 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35872 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35875 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
35877 if test -f "$ac_dir/GL/gl.h"; then
35878 ac_find_includes
=$ac_dir
35883 if test "$ac_find_includes" != "" ; then
35884 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35885 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35887 if test "x$ac_find_includes" = "x/usr/include"; then
35888 ac_path_to_include
=""
35890 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
35892 if test $result = 0; then
35893 ac_path_to_include
=""
35895 ac_path_to_include
=" -I$ac_find_includes"
35899 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
35901 { echo "$as_me:$LINENO: result: not found" >&5
35902 echo "${ECHO_T}not found" >&6; }
35905 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35906 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35907 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35908 echo $ECHO_N "(cached) $ECHO_C" >&6
35910 cat >conftest.
$ac_ext <<_ACEOF
35913 cat confdefs.h
>>conftest.
$ac_ext
35914 cat >>conftest.
$ac_ext <<_ACEOF
35915 /* end confdefs.h. */
35920 rm -f conftest.
$ac_objext
35921 if { (ac_try
="$ac_compile"
35922 case "(($ac_try" in
35923 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35924 *) ac_try_echo=$ac_try;;
35926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35927 (eval "$ac_compile") 2>conftest.er1
35929 grep -v '^ *+' conftest.er1 >conftest.err
35931 cat conftest.err >&5
35932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35933 (exit $ac_status); } && {
35934 test -z "$ac_c_werror_flag" ||
35935 test ! -s conftest.err
35936 } && test -s conftest.$ac_objext; then
35937 ac_cv_header_GL_gl_h=yes
35939 echo "$as_me: failed program was:" >&5
35940 sed 's/^/| /' conftest.$ac_ext >&5
35942 ac_cv_header_GL_gl_h=no
35945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35947 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35948 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35949 if test $ac_cv_header_GL_gl_h = yes; then
35951 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35952 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35953 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35954 echo $ECHO_N "(cached) $ECHO_C" >&6
35956 cat >conftest.$ac_ext <<_ACEOF
35959 cat confdefs.h >>conftest.$ac_ext
35960 cat >>conftest.$ac_ext <<_ACEOF
35961 /* end confdefs.h. */
35964 #include <GL/glu.h>
35966 rm -f conftest.$ac_objext
35967 if { (ac_try="$ac_compile"
35968 case "(($ac_try" in
35969 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35970 *) ac_try_echo
=$ac_try;;
35972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35973 (eval "$ac_compile") 2>conftest.er1
35975 grep -v '^ *+' conftest.er1
>conftest.err
35977 cat conftest.err
>&5
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); } && {
35980 test -z "$ac_c_werror_flag" ||
35981 test ! -s conftest.err
35982 } && test -s conftest.
$ac_objext; then
35983 ac_cv_header_GL_glu_h
=yes
35985 echo "$as_me: failed program was:" >&5
35986 sed 's/^/| /' conftest.
$ac_ext >&5
35988 ac_cv_header_GL_glu_h
=no
35991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35993 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35994 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35995 if test $ac_cv_header_GL_glu_h = yes; then
36002 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
36005 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36006 if test -n "$ac_tool_prefix"; then
36007 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36008 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
36009 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36011 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36012 echo $ECHO_N "(cached) $ECHO_C" >&6
36014 case $PKG_CONFIG in
36016 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36020 for as_dir
in $PATH
36023 test -z "$as_dir" && as_dir
=.
36024 for ac_exec_ext
in '' $ac_executable_extensions; do
36025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36026 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36037 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36038 if test -n "$PKG_CONFIG"; then
36039 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36040 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36042 { echo "$as_me:$LINENO: result: no" >&5
36043 echo "${ECHO_T}no" >&6; }
36048 if test -z "$ac_cv_path_PKG_CONFIG"; then
36049 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36050 # Extract the first word of "pkg-config", so it can be a program name with args.
36051 set dummy pkg
-config; ac_word
=$2
36052 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36054 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36055 echo $ECHO_N "(cached) $ECHO_C" >&6
36057 case $ac_pt_PKG_CONFIG in
36059 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36063 for as_dir
in $PATH
36066 test -z "$as_dir" && as_dir
=.
36067 for ac_exec_ext
in '' $ac_executable_extensions; do
36068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36069 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36070 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36080 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
36081 if test -n "$ac_pt_PKG_CONFIG"; then
36082 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36083 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36085 { echo "$as_me:$LINENO: result: no" >&5
36086 echo "${ECHO_T}no" >&6; }
36089 if test "x$ac_pt_PKG_CONFIG" = x
; then
36092 case $cross_compiling:$ac_tool_warned in
36094 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36095 whose name does not start with the host triplet. If you think this
36096 configuration is useful to you, please write to autoconf@gnu.org." >&5
36097 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36098 whose name does not start with the host triplet. If you think this
36099 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36100 ac_tool_warned
=yes ;;
36102 PKG_CONFIG
=$ac_pt_PKG_CONFIG
36105 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
36109 if test -n "$PKG_CONFIG"; then
36110 _pkg_min_version
=0.9.0
36111 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36112 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36113 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36114 { echo "$as_me:$LINENO: result: yes" >&5
36115 echo "${ECHO_T}yes" >&6; }
36117 { echo "$as_me:$LINENO: result: no" >&5
36118 echo "${ECHO_T}no" >&6; }
36125 { echo "$as_me:$LINENO: checking for GL" >&5
36126 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36128 if test -n "$PKG_CONFIG"; then
36129 if test -n "$GL_CFLAGS"; then
36130 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
36132 if test -n "$PKG_CONFIG" && \
36133 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36134 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); }; then
36138 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36146 if test -n "$PKG_CONFIG"; then
36147 if test -n "$GL_LIBS"; then
36148 pkg_cv_GL_LIBS
="$GL_LIBS"
36150 if test -n "$PKG_CONFIG" && \
36151 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36152 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36155 (exit $ac_status); }; then
36156 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36167 if test $pkg_failed = yes; then
36169 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36170 _pkg_short_errors_supported
=yes
36172 _pkg_short_errors_supported
=no
36174 if test $_pkg_short_errors_supported = yes; then
36175 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36177 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36179 # Put the nasty error message in config.log where it belongs
36180 echo "$GL_PKG_ERRORS" >&5
36183 if test "x$ac_find_libraries" = "x"; then
36184 if test "xglBegin" != "x"; then
36185 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36186 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36187 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36188 echo $ECHO_N "(cached) $ECHO_C" >&6
36190 ac_check_lib_save_LIBS
=$LIBS
36192 cat >conftest.
$ac_ext <<_ACEOF
36195 cat confdefs.h
>>conftest.
$ac_ext
36196 cat >>conftest.
$ac_ext <<_ACEOF
36197 /* end confdefs.h. */
36199 /* Override any GCC internal prototype to avoid an error.
36200 Use char because int might match the return type of a GCC
36201 builtin and then its argument prototype would still apply. */
36214 rm -f conftest.
$ac_objext conftest
$ac_exeext
36215 if { (ac_try
="$ac_link"
36216 case "(($ac_try" in
36217 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36218 *) ac_try_echo=$ac_try;;
36220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36221 (eval "$ac_link") 2>conftest.er1
36223 grep -v '^ *+' conftest.er1 >conftest.err
36225 cat conftest.err >&5
36226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36227 (exit $ac_status); } && {
36228 test -z "$ac_c_werror_flag" ||
36229 test ! -s conftest.err
36230 } && test -s conftest$ac_exeext &&
36231 $as_test_x conftest$ac_exeext; then
36232 ac_cv_lib_GL_glBegin=yes
36234 echo "$as_me: failed program was:" >&5
36235 sed 's/^/| /' conftest.$ac_ext >&5
36237 ac_cv_lib_GL_glBegin=no
36240 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36241 conftest$ac_exeext conftest.$ac_ext
36242 LIBS=$ac_check_lib_save_LIBS
36244 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36245 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36246 if test $ac_cv_lib_GL_glBegin = yes; then
36247 ac_find_libraries="std"
36253 if test "x$ac_find_libraries" = "x"; then
36254 { echo "$as_me:$LINENO: checking elsewhere" >&5
36255 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36258 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36260 for ac_extension in a so sl dylib dll.a; do
36261 if test -f "$ac_dir/libGL.$ac_extension"; then
36262 ac_find_libraries=$ac_dir
36268 if test "x$ac_find_libraries" != "x"; then
36269 { echo "$as_me:$LINENO: result: yes" >&5
36270 echo "${ECHO_T}yes" >&6; }
36272 { echo "$as_me:$LINENO: result: no" >&5
36273 echo "${ECHO_T}no" >&6; }
36277 elif test $pkg_failed = untried; then
36279 if test "x$ac_find_libraries" = "x"; then
36280 if test "xglBegin" != "x"; then
36281 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36282 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36283 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36284 echo $ECHO_N "(cached) $ECHO_C" >&6
36286 ac_check_lib_save_LIBS=$LIBS
36288 cat >conftest.$ac_ext <<_ACEOF
36291 cat confdefs.h >>conftest.$ac_ext
36292 cat >>conftest.$ac_ext <<_ACEOF
36293 /* end confdefs.h. */
36295 /* Override any GCC internal prototype to avoid an error.
36296 Use char because int might match the return type of a GCC
36297 builtin and then its argument prototype would still apply. */
36310 rm -f conftest.$ac_objext conftest$ac_exeext
36311 if { (ac_try="$ac_link"
36312 case "(($ac_try" in
36313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36314 *) ac_try_echo
=$ac_try;;
36316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36317 (eval "$ac_link") 2>conftest.er1
36319 grep -v '^ *+' conftest.er1
>conftest.err
36321 cat conftest.err
>&5
36322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36323 (exit $ac_status); } && {
36324 test -z "$ac_c_werror_flag" ||
36325 test ! -s conftest.err
36326 } && test -s conftest
$ac_exeext &&
36327 $as_test_x conftest
$ac_exeext; then
36328 ac_cv_lib_GL_glBegin
=yes
36330 echo "$as_me: failed program was:" >&5
36331 sed 's/^/| /' conftest.
$ac_ext >&5
36333 ac_cv_lib_GL_glBegin
=no
36336 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36337 conftest
$ac_exeext conftest.
$ac_ext
36338 LIBS
=$ac_check_lib_save_LIBS
36340 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36341 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36342 if test $ac_cv_lib_GL_glBegin = yes; then
36343 ac_find_libraries
="std"
36349 if test "x$ac_find_libraries" = "x"; then
36350 { echo "$as_me:$LINENO: checking elsewhere" >&5
36351 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36354 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
36356 for ac_extension
in a so sl dylib dll.a
; do
36357 if test -f "$ac_dir/libGL.$ac_extension"; then
36358 ac_find_libraries
=$ac_dir
36364 if test "x$ac_find_libraries" != "x"; then
36365 { echo "$as_me:$LINENO: result: yes" >&5
36366 echo "${ECHO_T}yes" >&6; }
36368 { echo "$as_me:$LINENO: result: no" >&5
36369 echo "${ECHO_T}no" >&6; }
36374 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
36375 GL_LIBS
=$pkg_cv_GL_LIBS
36376 { echo "$as_me:$LINENO: result: yes" >&5
36377 echo "${ECHO_T}yes" >&6; }
36379 ac_find_libraries
="std"
36381 eval ac_find_cflags
=\
$GL_CFLAGS
36382 eval fl_libs
=\
$GL_LIBS
36384 for fl_path
in $fl_libs
36386 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36387 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
36393 if test "$ac_find_libraries" != "" ; then
36394 if test "$ac_find_libraries" != "std" ; then
36396 if test "$ac_find_libraries" = "default location"; then
36399 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
36401 if test $result = 0; then
36404 ac_path_to_link
=" -L$ac_find_libraries"
36408 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36409 LDFLAGS_GL
="$ac_path_to_link"
36416 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
36419 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36420 if test -n "$ac_tool_prefix"; then
36421 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36422 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
36423 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36424 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36425 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36426 echo $ECHO_N "(cached) $ECHO_C" >&6
36428 case $PKG_CONFIG in
36430 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36434 for as_dir
in $PATH
36437 test -z "$as_dir" && as_dir
=.
36438 for ac_exec_ext
in '' $ac_executable_extensions; do
36439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36440 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36451 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36452 if test -n "$PKG_CONFIG"; then
36453 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36454 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36456 { echo "$as_me:$LINENO: result: no" >&5
36457 echo "${ECHO_T}no" >&6; }
36462 if test -z "$ac_cv_path_PKG_CONFIG"; then
36463 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36464 # Extract the first word of "pkg-config", so it can be a program name with args.
36465 set dummy pkg
-config; ac_word
=$2
36466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36468 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36469 echo $ECHO_N "(cached) $ECHO_C" >&6
36471 case $ac_pt_PKG_CONFIG in
36473 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36476 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36477 for as_dir
in $PATH
36480 test -z "$as_dir" && as_dir
=.
36481 for ac_exec_ext
in '' $ac_executable_extensions; do
36482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36483 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36494 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
36495 if test -n "$ac_pt_PKG_CONFIG"; then
36496 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36497 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36499 { echo "$as_me:$LINENO: result: no" >&5
36500 echo "${ECHO_T}no" >&6; }
36503 if test "x$ac_pt_PKG_CONFIG" = x
; then
36506 case $cross_compiling:$ac_tool_warned in
36508 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36509 whose name does not start with the host triplet. If you think this
36510 configuration is useful to you, please write to autoconf@gnu.org." >&5
36511 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36512 whose name does not start with the host triplet. If you think this
36513 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36514 ac_tool_warned
=yes ;;
36516 PKG_CONFIG
=$ac_pt_PKG_CONFIG
36519 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
36523 if test -n "$PKG_CONFIG"; then
36524 _pkg_min_version
=0.9.0
36525 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36526 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36527 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36528 { echo "$as_me:$LINENO: result: yes" >&5
36529 echo "${ECHO_T}yes" >&6; }
36531 { echo "$as_me:$LINENO: result: no" >&5
36532 echo "${ECHO_T}no" >&6; }
36539 { echo "$as_me:$LINENO: checking for GLU" >&5
36540 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36542 if test -n "$PKG_CONFIG"; then
36543 if test -n "$GLU_CFLAGS"; then
36544 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
36546 if test -n "$PKG_CONFIG" && \
36547 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36548 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36551 (exit $ac_status); }; then
36552 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36560 if test -n "$PKG_CONFIG"; then
36561 if test -n "$GLU_LIBS"; then
36562 pkg_cv_GLU_LIBS
="$GLU_LIBS"
36564 if test -n "$PKG_CONFIG" && \
36565 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36566 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36569 (exit $ac_status); }; then
36570 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36581 if test $pkg_failed = yes; then
36583 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36584 _pkg_short_errors_supported
=yes
36586 _pkg_short_errors_supported
=no
36588 if test $_pkg_short_errors_supported = yes; then
36589 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36591 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36593 # Put the nasty error message in config.log where it belongs
36594 echo "$GLU_PKG_ERRORS" >&5
36597 if test "x$ac_find_libraries" = "x"; then
36598 if test "xgluBeginCurve" != "x"; then
36599 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36600 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36601 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36602 echo $ECHO_N "(cached) $ECHO_C" >&6
36604 ac_check_lib_save_LIBS
=$LIBS
36606 cat >conftest.
$ac_ext <<_ACEOF
36609 cat confdefs.h
>>conftest.
$ac_ext
36610 cat >>conftest.
$ac_ext <<_ACEOF
36611 /* end confdefs.h. */
36613 /* Override any GCC internal prototype to avoid an error.
36614 Use char because int might match the return type of a GCC
36615 builtin and then its argument prototype would still apply. */
36619 char gluBeginCurve ();
36623 return gluBeginCurve ();
36628 rm -f conftest.
$ac_objext conftest
$ac_exeext
36629 if { (ac_try
="$ac_link"
36630 case "(($ac_try" in
36631 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36632 *) ac_try_echo=$ac_try;;
36634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36635 (eval "$ac_link") 2>conftest.er1
36637 grep -v '^ *+' conftest.er1 >conftest.err
36639 cat conftest.err >&5
36640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36641 (exit $ac_status); } && {
36642 test -z "$ac_c_werror_flag" ||
36643 test ! -s conftest.err
36644 } && test -s conftest$ac_exeext &&
36645 $as_test_x conftest$ac_exeext; then
36646 ac_cv_lib_GLU_gluBeginCurve=yes
36648 echo "$as_me: failed program was:" >&5
36649 sed 's/^/| /' conftest.$ac_ext >&5
36651 ac_cv_lib_GLU_gluBeginCurve=no
36654 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36655 conftest$ac_exeext conftest.$ac_ext
36656 LIBS=$ac_check_lib_save_LIBS
36658 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36659 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36660 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36661 ac_find_libraries="std"
36667 if test "x$ac_find_libraries" = "x"; then
36668 { echo "$as_me:$LINENO: checking elsewhere" >&5
36669 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36672 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36674 for ac_extension in a so sl dylib dll.a; do
36675 if test -f "$ac_dir/libGLU.$ac_extension"; then
36676 ac_find_libraries=$ac_dir
36682 if test "x$ac_find_libraries" != "x"; then
36683 { echo "$as_me:$LINENO: result: yes" >&5
36684 echo "${ECHO_T}yes" >&6; }
36686 { echo "$as_me:$LINENO: result: no" >&5
36687 echo "${ECHO_T}no" >&6; }
36691 elif test $pkg_failed = untried; then
36693 if test "x$ac_find_libraries" = "x"; then
36694 if test "xgluBeginCurve" != "x"; then
36695 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36696 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36697 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36698 echo $ECHO_N "(cached) $ECHO_C" >&6
36700 ac_check_lib_save_LIBS=$LIBS
36702 cat >conftest.$ac_ext <<_ACEOF
36705 cat confdefs.h >>conftest.$ac_ext
36706 cat >>conftest.$ac_ext <<_ACEOF
36707 /* end confdefs.h. */
36709 /* Override any GCC internal prototype to avoid an error.
36710 Use char because int might match the return type of a GCC
36711 builtin and then its argument prototype would still apply. */
36715 char gluBeginCurve ();
36719 return gluBeginCurve ();
36724 rm -f conftest.$ac_objext conftest$ac_exeext
36725 if { (ac_try="$ac_link"
36726 case "(($ac_try" in
36727 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36728 *) ac_try_echo
=$ac_try;;
36730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36731 (eval "$ac_link") 2>conftest.er1
36733 grep -v '^ *+' conftest.er1
>conftest.err
36735 cat conftest.err
>&5
36736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36737 (exit $ac_status); } && {
36738 test -z "$ac_c_werror_flag" ||
36739 test ! -s conftest.err
36740 } && test -s conftest
$ac_exeext &&
36741 $as_test_x conftest
$ac_exeext; then
36742 ac_cv_lib_GLU_gluBeginCurve
=yes
36744 echo "$as_me: failed program was:" >&5
36745 sed 's/^/| /' conftest.
$ac_ext >&5
36747 ac_cv_lib_GLU_gluBeginCurve
=no
36750 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36751 conftest
$ac_exeext conftest.
$ac_ext
36752 LIBS
=$ac_check_lib_save_LIBS
36754 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36755 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36756 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36757 ac_find_libraries
="std"
36763 if test "x$ac_find_libraries" = "x"; then
36764 { echo "$as_me:$LINENO: checking elsewhere" >&5
36765 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36768 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
36770 for ac_extension
in a so sl dylib dll.a
; do
36771 if test -f "$ac_dir/libGLU.$ac_extension"; then
36772 ac_find_libraries
=$ac_dir
36778 if test "x$ac_find_libraries" != "x"; then
36779 { echo "$as_me:$LINENO: result: yes" >&5
36780 echo "${ECHO_T}yes" >&6; }
36782 { echo "$as_me:$LINENO: result: no" >&5
36783 echo "${ECHO_T}no" >&6; }
36788 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
36789 GLU_LIBS
=$pkg_cv_GLU_LIBS
36790 { echo "$as_me:$LINENO: result: yes" >&5
36791 echo "${ECHO_T}yes" >&6; }
36793 ac_find_libraries
="std"
36795 eval ac_find_cflags
=\
$GLU_CFLAGS
36796 eval fl_libs
=\
$GLU_LIBS
36798 for fl_path
in $fl_libs
36800 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36801 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
36807 if test "$ac_find_libraries" != "" ; then
36808 if test "$ac_find_libraries" != "std" ; then
36810 if test "$ac_find_libraries" = "default location"; then
36813 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
36815 if test $result = 0; then
36818 ac_path_to_link
=" -L$ac_find_libraries"
36822 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36823 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
36824 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
36829 OPENGL_LIBS
="-lGL -lGLU"
36833 if test "$found_gl" != 1; then
36837 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
36840 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36841 if test -n "$ac_tool_prefix"; then
36842 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36843 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
36844 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36846 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36847 echo $ECHO_N "(cached) $ECHO_C" >&6
36849 case $PKG_CONFIG in
36851 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36855 for as_dir
in $PATH
36858 test -z "$as_dir" && as_dir
=.
36859 for ac_exec_ext
in '' $ac_executable_extensions; do
36860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36861 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36872 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36873 if test -n "$PKG_CONFIG"; then
36874 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36875 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36877 { echo "$as_me:$LINENO: result: no" >&5
36878 echo "${ECHO_T}no" >&6; }
36883 if test -z "$ac_cv_path_PKG_CONFIG"; then
36884 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36885 # Extract the first word of "pkg-config", so it can be a program name with args.
36886 set dummy pkg
-config; ac_word
=$2
36887 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36889 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36890 echo $ECHO_N "(cached) $ECHO_C" >&6
36892 case $ac_pt_PKG_CONFIG in
36894 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36898 for as_dir
in $PATH
36901 test -z "$as_dir" && as_dir
=.
36902 for ac_exec_ext
in '' $ac_executable_extensions; do
36903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36904 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36915 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
36916 if test -n "$ac_pt_PKG_CONFIG"; then
36917 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36918 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36920 { echo "$as_me:$LINENO: result: no" >&5
36921 echo "${ECHO_T}no" >&6; }
36924 if test "x$ac_pt_PKG_CONFIG" = x
; then
36927 case $cross_compiling:$ac_tool_warned in
36929 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36930 whose name does not start with the host triplet. If you think this
36931 configuration is useful to you, please write to autoconf@gnu.org." >&5
36932 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36933 whose name does not start with the host triplet. If you think this
36934 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36935 ac_tool_warned
=yes ;;
36937 PKG_CONFIG
=$ac_pt_PKG_CONFIG
36940 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
36944 if test -n "$PKG_CONFIG"; then
36945 _pkg_min_version
=0.9.0
36946 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36947 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36948 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36949 { echo "$as_me:$LINENO: result: yes" >&5
36950 echo "${ECHO_T}yes" >&6; }
36952 { echo "$as_me:$LINENO: result: no" >&5
36953 echo "${ECHO_T}no" >&6; }
36960 { echo "$as_me:$LINENO: checking for MesaGL" >&5
36961 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
36963 if test -n "$PKG_CONFIG"; then
36964 if test -n "$MesaGL_CFLAGS"; then
36965 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
36967 if test -n "$PKG_CONFIG" && \
36968 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36969 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); }; then
36973 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36981 if test -n "$PKG_CONFIG"; then
36982 if test -n "$MesaGL_LIBS"; then
36983 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
36985 if test -n "$PKG_CONFIG" && \
36986 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36987 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36990 (exit $ac_status); }; then
36991 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
37002 if test $pkg_failed = yes; then
37004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
37005 _pkg_short_errors_supported
=yes
37007 _pkg_short_errors_supported
=no
37009 if test $_pkg_short_errors_supported = yes; then
37010 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
37012 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
37014 # Put the nasty error message in config.log where it belongs
37015 echo "$MesaGL_PKG_ERRORS" >&5
37018 if test "x$ac_find_libraries" = "x"; then
37019 if test "xglEnable" != "x"; then
37020 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37021 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37022 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37023 echo $ECHO_N "(cached) $ECHO_C" >&6
37025 ac_check_lib_save_LIBS
=$LIBS
37026 LIBS
="-lMesaGL $LIBS"
37027 cat >conftest.
$ac_ext <<_ACEOF
37030 cat confdefs.h
>>conftest.
$ac_ext
37031 cat >>conftest.
$ac_ext <<_ACEOF
37032 /* end confdefs.h. */
37034 /* Override any GCC internal prototype to avoid an error.
37035 Use char because int might match the return type of a GCC
37036 builtin and then its argument prototype would still apply. */
37044 return glEnable ();
37049 rm -f conftest.
$ac_objext conftest
$ac_exeext
37050 if { (ac_try
="$ac_link"
37051 case "(($ac_try" in
37052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37053 *) ac_try_echo=$ac_try;;
37055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37056 (eval "$ac_link") 2>conftest.er1
37058 grep -v '^ *+' conftest.er1 >conftest.err
37060 cat conftest.err >&5
37061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37062 (exit $ac_status); } && {
37063 test -z "$ac_c_werror_flag" ||
37064 test ! -s conftest.err
37065 } && test -s conftest$ac_exeext &&
37066 $as_test_x conftest$ac_exeext; then
37067 ac_cv_lib_MesaGL_glEnable=yes
37069 echo "$as_me: failed program was:" >&5
37070 sed 's/^/| /' conftest.$ac_ext >&5
37072 ac_cv_lib_MesaGL_glEnable=no
37075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37076 conftest$ac_exeext conftest.$ac_ext
37077 LIBS=$ac_check_lib_save_LIBS
37079 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37080 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37081 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37082 ac_find_libraries="std"
37088 if test "x$ac_find_libraries" = "x"; then
37089 { echo "$as_me:$LINENO: checking elsewhere" >&5
37090 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37093 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37095 for ac_extension in a so sl dylib dll.a; do
37096 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37097 ac_find_libraries=$ac_dir
37103 if test "x$ac_find_libraries" != "x"; then
37104 { echo "$as_me:$LINENO: result: yes" >&5
37105 echo "${ECHO_T}yes" >&6; }
37107 { echo "$as_me:$LINENO: result: no" >&5
37108 echo "${ECHO_T}no" >&6; }
37112 elif test $pkg_failed = untried; then
37114 if test "x$ac_find_libraries" = "x"; then
37115 if test "xglEnable" != "x"; then
37116 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37117 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37118 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37119 echo $ECHO_N "(cached) $ECHO_C" >&6
37121 ac_check_lib_save_LIBS=$LIBS
37122 LIBS="-lMesaGL $LIBS"
37123 cat >conftest.$ac_ext <<_ACEOF
37126 cat confdefs.h >>conftest.$ac_ext
37127 cat >>conftest.$ac_ext <<_ACEOF
37128 /* end confdefs.h. */
37130 /* Override any GCC internal prototype to avoid an error.
37131 Use char because int might match the return type of a GCC
37132 builtin and then its argument prototype would still apply. */
37140 return glEnable ();
37145 rm -f conftest.$ac_objext conftest$ac_exeext
37146 if { (ac_try="$ac_link"
37147 case "(($ac_try" in
37148 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37149 *) ac_try_echo
=$ac_try;;
37151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37152 (eval "$ac_link") 2>conftest.er1
37154 grep -v '^ *+' conftest.er1
>conftest.err
37156 cat conftest.err
>&5
37157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37158 (exit $ac_status); } && {
37159 test -z "$ac_c_werror_flag" ||
37160 test ! -s conftest.err
37161 } && test -s conftest
$ac_exeext &&
37162 $as_test_x conftest
$ac_exeext; then
37163 ac_cv_lib_MesaGL_glEnable
=yes
37165 echo "$as_me: failed program was:" >&5
37166 sed 's/^/| /' conftest.
$ac_ext >&5
37168 ac_cv_lib_MesaGL_glEnable
=no
37171 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37172 conftest
$ac_exeext conftest.
$ac_ext
37173 LIBS
=$ac_check_lib_save_LIBS
37175 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37176 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37177 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37178 ac_find_libraries
="std"
37184 if test "x$ac_find_libraries" = "x"; then
37185 { echo "$as_me:$LINENO: checking elsewhere" >&5
37186 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37189 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
37191 for ac_extension
in a so sl dylib dll.a
; do
37192 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37193 ac_find_libraries
=$ac_dir
37199 if test "x$ac_find_libraries" != "x"; then
37200 { echo "$as_me:$LINENO: result: yes" >&5
37201 echo "${ECHO_T}yes" >&6; }
37203 { echo "$as_me:$LINENO: result: no" >&5
37204 echo "${ECHO_T}no" >&6; }
37209 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
37210 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
37211 { echo "$as_me:$LINENO: result: yes" >&5
37212 echo "${ECHO_T}yes" >&6; }
37214 ac_find_libraries
="std"
37216 eval ac_find_cflags
=\
$MesaGL_CFLAGS
37217 eval fl_libs
=\
$MesaGL_LIBS
37219 for fl_path
in $fl_libs
37221 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37222 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
37228 if test "$ac_find_libraries" != "" ; then
37229 if test "$ac_find_libraries" != "std" ; then
37231 if test "$ac_find_libraries" = "default location"; then
37234 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
37236 if test $result = 0; then
37239 ac_path_to_link
=" -L$ac_find_libraries"
37243 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37244 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
37247 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
37259 if test "x$OPENGL_LIBS" = "x"; then
37260 if test "$wxUSE_OPENGL" = "yes"; then
37261 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37262 echo "$as_me: error: OpenGL libraries not available" >&2;}
37263 { (exit 1); exit 1; }; }
37265 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37266 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37272 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37273 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37277 if test "$wxUSE_OPENGL" = "auto"; then
37281 if test "$wxUSE_OPENGL" = "yes"; then
37283 cat >>confdefs.h
<<\_ACEOF
37284 #define wxUSE_OPENGL 1
37287 cat >>confdefs.h
<<\_ACEOF
37288 #define wxUSE_GLCANVAS 1
37291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37296 if test -n "$TOOLKIT" ; then
37297 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37302 if test "$wxUSE_SHARED" = "yes"; then
37306 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37307 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37312 if test "$wxUSE_SHARED" = "yes"; then
37316 *-*-cygwin* | *-*-mingw* )
37317 wx_cv_version_script
=no
37321 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37322 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37323 if test "${wx_cv_version_script+set}" = set; then
37324 echo $ECHO_N "(cached) $ECHO_C" >&6
37327 echo "VER_1 { *; };" >conftest.sym
37328 echo "int main() { return 0; }" >conftest.cpp
37331 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37332 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37334 (eval $ac_try) 2>&5
37336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37337 (exit $ac_status); }; } ; then
37338 if test -s conftest.stderr
; then
37339 wx_cv_version_script
=no
37341 wx_cv_version_script
=yes
37344 wx_cv_version_script
=no
37347 if test $wx_cv_version_script = yes
37349 echo "struct B { virtual ~B() { } }; \
37350 struct D : public B { }; \
37351 void F() { D d; }" > conftest.cpp
37354 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37355 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357 (eval $ac_try) 2>&5
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); }; } &&
37362 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37363 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37365 (eval $ac_try) 2>&5
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); }; }
37371 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37372 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
37373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37374 (eval $ac_try) 2>&5
37376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37377 (exit $ac_status); }; }
37379 wx_cv_version_script
=yes
37381 wx_cv_version_script
=no
37386 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37387 rm -f conftest1.output conftest2.output conftest3.output
37390 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37391 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37393 if test $wx_cv_version_script = yes ; then
37394 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37400 if test "$wxUSE_VISIBILITY" != "no"; then
37403 if test -n "$GCC"; then
37404 CFLAGS_VISIBILITY
="-fvisibility=hidden"
37405 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
37406 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37407 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37408 if test "${wx_cv_cc_visibility+set}" = set; then
37409 echo $ECHO_N "(cached) $ECHO_C" >&6
37412 wx_save_CXXFLAGS
="$CXXFLAGS"
37413 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37415 ac_cpp
='$CXXCPP $CPPFLAGS'
37416 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37417 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37418 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37420 cat >conftest.
$ac_ext <<_ACEOF
37423 cat confdefs.h
>>conftest.
$ac_ext
37424 cat >>conftest.
$ac_ext <<_ACEOF
37425 /* end confdefs.h. */
37427 /* we need gcc >= 4.0, older versions with visibility support
37428 didn't have class visibility: */
37429 #if defined(__GNUC__) && __GNUC__ < 4
37430 error this gcc is too old;
37433 /* visibility only makes sense for ELF shared libs: */
37434 #if !defined(__ELF__) && !defined(__APPLE__)
37435 error this platform has no visibility;
37438 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37439 #if defined(__clang__)
37440 clang compiler is still broken w.r.t. visibility;
37443 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37444 extern __attribute__((__visibility__("default"))) int exportedvar;
37445 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37446 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37447 class __attribute__((__visibility__("default"))) Foo {
37459 rm -f conftest.
$ac_objext
37460 if { (ac_try
="$ac_compile"
37461 case "(($ac_try" in
37462 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37463 *) ac_try_echo=$ac_try;;
37465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37466 (eval "$ac_compile") 2>conftest.er1
37468 grep -v '^ *+' conftest.er1 >conftest.err
37470 cat conftest.err >&5
37471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472 (exit $ac_status); } && {
37473 test -z "$ac_cxx_werror_flag" ||
37474 test ! -s conftest.err
37475 } && test -s conftest.$ac_objext; then
37476 wx_cv_cc_visibility=yes
37478 echo "$as_me: failed program was:" >&5
37479 sed 's/^/| /' conftest.$ac_ext >&5
37481 wx_cv_cc_visibility=no
37484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37486 ac_cpp='$CPP $CPPFLAGS'
37487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37491 CXXFLAGS="$wx_save_CXXFLAGS"
37494 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37495 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37496 if test $wx_cv_cc_visibility = yes; then
37497 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37498 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37499 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37500 echo $ECHO_N "(cached) $ECHO_C" >&6
37503 wx_save_CXXFLAGS="$CXXFLAGS"
37504 wx_save_LDFLAGS="$LDFLAGS"
37505 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37506 LDFLAGS="$LDFLAGS -shared -fPIC"
37508 ac_cpp='$CXXCPP $CPPFLAGS'
37509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37513 cat >conftest.$ac_ext <<_ACEOF
37516 cat confdefs.h >>conftest.$ac_ext
37517 cat >>conftest.$ac_ext <<_ACEOF
37518 /* end confdefs.h. */
37526 std::string s("hello");
37533 rm -f conftest.$ac_objext conftest$ac_exeext
37534 if { (ac_try="$ac_link"
37535 case "(($ac_try" in
37536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37537 *) ac_try_echo
=$ac_try;;
37539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37540 (eval "$ac_link") 2>conftest.er1
37542 grep -v '^ *+' conftest.er1
>conftest.err
37544 cat conftest.err
>&5
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); } && {
37547 test -z "$ac_cxx_werror_flag" ||
37548 test ! -s conftest.err
37549 } && test -s conftest
$ac_exeext &&
37550 $as_test_x conftest
$ac_exeext; then
37551 wx_cv_cc_broken_libstdcxx_visibility
=no
37553 echo "$as_me: failed program was:" >&5
37554 sed 's/^/| /' conftest.
$ac_ext >&5
37556 wx_cv_cc_broken_libstdcxx_visibility
=yes
37559 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37560 conftest
$ac_exeext conftest.
$ac_ext
37562 ac_cpp
='$CPP $CPPFLAGS'
37563 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37564 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37565 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37567 CXXFLAGS
="$wx_save_CXXFLAGS"
37568 LDFLAGS
="$wx_save_LDFLAGS"
37571 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37572 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37574 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37575 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37576 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37577 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37578 echo $ECHO_N "(cached) $ECHO_C" >&6
37582 ac_cpp
='$CXXCPP $CPPFLAGS'
37583 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37584 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37585 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37587 cat >conftest.
$ac_ext <<_ACEOF
37590 cat confdefs.h
>>conftest.
$ac_ext
37591 cat >>conftest.
$ac_ext <<_ACEOF
37592 /* end confdefs.h. */
37594 #pragma GCC visibility push(default)
37596 #pragma GCC visibility pop
37602 std::string s("hello");
37609 rm -f conftest.
$ac_objext conftest
$ac_exeext
37610 if { (ac_try
="$ac_link"
37611 case "(($ac_try" in
37612 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37613 *) ac_try_echo=$ac_try;;
37615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37616 (eval "$ac_link") 2>conftest.er1
37618 grep -v '^ *+' conftest.er1 >conftest.err
37620 cat conftest.err >&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } && {
37623 test -z "$ac_cxx_werror_flag" ||
37624 test ! -s conftest.err
37625 } && test -s conftest$ac_exeext &&
37626 $as_test_x conftest$ac_exeext; then
37627 wx_cv_cc_visibility_workaround=no
37629 echo "$as_me: failed program was:" >&5
37630 sed 's/^/| /' conftest.$ac_ext >&5
37632 wx_cv_cc_visibility_workaround=yes
37635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37636 conftest$ac_exeext conftest.$ac_ext
37638 ac_cpp='$CPP $CPPFLAGS'
37639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37646 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37647 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37649 if test $wx_cv_cc_visibility_workaround = no; then
37650 wx_cv_cc_visibility=no
37655 if test $wx_cv_cc_visibility = yes; then
37656 cat >>confdefs.h <<\_ACEOF
37657 #define HAVE_VISIBILITY 1
37660 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37661 cat >>confdefs.h <<\_ACEOF
37662 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37667 CFLAGS_VISIBILITY=""
37668 CXXFLAGS_VISIBILITY=""
37676 if test "x$SUNCXX" = xyes; then
37677 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
37678 WXCONFIG_RPATH="-R\$libdir"
37681 *-*-linux* | *-*-gnu* )
37682 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37683 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37688 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
37690 saveLdflags="$LDFLAGS"
37691 LDFLAGS="$saveLdflags -Wl,-rpath,/"
37692 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37693 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37694 cat >conftest.$ac_ext <<_ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h. */
37709 rm -f conftest.$ac_objext conftest$ac_exeext
37710 if { (ac_try="$ac_link"
37711 case "(($ac_try" in
37712 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37713 *) ac_try_echo
=$ac_try;;
37715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37716 (eval "$ac_link") 2>conftest.er1
37718 grep -v '^ *+' conftest.er1
>conftest.err
37720 cat conftest.err
>&5
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); } && {
37723 test -z "$ac_c_werror_flag" ||
37724 test ! -s conftest.err
37725 } && test -s conftest
$ac_exeext &&
37726 $as_test_x conftest
$ac_exeext; then
37728 { echo "$as_me:$LINENO: result: yes" >&5
37729 echo "${ECHO_T}yes" >&6; }
37730 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
37731 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
37734 echo "$as_me: failed program was:" >&5
37735 sed 's/^/| /' conftest.
$ac_ext >&5
37738 { echo "$as_me:$LINENO: result: no" >&5
37739 echo "${ECHO_T}no" >&6; }
37740 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37741 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37742 LDFLAGS
="$saveLdflags -Wl,-R,/"
37743 cat >conftest.
$ac_ext <<_ACEOF
37746 cat confdefs.h
>>conftest.
$ac_ext
37747 cat >>conftest.
$ac_ext <<_ACEOF
37748 /* end confdefs.h. */
37758 rm -f conftest.
$ac_objext conftest
$ac_exeext
37759 if { (ac_try
="$ac_link"
37760 case "(($ac_try" in
37761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37762 *) ac_try_echo=$ac_try;;
37764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37765 (eval "$ac_link") 2>conftest.er1
37767 grep -v '^ *+' conftest.er1 >conftest.err
37769 cat conftest.err >&5
37770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37771 (exit $ac_status); } && {
37772 test -z "$ac_c_werror_flag" ||
37773 test ! -s conftest.err
37774 } && test -s conftest$ac_exeext &&
37775 $as_test_x conftest$ac_exeext; then
37777 { echo "$as_me:$LINENO: result: yes" >&5
37778 echo "${ECHO_T}yes" >&6; }
37779 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
37780 WXCONFIG_RPATH="-Wl,-R,\$libdir"
37783 echo "$as_me: failed program was:" >&5
37784 sed 's/^/| /' conftest.$ac_ext >&5
37787 { echo "$as_me:$LINENO: result: no" >&5
37788 echo "${ECHO_T}no" >&6; }
37792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37793 conftest$ac_exeext conftest.$ac_ext
37797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37798 conftest$ac_exeext conftest.$ac_ext
37799 LDFLAGS="$saveLdflags"
37803 install_name_tool=`which ${HOST_PREFIX}install_name_tool
`
37804 if test "$install_name_tool" -a -x "$install_name_tool"; then
37805 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
37806 cat <<EOF >change-install-names
37808 libnames=\`cd \
${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
37809 for i in \${libnames} ; do
37810 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
37811 for dep in \${libnames} ; do
37812 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
37816 chmod +x change-install-names
37817 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
37820 HEADER_PAD_OPTION="-headerpad_max_install_names"
37823 *-*-cygwin* | *-*-mingw32* )
37827 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
37828 WXCONFIG_RPATH="-Wl,+b,\$libdir"
37834 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
37836 if test $wxUSE_RPATH = "no"; then
37837 SAMPLES_RPATH_FLAG=''
37838 DYLIB_PATH_POSTLINK=''
37846 config_linkage_component="-static"
37853 lib_unicode_suffix=
37855 if test "$wxUSE_UNICODE" = "yes"; then
37856 lib_unicode_suffix=u
37857 WX_CHARTYPE="unicode"
37861 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
37862 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
37865 if test "$wxUSE_DEBUG_INFO" = "yes"; then
37869 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
37871 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37873 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
37876 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
37877 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37879 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37881 if test "${TOOLKIT_DIR}" = "os2"; then
37882 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37884 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37889 if test "$wxUSE_OLD_COCOA" = 1; then
37892 ac_cpp='$CPP $CPPFLAGS'
37893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37899 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
37900 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
37901 cat >conftest.$ac_ext <<_ACEOF
37904 cat confdefs.h >>conftest.$ac_ext
37905 cat >>conftest.$ac_ext <<_ACEOF
37906 /* end confdefs.h. */
37907 #include <AppKit/NSEvent.h>
37908 #include <CoreFoundation/CoreFoundation.h>
37918 rm -f conftest.$ac_objext
37919 if { (ac_try="$ac_compile"
37920 case "(($ac_try" in
37921 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37922 *) ac_try_echo
=$ac_try;;
37924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37925 (eval "$ac_compile") 2>conftest.er1
37927 grep -v '^ *+' conftest.er1
>conftest.err
37929 cat conftest.err
>&5
37930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37931 (exit $ac_status); } && {
37932 test -z "$ac_c_werror_flag" ||
37933 test ! -s conftest.err
37934 } && test -s conftest.
$ac_objext; then
37935 { echo "$as_me:$LINENO: result: no" >&5
37936 echo "${ECHO_T}no" >&6; }
37938 echo "$as_me: failed program was:" >&5
37939 sed 's/^/| /' conftest.
$ac_ext >&5
37941 { echo "$as_me:$LINENO: result: yes" >&5
37942 echo "${ECHO_T}yes" >&6; }
37943 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
37944 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
37945 cat >conftest.
$ac_ext <<_ACEOF
37948 cat confdefs.h
>>conftest.
$ac_ext
37949 cat >>conftest.
$ac_ext <<_ACEOF
37950 /* end confdefs.h. */
37951 #define __Point__ 1
37952 #include <AppKit/NSEvent.h>
37953 #include <CoreFoundation/CoreFoundation.h>
37963 rm -f conftest.
$ac_objext
37964 if { (ac_try
="$ac_compile"
37965 case "(($ac_try" in
37966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37967 *) ac_try_echo=$ac_try;;
37969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37970 (eval "$ac_compile") 2>conftest.er1
37972 grep -v '^ *+' conftest.er1 >conftest.err
37974 cat conftest.err >&5
37975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37976 (exit $ac_status); } && {
37977 test -z "$ac_c_werror_flag" ||
37978 test ! -s conftest.err
37979 } && test -s conftest.$ac_objext; then
37980 { echo "$as_me:$LINENO: result: yes" >&5
37981 echo "${ECHO_T}yes" >&6; }
37982 cat >>confdefs.h <<\_ACEOF
37983 #define __Point__ 1
37988 echo "$as_me: failed program was:" >&5
37989 sed 's/^/| /' conftest.$ac_ext >&5
37991 { { echo "$as_me:$LINENO: error: no
37992 See \`config.log
' for more details." >&5
37993 echo "$as_me: error: no
37994 See \`config.log' for more details.
" >&2;}
37995 { (exit 1); exit 1; }; }
37999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38005 ac_cpp='$CPP $CPPFLAGS'
38006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38013 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
38014 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
38015 if test "${ac_cv_type_mode_t+set}" = set; then
38016 echo $ECHO_N "(cached
) $ECHO_C" >&6
38018 cat >conftest.$ac_ext <<_ACEOF
38021 cat confdefs.h >>conftest.$ac_ext
38022 cat >>conftest.$ac_ext <<_ACEOF
38023 /* end confdefs.h. */
38024 $ac_includes_default
38025 typedef mode_t ac__type_new_;
38029 if ((ac__type_new_ *) 0)
38031 if (sizeof (ac__type_new_))
38037 rm -f conftest.$ac_objext
38038 if { (ac_try="$ac_compile"
38039 case "(($ac_try" in
38040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38041 *) ac_try_echo=$ac_try;;
38043 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38044 (eval "$ac_compile") 2>conftest.er1
38046 grep -v '^ *+' conftest.er1 >conftest.err
38048 cat conftest.err >&5
38049 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38050 (exit $ac_status); } && {
38051 test -z "$ac_c_werror_flag" ||
38052 test ! -s conftest.err
38053 } && test -s conftest.$ac_objext; then
38054 ac_cv_type_mode_t=yes
38056 echo "$as_me: failed program was
:" >&5
38057 sed 's/^/| /' conftest.$ac_ext >&5
38059 ac_cv_type_mode_t=no
38062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38064 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
38065 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38066 if test $ac_cv_type_mode_t = yes; then
38070 cat >>confdefs.h <<_ACEOF
38076 { echo "$as_me:$LINENO: checking
for off_t
" >&5
38077 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
38078 if test "${ac_cv_type_off_t+set}" = set; then
38079 echo $ECHO_N "(cached
) $ECHO_C" >&6
38081 cat >conftest.$ac_ext <<_ACEOF
38084 cat confdefs.h >>conftest.$ac_ext
38085 cat >>conftest.$ac_ext <<_ACEOF
38086 /* end confdefs.h. */
38087 $ac_includes_default
38088 typedef off_t ac__type_new_;
38092 if ((ac__type_new_ *) 0)
38094 if (sizeof (ac__type_new_))
38100 rm -f conftest.$ac_objext
38101 if { (ac_try="$ac_compile"
38102 case "(($ac_try" in
38103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38104 *) ac_try_echo=$ac_try;;
38106 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38107 (eval "$ac_compile") 2>conftest.er1
38109 grep -v '^ *+' conftest.er1 >conftest.err
38111 cat conftest.err >&5
38112 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38113 (exit $ac_status); } && {
38114 test -z "$ac_c_werror_flag" ||
38115 test ! -s conftest.err
38116 } && test -s conftest.$ac_objext; then
38117 ac_cv_type_off_t=yes
38119 echo "$as_me: failed program was
:" >&5
38120 sed 's/^/| /' conftest.$ac_ext >&5
38122 ac_cv_type_off_t=no
38125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38127 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
38128 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38129 if test $ac_cv_type_off_t = yes; then
38133 cat >>confdefs.h <<_ACEOF
38134 #define off_t long int
38139 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
38140 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
38141 if test "${ac_cv_type_pid_t+set}" = set; then
38142 echo $ECHO_N "(cached
) $ECHO_C" >&6
38144 cat >conftest.$ac_ext <<_ACEOF
38147 cat confdefs.h >>conftest.$ac_ext
38148 cat >>conftest.$ac_ext <<_ACEOF
38149 /* end confdefs.h. */
38150 $ac_includes_default
38151 typedef pid_t ac__type_new_;
38155 if ((ac__type_new_ *) 0)
38157 if (sizeof (ac__type_new_))
38163 rm -f conftest.$ac_objext
38164 if { (ac_try="$ac_compile"
38165 case "(($ac_try" in
38166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38167 *) ac_try_echo=$ac_try;;
38169 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38170 (eval "$ac_compile") 2>conftest.er1
38172 grep -v '^ *+' conftest.er1 >conftest.err
38174 cat conftest.err >&5
38175 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38176 (exit $ac_status); } && {
38177 test -z "$ac_c_werror_flag" ||
38178 test ! -s conftest.err
38179 } && test -s conftest.$ac_objext; then
38180 ac_cv_type_pid_t=yes
38182 echo "$as_me: failed program was
:" >&5
38183 sed 's/^/| /' conftest.$ac_ext >&5
38185 ac_cv_type_pid_t=no
38188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38190 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
38191 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38192 if test $ac_cv_type_pid_t = yes; then
38196 cat >>confdefs.h <<_ACEOF
38202 { echo "$as_me:$LINENO: checking
for size_t
" >&5
38203 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
38204 if test "${ac_cv_type_size_t+set}" = set; then
38205 echo $ECHO_N "(cached
) $ECHO_C" >&6
38207 cat >conftest.$ac_ext <<_ACEOF
38210 cat confdefs.h >>conftest.$ac_ext
38211 cat >>conftest.$ac_ext <<_ACEOF
38212 /* end confdefs.h. */
38213 $ac_includes_default
38214 typedef size_t ac__type_new_;
38218 if ((ac__type_new_ *) 0)
38220 if (sizeof (ac__type_new_))
38226 rm -f conftest.$ac_objext
38227 if { (ac_try="$ac_compile"
38228 case "(($ac_try" in
38229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38230 *) ac_try_echo=$ac_try;;
38232 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38233 (eval "$ac_compile") 2>conftest.er1
38235 grep -v '^ *+' conftest.er1 >conftest.err
38237 cat conftest.err >&5
38238 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38239 (exit $ac_status); } && {
38240 test -z "$ac_c_werror_flag" ||
38241 test ! -s conftest.err
38242 } && test -s conftest.$ac_objext; then
38243 ac_cv_type_size_t=yes
38245 echo "$as_me: failed program was
:" >&5
38246 sed 's/^/| /' conftest.$ac_ext >&5
38248 ac_cv_type_size_t=no
38251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38253 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
38254 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38255 if test $ac_cv_type_size_t = yes; then
38259 cat >>confdefs.h <<_ACEOF
38260 #define size_t unsigned int
38266 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
38267 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
38268 if test "${ac_cv_type_ssize_t+set}" = set; then
38269 echo $ECHO_N "(cached
) $ECHO_C" >&6
38271 cat >conftest.$ac_ext <<_ACEOF
38274 cat confdefs.h >>conftest.$ac_ext
38275 cat >>conftest.$ac_ext <<_ACEOF
38276 /* end confdefs.h. */
38277 $ac_includes_default
38278 typedef ssize_t ac__type_new_;
38282 if ((ac__type_new_ *) 0)
38284 if (sizeof (ac__type_new_))
38290 rm -f conftest.$ac_objext
38291 if { (ac_try="$ac_compile"
38292 case "(($ac_try" in
38293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38294 *) ac_try_echo=$ac_try;;
38296 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38297 (eval "$ac_compile") 2>conftest.er1
38299 grep -v '^ *+' conftest.er1 >conftest.err
38301 cat conftest.err >&5
38302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38303 (exit $ac_status); } && {
38304 test -z "$ac_c_werror_flag" ||
38305 test ! -s conftest.err
38306 } && test -s conftest.$ac_objext; then
38307 ac_cv_type_ssize_t=yes
38309 echo "$as_me: failed program was
:" >&5
38310 sed 's/^/| /' conftest.$ac_ext >&5
38312 ac_cv_type_ssize_t=no
38315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38317 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
38318 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38319 if test $ac_cv_type_ssize_t = yes; then
38321 cat >>confdefs.h <<_ACEOF
38322 #define HAVE_SSIZE_T 1
38330 ac_cpp='$CXXCPP $CPPFLAGS'
38331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38334 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
38335 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
38336 if test "${wx_cv_size_t_is_uint+set}" = set; then
38337 echo $ECHO_N "(cached
) $ECHO_C" >&6
38340 cat >conftest.$ac_ext <<_ACEOF
38343 cat confdefs.h >>conftest.$ac_ext
38344 cat >>conftest.$ac_ext <<_ACEOF
38345 /* end confdefs.h. */
38346 #include <stddef.h>
38353 struct Foo { void foo(size_t); void foo(unsigned int); };
38361 rm -f conftest.$ac_objext
38362 if { (ac_try="$ac_compile"
38363 case "(($ac_try" in
38364 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38365 *) ac_try_echo=$ac_try;;
38367 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38368 (eval "$ac_compile") 2>conftest.er1
38370 grep -v '^ *+' conftest.er1 >conftest.err
38372 cat conftest.err >&5
38373 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38374 (exit $ac_status); } && {
38375 test -z "$ac_cxx_werror_flag" ||
38376 test ! -s conftest.err
38377 } && test -s conftest.$ac_objext; then
38378 wx_cv_size_t_is_uint=no
38380 echo "$as_me: failed program was
:" >&5
38381 sed 's/^/| /' conftest.$ac_ext >&5
38383 wx_cv_size_t_is_uint=yes
38387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38391 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
38392 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38394 if test "$wx_cv_size_t_is_uint" = "yes"; then
38395 cat >>confdefs.h <<\_ACEOF
38396 #define wxSIZE_T_IS_UINT 1
38400 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
38401 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
38402 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38403 echo $ECHO_N "(cached
) $ECHO_C" >&6
38405 cat >conftest.$ac_ext <<_ACEOF
38408 cat confdefs.h >>conftest.$ac_ext
38409 cat >>conftest.$ac_ext <<_ACEOF
38410 /* end confdefs.h. */
38411 #include <stddef.h>
38418 struct Foo { void foo(size_t); void foo(unsigned long); };
38426 rm -f conftest.$ac_objext
38427 if { (ac_try="$ac_compile"
38428 case "(($ac_try" in
38429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38430 *) ac_try_echo=$ac_try;;
38432 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38433 (eval "$ac_compile") 2>conftest.er1
38435 grep -v '^ *+' conftest.er1 >conftest.err
38437 cat conftest.err >&5
38438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38439 (exit $ac_status); } && {
38440 test -z "$ac_cxx_werror_flag" ||
38441 test ! -s conftest.err
38442 } && test -s conftest.$ac_objext; then
38443 wx_cv_size_t_is_ulong=no
38445 echo "$as_me: failed program was
:" >&5
38446 sed 's/^/| /' conftest.$ac_ext >&5
38448 wx_cv_size_t_is_ulong=yes
38452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38455 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
38456 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38458 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38459 cat >>confdefs.h <<\_ACEOF
38460 #define wxSIZE_T_IS_ULONG 1
38466 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
38467 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
38468 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38469 echo $ECHO_N "(cached
) $ECHO_C" >&6
38471 cat >conftest.$ac_ext <<_ACEOF
38474 cat confdefs.h >>conftest.$ac_ext
38475 cat >>conftest.$ac_ext <<_ACEOF
38476 /* end confdefs.h. */
38484 struct Foo { void foo(wchar_t);
38485 void foo(unsigned short);
38486 void foo(unsigned int);
38487 void foo(unsigned long); };
38495 rm -f conftest.$ac_objext
38496 if { (ac_try="$ac_compile"
38497 case "(($ac_try" in
38498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38499 *) ac_try_echo=$ac_try;;
38501 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38502 (eval "$ac_compile") 2>conftest.er1
38504 grep -v '^ *+' conftest.er1 >conftest.err
38506 cat conftest.err >&5
38507 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38508 (exit $ac_status); } && {
38509 test -z "$ac_cxx_werror_flag" ||
38510 test ! -s conftest.err
38511 } && test -s conftest.$ac_objext; then
38512 wx_cv_wchar_t_is_separate_type=yes
38514 echo "$as_me: failed program was
:" >&5
38515 sed 's/^/| /' conftest.$ac_ext >&5
38517 wx_cv_wchar_t_is_separate_type=no
38521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38524 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
38525 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38527 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38528 cat >>confdefs.h <<\_ACEOF
38529 #define wxWCHAR_T_IS_REAL_TYPE 1
38533 cat >>confdefs.h <<\_ACEOF
38534 #define wxWCHAR_T_IS_REAL_TYPE 0
38540 ac_cpp='$CPP $CPPFLAGS'
38541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38546 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
38547 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
38548 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38549 echo $ECHO_N "(cached
) $ECHO_C" >&6
38552 cat >conftest.$ac_ext <<_ACEOF
38555 cat confdefs.h >>conftest.$ac_ext
38556 cat >>conftest.$ac_ext <<_ACEOF
38557 /* end confdefs.h. */
38571 rm -f conftest.$ac_objext
38572 if { (ac_try="$ac_compile"
38573 case "(($ac_try" in
38574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38575 *) ac_try_echo=$ac_try;;
38577 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38578 (eval "$ac_compile") 2>conftest.er1
38580 grep -v '^ *+' conftest.er1 >conftest.err
38582 cat conftest.err >&5
38583 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38584 (exit $ac_status); } && {
38585 test -z "$ac_c_werror_flag" ||
38586 test ! -s conftest.err
38587 } && test -s conftest.$ac_objext; then
38589 wx_cv_struct_pw_gecos=yes
38592 echo "$as_me: failed program was
:" >&5
38593 sed 's/^/| /' conftest.$ac_ext >&5
38596 wx_cv_struct_pw_gecos=no
38601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38605 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
38606 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38608 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38609 cat >>confdefs.h <<\_ACEOF
38610 #define HAVE_PW_GECOS 1
38619 for ac_func in wcslen
38621 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38622 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38623 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38624 if { as_var=$as_ac_var; eval "test \"\
${$as_var+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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38635 #define $ac_func innocuous_$ac_func
38637 /* System header to define __stub macros and hopefully few prototypes,
38638 which can conflict with char $ac_func (); below.
38639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38640 <limits.h> exists even on freestanding compilers. */
38643 # include <limits.h>
38645 # include <assert.h>
38650 /* Override any GCC internal prototype to avoid an error.
38651 Use char because int might match the return type of a GCC
38652 builtin and then its argument prototype would still apply. */
38657 /* The GNU C library defines this for functions which it implements
38658 to always fail with ENOSYS. Some functions are actually named
38659 something starting with __ and the normal name is an alias. */
38660 #if defined __stub_$ac_func || defined __stub___$ac_func
38667 return $ac_func ();
38672 rm -f conftest.$ac_objext conftest$ac_exeext
38673 if { (ac_try="$ac_link"
38674 case "(($ac_try" in
38675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38676 *) ac_try_echo=$ac_try;;
38678 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38679 (eval "$ac_link") 2>conftest.er1
38681 grep -v '^ *+' conftest.er1 >conftest.err
38683 cat conftest.err >&5
38684 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38685 (exit $ac_status); } && {
38686 test -z "$ac_c_werror_flag" ||
38687 test ! -s conftest.err
38688 } && test -s conftest$ac_exeext &&
38689 $as_test_x conftest$ac_exeext; then
38690 eval "$as_ac_var=yes"
38692 echo "$as_me: failed program was
:" >&5
38693 sed 's/^/| /' conftest.$ac_ext >&5
38695 eval "$as_ac_var=no
"
38698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38699 conftest$ac_exeext conftest.$ac_ext
38701 ac_res=`eval echo '${'$as_ac_var'}'`
38702 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38703 echo "${ECHO_T}$ac_res" >&6; }
38704 if test `eval echo '${'$as_ac_var'}'` = yes; then
38705 cat >>confdefs.h <<_ACEOF
38706 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38713 if test "$WCSLEN_FOUND" = 0; then
38714 if test "$TOOLKIT" = "MSW
"; then
38715 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
38716 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
38717 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38718 echo $ECHO_N "(cached
) $ECHO_C" >&6
38720 ac_check_lib_save_LIBS=$LIBS
38721 LIBS="-lmsvcrt $LIBS"
38722 cat >conftest.$ac_ext <<_ACEOF
38725 cat confdefs.h >>conftest.$ac_ext
38726 cat >>conftest.$ac_ext <<_ACEOF
38727 /* end confdefs.h. */
38729 /* Override any GCC internal prototype to avoid an error.
38730 Use char because int might match the return type of a GCC
38731 builtin and then its argument prototype would still apply. */
38744 rm -f conftest.$ac_objext conftest$ac_exeext
38745 if { (ac_try="$ac_link"
38746 case "(($ac_try" in
38747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38748 *) ac_try_echo=$ac_try;;
38750 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38751 (eval "$ac_link") 2>conftest.er1
38753 grep -v '^ *+' conftest.er1 >conftest.err
38755 cat conftest.err >&5
38756 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38757 (exit $ac_status); } && {
38758 test -z "$ac_c_werror_flag" ||
38759 test ! -s conftest.err
38760 } && test -s conftest$ac_exeext &&
38761 $as_test_x conftest$ac_exeext; then
38762 ac_cv_lib_msvcrt_wcslen=yes
38764 echo "$as_me: failed program was
:" >&5
38765 sed 's/^/| /' conftest.$ac_ext >&5
38767 ac_cv_lib_msvcrt_wcslen=no
38770 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38771 conftest$ac_exeext conftest.$ac_ext
38772 LIBS=$ac_check_lib_save_LIBS
38774 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
38775 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38776 if test $ac_cv_lib_msvcrt_wcslen = yes; then
38781 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
38782 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
38783 if test "${ac_cv_lib_w_wcslen+set}" = set; then
38784 echo $ECHO_N "(cached
) $ECHO_C" >&6
38786 ac_check_lib_save_LIBS=$LIBS
38788 cat >conftest.$ac_ext <<_ACEOF
38791 cat confdefs.h >>conftest.$ac_ext
38792 cat >>conftest.$ac_ext <<_ACEOF
38793 /* end confdefs.h. */
38795 /* Override any GCC internal prototype to avoid an error.
38796 Use char because int might match the return type of a GCC
38797 builtin and then its argument prototype would still apply. */
38810 rm -f conftest.$ac_objext conftest$ac_exeext
38811 if { (ac_try="$ac_link"
38812 case "(($ac_try" in
38813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38814 *) ac_try_echo=$ac_try;;
38816 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38817 (eval "$ac_link") 2>conftest.er1
38819 grep -v '^ *+' conftest.er1 >conftest.err
38821 cat conftest.err >&5
38822 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38823 (exit $ac_status); } && {
38824 test -z "$ac_c_werror_flag" ||
38825 test ! -s conftest.err
38826 } && test -s conftest$ac_exeext &&
38827 $as_test_x conftest$ac_exeext; then
38828 ac_cv_lib_w_wcslen=yes
38830 echo "$as_me: failed program was
:" >&5
38831 sed 's/^/| /' conftest.$ac_ext >&5
38833 ac_cv_lib_w_wcslen=no
38836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38837 conftest$ac_exeext conftest.$ac_ext
38838 LIBS=$ac_check_lib_save_LIBS
38840 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
38841 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
38842 if test $ac_cv_lib_w_wcslen = yes; then
38852 if test "$WCSLEN_FOUND" = 1; then
38853 cat >>confdefs.h <<\_ACEOF
38854 #define HAVE_WCSLEN 1
38865 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
38867 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38868 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38869 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38870 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38871 echo $ECHO_N "(cached
) $ECHO_C" >&6
38873 cat >conftest.$ac_ext <<_ACEOF
38876 cat confdefs.h >>conftest.$ac_ext
38877 cat >>conftest.$ac_ext <<_ACEOF
38878 /* end confdefs.h. */
38879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38881 #define $ac_func innocuous_$ac_func
38883 /* System header to define __stub macros and hopefully few prototypes,
38884 which can conflict with char $ac_func (); below.
38885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38886 <limits.h> exists even on freestanding compilers. */
38889 # include <limits.h>
38891 # include <assert.h>
38896 /* Override any GCC internal prototype to avoid an error.
38897 Use char because int might match the return type of a GCC
38898 builtin and then its argument prototype would still apply. */
38903 /* The GNU C library defines this for functions which it implements
38904 to always fail with ENOSYS. Some functions are actually named
38905 something starting with __ and the normal name is an alias. */
38906 #if defined __stub_$ac_func || defined __stub___$ac_func
38913 return $ac_func ();
38918 rm -f conftest.$ac_objext conftest$ac_exeext
38919 if { (ac_try="$ac_link"
38920 case "(($ac_try" in
38921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38922 *) ac_try_echo=$ac_try;;
38924 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38925 (eval "$ac_link") 2>conftest.er1
38927 grep -v '^ *+' conftest.er1 >conftest.err
38929 cat conftest.err >&5
38930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38931 (exit $ac_status); } && {
38932 test -z "$ac_c_werror_flag" ||
38933 test ! -s conftest.err
38934 } && test -s conftest$ac_exeext &&
38935 $as_test_x conftest$ac_exeext; then
38936 eval "$as_ac_var=yes"
38938 echo "$as_me: failed program was
:" >&5
38939 sed 's/^/| /' conftest.$ac_ext >&5
38941 eval "$as_ac_var=no
"
38944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38945 conftest$ac_exeext conftest.$ac_ext
38947 ac_res=`eval echo '${'$as_ac_var'}'`
38948 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38949 echo "${ECHO_T}$ac_res" >&6; }
38950 if test `eval echo '${'$as_ac_var'}'` = yes; then
38951 cat >>confdefs.h <<_ACEOF
38952 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38959 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
38960 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
38963 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
38964 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
38965 if test "${ac_cv_type_mbstate_t+set}" = set; then
38966 echo $ECHO_N "(cached
) $ECHO_C" >&6
38968 cat >conftest.$ac_ext <<_ACEOF
38971 cat confdefs.h >>conftest.$ac_ext
38972 cat >>conftest.$ac_ext <<_ACEOF
38973 /* end confdefs.h. */
38976 typedef mbstate_t ac__type_new_;
38980 if ((ac__type_new_ *) 0)
38982 if (sizeof (ac__type_new_))
38988 rm -f conftest.$ac_objext
38989 if { (ac_try="$ac_compile"
38990 case "(($ac_try" in
38991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38992 *) ac_try_echo=$ac_try;;
38994 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38995 (eval "$ac_compile") 2>conftest.er1
38997 grep -v '^ *+' conftest.er1 >conftest.err
38999 cat conftest.err >&5
39000 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39001 (exit $ac_status); } && {
39002 test -z "$ac_c_werror_flag" ||
39003 test ! -s conftest.err
39004 } && test -s conftest.$ac_objext; then
39005 ac_cv_type_mbstate_t=yes
39007 echo "$as_me: failed program was
:" >&5
39008 sed 's/^/| /' conftest.$ac_ext >&5
39010 ac_cv_type_mbstate_t=no
39013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39015 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
39016 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
39017 if test $ac_cv_type_mbstate_t = yes; then
39019 cat >>confdefs.h <<_ACEOF
39020 #define HAVE_MBSTATE_T 1
39024 for ac_func in wcsrtombs
39026 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
39027 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
39028 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
39029 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
39030 echo $ECHO_N "(cached
) $ECHO_C" >&6
39032 cat >conftest.$ac_ext <<_ACEOF
39035 cat confdefs.h >>conftest.$ac_ext
39036 cat >>conftest.$ac_ext <<_ACEOF
39037 /* end confdefs.h. */
39038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39040 #define $ac_func innocuous_$ac_func
39042 /* System header to define __stub macros and hopefully few prototypes,
39043 which can conflict with char $ac_func (); below.
39044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39045 <limits.h> exists even on freestanding compilers. */
39048 # include <limits.h>
39050 # include <assert.h>
39055 /* Override any GCC internal prototype to avoid an error.
39056 Use char because int might match the return type of a GCC
39057 builtin and then its argument prototype would still apply. */
39062 /* The GNU C library defines this for functions which it implements
39063 to always fail with ENOSYS. Some functions are actually named
39064 something starting with __ and the normal name is an alias. */
39065 #if defined __stub_$ac_func || defined __stub___$ac_func
39072 return $ac_func ();
39077 rm -f conftest.$ac_objext conftest$ac_exeext
39078 if { (ac_try="$ac_link"
39079 case "(($ac_try" in
39080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39081 *) ac_try_echo=$ac_try;;
39083 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39084 (eval "$ac_link") 2>conftest.er1
39086 grep -v '^ *+' conftest.er1 >conftest.err
39088 cat conftest.err >&5
39089 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39090 (exit $ac_status); } && {
39091 test -z "$ac_c_werror_flag" ||
39092 test ! -s conftest.err
39093 } && test -s conftest$ac_exeext &&
39094 $as_test_x conftest$ac_exeext; then
39095 eval "$as_ac_var=yes"
39097 echo "$as_me: failed program was
:" >&5
39098 sed 's/^/| /' conftest.$ac_ext >&5
39100 eval "$as_ac_var=no
"
39103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39104 conftest$ac_exeext conftest.$ac_ext
39106 ac_res=`eval echo '${'$as_ac_var'}'`
39107 { echo "$as_me:$LINENO: result
: $ac_res" >&5
39108 echo "${ECHO_T}$ac_res" >&6; }
39109 if test `eval echo '${'$as_ac_var'}'` = yes; then
39110 cat >>confdefs.h <<_ACEOF
39111 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
39123 for ac_func in snprintf vsnprintf vsscanf
39125 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
39126 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
39127 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
39128 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
39129 echo $ECHO_N "(cached
) $ECHO_C" >&6
39131 cat >conftest.$ac_ext <<_ACEOF
39134 cat confdefs.h >>conftest.$ac_ext
39135 cat >>conftest.$ac_ext <<_ACEOF
39136 /* end confdefs.h. */
39137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39138 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39139 #define $ac_func innocuous_$ac_func
39141 /* System header to define __stub macros and hopefully few prototypes,
39142 which can conflict with char $ac_func (); below.
39143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39144 <limits.h> exists even on freestanding compilers. */
39147 # include <limits.h>
39149 # include <assert.h>
39154 /* Override any GCC internal prototype to avoid an error.
39155 Use char because int might match the return type of a GCC
39156 builtin and then its argument prototype would still apply. */
39161 /* The GNU C library defines this for functions which it implements
39162 to always fail with ENOSYS. Some functions are actually named
39163 something starting with __ and the normal name is an alias. */
39164 #if defined __stub_$ac_func || defined __stub___$ac_func
39171 return $ac_func ();
39176 rm -f conftest.$ac_objext conftest$ac_exeext
39177 if { (ac_try="$ac_link"
39178 case "(($ac_try" in
39179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39180 *) ac_try_echo=$ac_try;;
39182 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39183 (eval "$ac_link") 2>conftest.er1
39185 grep -v '^ *+' conftest.er1 >conftest.err
39187 cat conftest.err >&5
39188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39189 (exit $ac_status); } && {
39190 test -z "$ac_c_werror_flag" ||
39191 test ! -s conftest.err
39192 } && test -s conftest$ac_exeext &&
39193 $as_test_x conftest$ac_exeext; then
39194 eval "$as_ac_var=yes"
39196 echo "$as_me: failed program was
:" >&5
39197 sed 's/^/| /' conftest.$ac_ext >&5
39199 eval "$as_ac_var=no
"
39202 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39203 conftest$ac_exeext conftest.$ac_ext
39205 ac_res=`eval echo '${'$as_ac_var'}'`
39206 { echo "$as_me:$LINENO: result
: $ac_res" >&5
39207 echo "${ECHO_T}$ac_res" >&6; }
39208 if test `eval echo '${'$as_ac_var'}'` = yes; then
39209 cat >>confdefs.h <<_ACEOF
39210 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
39218 ac_cpp='$CXXCPP $CPPFLAGS'
39219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39223 if test "$ac_cv_func_vsnprintf" = "yes"; then
39224 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
39225 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
39226 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39227 echo $ECHO_N "(cached
) $ECHO_C" >&6
39230 cat >conftest.$ac_ext <<_ACEOF
39233 cat confdefs.h >>conftest.$ac_ext
39234 cat >>conftest.$ac_ext <<_ACEOF
39235 /* end confdefs.h. */
39238 #include <stdarg.h>
39240 #if __MSL__ >= 0x6000
39242 using namespace std;
39252 vsnprintf(buf, 10u, "%s
", ap);
39258 rm -f conftest.$ac_objext
39259 if { (ac_try="$ac_compile"
39260 case "(($ac_try" in
39261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39262 *) ac_try_echo=$ac_try;;
39264 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39265 (eval "$ac_compile") 2>conftest.er1
39267 grep -v '^ *+' conftest.er1 >conftest.err
39269 cat conftest.err >&5
39270 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39271 (exit $ac_status); } && {
39272 test -z "$ac_cxx_werror_flag" ||
39273 test ! -s conftest.err
39274 } && test -s conftest.$ac_objext; then
39275 wx_cv_func_vsnprintf_decl=yes
39277 echo "$as_me: failed program was
:" >&5
39278 sed 's/^/| /' conftest.$ac_ext >&5
39280 wx_cv_func_vsnprintf_decl=no
39284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39288 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
39289 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39291 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39292 cat >>confdefs.h <<\_ACEOF
39293 #define HAVE_VSNPRINTF_DECL 1
39297 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
39298 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
39299 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39300 echo $ECHO_N "(cached
) $ECHO_C" >&6
39303 cat >conftest.$ac_ext <<_ACEOF
39306 cat confdefs.h >>conftest.$ac_ext
39307 cat >>conftest.$ac_ext <<_ACEOF
39308 /* end confdefs.h. */
39311 #include <stdarg.h>
39313 #if __MSL__ >= 0x6000
39315 using namespace std;
39325 const char *fmt = "%s
";
39326 vsnprintf(buf, 10u, fmt, ap);
39332 rm -f conftest.$ac_objext
39333 if { (ac_try="$ac_compile"
39334 case "(($ac_try" in
39335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39336 *) ac_try_echo=$ac_try;;
39338 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39339 (eval "$ac_compile") 2>conftest.er1
39341 grep -v '^ *+' conftest.er1 >conftest.err
39343 cat conftest.err >&5
39344 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39345 (exit $ac_status); } && {
39346 test -z "$ac_cxx_werror_flag" ||
39347 test ! -s conftest.err
39348 } && test -s conftest.$ac_objext; then
39349 wx_cv_func_broken_vsnprintf_decl=no
39351 echo "$as_me: failed program was
:" >&5
39352 sed 's/^/| /' conftest.$ac_ext >&5
39354 wx_cv_func_broken_vsnprintf_decl=yes
39358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39362 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
39363 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39365 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39366 cat >>confdefs.h <<\_ACEOF
39367 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39374 if test "$ac_cv_func_snprintf" = "yes"; then
39375 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
39376 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
39377 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39378 echo $ECHO_N "(cached
) $ECHO_C" >&6
39381 cat >conftest.$ac_ext <<_ACEOF
39384 cat confdefs.h >>conftest.$ac_ext
39385 cat >>conftest.$ac_ext <<_ACEOF
39386 /* end confdefs.h. */
39389 #include <stdarg.h>
39391 #if __MSL__ >= 0x6000
39393 using namespace std;
39402 snprintf(buf, 10u, "%s
", "wx
");
39408 rm -f conftest.$ac_objext
39409 if { (ac_try="$ac_compile"
39410 case "(($ac_try" in
39411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39412 *) ac_try_echo=$ac_try;;
39414 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39415 (eval "$ac_compile") 2>conftest.er1
39417 grep -v '^ *+' conftest.er1 >conftest.err
39419 cat conftest.err >&5
39420 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39421 (exit $ac_status); } && {
39422 test -z "$ac_cxx_werror_flag" ||
39423 test ! -s conftest.err
39424 } && test -s conftest.$ac_objext; then
39425 wx_cv_func_snprintf_decl=yes
39427 echo "$as_me: failed program was
:" >&5
39428 sed 's/^/| /' conftest.$ac_ext >&5
39430 wx_cv_func_snprintf_decl=no
39434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39438 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
39439 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39441 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39442 cat >>confdefs.h <<\_ACEOF
39443 #define HAVE_SNPRINTF_DECL 1
39448 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39450 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
39451 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
39452 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39453 echo $ECHO_N "(cached
) $ECHO_C" >&6
39456 if test "$cross_compiling" = yes; then
39458 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
39459 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
39460 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
39461 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
39462 wx_cv_func_snprintf_pos_params=no
39466 cat >conftest.$ac_ext <<_ACEOF
39469 cat confdefs.h >>conftest.$ac_ext
39470 cat >>conftest.$ac_ext <<_ACEOF
39471 /* end confdefs.h. */
39478 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39479 if (strcmp ("2 3 1", buffer) == 0)
39485 rm -f conftest$ac_exeext
39486 if { (ac_try="$ac_link"
39487 case "(($ac_try" in
39488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39489 *) ac_try_echo=$ac_try;;
39491 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39492 (eval "$ac_link") 2>&5
39494 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39496 { (case "(($ac_try" in
39497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39498 *) ac_try_echo=$ac_try;;
39500 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39501 (eval "$ac_try") 2>&5
39503 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39504 (exit $ac_status); }; }; then
39505 wx_cv_func_snprintf_pos_params=no
39507 echo "$as_me: program exited with status
$ac_status" >&5
39508 echo "$as_me: failed program was
:" >&5
39509 sed 's/^/| /' conftest.$ac_ext >&5
39511 ( exit $ac_status )
39512 wx_cv_func_snprintf_pos_params=yes
39514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39521 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
39522 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39524 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39525 cat >>confdefs.h <<\_ACEOF
39526 #define HAVE_UNIX98_PRINTF 1
39533 if test "$ac_cv_func_vsscanf" = "yes"; then
39534 { echo "$as_me:$LINENO: checking
for vsscanf declaration
" >&5
39535 echo $ECHO_N "checking
for vsscanf declaration...
$ECHO_C" >&6; }
39536 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39537 echo $ECHO_N "(cached
) $ECHO_C" >&6
39540 cat >conftest.$ac_ext <<_ACEOF
39543 cat confdefs.h >>conftest.$ac_ext
39544 cat >>conftest.$ac_ext <<_ACEOF
39545 /* end confdefs.h. */
39548 #include <stdarg.h>
39550 #if __MSL__ >= 0x6000
39552 using namespace std;
39562 vsscanf(buf, "%s
", args);
39568 rm -f conftest.$ac_objext
39569 if { (ac_try="$ac_compile"
39570 case "(($ac_try" in
39571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39572 *) ac_try_echo=$ac_try;;
39574 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39575 (eval "$ac_compile") 2>conftest.er1
39577 grep -v '^ *+' conftest.er1 >conftest.err
39579 cat conftest.err >&5
39580 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39581 (exit $ac_status); } && {
39582 test -z "$ac_cxx_werror_flag" ||
39583 test ! -s conftest.err
39584 } && test -s conftest.$ac_objext; then
39585 wx_cv_func_vsscanf_decl=yes
39587 echo "$as_me: failed program was
:" >&5
39588 sed 's/^/| /' conftest.$ac_ext >&5
39590 wx_cv_func_vsscanf_decl=no
39594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39598 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsscanf_decl" >&5
39599 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39601 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39602 cat >>confdefs.h <<\_ACEOF
39603 #define HAVE_VSSCANF_DECL 1
39609 ac_cpp='$CPP $CPPFLAGS'
39610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39615 if test "$wxUSE_UNICODE" = yes; then
39617 wchar_headers="#include <stdio.h>
39618 #include <wchar.h>"
39622 for ac_header
in widec.h
39624 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39625 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39627 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39628 echo $ECHO_N "(cached) $ECHO_C" >&6
39630 cat >conftest.
$ac_ext <<_ACEOF
39633 cat confdefs.h
>>conftest.
$ac_ext
39634 cat >>conftest.
$ac_ext <<_ACEOF
39635 /* end confdefs.h. */
39636 $ac_includes_default
39638 #include <$ac_header>
39640 rm -f conftest.
$ac_objext
39641 if { (ac_try
="$ac_compile"
39642 case "(($ac_try" in
39643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39644 *) ac_try_echo=$ac_try;;
39646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39647 (eval "$ac_compile") 2>conftest.er1
39649 grep -v '^ *+' conftest.er1 >conftest.err
39651 cat conftest.err >&5
39652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39653 (exit $ac_status); } && {
39654 test -z "$ac_c_werror_flag" ||
39655 test ! -s conftest.err
39656 } && test -s conftest.$ac_objext; then
39657 eval "$as_ac_Header=yes"
39659 echo "$as_me: failed program was:" >&5
39660 sed 's/^/| /' conftest.$ac_ext >&5
39662 eval "$as_ac_Header=no"
39665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39667 ac_res=`eval echo '${'$as_ac_Header'}'`
39668 { echo "$as_me:$LINENO: result: $ac_res" >&5
39669 echo "${ECHO_T}$ac_res" >&6; }
39670 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39671 cat >>confdefs.h <<_ACEOF
39672 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39679 if test "$ac_cv_header_widec_h" = "yes"; then
39680 wchar_headers="$wchar_headers
39681 #include <widec.h>"
39686 for wx_func in putws fputws wprintf vswprintf vswscanf
39688 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39689 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39690 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39691 echo $ECHO_N "(cached) $ECHO_C" >&6
39694 cat >conftest.$ac_ext <<_ACEOF
39698 cat confdefs.h >>conftest.$ac_ext
39699 cat >>conftest.$ac_ext <<_ACEOF
39700 /* end confdefs.h. */
39703 $ac_includes_default
39719 rm -f conftest.$ac_objext conftest$ac_exeext
39720 if { (ac_try="$ac_link"
39721 case "(($ac_try" in
39722 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39723 *) ac_try_echo
=$ac_try;;
39725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39726 (eval "$ac_link") 2>conftest.er1
39728 grep -v '^ *+' conftest.er1
>conftest.err
39730 cat conftest.err
>&5
39731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732 (exit $ac_status); } && {
39733 test -z "$ac_c_werror_flag" ||
39734 test ! -s conftest.err
39735 } && test -s conftest
$ac_exeext &&
39736 $as_test_x conftest
$ac_exeext; then
39737 eval wx_cv_func_
$wx_func=yes
39739 echo "$as_me: failed program was:" >&5
39740 sed 's/^/| /' conftest.
$ac_ext >&5
39742 eval wx_cv_func_
$wx_func=no
39745 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39746 conftest
$ac_exeext conftest.
$ac_ext
39749 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39750 { echo "$as_me:$LINENO: result: $ac_res" >&5
39751 echo "${ECHO_T}$ac_res" >&6; }
39753 if eval test \
$wx_cv_func_$wx_func = yes
39755 cat >>confdefs.h
<<_ACEOF
39756 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39767 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39768 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39769 cat >conftest.
$ac_ext <<_ACEOF
39772 cat confdefs.h
>>conftest.
$ac_ext
39773 cat >>conftest.
$ac_ext <<_ACEOF
39774 /* end confdefs.h. */
39784 rm -f conftest.
$ac_objext
39785 if { (ac_try
="$ac_compile"
39786 case "(($ac_try" in
39787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39788 *) ac_try_echo=$ac_try;;
39790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39791 (eval "$ac_compile") 2>conftest.er1
39793 grep -v '^ *+' conftest.er1 >conftest.err
39795 cat conftest.err >&5
39796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797 (exit $ac_status); } && {
39798 test -z "$ac_c_werror_flag" ||
39799 test ! -s conftest.err
39800 } && test -s conftest.$ac_objext; then
39801 { echo "$as_me:$LINENO: result: yes" >&5
39802 echo "${ECHO_T}yes" >&6; }
39803 cat >>confdefs.h <<\_ACEOF
39804 #define HAVE__VSNWPRINTF 1
39808 echo "$as_me: failed program was:" >&5
39809 sed 's/^/| /' conftest.$ac_ext >&5
39811 { echo "$as_me:$LINENO: result: no" >&5
39812 echo "${ECHO_T}no" >&6; }
39815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39818 if test "$wxUSE_FILE" = "yes"; then
39820 for wx_func in fsync
39822 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39823 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39824 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39825 echo $ECHO_N "(cached) $ECHO_C" >&6
39828 cat >conftest.$ac_ext <<_ACEOF
39832 cat confdefs.h >>conftest.$ac_ext
39833 cat >>conftest.$ac_ext <<_ACEOF
39834 /* end confdefs.h. */
39837 $ac_includes_default
39853 rm -f conftest.$ac_objext conftest$ac_exeext
39854 if { (ac_try="$ac_link"
39855 case "(($ac_try" in
39856 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39857 *) ac_try_echo
=$ac_try;;
39859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39860 (eval "$ac_link") 2>conftest.er1
39862 grep -v '^ *+' conftest.er1
>conftest.err
39864 cat conftest.err
>&5
39865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39866 (exit $ac_status); } && {
39867 test -z "$ac_c_werror_flag" ||
39868 test ! -s conftest.err
39869 } && test -s conftest
$ac_exeext &&
39870 $as_test_x conftest
$ac_exeext; then
39871 eval wx_cv_func_
$wx_func=yes
39873 echo "$as_me: failed program was:" >&5
39874 sed 's/^/| /' conftest.
$ac_ext >&5
39876 eval wx_cv_func_
$wx_func=no
39879 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39880 conftest
$ac_exeext conftest.
$ac_ext
39883 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39884 { echo "$as_me:$LINENO: result: $ac_res" >&5
39885 echo "${ECHO_T}$ac_res" >&6; }
39887 if eval test \
$wx_cv_func_$wx_func = yes
39889 cat >>confdefs.h
<<_ACEOF
39890 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39903 ac_cpp
='$CXXCPP $CPPFLAGS'
39904 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39905 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39906 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39909 for wx_func
in round
39911 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39912 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39913 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39914 echo $ECHO_N "(cached) $ECHO_C" >&6
39917 cat >conftest.
$ac_ext <<_ACEOF
39921 cat confdefs.h
>>conftest.
$ac_ext
39922 cat >>conftest.
$ac_ext <<_ACEOF
39923 /* end confdefs.h. */
39926 $ac_includes_default
39942 rm -f conftest.
$ac_objext conftest
$ac_exeext
39943 if { (ac_try
="$ac_link"
39944 case "(($ac_try" in
39945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39946 *) ac_try_echo=$ac_try;;
39948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39949 (eval "$ac_link") 2>conftest.er1
39951 grep -v '^ *+' conftest.er1 >conftest.err
39953 cat conftest.err >&5
39954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39955 (exit $ac_status); } && {
39956 test -z "$ac_cxx_werror_flag" ||
39957 test ! -s conftest.err
39958 } && test -s conftest$ac_exeext &&
39959 $as_test_x conftest$ac_exeext; then
39960 eval wx_cv_func_$wx_func=yes
39962 echo "$as_me: failed program was:" >&5
39963 sed 's/^/| /' conftest.$ac_ext >&5
39965 eval wx_cv_func_$wx_func=no
39968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39969 conftest$ac_exeext conftest.$ac_ext
39972 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39973 { echo "$as_me:$LINENO: result: $ac_res" >&5
39974 echo "${ECHO_T}$ac_res" >&6; }
39976 if eval test \$wx_cv_func_$wx_func = yes
39978 cat >>confdefs.h <<_ACEOF
39979 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39990 ac_cpp='$CPP $CPPFLAGS'
39991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39996 if test "$TOOLKIT" != "MSW"; then
39998 if test "$wxUSE_LIBICONV" != "no" ; then
40002 # Check whether --with-libiconv-prefix was given.
40003 if test "${with_libiconv_prefix+set}" = set; then
40004 withval=$with_libiconv_prefix;
40005 for dir in `echo "$withval" | tr : ' '`; do
40006 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
40007 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
40013 { echo "$as_me:$LINENO: checking for iconv" >&5
40014 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
40015 if test "${am_cv_func_iconv+set}" = set; then
40016 echo $ECHO_N "(cached) $ECHO_C" >&6
40019 am_cv_func_iconv="no, consider installing GNU libiconv"
40021 cat >conftest.$ac_ext <<_ACEOF
40024 cat confdefs.h >>conftest.$ac_ext
40025 cat >>conftest.$ac_ext <<_ACEOF
40026 /* end confdefs.h. */
40027 #include <stdlib.h>
40032 iconv_t cd = iconv_open("","");
40033 iconv(cd,NULL,NULL,NULL,NULL);
40039 rm -f conftest.$ac_objext conftest$ac_exeext
40040 if { (ac_try="$ac_link"
40041 case "(($ac_try" in
40042 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40043 *) ac_try_echo
=$ac_try;;
40045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40046 (eval "$ac_link") 2>conftest.er1
40048 grep -v '^ *+' conftest.er1
>conftest.err
40050 cat conftest.err
>&5
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); } && {
40053 test -z "$ac_c_werror_flag" ||
40054 test ! -s conftest.err
40055 } && test -s conftest
$ac_exeext &&
40056 $as_test_x conftest
$ac_exeext; then
40057 am_cv_func_iconv
=yes
40059 echo "$as_me: failed program was:" >&5
40060 sed 's/^/| /' conftest.
$ac_ext >&5
40065 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40066 conftest
$ac_exeext conftest.
$ac_ext
40067 if test "$am_cv_func_iconv" != yes; then
40068 am_save_LIBS
="$LIBS"
40069 LIBS
="$LIBS -liconv"
40070 cat >conftest.
$ac_ext <<_ACEOF
40073 cat confdefs.h
>>conftest.
$ac_ext
40074 cat >>conftest.
$ac_ext <<_ACEOF
40075 /* end confdefs.h. */
40076 #include <stdlib.h>
40081 iconv_t cd = iconv_open("","");
40082 iconv(cd,NULL,NULL,NULL,NULL);
40088 rm -f conftest.
$ac_objext conftest
$ac_exeext
40089 if { (ac_try
="$ac_link"
40090 case "(($ac_try" in
40091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40092 *) ac_try_echo=$ac_try;;
40094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40095 (eval "$ac_link") 2>conftest.er1
40097 grep -v '^ *+' conftest.er1 >conftest.err
40099 cat conftest.err >&5
40100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40101 (exit $ac_status); } && {
40102 test -z "$ac_c_werror_flag" ||
40103 test ! -s conftest.err
40104 } && test -s conftest$ac_exeext &&
40105 $as_test_x conftest$ac_exeext; then
40106 am_cv_lib_iconv=yes
40107 am_cv_func_iconv=yes
40109 echo "$as_me: failed program was:" >&5
40110 sed 's/^/| /' conftest.$ac_ext >&5
40115 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40116 conftest$ac_exeext conftest.$ac_ext
40117 LIBS="$am_save_LIBS"
40121 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40122 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40123 if test "$am_cv_func_iconv" = yes; then
40125 cat >>confdefs.h <<\_ACEOF
40126 #define HAVE_ICONV 1
40129 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40130 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40131 if test "${wx_cv_func_iconv_const+set}" = set; then
40132 echo $ECHO_N "(cached) $ECHO_C" >&6
40134 cat >conftest.$ac_ext <<_ACEOF
40137 cat confdefs.h >>conftest.$ac_ext
40138 cat >>conftest.$ac_ext <<_ACEOF
40139 /* end confdefs.h. */
40141 #include <stdlib.h>
40147 #if defined(__STDC__) || defined(__cplusplus)
40148 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40161 rm -f conftest.$ac_objext
40162 if { (ac_try="$ac_compile"
40163 case "(($ac_try" in
40164 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40165 *) ac_try_echo
=$ac_try;;
40167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40168 (eval "$ac_compile") 2>conftest.er1
40170 grep -v '^ *+' conftest.er1
>conftest.err
40172 cat conftest.err
>&5
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); } && {
40175 test -z "$ac_c_werror_flag" ||
40176 test ! -s conftest.err
40177 } && test -s conftest.
$ac_objext; then
40178 wx_cv_func_iconv_const
="no"
40180 echo "$as_me: failed program was:" >&5
40181 sed 's/^/| /' conftest.
$ac_ext >&5
40183 wx_cv_func_iconv_const
="yes"
40187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40190 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40191 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40194 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40195 iconv_const
="const"
40199 cat >>confdefs.h
<<_ACEOF
40200 #define ICONV_CONST $iconv_const
40205 if test "$am_cv_lib_iconv" = yes; then
40210 LIBS
="$LIBICONV $LIBS"
40213 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40215 for ac_func
in sigaction
40217 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40218 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40220 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40221 echo $ECHO_N "(cached) $ECHO_C" >&6
40223 cat >conftest.
$ac_ext <<_ACEOF
40226 cat confdefs.h
>>conftest.
$ac_ext
40227 cat >>conftest.
$ac_ext <<_ACEOF
40228 /* end confdefs.h. */
40229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40231 #define $ac_func innocuous_$ac_func
40233 /* System header to define __stub macros and hopefully few prototypes,
40234 which can conflict with char $ac_func (); below.
40235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40236 <limits.h> exists even on freestanding compilers. */
40239 # include <limits.h>
40241 # include <assert.h>
40246 /* Override any GCC internal prototype to avoid an error.
40247 Use char because int might match the return type of a GCC
40248 builtin and then its argument prototype would still apply. */
40253 /* The GNU C library defines this for functions which it implements
40254 to always fail with ENOSYS. Some functions are actually named
40255 something starting with __ and the normal name is an alias. */
40256 #if defined __stub_$ac_func || defined __stub___$ac_func
40263 return $ac_func ();
40268 rm -f conftest.
$ac_objext conftest
$ac_exeext
40269 if { (ac_try
="$ac_link"
40270 case "(($ac_try" in
40271 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40272 *) ac_try_echo=$ac_try;;
40274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40275 (eval "$ac_link") 2>conftest.er1
40277 grep -v '^ *+' conftest.er1 >conftest.err
40279 cat conftest.err >&5
40280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40281 (exit $ac_status); } && {
40282 test -z "$ac_c_werror_flag" ||
40283 test ! -s conftest.err
40284 } && test -s conftest$ac_exeext &&
40285 $as_test_x conftest$ac_exeext; then
40286 eval "$as_ac_var=yes"
40288 echo "$as_me: failed program was:" >&5
40289 sed 's/^/| /' conftest.$ac_ext >&5
40291 eval "$as_ac_var=no"
40294 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40295 conftest$ac_exeext conftest.$ac_ext
40297 ac_res=`eval echo '${'$as_ac_var'}'`
40298 { echo "$as_me:$LINENO: result: $ac_res" >&5
40299 echo "${ECHO_T}$ac_res" >&6; }
40300 if test `eval echo '${'$as_ac_var'}'` = yes; then
40301 cat >>confdefs.h <<_ACEOF
40302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40309 if test "$ac_cv_func_sigaction" = "no"; then
40310 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40311 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40312 wxUSE_ON_FATAL_EXCEPTION=no
40315 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40316 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40317 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40318 if test "${wx_cv_type_sa_handler+set}" = set; then
40319 echo $ECHO_N "(cached) $ECHO_C" >&6
40323 ac_cpp='$CXXCPP $CPPFLAGS'
40324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40328 cat >conftest.$ac_ext <<_ACEOF
40331 cat confdefs.h >>conftest.$ac_ext
40332 cat >>conftest.$ac_ext <<_ACEOF
40333 /* end confdefs.h. */
40334 #include <signal.h>
40339 extern void testSigHandler(int);
40341 struct sigaction sa;
40342 sa.sa_handler = testSigHandler;
40348 rm -f conftest.$ac_objext
40349 if { (ac_try="$ac_compile"
40350 case "(($ac_try" in
40351 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40352 *) ac_try_echo
=$ac_try;;
40354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40355 (eval "$ac_compile") 2>conftest.er1
40357 grep -v '^ *+' conftest.er1
>conftest.err
40359 cat conftest.err
>&5
40360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40361 (exit $ac_status); } && {
40362 test -z "$ac_cxx_werror_flag" ||
40363 test ! -s conftest.err
40364 } && test -s conftest.
$ac_objext; then
40366 wx_cv_type_sa_handler
=int
40369 echo "$as_me: failed program was:" >&5
40370 sed 's/^/| /' conftest.
$ac_ext >&5
40373 wx_cv_type_sa_handler
=void
40377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40379 ac_cpp
='$CPP $CPPFLAGS'
40380 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40381 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40382 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40386 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40387 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40389 cat >>confdefs.h
<<_ACEOF
40390 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40396 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40397 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40398 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40399 if test "${wx_cv_func_backtrace+set}" = set; then
40400 echo $ECHO_N "(cached) $ECHO_C" >&6
40404 ac_cpp
='$CXXCPP $CPPFLAGS'
40405 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40409 cat >conftest.
$ac_ext <<_ACEOF
40412 cat confdefs.h
>>conftest.
$ac_ext
40413 cat >>conftest.
$ac_ext <<_ACEOF
40414 /* end confdefs.h. */
40415 #include <execinfo.h>
40423 backtrace(trace, 1);
40424 messages = backtrace_symbols(trace, 1);
40430 rm -f conftest.
$ac_objext
40431 if { (ac_try
="$ac_compile"
40432 case "(($ac_try" in
40433 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40434 *) ac_try_echo=$ac_try;;
40436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40437 (eval "$ac_compile") 2>conftest.er1
40439 grep -v '^ *+' conftest.er1 >conftest.err
40441 cat conftest.err >&5
40442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40443 (exit $ac_status); } && {
40444 test -z "$ac_cxx_werror_flag" ||
40445 test ! -s conftest.err
40446 } && test -s conftest.$ac_objext; then
40447 wx_cv_func_backtrace=yes
40449 echo "$as_me: failed program was:" >&5
40450 sed 's/^/| /' conftest.$ac_ext >&5
40452 wx_cv_func_backtrace=no
40456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40458 ac_cpp='$CPP $CPPFLAGS'
40459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40466 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40467 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40470 if test "$wx_cv_func_backtrace" = "no"; then
40471 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40472 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40473 wxUSE_STACKWALKER=no
40475 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40476 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40477 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40478 echo $ECHO_N "(cached) $ECHO_C" >&6
40482 ac_cpp='$CXXCPP $CPPFLAGS'
40483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40487 cat >conftest.$ac_ext <<_ACEOF
40490 cat confdefs.h >>conftest.$ac_ext
40491 cat >>conftest.$ac_ext <<_ACEOF
40492 /* end confdefs.h. */
40493 #include <cxxabi.h>
40499 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40505 rm -f conftest.$ac_objext conftest$ac_exeext
40506 if { (ac_try="$ac_link"
40507 case "(($ac_try" in
40508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40509 *) ac_try_echo
=$ac_try;;
40511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40512 (eval "$ac_link") 2>conftest.er1
40514 grep -v '^ *+' conftest.er1
>conftest.err
40516 cat conftest.err
>&5
40517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518 (exit $ac_status); } && {
40519 test -z "$ac_cxx_werror_flag" ||
40520 test ! -s conftest.err
40521 } && test -s conftest
$ac_exeext &&
40522 $as_test_x conftest
$ac_exeext; then
40523 wx_cv_func_cxa_demangle
=yes
40525 echo "$as_me: failed program was:" >&5
40526 sed 's/^/| /' conftest.
$ac_ext >&5
40528 wx_cv_func_cxa_demangle
=no
40532 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40533 conftest
$ac_exeext conftest.
$ac_ext
40535 ac_cpp
='$CPP $CPPFLAGS'
40536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40543 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40544 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40546 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40547 cat >>confdefs.h
<<\_ACEOF
40548 #define HAVE_CXA_DEMANGLE 1
40555 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40556 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40557 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40558 wxUSE_STACKWALKER
=no
40564 for ac_func
in mkstemp mktemp
40566 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40567 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40569 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40570 echo $ECHO_N "(cached) $ECHO_C" >&6
40572 cat >conftest.
$ac_ext <<_ACEOF
40575 cat confdefs.h
>>conftest.
$ac_ext
40576 cat >>conftest.
$ac_ext <<_ACEOF
40577 /* end confdefs.h. */
40578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40579 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40580 #define $ac_func innocuous_$ac_func
40582 /* System header to define __stub macros and hopefully few prototypes,
40583 which can conflict with char $ac_func (); below.
40584 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40585 <limits.h> exists even on freestanding compilers. */
40588 # include <limits.h>
40590 # include <assert.h>
40595 /* Override any GCC internal prototype to avoid an error.
40596 Use char because int might match the return type of a GCC
40597 builtin and then its argument prototype would still apply. */
40602 /* The GNU C library defines this for functions which it implements
40603 to always fail with ENOSYS. Some functions are actually named
40604 something starting with __ and the normal name is an alias. */
40605 #if defined __stub_$ac_func || defined __stub___$ac_func
40612 return $ac_func ();
40617 rm -f conftest.
$ac_objext conftest
$ac_exeext
40618 if { (ac_try
="$ac_link"
40619 case "(($ac_try" in
40620 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40621 *) ac_try_echo=$ac_try;;
40623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40624 (eval "$ac_link") 2>conftest.er1
40626 grep -v '^ *+' conftest.er1 >conftest.err
40628 cat conftest.err >&5
40629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40630 (exit $ac_status); } && {
40631 test -z "$ac_c_werror_flag" ||
40632 test ! -s conftest.err
40633 } && test -s conftest$ac_exeext &&
40634 $as_test_x conftest$ac_exeext; then
40635 eval "$as_ac_var=yes"
40637 echo "$as_me: failed program was:" >&5
40638 sed 's/^/| /' conftest.$ac_ext >&5
40640 eval "$as_ac_var=no"
40643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40644 conftest$ac_exeext conftest.$ac_ext
40646 ac_res=`eval echo '${'$as_ac_var'}'`
40647 { echo "$as_me:$LINENO: result: $ac_res" >&5
40648 echo "${ECHO_T}$ac_res" >&6; }
40649 if test `eval echo '${'$as_ac_var'}'` = yes; then
40650 cat >>confdefs.h <<_ACEOF
40651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40658 { echo "$as_me:$LINENO: checking for statfs" >&5
40659 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40660 if test "${wx_cv_func_statfs+set}" = set; then
40661 echo $ECHO_N "(cached) $ECHO_C" >&6
40663 cat >conftest.$ac_ext <<_ACEOF
40666 cat confdefs.h >>conftest.$ac_ext
40667 cat >>conftest.$ac_ext <<_ACEOF
40668 /* end confdefs.h. */
40670 #if defined(__BSD__)
40671 #include <sys/param.h>
40672 #include <sys/mount.h>
40674 #include <sys/vfs.h>
40692 rm -f conftest.$ac_objext
40693 if { (ac_try="$ac_compile"
40694 case "(($ac_try" in
40695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40696 *) ac_try_echo
=$ac_try;;
40698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40699 (eval "$ac_compile") 2>conftest.er1
40701 grep -v '^ *+' conftest.er1
>conftest.err
40703 cat conftest.err
>&5
40704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40705 (exit $ac_status); } && {
40706 test -z "$ac_c_werror_flag" ||
40707 test ! -s conftest.err
40708 } && test -s conftest.
$ac_objext; then
40709 wx_cv_func_statfs
=yes
40711 echo "$as_me: failed program was:" >&5
40712 sed 's/^/| /' conftest.
$ac_ext >&5
40714 wx_cv_func_statfs
=no
40718 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40721 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40722 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40724 if test "$wx_cv_func_statfs" = "yes"; then
40725 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40726 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40727 if test "${wx_cv_func_statfs_decl+set}" = set; then
40728 echo $ECHO_N "(cached) $ECHO_C" >&6
40731 ac_cpp
='$CXXCPP $CPPFLAGS'
40732 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40736 cat >conftest.
$ac_ext <<_ACEOF
40739 cat confdefs.h
>>conftest.
$ac_ext
40740 cat >>conftest.
$ac_ext <<_ACEOF
40741 /* end confdefs.h. */
40743 #if defined(__BSD__)
40744 #include <sys/param.h>
40745 #include <sys/mount.h>
40747 #include <sys/vfs.h>
40761 rm -f conftest.
$ac_objext
40762 if { (ac_try
="$ac_compile"
40763 case "(($ac_try" in
40764 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40765 *) ac_try_echo=$ac_try;;
40767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40768 (eval "$ac_compile") 2>conftest.er1
40770 grep -v '^ *+' conftest.er1 >conftest.err
40772 cat conftest.err >&5
40773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774 (exit $ac_status); } && {
40775 test -z "$ac_cxx_werror_flag" ||
40776 test ! -s conftest.err
40777 } && test -s conftest.$ac_objext; then
40778 wx_cv_func_statfs_decl=yes
40780 echo "$as_me: failed program was:" >&5
40781 sed 's/^/| /' conftest.$ac_ext >&5
40783 wx_cv_func_statfs_decl=no
40787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40789 ac_cpp='$CPP $CPPFLAGS'
40790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40796 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40797 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40799 if test "$wx_cv_func_statfs_decl" = "yes"; then
40800 cat >>confdefs.h <<\_ACEOF
40801 #define HAVE_STATFS_DECL 1
40806 wx_cv_type_statvfs_t="struct statfs"
40807 cat >>confdefs.h <<\_ACEOF
40808 #define HAVE_STATFS 1
40812 { echo "$as_me:$LINENO: checking for statvfs" >&5
40813 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40814 if test "${wx_cv_func_statvfs+set}" = set; then
40815 echo $ECHO_N "(cached) $ECHO_C" >&6
40817 cat >conftest.$ac_ext <<_ACEOF
40820 cat confdefs.h >>conftest.$ac_ext
40821 cat >>conftest.$ac_ext <<_ACEOF
40822 /* end confdefs.h. */
40824 #include <stddef.h>
40825 #include <sys/statvfs.h>
40831 statvfs("/", NULL);
40837 rm -f conftest.$ac_objext
40838 if { (ac_try="$ac_compile"
40839 case "(($ac_try" in
40840 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40841 *) ac_try_echo
=$ac_try;;
40843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40844 (eval "$ac_compile") 2>conftest.er1
40846 grep -v '^ *+' conftest.er1
>conftest.err
40848 cat conftest.err
>&5
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); } && {
40851 test -z "$ac_c_werror_flag" ||
40852 test ! -s conftest.err
40853 } && test -s conftest.
$ac_objext; then
40854 wx_cv_func_statvfs
=yes
40856 echo "$as_me: failed program was:" >&5
40857 sed 's/^/| /' conftest.
$ac_ext >&5
40859 wx_cv_func_statvfs
=no
40863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40866 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40867 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40869 if test "$wx_cv_func_statvfs" = "yes"; then
40870 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40871 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40872 if test "${wx_cv_type_statvfs_t+set}" = set; then
40873 echo $ECHO_N "(cached) $ECHO_C" >&6
40876 ac_cpp
='$CXXCPP $CPPFLAGS'
40877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40881 cat >conftest.
$ac_ext <<_ACEOF
40884 cat confdefs.h
>>conftest.
$ac_ext
40885 cat >>conftest.
$ac_ext <<_ACEOF
40886 /* end confdefs.h. */
40888 #include <sys/statvfs.h>
40905 rm -f conftest.
$ac_objext
40906 if { (ac_try
="$ac_compile"
40907 case "(($ac_try" in
40908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40909 *) ac_try_echo=$ac_try;;
40911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40912 (eval "$ac_compile") 2>conftest.er1
40914 grep -v '^ *+' conftest.er1 >conftest.err
40916 cat conftest.err >&5
40917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40918 (exit $ac_status); } && {
40919 test -z "$ac_cxx_werror_flag" ||
40920 test ! -s conftest.err
40921 } && test -s conftest.$ac_objext; then
40922 wx_cv_type_statvfs_t=statvfs_t
40924 echo "$as_me: failed program was:" >&5
40925 sed 's/^/| /' conftest.$ac_ext >&5
40928 cat >conftest.$ac_ext <<_ACEOF
40931 cat confdefs.h >>conftest.$ac_ext
40932 cat >>conftest.$ac_ext <<_ACEOF
40933 /* end confdefs.h. */
40935 #include <sys/statvfs.h>
40952 rm -f conftest.$ac_objext
40953 if { (ac_try="$ac_compile"
40954 case "(($ac_try" in
40955 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40956 *) ac_try_echo
=$ac_try;;
40958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40959 (eval "$ac_compile") 2>conftest.er1
40961 grep -v '^ *+' conftest.er1
>conftest.err
40963 cat conftest.err
>&5
40964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40965 (exit $ac_status); } && {
40966 test -z "$ac_cxx_werror_flag" ||
40967 test ! -s conftest.err
40968 } && test -s conftest.
$ac_objext; then
40969 wx_cv_type_statvfs_t
="struct statvfs"
40971 echo "$as_me: failed program was:" >&5
40972 sed 's/^/| /' conftest.
$ac_ext >&5
40974 wx_cv_type_statvfs_t
="unknown"
40978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40985 ac_cpp
='$CPP $CPPFLAGS'
40986 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40987 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40988 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40992 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40993 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40995 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40996 cat >>confdefs.h
<<\_ACEOF
40997 #define HAVE_STATVFS 1
41002 wx_cv_type_statvfs_t
="unknown"
41006 if test "$wx_cv_type_statvfs_t" != "unknown"; then
41007 cat >>confdefs.h
<<_ACEOF
41008 #define WX_STATFS_T $wx_cv_type_statvfs_t
41012 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
41013 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
41016 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41019 for ac_func
in fcntl flock
41021 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41022 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41024 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41025 echo $ECHO_N "(cached) $ECHO_C" >&6
41027 cat >conftest.
$ac_ext <<_ACEOF
41030 cat confdefs.h
>>conftest.
$ac_ext
41031 cat >>conftest.
$ac_ext <<_ACEOF
41032 /* end confdefs.h. */
41033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41035 #define $ac_func innocuous_$ac_func
41037 /* System header to define __stub macros and hopefully few prototypes,
41038 which can conflict with char $ac_func (); below.
41039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41040 <limits.h> exists even on freestanding compilers. */
41043 # include <limits.h>
41045 # include <assert.h>
41050 /* Override any GCC internal prototype to avoid an error.
41051 Use char because int might match the return type of a GCC
41052 builtin and then its argument prototype would still apply. */
41057 /* The GNU C library defines this for functions which it implements
41058 to always fail with ENOSYS. Some functions are actually named
41059 something starting with __ and the normal name is an alias. */
41060 #if defined __stub_$ac_func || defined __stub___$ac_func
41067 return $ac_func ();
41072 rm -f conftest.
$ac_objext conftest
$ac_exeext
41073 if { (ac_try
="$ac_link"
41074 case "(($ac_try" in
41075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41076 *) ac_try_echo=$ac_try;;
41078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41079 (eval "$ac_link") 2>conftest.er1
41081 grep -v '^ *+' conftest.er1 >conftest.err
41083 cat conftest.err >&5
41084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41085 (exit $ac_status); } && {
41086 test -z "$ac_c_werror_flag" ||
41087 test ! -s conftest.err
41088 } && test -s conftest$ac_exeext &&
41089 $as_test_x conftest$ac_exeext; then
41090 eval "$as_ac_var=yes"
41092 echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.$ac_ext >&5
41095 eval "$as_ac_var=no"
41098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41099 conftest$ac_exeext conftest.$ac_ext
41101 ac_res=`eval echo '${'$as_ac_var'}'`
41102 { echo "$as_me:$LINENO: result: $ac_res" >&5
41103 echo "${ECHO_T}$ac_res" >&6; }
41104 if test `eval echo '${'$as_ac_var'}'` = yes; then
41105 cat >>confdefs.h <<_ACEOF
41106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41113 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41114 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41115 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41116 wxUSE_SNGLINST_CHECKER=no
41122 for ac_func in setenv putenv
41124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41125 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41127 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41128 echo $ECHO_N "(cached) $ECHO_C" >&6
41130 cat >conftest.$ac_ext <<_ACEOF
41133 cat confdefs.h >>conftest.$ac_ext
41134 cat >>conftest.$ac_ext <<_ACEOF
41135 /* end confdefs.h. */
41136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41138 #define $ac_func innocuous_$ac_func
41140 /* System header to define __stub macros and hopefully few prototypes,
41141 which can conflict with char $ac_func (); below.
41142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41143 <limits.h> exists even on freestanding compilers. */
41146 # include <limits.h>
41148 # include <assert.h>
41153 /* Override any GCC internal prototype to avoid an error.
41154 Use char because int might match the return type of a GCC
41155 builtin and then its argument prototype would still apply. */
41160 /* The GNU C library defines this for functions which it implements
41161 to always fail with ENOSYS. Some functions are actually named
41162 something starting with __ and the normal name is an alias. */
41163 #if defined __stub_$ac_func || defined __stub___$ac_func
41170 return $ac_func ();
41175 rm -f conftest.$ac_objext conftest$ac_exeext
41176 if { (ac_try="$ac_link"
41177 case "(($ac_try" in
41178 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41179 *) ac_try_echo
=$ac_try;;
41181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41182 (eval "$ac_link") 2>conftest.er1
41184 grep -v '^ *+' conftest.er1
>conftest.err
41186 cat conftest.err
>&5
41187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41188 (exit $ac_status); } && {
41189 test -z "$ac_c_werror_flag" ||
41190 test ! -s conftest.err
41191 } && test -s conftest
$ac_exeext &&
41192 $as_test_x conftest
$ac_exeext; then
41193 eval "$as_ac_var=yes"
41195 echo "$as_me: failed program was:" >&5
41196 sed 's/^/| /' conftest.
$ac_ext >&5
41198 eval "$as_ac_var=no"
41201 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41202 conftest
$ac_exeext conftest.
$ac_ext
41204 ac_res
=`eval echo '${'$as_ac_var'}'`
41205 { echo "$as_me:$LINENO: result: $ac_res" >&5
41206 echo "${ECHO_T}$ac_res" >&6; }
41207 if test `eval echo '${'$as_ac_var'}'` = yes; then
41208 cat >>confdefs.h
<<_ACEOF
41209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41215 if test "$ac_cv_func_setenv" = "yes"; then
41217 for ac_func
in unsetenv
41219 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41220 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41222 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41223 echo $ECHO_N "(cached) $ECHO_C" >&6
41225 cat >conftest.
$ac_ext <<_ACEOF
41228 cat confdefs.h
>>conftest.
$ac_ext
41229 cat >>conftest.
$ac_ext <<_ACEOF
41230 /* end confdefs.h. */
41231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41233 #define $ac_func innocuous_$ac_func
41235 /* System header to define __stub macros and hopefully few prototypes,
41236 which can conflict with char $ac_func (); below.
41237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41238 <limits.h> exists even on freestanding compilers. */
41241 # include <limits.h>
41243 # include <assert.h>
41248 /* Override any GCC internal prototype to avoid an error.
41249 Use char because int might match the return type of a GCC
41250 builtin and then its argument prototype would still apply. */
41255 /* The GNU C library defines this for functions which it implements
41256 to always fail with ENOSYS. Some functions are actually named
41257 something starting with __ and the normal name is an alias. */
41258 #if defined __stub_$ac_func || defined __stub___$ac_func
41265 return $ac_func ();
41270 rm -f conftest.
$ac_objext conftest
$ac_exeext
41271 if { (ac_try
="$ac_link"
41272 case "(($ac_try" in
41273 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41274 *) ac_try_echo=$ac_try;;
41276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41277 (eval "$ac_link") 2>conftest.er1
41279 grep -v '^ *+' conftest.er1 >conftest.err
41281 cat conftest.err >&5
41282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41283 (exit $ac_status); } && {
41284 test -z "$ac_c_werror_flag" ||
41285 test ! -s conftest.err
41286 } && test -s conftest$ac_exeext &&
41287 $as_test_x conftest$ac_exeext; then
41288 eval "$as_ac_var=yes"
41290 echo "$as_me: failed program was:" >&5
41291 sed 's/^/| /' conftest.$ac_ext >&5
41293 eval "$as_ac_var=no"
41296 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41297 conftest$ac_exeext conftest.$ac_ext
41299 ac_res=`eval echo '${'$as_ac_var'}'`
41300 { echo "$as_me:$LINENO: result: $ac_res" >&5
41301 echo "${ECHO_T}$ac_res" >&6; }
41302 if test `eval echo '${'$as_ac_var'}'` = yes; then
41303 cat >>confdefs.h <<_ACEOF
41304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41312 HAVE_SOME_SLEEP_FUNC=0
41313 if test "$USE_BEOS" = 1; then
41314 cat >>confdefs.h <<\_ACEOF
41315 #define HAVE_SLEEP 1
41318 HAVE_SOME_SLEEP_FUNC=1
41321 if test "$USE_DARWIN" = 1; then
41322 cat >>confdefs.h <<\_ACEOF
41323 #define HAVE_USLEEP 1
41326 HAVE_SOME_SLEEP_FUNC=1
41329 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41332 for ac_func in nanosleep
41334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41335 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41337 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41338 echo $ECHO_N "(cached) $ECHO_C" >&6
41340 cat >conftest.$ac_ext <<_ACEOF
41343 cat confdefs.h >>conftest.$ac_ext
41344 cat >>conftest.$ac_ext <<_ACEOF
41345 /* end confdefs.h. */
41346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41348 #define $ac_func innocuous_$ac_func
41350 /* System header to define __stub macros and hopefully few prototypes,
41351 which can conflict with char $ac_func (); below.
41352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41353 <limits.h> exists even on freestanding compilers. */
41356 # include <limits.h>
41358 # include <assert.h>
41363 /* Override any GCC internal prototype to avoid an error.
41364 Use char because int might match the return type of a GCC
41365 builtin and then its argument prototype would still apply. */
41370 /* The GNU C library defines this for functions which it implements
41371 to always fail with ENOSYS. Some functions are actually named
41372 something starting with __ and the normal name is an alias. */
41373 #if defined __stub_$ac_func || defined __stub___$ac_func
41380 return $ac_func ();
41385 rm -f conftest.$ac_objext conftest$ac_exeext
41386 if { (ac_try="$ac_link"
41387 case "(($ac_try" in
41388 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41389 *) ac_try_echo
=$ac_try;;
41391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41392 (eval "$ac_link") 2>conftest.er1
41394 grep -v '^ *+' conftest.er1
>conftest.err
41396 cat conftest.err
>&5
41397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41398 (exit $ac_status); } && {
41399 test -z "$ac_c_werror_flag" ||
41400 test ! -s conftest.err
41401 } && test -s conftest
$ac_exeext &&
41402 $as_test_x conftest
$ac_exeext; then
41403 eval "$as_ac_var=yes"
41405 echo "$as_me: failed program was:" >&5
41406 sed 's/^/| /' conftest.
$ac_ext >&5
41408 eval "$as_ac_var=no"
41411 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41412 conftest
$ac_exeext conftest.
$ac_ext
41414 ac_res
=`eval echo '${'$as_ac_var'}'`
41415 { echo "$as_me:$LINENO: result: $ac_res" >&5
41416 echo "${ECHO_T}$ac_res" >&6; }
41417 if test `eval echo '${'$as_ac_var'}'` = yes; then
41418 cat >>confdefs.h
<<_ACEOF
41419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41421 cat >>confdefs.h
<<\_ACEOF
41422 #define HAVE_NANOSLEEP 1
41427 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41428 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41429 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41430 echo $ECHO_N "(cached) $ECHO_C" >&6
41432 ac_check_lib_save_LIBS
=$LIBS
41433 LIBS
="-lposix4 $LIBS"
41434 cat >conftest.
$ac_ext <<_ACEOF
41437 cat confdefs.h
>>conftest.
$ac_ext
41438 cat >>conftest.
$ac_ext <<_ACEOF
41439 /* end confdefs.h. */
41441 /* Override any GCC internal prototype to avoid an error.
41442 Use char because int might match the return type of a GCC
41443 builtin and then its argument prototype would still apply. */
41451 return nanosleep ();
41456 rm -f conftest.
$ac_objext conftest
$ac_exeext
41457 if { (ac_try
="$ac_link"
41458 case "(($ac_try" in
41459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41460 *) ac_try_echo=$ac_try;;
41462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41463 (eval "$ac_link") 2>conftest.er1
41465 grep -v '^ *+' conftest.er1 >conftest.err
41467 cat conftest.err >&5
41468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41469 (exit $ac_status); } && {
41470 test -z "$ac_c_werror_flag" ||
41471 test ! -s conftest.err
41472 } && test -s conftest$ac_exeext &&
41473 $as_test_x conftest$ac_exeext; then
41474 ac_cv_lib_posix4_nanosleep=yes
41476 echo "$as_me: failed program was:" >&5
41477 sed 's/^/| /' conftest.$ac_ext >&5
41479 ac_cv_lib_posix4_nanosleep=no
41482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41483 conftest$ac_exeext conftest.$ac_ext
41484 LIBS=$ac_check_lib_save_LIBS
41486 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41487 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41488 if test $ac_cv_lib_posix4_nanosleep = yes; then
41490 cat >>confdefs.h <<\_ACEOF
41491 #define HAVE_NANOSLEEP 1
41494 POSIX4_LINK=" -lposix4"
41499 for wx_func in usleep
41501 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41502 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41503 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41504 echo $ECHO_N "(cached) $ECHO_C" >&6
41507 cat >conftest.$ac_ext <<_ACEOF
41511 cat confdefs.h >>conftest.$ac_ext
41512 cat >>conftest.$ac_ext <<_ACEOF
41513 /* end confdefs.h. */
41516 $ac_includes_default
41532 rm -f conftest.$ac_objext conftest$ac_exeext
41533 if { (ac_try="$ac_link"
41534 case "(($ac_try" in
41535 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41536 *) ac_try_echo
=$ac_try;;
41538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41539 (eval "$ac_link") 2>conftest.er1
41541 grep -v '^ *+' conftest.er1
>conftest.err
41543 cat conftest.err
>&5
41544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41545 (exit $ac_status); } && {
41546 test -z "$ac_c_werror_flag" ||
41547 test ! -s conftest.err
41548 } && test -s conftest
$ac_exeext &&
41549 $as_test_x conftest
$ac_exeext; then
41550 eval wx_cv_func_
$wx_func=yes
41552 echo "$as_me: failed program was:" >&5
41553 sed 's/^/| /' conftest.
$ac_ext >&5
41555 eval wx_cv_func_
$wx_func=no
41558 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41559 conftest
$ac_exeext conftest.
$ac_ext
41562 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41563 { echo "$as_me:$LINENO: result: $ac_res" >&5
41564 echo "${ECHO_T}$ac_res" >&6; }
41566 if eval test \
$wx_cv_func_$wx_func = yes
41568 cat >>confdefs.h
<<_ACEOF
41569 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41575 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41576 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41593 for wx_func
in uname
41595 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41596 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41597 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41598 echo $ECHO_N "(cached) $ECHO_C" >&6
41601 cat >conftest.
$ac_ext <<_ACEOF
41605 cat confdefs.h
>>conftest.
$ac_ext
41606 cat >>conftest.
$ac_ext <<_ACEOF
41607 /* end confdefs.h. */
41609 #include <sys/utsname.h>
41610 $ac_includes_default
41626 rm -f conftest.
$ac_objext conftest
$ac_exeext
41627 if { (ac_try
="$ac_link"
41628 case "(($ac_try" in
41629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41630 *) ac_try_echo=$ac_try;;
41632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41633 (eval "$ac_link") 2>conftest.er1
41635 grep -v '^ *+' conftest.er1 >conftest.err
41637 cat conftest.err >&5
41638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41639 (exit $ac_status); } && {
41640 test -z "$ac_c_werror_flag" ||
41641 test ! -s conftest.err
41642 } && test -s conftest$ac_exeext &&
41643 $as_test_x conftest$ac_exeext; then
41644 eval wx_cv_func_$wx_func=yes
41646 echo "$as_me: failed program was:" >&5
41647 sed 's/^/| /' conftest.$ac_ext >&5
41649 eval wx_cv_func_$wx_func=no
41652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41653 conftest$ac_exeext conftest.$ac_ext
41656 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41657 { echo "$as_me:$LINENO: result: $ac_res" >&5
41658 echo "${ECHO_T}$ac_res" >&6; }
41660 if eval test \$wx_cv_func_$wx_func = yes
41662 cat >>confdefs.h <<_ACEOF
41663 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41673 if test "$wx_cv_func_uname" != yes; then
41675 for wx_func in gethostname
41677 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41678 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41679 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41680 echo $ECHO_N "(cached) $ECHO_C" >&6
41683 cat >conftest.$ac_ext <<_ACEOF
41687 cat confdefs.h >>conftest.$ac_ext
41688 cat >>conftest.$ac_ext <<_ACEOF
41689 /* end confdefs.h. */
41692 $ac_includes_default
41708 rm -f conftest.$ac_objext conftest$ac_exeext
41709 if { (ac_try="$ac_link"
41710 case "(($ac_try" in
41711 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41712 *) ac_try_echo
=$ac_try;;
41714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41715 (eval "$ac_link") 2>conftest.er1
41717 grep -v '^ *+' conftest.er1
>conftest.err
41719 cat conftest.err
>&5
41720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41721 (exit $ac_status); } && {
41722 test -z "$ac_c_werror_flag" ||
41723 test ! -s conftest.err
41724 } && test -s conftest
$ac_exeext &&
41725 $as_test_x conftest
$ac_exeext; then
41726 eval wx_cv_func_
$wx_func=yes
41728 echo "$as_me: failed program was:" >&5
41729 sed 's/^/| /' conftest.
$ac_ext >&5
41731 eval wx_cv_func_
$wx_func=no
41734 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41735 conftest
$ac_exeext conftest.
$ac_ext
41738 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41739 { echo "$as_me:$LINENO: result: $ac_res" >&5
41740 echo "${ECHO_T}$ac_res" >&6; }
41742 if eval test \
$wx_cv_func_$wx_func = yes
41744 cat >>confdefs.h
<<_ACEOF
41745 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41758 for wx_func
in strtok_r
41760 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41761 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41762 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41763 echo $ECHO_N "(cached) $ECHO_C" >&6
41766 cat >conftest.
$ac_ext <<_ACEOF
41770 cat confdefs.h
>>conftest.
$ac_ext
41771 cat >>conftest.
$ac_ext <<_ACEOF
41772 /* end confdefs.h. */
41775 $ac_includes_default
41791 rm -f conftest.
$ac_objext conftest
$ac_exeext
41792 if { (ac_try
="$ac_link"
41793 case "(($ac_try" in
41794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41795 *) ac_try_echo=$ac_try;;
41797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41798 (eval "$ac_link") 2>conftest.er1
41800 grep -v '^ *+' conftest.er1 >conftest.err
41802 cat conftest.err >&5
41803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41804 (exit $ac_status); } && {
41805 test -z "$ac_c_werror_flag" ||
41806 test ! -s conftest.err
41807 } && test -s conftest$ac_exeext &&
41808 $as_test_x conftest$ac_exeext; then
41809 eval wx_cv_func_$wx_func=yes
41811 echo "$as_me: failed program was:" >&5
41812 sed 's/^/| /' conftest.$ac_ext >&5
41814 eval wx_cv_func_$wx_func=no
41817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41818 conftest$ac_exeext conftest.$ac_ext
41821 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41822 { echo "$as_me:$LINENO: result: $ac_res" >&5
41823 echo "${ECHO_T}$ac_res" >&6; }
41825 if eval test \$wx_cv_func_$wx_func = yes
41827 cat >>confdefs.h <<_ACEOF
41828 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41841 for ac_func in inet_addr
41843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41844 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41846 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41847 echo $ECHO_N "(cached) $ECHO_C" >&6
41849 cat >conftest.$ac_ext <<_ACEOF
41852 cat confdefs.h >>conftest.$ac_ext
41853 cat >>conftest.$ac_ext <<_ACEOF
41854 /* end confdefs.h. */
41855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41857 #define $ac_func innocuous_$ac_func
41859 /* System header to define __stub macros and hopefully few prototypes,
41860 which can conflict with char $ac_func (); below.
41861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41862 <limits.h> exists even on freestanding compilers. */
41865 # include <limits.h>
41867 # include <assert.h>
41872 /* Override any GCC internal prototype to avoid an error.
41873 Use char because int might match the return type of a GCC
41874 builtin and then its argument prototype would still apply. */
41879 /* The GNU C library defines this for functions which it implements
41880 to always fail with ENOSYS. Some functions are actually named
41881 something starting with __ and the normal name is an alias. */
41882 #if defined __stub_$ac_func || defined __stub___$ac_func
41889 return $ac_func ();
41894 rm -f conftest.$ac_objext conftest$ac_exeext
41895 if { (ac_try="$ac_link"
41896 case "(($ac_try" in
41897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41898 *) ac_try_echo
=$ac_try;;
41900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41901 (eval "$ac_link") 2>conftest.er1
41903 grep -v '^ *+' conftest.er1
>conftest.err
41905 cat conftest.err
>&5
41906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41907 (exit $ac_status); } && {
41908 test -z "$ac_c_werror_flag" ||
41909 test ! -s conftest.err
41910 } && test -s conftest
$ac_exeext &&
41911 $as_test_x conftest
$ac_exeext; then
41912 eval "$as_ac_var=yes"
41914 echo "$as_me: failed program was:" >&5
41915 sed 's/^/| /' conftest.
$ac_ext >&5
41917 eval "$as_ac_var=no"
41920 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41921 conftest
$ac_exeext conftest.
$ac_ext
41923 ac_res
=`eval echo '${'$as_ac_var'}'`
41924 { echo "$as_me:$LINENO: result: $ac_res" >&5
41925 echo "${ECHO_T}$ac_res" >&6; }
41926 if test `eval echo '${'$as_ac_var'}'` = yes; then
41927 cat >>confdefs.h
<<_ACEOF
41928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41930 cat >>confdefs.h
<<\_ACEOF
41931 #define HAVE_INET_ADDR 1
41936 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41937 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41938 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41939 echo $ECHO_N "(cached) $ECHO_C" >&6
41941 ac_check_lib_save_LIBS
=$LIBS
41943 cat >conftest.
$ac_ext <<_ACEOF
41946 cat confdefs.h
>>conftest.
$ac_ext
41947 cat >>conftest.
$ac_ext <<_ACEOF
41948 /* end confdefs.h. */
41950 /* Override any GCC internal prototype to avoid an error.
41951 Use char because int might match the return type of a GCC
41952 builtin and then its argument prototype would still apply. */
41960 return inet_addr ();
41965 rm -f conftest.
$ac_objext conftest
$ac_exeext
41966 if { (ac_try
="$ac_link"
41967 case "(($ac_try" in
41968 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41969 *) ac_try_echo=$ac_try;;
41971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41972 (eval "$ac_link") 2>conftest.er1
41974 grep -v '^ *+' conftest.er1 >conftest.err
41976 cat conftest.err >&5
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); } && {
41979 test -z "$ac_c_werror_flag" ||
41980 test ! -s conftest.err
41981 } && test -s conftest$ac_exeext &&
41982 $as_test_x conftest$ac_exeext; then
41983 ac_cv_lib_nsl_inet_addr=yes
41985 echo "$as_me: failed program was:" >&5
41986 sed 's/^/| /' conftest.$ac_ext >&5
41988 ac_cv_lib_nsl_inet_addr=no
41991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41992 conftest$ac_exeext conftest.$ac_ext
41993 LIBS=$ac_check_lib_save_LIBS
41995 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41996 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41997 if test $ac_cv_lib_nsl_inet_addr = yes; then
42001 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
42002 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
42003 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
42004 echo $ECHO_N "(cached) $ECHO_C" >&6
42006 ac_check_lib_save_LIBS=$LIBS
42007 LIBS="-lresolv $LIBS"
42008 cat >conftest.$ac_ext <<_ACEOF
42011 cat confdefs.h >>conftest.$ac_ext
42012 cat >>conftest.$ac_ext <<_ACEOF
42013 /* end confdefs.h. */
42015 /* Override any GCC internal prototype to avoid an error.
42016 Use char because int might match the return type of a GCC
42017 builtin and then its argument prototype would still apply. */
42025 return inet_addr ();
42030 rm -f conftest.$ac_objext conftest$ac_exeext
42031 if { (ac_try="$ac_link"
42032 case "(($ac_try" in
42033 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42034 *) ac_try_echo
=$ac_try;;
42036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42037 (eval "$ac_link") 2>conftest.er1
42039 grep -v '^ *+' conftest.er1
>conftest.err
42041 cat conftest.err
>&5
42042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42043 (exit $ac_status); } && {
42044 test -z "$ac_c_werror_flag" ||
42045 test ! -s conftest.err
42046 } && test -s conftest
$ac_exeext &&
42047 $as_test_x conftest
$ac_exeext; then
42048 ac_cv_lib_resolv_inet_addr
=yes
42050 echo "$as_me: failed program was:" >&5
42051 sed 's/^/| /' conftest.
$ac_ext >&5
42053 ac_cv_lib_resolv_inet_addr
=no
42056 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42057 conftest
$ac_exeext conftest.
$ac_ext
42058 LIBS
=$ac_check_lib_save_LIBS
42060 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42061 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42062 if test $ac_cv_lib_resolv_inet_addr = yes; then
42066 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42067 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42068 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42069 echo $ECHO_N "(cached) $ECHO_C" >&6
42071 ac_check_lib_save_LIBS
=$LIBS
42072 LIBS
="-lsocket $LIBS"
42073 cat >conftest.
$ac_ext <<_ACEOF
42076 cat confdefs.h
>>conftest.
$ac_ext
42077 cat >>conftest.
$ac_ext <<_ACEOF
42078 /* end confdefs.h. */
42080 /* Override any GCC internal prototype to avoid an error.
42081 Use char because int might match the return type of a GCC
42082 builtin and then its argument prototype would still apply. */
42090 return inet_addr ();
42095 rm -f conftest.
$ac_objext conftest
$ac_exeext
42096 if { (ac_try
="$ac_link"
42097 case "(($ac_try" in
42098 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42099 *) ac_try_echo=$ac_try;;
42101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42102 (eval "$ac_link") 2>conftest.er1
42104 grep -v '^ *+' conftest.er1 >conftest.err
42106 cat conftest.err >&5
42107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42108 (exit $ac_status); } && {
42109 test -z "$ac_c_werror_flag" ||
42110 test ! -s conftest.err
42111 } && test -s conftest$ac_exeext &&
42112 $as_test_x conftest$ac_exeext; then
42113 ac_cv_lib_socket_inet_addr=yes
42115 echo "$as_me: failed program was:" >&5
42116 sed 's/^/| /' conftest.$ac_ext >&5
42118 ac_cv_lib_socket_inet_addr=no
42121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42122 conftest$ac_exeext conftest.$ac_ext
42123 LIBS=$ac_check_lib_save_LIBS
42125 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42126 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42127 if test $ac_cv_lib_socket_inet_addr = yes; then
42147 for ac_func in inet_aton
42149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42150 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42152 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42153 echo $ECHO_N "(cached) $ECHO_C" >&6
42155 cat >conftest.$ac_ext <<_ACEOF
42158 cat confdefs.h >>conftest.$ac_ext
42159 cat >>conftest.$ac_ext <<_ACEOF
42160 /* end confdefs.h. */
42161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42163 #define $ac_func innocuous_$ac_func
42165 /* System header to define __stub macros and hopefully few prototypes,
42166 which can conflict with char $ac_func (); below.
42167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42168 <limits.h> exists even on freestanding compilers. */
42171 # include <limits.h>
42173 # include <assert.h>
42178 /* Override any GCC internal prototype to avoid an error.
42179 Use char because int might match the return type of a GCC
42180 builtin and then its argument prototype would still apply. */
42185 /* The GNU C library defines this for functions which it implements
42186 to always fail with ENOSYS. Some functions are actually named
42187 something starting with __ and the normal name is an alias. */
42188 #if defined __stub_$ac_func || defined __stub___$ac_func
42195 return $ac_func ();
42200 rm -f conftest.$ac_objext conftest$ac_exeext
42201 if { (ac_try="$ac_link"
42202 case "(($ac_try" in
42203 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42204 *) ac_try_echo
=$ac_try;;
42206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42207 (eval "$ac_link") 2>conftest.er1
42209 grep -v '^ *+' conftest.er1
>conftest.err
42211 cat conftest.err
>&5
42212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42213 (exit $ac_status); } && {
42214 test -z "$ac_c_werror_flag" ||
42215 test ! -s conftest.err
42216 } && test -s conftest
$ac_exeext &&
42217 $as_test_x conftest
$ac_exeext; then
42218 eval "$as_ac_var=yes"
42220 echo "$as_me: failed program was:" >&5
42221 sed 's/^/| /' conftest.
$ac_ext >&5
42223 eval "$as_ac_var=no"
42226 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42227 conftest
$ac_exeext conftest.
$ac_ext
42229 ac_res
=`eval echo '${'$as_ac_var'}'`
42230 { echo "$as_me:$LINENO: result: $ac_res" >&5
42231 echo "${ECHO_T}$ac_res" >&6; }
42232 if test `eval echo '${'$as_ac_var'}'` = yes; then
42233 cat >>confdefs.h
<<_ACEOF
42234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42236 cat >>confdefs.h
<<\_ACEOF
42237 #define HAVE_INET_ATON 1
42242 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42243 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42244 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42245 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42246 echo $ECHO_N "(cached) $ECHO_C" >&6
42248 ac_check_lib_save_LIBS
=$LIBS
42249 LIBS
="-l$INET_LINK $LIBS"
42250 cat >conftest.
$ac_ext <<_ACEOF
42253 cat confdefs.h
>>conftest.
$ac_ext
42254 cat >>conftest.
$ac_ext <<_ACEOF
42255 /* end confdefs.h. */
42257 /* Override any GCC internal prototype to avoid an error.
42258 Use char because int might match the return type of a GCC
42259 builtin and then its argument prototype would still apply. */
42267 return inet_aton ();
42272 rm -f conftest.
$ac_objext conftest
$ac_exeext
42273 if { (ac_try
="$ac_link"
42274 case "(($ac_try" in
42275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42276 *) ac_try_echo=$ac_try;;
42278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42279 (eval "$ac_link") 2>conftest.er1
42281 grep -v '^ *+' conftest.er1 >conftest.err
42283 cat conftest.err >&5
42284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42285 (exit $ac_status); } && {
42286 test -z "$ac_c_werror_flag" ||
42287 test ! -s conftest.err
42288 } && test -s conftest$ac_exeext &&
42289 $as_test_x conftest$ac_exeext; then
42290 eval "$as_ac_Lib=yes"
42292 echo "$as_me: failed program was:" >&5
42293 sed 's/^/| /' conftest.$ac_ext >&5
42295 eval "$as_ac_Lib=no"
42298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42299 conftest$ac_exeext conftest.$ac_ext
42300 LIBS=$ac_check_lib_save_LIBS
42302 ac_res=`eval echo '${'$as_ac_Lib'}'`
42303 { echo "$as_me:$LINENO: result: $ac_res" >&5
42304 echo "${ECHO_T}$ac_res" >&6; }
42305 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42306 cat >>confdefs.h <<\_ACEOF
42307 #define HAVE_INET_ATON 1
42317 if test "x$INET_LINK" != "x"; then
42318 cat >>confdefs.h <<\_ACEOF
42319 #define HAVE_INET_ADDR 1
42322 INET_LINK=" -l$INET_LINK"
42326 for wx_func in fdopen
42328 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42329 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42330 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42331 echo $ECHO_N "(cached) $ECHO_C" >&6
42334 cat >conftest.$ac_ext <<_ACEOF
42338 cat confdefs.h >>conftest.$ac_ext
42339 cat >>conftest.$ac_ext <<_ACEOF
42340 /* end confdefs.h. */
42343 $ac_includes_default
42359 rm -f conftest.$ac_objext conftest$ac_exeext
42360 if { (ac_try="$ac_link"
42361 case "(($ac_try" in
42362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42363 *) ac_try_echo
=$ac_try;;
42365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42366 (eval "$ac_link") 2>conftest.er1
42368 grep -v '^ *+' conftest.er1
>conftest.err
42370 cat conftest.err
>&5
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); } && {
42373 test -z "$ac_c_werror_flag" ||
42374 test ! -s conftest.err
42375 } && test -s conftest
$ac_exeext &&
42376 $as_test_x conftest
$ac_exeext; then
42377 eval wx_cv_func_
$wx_func=yes
42379 echo "$as_me: failed program was:" >&5
42380 sed 's/^/| /' conftest.
$ac_ext >&5
42382 eval wx_cv_func_
$wx_func=no
42385 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42386 conftest
$ac_exeext conftest.
$ac_ext
42389 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
42390 { echo "$as_me:$LINENO: result: $ac_res" >&5
42391 echo "${ECHO_T}$ac_res" >&6; }
42393 if eval test \
$wx_cv_func_$wx_func = yes
42395 cat >>confdefs.h
<<_ACEOF
42396 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42407 if test "$wxUSE_TARSTREAM" = "yes"; then
42409 for wx_func
in sysconf
42411 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42412 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42413 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42414 echo $ECHO_N "(cached) $ECHO_C" >&6
42417 cat >conftest.
$ac_ext <<_ACEOF
42421 cat confdefs.h
>>conftest.
$ac_ext
42422 cat >>conftest.
$ac_ext <<_ACEOF
42423 /* end confdefs.h. */
42426 $ac_includes_default
42442 rm -f conftest.
$ac_objext conftest
$ac_exeext
42443 if { (ac_try
="$ac_link"
42444 case "(($ac_try" in
42445 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42446 *) ac_try_echo=$ac_try;;
42448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42449 (eval "$ac_link") 2>conftest.er1
42451 grep -v '^ *+' conftest.er1 >conftest.err
42453 cat conftest.err >&5
42454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42455 (exit $ac_status); } && {
42456 test -z "$ac_c_werror_flag" ||
42457 test ! -s conftest.err
42458 } && test -s conftest$ac_exeext &&
42459 $as_test_x conftest$ac_exeext; then
42460 eval wx_cv_func_$wx_func=yes
42462 echo "$as_me: failed program was:" >&5
42463 sed 's/^/| /' conftest.$ac_ext >&5
42465 eval wx_cv_func_$wx_func=no
42468 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42469 conftest$ac_exeext conftest.$ac_ext
42472 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42473 { echo "$as_me:$LINENO: result: $ac_res" >&5
42474 echo "${ECHO_T}$ac_res" >&6; }
42476 if eval test \$wx_cv_func_$wx_func = yes
42478 cat >>confdefs.h <<_ACEOF
42479 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42491 for wx_func in getpwuid_r
42493 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42494 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42495 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42496 echo $ECHO_N "(cached) $ECHO_C" >&6
42499 cat >conftest.$ac_ext <<_ACEOF
42503 cat confdefs.h >>conftest.$ac_ext
42504 cat >>conftest.$ac_ext <<_ACEOF
42505 /* end confdefs.h. */
42511 $ac_includes_default
42521 struct passwd pw, *ppw;
42523 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42531 rm -f conftest.$ac_objext conftest$ac_exeext
42532 if { (ac_try="$ac_link"
42533 case "(($ac_try" in
42534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42535 *) ac_try_echo
=$ac_try;;
42537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42538 (eval "$ac_link") 2>conftest.er1
42540 grep -v '^ *+' conftest.er1
>conftest.err
42542 cat conftest.err
>&5
42543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42544 (exit $ac_status); } && {
42545 test -z "$ac_c_werror_flag" ||
42546 test ! -s conftest.err
42547 } && test -s conftest
$ac_exeext &&
42548 $as_test_x conftest
$ac_exeext; then
42549 eval wx_cv_func_
$wx_func=yes
42551 echo "$as_me: failed program was:" >&5
42552 sed 's/^/| /' conftest.
$ac_ext >&5
42554 eval wx_cv_func_
$wx_func=no
42557 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42558 conftest
$ac_exeext conftest.
$ac_ext
42561 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
42562 { echo "$as_me:$LINENO: result: $ac_res" >&5
42563 echo "${ECHO_T}$ac_res" >&6; }
42565 if eval test \
$wx_cv_func_$wx_func = yes
42567 cat >>confdefs.h
<<_ACEOF
42568 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42580 for wx_func
in getgrgid_r
42582 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42583 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42584 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42585 echo $ECHO_N "(cached) $ECHO_C" >&6
42588 cat >conftest.
$ac_ext <<_ACEOF
42592 cat confdefs.h
>>conftest.
$ac_ext
42593 cat >>conftest.
$ac_ext <<_ACEOF
42594 /* end confdefs.h. */
42600 $ac_includes_default
42610 struct group grp, *pgrp;
42612 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42620 rm -f conftest.
$ac_objext conftest
$ac_exeext
42621 if { (ac_try
="$ac_link"
42622 case "(($ac_try" in
42623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42624 *) ac_try_echo=$ac_try;;
42626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42627 (eval "$ac_link") 2>conftest.er1
42629 grep -v '^ *+' conftest.er1 >conftest.err
42631 cat conftest.err >&5
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); } && {
42634 test -z "$ac_c_werror_flag" ||
42635 test ! -s conftest.err
42636 } && test -s conftest$ac_exeext &&
42637 $as_test_x conftest$ac_exeext; then
42638 eval wx_cv_func_$wx_func=yes
42640 echo "$as_me: failed program was:" >&5
42641 sed 's/^/| /' conftest.$ac_ext >&5
42643 eval wx_cv_func_$wx_func=no
42646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42647 conftest$ac_exeext conftest.$ac_ext
42650 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42651 { echo "$as_me:$LINENO: result: $ac_res" >&5
42652 echo "${ECHO_T}$ac_res" >&6; }
42654 if eval test \$wx_cv_func_$wx_func = yes
42656 cat >>confdefs.h <<_ACEOF
42657 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42673 cat >confcache <<\_ACEOF
42674 # This file is a shell script that caches the results of configure
42675 # tests run on this system so they can be shared between configure
42676 # scripts and configure runs, see configure's option --config-cache.
42677 # It is not useful on other systems. If it contains results you don't
42678 # want to keep, you may remove or edit it.
42680 # config.status only pays attention to the cache file if you give it
42681 # the --recheck option to rerun configure.
42683 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
42684 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42685 # following values.
42689 # The following way of writing the cache mishandles newlines in values,
42690 # but we know of no workaround that is simple, portable, and efficient.
42691 # So, we kill variables containing newlines.
42692 # Ultrix sh set writes to stderr and can't be redirected directly,
42693 # and sets the high bit in the cache file unless we assign to the vars.
42695 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42696 eval ac_val
=\$
$ac_var
42700 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42701 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42704 _
| IFS
| as_nl
) ;; #(
42705 *) $as_unset $ac_var ;;
42711 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42712 *${as_nl}ac_space
=\
*)
42713 # `set' does not quote correctly, so add quotes (double-quote
42714 # substitution turns \\\\ into \\, and sed turns \\ into \).
42717 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42720 # `set' quotes correctly as required by POSIX, so do not add quotes.
42721 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42730 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42732 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42734 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
42735 if test -w "$cache_file"; then
42736 test "x$cache_file" != "x/dev/null" &&
42737 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42738 echo "$as_me: updating cache $cache_file" >&6;}
42739 cat confcache
>$cache_file
42741 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42742 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42748 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42754 if test "$wxUSE_THREADS" = "yes" ; then
42755 if test "$USE_BEOS" = 1; then
42756 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42757 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42762 if test "$wxUSE_THREADS" = "yes" ; then
42765 THREAD_OPTS
="-pthread"
42766 if test "x$SUNCXX" = xyes
; then
42767 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
42771 *-*-solaris2* | *-*-sunos4* )
42772 if test "x$GCC" = "xyes"; then
42773 THREAD_OPTS
="-pthreads $THREAD_OPTS"
42777 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
42779 *-*-darwin* | *-*-cygwin* )
42783 THREAD_OPTS
="pthreads"
42786 if test "x$GCC" = "xyes"; then
42787 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
42795 if test "x$GCC" = "xyes"; then
42805 if test "x$GCC" != "xyes"; then
42806 THREAD_OPTS
="-Ethread"
42813 THREAD_OPTS
="none pthread"
42817 THREAD_OPTS
="$THREAD_OPTS pthread none"
42822 for flag
in $THREAD_OPTS; do
42825 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42826 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42830 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42831 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42832 THREADS_CFLAGS
="$flag"
42836 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42837 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42838 THREADS_LINK
="-l$flag"
42843 save_CFLAGS
="$CFLAGS"
42844 LIBS
="$THREADS_LINK $LIBS"
42845 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
42847 cat >conftest.
$ac_ext <<_ACEOF
42850 cat confdefs.h
>>conftest.
$ac_ext
42851 cat >>conftest.
$ac_ext <<_ACEOF
42852 /* end confdefs.h. */
42853 #include <pthread.h>
42857 pthread_create(0,0,0,0);
42862 rm -f conftest.
$ac_objext conftest
$ac_exeext
42863 if { (ac_try
="$ac_link"
42864 case "(($ac_try" in
42865 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42866 *) ac_try_echo=$ac_try;;
42868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42869 (eval "$ac_link") 2>conftest.er1
42871 grep -v '^ *+' conftest.er1 >conftest.err
42873 cat conftest.err >&5
42874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42875 (exit $ac_status); } && {
42876 test -z "$ac_c_werror_flag" ||
42877 test ! -s conftest.err
42878 } && test -s conftest$ac_exeext &&
42879 $as_test_x conftest$ac_exeext; then
42882 echo "$as_me: failed program was:" >&5
42883 sed 's/^/| /' conftest.$ac_ext >&5
42888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42889 conftest$ac_exeext conftest.$ac_ext
42892 CFLAGS="$save_CFLAGS"
42894 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42895 echo "${ECHO_T}$THREADS_OK" >&6; }
42896 if test "x$THREADS_OK" = "xyes"; then
42904 if test "x$THREADS_OK" != "xyes"; then
42906 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
42907 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
42909 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
42910 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
42911 LIBS="$THREADS_LINK $LIBS"
42913 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42914 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42918 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
42919 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
42920 flag="-D_THREAD_SAFE"
42923 flag="-D_THREAD_SAFE"
42926 flag="-D_REENTRANT"
42927 if test "x$GCC" != "xyes"; then
42928 flag="$flag -D_RWSTD_MULTI_THREAD"
42931 *solaris* | alpha*-osf*)
42932 flag="-D_REENTRANT"
42935 { echo "$as_me:$LINENO: result: ${flag}" >&5
42936 echo "${ECHO_T}${flag}" >&6; }
42937 if test "x$flag" != xno; then
42938 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42941 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42945 if test "$wxUSE_THREADS" = "yes" ; then
42947 for ac_func in thr_setconcurrency
42949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42950 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42952 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42953 echo $ECHO_N "(cached) $ECHO_C" >&6
42955 cat >conftest.$ac_ext <<_ACEOF
42958 cat confdefs.h >>conftest.$ac_ext
42959 cat >>conftest.$ac_ext <<_ACEOF
42960 /* end confdefs.h. */
42961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42963 #define $ac_func innocuous_$ac_func
42965 /* System header to define __stub macros and hopefully few prototypes,
42966 which can conflict with char $ac_func (); below.
42967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42968 <limits.h> exists even on freestanding compilers. */
42971 # include <limits.h>
42973 # include <assert.h>
42978 /* Override any GCC internal prototype to avoid an error.
42979 Use char because int might match the return type of a GCC
42980 builtin and then its argument prototype would still apply. */
42985 /* The GNU C library defines this for functions which it implements
42986 to always fail with ENOSYS. Some functions are actually named
42987 something starting with __ and the normal name is an alias. */
42988 #if defined __stub_$ac_func || defined __stub___$ac_func
42995 return $ac_func ();
43000 rm -f conftest.$ac_objext conftest$ac_exeext
43001 if { (ac_try="$ac_link"
43002 case "(($ac_try" in
43003 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43004 *) ac_try_echo
=$ac_try;;
43006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43007 (eval "$ac_link") 2>conftest.er1
43009 grep -v '^ *+' conftest.er1
>conftest.err
43011 cat conftest.err
>&5
43012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43013 (exit $ac_status); } && {
43014 test -z "$ac_c_werror_flag" ||
43015 test ! -s conftest.err
43016 } && test -s conftest
$ac_exeext &&
43017 $as_test_x conftest
$ac_exeext; then
43018 eval "$as_ac_var=yes"
43020 echo "$as_me: failed program was:" >&5
43021 sed 's/^/| /' conftest.
$ac_ext >&5
43023 eval "$as_ac_var=no"
43026 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43027 conftest
$ac_exeext conftest.
$ac_ext
43029 ac_res
=`eval echo '${'$as_ac_var'}'`
43030 { echo "$as_me:$LINENO: result: $ac_res" >&5
43031 echo "${ECHO_T}$ac_res" >&6; }
43032 if test `eval echo '${'$as_ac_var'}'` = yes; then
43033 cat >>confdefs.h
<<_ACEOF
43034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43041 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43042 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43043 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43044 echo $ECHO_N "(cached) $ECHO_C" >&6
43048 ac_cpp
='$CXXCPP $CPPFLAGS'
43049 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43050 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43051 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43053 cat >conftest.
$ac_ext <<_ACEOF
43056 cat confdefs.h
>>conftest.
$ac_ext
43057 cat >>conftest.
$ac_ext <<_ACEOF
43058 /* end confdefs.h. */
43059 #include <pthread.h>
43060 void ThreadCleanupFunc(void *p);
43067 pthread_cleanup_push(ThreadCleanupFunc, p);
43068 pthread_cleanup_pop(0);
43074 rm -f conftest.
$ac_objext
43075 if { (ac_try
="$ac_compile"
43076 case "(($ac_try" in
43077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43078 *) ac_try_echo=$ac_try;;
43080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43081 (eval "$ac_compile") 2>conftest.er1
43083 grep -v '^ *+' conftest.er1 >conftest.err
43085 cat conftest.err >&5
43086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43087 (exit $ac_status); } && {
43088 test -z "$ac_cxx_werror_flag" ||
43089 test ! -s conftest.err
43090 } && test -s conftest.$ac_objext; then
43092 wx_cv_func_pthread_cleanup=yes
43095 echo "$as_me: failed program was:" >&5
43096 sed 's/^/| /' conftest.$ac_ext >&5
43099 wx_cv_func_pthread_cleanup=no
43104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43106 ac_cpp='$CPP $CPPFLAGS'
43107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43113 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43114 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43115 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43116 cat >>confdefs.h <<\_ACEOF
43117 #define wxHAVE_PTHREAD_CLEANUP 1
43123 for ac_header in sched.h
43125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43126 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43128 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43129 echo $ECHO_N "(cached) $ECHO_C" >&6
43131 cat >conftest.$ac_ext <<_ACEOF
43134 cat confdefs.h >>conftest.$ac_ext
43135 cat >>conftest.$ac_ext <<_ACEOF
43136 /* end confdefs.h. */
43137 $ac_includes_default
43139 #include <$ac_header>
43141 rm -f conftest.$ac_objext
43142 if { (ac_try="$ac_compile"
43143 case "(($ac_try" in
43144 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43145 *) ac_try_echo
=$ac_try;;
43147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43148 (eval "$ac_compile") 2>conftest.er1
43150 grep -v '^ *+' conftest.er1
>conftest.err
43152 cat conftest.err
>&5
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); } && {
43155 test -z "$ac_c_werror_flag" ||
43156 test ! -s conftest.err
43157 } && test -s conftest.
$ac_objext; then
43158 eval "$as_ac_Header=yes"
43160 echo "$as_me: failed program was:" >&5
43161 sed 's/^/| /' conftest.
$ac_ext >&5
43163 eval "$as_ac_Header=no"
43166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43168 ac_res
=`eval echo '${'$as_ac_Header'}'`
43169 { echo "$as_me:$LINENO: result: $ac_res" >&5
43170 echo "${ECHO_T}$ac_res" >&6; }
43171 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43172 cat >>confdefs.h
<<_ACEOF
43173 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43180 if test "$ac_cv_header_sched_h" = "yes"; then
43181 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43182 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43183 if test "${ac_cv_func_sched_yield+set}" = set; then
43184 echo $ECHO_N "(cached) $ECHO_C" >&6
43186 cat >conftest.
$ac_ext <<_ACEOF
43189 cat confdefs.h
>>conftest.
$ac_ext
43190 cat >>conftest.
$ac_ext <<_ACEOF
43191 /* end confdefs.h. */
43192 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43194 #define sched_yield innocuous_sched_yield
43196 /* System header to define __stub macros and hopefully few prototypes,
43197 which can conflict with char sched_yield (); below.
43198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43199 <limits.h> exists even on freestanding compilers. */
43202 # include <limits.h>
43204 # include <assert.h>
43209 /* Override any GCC internal prototype to avoid an error.
43210 Use char because int might match the return type of a GCC
43211 builtin and then its argument prototype would still apply. */
43215 char sched_yield ();
43216 /* The GNU C library defines this for functions which it implements
43217 to always fail with ENOSYS. Some functions are actually named
43218 something starting with __ and the normal name is an alias. */
43219 #if defined __stub_sched_yield || defined __stub___sched_yield
43226 return sched_yield ();
43231 rm -f conftest.
$ac_objext conftest
$ac_exeext
43232 if { (ac_try
="$ac_link"
43233 case "(($ac_try" in
43234 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43235 *) ac_try_echo=$ac_try;;
43237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43238 (eval "$ac_link") 2>conftest.er1
43240 grep -v '^ *+' conftest.er1 >conftest.err
43242 cat conftest.err >&5
43243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43244 (exit $ac_status); } && {
43245 test -z "$ac_c_werror_flag" ||
43246 test ! -s conftest.err
43247 } && test -s conftest$ac_exeext &&
43248 $as_test_x conftest$ac_exeext; then
43249 ac_cv_func_sched_yield=yes
43251 echo "$as_me: failed program was:" >&5
43252 sed 's/^/| /' conftest.$ac_ext >&5
43254 ac_cv_func_sched_yield=no
43257 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43258 conftest$ac_exeext conftest.$ac_ext
43260 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43261 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43262 if test $ac_cv_func_sched_yield = yes; then
43263 cat >>confdefs.h <<\_ACEOF
43264 #define HAVE_SCHED_YIELD 1
43269 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43270 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43271 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43272 echo $ECHO_N "(cached) $ECHO_C" >&6
43274 ac_check_lib_save_LIBS=$LIBS
43275 LIBS="-lposix4 $LIBS"
43276 cat >conftest.$ac_ext <<_ACEOF
43279 cat confdefs.h >>conftest.$ac_ext
43280 cat >>conftest.$ac_ext <<_ACEOF
43281 /* end confdefs.h. */
43283 /* Override any GCC internal prototype to avoid an error.
43284 Use char because int might match the return type of a GCC
43285 builtin and then its argument prototype would still apply. */
43289 char sched_yield ();
43293 return sched_yield ();
43298 rm -f conftest.$ac_objext conftest$ac_exeext
43299 if { (ac_try="$ac_link"
43300 case "(($ac_try" in
43301 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43302 *) ac_try_echo
=$ac_try;;
43304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43305 (eval "$ac_link") 2>conftest.er1
43307 grep -v '^ *+' conftest.er1
>conftest.err
43309 cat conftest.err
>&5
43310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43311 (exit $ac_status); } && {
43312 test -z "$ac_c_werror_flag" ||
43313 test ! -s conftest.err
43314 } && test -s conftest
$ac_exeext &&
43315 $as_test_x conftest
$ac_exeext; then
43316 ac_cv_lib_posix4_sched_yield
=yes
43318 echo "$as_me: failed program was:" >&5
43319 sed 's/^/| /' conftest.
$ac_ext >&5
43321 ac_cv_lib_posix4_sched_yield
=no
43324 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43325 conftest
$ac_exeext conftest.
$ac_ext
43326 LIBS
=$ac_check_lib_save_LIBS
43328 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43329 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43330 if test $ac_cv_lib_posix4_sched_yield = yes; then
43331 cat >>confdefs.h
<<\_ACEOF
43332 #define HAVE_SCHED_YIELD 1
43334 POSIX4_LINK
=" -lposix4"
43336 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43337 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43348 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43349 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43350 if test "${ac_cv_func_pthread_attr_getschedpolicy+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 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43361 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43363 /* System header to define __stub macros and hopefully few prototypes,
43364 which can conflict with char pthread_attr_getschedpolicy (); below.
43365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43366 <limits.h> exists even on freestanding compilers. */
43369 # include <limits.h>
43371 # include <assert.h>
43374 #undef pthread_attr_getschedpolicy
43376 /* Override any GCC internal prototype to avoid an error.
43377 Use char because int might match the return type of a GCC
43378 builtin and then its argument prototype would still apply. */
43382 char pthread_attr_getschedpolicy ();
43383 /* The GNU C library defines this for functions which it implements
43384 to always fail with ENOSYS. Some functions are actually named
43385 something starting with __ and the normal name is an alias. */
43386 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43393 return pthread_attr_getschedpolicy ();
43398 rm -f conftest.
$ac_objext conftest
$ac_exeext
43399 if { (ac_try
="$ac_link"
43400 case "(($ac_try" in
43401 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43402 *) ac_try_echo=$ac_try;;
43404 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43405 (eval "$ac_link") 2>conftest.er1
43407 grep -v '^ *+' conftest.er1 >conftest.err
43409 cat conftest.err >&5
43410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43411 (exit $ac_status); } && {
43412 test -z "$ac_c_werror_flag" ||
43413 test ! -s conftest.err
43414 } && test -s conftest$ac_exeext &&
43415 $as_test_x conftest$ac_exeext; then
43416 ac_cv_func_pthread_attr_getschedpolicy=yes
43418 echo "$as_me: failed program was:" >&5
43419 sed 's/^/| /' conftest.$ac_ext >&5
43421 ac_cv_func_pthread_attr_getschedpolicy=no
43424 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43425 conftest$ac_exeext conftest.$ac_ext
43427 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43428 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43429 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43430 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43431 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43432 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43433 echo $ECHO_N "(cached) $ECHO_C" >&6
43435 cat >conftest.$ac_ext <<_ACEOF
43438 cat confdefs.h >>conftest.$ac_ext
43439 cat >>conftest.$ac_ext <<_ACEOF
43440 /* end confdefs.h. */
43441 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43443 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43445 /* System header to define __stub macros and hopefully few prototypes,
43446 which can conflict with char pthread_attr_setschedparam (); below.
43447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43448 <limits.h> exists even on freestanding compilers. */
43451 # include <limits.h>
43453 # include <assert.h>
43456 #undef pthread_attr_setschedparam
43458 /* Override any GCC internal prototype to avoid an error.
43459 Use char because int might match the return type of a GCC
43460 builtin and then its argument prototype would still apply. */
43464 char pthread_attr_setschedparam ();
43465 /* The GNU C library defines this for functions which it implements
43466 to always fail with ENOSYS. Some functions are actually named
43467 something starting with __ and the normal name is an alias. */
43468 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43475 return pthread_attr_setschedparam ();
43480 rm -f conftest.$ac_objext conftest$ac_exeext
43481 if { (ac_try="$ac_link"
43482 case "(($ac_try" in
43483 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43484 *) ac_try_echo
=$ac_try;;
43486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43487 (eval "$ac_link") 2>conftest.er1
43489 grep -v '^ *+' conftest.er1
>conftest.err
43491 cat conftest.err
>&5
43492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43493 (exit $ac_status); } && {
43494 test -z "$ac_c_werror_flag" ||
43495 test ! -s conftest.err
43496 } && test -s conftest
$ac_exeext &&
43497 $as_test_x conftest
$ac_exeext; then
43498 ac_cv_func_pthread_attr_setschedparam
=yes
43500 echo "$as_me: failed program was:" >&5
43501 sed 's/^/| /' conftest.
$ac_ext >&5
43503 ac_cv_func_pthread_attr_setschedparam
=no
43506 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43507 conftest
$ac_exeext conftest.
$ac_ext
43509 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43510 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43511 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43512 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43513 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43514 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43515 echo $ECHO_N "(cached) $ECHO_C" >&6
43517 cat >conftest.
$ac_ext <<_ACEOF
43520 cat confdefs.h
>>conftest.
$ac_ext
43521 cat >>conftest.
$ac_ext <<_ACEOF
43522 /* end confdefs.h. */
43523 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43525 #define sched_get_priority_max innocuous_sched_get_priority_max
43527 /* System header to define __stub macros and hopefully few prototypes,
43528 which can conflict with char sched_get_priority_max (); below.
43529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43530 <limits.h> exists even on freestanding compilers. */
43533 # include <limits.h>
43535 # include <assert.h>
43538 #undef sched_get_priority_max
43540 /* Override any GCC internal prototype to avoid an error.
43541 Use char because int might match the return type of a GCC
43542 builtin and then its argument prototype would still apply. */
43546 char sched_get_priority_max ();
43547 /* The GNU C library defines this for functions which it implements
43548 to always fail with ENOSYS. Some functions are actually named
43549 something starting with __ and the normal name is an alias. */
43550 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43557 return sched_get_priority_max ();
43562 rm -f conftest.
$ac_objext conftest
$ac_exeext
43563 if { (ac_try
="$ac_link"
43564 case "(($ac_try" in
43565 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43566 *) ac_try_echo=$ac_try;;
43568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43569 (eval "$ac_link") 2>conftest.er1
43571 grep -v '^ *+' conftest.er1 >conftest.err
43573 cat conftest.err >&5
43574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43575 (exit $ac_status); } && {
43576 test -z "$ac_c_werror_flag" ||
43577 test ! -s conftest.err
43578 } && test -s conftest$ac_exeext &&
43579 $as_test_x conftest$ac_exeext; then
43580 ac_cv_func_sched_get_priority_max=yes
43582 echo "$as_me: failed program was:" >&5
43583 sed 's/^/| /' conftest.$ac_ext >&5
43585 ac_cv_func_sched_get_priority_max=no
43588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43589 conftest$ac_exeext conftest.$ac_ext
43591 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43592 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43593 if test $ac_cv_func_sched_get_priority_max = yes; then
43596 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43597 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43598 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43599 echo $ECHO_N "(cached) $ECHO_C" >&6
43601 ac_check_lib_save_LIBS=$LIBS
43602 LIBS="-lposix4 $LIBS"
43603 cat >conftest.$ac_ext <<_ACEOF
43606 cat confdefs.h >>conftest.$ac_ext
43607 cat >>conftest.$ac_ext <<_ACEOF
43608 /* end confdefs.h. */
43610 /* Override any GCC internal prototype to avoid an error.
43611 Use char because int might match the return type of a GCC
43612 builtin and then its argument prototype would still apply. */
43616 char sched_get_priority_max ();
43620 return sched_get_priority_max ();
43625 rm -f conftest.$ac_objext conftest$ac_exeext
43626 if { (ac_try="$ac_link"
43627 case "(($ac_try" in
43628 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43629 *) ac_try_echo
=$ac_try;;
43631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43632 (eval "$ac_link") 2>conftest.er1
43634 grep -v '^ *+' conftest.er1
>conftest.err
43636 cat conftest.err
>&5
43637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43638 (exit $ac_status); } && {
43639 test -z "$ac_c_werror_flag" ||
43640 test ! -s conftest.err
43641 } && test -s conftest
$ac_exeext &&
43642 $as_test_x conftest
$ac_exeext; then
43643 ac_cv_lib_posix4_sched_get_priority_max
=yes
43645 echo "$as_me: failed program was:" >&5
43646 sed 's/^/| /' conftest.
$ac_ext >&5
43648 ac_cv_lib_posix4_sched_get_priority_max
=no
43651 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43652 conftest
$ac_exeext conftest.
$ac_ext
43653 LIBS
=$ac_check_lib_save_LIBS
43655 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43656 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43657 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43660 POSIX4_LINK
=" -lposix4"
43674 if test "$HAVE_PRIOR_FUNCS" = 1; then
43675 cat >>confdefs.h
<<\_ACEOF
43676 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43680 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43681 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43684 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43685 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43686 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43687 echo $ECHO_N "(cached) $ECHO_C" >&6
43689 cat >conftest.
$ac_ext <<_ACEOF
43692 cat confdefs.h
>>conftest.
$ac_ext
43693 cat >>conftest.
$ac_ext <<_ACEOF
43694 /* end confdefs.h. */
43695 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43697 #define pthread_cancel innocuous_pthread_cancel
43699 /* System header to define __stub macros and hopefully few prototypes,
43700 which can conflict with char pthread_cancel (); below.
43701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43702 <limits.h> exists even on freestanding compilers. */
43705 # include <limits.h>
43707 # include <assert.h>
43710 #undef pthread_cancel
43712 /* Override any GCC internal prototype to avoid an error.
43713 Use char because int might match the return type of a GCC
43714 builtin and then its argument prototype would still apply. */
43718 char pthread_cancel ();
43719 /* The GNU C library defines this for functions which it implements
43720 to always fail with ENOSYS. Some functions are actually named
43721 something starting with __ and the normal name is an alias. */
43722 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43729 return pthread_cancel ();
43734 rm -f conftest.
$ac_objext conftest
$ac_exeext
43735 if { (ac_try
="$ac_link"
43736 case "(($ac_try" in
43737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43738 *) ac_try_echo=$ac_try;;
43740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43741 (eval "$ac_link") 2>conftest.er1
43743 grep -v '^ *+' conftest.er1 >conftest.err
43745 cat conftest.err >&5
43746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43747 (exit $ac_status); } && {
43748 test -z "$ac_c_werror_flag" ||
43749 test ! -s conftest.err
43750 } && test -s conftest$ac_exeext &&
43751 $as_test_x conftest$ac_exeext; then
43752 ac_cv_func_pthread_cancel=yes
43754 echo "$as_me: failed program was:" >&5
43755 sed 's/^/| /' conftest.$ac_ext >&5
43757 ac_cv_func_pthread_cancel=no
43760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43761 conftest$ac_exeext conftest.$ac_ext
43763 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43764 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43765 if test $ac_cv_func_pthread_cancel = yes; then
43766 cat >>confdefs.h <<\_ACEOF
43767 #define HAVE_PTHREAD_CANCEL 1
43771 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43772 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43776 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43777 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43778 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43779 echo $ECHO_N "(cached) $ECHO_C" >&6
43781 cat >conftest.$ac_ext <<_ACEOF
43784 cat confdefs.h >>conftest.$ac_ext
43785 cat >>conftest.$ac_ext <<_ACEOF
43786 /* end confdefs.h. */
43787 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43789 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43791 /* System header to define __stub macros and hopefully few prototypes,
43792 which can conflict with char pthread_mutex_timedlock (); below.
43793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43794 <limits.h> exists even on freestanding compilers. */
43797 # include <limits.h>
43799 # include <assert.h>
43802 #undef pthread_mutex_timedlock
43804 /* Override any GCC internal prototype to avoid an error.
43805 Use char because int might match the return type of a GCC
43806 builtin and then its argument prototype would still apply. */
43810 char pthread_mutex_timedlock ();
43811 /* The GNU C library defines this for functions which it implements
43812 to always fail with ENOSYS. Some functions are actually named
43813 something starting with __ and the normal name is an alias. */
43814 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43821 return pthread_mutex_timedlock ();
43826 rm -f conftest.$ac_objext conftest$ac_exeext
43827 if { (ac_try="$ac_link"
43828 case "(($ac_try" in
43829 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43830 *) ac_try_echo
=$ac_try;;
43832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43833 (eval "$ac_link") 2>conftest.er1
43835 grep -v '^ *+' conftest.er1
>conftest.err
43837 cat conftest.err
>&5
43838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43839 (exit $ac_status); } && {
43840 test -z "$ac_c_werror_flag" ||
43841 test ! -s conftest.err
43842 } && test -s conftest
$ac_exeext &&
43843 $as_test_x conftest
$ac_exeext; then
43844 ac_cv_func_pthread_mutex_timedlock
=yes
43846 echo "$as_me: failed program was:" >&5
43847 sed 's/^/| /' conftest.
$ac_ext >&5
43849 ac_cv_func_pthread_mutex_timedlock
=no
43852 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43853 conftest
$ac_exeext conftest.
$ac_ext
43855 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43856 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43857 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43858 cat >>confdefs.h
<<\_ACEOF
43859 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43863 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43864 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43868 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43869 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43870 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43871 echo $ECHO_N "(cached) $ECHO_C" >&6
43873 cat >conftest.
$ac_ext <<_ACEOF
43876 cat confdefs.h
>>conftest.
$ac_ext
43877 cat >>conftest.
$ac_ext <<_ACEOF
43878 /* end confdefs.h. */
43879 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43880 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43881 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43883 /* System header to define __stub macros and hopefully few prototypes,
43884 which can conflict with char pthread_attr_setstacksize (); below.
43885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43886 <limits.h> exists even on freestanding compilers. */
43889 # include <limits.h>
43891 # include <assert.h>
43894 #undef pthread_attr_setstacksize
43896 /* Override any GCC internal prototype to avoid an error.
43897 Use char because int might match the return type of a GCC
43898 builtin and then its argument prototype would still apply. */
43902 char pthread_attr_setstacksize ();
43903 /* The GNU C library defines this for functions which it implements
43904 to always fail with ENOSYS. Some functions are actually named
43905 something starting with __ and the normal name is an alias. */
43906 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
43913 return pthread_attr_setstacksize ();
43918 rm -f conftest.
$ac_objext conftest
$ac_exeext
43919 if { (ac_try
="$ac_link"
43920 case "(($ac_try" in
43921 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43922 *) ac_try_echo=$ac_try;;
43924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43925 (eval "$ac_link") 2>conftest.er1
43927 grep -v '^ *+' conftest.er1 >conftest.err
43929 cat conftest.err >&5
43930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931 (exit $ac_status); } && {
43932 test -z "$ac_c_werror_flag" ||
43933 test ! -s conftest.err
43934 } && test -s conftest$ac_exeext &&
43935 $as_test_x conftest$ac_exeext; then
43936 ac_cv_func_pthread_attr_setstacksize=yes
43938 echo "$as_me: failed program was:" >&5
43939 sed 's/^/| /' conftest.$ac_ext >&5
43941 ac_cv_func_pthread_attr_setstacksize=no
43944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43945 conftest$ac_exeext conftest.$ac_ext
43947 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
43948 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
43949 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
43950 cat >>confdefs.h <<\_ACEOF
43951 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
43958 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
43959 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
43960 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
43961 echo $ECHO_N "(cached) $ECHO_C" >&6
43964 cat >conftest.$ac_ext <<_ACEOF
43967 cat confdefs.h >>conftest.$ac_ext
43968 cat >>conftest.$ac_ext <<_ACEOF
43969 /* end confdefs.h. */
43970 #include <pthread.h>
43975 pthread_mutexattr_t attr;
43976 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43982 rm -f conftest.$ac_objext
43983 if { (ac_try="$ac_compile"
43984 case "(($ac_try" in
43985 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43986 *) ac_try_echo
=$ac_try;;
43988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43989 (eval "$ac_compile") 2>conftest.er1
43991 grep -v '^ *+' conftest.er1
>conftest.err
43993 cat conftest.err
>&5
43994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43995 (exit $ac_status); } && {
43996 test -z "$ac_c_werror_flag" ||
43997 test ! -s conftest.err
43998 } && test -s conftest.
$ac_objext; then
43999 wx_cv_type_pthread_mutexattr_t
=yes
44001 echo "$as_me: failed program was:" >&5
44002 sed 's/^/| /' conftest.
$ac_ext >&5
44004 wx_cv_type_pthread_mutexattr_t
=no
44008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44011 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44012 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44014 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44015 cat >>confdefs.h
<<\_ACEOF
44016 #define HAVE_PTHREAD_MUTEXATTR_T 1
44020 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44021 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44022 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44023 echo $ECHO_N "(cached) $ECHO_C" >&6
44026 cat >conftest.
$ac_ext <<_ACEOF
44029 cat confdefs.h
>>conftest.
$ac_ext
44030 cat >>conftest.
$ac_ext <<_ACEOF
44031 /* end confdefs.h. */
44032 #include <pthread.h>
44037 pthread_mutexattr_t attr;
44038 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44044 rm -f conftest.
$ac_objext
44045 if { (ac_try
="$ac_compile"
44046 case "(($ac_try" in
44047 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44048 *) ac_try_echo=$ac_try;;
44050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44051 (eval "$ac_compile") 2>conftest.er1
44053 grep -v '^ *+' conftest.er1 >conftest.err
44055 cat conftest.err >&5
44056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44057 (exit $ac_status); } && {
44058 test -z "$ac_c_werror_flag" ||
44059 test ! -s conftest.err
44060 } && test -s conftest.$ac_objext; then
44061 wx_cv_func_pthread_mutexattr_settype_decl=yes
44063 echo "$as_me: failed program was:" >&5
44064 sed 's/^/| /' conftest.$ac_ext >&5
44066 wx_cv_func_pthread_mutexattr_settype_decl=no
44070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44073 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44074 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44075 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44082 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44083 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44084 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44085 echo $ECHO_N "(cached) $ECHO_C" >&6
44088 cat >conftest.$ac_ext <<_ACEOF
44091 cat confdefs.h >>conftest.$ac_ext
44092 cat >>conftest.$ac_ext <<_ACEOF
44093 /* end confdefs.h. */
44094 #include <pthread.h>
44099 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44105 rm -f conftest.$ac_objext
44106 if { (ac_try="$ac_compile"
44107 case "(($ac_try" in
44108 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44109 *) ac_try_echo
=$ac_try;;
44111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44112 (eval "$ac_compile") 2>conftest.er1
44114 grep -v '^ *+' conftest.er1
>conftest.err
44116 cat conftest.err
>&5
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); } && {
44119 test -z "$ac_c_werror_flag" ||
44120 test ! -s conftest.err
44121 } && test -s conftest.
$ac_objext; then
44123 wx_cv_type_pthread_rec_mutex_init
=yes
44126 echo "$as_me: failed program was:" >&5
44127 sed 's/^/| /' conftest.
$ac_ext >&5
44130 wx_cv_type_pthread_rec_mutex_init
=no
44135 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44138 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44139 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44140 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44141 cat >>confdefs.h
<<\_ACEOF
44142 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44146 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44147 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44151 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44152 if test "$USE_NETBSD" = 1; then
44153 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44154 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44155 wxUSE_COMPILER_TLS
=no
44157 wxUSE_COMPILER_TLS
=yes
44161 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44162 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44163 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44164 if test "${wx_cv_cc___thread+set}" = set; then
44165 echo $ECHO_N "(cached) $ECHO_C" >&6
44168 cat >conftest.
$ac_ext <<_ACEOF
44171 cat confdefs.h
>>conftest.
$ac_ext
44172 cat >>conftest.
$ac_ext <<_ACEOF
44173 /* end confdefs.h. */
44174 #include <pthread.h>
44179 static __thread int n = 0;
44180 static __thread int *p = 0;
44186 rm -f conftest.
$ac_objext
44187 if { (ac_try
="$ac_compile"
44188 case "(($ac_try" in
44189 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44190 *) ac_try_echo=$ac_try;;
44192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44193 (eval "$ac_compile") 2>conftest.er1
44195 grep -v '^ *+' conftest.er1 >conftest.err
44197 cat conftest.err >&5
44198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44199 (exit $ac_status); } && {
44200 test -z "$ac_c_werror_flag" ||
44201 test ! -s conftest.err
44202 } && test -s conftest.$ac_objext; then
44203 wx_cv_cc___thread=yes
44205 echo "$as_me: failed program was:" >&5
44206 sed 's/^/| /' conftest.$ac_ext >&5
44208 wx_cv_cc___thread=no
44212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44216 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44217 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44219 if test "$wx_cv_cc___thread" = "yes"; then
44225 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44226 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44228 if test "x$GCC" = "xyes" ; then
44230 if test -z "" ; then
44232 ax_gcc_option_test="int main()
44239 ax_gcc_option_test=""
44244 # Dump the test program to file
44245 cat <<EOF > conftest.c
44246 $ax_gcc_option_test
44249 # Dump back the file to the log, useful for debugging purposes
44250 { ac_try='cat conftest.c 1>&5'
44251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44252 (eval $ac_try) 2>&5
44254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44255 (exit $ac_status); }; }
44257 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
44258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44259 (eval $ac_try) 2>&5
44261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44262 (exit $ac_status); }; } ; then
44264 { echo "$as_me:$LINENO: result: yes" >&5
44265 echo "${ECHO_T}yes" >&6; }
44267 ax_gcc_version_option=yes
44272 { echo "$as_me:$LINENO: result: no" >&5
44273 echo "${ECHO_T}no" >&6; }
44275 ax_gcc_version_option=no
44283 { echo "$as_me:$LINENO: result: no gcc available" >&5
44284 echo "${ECHO_T}no gcc available" >&6; }
44289 if test "x$GXX" = "xyes"; then
44291 if test "x$ax_gxx_version_option" != "no"; then
44293 { echo "$as_me:$LINENO: checking gxx version" >&5
44294 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44295 if test "${ax_cv_gxx_version+set}" = set; then
44296 echo $ECHO_N "(cached) $ECHO_C" >&6
44299 ax_cv_gxx_version="`$CXX -dumpversion`"
44300 if test "x$ax_cv_gxx_version" = "x"; then
44302 ax_cv_gxx_version=""
44308 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44309 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44310 GXX_VERSION=$ax_cv_gxx_version
44319 if test -n "$ax_cv_gxx_version"; then
44320 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44321 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44322 case "$ax_cv_gxx_version" in
44324 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44325 echo "${ECHO_T}no, it's broken" >&6; }
44326 wx_cv_cc___thread=no
44329 { echo "$as_me:$LINENO: result: yes, it works" >&5
44330 echo "${ECHO_T}yes, it works" >&6; }
44336 if test "$wx_cv_cc___thread" = "yes"; then
44337 cat >>confdefs.h <<\_ACEOF
44338 #define HAVE___THREAD_KEYWORD 1
44346 if test "$wxUSE_THREADS" = "yes" ; then
44348 x86_64-*-mingw32* )
44351 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44352 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44353 if test "${wx_cv_cflags_mthread+set}" = set; then
44354 echo $ECHO_N "(cached) $ECHO_C" >&6
44357 CFLAGS_OLD="$CFLAGS"
44358 CFLAGS="-mthreads $CFLAGS"
44359 cat >conftest.$ac_ext <<_ACEOF
44362 cat confdefs.h >>conftest.$ac_ext
44363 cat >>conftest.$ac_ext <<_ACEOF
44364 /* end confdefs.h. */
44374 rm -f conftest.$ac_objext
44375 if { (ac_try="$ac_compile"
44376 case "(($ac_try" in
44377 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44378 *) ac_try_echo
=$ac_try;;
44380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44381 (eval "$ac_compile") 2>conftest.er1
44383 grep -v '^ *+' conftest.er1
>conftest.err
44385 cat conftest.err
>&5
44386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44387 (exit $ac_status); } && {
44388 test -z "$ac_c_werror_flag" ||
44389 test ! -s conftest.err
44390 } && test -s conftest.
$ac_objext; then
44391 wx_cv_cflags_mthread
=yes
44393 echo "$as_me: failed program was:" >&5
44394 sed 's/^/| /' conftest.
$ac_ext >&5
44396 wx_cv_cflags_mthread
=no
44400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44404 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44405 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44407 if test "$wx_cv_cflags_mthread" = "yes"; then
44408 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
44409 LDFLAGS
="$LDFLAGS -mthreads"
44411 CFLAGS
="$CFLAGS_OLD"
44415 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44416 LDFLAGS
="$LDFLAGS -Zmt"
44422 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44423 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44424 if test "${ac_cv_func_localtime_r+set}" = set; then
44425 echo $ECHO_N "(cached) $ECHO_C" >&6
44427 cat >conftest.
$ac_ext <<_ACEOF
44430 cat confdefs.h
>>conftest.
$ac_ext
44431 cat >>conftest.
$ac_ext <<_ACEOF
44432 /* end confdefs.h. */
44433 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44435 #define localtime_r innocuous_localtime_r
44437 /* System header to define __stub macros and hopefully few prototypes,
44438 which can conflict with char localtime_r (); below.
44439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44440 <limits.h> exists even on freestanding compilers. */
44443 # include <limits.h>
44445 # include <assert.h>
44450 /* Override any GCC internal prototype to avoid an error.
44451 Use char because int might match the return type of a GCC
44452 builtin and then its argument prototype would still apply. */
44456 char localtime_r ();
44457 /* The GNU C library defines this for functions which it implements
44458 to always fail with ENOSYS. Some functions are actually named
44459 something starting with __ and the normal name is an alias. */
44460 #if defined __stub_localtime_r || defined __stub___localtime_r
44467 return localtime_r ();
44472 rm -f conftest.
$ac_objext conftest
$ac_exeext
44473 if { (ac_try
="$ac_link"
44474 case "(($ac_try" in
44475 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44476 *) ac_try_echo=$ac_try;;
44478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44479 (eval "$ac_link") 2>conftest.er1
44481 grep -v '^ *+' conftest.er1 >conftest.err
44483 cat conftest.err >&5
44484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44485 (exit $ac_status); } && {
44486 test -z "$ac_c_werror_flag" ||
44487 test ! -s conftest.err
44488 } && test -s conftest$ac_exeext &&
44489 $as_test_x conftest$ac_exeext; then
44490 ac_cv_func_localtime_r=yes
44492 echo "$as_me: failed program was:" >&5
44493 sed 's/^/| /' conftest.$ac_ext >&5
44495 ac_cv_func_localtime_r=no
44498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44499 conftest$ac_exeext conftest.$ac_ext
44501 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44502 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44503 if test $ac_cv_func_localtime_r = yes; then
44504 cat >>confdefs.h <<\_ACEOF
44505 #define HAVE_LOCALTIME_R 1
44510 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44511 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44512 if test "${ac_cv_func_gmtime_r+set}" = set; then
44513 echo $ECHO_N "(cached) $ECHO_C" >&6
44515 cat >conftest.$ac_ext <<_ACEOF
44518 cat confdefs.h >>conftest.$ac_ext
44519 cat >>conftest.$ac_ext <<_ACEOF
44520 /* end confdefs.h. */
44521 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44523 #define gmtime_r innocuous_gmtime_r
44525 /* System header to define __stub macros and hopefully few prototypes,
44526 which can conflict with char gmtime_r (); below.
44527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44528 <limits.h> exists even on freestanding compilers. */
44531 # include <limits.h>
44533 # include <assert.h>
44538 /* Override any GCC internal prototype to avoid an error.
44539 Use char because int might match the return type of a GCC
44540 builtin and then its argument prototype would still apply. */
44545 /* The GNU C library defines this for functions which it implements
44546 to always fail with ENOSYS. Some functions are actually named
44547 something starting with __ and the normal name is an alias. */
44548 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44555 return gmtime_r ();
44560 rm -f conftest.$ac_objext conftest$ac_exeext
44561 if { (ac_try="$ac_link"
44562 case "(($ac_try" in
44563 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44564 *) ac_try_echo
=$ac_try;;
44566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44567 (eval "$ac_link") 2>conftest.er1
44569 grep -v '^ *+' conftest.er1
>conftest.err
44571 cat conftest.err
>&5
44572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44573 (exit $ac_status); } && {
44574 test -z "$ac_c_werror_flag" ||
44575 test ! -s conftest.err
44576 } && test -s conftest
$ac_exeext &&
44577 $as_test_x conftest
$ac_exeext; then
44578 ac_cv_func_gmtime_r
=yes
44580 echo "$as_me: failed program was:" >&5
44581 sed 's/^/| /' conftest.
$ac_ext >&5
44583 ac_cv_func_gmtime_r
=no
44586 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44587 conftest
$ac_exeext conftest.
$ac_ext
44589 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44590 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44591 if test $ac_cv_func_gmtime_r = yes; then
44592 cat >>confdefs.h
<<\_ACEOF
44593 #define HAVE_GMTIME_R 1
44602 ac_cpp
='$CPP $CPPFLAGS'
44603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44607 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44608 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44610 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44611 echo $ECHO_N "(cached) $ECHO_C" >&6
44615 ################################################################
44617 ac_cv_func_which_gethostbyname_r
=unknown
44620 # ONE ARGUMENT (sanity check)
44623 # This should fail, as there is no variant of gethostbyname_r() that takes
44624 # a single argument. If it actually compiles, then we can assume that
44625 # netdb.h is not declaring the function, and the compiler is thereby
44626 # assuming an implicit prototype. In which case, we're out of luck.
44628 cat >conftest.
$ac_ext <<_ACEOF
44631 cat confdefs.h
>>conftest.
$ac_ext
44632 cat >>conftest.
$ac_ext <<_ACEOF
44633 /* end confdefs.h. */
44639 char *name = "www.gnu.org";
44640 (void)gethostbyname_r(name) /* ; */
44647 rm -f conftest.
$ac_objext
44648 if { (ac_try
="$ac_compile"
44649 case "(($ac_try" in
44650 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44651 *) ac_try_echo=$ac_try;;
44653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44654 (eval "$ac_compile") 2>conftest.er1
44656 grep -v '^ *+' conftest.er1 >conftest.err
44658 cat conftest.err >&5
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); } && {
44661 test -z "$ac_c_werror_flag" ||
44662 test ! -s conftest.err
44663 } && test -s conftest.$ac_objext; then
44664 ac_cv_func_which_gethostbyname_r=no
44667 echo "$as_me: failed program was:" >&5
44668 sed 's/^/| /' conftest.$ac_ext >&5
44673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44680 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44682 cat >conftest.$ac_ext <<_ACEOF
44685 cat confdefs.h >>conftest.$ac_ext
44686 cat >>conftest.$ac_ext <<_ACEOF
44687 /* end confdefs.h. */
44693 char *name = "www.gnu.org";
44694 struct hostent ret, *retp;
44698 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44705 rm -f conftest.$ac_objext
44706 if { (ac_try="$ac_compile"
44707 case "(($ac_try" in
44708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44709 *) ac_try_echo
=$ac_try;;
44711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44712 (eval "$ac_compile") 2>conftest.er1
44714 grep -v '^ *+' conftest.er1
>conftest.err
44716 cat conftest.err
>&5
44717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44718 (exit $ac_status); } && {
44719 test -z "$ac_c_werror_flag" ||
44720 test ! -s conftest.err
44721 } && test -s conftest.
$ac_objext; then
44722 ac_cv_func_which_gethostbyname_r
=six
44725 echo "$as_me: failed program was:" >&5
44726 sed 's/^/| /' conftest.
$ac_ext >&5
44731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44740 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44742 cat >conftest.
$ac_ext <<_ACEOF
44745 cat confdefs.h
>>conftest.
$ac_ext
44746 cat >>conftest.
$ac_ext <<_ACEOF
44747 /* end confdefs.h. */
44753 char *name = "www.gnu.org";
44754 struct hostent ret;
44758 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44765 rm -f conftest.
$ac_objext
44766 if { (ac_try
="$ac_compile"
44767 case "(($ac_try" in
44768 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44769 *) ac_try_echo=$ac_try;;
44771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44772 (eval "$ac_compile") 2>conftest.er1
44774 grep -v '^ *+' conftest.er1 >conftest.err
44776 cat conftest.err >&5
44777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44778 (exit $ac_status); } && {
44779 test -z "$ac_c_werror_flag" ||
44780 test ! -s conftest.err
44781 } && test -s conftest.$ac_objext; then
44782 ac_cv_func_which_gethostbyname_r=five
44785 echo "$as_me: failed program was:" >&5
44786 sed 's/^/| /' conftest.$ac_ext >&5
44791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44797 # (e.g. AIX, HP-UX, Tru64)
44800 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44802 cat >conftest.$ac_ext <<_ACEOF
44805 cat confdefs.h >>conftest.$ac_ext
44806 cat >>conftest.$ac_ext <<_ACEOF
44807 /* end confdefs.h. */
44813 char *name = "www.gnu.org";
44814 struct hostent ret;
44815 struct hostent_data data;
44816 (void)gethostbyname_r(name, &ret, &data) /* ; */
44823 rm -f conftest.$ac_objext
44824 if { (ac_try="$ac_compile"
44825 case "(($ac_try" in
44826 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44827 *) ac_try_echo
=$ac_try;;
44829 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44830 (eval "$ac_compile") 2>conftest.er1
44832 grep -v '^ *+' conftest.er1
>conftest.err
44834 cat conftest.err
>&5
44835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44836 (exit $ac_status); } && {
44837 test -z "$ac_c_werror_flag" ||
44838 test ! -s conftest.err
44839 } && test -s conftest.
$ac_objext; then
44840 ac_cv_func_which_gethostbyname_r
=three
44843 echo "$as_me: failed program was:" >&5
44844 sed 's/^/| /' conftest.
$ac_ext >&5
44849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44853 ################################################################
44858 case "$ac_cv_func_which_gethostbyname_r" in
44860 { echo "$as_me:$LINENO: result: three" >&5
44861 echo "${ECHO_T}three" >&6; }
44862 cat >>confdefs.h
<<\_ACEOF
44863 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44869 { echo "$as_me:$LINENO: result: five" >&5
44870 echo "${ECHO_T}five" >&6; }
44871 cat >>confdefs.h
<<\_ACEOF
44872 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44878 { echo "$as_me:$LINENO: result: six" >&5
44879 echo "${ECHO_T}six" >&6; }
44880 cat >>confdefs.h
<<\_ACEOF
44881 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44887 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44888 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44892 { echo "$as_me:$LINENO: result: can't tell" >&5
44893 echo "${ECHO_T}can't tell" >&6; }
44897 { { echo "$as_me:$LINENO: error: internal error" >&5
44898 echo "$as_me: error: internal error" >&2;}
44899 { (exit 1); exit 1; }; }
44904 ac_cpp
='$CPP $CPPFLAGS'
44905 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44906 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44907 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44911 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
44912 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
44913 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
44914 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
44915 if test "${ac_cv_func_gethostbyname+set}" = set; then
44916 echo $ECHO_N "(cached) $ECHO_C" >&6
44918 cat >conftest.
$ac_ext <<_ACEOF
44921 cat confdefs.h
>>conftest.
$ac_ext
44922 cat >>conftest.
$ac_ext <<_ACEOF
44923 /* end confdefs.h. */
44924 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
44925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44926 #define gethostbyname innocuous_gethostbyname
44928 /* System header to define __stub macros and hopefully few prototypes,
44929 which can conflict with char gethostbyname (); below.
44930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44931 <limits.h> exists even on freestanding compilers. */
44934 # include <limits.h>
44936 # include <assert.h>
44939 #undef gethostbyname
44941 /* Override any GCC internal prototype to avoid an error.
44942 Use char because int might match the return type of a GCC
44943 builtin and then its argument prototype would still apply. */
44947 char gethostbyname ();
44948 /* The GNU C library defines this for functions which it implements
44949 to always fail with ENOSYS. Some functions are actually named
44950 something starting with __ and the normal name is an alias. */
44951 #if defined __stub_gethostbyname || defined __stub___gethostbyname
44958 return gethostbyname ();
44963 rm -f conftest.
$ac_objext conftest
$ac_exeext
44964 if { (ac_try
="$ac_link"
44965 case "(($ac_try" in
44966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44967 *) ac_try_echo=$ac_try;;
44969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44970 (eval "$ac_link") 2>conftest.er1
44972 grep -v '^ *+' conftest.er1 >conftest.err
44974 cat conftest.err >&5
44975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44976 (exit $ac_status); } && {
44977 test -z "$ac_c_werror_flag" ||
44978 test ! -s conftest.err
44979 } && test -s conftest$ac_exeext &&
44980 $as_test_x conftest$ac_exeext; then
44981 ac_cv_func_gethostbyname=yes
44983 echo "$as_me: failed program was:" >&5
44984 sed 's/^/| /' conftest.$ac_ext >&5
44986 ac_cv_func_gethostbyname=no
44989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44990 conftest$ac_exeext conftest.$ac_ext
44992 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
44993 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
44994 if test $ac_cv_func_gethostbyname = yes; then
44995 cat >>confdefs.h <<\_ACEOF
44996 #define HAVE_GETHOSTBYNAME 1
45003 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
45004 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
45005 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
45006 echo $ECHO_N "(cached) $ECHO_C" >&6
45010 ac_cpp='$CXXCPP $CPPFLAGS'
45011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45016 cat >conftest.$ac_ext <<_ACEOF
45019 cat confdefs.h >>conftest.$ac_ext
45020 cat >>conftest.$ac_ext <<_ACEOF
45021 /* end confdefs.h. */
45029 struct servent *se, *res;
45032 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45038 rm -f conftest.$ac_objext
45039 if { (ac_try="$ac_compile"
45040 case "(($ac_try" in
45041 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45042 *) ac_try_echo
=$ac_try;;
45044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45045 (eval "$ac_compile") 2>conftest.er1
45047 grep -v '^ *+' conftest.er1
>conftest.err
45049 cat conftest.err
>&5
45050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45051 (exit $ac_status); } && {
45052 test -z "$ac_cxx_werror_flag" ||
45053 test ! -s conftest.err
45054 } && test -s conftest.
$ac_objext; then
45055 ac_cv_func_which_getservbyname_r
=six
45057 echo "$as_me: failed program was:" >&5
45058 sed 's/^/| /' conftest.
$ac_ext >&5
45061 cat >conftest.
$ac_ext <<_ACEOF
45064 cat confdefs.h
>>conftest.
$ac_ext
45065 cat >>conftest.
$ac_ext <<_ACEOF
45066 /* end confdefs.h. */
45074 struct servent *se;
45077 (void) getservbyname_r(name, proto, se, buffer, buflen)
45083 rm -f conftest.
$ac_objext
45084 if { (ac_try
="$ac_compile"
45085 case "(($ac_try" in
45086 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45087 *) ac_try_echo=$ac_try;;
45089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45090 (eval "$ac_compile") 2>conftest.er1
45092 grep -v '^ *+' conftest.er1 >conftest.err
45094 cat conftest.err >&5
45095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45096 (exit $ac_status); } && {
45097 test -z "$ac_cxx_werror_flag" ||
45098 test ! -s conftest.err
45099 } && test -s conftest.$ac_objext; then
45100 ac_cv_func_which_getservbyname_r=five
45102 echo "$as_me: failed program was:" >&5
45103 sed 's/^/| /' conftest.$ac_ext >&5
45106 cat >conftest.$ac_ext <<_ACEOF
45109 cat confdefs.h >>conftest.$ac_ext
45110 cat >>conftest.$ac_ext <<_ACEOF
45111 /* end confdefs.h. */
45119 struct servent *se;
45120 struct servent_data data;
45121 (void) getservbyname_r(name, proto, se, &data);
45127 rm -f conftest.$ac_objext
45128 if { (ac_try="$ac_compile"
45129 case "(($ac_try" in
45130 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45131 *) ac_try_echo
=$ac_try;;
45133 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45134 (eval "$ac_compile") 2>conftest.er1
45136 grep -v '^ *+' conftest.er1
>conftest.err
45138 cat conftest.err
>&5
45139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45140 (exit $ac_status); } && {
45141 test -z "$ac_cxx_werror_flag" ||
45142 test ! -s conftest.err
45143 } && test -s conftest.
$ac_objext; then
45144 ac_cv_func_which_getservbyname_r
=four
45146 echo "$as_me: failed program was:" >&5
45147 sed 's/^/| /' conftest.
$ac_ext >&5
45149 ac_cv_func_which_getservbyname_r
=no
45153 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45158 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45165 ac_cpp
='$CPP $CPPFLAGS'
45166 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45167 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45168 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45173 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45174 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45176 if test $ac_cv_func_which_getservbyname_r = six
; then
45177 cat >>confdefs.h
<<\_ACEOF
45178 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45181 elif test $ac_cv_func_which_getservbyname_r = five
; then
45182 cat >>confdefs.h
<<\_ACEOF
45183 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45186 elif test $ac_cv_func_which_getservbyname_r = four
; then
45187 cat >>confdefs.h
<<\_ACEOF
45188 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45194 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45195 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45197 for ac_func
in getservbyname
45199 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45200 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45202 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45203 echo $ECHO_N "(cached) $ECHO_C" >&6
45205 cat >conftest.
$ac_ext <<_ACEOF
45208 cat confdefs.h
>>conftest.
$ac_ext
45209 cat >>conftest.
$ac_ext <<_ACEOF
45210 /* end confdefs.h. */
45211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45213 #define $ac_func innocuous_$ac_func
45215 /* System header to define __stub macros and hopefully few prototypes,
45216 which can conflict with char $ac_func (); below.
45217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45218 <limits.h> exists even on freestanding compilers. */
45221 # include <limits.h>
45223 # include <assert.h>
45228 /* Override any GCC internal prototype to avoid an error.
45229 Use char because int might match the return type of a GCC
45230 builtin and then its argument prototype would still apply. */
45235 /* The GNU C library defines this for functions which it implements
45236 to always fail with ENOSYS. Some functions are actually named
45237 something starting with __ and the normal name is an alias. */
45238 #if defined __stub_$ac_func || defined __stub___$ac_func
45245 return $ac_func ();
45250 rm -f conftest.
$ac_objext conftest
$ac_exeext
45251 if { (ac_try
="$ac_link"
45252 case "(($ac_try" in
45253 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45254 *) ac_try_echo=$ac_try;;
45256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45257 (eval "$ac_link") 2>conftest.er1
45259 grep -v '^ *+' conftest.er1 >conftest.err
45261 cat conftest.err >&5
45262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45263 (exit $ac_status); } && {
45264 test -z "$ac_c_werror_flag" ||
45265 test ! -s conftest.err
45266 } && test -s conftest$ac_exeext &&
45267 $as_test_x conftest$ac_exeext; then
45268 eval "$as_ac_var=yes"
45270 echo "$as_me: failed program was:" >&5
45271 sed 's/^/| /' conftest.$ac_ext >&5
45273 eval "$as_ac_var=no"
45276 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45277 conftest$ac_exeext conftest.$ac_ext
45279 ac_res=`eval echo '${'$as_ac_var'}'`
45280 { echo "$as_me:$LINENO: result: $ac_res" >&5
45281 echo "${ECHO_T}$ac_res" >&6; }
45282 if test `eval echo '${'$as_ac_var'}'` = yes; then
45283 cat >>confdefs.h <<_ACEOF
45284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45286 cat >>confdefs.h <<\_ACEOF
45287 #define HAVE_GETSERVBYNAME 1
45295 if test "$wxUSE_THREADS" = "yes"; then
45296 cat >>confdefs.h <<\_ACEOF
45297 #define wxUSE_THREADS 1
45301 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45303 if test "$wx_cv_func_strtok_r" = "yes"; then
45304 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45305 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45306 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45307 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45308 { echo "$as_me:$LINENO: result: yes" >&5
45309 echo "${ECHO_T}yes" >&6; }
45311 { echo "$as_me:$LINENO: result: no" >&5
45312 echo "${ECHO_T}no" >&6; }
45317 if test "$WXGTK2" = 1 ; then
45318 cat >>confdefs.h <<_ACEOF
45319 #define __WXGTK20__ $WXGTK2
45324 if test "$WXGTK127" = 1 ; then
45325 cat >>confdefs.h <<_ACEOF
45326 #define __WXGTK127__ $WXGTK127
45331 if test "$WXGPE" = 1 ; then
45332 cat >>confdefs.h <<_ACEOF
45333 #define __WXGPE__ $WXGPE
45339 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
45340 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45341 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45342 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45346 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45347 wxUSE_DEBUG_INFO=yes
45348 if test "$GCC" = yes; then
45349 DEBUG_CFLAGS="-ggdb"
45353 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45354 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45356 if test "$wxUSE_GTK" = 1 ; then
45357 if test "x$wxGTK_VERSION" = "x1" ; then
45358 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45360 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45365 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45366 cat >>confdefs.h <<\_ACEOF
45367 #define wxUSE_MEMORY_TRACING 1
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45374 cat >>confdefs.h <<\_ACEOF
45375 #define wxUSE_DEBUG_NEW_ALWAYS 1
45378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45381 if test "$wxUSE_DMALLOC" = "yes" ; then
45382 DMALLOC_LIBS="-ldmallocthcxx"
45386 if test "$wxUSE_PROFILE" = "yes" ; then
45387 PROFILE_FLAGS=" -pg"
45390 if test "$GCC" = "yes" ; then
45391 if test "$wxUSE_NO_RTTI" = "yes" ; then
45392 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45394 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45395 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45397 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45398 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45403 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45406 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45412 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
45413 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45414 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45416 if test "$wxUSE_OPTIMISE" = "no" ; then
45417 if test "$GCC" = yes ; then
45418 OPTIMISE_CFLAGS="-O0"
45421 if test "$GCC" = yes ; then
45423 *-pc-os2_emx | *-pc-os2-emx )
45424 OPTIMISE_CFLAGS="-O2"
45427 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45431 OPTIMISE_CFLAGS="-O"
45437 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45438 cat >>confdefs.h <<\_ACEOF
45439 #define WXWIN_COMPATIBILITY_2_6 1
45443 WXWIN_COMPATIBILITY_2_8="yes"
45446 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45447 cat >>confdefs.h <<\_ACEOF
45448 #define WXWIN_COMPATIBILITY_2_8 1
45454 if test "$wxUSE_GUI" = "yes"; then
45455 cat >>confdefs.h <<\_ACEOF
45456 #define wxUSE_GUI 1
45463 if test "$wxUSE_UNIX" = "yes"; then
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_UNIX 1
45471 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45475 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45476 if test "$USE_DOS" = 1; then
45480 for ac_func in dlopen
45482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45483 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45485 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45486 echo $ECHO_N "(cached) $ECHO_C" >&6
45488 cat >conftest.$ac_ext <<_ACEOF
45491 cat confdefs.h >>conftest.$ac_ext
45492 cat >>conftest.$ac_ext <<_ACEOF
45493 /* end confdefs.h. */
45494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45496 #define $ac_func innocuous_$ac_func
45498 /* System header to define __stub macros and hopefully few prototypes,
45499 which can conflict with char $ac_func (); below.
45500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45501 <limits.h> exists even on freestanding compilers. */
45504 # include <limits.h>
45506 # include <assert.h>
45511 /* Override any GCC internal prototype to avoid an error.
45512 Use char because int might match the return type of a GCC
45513 builtin and then its argument prototype would still apply. */
45518 /* The GNU C library defines this for functions which it implements
45519 to always fail with ENOSYS. Some functions are actually named
45520 something starting with __ and the normal name is an alias. */
45521 #if defined __stub_$ac_func || defined __stub___$ac_func
45528 return $ac_func ();
45533 rm -f conftest.$ac_objext conftest$ac_exeext
45534 if { (ac_try="$ac_link"
45535 case "(($ac_try" in
45536 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45537 *) ac_try_echo
=$ac_try;;
45539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45540 (eval "$ac_link") 2>conftest.er1
45542 grep -v '^ *+' conftest.er1
>conftest.err
45544 cat conftest.err
>&5
45545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45546 (exit $ac_status); } && {
45547 test -z "$ac_c_werror_flag" ||
45548 test ! -s conftest.err
45549 } && test -s conftest
$ac_exeext &&
45550 $as_test_x conftest
$ac_exeext; then
45551 eval "$as_ac_var=yes"
45553 echo "$as_me: failed program was:" >&5
45554 sed 's/^/| /' conftest.
$ac_ext >&5
45556 eval "$as_ac_var=no"
45559 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45560 conftest
$ac_exeext conftest.
$ac_ext
45562 ac_res
=`eval echo '${'$as_ac_var'}'`
45563 { echo "$as_me:$LINENO: result: $ac_res" >&5
45564 echo "${ECHO_T}$ac_res" >&6; }
45565 if test `eval echo '${'$as_ac_var'}'` = yes; then
45566 cat >>confdefs.h
<<_ACEOF
45567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45570 cat >>confdefs.h
<<\_ACEOF
45571 #define HAVE_DLOPEN 1
45578 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45579 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45580 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45581 echo $ECHO_N "(cached) $ECHO_C" >&6
45583 ac_check_lib_save_LIBS
=$LIBS
45585 cat >conftest.
$ac_ext <<_ACEOF
45588 cat confdefs.h
>>conftest.
$ac_ext
45589 cat >>conftest.
$ac_ext <<_ACEOF
45590 /* end confdefs.h. */
45592 /* Override any GCC internal prototype to avoid an error.
45593 Use char because int might match the return type of a GCC
45594 builtin and then its argument prototype would still apply. */
45607 rm -f conftest.
$ac_objext conftest
$ac_exeext
45608 if { (ac_try
="$ac_link"
45609 case "(($ac_try" in
45610 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45611 *) ac_try_echo=$ac_try;;
45613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45614 (eval "$ac_link") 2>conftest.er1
45616 grep -v '^ *+' conftest.er1 >conftest.err
45618 cat conftest.err >&5
45619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45620 (exit $ac_status); } && {
45621 test -z "$ac_c_werror_flag" ||
45622 test ! -s conftest.err
45623 } && test -s conftest$ac_exeext &&
45624 $as_test_x conftest$ac_exeext; then
45625 ac_cv_lib_dl_dlopen=yes
45627 echo "$as_me: failed program was:" >&5
45628 sed 's/^/| /' conftest.$ac_ext >&5
45630 ac_cv_lib_dl_dlopen=no
45633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45634 conftest$ac_exeext conftest.$ac_ext
45635 LIBS=$ac_check_lib_save_LIBS
45637 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45638 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45639 if test $ac_cv_lib_dl_dlopen = yes; then
45641 cat >>confdefs.h <<\_ACEOF
45642 #define HAVE_DLOPEN 1
45646 DL_LINK=" -ldl$DL_LINK"
45651 for ac_func in shl_load
45653 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45654 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45655 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45657 echo $ECHO_N "(cached) $ECHO_C" >&6
45659 cat >conftest.$ac_ext <<_ACEOF
45662 cat confdefs.h >>conftest.$ac_ext
45663 cat >>conftest.$ac_ext <<_ACEOF
45664 /* end confdefs.h. */
45665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45667 #define $ac_func innocuous_$ac_func
45669 /* System header to define __stub macros and hopefully few prototypes,
45670 which can conflict with char $ac_func (); below.
45671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45672 <limits.h> exists even on freestanding compilers. */
45675 # include <limits.h>
45677 # include <assert.h>
45682 /* Override any GCC internal prototype to avoid an error.
45683 Use char because int might match the return type of a GCC
45684 builtin and then its argument prototype would still apply. */
45689 /* The GNU C library defines this for functions which it implements
45690 to always fail with ENOSYS. Some functions are actually named
45691 something starting with __ and the normal name is an alias. */
45692 #if defined __stub_$ac_func || defined __stub___$ac_func
45699 return $ac_func ();
45704 rm -f conftest.$ac_objext conftest$ac_exeext
45705 if { (ac_try="$ac_link"
45706 case "(($ac_try" in
45707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45708 *) ac_try_echo
=$ac_try;;
45710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45711 (eval "$ac_link") 2>conftest.er1
45713 grep -v '^ *+' conftest.er1
>conftest.err
45715 cat conftest.err
>&5
45716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45717 (exit $ac_status); } && {
45718 test -z "$ac_c_werror_flag" ||
45719 test ! -s conftest.err
45720 } && test -s conftest
$ac_exeext &&
45721 $as_test_x conftest
$ac_exeext; then
45722 eval "$as_ac_var=yes"
45724 echo "$as_me: failed program was:" >&5
45725 sed 's/^/| /' conftest.
$ac_ext >&5
45727 eval "$as_ac_var=no"
45730 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45731 conftest
$ac_exeext conftest.
$ac_ext
45733 ac_res
=`eval echo '${'$as_ac_var'}'`
45734 { echo "$as_me:$LINENO: result: $ac_res" >&5
45735 echo "${ECHO_T}$ac_res" >&6; }
45736 if test `eval echo '${'$as_ac_var'}'` = yes; then
45737 cat >>confdefs.h
<<_ACEOF
45738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45741 cat >>confdefs.h
<<\_ACEOF
45742 #define HAVE_SHL_LOAD 1
45749 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45750 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45751 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45752 echo $ECHO_N "(cached) $ECHO_C" >&6
45754 ac_check_lib_save_LIBS
=$LIBS
45755 LIBS
="-lshl_load $LIBS"
45756 cat >conftest.
$ac_ext <<_ACEOF
45759 cat confdefs.h
>>conftest.
$ac_ext
45760 cat >>conftest.
$ac_ext <<_ACEOF
45761 /* end confdefs.h. */
45763 /* Override any GCC internal prototype to avoid an error.
45764 Use char because int might match the return type of a GCC
45765 builtin and then its argument prototype would still apply. */
45778 rm -f conftest.
$ac_objext conftest
$ac_exeext
45779 if { (ac_try
="$ac_link"
45780 case "(($ac_try" in
45781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45782 *) ac_try_echo=$ac_try;;
45784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45785 (eval "$ac_link") 2>conftest.er1
45787 grep -v '^ *+' conftest.er1 >conftest.err
45789 cat conftest.err >&5
45790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45791 (exit $ac_status); } && {
45792 test -z "$ac_c_werror_flag" ||
45793 test ! -s conftest.err
45794 } && test -s conftest$ac_exeext &&
45795 $as_test_x conftest$ac_exeext; then
45796 ac_cv_lib_shl_load_dld=yes
45798 echo "$as_me: failed program was:" >&5
45799 sed 's/^/| /' conftest.$ac_ext >&5
45801 ac_cv_lib_shl_load_dld=no
45804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45805 conftest$ac_exeext conftest.$ac_ext
45806 LIBS=$ac_check_lib_save_LIBS
45808 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45809 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45810 if test $ac_cv_lib_shl_load_dld = yes; then
45813 DL_LINK=" -ldld$DL_LINK"
45829 if test "$HAVE_DL_FUNCS" = 1; then
45831 for ac_func in dlerror
45833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45834 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45836 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45837 echo $ECHO_N "(cached) $ECHO_C" >&6
45839 cat >conftest.$ac_ext <<_ACEOF
45842 cat confdefs.h >>conftest.$ac_ext
45843 cat >>conftest.$ac_ext <<_ACEOF
45844 /* end confdefs.h. */
45845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45847 #define $ac_func innocuous_$ac_func
45849 /* System header to define __stub macros and hopefully few prototypes,
45850 which can conflict with char $ac_func (); below.
45851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45852 <limits.h> exists even on freestanding compilers. */
45855 # include <limits.h>
45857 # include <assert.h>
45862 /* Override any GCC internal prototype to avoid an error.
45863 Use char because int might match the return type of a GCC
45864 builtin and then its argument prototype would still apply. */
45869 /* The GNU C library defines this for functions which it implements
45870 to always fail with ENOSYS. Some functions are actually named
45871 something starting with __ and the normal name is an alias. */
45872 #if defined __stub_$ac_func || defined __stub___$ac_func
45879 return $ac_func ();
45884 rm -f conftest.$ac_objext conftest$ac_exeext
45885 if { (ac_try="$ac_link"
45886 case "(($ac_try" in
45887 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45888 *) ac_try_echo
=$ac_try;;
45890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45891 (eval "$ac_link") 2>conftest.er1
45893 grep -v '^ *+' conftest.er1
>conftest.err
45895 cat conftest.err
>&5
45896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45897 (exit $ac_status); } && {
45898 test -z "$ac_c_werror_flag" ||
45899 test ! -s conftest.err
45900 } && test -s conftest
$ac_exeext &&
45901 $as_test_x conftest
$ac_exeext; then
45902 eval "$as_ac_var=yes"
45904 echo "$as_me: failed program was:" >&5
45905 sed 's/^/| /' conftest.
$ac_ext >&5
45907 eval "$as_ac_var=no"
45910 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45911 conftest
$ac_exeext conftest.
$ac_ext
45913 ac_res
=`eval echo '${'$as_ac_var'}'`
45914 { echo "$as_me:$LINENO: result: $ac_res" >&5
45915 echo "${ECHO_T}$ac_res" >&6; }
45916 if test `eval echo '${'$as_ac_var'}'` = yes; then
45917 cat >>confdefs.h
<<_ACEOF
45918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45920 cat >>confdefs.h
<<\_ACEOF
45921 #define HAVE_DLERROR 1
45926 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
45927 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
45928 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
45929 echo $ECHO_N "(cached) $ECHO_C" >&6
45931 ac_check_lib_save_LIBS
=$LIBS
45933 cat >conftest.
$ac_ext <<_ACEOF
45936 cat confdefs.h
>>conftest.
$ac_ext
45937 cat >>conftest.
$ac_ext <<_ACEOF
45938 /* end confdefs.h. */
45940 /* Override any GCC internal prototype to avoid an error.
45941 Use char because int might match the return type of a GCC
45942 builtin and then its argument prototype would still apply. */
45955 rm -f conftest.
$ac_objext conftest
$ac_exeext
45956 if { (ac_try
="$ac_link"
45957 case "(($ac_try" in
45958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45959 *) ac_try_echo=$ac_try;;
45961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45962 (eval "$ac_link") 2>conftest.er1
45964 grep -v '^ *+' conftest.er1 >conftest.err
45966 cat conftest.err >&5
45967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45968 (exit $ac_status); } && {
45969 test -z "$ac_c_werror_flag" ||
45970 test ! -s conftest.err
45971 } && test -s conftest$ac_exeext &&
45972 $as_test_x conftest$ac_exeext; then
45973 ac_cv_lib_dl_dlerror=yes
45975 echo "$as_me: failed program was:" >&5
45976 sed 's/^/| /' conftest.$ac_ext >&5
45978 ac_cv_lib_dl_dlerror=no
45981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45982 conftest$ac_exeext conftest.$ac_ext
45983 LIBS=$ac_check_lib_save_LIBS
45985 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
45986 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
45987 if test $ac_cv_lib_dl_dlerror = yes; then
45988 cat >>confdefs.h <<\_ACEOF
45989 #define HAVE_DLERROR 1
46002 if test "$USE_DARWIN" = 1; then
46006 if test "$HAVE_DL_FUNCS" = 0; then
46007 if test "$HAVE_SHL_FUNCS" = 0; then
46008 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46009 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46010 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46011 wxUSE_DYNAMIC_LOADER=no
46012 wxUSE_DYNLIB_CLASS=no
46014 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46015 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46022 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_DYNAMIC_LOADER 1
46028 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_DYNLIB_CLASS 1
46037 if test "$wxUSE_PLUGINS" = "yes" ; then
46038 if test "$wxUSE_SHARED" = "no" ; then
46039 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46040 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46043 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46044 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46045 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46048 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46049 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46050 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46053 if test "$wxUSE_PLUGINS" = "yes" ; then
46054 cat >>confdefs.h <<\_ACEOF
46055 #define wxUSE_PLUGINS 1
46062 if test "$wxUSE_FSWATCHER" = "yes"; then
46063 if test "$wxUSE_MSW" != "1"; then
46064 if test "$wxUSE_UNIX" = "yes"; then
46066 for ac_header in sys/inotify.h
46068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46069 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46071 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46072 echo $ECHO_N "(cached) $ECHO_C" >&6
46074 cat >conftest.$ac_ext <<_ACEOF
46077 cat confdefs.h >>conftest.$ac_ext
46078 cat >>conftest.$ac_ext <<_ACEOF
46079 /* end confdefs.h. */
46080 $ac_includes_default
46082 #include <$ac_header>
46084 rm -f conftest.$ac_objext
46085 if { (ac_try="$ac_compile"
46086 case "(($ac_try" in
46087 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46088 *) ac_try_echo
=$ac_try;;
46090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46091 (eval "$ac_compile") 2>conftest.er1
46093 grep -v '^ *+' conftest.er1
>conftest.err
46095 cat conftest.err
>&5
46096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46097 (exit $ac_status); } && {
46098 test -z "$ac_c_werror_flag" ||
46099 test ! -s conftest.err
46100 } && test -s conftest.
$ac_objext; then
46101 eval "$as_ac_Header=yes"
46103 echo "$as_me: failed program was:" >&5
46104 sed 's/^/| /' conftest.
$ac_ext >&5
46106 eval "$as_ac_Header=no"
46109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46111 ac_res
=`eval echo '${'$as_ac_Header'}'`
46112 { echo "$as_me:$LINENO: result: $ac_res" >&5
46113 echo "${ECHO_T}$ac_res" >&6; }
46114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46115 cat >>confdefs.h
<<_ACEOF
46116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46123 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46124 cat >>confdefs.h
<<\_ACEOF
46125 #define wxHAS_INOTIFY 1
46130 for ac_header
in sys
/event.h
46132 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46135 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46136 echo $ECHO_N "(cached) $ECHO_C" >&6
46138 cat >conftest.
$ac_ext <<_ACEOF
46141 cat confdefs.h
>>conftest.
$ac_ext
46142 cat >>conftest.
$ac_ext <<_ACEOF
46143 /* end confdefs.h. */
46144 $ac_includes_default
46146 #include <$ac_header>
46148 rm -f conftest.
$ac_objext
46149 if { (ac_try
="$ac_compile"
46150 case "(($ac_try" in
46151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46152 *) ac_try_echo=$ac_try;;
46154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46155 (eval "$ac_compile") 2>conftest.er1
46157 grep -v '^ *+' conftest.er1 >conftest.err
46159 cat conftest.err >&5
46160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46161 (exit $ac_status); } && {
46162 test -z "$ac_c_werror_flag" ||
46163 test ! -s conftest.err
46164 } && test -s conftest.$ac_objext; then
46165 eval "$as_ac_Header=yes"
46167 echo "$as_me: failed program was:" >&5
46168 sed 's/^/| /' conftest.$ac_ext >&5
46170 eval "$as_ac_Header=no"
46173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46175 ac_res=`eval echo '${'$as_ac_Header'}'`
46176 { echo "$as_me:$LINENO: result: $ac_res" >&5
46177 echo "${ECHO_T}$ac_res" >&6; }
46178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46179 cat >>confdefs.h <<_ACEOF
46180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46187 if test "$ac_cv_header_sys_event_h" = "yes"; then
46188 cat >>confdefs.h <<\_ACEOF
46189 #define wxHAS_KQUEUE 1
46200 if test "$wxUSE_THREADS" != "yes"; then
46201 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46202 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46207 if test "$wxUSE_FSWATCHER" = "yes"; then
46208 cat >>confdefs.h <<\_ACEOF
46209 #define wxUSE_FSWATCHER 1
46212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
46214 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46215 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46220 if test "$wxUSE_STL" = "yes"; then
46221 cat >>confdefs.h <<\_ACEOF
46222 #define wxUSE_STL 1
46227 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46228 cat >>confdefs.h <<\_ACEOF
46229 #define wxUSE_EXTENDED_RTTI 1
46234 if test "$wxUSE_ANY" = "yes"; then
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_ANY 1
46241 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46242 cat >>confdefs.h <<\_ACEOF
46243 #define wxUSE_APPLE_IEEE 1
46248 if test "$wxUSE_TIMER" = "yes"; then
46249 cat >>confdefs.h <<\_ACEOF
46250 #define wxUSE_TIMER 1
46255 if test "$USE_UNIX" = 1 ; then
46256 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46257 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46258 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46259 echo $ECHO_N "(cached) $ECHO_C" >&6
46262 cat >conftest.$ac_ext <<_ACEOF
46265 cat confdefs.h >>conftest.$ac_ext
46266 cat >>conftest.$ac_ext <<_ACEOF
46267 /* end confdefs.h. */
46269 #include <sys/ioctl.h>
46270 #include <sys/soundcard.h>
46276 ioctl(0, SNDCTL_DSP_SPEED, 0);
46282 rm -f conftest.$ac_objext conftest$ac_exeext
46283 if { (ac_try="$ac_link"
46284 case "(($ac_try" in
46285 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46286 *) ac_try_echo
=$ac_try;;
46288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46289 (eval "$ac_link") 2>conftest.er1
46291 grep -v '^ *+' conftest.er1
>conftest.err
46293 cat conftest.err
>&5
46294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46295 (exit $ac_status); } && {
46296 test -z "$ac_c_werror_flag" ||
46297 test ! -s conftest.err
46298 } && test -s conftest
$ac_exeext &&
46299 $as_test_x conftest
$ac_exeext; then
46300 ac_cv_header_sys_soundcard
=yes
46302 echo "$as_me: failed program was:" >&5
46303 sed 's/^/| /' conftest.
$ac_ext >&5
46307 LIBS
="$saveLibs -lossaudio"
46308 cat >conftest.
$ac_ext <<_ACEOF
46311 cat confdefs.h
>>conftest.
$ac_ext
46312 cat >>conftest.
$ac_ext <<_ACEOF
46313 /* end confdefs.h. */
46315 #include <sys/ioctl.h>
46316 #include <sys/soundcard.h>
46322 ioctl(0, SNDCTL_DSP_SPEED, 0);
46328 rm -f conftest.
$ac_objext conftest
$ac_exeext
46329 if { (ac_try
="$ac_link"
46330 case "(($ac_try" in
46331 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46332 *) ac_try_echo=$ac_try;;
46334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46335 (eval "$ac_link") 2>conftest.er1
46337 grep -v '^ *+' conftest.er1 >conftest.err
46339 cat conftest.err >&5
46340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46341 (exit $ac_status); } && {
46342 test -z "$ac_c_werror_flag" ||
46343 test ! -s conftest.err
46344 } && test -s conftest$ac_exeext &&
46345 $as_test_x conftest$ac_exeext; then
46346 ac_cv_header_sys_soundcard=yes
46348 echo "$as_me: failed program was:" >&5
46349 sed 's/^/| /' conftest.$ac_ext >&5
46353 ac_cv_header_sys_soundcard=no
46358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46359 conftest$ac_exeext conftest.$ac_ext
46364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46365 conftest$ac_exeext conftest.$ac_ext
46368 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46369 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46371 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46372 cat >>confdefs.h <<\_ACEOF
46373 #define HAVE_SYS_SOUNDCARD_H 1
46380 if test "$wxUSE_SOUND" = "yes"; then
46381 if test "$USE_UNIX" = 1 ; then
46382 if test "$wxUSE_LIBSDL" != "no"; then
46384 # Check whether --with-sdl-prefix was given.
46385 if test "${with_sdl_prefix+set}" = set; then
46386 withval=$with_sdl_prefix; sdl_prefix="$withval"
46392 # Check whether --with-sdl-exec-prefix was given.
46393 if test "${with_sdl_exec_prefix+set}" = set; then
46394 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46399 # Check whether --enable-sdltest was given.
46400 if test "${enable_sdltest+set}" = set; then
46401 enableval=$enable_sdltest;
46407 if test x$sdl_exec_prefix != x ; then
46408 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46409 if test x${SDL_CONFIG+set} != xset ; then
46410 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46413 if test x$sdl_prefix != x ; then
46414 sdl_args="$sdl_args --prefix=$sdl_prefix"
46415 if test x${SDL_CONFIG+set} != xset ; then
46416 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46420 if test "x$prefix" != xNONE; then
46421 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46423 # Extract the first word of "sdl-config", so it can be a program name with args.
46424 set dummy sdl-config; ac_word=$2
46425 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46427 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46428 echo $ECHO_N "(cached) $ECHO_C" >&6
46430 case $SDL_CONFIG in
46432 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46436 for as_dir in $PATH
46439 test -z "$as_dir" && as_dir=.
46440 for ac_exec_ext in '' $ac_executable_extensions; do
46441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46442 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46450 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46454 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46455 if test -n "$SDL_CONFIG"; then
46456 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46457 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46459 { echo "$as_me:$LINENO: result: no" >&5
46460 echo "${ECHO_T}no" >&6; }
46464 min_sdl_version=1.2.0
46465 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46466 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46468 if test "$SDL_CONFIG" = "no" ; then
46471 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46472 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46474 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46475 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46476 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46477 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46478 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46479 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46480 if test "x$enable_sdltest" = "xyes" ; then
46481 ac_save_CFLAGS="$CFLAGS"
46482 ac_save_CXXFLAGS="$CXXFLAGS"
46483 ac_save_LIBS="$LIBS"
46484 CFLAGS="$CFLAGS $SDL_CFLAGS"
46485 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46486 LIBS="$LIBS $SDL_LIBS"
46488 if test "$cross_compiling" = yes; then
46489 echo $ac_n "cross compiling; assumed OK... $ac_c"
46491 cat >conftest.$ac_ext <<_ACEOF
46494 cat confdefs.h >>conftest.$ac_ext
46495 cat >>conftest.$ac_ext <<_ACEOF
46496 /* end confdefs.h. */
46499 #include <stdlib.h>
46500 #include <string.h>
46504 my_strdup (char *str)
46510 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46511 strcpy (new_str, str);
46519 int main (int argc, char *argv[])
46521 int major, minor, micro;
46524 /* This hangs on some systems (?)
46525 system ("touch conf.sdltest");
46527 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46529 /* HP/UX 9 (%@#!) writes to sscanf strings */
46530 tmp_version = my_strdup("$min_sdl_version");
46531 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
46532 printf("%s, bad version string\n", "$min_sdl_version");
46536 if (($sdl_major_version > major) ||
46537 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46538 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46544 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46545 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46546 printf("*** best to upgrade to the required version.\n");
46547 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46548 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46549 printf("*** config.cache before re-running configure\n");
46556 rm -f conftest$ac_exeext
46557 if { (ac_try="$ac_link"
46558 case "(($ac_try" in
46559 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46560 *) ac_try_echo
=$ac_try;;
46562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46563 (eval "$ac_link") 2>&5
46565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46566 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
46567 { (case "(($ac_try" in
46568 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46569 *) ac_try_echo=$ac_try;;
46571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46572 (eval "$ac_try") 2>&5
46574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46575 (exit $ac_status); }; }; then
46578 echo "$as_me: program exited with status $ac_status" >&5
46579 echo "$as_me: failed program was:" >&5
46580 sed 's/^/| /' conftest.$ac_ext >&5
46582 ( exit $ac_status )
46585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46589 CFLAGS="$ac_save_CFLAGS"
46590 CXXFLAGS="$ac_save_CXXFLAGS"
46591 LIBS="$ac_save_LIBS"
46594 if test "x$no_sdl" = x ; then
46595 { echo "$as_me:$LINENO: result: yes" >&5
46596 echo "${ECHO_T}yes" >&6; }
46598 EXTRALIBS_SDL="$SDL_LIBS"
46599 CFLAGS="$SDL_CFLAGS $CFLAGS"
46600 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46601 cat >>confdefs.h <<\_ACEOF
46602 #define wxUSE_LIBSDL 1
46607 { echo "$as_me:$LINENO: result: no" >&5
46608 echo "${ECHO_T}no" >&6; }
46609 if test "$SDL_CONFIG" = "no" ; then
46610 echo "*** The sdl-config script installed by SDL could not be found"
46611 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46612 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46613 echo "*** full path to sdl-config."
46615 if test -f conf.sdltest ; then
46618 echo "*** Could not run SDL test program, checking why..."
46619 CFLAGS="$CFLAGS $SDL_CFLAGS"
46620 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46621 LIBS="$LIBS $SDL_LIBS"
46622 cat >conftest.$ac_ext <<_ACEOF
46625 cat confdefs.h >>conftest.$ac_ext
46626 cat >>conftest.$ac_ext <<_ACEOF
46627 /* end confdefs.h. */
46632 int main(int argc, char *argv[])
46635 #define main K_and_R_C_main
46645 rm -f conftest.$ac_objext conftest$ac_exeext
46646 if { (ac_try="$ac_link"
46647 case "(($ac_try" in
46648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46649 *) ac_try_echo
=$ac_try;;
46651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46652 (eval "$ac_link") 2>conftest.er1
46654 grep -v '^ *+' conftest.er1
>conftest.err
46656 cat conftest.err
>&5
46657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46658 (exit $ac_status); } && {
46659 test -z "$ac_c_werror_flag" ||
46660 test ! -s conftest.err
46661 } && test -s conftest
$ac_exeext &&
46662 $as_test_x conftest
$ac_exeext; then
46663 echo "*** The test program compiled, but did not run. This usually means"
46664 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46665 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46666 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46667 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46668 echo "*** is required on your system"
46670 echo "*** If you have an old version installed, it is best to remove it, although"
46671 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46673 echo "$as_me: failed program was:" >&5
46674 sed 's/^/| /' conftest.
$ac_ext >&5
46676 echo "*** The test program failed to compile or link. See the file config.log for the"
46677 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
46678 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46679 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46682 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46683 conftest
$ac_exeext conftest.
$ac_ext
46684 CFLAGS
="$ac_save_CFLAGS"
46685 CXXFLAGS
="$ac_save_CXXFLAGS"
46686 LIBS
="$ac_save_LIBS"
46697 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46704 if test "$wxUSE_SOUND" = "yes"; then
46705 cat >>confdefs.h
<<\_ACEOF
46706 #define wxUSE_SOUND 1
46709 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
46712 if test "$WXGTK2" = 1; then
46715 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46716 if test -n "$ac_tool_prefix"; then
46717 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46718 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
46719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46721 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46722 echo $ECHO_N "(cached) $ECHO_C" >&6
46724 case $PKG_CONFIG in
46726 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
46729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46730 for as_dir
in $PATH
46733 test -z "$as_dir" && as_dir
=.
46734 for ac_exec_ext
in '' $ac_executable_extensions; do
46735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46736 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46747 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
46748 if test -n "$PKG_CONFIG"; then
46749 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46750 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46752 { echo "$as_me:$LINENO: result: no" >&5
46753 echo "${ECHO_T}no" >&6; }
46758 if test -z "$ac_cv_path_PKG_CONFIG"; then
46759 ac_pt_PKG_CONFIG
=$PKG_CONFIG
46760 # Extract the first word of "pkg-config", so it can be a program name with args.
46761 set dummy pkg
-config; ac_word
=$2
46762 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46763 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46764 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46765 echo $ECHO_N "(cached) $ECHO_C" >&6
46767 case $ac_pt_PKG_CONFIG in
46769 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46773 for as_dir
in $PATH
46776 test -z "$as_dir" && as_dir
=.
46777 for ac_exec_ext
in '' $ac_executable_extensions; do
46778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46779 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46790 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
46791 if test -n "$ac_pt_PKG_CONFIG"; then
46792 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46793 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46795 { echo "$as_me:$LINENO: result: no" >&5
46796 echo "${ECHO_T}no" >&6; }
46799 if test "x$ac_pt_PKG_CONFIG" = x
; then
46802 case $cross_compiling:$ac_tool_warned in
46804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46805 whose name does not start with the host triplet. If you think this
46806 configuration is useful to you, please write to autoconf@gnu.org." >&5
46807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46808 whose name does not start with the host triplet. If you think this
46809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46810 ac_tool_warned
=yes ;;
46812 PKG_CONFIG
=$ac_pt_PKG_CONFIG
46815 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
46819 if test -n "$PKG_CONFIG"; then
46820 _pkg_min_version
=0.9.0
46821 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46822 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46823 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46824 { echo "$as_me:$LINENO: result: yes" >&5
46825 echo "${ECHO_T}yes" >&6; }
46827 { echo "$as_me:$LINENO: result: no" >&5
46828 echo "${ECHO_T}no" >&6; }
46834 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46836 if test "$wxUSE_GTKPRINT" = "yes" ; then
46840 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
46841 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
46843 if test -n "$PKG_CONFIG"; then
46844 if test -n "$GTKPRINT_CFLAGS"; then
46845 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
46847 if test -n "$PKG_CONFIG" && \
46848 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46849 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46852 (exit $ac_status); }; then
46853 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46861 if test -n "$PKG_CONFIG"; then
46862 if test -n "$GTKPRINT_LIBS"; then
46863 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
46865 if test -n "$PKG_CONFIG" && \
46866 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46867 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46870 (exit $ac_status); }; then
46871 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46882 if test $pkg_failed = yes; then
46884 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46885 _pkg_short_errors_supported
=yes
46887 _pkg_short_errors_supported
=no
46889 if test $_pkg_short_errors_supported = yes; then
46890 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46892 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46894 # Put the nasty error message in config.log where it belongs
46895 echo "$GTKPRINT_PKG_ERRORS" >&5
46898 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46899 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46900 wxUSE_GTKPRINT
="no"
46903 elif test $pkg_failed = untried
; then
46905 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46906 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46907 wxUSE_GTKPRINT
="no"
46911 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
46912 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
46913 { echo "$as_me:$LINENO: result: yes" >&5
46914 echo "${ECHO_T}yes" >&6; }
46916 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
46917 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
46918 cat >>confdefs.h
<<\_ACEOF
46919 #define wxUSE_GTKPRINT 1
46926 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46930 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
46931 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
46933 if test -n "$PKG_CONFIG"; then
46934 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
46935 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
46937 if test -n "$PKG_CONFIG" && \
46938 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46939 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46942 (exit $ac_status); }; then
46943 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46951 if test -n "$PKG_CONFIG"; then
46952 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
46953 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
46955 if test -n "$PKG_CONFIG" && \
46956 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46957 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46960 (exit $ac_status); }; then
46961 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46972 if test $pkg_failed = yes; then
46974 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46975 _pkg_short_errors_supported
=yes
46977 _pkg_short_errors_supported
=no
46979 if test $_pkg_short_errors_supported = yes; then
46980 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46982 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46984 # Put the nasty error message in config.log where it belongs
46985 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
46988 if test "$wxUSE_GTKPRINT" = yes; then
46989 { echo "$as_me:$LINENO: result: no" >&5
46990 echo "${ECHO_T}no" >&6; }
46992 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46993 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46995 wxUSE_LIBGNOMEPRINT
="no"
46998 elif test $pkg_failed = untried
; then
47000 if test "$wxUSE_GTKPRINT" = yes; then
47001 { echo "$as_me:$LINENO: result: no" >&5
47002 echo "${ECHO_T}no" >&6; }
47004 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47005 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47007 wxUSE_LIBGNOMEPRINT
="no"
47011 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47012 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47013 { echo "$as_me:$LINENO: result: yes" >&5
47014 echo "${ECHO_T}yes" >&6; }
47016 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47017 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47018 cat >>confdefs.h
<<\_ACEOF
47019 #define wxUSE_LIBGNOMEPRINT 1
47027 if test "$wxUSE_MIMETYPE" = "yes" ; then
47028 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47032 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47033 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47035 if test -n "$PKG_CONFIG"; then
47036 if test -n "$GNOMEVFS_CFLAGS"; then
47037 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
47039 if test -n "$PKG_CONFIG" && \
47040 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47041 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47044 (exit $ac_status); }; then
47045 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47053 if test -n "$PKG_CONFIG"; then
47054 if test -n "$GNOMEVFS_LIBS"; then
47055 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
47057 if test -n "$PKG_CONFIG" && \
47058 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47059 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47062 (exit $ac_status); }; then
47063 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47074 if test $pkg_failed = yes; then
47076 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47077 _pkg_short_errors_supported
=yes
47079 _pkg_short_errors_supported
=no
47081 if test $_pkg_short_errors_supported = yes; then
47082 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47084 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47086 # Put the nasty error message in config.log where it belongs
47087 echo "$GNOMEVFS_PKG_ERRORS" >&5
47090 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47091 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47092 wxUSE_LIBGNOMEVFS
="no"
47095 elif test $pkg_failed = untried
; then
47097 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47098 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47099 wxUSE_LIBGNOMEVFS
="no"
47103 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
47104 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
47105 { echo "$as_me:$LINENO: result: yes" >&5
47106 echo "${ECHO_T}yes" >&6; }
47108 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
47109 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
47110 cat >>confdefs.h
<<\_ACEOF
47111 #define wxUSE_LIBGNOMEVFS 1
47119 if test "$wxUSE_LIBHILDON" = "yes" ; then
47122 { echo "$as_me:$LINENO: checking for HILDON" >&5
47123 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47125 if test -n "$PKG_CONFIG"; then
47126 if test -n "$HILDON_CFLAGS"; then
47127 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
47129 if test -n "$PKG_CONFIG" && \
47130 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47131 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47134 (exit $ac_status); }; then
47135 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
47143 if test -n "$PKG_CONFIG"; then
47144 if test -n "$HILDON_LIBS"; then
47145 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
47147 if test -n "$PKG_CONFIG" && \
47148 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47149 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47152 (exit $ac_status); }; then
47153 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
47164 if test $pkg_failed = yes; then
47166 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47167 _pkg_short_errors_supported
=yes
47169 _pkg_short_errors_supported
=no
47171 if test $_pkg_short_errors_supported = yes; then
47172 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47174 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47176 # Put the nasty error message in config.log where it belongs
47177 echo "$HILDON_PKG_ERRORS" >&5
47180 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47181 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47182 wxUSE_LIBHILDON
="no"
47186 elif test $pkg_failed = untried
; then
47188 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47189 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47190 wxUSE_LIBHILDON
="no"
47195 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
47196 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
47197 { echo "$as_me:$LINENO: result: yes" >&5
47198 echo "${ECHO_T}yes" >&6; }
47200 EXTRALIBS_HILDON
="$HILDON_LIBS"
47201 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
47202 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
47203 cat >>confdefs.h
<<\_ACEOF
47204 #define wxUSE_LIBHILDON 1
47211 if test "$ac_hildon_lgpl" = 0 ; then
47214 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47215 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47217 if test -n "$PKG_CONFIG"; then
47218 if test -n "$HILDON2_CFLAGS"; then
47219 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
47221 if test -n "$PKG_CONFIG" && \
47222 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47223 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47226 (exit $ac_status); }; then
47227 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
47235 if test -n "$PKG_CONFIG"; then
47236 if test -n "$HILDON2_LIBS"; then
47237 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
47239 if test -n "$PKG_CONFIG" && \
47240 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47241 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47244 (exit $ac_status); }; then
47245 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
47256 if test $pkg_failed = yes; then
47258 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47259 _pkg_short_errors_supported
=yes
47261 _pkg_short_errors_supported
=no
47263 if test $_pkg_short_errors_supported = yes; then
47264 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47266 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47268 # Put the nasty error message in config.log where it belongs
47269 echo "$HILDON2_PKG_ERRORS" >&5
47272 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47273 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47274 wxUSE_LIBHILDON2
="no"
47277 elif test $pkg_failed = untried
; then
47279 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47280 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47281 wxUSE_LIBHILDON2
="no"
47285 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
47286 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
47287 { echo "$as_me:$LINENO: result: yes" >&5
47288 echo "${ECHO_T}yes" >&6; }
47290 EXTRALIBS_HILDON
="$HILDON2_LIBS"
47291 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
47292 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
47293 cat >>confdefs.h
<<\_ACEOF
47294 #define wxUSE_LIBHILDON2 1
47303 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47304 cat >>confdefs.h
<<\_ACEOF
47305 #define wxUSE_CMDLINE_PARSER 1
47310 if test "$wxUSE_STOPWATCH" = "yes"; then
47311 cat >>confdefs.h
<<\_ACEOF
47312 #define wxUSE_STOPWATCH 1
47317 if test "$wxUSE_DATETIME" = "yes"; then
47318 cat >>confdefs.h
<<\_ACEOF
47319 #define wxUSE_DATETIME 1
47324 if test "$wxUSE_FILE" = "yes"; then
47325 cat >>confdefs.h
<<\_ACEOF
47326 #define wxUSE_FILE 1
47331 if test "$wxUSE_FFILE" = "yes"; then
47332 cat >>confdefs.h
<<\_ACEOF
47333 #define wxUSE_FFILE 1
47338 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47339 if test "$wxUSE_STREAMS" != yes; then
47340 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47341 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47342 wxUSE_ARCHIVE_STREAMS
=no
47344 cat >>confdefs.h
<<\_ACEOF
47345 #define wxUSE_ARCHIVE_STREAMS 1
47351 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47352 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47353 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47354 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47355 elif test "$wxUSE_ZLIB" = "no"; then
47356 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47357 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47359 cat >>confdefs.h
<<\_ACEOF
47360 #define wxUSE_ZIPSTREAM 1
47366 if test "$wxUSE_TARSTREAM" = "yes"; then
47367 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47368 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47369 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47371 cat >>confdefs.h
<<\_ACEOF
47372 #define wxUSE_TARSTREAM 1
47378 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47379 cat >>confdefs.h
<<\_ACEOF
47380 #define wxUSE_FILE_HISTORY 1
47385 if test "$wxUSE_FILESYSTEM" = "yes"; then
47386 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
47387 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47388 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47389 wxUSE_FILESYSTEM
=no
47391 cat >>confdefs.h
<<\_ACEOF
47392 #define wxUSE_FILESYSTEM 1
47398 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47399 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47400 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47401 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47403 cat >>confdefs.h
<<\_ACEOF
47404 #define wxUSE_FS_ARCHIVE 1
47410 if test "$wxUSE_FS_ZIP" = "yes"; then
47411 if test "$wxUSE_FS_ARCHIVE" != yes; then
47412 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47413 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47415 cat >>confdefs.h
<<\_ACEOF
47416 #define wxUSE_FS_ZIP 1
47422 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47423 if test "$USE_UNIX" != 1; then
47424 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47425 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47426 wxUSE_ON_FATAL_EXCEPTION
=no
47428 cat >>confdefs.h
<<\_ACEOF
47429 #define wxUSE_ON_FATAL_EXCEPTION 1
47435 if test "$wxUSE_STACKWALKER" = "yes"; then
47436 cat >>confdefs.h
<<\_ACEOF
47437 #define wxUSE_STACKWALKER 1
47442 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47443 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47444 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47445 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47446 wxUSE_DEBUGREPORT
=no
47448 cat >>confdefs.h
<<\_ACEOF
47449 #define wxUSE_DEBUGREPORT 1
47452 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47453 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
47458 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47459 cat >>confdefs.h
<<\_ACEOF
47460 #define wxUSE_SNGLINST_CHECKER 1
47465 if test "$wxUSE_BUSYINFO" = "yes"; then
47466 cat >>confdefs.h
<<\_ACEOF
47467 #define wxUSE_BUSYINFO 1
47472 if test "$wxUSE_HOTKEY" = "yes"; then
47473 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47474 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47475 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47478 elif test "$wxUSE_HOTKEY" = "auto"; then
47479 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47483 if test "$wxUSE_HOTKEY" = "yes"; then
47484 cat >>confdefs.h
<<\_ACEOF
47485 #define wxUSE_HOTKEY 1
47490 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47491 cat >>confdefs.h
<<\_ACEOF
47492 #define wxUSE_STD_CONTAINERS 1
47497 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47498 cat >>confdefs.h
<<\_ACEOF
47499 #define wxUSE_STD_IOSTREAM 1
47504 if test "$wxUSE_STD_STRING" = "yes"; then
47505 cat >>confdefs.h
<<\_ACEOF
47506 #define wxUSE_STD_STRING 1
47511 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47512 cat >>confdefs.h
<<\_ACEOF
47513 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47518 if test "$wxUSE_STDPATHS" = "yes"; then
47519 cat >>confdefs.h
<<\_ACEOF
47520 #define wxUSE_STDPATHS 1
47525 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47526 cat >>confdefs.h
<<\_ACEOF
47527 #define wxUSE_TEXTBUFFER 1
47532 if test "$wxUSE_TEXTFILE" = "yes"; then
47533 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47534 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47535 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47537 cat >>confdefs.h
<<\_ACEOF
47538 #define wxUSE_TEXTFILE 1
47544 if test "$wxUSE_CONFIG" = "yes" ; then
47545 if test "$wxUSE_TEXTFILE" != "yes"; then
47546 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47547 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47549 cat >>confdefs.h
<<\_ACEOF
47550 #define wxUSE_CONFIG 1
47553 cat >>confdefs.h
<<\_ACEOF
47554 #define wxUSE_CONFIG_NATIVE 1
47557 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
47561 if test "$wxUSE_INTL" = "yes" ; then
47562 if test "$wxUSE_FILE" != "yes"; then
47563 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47564 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47566 cat >>confdefs.h
<<\_ACEOF
47567 #define wxUSE_INTL 1
47570 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
47571 GUIDIST
="$GUIDIST INTL_DIST"
47575 if test "$wxUSE_XLOCALE" = "yes" ; then
47576 cat >>confdefs.h
<<\_ACEOF
47577 #define wxUSE_XLOCALE 1
47580 { echo "$as_me:$LINENO: checking for locale_t" >&5
47581 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47582 if test "${ac_cv_type_locale_t+set}" = set; then
47583 echo $ECHO_N "(cached) $ECHO_C" >&6
47585 cat >conftest.
$ac_ext <<_ACEOF
47588 cat confdefs.h
>>conftest.
$ac_ext
47589 cat >>conftest.
$ac_ext <<_ACEOF
47590 /* end confdefs.h. */
47591 #include <xlocale.h>
47592 #include <locale.h>
47594 typedef locale_t ac__type_new_;
47598 if ((ac__type_new_ *) 0)
47600 if (sizeof (ac__type_new_))
47606 rm -f conftest.
$ac_objext
47607 if { (ac_try
="$ac_compile"
47608 case "(($ac_try" in
47609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47610 *) ac_try_echo=$ac_try;;
47612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47613 (eval "$ac_compile") 2>conftest.er1
47615 grep -v '^ *+' conftest.er1 >conftest.err
47617 cat conftest.err >&5
47618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47619 (exit $ac_status); } && {
47620 test -z "$ac_c_werror_flag" ||
47621 test ! -s conftest.err
47622 } && test -s conftest.$ac_objext; then
47623 ac_cv_type_locale_t=yes
47625 echo "$as_me: failed program was:" >&5
47626 sed 's/^/| /' conftest.$ac_ext >&5
47628 ac_cv_type_locale_t=no
47631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47633 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47634 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47635 if test $ac_cv_type_locale_t = yes; then
47637 cat >>confdefs.h <<_ACEOF
47638 #define HAVE_LOCALE_T 1
47646 if test "$wxUSE_LOG" = "yes"; then
47647 cat >>confdefs.h <<\_ACEOF
47648 #define wxUSE_LOG 1
47652 if test "$wxUSE_LOGGUI" = "yes"; then
47653 cat >>confdefs.h <<\_ACEOF
47654 #define wxUSE_LOGGUI 1
47659 if test "$wxUSE_LOGWINDOW" = "yes"; then
47660 cat >>confdefs.h <<\_ACEOF
47661 #define wxUSE_LOGWINDOW 1
47666 if test "$wxUSE_LOGDIALOG" = "yes"; then
47667 cat >>confdefs.h <<\_ACEOF
47668 #define wxUSE_LOG_DIALOG 1
47673 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47676 if test "$wxUSE_LONGLONG" = "yes"; then
47677 cat >>confdefs.h <<\_ACEOF
47678 #define wxUSE_LONGLONG 1
47683 if test "$wxUSE_GEOMETRY" = "yes"; then
47684 cat >>confdefs.h <<\_ACEOF
47685 #define wxUSE_GEOMETRY 1
47690 if test "$wxUSE_BASE64" = "yes"; then
47691 cat >>confdefs.h <<\_ACEOF
47692 #define wxUSE_BASE64 1
47697 if test "$wxUSE_STREAMS" = "yes" ; then
47698 cat >>confdefs.h <<\_ACEOF
47699 #define wxUSE_STREAMS 1
47704 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47705 cat >>confdefs.h <<\_ACEOF
47706 #define wxUSE_PRINTF_POS_PARAMS 1
47711 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47712 cat >>confdefs.h <<\_ACEOF
47713 #define wxUSE_OBJC_UNIQUIFYING 1
47719 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47720 cat >>confdefs.h <<\_ACEOF
47721 #define wxUSE_CONSOLE_EVENTLOOP 1
47725 if test "$wxUSE_UNIX" = "yes"; then
47726 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47727 cat >>confdefs.h <<\_ACEOF
47728 #define wxUSE_SELECT_DISPATCHER 1
47733 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47735 for ac_header in sys/epoll.h
47737 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47738 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47739 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47740 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47741 echo $ECHO_N "(cached) $ECHO_C" >&6
47743 cat >conftest.$ac_ext <<_ACEOF
47746 cat confdefs.h >>conftest.$ac_ext
47747 cat >>conftest.$ac_ext <<_ACEOF
47748 /* end confdefs.h. */
47749 $ac_includes_default
47751 #include <$ac_header>
47753 rm -f conftest.$ac_objext
47754 if { (ac_try="$ac_compile"
47755 case "(($ac_try" in
47756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47757 *) ac_try_echo
=$ac_try;;
47759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47760 (eval "$ac_compile") 2>conftest.er1
47762 grep -v '^ *+' conftest.er1
>conftest.err
47764 cat conftest.err
>&5
47765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47766 (exit $ac_status); } && {
47767 test -z "$ac_c_werror_flag" ||
47768 test ! -s conftest.err
47769 } && test -s conftest.
$ac_objext; then
47770 eval "$as_ac_Header=yes"
47772 echo "$as_me: failed program was:" >&5
47773 sed 's/^/| /' conftest.
$ac_ext >&5
47775 eval "$as_ac_Header=no"
47778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47780 ac_res
=`eval echo '${'$as_ac_Header'}'`
47781 { echo "$as_me:$LINENO: result: $ac_res" >&5
47782 echo "${ECHO_T}$ac_res" >&6; }
47783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47784 cat >>confdefs.h
<<_ACEOF
47785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47792 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
47793 cat >>confdefs.h
<<\_ACEOF
47794 #define wxUSE_EPOLL_DISPATCHER 1
47798 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
47799 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
47808 for ac_func
in gettimeofday ftime
47810 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47811 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47813 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47814 echo $ECHO_N "(cached) $ECHO_C" >&6
47816 cat >conftest.
$ac_ext <<_ACEOF
47819 cat confdefs.h
>>conftest.
$ac_ext
47820 cat >>conftest.
$ac_ext <<_ACEOF
47821 /* end confdefs.h. */
47822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47824 #define $ac_func innocuous_$ac_func
47826 /* System header to define __stub macros and hopefully few prototypes,
47827 which can conflict with char $ac_func (); below.
47828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47829 <limits.h> exists even on freestanding compilers. */
47832 # include <limits.h>
47834 # include <assert.h>
47839 /* Override any GCC internal prototype to avoid an error.
47840 Use char because int might match the return type of a GCC
47841 builtin and then its argument prototype would still apply. */
47846 /* The GNU C library defines this for functions which it implements
47847 to always fail with ENOSYS. Some functions are actually named
47848 something starting with __ and the normal name is an alias. */
47849 #if defined __stub_$ac_func || defined __stub___$ac_func
47856 return $ac_func ();
47861 rm -f conftest.
$ac_objext conftest
$ac_exeext
47862 if { (ac_try
="$ac_link"
47863 case "(($ac_try" in
47864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47865 *) ac_try_echo=$ac_try;;
47867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47868 (eval "$ac_link") 2>conftest.er1
47870 grep -v '^ *+' conftest.er1 >conftest.err
47872 cat conftest.err >&5
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); } && {
47875 test -z "$ac_c_werror_flag" ||
47876 test ! -s conftest.err
47877 } && test -s conftest$ac_exeext &&
47878 $as_test_x conftest$ac_exeext; then
47879 eval "$as_ac_var=yes"
47881 echo "$as_me: failed program was:" >&5
47882 sed 's/^/| /' conftest.$ac_ext >&5
47884 eval "$as_ac_var=no"
47887 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47888 conftest$ac_exeext conftest.$ac_ext
47890 ac_res=`eval echo '${'$as_ac_var'}'`
47891 { echo "$as_me:$LINENO: result: $ac_res" >&5
47892 echo "${ECHO_T}$ac_res" >&6; }
47893 if test `eval echo '${'$as_ac_var'}'` = yes; then
47894 cat >>confdefs.h <<_ACEOF
47895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47902 if test "$ac_cv_func_gettimeofday" = "yes"; then
47903 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
47904 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
47905 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
47906 echo $ECHO_N "(cached) $ECHO_C" >&6
47909 cat >conftest.$ac_ext <<_ACEOF
47912 cat confdefs.h >>conftest.$ac_ext
47913 cat >>conftest.$ac_ext <<_ACEOF
47914 /* end confdefs.h. */
47916 #include <sys/time.h>
47917 #include <unistd.h>
47924 gettimeofday(&tv, NULL);
47930 rm -f conftest.$ac_objext
47931 if { (ac_try="$ac_compile"
47932 case "(($ac_try" in
47933 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47934 *) ac_try_echo
=$ac_try;;
47936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47937 (eval "$ac_compile") 2>conftest.er1
47939 grep -v '^ *+' conftest.er1
>conftest.err
47941 cat conftest.err
>&5
47942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47943 (exit $ac_status); } && {
47944 test -z "$ac_c_werror_flag" ||
47945 test ! -s conftest.err
47946 } && test -s conftest.
$ac_objext; then
47947 wx_cv_func_gettimeofday_has_2_args
=yes
47949 echo "$as_me: failed program was:" >&5
47950 sed 's/^/| /' conftest.
$ac_ext >&5
47952 cat >conftest.
$ac_ext <<_ACEOF
47955 cat confdefs.h
>>conftest.
$ac_ext
47956 cat >>conftest.
$ac_ext <<_ACEOF
47957 /* end confdefs.h. */
47959 #include <sys/time.h>
47960 #include <unistd.h>
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 wx_cv_func_gettimeofday_has_2_args=no
47992 echo "$as_me: failed program was:" >&5
47993 sed 's/^/| /' conftest.$ac_ext >&5
47996 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
47997 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
47998 wx_cv_func_gettimeofday_has_2_args=unknown
48003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48010 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48011 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48013 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48014 cat >>confdefs.h <<\_ACEOF
48015 #define WX_GETTIMEOFDAY_NO_TZ 1
48021 if test "$wxUSE_DATETIME" = "yes"; then
48022 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48023 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48024 if test "${wx_cv_var_timezone+set}" = set; then
48025 echo $ECHO_N "(cached) $ECHO_C" >&6
48029 ac_cpp='$CXXCPP $CPPFLAGS'
48030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48034 cat >conftest.$ac_ext <<_ACEOF
48037 cat confdefs.h >>conftest.$ac_ext
48038 cat >>conftest.$ac_ext <<_ACEOF
48039 /* end confdefs.h. */
48054 rm -f conftest.$ac_objext
48055 if { (ac_try="$ac_compile"
48056 case "(($ac_try" in
48057 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48058 *) ac_try_echo
=$ac_try;;
48060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48061 (eval "$ac_compile") 2>conftest.er1
48063 grep -v '^ *+' conftest.er1
>conftest.err
48065 cat conftest.err
>&5
48066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48067 (exit $ac_status); } && {
48068 test -z "$ac_cxx_werror_flag" ||
48069 test ! -s conftest.err
48070 } && test -s conftest.
$ac_objext; then
48072 wx_cv_var_timezone
=timezone
48075 echo "$as_me: failed program was:" >&5
48076 sed 's/^/| /' conftest.
$ac_ext >&5
48079 cat >conftest.
$ac_ext <<_ACEOF
48082 cat confdefs.h
>>conftest.
$ac_ext
48083 cat >>conftest.
$ac_ext <<_ACEOF
48084 /* end confdefs.h. */
48099 rm -f conftest.
$ac_objext
48100 if { (ac_try
="$ac_compile"
48101 case "(($ac_try" in
48102 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48103 *) ac_try_echo=$ac_try;;
48105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48106 (eval "$ac_compile") 2>conftest.er1
48108 grep -v '^ *+' conftest.er1 >conftest.err
48110 cat conftest.err >&5
48111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48112 (exit $ac_status); } && {
48113 test -z "$ac_cxx_werror_flag" ||
48114 test ! -s conftest.err
48115 } && test -s conftest.$ac_objext; then
48117 wx_cv_var_timezone=_timezone
48120 echo "$as_me: failed program was:" >&5
48121 sed 's/^/| /' conftest.$ac_ext >&5
48124 cat >conftest.$ac_ext <<_ACEOF
48127 cat confdefs.h >>conftest.$ac_ext
48128 cat >>conftest.$ac_ext <<_ACEOF
48129 /* end confdefs.h. */
48144 rm -f conftest.$ac_objext
48145 if { (ac_try="$ac_compile"
48146 case "(($ac_try" in
48147 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48148 *) ac_try_echo
=$ac_try;;
48150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48151 (eval "$ac_compile") 2>conftest.er1
48153 grep -v '^ *+' conftest.er1
>conftest.err
48155 cat conftest.err
>&5
48156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48157 (exit $ac_status); } && {
48158 test -z "$ac_cxx_werror_flag" ||
48159 test ! -s conftest.err
48160 } && test -s conftest.
$ac_objext; then
48162 wx_cv_var_timezone
=__timezone
48165 echo "$as_me: failed program was:" >&5
48166 sed 's/^/| /' conftest.
$ac_ext >&5
48169 if test "$USE_DOS" = 0 ; then
48170 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48171 echo "$as_me: WARNING: no timezone variable" >&2;}
48177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48189 ac_cpp
='$CPP $CPPFLAGS'
48190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48197 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48198 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48200 if test "x$wx_cv_var_timezone" != x
; then
48201 cat >>confdefs.h
<<_ACEOF
48202 #define WX_TIMEZONE $wx_cv_var_timezone
48208 for ac_func
in localtime
48210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48211 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48213 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48214 echo $ECHO_N "(cached) $ECHO_C" >&6
48216 cat >conftest.
$ac_ext <<_ACEOF
48219 cat confdefs.h
>>conftest.
$ac_ext
48220 cat >>conftest.
$ac_ext <<_ACEOF
48221 /* end confdefs.h. */
48222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48224 #define $ac_func innocuous_$ac_func
48226 /* System header to define __stub macros and hopefully few prototypes,
48227 which can conflict with char $ac_func (); below.
48228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48229 <limits.h> exists even on freestanding compilers. */
48232 # include <limits.h>
48234 # include <assert.h>
48239 /* Override any GCC internal prototype to avoid an error.
48240 Use char because int might match the return type of a GCC
48241 builtin and then its argument prototype would still apply. */
48246 /* The GNU C library defines this for functions which it implements
48247 to always fail with ENOSYS. Some functions are actually named
48248 something starting with __ and the normal name is an alias. */
48249 #if defined __stub_$ac_func || defined __stub___$ac_func
48256 return $ac_func ();
48261 rm -f conftest.
$ac_objext conftest
$ac_exeext
48262 if { (ac_try
="$ac_link"
48263 case "(($ac_try" in
48264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48265 *) ac_try_echo=$ac_try;;
48267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48268 (eval "$ac_link") 2>conftest.er1
48270 grep -v '^ *+' conftest.er1 >conftest.err
48272 cat conftest.err >&5
48273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48274 (exit $ac_status); } && {
48275 test -z "$ac_c_werror_flag" ||
48276 test ! -s conftest.err
48277 } && test -s conftest$ac_exeext &&
48278 $as_test_x conftest$ac_exeext; then
48279 eval "$as_ac_var=yes"
48281 echo "$as_me: failed program was:" >&5
48282 sed 's/^/| /' conftest.$ac_ext >&5
48284 eval "$as_ac_var=no"
48287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48288 conftest$ac_exeext conftest.$ac_ext
48290 ac_res=`eval echo '${'$as_ac_var'}'`
48291 { echo "$as_me:$LINENO: result: $ac_res" >&5
48292 echo "${ECHO_T}$ac_res" >&6; }
48293 if test `eval echo '${'$as_ac_var'}'` = yes; then
48294 cat >>confdefs.h <<_ACEOF
48295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48302 if test "$ac_cv_func_localtime" = "yes"; then
48303 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48304 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48305 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48306 echo $ECHO_N "(cached) $ECHO_C" >&6
48309 cat >conftest.$ac_ext <<_ACEOF
48312 cat confdefs.h >>conftest.$ac_ext
48313 cat >>conftest.$ac_ext <<_ACEOF
48314 /* end confdefs.h. */
48329 rm -f conftest.$ac_objext
48330 if { (ac_try="$ac_compile"
48331 case "(($ac_try" in
48332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48333 *) ac_try_echo
=$ac_try;;
48335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48336 (eval "$ac_compile") 2>conftest.er1
48338 grep -v '^ *+' conftest.er1
>conftest.err
48340 cat conftest.err
>&5
48341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48342 (exit $ac_status); } && {
48343 test -z "$ac_c_werror_flag" ||
48344 test ! -s conftest.err
48345 } && test -s conftest.
$ac_objext; then
48347 wx_cv_struct_tm_has_gmtoff
=yes
48350 echo "$as_me: failed program was:" >&5
48351 sed 's/^/| /' conftest.
$ac_ext >&5
48353 wx_cv_struct_tm_has_gmtoff
=no
48357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48360 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48361 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48364 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48365 cat >>confdefs.h
<<\_ACEOF
48366 #define WX_GMTOFF_IN_TM 1
48371 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
48375 if test "$wxUSE_SOCKETS" = "yes"; then
48376 if test "$TOOLKIT" != "MSW"; then
48377 { echo "$as_me:$LINENO: checking for socket" >&5
48378 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48379 if test "${ac_cv_func_socket+set}" = set; then
48380 echo $ECHO_N "(cached) $ECHO_C" >&6
48382 cat >conftest.
$ac_ext <<_ACEOF
48385 cat confdefs.h
>>conftest.
$ac_ext
48386 cat >>conftest.
$ac_ext <<_ACEOF
48387 /* end confdefs.h. */
48388 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48390 #define socket innocuous_socket
48392 /* System header to define __stub macros and hopefully few prototypes,
48393 which can conflict with char socket (); below.
48394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48395 <limits.h> exists even on freestanding compilers. */
48398 # include <limits.h>
48400 # include <assert.h>
48405 /* Override any GCC internal prototype to avoid an error.
48406 Use char because int might match the return type of a GCC
48407 builtin and then its argument prototype would still apply. */
48412 /* The GNU C library defines this for functions which it implements
48413 to always fail with ENOSYS. Some functions are actually named
48414 something starting with __ and the normal name is an alias. */
48415 #if defined __stub_socket || defined __stub___socket
48427 rm -f conftest.
$ac_objext conftest
$ac_exeext
48428 if { (ac_try
="$ac_link"
48429 case "(($ac_try" in
48430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48431 *) ac_try_echo=$ac_try;;
48433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48434 (eval "$ac_link") 2>conftest.er1
48436 grep -v '^ *+' conftest.er1 >conftest.err
48438 cat conftest.err >&5
48439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48440 (exit $ac_status); } && {
48441 test -z "$ac_c_werror_flag" ||
48442 test ! -s conftest.err
48443 } && test -s conftest$ac_exeext &&
48444 $as_test_x conftest$ac_exeext; then
48445 ac_cv_func_socket=yes
48447 echo "$as_me: failed program was:" >&5
48448 sed 's/^/| /' conftest.$ac_ext >&5
48450 ac_cv_func_socket=no
48453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48454 conftest$ac_exeext conftest.$ac_ext
48456 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48457 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48458 if test $ac_cv_func_socket = yes; then
48462 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48463 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48464 if test "${ac_cv_lib_socket_socket+set}" = set; then
48465 echo $ECHO_N "(cached) $ECHO_C" >&6
48467 ac_check_lib_save_LIBS=$LIBS
48468 LIBS="-lsocket $LIBS"
48469 cat >conftest.$ac_ext <<_ACEOF
48472 cat confdefs.h >>conftest.$ac_ext
48473 cat >>conftest.$ac_ext <<_ACEOF
48474 /* end confdefs.h. */
48476 /* Override any GCC internal prototype to avoid an error.
48477 Use char because int might match the return type of a GCC
48478 builtin and then its argument prototype would still apply. */
48491 rm -f conftest.$ac_objext conftest$ac_exeext
48492 if { (ac_try="$ac_link"
48493 case "(($ac_try" in
48494 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48495 *) ac_try_echo
=$ac_try;;
48497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48498 (eval "$ac_link") 2>conftest.er1
48500 grep -v '^ *+' conftest.er1
>conftest.err
48502 cat conftest.err
>&5
48503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48504 (exit $ac_status); } && {
48505 test -z "$ac_c_werror_flag" ||
48506 test ! -s conftest.err
48507 } && test -s conftest
$ac_exeext &&
48508 $as_test_x conftest
$ac_exeext; then
48509 ac_cv_lib_socket_socket
=yes
48511 echo "$as_me: failed program was:" >&5
48512 sed 's/^/| /' conftest.
$ac_ext >&5
48514 ac_cv_lib_socket_socket
=no
48517 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
48518 conftest
$ac_exeext conftest.
$ac_ext
48519 LIBS
=$ac_check_lib_save_LIBS
48521 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48522 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48523 if test $ac_cv_lib_socket_socket = yes; then
48524 if test "$INET_LINK" != " -lsocket"; then
48525 INET_LINK
="$INET_LINK -lsocket"
48529 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48530 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48543 if test "$wxUSE_SOCKETS" = "yes" ; then
48544 if test "$TOOLKIT" != "MSW"; then
48545 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48546 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48547 if test "${wx_cv_type_getsockname3+set}" = set; then
48548 echo $ECHO_N "(cached) $ECHO_C" >&6
48552 ac_cpp
='$CXXCPP $CPPFLAGS'
48553 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48557 cat >conftest.
$ac_ext <<_ACEOF
48560 cat confdefs.h
>>conftest.
$ac_ext
48561 cat >>conftest.
$ac_ext <<_ACEOF
48562 /* end confdefs.h. */
48564 #include <sys/types.h>
48565 #include <sys/socket.h>
48572 getsockname(0, 0, &len);
48578 rm -f conftest.
$ac_objext
48579 if { (ac_try
="$ac_compile"
48580 case "(($ac_try" in
48581 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48582 *) ac_try_echo=$ac_try;;
48584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48585 (eval "$ac_compile") 2>conftest.er1
48587 grep -v '^ *+' conftest.er1 >conftest.err
48589 cat conftest.err >&5
48590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48591 (exit $ac_status); } && {
48592 test -z "$ac_cxx_werror_flag" ||
48593 test ! -s conftest.err
48594 } && test -s conftest.$ac_objext; then
48595 wx_cv_type_getsockname3=socklen_t
48597 echo "$as_me: failed program was:" >&5
48598 sed 's/^/| /' conftest.$ac_ext >&5
48601 CFLAGS_OLD="$CFLAGS"
48602 if test "$GCC" = yes ; then
48603 CFLAGS="-Werror $CFLAGS"
48606 cat >conftest.$ac_ext <<_ACEOF
48609 cat confdefs.h >>conftest.$ac_ext
48610 cat >>conftest.$ac_ext <<_ACEOF
48611 /* end confdefs.h. */
48613 #include <sys/types.h>
48614 #include <sys/socket.h>
48621 getsockname(0, 0, &len);
48627 rm -f conftest.$ac_objext
48628 if { (ac_try="$ac_compile"
48629 case "(($ac_try" in
48630 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48631 *) ac_try_echo
=$ac_try;;
48633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48634 (eval "$ac_compile") 2>conftest.er1
48636 grep -v '^ *+' conftest.er1
>conftest.err
48638 cat conftest.err
>&5
48639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48640 (exit $ac_status); } && {
48641 test -z "$ac_cxx_werror_flag" ||
48642 test ! -s conftest.err
48643 } && test -s conftest.
$ac_objext; then
48644 wx_cv_type_getsockname3
=size_t
48646 echo "$as_me: failed program was:" >&5
48647 sed 's/^/| /' conftest.
$ac_ext >&5
48649 cat >conftest.
$ac_ext <<_ACEOF
48652 cat confdefs.h
>>conftest.
$ac_ext
48653 cat >>conftest.
$ac_ext <<_ACEOF
48654 /* end confdefs.h. */
48656 #include <sys/types.h>
48657 #include <sys/socket.h>
48664 getsockname(0, 0, &len);
48670 rm -f conftest.
$ac_objext
48671 if { (ac_try
="$ac_compile"
48672 case "(($ac_try" in
48673 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48674 *) ac_try_echo=$ac_try;;
48676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48677 (eval "$ac_compile") 2>conftest.er1
48679 grep -v '^ *+' conftest.er1 >conftest.err
48681 cat conftest.err >&5
48682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48683 (exit $ac_status); } && {
48684 test -z "$ac_cxx_werror_flag" ||
48685 test ! -s conftest.err
48686 } && test -s conftest.$ac_objext; then
48687 wx_cv_type_getsockname3=int
48689 echo "$as_me: failed program was:" >&5
48690 sed 's/^/| /' conftest.$ac_ext >&5
48692 wx_cv_type_getsockname3=unknown
48696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48702 CFLAGS="$CFLAGS_OLD"
48707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48709 ac_cpp='$CPP $CPPFLAGS'
48710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48716 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48717 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48719 if test "$wx_cv_type_getsockname3" = "unknown"; then
48721 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48722 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48724 cat >>confdefs.h <<_ACEOF
48725 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48729 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48730 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48731 if test "${wx_cv_type_getsockopt5+set}" = set; then
48732 echo $ECHO_N "(cached) $ECHO_C" >&6
48736 ac_cpp='$CXXCPP $CPPFLAGS'
48737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48741 cat >conftest.$ac_ext <<_ACEOF
48744 cat confdefs.h >>conftest.$ac_ext
48745 cat >>conftest.$ac_ext <<_ACEOF
48746 /* end confdefs.h. */
48748 #include <sys/types.h>
48749 #include <sys/socket.h>
48756 getsockopt(0, 0, 0, 0, &len);
48762 rm -f conftest.$ac_objext
48763 if { (ac_try="$ac_compile"
48764 case "(($ac_try" in
48765 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48766 *) ac_try_echo
=$ac_try;;
48768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48769 (eval "$ac_compile") 2>conftest.er1
48771 grep -v '^ *+' conftest.er1
>conftest.err
48773 cat conftest.err
>&5
48774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48775 (exit $ac_status); } && {
48776 test -z "$ac_cxx_werror_flag" ||
48777 test ! -s conftest.err
48778 } && test -s conftest.
$ac_objext; then
48779 wx_cv_type_getsockopt5
=socklen_t
48781 echo "$as_me: failed program was:" >&5
48782 sed 's/^/| /' conftest.
$ac_ext >&5
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 getsockopt(0, 0, 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_getsockopt5=size_t
48825 echo "$as_me: failed program was:" >&5
48826 sed 's/^/| /' conftest.$ac_ext >&5
48828 cat >conftest.$ac_ext <<_ACEOF
48831 cat confdefs.h >>conftest.$ac_ext
48832 cat >>conftest.$ac_ext <<_ACEOF
48833 /* end confdefs.h. */
48835 #include <sys/types.h>
48836 #include <sys/socket.h>
48843 getsockopt(0, 0, 0, 0, &len);
48849 rm -f conftest.$ac_objext
48850 if { (ac_try="$ac_compile"
48851 case "(($ac_try" in
48852 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48853 *) ac_try_echo
=$ac_try;;
48855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48856 (eval "$ac_compile") 2>conftest.er1
48858 grep -v '^ *+' conftest.er1
>conftest.err
48860 cat conftest.err
>&5
48861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48862 (exit $ac_status); } && {
48863 test -z "$ac_cxx_werror_flag" ||
48864 test ! -s conftest.err
48865 } && test -s conftest.
$ac_objext; then
48866 wx_cv_type_getsockopt5
=int
48868 echo "$as_me: failed program was:" >&5
48869 sed 's/^/| /' conftest.
$ac_ext >&5
48871 wx_cv_type_getsockopt5
=unknown
48875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48879 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48886 ac_cpp
='$CPP $CPPFLAGS'
48887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48893 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
48894 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
48896 if test "$wx_cv_type_getsockopt5" = "unknown"; then
48898 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48899 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48901 cat >>confdefs.h
<<_ACEOF
48902 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
48909 if test "$wxUSE_SOCKETS" = "yes" ; then
48910 if test "$wxUSE_IPV6" = "yes"; then
48911 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
48912 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
48913 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
48914 echo $ECHO_N "(cached) $ECHO_C" >&6
48917 cat >conftest.
$ac_ext <<_ACEOF
48920 cat confdefs.h
>>conftest.
$ac_ext
48921 cat >>conftest.
$ac_ext <<_ACEOF
48922 /* end confdefs.h. */
48924 #include <sys/types.h>
48925 #include <sys/socket.h>
48926 #include <netinet/in.h>
48932 struct sockaddr_in6 sa6;
48938 rm -f conftest.
$ac_objext
48939 if { (ac_try
="$ac_compile"
48940 case "(($ac_try" in
48941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48942 *) ac_try_echo=$ac_try;;
48944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48945 (eval "$ac_compile") 2>conftest.er1
48947 grep -v '^ *+' conftest.er1 >conftest.err
48949 cat conftest.err >&5
48950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48951 (exit $ac_status); } && {
48952 test -z "$ac_c_werror_flag" ||
48953 test ! -s conftest.err
48954 } && test -s conftest.$ac_objext; then
48955 wx_cv_type_sockaddr_in6=yes
48957 echo "$as_me: failed program was:" >&5
48958 sed 's/^/| /' conftest.$ac_ext >&5
48960 wx_cv_type_sockaddr_in6=no
48964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48968 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
48969 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
48971 if test "$wx_cv_type_sockaddr_in6"="yes"; then
48972 cat >>confdefs.h <<\_ACEOF
48973 #define wxUSE_IPV6 1
48977 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
48978 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
48982 cat >>confdefs.h <<\_ACEOF
48983 #define wxUSE_SOCKETS 1
48986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48989 if test "$wxUSE_PROTOCOL" = "yes"; then
48990 if test "$wxUSE_SOCKETS" != "yes"; then
48991 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
48992 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
48997 if test "$wxUSE_PROTOCOL" = "yes"; then
48998 cat >>confdefs.h <<\_ACEOF
48999 #define wxUSE_PROTOCOL 1
49003 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
49004 cat >>confdefs.h <<\_ACEOF
49005 #define wxUSE_PROTOCOL_HTTP 1
49009 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49010 cat >>confdefs.h <<\_ACEOF
49011 #define wxUSE_PROTOCOL_FTP 1
49015 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49016 cat >>confdefs.h <<\_ACEOF
49017 #define wxUSE_PROTOCOL_FILE 1
49022 if test "$wxUSE_FS_INET" = "yes"; then
49023 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49024 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49029 if test "$wxUSE_URL" = "yes"; then
49030 if test "$wxUSE_PROTOCOL" != "yes"; then
49031 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49032 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49035 if test "$wxUSE_URL" = "yes"; then
49036 cat >>confdefs.h <<\_ACEOF
49037 #define wxUSE_URL 1
49043 if test "$wxUSE_VARIANT" = "yes"; then
49044 cat >>confdefs.h <<\_ACEOF
49045 #define wxUSE_VARIANT 1
49050 if test "$wxUSE_FS_INET" = "yes"; then
49051 cat >>confdefs.h <<\_ACEOF
49052 #define wxUSE_FS_INET 1
49058 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49061 if test "$TOOLKIT" = "MSW"; then
49064 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49065 if test "$USE_DARWIN" = 1; then
49066 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49067 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49069 ac_cpp='$CXXCPP $CPPFLAGS'
49070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49074 cat >conftest.$ac_ext <<_ACEOF
49077 cat confdefs.h >>conftest.$ac_ext
49078 cat >>conftest.$ac_ext <<_ACEOF
49079 /* end confdefs.h. */
49080 #include <IOKit/hid/IOHIDLib.h>
49084 IOHIDQueueInterface *qi = NULL;
49085 IOHIDCallbackFunction cb = NULL;
49086 qi->setEventCallout(NULL, cb, NULL, NULL);
49091 rm -f conftest.$ac_objext
49092 if { (ac_try="$ac_compile"
49093 case "(($ac_try" in
49094 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49095 *) ac_try_echo
=$ac_try;;
49097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49098 (eval "$ac_compile") 2>conftest.er1
49100 grep -v '^ *+' conftest.er1
>conftest.err
49102 cat conftest.err
>&5
49103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49104 (exit $ac_status); } && {
49105 test -z "$ac_cxx_werror_flag" ||
49106 test ! -s conftest.err
49107 } && test -s conftest.
$ac_objext; then
49111 echo "$as_me: failed program was:" >&5
49112 sed 's/^/| /' conftest.
$ac_ext >&5
49117 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49119 ac_cpp
='$CPP $CPPFLAGS'
49120 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49124 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49125 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49130 for ac_header
in linux
/joystick.h
49132 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49135 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49136 echo $ECHO_N "(cached) $ECHO_C" >&6
49138 cat >conftest.
$ac_ext <<_ACEOF
49141 cat confdefs.h
>>conftest.
$ac_ext
49142 cat >>conftest.
$ac_ext <<_ACEOF
49143 /* end confdefs.h. */
49144 $ac_includes_default
49146 #include <$ac_header>
49148 rm -f conftest.
$ac_objext
49149 if { (ac_try
="$ac_compile"
49150 case "(($ac_try" in
49151 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49152 *) ac_try_echo=$ac_try;;
49154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49155 (eval "$ac_compile") 2>conftest.er1
49157 grep -v '^ *+' conftest.er1 >conftest.err
49159 cat conftest.err >&5
49160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49161 (exit $ac_status); } && {
49162 test -z "$ac_c_werror_flag" ||
49163 test ! -s conftest.err
49164 } && test -s conftest.$ac_objext; then
49165 eval "$as_ac_Header=yes"
49167 echo "$as_me: failed program was:" >&5
49168 sed 's/^/| /' conftest.$ac_ext >&5
49170 eval "$as_ac_Header=no"
49173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49175 ac_res=`eval echo '${'$as_ac_Header'}'`
49176 { echo "$as_me:$LINENO: result: $ac_res" >&5
49177 echo "${ECHO_T}$ac_res" >&6; }
49178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49179 cat >>confdefs.h <<_ACEOF
49180 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49189 if test "$wxUSE_JOYSTICK" = "yes"; then
49190 cat >>confdefs.h <<\_ACEOF
49191 #define wxUSE_JOYSTICK 1
49194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49196 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49197 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49203 if test "$wxUSE_FONTENUM" = "yes" ; then
49204 cat >>confdefs.h <<\_ACEOF
49205 #define wxUSE_FONTENUM 1
49210 if test "$wxUSE_FONTMAP" = "yes" ; then
49211 cat >>confdefs.h <<\_ACEOF
49212 #define wxUSE_FONTMAP 1
49217 if test "$wxUSE_UNICODE" = "yes" ; then
49218 cat >>confdefs.h <<\_ACEOF
49219 #define wxUSE_UNICODE 1
49223 if test "$USE_WIN32" != 1; then
49224 wxUSE_UNICODE_MSLU=no
49227 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49228 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49229 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49230 if test "${ac_cv_lib_unicows_main+set}" = set; then
49231 echo $ECHO_N "(cached) $ECHO_C" >&6
49233 ac_check_lib_save_LIBS=$LIBS
49234 LIBS="-lunicows $LIBS"
49235 cat >conftest.$ac_ext <<_ACEOF
49238 cat confdefs.h >>conftest.$ac_ext
49239 cat >>conftest.$ac_ext <<_ACEOF
49240 /* end confdefs.h. */
49251 rm -f conftest.$ac_objext conftest$ac_exeext
49252 if { (ac_try="$ac_link"
49253 case "(($ac_try" in
49254 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49255 *) ac_try_echo
=$ac_try;;
49257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49258 (eval "$ac_link") 2>conftest.er1
49260 grep -v '^ *+' conftest.er1
>conftest.err
49262 cat conftest.err
>&5
49263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49264 (exit $ac_status); } && {
49265 test -z "$ac_c_werror_flag" ||
49266 test ! -s conftest.err
49267 } && test -s conftest
$ac_exeext &&
49268 $as_test_x conftest
$ac_exeext; then
49269 ac_cv_lib_unicows_main
=yes
49271 echo "$as_me: failed program was:" >&5
49272 sed 's/^/| /' conftest.
$ac_ext >&5
49274 ac_cv_lib_unicows_main
=no
49277 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
49278 conftest
$ac_exeext conftest.
$ac_ext
49279 LIBS
=$ac_check_lib_save_LIBS
49281 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49282 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49283 if test $ac_cv_lib_unicows_main = yes; then
49285 cat >>confdefs.h
<<\_ACEOF
49286 #define wxUSE_UNICODE_MSLU 1
49292 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49293 Applications will only run on Windows NT/2000/XP!" >&5
49294 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49295 Applications will only run on Windows NT/2000/XP!" >&2;}
49296 wxUSE_UNICODE_MSLU
=no
49303 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49304 cat >>confdefs.h
<<\_ACEOF
49305 #define wxUSE_UNICODE_UTF8 1
49309 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49310 cat >>confdefs.h
<<\_ACEOF
49311 #define wxUSE_UTF8_LOCALE_ONLY 1
49318 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49319 cat >>confdefs.h
<<\_ACEOF
49320 #define wxUSE_CONSTRAINTS 1
49323 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
49326 if test "$wxUSE_MDI" = "yes"; then
49327 cat >>confdefs.h
<<\_ACEOF
49328 #define wxUSE_MDI 1
49332 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49333 cat >>confdefs.h
<<\_ACEOF
49334 #define wxUSE_MDI_ARCHITECTURE 1
49337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
49341 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49342 cat >>confdefs.h
<<\_ACEOF
49343 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49346 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
49349 if test "$wxUSE_HELP" = "yes"; then
49350 cat >>confdefs.h
<<\_ACEOF
49351 #define wxUSE_HELP 1
49354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
49356 if test "$wxUSE_MSW" = 1; then
49357 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49358 cat >>confdefs.h
<<\_ACEOF
49359 #define wxUSE_MS_HTML_HELP 1
49365 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49366 if test "$wxUSE_HTML" = "yes"; then
49367 cat >>confdefs.h
<<\_ACEOF
49368 #define wxUSE_WXHTML_HELP 1
49372 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49373 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49374 wxUSE_WXHTML_HELP
=no
49379 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49380 cat >>confdefs.h
<<\_ACEOF
49381 #define wxUSE_PRINTING_ARCHITECTURE 1
49384 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
49387 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49388 cat >>confdefs.h
<<\_ACEOF
49389 #define wxUSE_POSTSCRIPT 1
49394 cat >>confdefs.h
<<\_ACEOF
49395 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49399 if test "$wxUSE_SVG" = "yes"; then
49400 cat >>confdefs.h
<<\_ACEOF
49401 #define wxUSE_SVG 1
49407 if test "$wxUSE_METAFILE" = "yes"; then
49408 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49409 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49410 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49413 elif test "$wxUSE_METAFILE" = "auto"; then
49414 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49419 if test "$wxUSE_METAFILE" = "yes"; then
49420 cat >>confdefs.h
<<\_ACEOF
49421 #define wxUSE_METAFILE 1
49424 if test "$wxUSE_MSW" = 1; then
49425 cat >>confdefs.h
<<\_ACEOF
49426 #define wxUSE_ENH_METAFILE 1
49433 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
49434 -o "$wxUSE_CLIPBOARD" = "yes" \
49435 -o "$wxUSE_OLE" = "yes" \
49436 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
49437 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49438 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49439 if test "${ac_cv_header_ole2_h+set}" = set; then
49440 echo $ECHO_N "(cached) $ECHO_C" >&6
49442 cat >conftest.
$ac_ext <<_ACEOF
49445 cat confdefs.h
>>conftest.
$ac_ext
49446 cat >>conftest.
$ac_ext <<_ACEOF
49447 /* end confdefs.h. */
49452 rm -f conftest.
$ac_objext
49453 if { (ac_try
="$ac_compile"
49454 case "(($ac_try" in
49455 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49456 *) ac_try_echo=$ac_try;;
49458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49459 (eval "$ac_compile") 2>conftest.er1
49461 grep -v '^ *+' conftest.er1 >conftest.err
49463 cat conftest.err >&5
49464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49465 (exit $ac_status); } && {
49466 test -z "$ac_c_werror_flag" ||
49467 test ! -s conftest.err
49468 } && test -s conftest.$ac_objext; then
49469 ac_cv_header_ole2_h=yes
49471 echo "$as_me: failed program was:" >&5
49472 sed 's/^/| /' conftest.$ac_ext >&5
49474 ac_cv_header_ole2_h=no
49477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49479 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49480 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49484 if test "$ac_cv_header_ole2_h" = "yes" ; then
49485 if test "$GCC" = yes ; then
49486 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49487 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49488 cat >conftest.$ac_ext <<_ACEOF
49491 cat confdefs.h >>conftest.$ac_ext
49492 cat >>conftest.$ac_ext <<_ACEOF
49493 /* end confdefs.h. */
49494 #include <windows.h>
49504 rm -f conftest.$ac_objext
49505 if { (ac_try="$ac_compile"
49506 case "(($ac_try" in
49507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49508 *) ac_try_echo
=$ac_try;;
49510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49511 (eval "$ac_compile") 2>conftest.er1
49513 grep -v '^ *+' conftest.er1
>conftest.err
49515 cat conftest.err
>&5
49516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49517 (exit $ac_status); } && {
49518 test -z "$ac_c_werror_flag" ||
49519 test ! -s conftest.err
49520 } && test -s conftest.
$ac_objext; then
49521 { echo "$as_me:$LINENO: result: no" >&5
49522 echo "${ECHO_T}no" >&6; }
49524 echo "$as_me: failed program was:" >&5
49525 sed 's/^/| /' conftest.
$ac_ext >&5
49527 { echo "$as_me:$LINENO: result: yes" >&5
49528 echo "${ECHO_T}yes" >&6; }
49529 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49532 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49533 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49534 if test "$wxUSE_OLE" = "yes" ; then
49535 cat >>confdefs.h
<<\_ACEOF
49536 #define wxUSE_OLE 1
49539 cat >>confdefs.h
<<\_ACEOF
49540 #define wxUSE_OLE_AUTOMATION 1
49543 cat >>confdefs.h
<<\_ACEOF
49544 #define wxUSE_ACTIVEX 1
49547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
49551 if test "$wxUSE_DATAOBJ" = "yes" ; then
49552 cat >>confdefs.h
<<\_ACEOF
49553 #define wxUSE_DATAOBJ 1
49558 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49559 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49562 wxUSE_DRAG_AND_DROP
=no
49568 if test "$wxUSE_IPC" = "yes"; then
49569 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49570 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49571 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49575 if test "$wxUSE_IPC" = "yes"; then
49576 cat >>confdefs.h
<<\_ACEOF
49577 #define wxUSE_IPC 1
49580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
49584 if test "$wxUSE_DATAOBJ" = "yes"; then
49585 cat >>confdefs.h
<<\_ACEOF
49586 #define wxUSE_DATAOBJ 1
49590 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49591 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49593 wxUSE_DRAG_AND_DROP
=no
49596 if test "$wxUSE_CLIPBOARD" = "yes"; then
49597 if test "$wxUSE_DFB" = 1; then
49598 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49599 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49603 if test "$wxUSE_CLIPBOARD" = "yes"; then
49604 cat >>confdefs.h
<<\_ACEOF
49605 #define wxUSE_CLIPBOARD 1
49611 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49612 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
49613 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49614 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49615 wxUSE_DRAG_AND_DROP
=no
49618 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49619 cat >>confdefs.h
<<\_ACEOF
49620 #define wxUSE_DRAG_AND_DROP 1
49627 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
49631 if test "$wxUSE_CLIPBOARD" = "yes"; then
49632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
49635 if test "$wxUSE_SPLINES" = "yes" ; then
49636 cat >>confdefs.h
<<\_ACEOF
49637 #define wxUSE_SPLINES 1
49642 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49643 cat >>confdefs.h
<<\_ACEOF
49644 #define wxUSE_MOUSEWHEEL 1
49649 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49650 cat >>confdefs.h
<<\_ACEOF
49651 #define wxUSE_UIACTIONSIMULATOR 1
49654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
49657 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49658 cat >>confdefs.h
<<\_ACEOF
49659 #define wxUSE_DC_TRANSFORM_MATRIX 1
49666 if test "$wxUSE_CONTROLS" = "yes"; then
49670 if test "$wxUSE_MARKUP" = "yes"; then
49671 cat >>confdefs.h
<<\_ACEOF
49672 #define wxUSE_MARKUP 1
49677 if test "$wxUSE_ACCEL" = "yes"; then
49678 cat >>confdefs.h
<<\_ACEOF
49679 #define wxUSE_ACCEL 1
49685 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49686 cat >>confdefs.h
<<\_ACEOF
49687 #define wxUSE_ANIMATIONCTRL 1
49691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
49694 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49695 cat >>confdefs.h
<<\_ACEOF
49696 #define wxUSE_BANNERWINDOW 1
49701 if test "$wxUSE_BUTTON" = "yes"; then
49702 cat >>confdefs.h
<<\_ACEOF
49703 #define wxUSE_BUTTON 1
49709 if test "$wxUSE_BMPBUTTON" = "yes"; then
49710 cat >>confdefs.h
<<\_ACEOF
49711 #define wxUSE_BMPBUTTON 1
49717 if test "$wxUSE_CALCTRL" = "yes"; then
49718 cat >>confdefs.h
<<\_ACEOF
49719 #define wxUSE_CALENDARCTRL 1
49723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
49726 if test "$wxUSE_CARET" = "yes"; then
49727 cat >>confdefs.h
<<\_ACEOF
49728 #define wxUSE_CARET 1
49732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
49735 if test "$wxUSE_COLLPANE" = "yes"; then
49736 cat >>confdefs.h
<<\_ACEOF
49737 #define wxUSE_COLLPANE 1
49741 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
49744 if test "$wxUSE_COMBOBOX" = "yes"; then
49745 cat >>confdefs.h
<<\_ACEOF
49746 #define wxUSE_COMBOBOX 1
49752 if test "$wxUSE_COMBOCTRL" = "yes"; then
49753 cat >>confdefs.h
<<\_ACEOF
49754 #define wxUSE_COMBOCTRL 1
49760 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
49761 cat >>confdefs.h
<<\_ACEOF
49762 #define wxUSE_COMMANDLINKBUTTON 1
49768 if test "$wxUSE_CHOICE" = "yes"; then
49769 cat >>confdefs.h
<<\_ACEOF
49770 #define wxUSE_CHOICE 1
49776 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49777 cat >>confdefs.h
<<\_ACEOF
49778 #define wxUSE_CHOICEBOOK 1
49784 if test "$wxUSE_CHECKBOX" = "yes"; then
49785 cat >>confdefs.h
<<\_ACEOF
49786 #define wxUSE_CHECKBOX 1
49792 if test "$wxUSE_CHECKLST" = "yes"; then
49793 cat >>confdefs.h
<<\_ACEOF
49794 #define wxUSE_CHECKLISTBOX 1
49800 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49801 cat >>confdefs.h
<<\_ACEOF
49802 #define wxUSE_COLOURPICKERCTRL 1
49808 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49809 cat >>confdefs.h
<<\_ACEOF
49810 #define wxUSE_DATEPICKCTRL 1
49816 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49817 cat >>confdefs.h
<<\_ACEOF
49818 #define wxUSE_DIRPICKERCTRL 1
49824 if test "$wxUSE_FILECTRL" = "yes"; then
49825 cat >>confdefs.h
<<\_ACEOF
49826 #define wxUSE_FILECTRL 1
49832 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49833 cat >>confdefs.h
<<\_ACEOF
49834 #define wxUSE_FILEPICKERCTRL 1
49840 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49841 cat >>confdefs.h
<<\_ACEOF
49842 #define wxUSE_FONTPICKERCTRL 1
49848 if test "$wxUSE_DISPLAY" = "yes"; then
49849 if test "$wxUSE_DFB" = 1; then
49850 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49851 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49854 cat >>confdefs.h
<<\_ACEOF
49855 #define wxUSE_DISPLAY 1
49858 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
49862 if test "$wxUSE_DETECT_SM" = "yes"; then
49863 cat >>confdefs.h
<<\_ACEOF
49864 #define wxUSE_DETECT_SM 1
49869 if test "$wxUSE_GAUGE" = "yes"; then
49870 cat >>confdefs.h
<<\_ACEOF
49871 #define wxUSE_GAUGE 1
49877 if test "$wxUSE_GRID" = "yes"; then
49878 cat >>confdefs.h
<<\_ACEOF
49879 #define wxUSE_GRID 1
49883 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
49886 if test "$wxUSE_HEADERCTRL" = "yes"; then
49887 cat >>confdefs.h
<<\_ACEOF
49888 #define wxUSE_HEADERCTRL 1
49894 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
49895 cat >>confdefs.h
<<\_ACEOF
49896 #define wxUSE_HYPERLINKCTRL 1
49902 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
49903 cat >>confdefs.h
<<\_ACEOF
49904 #define wxUSE_BITMAPCOMBOBOX 1
49910 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
49911 cat >>confdefs.h
<<\_ACEOF
49912 #define wxUSE_DATAVIEWCTRL 1
49916 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
49919 if test "$wxUSE_IMAGLIST" = "yes"; then
49920 cat >>confdefs.h
<<\_ACEOF
49921 #define wxUSE_IMAGLIST 1
49926 if test "$wxUSE_INFOBAR" = "yes"; then
49927 cat >>confdefs.h
<<\_ACEOF
49928 #define wxUSE_INFOBAR 1
49933 if test "$wxUSE_LISTBOOK" = "yes"; then
49934 cat >>confdefs.h
<<\_ACEOF
49935 #define wxUSE_LISTBOOK 1
49941 if test "$wxUSE_LISTBOX" = "yes"; then
49942 cat >>confdefs.h
<<\_ACEOF
49943 #define wxUSE_LISTBOX 1
49949 if test "$wxUSE_LISTCTRL" = "yes"; then
49950 if test "$wxUSE_IMAGLIST" = "yes"; then
49951 cat >>confdefs.h
<<\_ACEOF
49952 #define wxUSE_LISTCTRL 1
49956 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
49958 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
49959 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
49963 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
49964 cat >>confdefs.h
<<\_ACEOF
49965 #define wxUSE_EDITABLELISTBOX 1
49971 if test "$wxUSE_NOTEBOOK" = "yes"; then
49972 cat >>confdefs.h
<<\_ACEOF
49973 #define wxUSE_NOTEBOOK 1
49977 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
49980 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
49981 cat >>confdefs.h
<<\_ACEOF
49982 #define wxUSE_NOTIFICATION_MESSAGE 1
49987 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
49988 cat >>confdefs.h
<<\_ACEOF
49989 #define wxUSE_ODCOMBOBOX 1
49993 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
49996 if test "$wxUSE_RADIOBOX" = "yes"; then
49997 cat >>confdefs.h
<<\_ACEOF
49998 #define wxUSE_RADIOBOX 1
50004 if test "$wxUSE_RADIOBTN" = "yes"; then
50005 cat >>confdefs.h
<<\_ACEOF
50006 #define wxUSE_RADIOBTN 1
50012 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50013 cat >>confdefs.h
<<\_ACEOF
50014 #define wxUSE_REARRANGECTRL 1
50019 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50020 cat >>confdefs.h
<<\_ACEOF
50021 #define wxUSE_RICHMSGDLG 1
50026 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50027 cat >>confdefs.h
<<\_ACEOF
50028 #define wxUSE_RICHTOOLTIP 1
50033 if test "$wxUSE_SASH" = "yes"; then
50034 cat >>confdefs.h
<<\_ACEOF
50035 #define wxUSE_SASH 1
50038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
50041 if test "$wxUSE_SCROLLBAR" = "yes"; then
50042 cat >>confdefs.h
<<\_ACEOF
50043 #define wxUSE_SCROLLBAR 1
50047 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
50050 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50051 cat >>confdefs.h
<<\_ACEOF
50052 #define wxUSE_SEARCHCTRL 1
50058 if test "$wxUSE_SLIDER" = "yes"; then
50059 cat >>confdefs.h
<<\_ACEOF
50060 #define wxUSE_SLIDER 1
50066 if test "$wxUSE_SPINBTN" = "yes"; then
50067 cat >>confdefs.h
<<\_ACEOF
50068 #define wxUSE_SPINBTN 1
50074 if test "$wxUSE_SPINCTRL" = "yes"; then
50075 cat >>confdefs.h
<<\_ACEOF
50076 #define wxUSE_SPINCTRL 1
50082 if test "$wxUSE_SPLITTER" = "yes"; then
50083 cat >>confdefs.h
<<\_ACEOF
50084 #define wxUSE_SPLITTER 1
50087 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
50090 if test "$wxUSE_STATBMP" = "yes"; then
50091 cat >>confdefs.h
<<\_ACEOF
50092 #define wxUSE_STATBMP 1
50098 if test "$wxUSE_STATBOX" = "yes"; then
50099 cat >>confdefs.h
<<\_ACEOF
50100 #define wxUSE_STATBOX 1
50106 if test "$wxUSE_STATTEXT" = "yes"; then
50107 cat >>confdefs.h
<<\_ACEOF
50108 #define wxUSE_STATTEXT 1
50114 if test "$wxUSE_STATLINE" = "yes"; then
50115 cat >>confdefs.h
<<\_ACEOF
50116 #define wxUSE_STATLINE 1
50122 if test "$wxUSE_STATUSBAR" = "yes"; then
50123 cat >>confdefs.h
<<\_ACEOF
50124 #define wxUSE_NATIVE_STATUSBAR 1
50127 cat >>confdefs.h
<<\_ACEOF
50128 #define wxUSE_STATUSBAR 1
50133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
50136 if test "$wxUSE_TEXTCTRL" = "yes"; then
50137 cat >>confdefs.h
<<\_ACEOF
50138 #define wxUSE_TEXTCTRL 1
50142 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
50144 cat >>confdefs.h
<<\_ACEOF
50145 #define wxUSE_RICHEDIT 1
50148 cat >>confdefs.h
<<\_ACEOF
50149 #define wxUSE_RICHEDIT2 1
50154 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50155 cat >>confdefs.h
<<\_ACEOF
50156 #define wxUSE_TIMEPICKCTRL 1
50162 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50163 if test "$wxUSE_OLD_COCOA" = 1 ; then
50164 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50165 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50169 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50170 cat >>confdefs.h
<<\_ACEOF
50171 #define wxUSE_TOGGLEBTN 1
50178 if test "$wxUSE_TOOLBAR" = "yes"; then
50179 cat >>confdefs.h
<<\_ACEOF
50180 #define wxUSE_TOOLBAR 1
50185 if test "$wxUSE_UNIVERSAL" = "yes"; then
50186 wxUSE_TOOLBAR_NATIVE
="no"
50188 wxUSE_TOOLBAR_NATIVE
="yes"
50189 cat >>confdefs.h
<<\_ACEOF
50190 #define wxUSE_TOOLBAR_NATIVE 1
50195 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
50198 if test "$wxUSE_TOOLTIPS" = "yes"; then
50199 if test "$wxUSE_MOTIF" = 1; then
50200 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50201 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50203 if test "$wxUSE_UNIVERSAL" = "yes"; then
50204 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50205 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50207 cat >>confdefs.h
<<\_ACEOF
50208 #define wxUSE_TOOLTIPS 1
50215 if test "$wxUSE_TREEBOOK" = "yes"; then
50216 cat >>confdefs.h
<<\_ACEOF
50217 #define wxUSE_TREEBOOK 1
50223 if test "$wxUSE_TOOLBOOK" = "yes"; then
50224 cat >>confdefs.h
<<\_ACEOF
50225 #define wxUSE_TOOLBOOK 1
50231 if test "$wxUSE_TREECTRL" = "yes"; then
50232 if test "$wxUSE_IMAGLIST" = "yes"; then
50233 cat >>confdefs.h
<<\_ACEOF
50234 #define wxUSE_TREECTRL 1
50238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
50240 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50241 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50245 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50246 cat >>confdefs.h
<<\_ACEOF
50247 #define wxUSE_TREELISTCTRL 1
50251 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
50254 if test "$wxUSE_POPUPWIN" = "yes"; then
50255 if test "$wxUSE_OLD_COCOA" = 1 ; then
50256 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50257 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50259 if test "$wxUSE_PM" = 1; then
50260 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50261 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50263 cat >>confdefs.h
<<\_ACEOF
50264 #define wxUSE_POPUPWIN 1
50267 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
50274 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50275 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
50276 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50277 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50279 cat >>confdefs.h
<<\_ACEOF
50280 #define wxUSE_DIALUP_MANAGER 1
50283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
50287 if test "$wxUSE_TIPWINDOW" = "yes"; then
50288 if test "$wxUSE_PM" = 1; then
50289 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50290 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50292 cat >>confdefs.h
<<\_ACEOF
50293 #define wxUSE_TIPWINDOW 1
50299 if test "$USES_CONTROLS" = 1; then
50300 cat >>confdefs.h
<<\_ACEOF
50301 #define wxUSE_CONTROLS 1
50307 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50308 cat >>confdefs.h
<<\_ACEOF
50309 #define wxUSE_ACCESSIBILITY 1
50312 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
50315 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50316 cat >>confdefs.h
<<\_ACEOF
50317 #define wxUSE_ARTPROVIDER_STD 1
50322 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50323 if test "$wxUSE_GTK" != 1; then
50324 if test "$wxUSE_LIBPNG" != no
-a \
50325 "$wxUSE_IMAGE" = yes -a \
50326 "$wxUSE_STREAMS" = yes; then
50327 wxUSE_ARTPROVIDER_TANGO
="yes"
50332 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50333 cat >>confdefs.h
<<\_ACEOF
50334 #define wxUSE_ARTPROVIDER_TANGO 1
50339 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50340 cat >>confdefs.h
<<\_ACEOF
50341 #define wxUSE_DRAGIMAGE 1
50344 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
50347 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50348 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50349 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50350 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50352 cat >>confdefs.h
<<\_ACEOF
50353 #define wxUSE_EXCEPTIONS 1
50356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
50361 if test "$wxUSE_HTML" = "yes"; then
50362 cat >>confdefs.h
<<\_ACEOF
50363 #define wxUSE_HTML 1
50367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50369 if test "$wxUSE_WEBKIT" = "yes"; then
50370 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50371 old_CPPFLAGS
="$CPPFLAGS"
50372 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
50373 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50374 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50375 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50376 echo $ECHO_N "(cached) $ECHO_C" >&6
50378 cat >conftest.
$ac_ext <<_ACEOF
50381 cat confdefs.h
>>conftest.
$ac_ext
50382 cat >>conftest.
$ac_ext <<_ACEOF
50383 /* end confdefs.h. */
50385 #include <Carbon/Carbon.h>
50386 #include <WebKit/WebKit.h>
50389 #include <WebKit/HIWebView.h>
50391 rm -f conftest.
$ac_objext
50392 if { (ac_try
="$ac_compile"
50393 case "(($ac_try" in
50394 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50395 *) ac_try_echo=$ac_try;;
50397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50398 (eval "$ac_compile") 2>conftest.er1
50400 grep -v '^ *+' conftest.er1 >conftest.err
50402 cat conftest.err >&5
50403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50404 (exit $ac_status); } && {
50405 test -z "$ac_c_werror_flag" ||
50406 test ! -s conftest.err
50407 } && test -s conftest.$ac_objext; then
50408 ac_cv_header_WebKit_HIWebView_h=yes
50410 echo "$as_me: failed program was:" >&5
50411 sed 's/^/| /' conftest.$ac_ext >&5
50413 ac_cv_header_WebKit_HIWebView_h=no
50416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50418 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50419 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50420 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50422 cat >>confdefs.h <<\_ACEOF
50423 #define wxUSE_WEBKIT 1
50426 WEBKIT_LINK="-framework WebKit"
50430 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50431 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50437 CPPFLAGS="$old_CPPFLAGS"
50438 elif test "$wxUSE_OLD_COCOA" = 1; then
50439 cat >>confdefs.h <<\_ACEOF
50440 #define wxUSE_WEBKIT 1
50446 if test "$wxUSE_WEBKIT" = "yes"; then
50447 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50452 if test "$wxUSE_XRC" = "yes"; then
50453 if test "$wxUSE_XML" != "yes"; then
50454 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50455 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50458 cat >>confdefs.h <<\_ACEOF
50459 #define wxUSE_XRC 1
50463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50468 if test "$wxUSE_AUI" = "yes"; then
50469 cat >>confdefs.h <<\_ACEOF
50470 #define wxUSE_AUI 1
50474 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50478 if test "$wxUSE_PROPGRID" = "yes"; then
50479 cat >>confdefs.h <<\_ACEOF
50480 #define wxUSE_PROPGRID 1
50484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
50488 if test "$wxUSE_RIBBON" = "yes"; then
50489 cat >>confdefs.h <<\_ACEOF
50490 #define wxUSE_RIBBON 1
50494 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
50498 if test "$wxUSE_STC" = "yes"; then
50499 cat >>confdefs.h <<\_ACEOF
50500 #define wxUSE_STC 1
50504 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50506 # Extract the first word of "python", so it can be a program name with args.
50507 set dummy python; ac_word=$2
50508 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50510 if test "${ac_cv_path_PYTHON+set}" = set; then
50511 echo $ECHO_N "(cached) $ECHO_C" >&6
50515 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
50518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50519 for as_dir in $PATH
50522 test -z "$as_dir" && as_dir=.
50523 for ac_exec_ext in '' $ac_executable_extensions; do
50524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50525 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
50526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50536 PYTHON=$ac_cv_path_PYTHON
50537 if test -n "$PYTHON"; then
50538 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50539 echo "${ECHO_T}$PYTHON" >&6; }
50541 { echo "$as_me:$LINENO: result: no" >&5
50542 echo "${ECHO_T}no" >&6; }
50546 if test "x$PYTHON" = "x"; then
50552 if test "$wxUSE_MENUS" = "yes"; then
50553 cat >>confdefs.h <<\_ACEOF
50554 #define wxUSE_MENUS 1
50557 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50560 if test "$wxUSE_MIMETYPE" = "yes"; then
50561 cat >>confdefs.h <<\_ACEOF
50562 #define wxUSE_MIMETYPE 1
50567 if test "$wxUSE_MINIFRAME" = "yes"; then
50568 cat >>confdefs.h <<\_ACEOF
50569 #define wxUSE_MINIFRAME 1
50574 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50575 cat >>confdefs.h <<\_ACEOF
50576 #define wxUSE_SYSTEM_OPTIONS 1
50581 if test "$wxUSE_TASKBARICON" = "yes"; then
50582 cat >>confdefs.h <<\_ACEOF
50583 #define wxUSE_TASKBARICON 1
50586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50590 if test "$wxUSE_VALIDATORS" = "yes"; then
50591 cat >>confdefs.h <<\_ACEOF
50592 #define wxUSE_VALIDATORS 1
50595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50598 if test "$wxUSE_PALETTE" = "yes" ; then
50599 if test "$wxUSE_DFB" = 1; then
50600 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50601 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50604 cat >>confdefs.h <<\_ACEOF
50605 #define wxUSE_PALETTE 1
50611 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50612 LIBS=" -lunicows $LIBS"
50616 if test "$wxUSE_RICHTEXT" = "yes"; then
50617 cat >>confdefs.h <<\_ACEOF
50618 #define wxUSE_RICHTEXT 1
50622 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50625 if test "$wxUSE_WEBVIEW" = "yes"; then
50626 USE_WEBVIEW_WEBKIT=0
50627 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50628 if test "$wxUSE_GTK" = 1; then
50629 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
50630 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
50633 for ac_dir in $SEARCH_LIB
50635 for ac_extension in a so sl dylib dll.a; do
50636 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
50637 ac_find_libraries=$ac_dir
50643 if test "$ac_find_libraries" != "" ; then
50645 if test "$ac_find_libraries" = "default location"; then
50648 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
50650 if test $result = 0; then
50653 ac_path_to_link=" -L$ac_find_libraries"
50657 if test "$ac_path_to_link" != " -L/usr/lib" ; then
50658 LDFLAGS="$LDFLAGS $ac_path_to_link"
50660 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
50661 { echo "$as_me:$LINENO: result: yes" >&5
50662 echo "${ECHO_T}yes" >&6; }
50664 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
50665 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
50668 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
50670 if test -f "$ac_dir/webkit/webkit.h"; then
50671 ac_find_includes=$ac_dir
50676 if test "$ac_find_includes" != "" ; then
50677 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50678 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50680 if test "x$ac_find_includes" = "x/usr/include"; then
50681 ac_path_to_include=""
50683 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50685 if test $result = 0; then
50686 ac_path_to_include=""
50688 ac_path_to_include=" -I$ac_find_includes"
50692 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50694 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
50695 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
50698 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
50700 if test -f "$ac_dir/libsoup/soup.h"; then
50701 ac_find_includes=$ac_dir
50706 if test "$ac_find_includes" != "" ; then
50707 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
50708 echo "${ECHO_T}found in $ac_find_includes" >&6; }
50710 if test "x$ac_find_includes" = "x/usr/include"; then
50711 ac_path_to_include=""
50713 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
50715 if test $result = 0; then
50716 ac_path_to_include=""
50718 ac_path_to_include=" -I$ac_find_includes"
50722 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
50724 USE_WEBVIEW_WEBKIT=1
50726 { echo "$as_me:$LINENO: result: not found" >&5
50727 echo "${ECHO_T}not found" >&6; }
50728 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
50729 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
50732 { echo "$as_me:$LINENO: result: not found" >&5
50733 echo "${ECHO_T}not found" >&6; }
50734 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
50735 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
50738 { echo "$as_me:$LINENO: result: no" >&5
50739 echo "${ECHO_T}no" >&6; }
50740 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
50741 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
50743 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50744 old_CPPFLAGS="$CPPFLAGS"
50745 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50746 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50747 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50748 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50749 echo $ECHO_N "(cached) $ECHO_C" >&6
50751 cat >conftest.$ac_ext <<_ACEOF
50754 cat confdefs.h >>conftest.$ac_ext
50755 cat >>conftest.$ac_ext <<_ACEOF
50756 /* end confdefs.h. */
50758 #include <Carbon/Carbon.h>
50759 #include <WebKit/WebKit.h>
50762 #include <WebKit/HIWebView.h>
50764 rm -f conftest.$ac_objext
50765 if { (ac_try="$ac_compile"
50766 case "(($ac_try" in
50767 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50768 *) ac_try_echo
=$ac_try;;
50770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50771 (eval "$ac_compile") 2>conftest.er1
50773 grep -v '^ *+' conftest.er1
>conftest.err
50775 cat conftest.err
>&5
50776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50777 (exit $ac_status); } && {
50778 test -z "$ac_c_werror_flag" ||
50779 test ! -s conftest.err
50780 } && test -s conftest.
$ac_objext; then
50781 ac_cv_header_WebKit_HIWebView_h
=yes
50783 echo "$as_me: failed program was:" >&5
50784 sed 's/^/| /' conftest.
$ac_ext >&5
50786 ac_cv_header_WebKit_HIWebView_h
=no
50789 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50791 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50792 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50793 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50795 USE_WEBVIEW_WEBKIT
=1
50796 WEBKIT_LINK
="-framework WebKit"
50800 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
50801 echo "$as_me: WARNING: WebKit headers not found" >&2;}
50806 CPPFLAGS
="$old_CPPFLAGS"
50811 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
50812 if test "$USE_WEBVIEW_WEBKIT" = 1; then
50813 wxUSE_WEBVIEW
="yes"
50814 cat >>confdefs.h
<<\_ACEOF
50815 #define wxUSE_WEBVIEW_WEBKIT 1
50819 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
50820 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
50822 elif test "$wxUSE_MSW" = 1; then
50823 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
50824 wxUSE_WEBVIEW
="yes"
50825 cat >>confdefs.h
<<\_ACEOF
50826 #define wxUSE_WEBVIEW_IE 1
50833 if test "$wxUSE_WEBVIEW" = "yes"; then
50835 cat >>confdefs.h
<<\_ACEOF
50836 #define wxUSE_WEBVIEW 1
50839 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
50845 if test "$wxUSE_IMAGE" = "yes" ; then
50846 cat >>confdefs.h
<<\_ACEOF
50847 #define wxUSE_IMAGE 1
50851 if test "$wxUSE_GIF" = "yes" ; then
50852 cat >>confdefs.h
<<\_ACEOF
50853 #define wxUSE_GIF 1
50858 if test "$wxUSE_PCX" = "yes" ; then
50859 cat >>confdefs.h
<<\_ACEOF
50860 #define wxUSE_PCX 1
50865 if test "$wxUSE_TGA" = "yes" ; then
50866 cat >>confdefs.h
<<\_ACEOF
50867 #define wxUSE_TGA 1
50872 if test "$wxUSE_IFF" = "yes" ; then
50873 cat >>confdefs.h
<<\_ACEOF
50874 #define wxUSE_IFF 1
50879 if test "$wxUSE_PNM" = "yes" ; then
50880 cat >>confdefs.h
<<\_ACEOF
50881 #define wxUSE_PNM 1
50886 if test "$wxUSE_XPM" = "yes" ; then
50887 cat >>confdefs.h
<<\_ACEOF
50888 #define wxUSE_XPM 1
50893 if test "$wxUSE_ICO_CUR" = "yes" ; then
50894 cat >>confdefs.h
<<\_ACEOF
50895 #define wxUSE_ICO_CUR 1
50902 if test "$wxUSE_ABOUTDLG" = "yes"; then
50903 cat >>confdefs.h
<<\_ACEOF
50904 #define wxUSE_ABOUTDLG 1
50909 if test "$wxUSE_CHOICEDLG" = "yes"; then
50910 cat >>confdefs.h
<<\_ACEOF
50911 #define wxUSE_CHOICEDLG 1
50916 if test "$wxUSE_COLOURDLG" = "yes"; then
50917 cat >>confdefs.h
<<\_ACEOF
50918 #define wxUSE_COLOURDLG 1
50923 if test "$wxUSE_FILEDLG" = "yes"; then
50924 cat >>confdefs.h
<<\_ACEOF
50925 #define wxUSE_FILEDLG 1
50930 if test "$wxUSE_FINDREPLDLG" = "yes"; then
50931 cat >>confdefs.h
<<\_ACEOF
50932 #define wxUSE_FINDREPLDLG 1
50937 if test "$wxUSE_FONTDLG" = "yes"; then
50938 cat >>confdefs.h
<<\_ACEOF
50939 #define wxUSE_FONTDLG 1
50944 if test "$wxUSE_DIRDLG" = "yes"; then
50945 if test "$wxUSE_TREECTRL" != "yes"; then
50946 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
50947 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
50949 cat >>confdefs.h
<<\_ACEOF
50950 #define wxUSE_DIRDLG 1
50956 if test "$wxUSE_MSGDLG" = "yes"; then
50957 cat >>confdefs.h
<<\_ACEOF
50958 #define wxUSE_MSGDLG 1
50963 if test "$wxUSE_NUMBERDLG" = "yes"; then
50964 cat >>confdefs.h
<<\_ACEOF
50965 #define wxUSE_NUMBERDLG 1
50970 if test "$wxUSE_PROGRESSDLG" = "yes"; then
50971 cat >>confdefs.h
<<\_ACEOF
50972 #define wxUSE_PROGRESSDLG 1
50977 if test "$wxUSE_SPLASH" = "yes"; then
50978 cat >>confdefs.h
<<\_ACEOF
50979 #define wxUSE_SPLASH 1
50982 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
50985 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
50986 cat >>confdefs.h
<<\_ACEOF
50987 #define wxUSE_STARTUP_TIPS 1
50992 if test "$wxUSE_TEXTDLG" = "yes"; then
50993 cat >>confdefs.h
<<\_ACEOF
50994 #define wxUSE_TEXTDLG 1
50999 if test "$wxUSE_WIZARDDLG" = "yes"; then
51000 cat >>confdefs.h
<<\_ACEOF
51001 #define wxUSE_WIZARDDLG 1
51004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
51008 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
51009 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
51010 cat >>confdefs.h
<<\_ACEOF
51011 #define wxUSE_OWNER_DRAWN 1
51018 if test "$wxUSE_MSW" = 1 ; then
51020 if test "$wxUSE_DC_CACHEING" = "yes"; then
51021 cat >>confdefs.h
<<\_ACEOF
51022 #define wxUSE_DC_CACHEING 1
51027 if test "$wxUSE_DIB" = "yes"; then
51028 cat >>confdefs.h
<<\_ACEOF
51029 #define wxUSE_WXDIB 1
51034 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
51035 cat >>confdefs.h
<<\_ACEOF
51036 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
51041 if test "$wxUSE_UXTHEME" = "yes"; then
51042 cat >>confdefs.h
<<\_ACEOF
51043 #define wxUSE_UXTHEME 1
51050 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51051 cat >>confdefs.h
<<\_ACEOF
51052 #define wxUSE_AUTOID_MANAGEMENT 1
51057 if test "$USE_WIN32" = 1 ; then
51058 if test "$wxUSE_INICONF" = "yes"; then
51059 cat >>confdefs.h
<<\_ACEOF
51060 #define wxUSE_INICONF 1
51065 if test "$wxUSE_REGKEY" = "yes"; then
51066 cat >>confdefs.h
<<\_ACEOF
51067 #define wxUSE_REGKEY 1
51074 if test "$wxUSE_MAC" = 1; then
51075 wxUSE_GRAPHICS_CONTEXT
="yes"
51078 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51080 if test "$wxUSE_MSW" = 1; then
51081 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51082 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51083 if test "${wx_cv_lib_gdiplus+set}" = set; then
51084 echo $ECHO_N "(cached) $ECHO_C" >&6
51088 ac_cpp
='$CXXCPP $CPPFLAGS'
51089 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51090 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51091 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51093 cat >conftest.
$ac_ext <<_ACEOF
51096 cat confdefs.h
>>conftest.
$ac_ext
51097 cat >>conftest.
$ac_ext <<_ACEOF
51098 /* end confdefs.h. */
51099 #include <windows.h>
51100 #include <gdiplus.h>
51105 using namespace Gdiplus;
51111 rm -f conftest.
$ac_objext
51112 if { (ac_try
="$ac_compile"
51113 case "(($ac_try" in
51114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51115 *) ac_try_echo=$ac_try;;
51117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51118 (eval "$ac_compile") 2>conftest.er1
51120 grep -v '^ *+' conftest.er1 >conftest.err
51122 cat conftest.err >&5
51123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51124 (exit $ac_status); } && {
51125 test -z "$ac_cxx_werror_flag" ||
51126 test ! -s conftest.err
51127 } && test -s conftest.$ac_objext; then
51128 wx_cv_lib_gdiplus=yes
51130 echo "$as_me: failed program was:" >&5
51131 sed 's/^/| /' conftest.$ac_ext >&5
51133 wx_cv_lib_gdiplus=no
51137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51139 ac_cpp='$CPP $CPPFLAGS'
51140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51147 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51148 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51149 if test "$wx_cv_lib_gdiplus" = "yes"; then
51152 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51155 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51156 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51158 if test -n "$PKG_CONFIG"; then
51159 if test -n "$CAIRO_CFLAGS"; then
51160 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
51162 if test -n "$PKG_CONFIG" && \
51163 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51164 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51167 (exit $ac_status); }; then
51168 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
51176 if test -n "$PKG_CONFIG"; then
51177 if test -n "$CAIRO_LIBS"; then
51178 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
51180 if test -n "$PKG_CONFIG" && \
51181 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51182 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51185 (exit $ac_status); }; then
51186 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
51197 if test $pkg_failed = yes; then
51199 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51200 _pkg_short_errors_supported=yes
51202 _pkg_short_errors_supported=no
51204 if test $_pkg_short_errors_supported = yes; then
51205 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51207 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51209 # Put the nasty error message in config.log where it belongs
51210 echo "$CAIRO_PKG_ERRORS" >&5
51212 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51213 echo "$as_me: WARNING: Cairo library not found" >&2;}
51215 elif test $pkg_failed = untried; then
51216 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51217 echo "$as_me: WARNING: Cairo library not found" >&2;}
51220 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
51221 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
51222 { echo "$as_me:$LINENO: result: yes" >&5
51223 echo "${ECHO_T}yes" >&6; }
51226 if test "$wx_has_graphics" = 1; then
51228 LIBS="$LIBS $CAIRO_LIBS"
51230 for ac_func in cairo_push_group
51232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51233 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51235 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51236 echo $ECHO_N "(cached) $ECHO_C" >&6
51238 cat >conftest.$ac_ext <<_ACEOF
51241 cat confdefs.h >>conftest.$ac_ext
51242 cat >>conftest.$ac_ext <<_ACEOF
51243 /* end confdefs.h. */
51244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51246 #define $ac_func innocuous_$ac_func
51248 /* System header to define __stub macros and hopefully few prototypes,
51249 which can conflict with char $ac_func (); below.
51250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51251 <limits.h> exists even on freestanding compilers. */
51254 # include <limits.h>
51256 # include <assert.h>
51261 /* Override any GCC internal prototype to avoid an error.
51262 Use char because int might match the return type of a GCC
51263 builtin and then its argument prototype would still apply. */
51268 /* The GNU C library defines this for functions which it implements
51269 to always fail with ENOSYS. Some functions are actually named
51270 something starting with __ and the normal name is an alias. */
51271 #if defined __stub_$ac_func || defined __stub___$ac_func
51278 return $ac_func ();
51283 rm -f conftest.$ac_objext conftest$ac_exeext
51284 if { (ac_try="$ac_link"
51285 case "(($ac_try" in
51286 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51287 *) ac_try_echo
=$ac_try;;
51289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51290 (eval "$ac_link") 2>conftest.er1
51292 grep -v '^ *+' conftest.er1
>conftest.err
51294 cat conftest.err
>&5
51295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51296 (exit $ac_status); } && {
51297 test -z "$ac_c_werror_flag" ||
51298 test ! -s conftest.err
51299 } && test -s conftest
$ac_exeext &&
51300 $as_test_x conftest
$ac_exeext; then
51301 eval "$as_ac_var=yes"
51303 echo "$as_me: failed program was:" >&5
51304 sed 's/^/| /' conftest.
$ac_ext >&5
51306 eval "$as_ac_var=no"
51309 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
51310 conftest
$ac_exeext conftest.
$ac_ext
51312 ac_res
=`eval echo '${'$as_ac_var'}'`
51313 { echo "$as_me:$LINENO: result: $ac_res" >&5
51314 echo "${ECHO_T}$ac_res" >&6; }
51315 if test `eval echo '${'$as_ac_var'}'` = yes; then
51316 cat >>confdefs.h
<<_ACEOF
51317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51324 if test "$ac_cv_func_cairo_push_group" = "no"; then
51326 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51327 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51329 cat >>confdefs.h
<<\_ACEOF
51330 #define wxUSE_CAIRO 1
51334 if test "$wxUSE_GTK" != 1; then
51335 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
51336 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
51344 if test "$wx_has_graphics" = 1; then
51345 cat >>confdefs.h
<<\_ACEOF
51346 #define wxUSE_GRAPHICS_CONTEXT 1
51350 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51351 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51358 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51361 if test "$wxUSE_GTK" = 1; then
51362 wxUSE_GSTREAMER
="no"
51364 GST_VERSION_MAJOR
=0
51365 GST_VERSION_MINOR
=10
51366 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
51368 if test "$wxUSE_GSTREAMER8" = "no"; then
51371 { echo "$as_me:$LINENO: checking for GST" >&5
51372 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51374 if test -n "$PKG_CONFIG"; then
51375 if test -n "$GST_CFLAGS"; then
51376 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
51378 if test -n "$PKG_CONFIG" && \
51379 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51380 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51383 (exit $ac_status); }; then
51384 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51392 if test -n "$PKG_CONFIG"; then
51393 if test -n "$GST_LIBS"; then
51394 pkg_cv_GST_LIBS
="$GST_LIBS"
51396 if test -n "$PKG_CONFIG" && \
51397 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51398 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51401 (exit $ac_status); }; then
51402 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51413 if test $pkg_failed = yes; then
51415 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51416 _pkg_short_errors_supported
=yes
51418 _pkg_short_errors_supported
=no
51420 if test $_pkg_short_errors_supported = yes; then
51421 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51423 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51425 # Put the nasty error message in config.log where it belongs
51426 echo "$GST_PKG_ERRORS" >&5
51429 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51430 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51431 GST_VERSION_MINOR
=8
51434 elif test $pkg_failed = untried
; then
51436 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51437 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51438 GST_VERSION_MINOR
=8
51442 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
51443 GST_LIBS
=$pkg_cv_GST_LIBS
51444 { echo "$as_me:$LINENO: result: yes" >&5
51445 echo "${ECHO_T}yes" >&6; }
51447 wxUSE_GSTREAMER
="yes"
51448 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51452 GST_VERSION_MINOR
=8
51455 if test $GST_VERSION_MINOR = "8"; then
51456 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
51459 { echo "$as_me:$LINENO: checking for GST" >&5
51460 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51462 if test -n "$PKG_CONFIG"; then
51463 if test -n "$GST_CFLAGS"; then
51464 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
51466 if test -n "$PKG_CONFIG" && \
51467 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51468 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51471 (exit $ac_status); }; then
51472 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51480 if test -n "$PKG_CONFIG"; then
51481 if test -n "$GST_LIBS"; then
51482 pkg_cv_GST_LIBS
="$GST_LIBS"
51484 if test -n "$PKG_CONFIG" && \
51485 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51486 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51489 (exit $ac_status); }; then
51490 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51501 if test $pkg_failed = yes; then
51503 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51504 _pkg_short_errors_supported
=yes
51506 _pkg_short_errors_supported
=no
51508 if test $_pkg_short_errors_supported = yes; then
51509 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51511 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51513 # Put the nasty error message in config.log where it belongs
51514 echo "$GST_PKG_ERRORS" >&5
51517 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51518 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51520 elif test $pkg_failed = untried
; then
51522 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51523 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51526 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
51527 GST_LIBS
=$pkg_cv_GST_LIBS
51528 { echo "$as_me:$LINENO: result: yes" >&5
51529 echo "${ECHO_T}yes" >&6; }
51530 wxUSE_GSTREAMER
="yes"
51535 if test "$wxUSE_GSTREAMER" = "yes"; then
51536 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
51537 EXTRALIBS_MEDIA
="$GST_LIBS"
51539 cat >>confdefs.h
<<\_ACEOF
51540 #define wxUSE_GSTREAMER 1
51548 if test $USE_MEDIA = 1; then
51549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
51550 cat >>confdefs.h
<<\_ACEOF
51551 #define wxUSE_MEDIACTRL 1
51555 if test "$wxUSE_MEDIACTRL" = "yes"; then
51556 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51557 echo "$as_me: error: GStreamer not available" >&2;}
51558 { (exit 1); exit 1; }; }
51560 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51561 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51567 if test "$cross_compiling" != "no"; then
51570 OSINFO
=`uname -s -r -m`
51571 OSINFO
="\"$OSINFO\""
51574 cat >>confdefs.h
<<_ACEOF
51575 #define WXWIN_OS_DESCRIPTION $OSINFO
51580 if test "x$prefix" != "xNONE"; then
51583 wxPREFIX
=$ac_default_prefix
51586 cat >>confdefs.h
<<_ACEOF
51587 #define wxINSTALL_PREFIX "$wxPREFIX"
51593 STD_BASE_LIBS
="base"
51595 BUILT_WX_LIBS
="base"
51596 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
51598 if test "$wxUSE_SOCKETS" = "yes" ; then
51599 STD_BASE_LIBS
="net $STD_BASE_LIBS"
51600 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
51602 if test "$wxUSE_XML" = "yes" ; then
51603 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
51604 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
51607 if test "$wxUSE_GUI" = "yes"; then
51608 STD_GUI_LIBS
="adv core"
51609 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
51611 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51612 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
51613 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
51615 if test "$wxUSE_HTML" = "yes" ; then
51616 STD_GUI_LIBS
="html $STD_GUI_LIBS"
51617 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
51619 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51620 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
51622 if test "$wxUSE_OPENGL" = "yes" ; then
51623 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
51625 if test "$wxUSE_AUI" = "yes" ; then
51626 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
51628 if test "$wxUSE_PROPGRID" = "yes" ; then
51629 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
51631 if test "$wxUSE_RIBBON" = "yes" ; then
51632 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
51634 if test "$wxUSE_RICHTEXT" = "yes" ; then
51635 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
51637 if test "$wxUSE_STC" = "yes" ; then
51638 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
51640 if test "$wxUSE_WEBVIEW" = "yes" ; then
51641 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
51642 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
51644 if test "$wxUSE_XRC" = "yes" ; then
51645 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
51646 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
51657 if test "$wxUSE_MAC" = 1 ; then
51658 if test "$USE_DARWIN" = 1; then
51659 if test "$wxUSE_OSX_IPHONE" = 1; then
51660 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51662 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
51666 if test "$wxUSE_OLD_COCOA" = 1 ; then
51667 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
51668 if test "$wxUSE_MEDIACTRL" = "yes"; then
51669 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
51672 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51673 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51676 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
51677 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51679 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51681 if test "$wxUSE_GUI" = "yes"; then
51684 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51685 erase event exec font image minimal render \
51686 shaped svg taborder vscroll widgets wrapsizer"
51688 if test "$wxUSE_MONOLITHIC" != "yes"; then
51689 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
51691 if test "$TOOLKIT" = "MSW"; then
51692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
51693 if test "$wxUSE_UNIVERSAL" != "yes"; then
51694 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51697 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
51701 SAMPLES_SUBDIRS
="console"
51702 if test "$wxUSE_SOCKETS" = "yes" ; then
51703 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
51705 if test "$wxUSE_IPC" = "yes" ; then
51706 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
51711 if test "x$INTELCC" = "xyes" ; then
51712 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
51713 elif test "$GCC" = yes ; then
51714 CWARNINGS
="-Wall -Wundef"
51717 if test "x$INTELCXX" = "xyes" ; then
51718 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51719 elif test "$GXX" = yes ; then
51720 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51721 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51722 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51723 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51724 echo $ECHO_N "(cached) $ECHO_C" >&6
51726 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
51729 ac_cpp
='$CXXCPP $CPPFLAGS'
51730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51734 ac_save_CXXFLAGS
="$CXXFLAGS"
51735 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51736 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51737 cat >conftest.
$ac_ext <<_ACEOF
51740 cat confdefs.h
>>conftest.
$ac_ext
51741 cat >>conftest.
$ac_ext <<_ACEOF
51742 /* end confdefs.h. */
51752 rm -f conftest.
$ac_objext
51753 if { (ac_try
="$ac_compile"
51754 case "(($ac_try" in
51755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51756 *) ac_try_echo=$ac_try;;
51758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51759 (eval "$ac_compile") 2>conftest.er1
51761 grep -v '^ *+' conftest.er1 >conftest.err
51763 cat conftest.err >&5
51764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51765 (exit $ac_status); } && {
51766 test -z "$ac_cxx_werror_flag" ||
51767 test ! -s conftest.err
51768 } && test -s conftest.$ac_objext; then
51769 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
51771 echo "$as_me: failed program was:" >&5
51772 sed 's/^/| /' conftest.$ac_ext >&5
51777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51779 CXXFLAGS="$ac_save_CXXFLAGS"
51781 ac_cpp='$CPP $CPPFLAGS'
51782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51788 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
51789 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
51790 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
51794 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
51795 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
51796 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
51798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51799 (exit $ac_status); }
51800 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
51801 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
51803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51804 (exit $ac_status); }
51805 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
51811 if test "$wxUSE_MAC" = 1 ; then
51812 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
51817 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
51818 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
51821 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
51822 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
51823 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
51826 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
51827 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
51828 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
51829 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
51830 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
51832 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
51835 if test "x$MWCC" = "xyes"; then
51837 CC="$CC -cwd source -I-"
51838 CXX="$CXX -cwd source -I-"
51843 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
51844 EXTRALIBS_XML="$EXPAT_LINK"
51845 EXTRALIBS_HTML="$MSPACK_LINK"
51846 EXTRALIBS_MEDIA="$GST_LIBS"
51847 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
51848 if test "$wxUSE_GUI" = "yes"; then
51849 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
51851 if test "$wxUSE_OPENGL" = "yes"; then
51852 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
51855 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
51857 WXCONFIG_LIBS="$LIBS"
51859 if test "$wxUSE_REGEX" = "builtin" ; then
51860 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
51862 if test "$wxUSE_EXPAT" = "builtin" ; then
51863 wxconfig_3rdparty="expat $wxconfig_3rdparty"
51865 if test "$wxUSE_LIBTIFF" = "builtin" ; then
51866 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
51868 if test "$wxUSE_LIBJPEG" = "builtin" ; then
51869 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
51871 if test "$wxUSE_LIBPNG" = "builtin" ; then
51872 wxconfig_3rdparty="png $wxconfig_3rdparty"
51874 if test "$wxUSE_ZLIB" = "builtin" ; then
51875 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
51878 for i in $wxconfig_3rdparty ; do
51879 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
51883 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
51886 case "$wxUNIV_THEMES" in
51888 cat >>confdefs.h <<\_ACEOF
51889 #define wxUSE_ALL_THEMES 1
51895 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
51896 cat >>confdefs.h <<_ACEOF
51897 #define wxUSE_THEME_$t 1
51913 if test $wxUSE_MONOLITHIC = "yes" ; then
51919 if test $wxUSE_PLUGINS = "yes" ; then
51925 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51931 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
51963 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
51976 TOOLKIT_DESC="GTK+"
51977 if test "$WXGTK2" = 1; then
51978 TOOLKIT_DESC="$TOOLKIT_DESC 2"
51979 if test "$wxUSE_GTKPRINT" = "yes" ; then
51980 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
51982 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
51983 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
51985 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
51986 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
51988 if test "$wxUSE_LIBHILDON" = "yes"; then
51989 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
51991 if test "$wxUSE_LIBHILDON2" = "yes"; then
51992 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
51995 if test "$TOOLKIT_EXTRA" != ""; then
51996 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
52002 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
52006 TOOLKIT_DESC="base only"
52010 if test "$wxUSE_WINE" = "yes"; then
52011 BAKEFILE_FORCE_PLATFORM=win32
52014 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
52016 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
52017 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
52018 if test "${wx_cv_gcc_pch_bug+set}" = set; then
52019 echo $ECHO_N "(cached) $ECHO_C" >&6
52022 echo '#include <stdio.h>
52023 const wchar_t test_var[] = L"awidetest";' > conftest.h
52025 echo '#include "conftest.h"
52028 printf("%ls", test_var);
52032 wx_cv_gcc_pch_bug="pch not supported"
52034 if $CXX conftest.h >/dev/null 2>&1
52038 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
52040 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
52041 grep awidetest >/dev/null
52043 wx_cv_gcc_pch_bug=no
52045 wx_cv_gcc_pch_bug=yes
52050 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52053 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52054 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52056 if test "$wx_cv_gcc_pch_bug" = yes; then
52067 if test "x$BAKEFILE_HOST" = "x"; then
52068 if test "x${host}" = "x" ; then
52069 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52070 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52071 { (exit 1); exit 1; }; }
52074 BAKEFILE_HOST="${host}"
52077 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52079 if test -n "$ac_tool_prefix"; then
52080 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52081 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52082 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52084 if test "${ac_cv_prog_RANLIB+set}" = set; then
52085 echo $ECHO_N "(cached) $ECHO_C" >&6
52087 if test -n "$RANLIB"; then
52088 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52091 for as_dir in $PATH
52094 test -z "$as_dir" && as_dir=.
52095 for ac_exec_ext in '' $ac_executable_extensions; do
52096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52097 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52107 RANLIB=$ac_cv_prog_RANLIB
52108 if test -n "$RANLIB"; then
52109 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52110 echo "${ECHO_T}$RANLIB" >&6; }
52112 { echo "$as_me:$LINENO: result: no" >&5
52113 echo "${ECHO_T}no" >&6; }
52118 if test -z "$ac_cv_prog_RANLIB"; then
52119 ac_ct_RANLIB=$RANLIB
52120 # Extract the first word of "ranlib", so it can be a program name with args.
52121 set dummy ranlib; ac_word=$2
52122 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52123 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52124 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52125 echo $ECHO_N "(cached) $ECHO_C" >&6
52127 if test -n "$ac_ct_RANLIB"; then
52128 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52131 for as_dir in $PATH
52134 test -z "$as_dir" && as_dir=.
52135 for ac_exec_ext in '' $ac_executable_extensions; do
52136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52137 ac_cv_prog_ac_ct_RANLIB="ranlib"
52138 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52147 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52148 if test -n "$ac_ct_RANLIB"; then
52149 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52150 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52152 { echo "$as_me:$LINENO: result: no" >&5
52153 echo "${ECHO_T}no" >&6; }
52156 if test "x$ac_ct_RANLIB" = x; then
52159 case $cross_compiling:$ac_tool_warned in
52161 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52162 whose name does not start with the host triplet. If you think this
52163 configuration is useful to you, please write to autoconf@gnu.org." >&5
52164 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52165 whose name does not start with the host triplet. If you think this
52166 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52167 ac_tool_warned=yes ;;
52169 RANLIB=$ac_ct_RANLIB
52172 RANLIB="$ac_cv_prog_RANLIB"
52175 # Find a good install program. We prefer a C program (faster),
52176 # so one script is as good as another. But avoid the broken or
52177 # incompatible versions:
52178 # SysV /etc/install, /usr/sbin/install
52179 # SunOS /usr/etc/install
52180 # IRIX /sbin/install
52182 # AmigaOS /C/install, which installs bootblocks on floppy discs
52183 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52184 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52185 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52186 # OS/2's system install, which has a completely different semantic
52187 # ./install, which can be erroneously created by make from ./install.sh.
52188 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52189 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52190 if test -z "$INSTALL"; then
52191 if test "${ac_cv_path_install+set}" = set; then
52192 echo $ECHO_N "(cached) $ECHO_C" >&6
52194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52195 for as_dir in $PATH
52198 test -z "$as_dir" && as_dir=.
52199 # Account for people who put trailing slashes in PATH elements.
52201 ./ | .// | /cC/* | \
52202 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52203 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52206 # OSF1 and SCO ODT 3.0 have their own names for install.
52207 # Don't use installbsd from OSF since it installs stuff as root
52209 for ac_prog in ginstall scoinst install; do
52210 for ac_exec_ext in '' $ac_executable_extensions; do
52211 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52212 if test $ac_prog = install &&
52213 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52214 # AIX install. It has an incompatible calling convention.
52216 elif test $ac_prog = install &&
52217 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52218 # program-specific install script used by HP pwplus--don't use.
52221 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52234 if test "${ac_cv_path_install+set}" = set; then
52235 INSTALL=$ac_cv_path_install
52237 # As a last resort, use the slow shell script. Don't cache a
52238 # value for INSTALL within a source directory, because that will
52239 # break other packages using the cache if that directory is
52240 # removed, or if the value is a relative name.
52241 INSTALL=$ac_install_sh
52244 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52245 echo "${ECHO_T}$INSTALL" >&6; }
52247 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52248 # It thinks the first close brace ends the variable substitution.
52249 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52251 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52253 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52255 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52256 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52258 if test "$LN_S" = "ln -s"; then
52259 { echo "$as_me:$LINENO: result: yes" >&5
52260 echo "${ECHO_T}yes" >&6; }
52262 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52263 echo "${ECHO_T}no, using $LN_S" >&6; }
52267 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52268 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52269 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52270 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52271 echo $ECHO_N "(cached) $ECHO_C" >&6
52273 cat >conftest.make <<\_ACEOF
52276 @echo '@@@%%%=$(MAKE)=@@@%%%'
52278 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52279 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52280 *@@@%%%=?*=@@@%%%*)
52281 eval ac_cv_prog_make_${ac_make}_set=yes;;
52283 eval ac_cv_prog_make_${ac_make}_set=no;;
52285 rm -f conftest.make
52287 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52288 { echo "$as_me:$LINENO: result: yes" >&5
52289 echo "${ECHO_T}yes" >&6; }
52292 { echo "$as_me:$LINENO: result: no" >&5
52293 echo "${ECHO_T}no" >&6; }
52294 SET_MAKE="MAKE=${MAKE-make}"
52299 if test "x$SUNCXX" = "xyes"; then
52301 AROPTIONS="-xar -o"
52303 elif test "x$SGICC" = "xyes"; then
52308 if test -n "$ac_tool_prefix"; then
52309 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52310 set dummy ${ac_tool_prefix}ar; ac_word=$2
52311 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52313 if test "${ac_cv_prog_AR+set}" = set; then
52314 echo $ECHO_N "(cached) $ECHO_C" >&6
52316 if test -n "$AR"; then
52317 ac_cv_prog_AR="$AR" # Let the user override the test.
52319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52320 for as_dir in $PATH
52323 test -z "$as_dir" && as_dir=.
52324 for ac_exec_ext in '' $ac_executable_extensions; do
52325 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52326 ac_cv_prog_AR="${ac_tool_prefix}ar"
52327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52337 if test -n "$AR"; then
52338 { echo "$as_me:$LINENO: result: $AR" >&5
52339 echo "${ECHO_T}$AR" >&6; }
52341 { echo "$as_me:$LINENO: result: no" >&5
52342 echo "${ECHO_T}no" >&6; }
52347 if test -z "$ac_cv_prog_AR"; then
52349 # Extract the first word of "ar", so it can be a program name with args.
52350 set dummy ar; ac_word=$2
52351 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52353 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52354 echo $ECHO_N "(cached) $ECHO_C" >&6
52356 if test -n "$ac_ct_AR"; then
52357 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52360 for as_dir in $PATH
52363 test -z "$as_dir" && as_dir=.
52364 for ac_exec_ext in '' $ac_executable_extensions; do
52365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52366 ac_cv_prog_ac_ct_AR="ar"
52367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52376 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52377 if test -n "$ac_ct_AR"; then
52378 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52379 echo "${ECHO_T}$ac_ct_AR" >&6; }
52381 { echo "$as_me:$LINENO: result: no" >&5
52382 echo "${ECHO_T}no" >&6; }
52385 if test "x$ac_ct_AR" = x; then
52388 case $cross_compiling:$ac_tool_warned in
52390 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52391 whose name does not start with the host triplet. If you think this
52392 configuration is useful to you, please write to autoconf@gnu.org." >&5
52393 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52394 whose name does not start with the host triplet. If you think this
52395 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52396 ac_tool_warned=yes ;;
52401 AR="$ac_cv_prog_AR"
52408 if test -n "$ac_tool_prefix"; then
52409 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52410 set dummy ${ac_tool_prefix}strip; ac_word=$2
52411 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52412 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52413 if test "${ac_cv_prog_STRIP+set}" = set; then
52414 echo $ECHO_N "(cached) $ECHO_C" >&6
52416 if test -n "$STRIP"; then
52417 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52420 for as_dir in $PATH
52423 test -z "$as_dir" && as_dir=.
52424 for ac_exec_ext in '' $ac_executable_extensions; do
52425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52426 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52427 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52436 STRIP=$ac_cv_prog_STRIP
52437 if test -n "$STRIP"; then
52438 { echo "$as_me:$LINENO: result: $STRIP" >&5
52439 echo "${ECHO_T}$STRIP" >&6; }
52441 { echo "$as_me:$LINENO: result: no" >&5
52442 echo "${ECHO_T}no" >&6; }
52447 if test -z "$ac_cv_prog_STRIP"; then
52449 # Extract the first word of "strip", so it can be a program name with args.
52450 set dummy strip; ac_word=$2
52451 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52453 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52454 echo $ECHO_N "(cached) $ECHO_C" >&6
52456 if test -n "$ac_ct_STRIP"; then
52457 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52460 for as_dir in $PATH
52463 test -z "$as_dir" && as_dir=.
52464 for ac_exec_ext in '' $ac_executable_extensions; do
52465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52466 ac_cv_prog_ac_ct_STRIP="strip"
52467 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52476 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52477 if test -n "$ac_ct_STRIP"; then
52478 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52479 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52481 { echo "$as_me:$LINENO: result: no" >&5
52482 echo "${ECHO_T}no" >&6; }
52485 if test "x$ac_ct_STRIP" = x; then
52488 case $cross_compiling:$ac_tool_warned in
52490 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52491 whose name does not start with the host triplet. If you think this
52492 configuration is useful to you, please write to autoconf@gnu.org." >&5
52493 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52494 whose name does not start with the host triplet. If you think this
52495 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52496 ac_tool_warned=yes ;;
52501 STRIP="$ac_cv_prog_STRIP"
52504 if test -n "$ac_tool_prefix"; then
52505 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52506 set dummy ${ac_tool_prefix}nm; ac_word=$2
52507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52509 if test "${ac_cv_prog_NM+set}" = set; then
52510 echo $ECHO_N "(cached) $ECHO_C" >&6
52512 if test -n "$NM"; then
52513 ac_cv_prog_NM="$NM" # Let the user override the test.
52515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52516 for as_dir in $PATH
52519 test -z "$as_dir" && as_dir=.
52520 for ac_exec_ext in '' $ac_executable_extensions; do
52521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52522 ac_cv_prog_NM="${ac_tool_prefix}nm"
52523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52533 if test -n "$NM"; then
52534 { echo "$as_me:$LINENO: result: $NM" >&5
52535 echo "${ECHO_T}$NM" >&6; }
52537 { echo "$as_me:$LINENO: result: no" >&5
52538 echo "${ECHO_T}no" >&6; }
52543 if test -z "$ac_cv_prog_NM"; then
52545 # Extract the first word of "nm", so it can be a program name with args.
52546 set dummy nm; 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_ac_ct_NM+set}" = set; then
52550 echo $ECHO_N "(cached) $ECHO_C" >&6
52552 if test -n "$ac_ct_NM"; then
52553 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # 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_ac_ct_NM="nm"
52563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52572 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52573 if test -n "$ac_ct_NM"; then
52574 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52575 echo "${ECHO_T}$ac_ct_NM" >&6; }
52577 { echo "$as_me:$LINENO: result: no" >&5
52578 echo "${ECHO_T}no" >&6; }
52581 if test "x$ac_ct_NM" = x; then
52584 case $cross_compiling:$ac_tool_warned in
52586 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52587 whose name does not start with the host triplet. If you think this
52588 configuration is useful to you, please write to autoconf@gnu.org." >&5
52589 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52590 whose name does not start with the host triplet. If you think this
52591 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52592 ac_tool_warned=yes ;;
52597 NM="$ac_cv_prog_NM"
52601 INSTALL_DIR="mkdir -p"
52605 case ${BAKEFILE_HOST} in
52606 *-*-cygwin* | *-*-mingw32* )
52607 LDFLAGS_GUI="-mwindows"
52613 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52614 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52615 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52616 echo $ECHO_N "(cached) $ECHO_C" >&6
52619 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52620 egrep -s GNU > /dev/null); then
52621 bakefile_cv_prog_makeisgnu="yes"
52623 bakefile_cv_prog_makeisgnu="no"
52627 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52628 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52630 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52647 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52648 case "${BAKEFILE_HOST}" in
52655 *-pc-os2_emx | *-pc-os2-emx )
52665 powerpc-apple-macos* )
52674 case "$BAKEFILE_FORCE_PLATFORM" in
52695 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52696 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52697 { (exit 1); exit 1; }; }
52712 # Check whether --enable-omf was given.
52713 if test "${enable_omf+set}" = set; then
52714 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52718 case "${BAKEFILE_HOST}" in
52720 if test "x$GCC" = "xyes"; then
52721 CFLAGS="$CFLAGS -fno-common"
52722 CXXFLAGS="$CXXFLAGS -fno-common"
52724 if test "x$XLCC" = "xyes"; then
52725 CFLAGS="$CFLAGS -qnocommon"
52726 CXXFLAGS="$CXXFLAGS -qnocommon"
52730 *-pc-os2_emx | *-pc-os2-emx )
52731 if test "x$bk_os2_use_omf" = "xyes" ; then
52734 LDFLAGS="-Zomf $LDFLAGS"
52735 CFLAGS="-Zomf $CFLAGS"
52736 CXXFLAGS="-Zomf $CXXFLAGS"
52744 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52750 SO_SUFFIX_MODULE="so"
52755 DLLPREFIX_MODULE=""
52759 case "${BAKEFILE_HOST}" in
52764 SO_SUFFIX_MODULE="sl"
52768 SO_SUFFIX_MODULE="a"
52772 SO_SUFFIX_MODULE="dll"
52773 DLLIMP_SUFFIX="dll.a"
52780 SO_SUFFIX_MODULE="dll"
52781 DLLIMP_SUFFIX="dll.a"
52791 *-pc-os2_emx | *-pc-os2-emx )
52793 SO_SUFFIX_MODULE="dll"
52794 DLLIMP_SUFFIX=$OS2_LIBEXT
52798 LIBEXT=".$OS2_LIBEXT"
52803 SO_SUFFIX_MODULE="bundle"
52807 if test "x$DLLIMP_SUFFIX" = "x" ; then
52808 DLLIMP_SUFFIX="$SO_SUFFIX"
52823 if test "x$GCC" = "xyes"; then
52827 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
52828 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
52831 case "${BAKEFILE_HOST}" in
52833 if test "x$GCC" != "xyes"; then
52834 LDFLAGS="$LDFLAGS -L/usr/lib"
52836 SHARED_LD_CC="${CC} -b -o"
52837 SHARED_LD_CXX="${CXX} -b -o"
52843 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
52845 elif test "x$SUNCXX" = "xyes"; then
52846 SHARED_LD_CC="${CC} -G -o"
52847 SHARED_LD_CXX="${CXX} -G -o"
52853 if test "x$SUNCXX" = xyes ; then
52854 SHARED_LD_CC="${CC} -G -o"
52855 SHARED_LD_CXX="${CXX} -G -o"
52863 cat <<EOF >shared-ld-sh
52865 #-----------------------------------------------------------------------------
52866 #-- Name: distrib/mac/shared-ld-sh
52867 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
52868 #-- Author: Gilles Depeyrot
52869 #-- Copyright: (c) 2002 Gilles Depeyrot
52870 #-- Licence: any use permitted
52871 #-----------------------------------------------------------------------------
52876 linking_flag="-dynamiclib"
52877 ldargs="-r -keep_private_externs -nostdlib"
52879 if test "x${D}CXX" = "x"; then
52883 while test ${D}# -gt 0; do
52890 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
52891 # collect these options and values
52892 args="${D}{args} ${D}1 ${D}2"
52897 # collect these options and values
52898 ldargs="${D}{ldargs} ${D}1 ${D}2"
52903 # collect these load args
52904 ldargs="${D}{ldargs} ${D}1"
52907 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
52908 # collect these options
52909 args="${D}{args} ${D}1"
52912 -dynamiclib|-bundle)
52913 linking_flag="${D}1"
52917 echo "shared-ld: unhandled option '${D}1'"
52921 *.o | *.a | *.dylib)
52922 # collect object files
52923 objects="${D}{objects} ${D}1"
52927 echo "shared-ld: unhandled argument '${D}1'"
52938 # Link one module containing all the others
52940 if test ${D}{verbose} = 1; then
52941 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
52943 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
52947 # Link the shared library from the single module created, but only if the
52948 # previous command didn't fail:
52950 if test ${D}{status} = 0; then
52951 if test ${D}{verbose} = 1; then
52952 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
52954 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
52959 # Remove intermediate module
52961 rm -f master.${D}${D}.o
52966 chmod +x shared-ld-sh
52968 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
52969 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
52972 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
52973 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
52974 if test "${bakefile_cv_gcc31+set}" = set; then
52975 echo $ECHO_N "(cached) $ECHO_C" >&6
52978 cat >conftest.$ac_ext <<_ACEOF
52981 cat confdefs.h >>conftest.$ac_ext
52982 cat >>conftest.$ac_ext <<_ACEOF
52983 /* end confdefs.h. */
52989 #if (__GNUC__ < 3) || \
52990 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
52998 rm -f conftest.$ac_objext
52999 if { (ac_try="$ac_compile"
53000 case "(($ac_try" in
53001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
53002 *) ac_try_echo
=$ac_try;;
53004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53005 (eval "$ac_compile") 2>conftest.er1
53007 grep -v '^ *+' conftest.er1
>conftest.err
53009 cat conftest.err
>&5
53010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53011 (exit $ac_status); } && {
53012 test -z "$ac_c_werror_flag" ||
53013 test ! -s conftest.err
53014 } && test -s conftest.
$ac_objext; then
53016 bakefile_cv_gcc31
=yes
53019 echo "$as_me: failed program was:" >&5
53020 sed 's/^/| /' conftest.
$ac_ext >&5
53023 bakefile_cv_gcc31
=no
53028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53031 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
53032 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
53033 if test "$bakefile_cv_gcc31" = "no"; then
53034 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
53035 SHARED_LD_CXX
="$SHARED_LD_CC"
53037 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
53038 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
53041 if test "x$GCC" == "xyes"; then
53042 PIC_FLAG
="-dynamic -fPIC"
53044 if test "x$XLCC" = "xyes"; then
53045 PIC_FLAG
="-dynamic -DPIC"
53050 if test "x$GCC" = "xyes"; then
53053 case "${BAKEFILE_HOST}" in
53055 LD_EXPFULL
="-Wl,-bexpfull"
53059 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
53060 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
53062 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53063 set dummy makeC
++SharedLib
; ac_word
=$2
53064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53066 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53067 echo $ECHO_N "(cached) $ECHO_C" >&6
53069 if test -n "$AIX_CXX_LD"; then
53070 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
53072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53073 for as_dir
in $PATH
53076 test -z "$as_dir" && as_dir
=.
53077 for ac_exec_ext
in '' $ac_executable_extensions; do
53078 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53079 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
53080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53087 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
53090 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
53091 if test -n "$AIX_CXX_LD"; then
53092 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53093 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53095 { echo "$as_me:$LINENO: result: no" >&5
53096 echo "${ECHO_T}no" >&6; }
53100 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
53101 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
53106 SHARED_LD_CC
="${LD} -nostart -o"
53107 SHARED_LD_CXX
="${LD} -nostart -o"
53111 if test "x$GCC" != "xyes"; then
53116 *-*-cygwin* | *-*-mingw32* )
53118 SHARED_LD_CC
="\$(CC) -shared -o"
53119 SHARED_LD_CXX
="\$(CXX) -shared -o"
53123 *-pc-os2_emx | *-pc-os2-emx )
53124 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53125 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53129 cat <<EOF >dllar.sh
53132 # dllar - a tool to build both a .dll and an .a file
53133 # from a set of object (.o) files for EMX/OS2.
53135 # Written by Andrew Zabolotny, bit@freya.etu.ru
53136 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53138 # This script will accept a set of files on the command line.
53139 # All the public symbols from the .o files will be exported into
53140 # a .DEF file, then linker will be run (through gcc) against them to
53141 # build a shared library consisting of all given .o files. All libraries
53142 # (.a) will be first decompressed into component .o files then act as
53143 # described above. You can optionally give a description (-d "description")
53144 # which will be put into .DLL. To see the list of accepted options (as well
53145 # as command-line format) simply run this program without options. The .DLL
53146 # is built to be imported by name (there is no guarantee that new versions
53147 # of the library you build will have same ordinals for same symbols).
53149 # dllar is free software; you can redistribute it and/or modify
53150 # it under the terms of the GNU General Public License as published by
53151 # the Free Software Foundation; either version 2, or (at your option)
53152 # any later version.
53154 # dllar is distributed in the hope that it will be useful,
53155 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53156 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53157 # GNU General Public License for more details.
53159 # You should have received a copy of the GNU General Public License
53160 # along with dllar; see the file COPYING. If not, write to the Free
53161 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53164 # To successfuly run this program you will need:
53165 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53166 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53168 # (used to build the .dll)
53170 # (used to create .def file from .o files)
53172 # (used to create .a file from .def file)
53173 # - GNU text utilites (cat, sort, uniq)
53174 # used to process emxexp output
53175 # - GNU file utilities (mv, rm)
53177 # - lxlite (optional, see flag below)
53178 # (used for general .dll cleanup)
53185 # basnam, variant of basename, which does _not_ remove the path, _iff_
53186 # second argument (suffix to remove) is given
53190 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53193 echo ${D}1 | sed 's/'${D}2'${D}//'
53196 echo "error in basnam ${D}*"
53202 # Cleanup temporary files and output
53205 for i in ${D}inputFiles ; do
53208 rm -rf \`basnam ${D}i !\`
53215 # Kill result in case of failure as there is just to many stupid make/nmake
53216 # things out there which doesn't do this.
53217 if [ ${D}# -eq 0 ]; then
53218 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53222 # Print usage and exit script with rc=1.
53224 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53225 echo ' [-name-mangler-script script.sh]'
53226 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53227 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53228 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53229 echo ' [*.o] [*.a]'
53230 echo '*> "output_file" should have no extension.'
53231 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53232 echo ' The import library name is derived from this and is set to "name".a,'
53233 echo ' unless overridden by -import'
53234 echo '*> "importlib_name" should have no extension.'
53235 echo ' If it has the .o, or .a extension, it is automatically removed.'
53236 echo ' This name is used as the import library name and may be longer and'
53237 echo ' more descriptive than the DLL name which has to follow the old '
53238 echo ' 8.3 convention of FAT.'
53239 echo '*> "script.sh may be given to override the output_file name by a'
53240 echo ' different name. It is mainly useful if the regular make process'
53241 echo ' of some package does not take into account OS/2 restriction of'
53242 echo ' DLL name lengths. It takes the importlib name as input and is'
53243 echo ' supposed to procude a shorter name as output. The script should'
53244 echo ' expect to get importlib_name without extension and should produce'
53245 echo ' a (max.) 8 letter name without extension.'
53246 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53247 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53248 echo ' These flags will be put at the start of GCC command line.'
53249 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53250 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53251 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53252 echo ' If the last character of a symbol is "*", all symbols beginning'
53253 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53254 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53255 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53256 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53257 echo ' C runtime DLLs.'
53258 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53259 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53260 echo ' unchanged to GCC at the end of command line.'
53261 echo '*> If you create a DLL from a library and you do not specify -o,'
53262 echo ' the basename for DLL and import library will be set to library name,'
53263 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53264 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53265 echo ' library will be renamed into gcc_s.a.'
53268 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53269 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53274 # Execute a command.
53275 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53276 # @Uses Whatever CleanUp() uses.
53282 if [ ${D}rcCmd -ne 0 ]; then
53283 echo "command failed, exit code="${D}rcCmd
53298 CFLAGS="-s -Zcrtdll"
53300 EXPORT_BY_ORDINALS=0
53305 case ${D}curDirS in
53309 curDirS=${D}{curDirS}"/"
53312 # Parse commandline
53315 while [ ${D}1 ]; do
53318 EXPORT_BY_ORDINALS=1;
53328 -name-mangler-script)
53349 exclude_symbols=${D}{exclude_symbols}${D}1" "
53353 library_flags=${D}{library_flags}${D}1" "
53372 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53375 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53376 if [ ${D}omfLinking -eq 1 ]; then
53377 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53379 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53384 if [ ${D}libsToLink -ne 0 ]; then
53385 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53387 for file in ${D}1 ; do
53388 if [ -f ${D}file ]; then
53389 inputFiles="${D}{inputFiles} ${D}file"
53393 if [ ${D}found -eq 0 ]; then
53394 echo "ERROR: No file(s) found: "${D}1
53401 done # iterate cmdline words
53404 if [ -z "${D}inputFiles" ]; then
53405 echo "dllar: no input files"
53409 # Now extract all .o files from .a files
53411 for file in ${D}inputFiles ; do
53422 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53427 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53429 if [ ${D}? -ne 0 ]; then
53430 echo "Failed to create subdirectory ./${D}dirname"
53434 # Append '!' to indicate archive
53435 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53436 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53439 for subfile in ${D}dirname/*.o* ; do
53440 if [ -f ${D}subfile ]; then
53442 if [ -s ${D}subfile ]; then
53443 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53444 newInputFiles="${D}newInputFiles ${D}subfile"
53448 if [ ${D}found -eq 0 ]; then
53449 echo "WARNING: there are no files in archive \\'${D}file\\'"
53453 newInputFiles="${D}{newInputFiles} ${D}file"
53457 inputFiles="${D}newInputFiles"
53459 # Output filename(s).
53461 if [ -z ${D}outFile ]; then
53463 set outFile ${D}inputFiles; outFile=${D}2
53466 # If it is an archive, remove the '!' and the '_%' suffixes
53467 case ${D}outFile in
53469 outFile=\`basnam ${D}outFile _%!\`
53474 case ${D}outFile in
53476 outFile=\`basnam ${D}outFile .dll\`
53479 outFile=\`basnam ${D}outFile .DLL\`
53482 outFile=\`basnam ${D}outFile .o\`
53485 outFile=\`basnam ${D}outFile .obj\`
53488 outFile=\`basnam ${D}outFile .a\`
53491 outFile=\`basnam ${D}outFile .lib\`
53496 case ${D}outimpFile in
53498 outimpFile=\`basnam ${D}outimpFile .a\`
53501 outimpFile=\`basnam ${D}outimpFile .lib\`
53506 if [ -z ${D}outimpFile ]; then
53507 outimpFile=${D}outFile
53509 defFile="${D}{outFile}.def"
53510 arcFile="${D}{outimpFile}.a"
53511 arcFile2="${D}{outimpFile}.lib"
53513 #create ${D}dllFile as something matching 8.3 restrictions,
53514 if [ -z ${D}renameScript ] ; then
53515 dllFile="${D}outFile"
53517 dllFile=\`${D}renameScript ${D}outimpFile\`
53520 if [ ${D}do_backup -ne 0 ] ; then
53521 if [ -f ${D}arcFile ] ; then
53522 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53524 if [ -f ${D}arcFile2 ] ; then
53525 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53529 # Extract public symbols from all the object files.
53530 tmpdefFile=${D}{defFile}_%
53531 rm -f ${D}tmpdefFile
53532 for file in ${D}inputFiles ; do
53537 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53542 # Create the def file.
53544 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53545 dllFile="${D}{dllFile}.dll"
53546 if [ ! -z ${D}description ]; then
53547 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53549 echo "EXPORTS" >> ${D}defFile
53551 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53552 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53554 # Checks if the export is ok or not.
53555 for word in ${D}exclude_symbols; do
53556 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53557 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53561 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53562 sed "=" < ${D}tmpdefFile | \\
53566 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53568 ' > ${D}{tmpdefFile}%
53569 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53571 rm -f ${D}{tmpdefFile}%
53573 cat ${D}tmpdefFile >> ${D}defFile
53574 rm -f ${D}tmpdefFile
53576 # Do linking, create implib, and apply lxlite.
53578 for file in ${D}inputFiles ; do
53583 gccCmdl="${D}gccCmdl ${D}file"
53587 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53588 touch "${D}{outFile}.dll"
53590 doCommand "emximp -o ${D}arcFile ${D}defFile"
53591 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53593 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53596 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53598 doCommand "emxomf -s -l ${D}arcFile"
53608 powerpc
-apple-macos* | \
53609 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
53619 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53620 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53621 { (exit 1); exit 1; }; }
53624 if test "x$PIC_FLAG" != "x" ; then
53625 PIC_FLAG
="$PIC_FLAG -DPIC"
53628 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53629 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
53631 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53632 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
53647 USE_SOTWOSYMLINKS
=0
53651 case "${BAKEFILE_HOST}" in
53652 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53653 *-*-k*bsd
*-gnu | *-*-mirbsd* )
53654 if test "x$SUNCXX" = "xyes"; then
53657 SONAME_FLAG
="-Wl,-soname,"
53661 USE_SOTWOSYMLINKS
=1
53673 USE_SOTWOSYMLINKS
=1
53691 # Check whether --enable-dependency-tracking was given.
53692 if test "${enable_dependency_tracking+set}" = set; then
53693 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
53697 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53698 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53701 if test "x$bk_use_trackdeps" = "xno" ; then
53703 { echo "$as_me:$LINENO: result: disabled" >&5
53704 echo "${ECHO_T}disabled" >&6; }
53708 if test "x$GCC" = "xyes"; then
53710 case "${BAKEFILE_HOST}" in
53712 DEPSFLAG
="-no-cpp-precomp -MMD"
53718 { echo "$as_me:$LINENO: result: gcc" >&5
53719 echo "${ECHO_T}gcc" >&6; }
53720 elif test "x$MWCC" = "xyes"; then
53723 { echo "$as_me:$LINENO: result: mwcc" >&5
53724 echo "${ECHO_T}mwcc" >&6; }
53725 elif test "x$SUNCC" = "xyes"; then
53728 { echo "$as_me:$LINENO: result: Sun cc" >&5
53729 echo "${ECHO_T}Sun cc" >&6; }
53730 elif test "x$SGICC" = "xyes"; then
53733 { echo "$as_me:$LINENO: result: SGI cc" >&5
53734 echo "${ECHO_T}SGI cc" >&6; }
53735 elif test "x$HPCC" = "xyes"; then
53738 { echo "$as_me:$LINENO: result: HP cc" >&5
53739 echo "${ECHO_T}HP cc" >&6; }
53740 elif test "x$COMPAQCC" = "xyes"; then
53743 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53744 echo "${ECHO_T}Compaq cc" >&6; }
53747 { echo "$as_me:$LINENO: result: none" >&5
53748 echo "${ECHO_T}none" >&6; }
53751 if test $DEPS_TRACKING = 1 ; then
53757 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53758 # script. It is used to track C/C++ files dependencies in portable way.
53760 # Permission is given to use this file in any way.
53762 DEPSMODE=${DEPSMODE}
53763 DEPSFLAG="${DEPSFLAG}"
53766 if test ${D}DEPSMODE = gcc ; then
53767 ${D}* ${D}{DEPSFLAG}
53770 # determine location of created files:
53771 while test ${D}# -gt 0; do
53785 objfilebase=\`basename ${D}objfile\`
53786 builddir=\`dirname ${D}objfile\`
53787 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53788 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53789 depsdir=${D}builddir/${D}DEPSDIRBASE
53790 mkdir -p ${D}depsdir
53792 # if the compiler failed, we're done:
53793 if test ${D}{status} != 0 ; then
53798 # move created file to the location we want it in:
53799 if test -f ${D}depfile ; then
53800 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53803 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53804 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
53805 if test ! -f ${D}depfile ; then
53806 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
53807 depfile="${D}objfile.d"
53809 if test -f ${D}depfile ; then
53810 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53816 elif test ${D}DEPSMODE = mwcc ; then
53817 ${D}* || exit ${D}?
53818 # Run mwcc again with -MM and redirect into the dep file we want
53819 # NOTE: We can't use shift here because we need ${D}* to be valid
53821 for arg in ${D}* ; do
53822 if test "${D}prevarg" = "-o"; then
53836 objfilebase=\`basename ${D}objfile\`
53837 builddir=\`dirname ${D}objfile\`
53838 depsdir=${D}builddir/${D}DEPSDIRBASE
53839 mkdir -p ${D}depsdir
53841 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
53844 elif test ${D}DEPSMODE = unixcc; then
53845 ${D}* || exit ${D}?
53846 # Run compiler again with deps flag and redirect into the dep file.
53847 # It doesn't work if the '-o FILE' option is used, but without it the
53848 # dependency file will contain the wrong name for the object. So it is
53849 # removed from the command line, and the dep file is fixed with sed.
53851 while test ${D}# -gt 0; do
53858 eval arg${D}#=\\${D}1
53859 cmd="${D}cmd \\${D}arg${D}#"
53865 objfilebase=\`basename ${D}objfile\`
53866 builddir=\`dirname ${D}objfile\`
53867 depsdir=${D}builddir/${D}DEPSDIRBASE
53868 mkdir -p ${D}depsdir
53870 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
53880 BK_DEPS
="`pwd`/bk-deps"
53888 case ${BAKEFILE_HOST} in
53889 *-*-cygwin* | *-*-mingw32* )
53890 if test -n "$ac_tool_prefix"; then
53891 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
53892 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
53893 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53895 if test "${ac_cv_prog_WINDRES+set}" = set; then
53896 echo $ECHO_N "(cached) $ECHO_C" >&6
53898 if test -n "$WINDRES"; then
53899 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
53901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53902 for as_dir
in $PATH
53905 test -z "$as_dir" && as_dir
=.
53906 for ac_exec_ext
in '' $ac_executable_extensions; do
53907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53908 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
53909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53918 WINDRES
=$ac_cv_prog_WINDRES
53919 if test -n "$WINDRES"; then
53920 { echo "$as_me:$LINENO: result: $WINDRES" >&5
53921 echo "${ECHO_T}$WINDRES" >&6; }
53923 { echo "$as_me:$LINENO: result: no" >&5
53924 echo "${ECHO_T}no" >&6; }
53929 if test -z "$ac_cv_prog_WINDRES"; then
53930 ac_ct_WINDRES
=$WINDRES
53931 # Extract the first word of "windres", so it can be a program name with args.
53932 set dummy windres
; ac_word
=$2
53933 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53934 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53935 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
53936 echo $ECHO_N "(cached) $ECHO_C" >&6
53938 if test -n "$ac_ct_WINDRES"; then
53939 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
53941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53942 for as_dir
in $PATH
53945 test -z "$as_dir" && as_dir
=.
53946 for ac_exec_ext
in '' $ac_executable_extensions; do
53947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53948 ac_cv_prog_ac_ct_WINDRES
="windres"
53949 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53958 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
53959 if test -n "$ac_ct_WINDRES"; then
53960 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
53961 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
53963 { echo "$as_me:$LINENO: result: no" >&5
53964 echo "${ECHO_T}no" >&6; }
53967 if test "x$ac_ct_WINDRES" = x
; then
53970 case $cross_compiling:$ac_tool_warned in
53972 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
53973 whose name does not start with the host triplet. If you think this
53974 configuration is useful to you, please write to autoconf@gnu.org." >&5
53975 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
53976 whose name does not start with the host triplet. If you think this
53977 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
53978 ac_tool_warned
=yes ;;
53980 WINDRES
=$ac_ct_WINDRES
53983 WINDRES
="$ac_cv_prog_WINDRES"
53988 *-*-darwin* | powerpc
-apple-macos* )
53989 # Extract the first word of "Rez", so it can be a program name with args.
53990 set dummy Rez
; ac_word
=$2
53991 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53993 if test "${ac_cv_prog_REZ+set}" = set; then
53994 echo $ECHO_N "(cached) $ECHO_C" >&6
53996 if test -n "$REZ"; then
53997 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
53999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54000 for as_dir
in $PATH
54003 test -z "$as_dir" && as_dir
=.
54004 for ac_exec_ext
in '' $ac_executable_extensions; do
54005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54006 ac_cv_prog_REZ
="Rez"
54007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54014 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
54017 REZ
=$ac_cv_prog_REZ
54018 if test -n "$REZ"; then
54019 { echo "$as_me:$LINENO: result: $REZ" >&5
54020 echo "${ECHO_T}$REZ" >&6; }
54022 { echo "$as_me:$LINENO: result: no" >&5
54023 echo "${ECHO_T}no" >&6; }
54027 # Extract the first word of "SetFile", so it can be a program name with args.
54028 set dummy SetFile
; ac_word
=$2
54029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54031 if test "${ac_cv_prog_SETFILE+set}" = set; then
54032 echo $ECHO_N "(cached) $ECHO_C" >&6
54034 if test -n "$SETFILE"; then
54035 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
54037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54038 for as_dir
in $PATH
54041 test -z "$as_dir" && as_dir
=.
54042 for ac_exec_ext
in '' $ac_executable_extensions; do
54043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54044 ac_cv_prog_SETFILE
="SetFile"
54045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54052 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
54055 SETFILE
=$ac_cv_prog_SETFILE
54056 if test -n "$SETFILE"; then
54057 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54058 echo "${ECHO_T}$SETFILE" >&6; }
54060 { echo "$as_me:$LINENO: result: no" >&5
54061 echo "${ECHO_T}no" >&6; }
54076 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
54079 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
54083 # Check whether --enable-precomp-headers was given.
54084 if test "${enable_precomp_headers+set}" = set; then
54085 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
54094 case ${BAKEFILE_HOST} in
54100 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54101 if test "x$GCC" = "xyes"; then
54102 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54103 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54104 cat >conftest.
$ac_ext <<_ACEOF
54107 cat confdefs.h
>>conftest.
$ac_ext
54108 cat >>conftest.
$ac_ext <<_ACEOF
54109 /* end confdefs.h. */
54115 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54116 There is no PCH support
54119 There is no PCH support
54121 #if (__GNUC__ == 3) && \
54122 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54123 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54124 ( defined(__INTEL_COMPILER) )
54125 There is no PCH support
54132 rm -f conftest.
$ac_objext
54133 if { (ac_try
="$ac_compile"
54134 case "(($ac_try" in
54135 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54136 *) ac_try_echo=$ac_try;;
54138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54139 (eval "$ac_compile") 2>conftest.er1
54141 grep -v '^ *+' conftest.er1 >conftest.err
54143 cat conftest.err >&5
54144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54145 (exit $ac_status); } && {
54146 test -z "$ac_c_werror_flag" ||
54147 test ! -s conftest.err
54148 } && test -s conftest.$ac_objext; then
54150 { echo "$as_me:$LINENO: result: yes" >&5
54151 echo "${ECHO_T}yes" >&6; }
54155 echo "$as_me: failed program was:" >&5
54156 sed 's/^/| /' conftest.$ac_ext >&5
54159 if test "$INTELCXX8" = "yes"; then
54160 { echo "$as_me:$LINENO: result: yes" >&5
54161 echo "${ECHO_T}yes" >&6; }
54163 if test "$INTELCXX10" = "yes"; then
54164 ICC_PCH_CREATE_SWITCH="-pch-create"
54165 ICC_PCH_USE_SWITCH="-pch-use"
54167 ICC_PCH_CREATE_SWITCH="-create-pch"
54168 ICC_PCH_USE_SWITCH="-use-pch"
54171 { echo "$as_me:$LINENO: result: no" >&5
54172 echo "${ECHO_T}no" >&6; }
54177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54178 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54182 cat <<EOF >bk-make-pch
54185 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54186 # script. It is used to generated precompiled headers.
54188 # Permission is given to use this file in any way.
54195 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
54200 while test ${D}{#} -gt 0; do
54204 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
54205 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54206 headerfile="${D}{incdir}/${D}{header}"
54209 -use-pch|-use_pch|-pch-use )
54214 if test ${D}add_to_cmdline = 1 ; then
54215 compiler="${D}{compiler} ${D}{1}"
54220 if test "x${D}{headerfile}" = "x" ; then
54221 echo "error: can't find header ${D}{header} in include paths" >&2
54223 if test -f ${D}{outfile} ; then
54224 rm -f ${D}{outfile}
54226 mkdir -p \`dirname ${D}{outfile
}\
`
54228 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
54229 mkdir -p ${D}{builddir}/.deps
54230 if test "x${GCC_PCH}" = "x1" ; then
54231 # can do this because gcc is >= 3.4:
54232 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54233 elif test "x${ICC_PCH}" = "x1" ; then
54234 filename=pch_gen-${D}${D}
54235 file=${D}{filename}.c
54236 dfile=${D}{filename}.d
54237 cat > ${D}file <<EOT
54238 #include "${D}header"
54240 # using -MF icc complains about differing command lines in creation/use
54241 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54242 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54243 rm -f ${D}file ${D}dfile ${D}{filename}.o
54249 chmod +x bk-make-pch
54250 BK_MAKE_PCH="`pwd`/bk-make-pch"
54261 COND_BUILD_DEBUG="#"
54262 if test "x$BUILD" = "xdebug" ; then
54263 COND_BUILD_DEBUG=""
54266 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54267 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54268 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54271 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54272 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54273 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54276 COND_BUILD_DEBUG_UNICODE_0="#"
54277 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54278 COND_BUILD_DEBUG_UNICODE_0=""
54281 COND_BUILD_DEBUG_UNICODE_1="#"
54282 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54283 COND_BUILD_DEBUG_UNICODE_1=""
54286 COND_BUILD_RELEASE="#"
54287 if test "x$BUILD" = "xrelease" ; then
54288 COND_BUILD_RELEASE=""
54291 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54292 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54293 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54296 COND_BUILD_RELEASE_UNICODE_0="#"
54297 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54298 COND_BUILD_RELEASE_UNICODE_0=""
54301 COND_BUILD_RELEASE_UNICODE_1="#"
54302 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54303 COND_BUILD_RELEASE_UNICODE_1=""
54306 COND_BUILD_debug="#"
54307 if test "x$BUILD" = "xdebug" ; then
54308 COND_BUILD_debug=""
54311 COND_BUILD_debug_DEBUG_FLAG_default="#"
54312 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54313 COND_BUILD_debug_DEBUG_FLAG_default=""
54316 COND_BUILD_debug_DEBUG_INFO_default="#"
54317 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54318 COND_BUILD_debug_DEBUG_INFO_default=""
54321 COND_BUILD_debug_UNICODE_0="#"
54322 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54323 COND_BUILD_debug_UNICODE_0=""
54326 COND_BUILD_debug_UNICODE_1="#"
54327 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54328 COND_BUILD_debug_UNICODE_1=""
54331 COND_BUILD_release="#"
54332 if test "x$BUILD" = "xrelease" ; then
54333 COND_BUILD_release=""
54336 COND_BUILD_release_DEBUG_INFO_default="#"
54337 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54338 COND_BUILD_release_DEBUG_INFO_default=""
54341 COND_BUILD_release_UNICODE_0="#"
54342 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54343 COND_BUILD_release_UNICODE_0=""
54346 COND_BUILD_release_UNICODE_1="#"
54347 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54348 COND_BUILD_release_UNICODE_1=""
54351 COND_DEBUG_FLAG_0="#"
54352 if test "x$DEBUG_FLAG" = "x0" ; then
54353 COND_DEBUG_FLAG_0=""
54356 COND_DEBUG_FLAG_1="#"
54357 if test "x$DEBUG_FLAG" = "x1" ; then
54358 COND_DEBUG_FLAG_1=""
54361 COND_DEBUG_INFO_0="#"
54362 if test "x$DEBUG_INFO" = "x0" ; then
54363 COND_DEBUG_INFO_0=""
54366 COND_DEBUG_INFO_1="#"
54367 if test "x$DEBUG_INFO" = "x1" ; then
54368 COND_DEBUG_INFO_1=""
54371 COND_DEPS_TRACKING_0="#"
54372 if test "x$DEPS_TRACKING" = "x0" ; then
54373 COND_DEPS_TRACKING_0=""
54376 COND_DEPS_TRACKING_1="#"
54377 if test "x$DEPS_TRACKING" = "x1" ; then
54378 COND_DEPS_TRACKING_1=""
54382 if test "x$GCC_PCH" = "x1" ; then
54387 if test "x$ICC_PCH" = "x1" ; then
54391 COND_MONOLITHIC_0="#"
54392 if test "x$MONOLITHIC" = "x0" ; then
54393 COND_MONOLITHIC_0=""
54396 COND_MONOLITHIC_0_SHARED_0="#"
54397 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54398 COND_MONOLITHIC_0_SHARED_0=""
54401 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54402 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54403 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54406 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54407 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54408 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54411 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54412 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54413 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54416 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54417 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54418 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54421 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54422 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54423 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54426 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54427 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54428 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54431 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54432 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54433 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54436 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54437 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54438 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54441 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54442 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54443 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54446 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54447 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54448 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54451 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54452 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54453 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54456 COND_MONOLITHIC_0_SHARED_1="#"
54457 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54458 COND_MONOLITHIC_0_SHARED_1=""
54461 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54462 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54463 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54466 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54467 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54468 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54471 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54472 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54473 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54476 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54477 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54478 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54481 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54482 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54483 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54486 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54487 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54488 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54491 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54492 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54493 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54496 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54497 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54498 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54501 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54502 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54503 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54506 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54507 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54508 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54511 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54512 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54513 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54516 COND_MONOLITHIC_0_USE_AUI_1="#"
54517 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54518 COND_MONOLITHIC_0_USE_AUI_1=""
54521 COND_MONOLITHIC_0_USE_GUI_1="#"
54522 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54523 COND_MONOLITHIC_0_USE_GUI_1=""
54526 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54527 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54528 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54531 COND_MONOLITHIC_0_USE_HTML_1="#"
54532 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54533 COND_MONOLITHIC_0_USE_HTML_1=""
54536 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54537 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54538 COND_MONOLITHIC_0_USE_MEDIA_1=""
54541 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54542 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54543 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54546 COND_MONOLITHIC_0_USE_QA_1="#"
54547 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54548 COND_MONOLITHIC_0_USE_QA_1=""
54551 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54552 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54553 COND_MONOLITHIC_0_USE_RIBBON_1=""
54556 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54557 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54558 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54561 COND_MONOLITHIC_0_USE_STC_1="#"
54562 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54563 COND_MONOLITHIC_0_USE_STC_1=""
54566 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54567 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54568 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54571 COND_MONOLITHIC_0_USE_XRC_1="#"
54572 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54573 COND_MONOLITHIC_0_USE_XRC_1=""
54576 COND_MONOLITHIC_1="#"
54577 if test "x$MONOLITHIC" = "x1" ; then
54578 COND_MONOLITHIC_1=""
54581 COND_MONOLITHIC_1_SHARED_0="#"
54582 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54583 COND_MONOLITHIC_1_SHARED_0=""
54586 COND_MONOLITHIC_1_SHARED_1="#"
54587 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54588 COND_MONOLITHIC_1_SHARED_1=""
54591 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54592 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54593 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54596 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54597 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54598 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54601 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54602 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54603 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54606 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54607 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54608 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54611 COND_PLATFORM_MACOSX_1="#"
54612 if test "x$PLATFORM_MACOSX" = "x1" ; then
54613 COND_PLATFORM_MACOSX_1=""
54616 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54617 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54618 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54621 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54622 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54623 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54626 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54627 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54628 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54631 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54632 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54633 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54636 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54637 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54638 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54641 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54642 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54643 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54646 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54647 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54648 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54651 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54652 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54653 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54656 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54657 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54658 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54661 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54662 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54663 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54666 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54667 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54668 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54671 COND_PLATFORM_MACOS_1="#"
54672 if test "x$PLATFORM_MACOS" = "x1" ; then
54673 COND_PLATFORM_MACOS_1=""
54676 COND_PLATFORM_MAC_0="#"
54677 if test "x$PLATFORM_MAC" = "x0" ; then
54678 COND_PLATFORM_MAC_0=""
54681 COND_PLATFORM_MAC_1="#"
54682 if test "x$PLATFORM_MAC" = "x1" ; then
54683 COND_PLATFORM_MAC_1=""
54686 COND_PLATFORM_MSDOS_0="#"
54687 if test "x$PLATFORM_MSDOS" = "x0" ; then
54688 COND_PLATFORM_MSDOS_0=""
54691 COND_PLATFORM_MSDOS_1="#"
54692 if test "x$PLATFORM_MSDOS" = "x1" ; then
54693 COND_PLATFORM_MSDOS_1=""
54696 COND_PLATFORM_OS2_1="#"
54697 if test "x$PLATFORM_OS2" = "x1" ; then
54698 COND_PLATFORM_OS2_1=""
54701 COND_PLATFORM_UNIX_0="#"
54702 if test "x$PLATFORM_UNIX" = "x0" ; then
54703 COND_PLATFORM_UNIX_0=""
54706 COND_PLATFORM_UNIX_1="#"
54707 if test "x$PLATFORM_UNIX" = "x1" ; then
54708 COND_PLATFORM_UNIX_1=""
54711 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54712 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54713 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54716 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54717 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54718 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54721 COND_PLATFORM_WIN32_0="#"
54722 if test "x$PLATFORM_WIN32" = "x0" ; then
54723 COND_PLATFORM_WIN32_0=""
54726 COND_PLATFORM_WIN32_1="#"
54727 if test "x$PLATFORM_WIN32" = "x1" ; then
54728 COND_PLATFORM_WIN32_1=""
54731 COND_PLATFORM_WIN32_1_SHARED_0="#"
54732 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54733 COND_PLATFORM_WIN32_1_SHARED_0=""
54737 if test "x$SHARED" = "x0" ; then
54741 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54742 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54743 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54746 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54747 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54748 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54751 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
54752 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
54753 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
54756 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
54757 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54758 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
54761 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
54762 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54763 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
54766 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
54767 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54768 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
54771 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
54772 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54773 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
54776 COND_SHARED_0_USE_STC_1="#"
54777 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54778 COND_SHARED_0_USE_STC_1=""
54781 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
54782 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
54783 COND_SHARED_0_wxUSE_EXPAT_builtin=""
54786 COND_SHARED_0_wxUSE_REGEX_builtin="#"
54787 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54788 COND_SHARED_0_wxUSE_REGEX_builtin=""
54791 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
54792 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54793 COND_SHARED_0_wxUSE_ZLIB_builtin=""
54797 if test "x$SHARED" = "x1" ; then
54801 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
54802 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54803 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
54807 if test "x$TOOLKIT" = "x" ; then
54811 COND_TOOLKIT_COCOA="#"
54812 if test "x$TOOLKIT" = "xCOCOA" ; then
54813 COND_TOOLKIT_COCOA=""
54816 COND_TOOLKIT_COCOA_USE_GUI_1="#"
54817 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
54818 COND_TOOLKIT_COCOA_USE_GUI_1=""
54821 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
54822 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54823 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
54826 COND_TOOLKIT_DFB="#"
54827 if test "x$TOOLKIT" = "xDFB" ; then
54828 COND_TOOLKIT_DFB=""
54831 COND_TOOLKIT_DFB_USE_GUI_1="#"
54832 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
54833 COND_TOOLKIT_DFB_USE_GUI_1=""
54836 COND_TOOLKIT_GTK="#"
54837 if test "x$TOOLKIT" = "xGTK" ; then
54838 COND_TOOLKIT_GTK=""
54841 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
54842 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
54843 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
54846 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
54847 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
54848 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
54851 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
54852 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
54853 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
54856 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
54857 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54858 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
54861 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
54862 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
54863 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
54866 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
54867 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54868 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
54871 COND_TOOLKIT_GTK_USE_GUI_1="#"
54872 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
54873 COND_TOOLKIT_GTK_USE_GUI_1=""
54876 COND_TOOLKIT_MAC="#"
54877 if test "x$TOOLKIT" = "xMAC" ; then
54878 COND_TOOLKIT_MAC=""
54881 COND_TOOLKIT_MOTIF="#"
54882 if test "x$TOOLKIT" = "xMOTIF" ; then
54883 COND_TOOLKIT_MOTIF=""
54886 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
54887 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
54888 COND_TOOLKIT_MOTIF_USE_GUI_1=""
54891 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
54892 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54893 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
54896 COND_TOOLKIT_MSW="#"
54897 if test "x$TOOLKIT" = "xMSW" ; then
54898 COND_TOOLKIT_MSW=""
54901 COND_TOOLKIT_MSW_USE_GUI_1="#"
54902 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
54903 COND_TOOLKIT_MSW_USE_GUI_1=""
54906 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
54907 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54908 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
54911 COND_TOOLKIT_MSW_WXUNIV_0="#"
54912 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54913 COND_TOOLKIT_MSW_WXUNIV_0=""
54916 COND_TOOLKIT_OSX_CARBON="#"
54917 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
54918 COND_TOOLKIT_OSX_CARBON=""
54921 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54922 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54923 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54926 COND_TOOLKIT_OSX_COCOA="#"
54927 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
54928 COND_TOOLKIT_OSX_COCOA=""
54931 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54932 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54933 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54936 COND_TOOLKIT_OSX_IPHONE="#"
54937 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
54938 COND_TOOLKIT_OSX_IPHONE=""
54941 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54942 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54943 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54946 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54947 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54948 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54951 COND_TOOLKIT_PM="#"
54952 if test "x$TOOLKIT" = "xPM" ; then
54956 COND_TOOLKIT_PM_USE_GUI_1="#"
54957 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
54958 COND_TOOLKIT_PM_USE_GUI_1=""
54961 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
54962 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54963 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
54966 COND_TOOLKIT_WINCE="#"
54967 if test "x$TOOLKIT" = "xWINCE" ; then
54968 COND_TOOLKIT_WINCE=""
54971 COND_TOOLKIT_WINCE_USE_GUI_1="#"
54972 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
54973 COND_TOOLKIT_WINCE_USE_GUI_1=""
54976 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
54977 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54978 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
54981 COND_TOOLKIT_WINCE_WXUNIV_0="#"
54982 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
54983 COND_TOOLKIT_WINCE_WXUNIV_0=""
54986 COND_TOOLKIT_X11="#"
54987 if test "x$TOOLKIT" = "xX11" ; then
54988 COND_TOOLKIT_X11=""
54991 COND_TOOLKIT_X11_USE_GUI_1="#"
54992 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
54993 COND_TOOLKIT_X11_USE_GUI_1=""
54997 if test "x$UNICODE" = "x1" ; then
55001 COND_USE_CAIRO_1="#"
55002 if test "x$USE_CAIRO" = "x1" ; then
55003 COND_USE_CAIRO_1=""
55006 COND_USE_EXCEPTIONS_0="#"
55007 if test "x$USE_EXCEPTIONS" = "x0" ; then
55008 COND_USE_EXCEPTIONS_0=""
55011 COND_USE_EXCEPTIONS_1="#"
55012 if test "x$USE_EXCEPTIONS" = "x1" ; then
55013 COND_USE_EXCEPTIONS_1=""
55017 if test "x$USE_GUI" = "x0" ; then
55022 if test "x$USE_GUI" = "x1" ; then
55026 COND_USE_GUI_1_USE_OPENGL_1="#"
55027 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55028 COND_USE_GUI_1_USE_OPENGL_1=""
55031 COND_USE_GUI_1_WXUNIV_0="#"
55032 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55033 COND_USE_GUI_1_WXUNIV_0=""
55036 COND_USE_GUI_1_WXUNIV_1="#"
55037 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
55038 COND_USE_GUI_1_WXUNIV_1=""
55041 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
55042 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55043 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55046 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55047 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55048 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55051 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55052 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55053 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55056 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55057 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55058 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55061 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55062 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55063 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55066 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55067 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55068 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55071 COND_USE_OPENGL_1="#"
55072 if test "x$USE_OPENGL" = "x1" ; then
55073 COND_USE_OPENGL_1=""
55077 if test "x$USE_PCH" = "x1" ; then
55081 COND_USE_PLUGINS_0="#"
55082 if test "x$USE_PLUGINS" = "x0" ; then
55083 COND_USE_PLUGINS_0=""
55086 COND_USE_RTTI_0="#"
55087 if test "x$USE_RTTI" = "x0" ; then
55091 COND_USE_RTTI_1="#"
55092 if test "x$USE_RTTI" = "x1" ; then
55096 COND_USE_SOTWOSYMLINKS_1="#"
55097 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55098 COND_USE_SOTWOSYMLINKS_1=""
55101 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55102 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55103 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55106 COND_USE_SOVERLINUX_1="#"
55107 if test "x$USE_SOVERLINUX" = "x1" ; then
55108 COND_USE_SOVERLINUX_1=""
55111 COND_USE_SOVERSION_0="#"
55112 if test "x$USE_SOVERSION" = "x0" ; then
55113 COND_USE_SOVERSION_0=""
55116 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55117 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55118 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55121 COND_USE_SOVERSOLARIS_1="#"
55122 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55123 COND_USE_SOVERSOLARIS_1=""
55127 if test "x$USE_STC" = "x1" ; then
55131 COND_USE_THREADS_0="#"
55132 if test "x$USE_THREADS" = "x0" ; then
55133 COND_USE_THREADS_0=""
55136 COND_USE_THREADS_1="#"
55137 if test "x$USE_THREADS" = "x1" ; then
55138 COND_USE_THREADS_1=""
55142 if test "x$USE_XRC" = "x1" ; then
55146 COND_WINDOWS_IMPLIB_1="#"
55147 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55148 COND_WINDOWS_IMPLIB_1=""
55151 COND_WITH_PLUGIN_SDL_1="#"
55152 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55153 COND_WITH_PLUGIN_SDL_1=""
55157 if test "x$WXUNIV" = "x0" ; then
55162 if test "x$WXUNIV" = "x1" ; then
55166 COND_WXUSE_EXPAT_BUILTIN="#"
55167 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55168 COND_WXUSE_EXPAT_BUILTIN=""
55171 COND_WXUSE_LIBJPEG_BUILTIN="#"
55172 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55173 COND_WXUSE_LIBJPEG_BUILTIN=""
55176 COND_WXUSE_LIBPNG_BUILTIN="#"
55177 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55178 COND_WXUSE_LIBPNG_BUILTIN=""
55181 COND_WXUSE_LIBTIFF_BUILTIN="#"
55182 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55183 COND_WXUSE_LIBTIFF_BUILTIN=""
55186 COND_WXUSE_REGEX_BUILTIN="#"
55187 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55188 COND_WXUSE_REGEX_BUILTIN=""
55191 COND_WXUSE_ZLIB_BUILTIN="#"
55192 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55193 COND_WXUSE_ZLIB_BUILTIN=""
55196 COND_wxUSE_EXPAT_builtin="#"
55197 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55198 COND_wxUSE_EXPAT_builtin=""
55201 COND_wxUSE_LIBJPEG_builtin="#"
55202 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55203 COND_wxUSE_LIBJPEG_builtin=""
55206 COND_wxUSE_LIBPNG_builtin="#"
55207 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55208 COND_wxUSE_LIBPNG_builtin=""
55211 COND_wxUSE_LIBTIFF_builtin="#"
55212 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55213 COND_wxUSE_LIBTIFF_builtin=""
55216 COND_wxUSE_REGEX_builtin="#"
55217 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55218 COND_wxUSE_REGEX_builtin=""
55221 COND_wxUSE_ZLIB_builtin="#"
55222 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55223 COND_wxUSE_ZLIB_builtin=""
55228 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55229 { { 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
55230 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;}
55231 { (exit 1); exit 1; }; }
55234 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55235 { { 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
55236 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;}
55237 { (exit 1); exit 1; }; }
55244 ?:* ) # Drive letter, considered as absolute.
55247 INSTALL=`pwd`/${INSTALL} ;;
55250 if test "$wxUSE_GUI" = "yes"; then
55252 if test "$wxUSE_MSW" = 1 ; then
55253 if test "x$WINDRES" = "x"; then
55254 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55255 echo "$as_me: error: Required windres program not found" >&2;}
55256 { (exit 1); exit 1; }; }
55262 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55263 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55264 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55266 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55268 # Extract the first word of "DeRez", so it can be a program name with args.
55269 set dummy DeRez; ac_word=$2
55270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55272 if test "${ac_cv_prog_DEREZ+set}" = set; then
55273 echo $ECHO_N "(cached) $ECHO_C" >&6
55275 if test -n "$DEREZ"; then
55276 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55279 for as_dir in $PATH
55282 test -z "$as_dir" && as_dir=.
55283 for ac_exec_ext in '' $ac_executable_extensions; do
55284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55285 ac_cv_prog_DEREZ="DeRez"
55286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55293 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55296 DEREZ=$ac_cv_prog_DEREZ
55297 if test -n "$DEREZ"; then
55298 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55299 echo "${ECHO_T}$DEREZ" >&6; }
55301 { echo "$as_me:$LINENO: result: no" >&5
55302 echo "${ECHO_T}no" >&6; }
55307 MACSETFILE="\$(SETFILE)"
55309 if test "$wxUSE_OSX_CARBON" = 1; then
55310 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55312 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55314 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55315 RESCOMP="cat /dev/null \| $REZ"
55316 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55322 if test "$wxUSE_PM" = 1; then
55324 WXCONFIG_RESFLAGS="-ep"
55326 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55328 POSTLINK_COMMAND="@true"
55335 if test $GCC_PCH = 1
55337 if test "$wx_cv_gcc_pch_bug" = yes; then
55338 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55339 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55340 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55341 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55342 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55343 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55346 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55347 # the headers that benefit from precompilation are mostly C++ headers.
55348 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55349 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55350 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55354 if test "$wxUSE_MAC" = 1 ; then
55355 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55356 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55362 if test "$wxUSE_SHARED" = "yes"; then
55364 *-pc-os2_emx | *-pc-os2-emx )
55365 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55366 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55367 cp -p ${srcdir}/src/os2/dllnames.sh .
55368 cp -p ${srcdir}/src/os2/dllar.sh .
55372 if test "$wxUSE_OMF" = "yes"; then
55374 *-pc-os2_emx | *-pc-os2-emx )
55375 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55376 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55377 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55382 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55387 if test "$GCC" = yes; then
55388 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
55389 LIBS=`echo $LIBS | sed 's/-mt//g'`
55390 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
55395 if test "x$SUNCXX" = xyes; then
55396 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
55397 LIBS=`echo $LIBS | sed 's/-pthread//g'`
55398 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
55403 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55404 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55405 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55406 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55408 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55469 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55470 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55471 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55472 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55473 echo $ECHO_N "(cached) $ECHO_C" >&6
55475 cat >conftest.make <<\_ACEOF
55478 @echo '@@@%%%=$(MAKE)=@@@%%%'
55480 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55481 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
55482 *@@@%%%=?*=@@@%%%*)
55483 eval ac_cv_prog_make_${ac_make}_set=yes;;
55485 eval ac_cv_prog_make_${ac_make}_set=no;;
55487 rm -f conftest.make
55489 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55490 { echo "$as_me:$LINENO: result: yes" >&5
55491 echo "${ECHO_T}yes" >&6; }
55494 { echo "$as_me:$LINENO: result: no" >&5
55495 echo "${ECHO_T}no" >&6; }
55496 SET_MAKE="MAKE=${MAKE-make}"
55501 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55504 if test "$USE_WIN32" = 1; then
55505 ac_config_commands="$ac_config_commands rcdefs.h"
55509 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55512 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55515 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55518 if test "$wx_cv_version_script" = "yes"; then
55519 ac_config_files="$ac_config_files version-script"
55522 ac_config_files="$ac_config_files Makefile"
55525 ac_config_commands="$ac_config_commands wx-config"
55529 if test "$wxWITH_SUBDIRS" != "no"; then
55530 if test "$wxUSE_GUI" = "yes"; then
55531 SUBDIRS="samples demos utils"
55533 SUBDIRS="samples utils"
55538 # Check whether --with-cppunit-prefix was given.
55539 if test "${with_cppunit_prefix+set}" = set; then
55540 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55542 cppunit_config_prefix=""
55546 # Check whether --with-cppunit-exec-prefix was given.
55547 if test "${with_cppunit_exec_prefix+set}" = set; then
55548 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55550 cppunit_config_exec_prefix=""
55554 if test x$cppunit_config_exec_prefix != x ; then
55555 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55556 if test x${CPPUNIT_CONFIG+set} != xset ; then
55557 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55560 if test x$cppunit_config_prefix != x ; then
55561 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55562 if test x${CPPUNIT_CONFIG+set} != xset ; then
55563 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55567 # Extract the first word of "cppunit-config", so it can be a program name with args.
55568 set dummy cppunit-config; ac_word=$2
55569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55571 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55572 echo $ECHO_N "(cached) $ECHO_C" >&6
55574 case $CPPUNIT_CONFIG in
55576 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55580 for as_dir in $PATH
55583 test -z "$as_dir" && as_dir=.
55584 for ac_exec_ext in '' $ac_executable_extensions; do
55585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55586 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55594 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55598 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55599 if test -n "$CPPUNIT_CONFIG"; then
55600 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55601 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55603 { echo "$as_me:$LINENO: result: no" >&5
55604 echo "${ECHO_T}no" >&6; }
55608 cppunit_version_min=1.8.0
55610 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55611 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55613 if test "$CPPUNIT_CONFIG" = "no" ; then
55614 { echo "$as_me:$LINENO: result: no" >&5
55615 echo "${ECHO_T}no" >&6; }
55618 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55619 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55620 cppunit_version=`$CPPUNIT_CONFIG --version`
55622 cppunit_major_version=`echo $cppunit_version | \
55623 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55624 cppunit_minor_version=`echo $cppunit_version | \
55625 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55626 cppunit_micro_version=`echo $cppunit_version | \
55627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55629 cppunit_major_min=`echo $cppunit_version_min | \
55630 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55631 cppunit_minor_min=`echo $cppunit_version_min | \
55632 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55633 cppunit_micro_min=`echo $cppunit_version_min | \
55634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55636 cppunit_version_proper=`expr \
55637 $cppunit_major_version \
> $cppunit_major_min \
| \
55638 $cppunit_major_version \
= $cppunit_major_min \
& \
55639 $cppunit_minor_version \
> $cppunit_minor_min \
| \
55640 $cppunit_major_version \
= $cppunit_major_min \
& \
55641 $cppunit_minor_version \
= $cppunit_minor_min \
& \
55642 $cppunit_micro_version \
>= $cppunit_micro_min `
55644 if test "$cppunit_version_proper" = "1" ; then
55645 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55646 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55648 { echo "$as_me:$LINENO: result: no" >&5
55649 echo "${ECHO_T}no" >&6; }
55654 if test "x$no_cppunit" = x ; then
55655 SUBDIRS="$SUBDIRS tests"
55666 for subdir in $SUBDIRS; do
55667 if test -d ${srcdir}/${subdir} ; then
55668 if test "$wxUSE_GUI" = "yes"; then
55669 if test ${subdir} = "samples"; then
55670 makefiles="samples/Makefile.in $makefiles"
55671 for sample in $SAMPLES_SUBDIRS; do
55672 if test -d $srcdir/samples/$sample; then
55673 makefiles="samples/$sample/Makefile.in $makefiles"
55677 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55678 eval "disabled=\$$disabled_var"
55679 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
55680 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
55683 if test ${subdir} = "samples"; then
55684 makefiles="samples/Makefile.in $makefiles"
55685 for sample in `echo $SAMPLES_SUBDIRS`; do
55686 if test -d $srcdir/samples/$sample; then
55687 makefiles="samples/$sample/Makefile.in $makefiles"
55690 elif test ${subdir} = "utils"; then
55692 for util in ifacecheck ; do
55693 if test -d $srcdir/utils/$util ; then
55694 makefiles="utils/$util/src/Makefile.in \
55699 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
55703 for mkin in $makefiles ; do
55704 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55705 ac_config_files="$ac_config_files $mk"
55711 cat >confcache <<\_ACEOF
55712 # This file is a shell script that caches the results of configure
55713 # tests run on this system so they can be shared between configure
55714 # scripts and configure runs, see configure's option --config-cache.
55715 # It is not useful on other systems. If it contains results you don't
55716 # want to keep, you may remove or edit it.
55718 # config.status only pays attention to the cache file if you give it
55719 # the --recheck option to rerun configure.
55721 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
55722 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55723 # following values.
55727 # The following way of writing the cache mishandles newlines in values,
55728 # but we know of no workaround that is simple, portable, and efficient.
55729 # So, we kill variables containing newlines.
55730 # Ultrix sh set writes to stderr and can't be redirected directly,
55731 # and sets the high bit in the cache file unless we assign to the vars.
55733 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55734 eval ac_val
=\$
$ac_var
55738 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55739 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55742 _
| IFS
| as_nl
) ;; #(
55743 *) $as_unset $ac_var ;;
55749 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55750 *${as_nl}ac_space
=\
*)
55751 # `set' does not quote correctly, so add quotes (double-quote
55752 # substitution turns \\\\ into \\, and sed turns \\ into \).
55755 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55758 # `set' quotes correctly as required by POSIX, so do not add quotes.
55759 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55768 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55770 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55772 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
55773 if test -w "$cache_file"; then
55774 test "x$cache_file" != "x/dev/null" &&
55775 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55776 echo "$as_me: updating cache $cache_file" >&6;}
55777 cat confcache
>$cache_file
55779 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55780 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55785 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
55786 # Let make expand exec_prefix.
55787 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
55789 DEFS
=-DHAVE_CONFIG_H
55793 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
55794 # 1. Remove the extension, and $U if already installed.
55795 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
55796 ac_i
=`echo "$ac_i" | sed "$ac_script"`
55797 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55798 # will be set to the directory where LIBOBJS objects are built.
55799 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55800 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
55802 LIBOBJS
=$ac_libobjs
55804 LTLIBOBJS
=$ac_ltlibobjs
55808 : ${CONFIG_STATUS=./config.status}
55809 ac_clean_files_save
=$ac_clean_files
55810 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
55811 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
55812 echo "$as_me: creating $CONFIG_STATUS" >&6;}
55813 cat >$CONFIG_STATUS <<_ACEOF
55815 # Generated by $as_me.
55816 # Run this file to recreate the current configuration.
55817 # Compiler output produced by configure, useful for debugging
55818 # configure, is in config.log if it exists.
55821 ac_cs_recheck=false
55823 SHELL=\${CONFIG_SHELL-$SHELL}
55826 cat >>$CONFIG_STATUS <<\_ACEOF
55827 ## --------------------- ##
55828 ## M4sh Initialization. ##
55829 ## --------------------- ##
55831 # Be more Bourne compatible
55832 DUALCASE
=1; export DUALCASE
# for MKS sh
55833 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
55836 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55837 # is contrary to our usage. Disable this feature.
55838 alias -g '${1+"$@"}'='"$@"'
55839 setopt NO_GLOB_SUBST
55841 case `(set -o) 2>/dev/null` in
55842 *posix
*) set -o posix
;;
55851 # Avoid depending upon Character Ranges.
55852 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
55853 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55854 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
55855 as_cr_digits
='0123456789'
55856 as_cr_alnum
=$as_cr_Letters$as_cr_digits
55858 # The user is always right.
55859 if test "${PATH_SEPARATOR+set}" != set; then
55860 echo "#! /bin/sh" >conf$$.sh
55861 echo "exit 0" >>conf$$.sh
55863 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55871 # Support unset when possible.
55872 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
55880 # We need space, tab and new line, in precisely that order. Quoting is
55881 # there to prevent editors from complaining about space-tab.
55882 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
55883 # splitting by setting IFS to empty value.)
55888 # Find who we are. Look in the path if we contain no directory separator.
55890 *[\\/]* ) as_myself
=$0 ;;
55891 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
55892 for as_dir
in $PATH
55895 test -z "$as_dir" && as_dir
=.
55896 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
55902 # We did not find ourselves, most probably we were run as `sh COMMAND'
55903 # in which case we are not to be found in the path.
55904 if test "x$as_myself" = x
; then
55907 if test ! -f "$as_myself"; then
55908 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
55909 { (exit 1); exit 1; }
55912 # Work around bugs in pre-3.0 UWIN ksh.
55913 for as_var
in ENV MAIL MAILPATH
55914 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
55922 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
55923 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
55924 LC_TELEPHONE LC_TIME
55926 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
55927 eval $as_var=C
; export $as_var
55929 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
55933 # Required to use basename.
55934 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
55935 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
55941 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
55942 as_basename
=basename
55948 # Name of the executable.
55949 as_me
=`$as_basename -- "$0" ||
55950 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
55951 X"$0" : 'X\(//\)$' \| \
55952 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
55954 sed '/^.*\/\([^/][^/]*\)\/*$/{
55973 as_lineno_1
=$LINENO
55974 as_lineno_2
=$LINENO
55975 test "x$as_lineno_1" != "x$as_lineno_2" &&
55976 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
55978 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
55979 # uniformly replaced by the line number. The first 'sed' inserts a
55980 # line-number line after each line using $LINENO; the second 'sed'
55981 # does the real work. The second script uses 'N' to pair each
55982 # line-number line with the line containing $LINENO, and appends
55983 # trailing '-' during substitution so that $LINENO is not a special
55984 # case at line end.
55985 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
55986 # scripts with optimization help from Paolo Bonzini. Blame Lee
55987 # E. McMahon (1931-1989) for sed's syntax. :-)
55999 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56002 ' >$as_me.lineno
&&
56003 chmod +x
"$as_me.lineno" ||
56004 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56005 { (exit 1); exit 1; }; }
56007 # Don't try to exec as it changes $[0], causing all sort of problems
56008 # (the dirname of $[0] is not the place where we might find the
56009 # original and so on. Autoconf is especially sensitive to this).
56010 .
"./$as_me.lineno"
56011 # Exit status is that of the last command.
56016 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
56022 ECHO_C
= ECHO_N
= ECHO_T
=
56023 case `echo -n x` in
56025 case `echo 'x\c'` in
56026 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
56033 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
56034 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
56040 rm -f conf$$ conf$$.exe conf$$.
file
56041 if test -d conf$$.dir
; then
56042 rm -f conf$$.dir
/conf$$.
file
56048 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
56050 # ... but there are two gotchas:
56051 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56052 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56053 # In both cases, we have to default to `cp -p'.
56054 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
56056 elif ln conf$$.
file conf$$
2>/dev
/null
; then
56061 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
56062 rmdir conf$$.dir
2>/dev
/null
56064 if mkdir -p .
2>/dev
/null
; then
56067 test -d .
/-p && rmdir .
/-p
56071 if test -x / >/dev
/null
2>&1; then
56072 as_test_x
='test -x'
56074 if ls -dL / >/dev
/null
2>&1; then
56081 if test -d "$1"; then
56087 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56088 ???[sx]*):;;*)false;;esac;fi
56092 as_executable_p
=$as_test_x
56094 # Sed expression to map a string onto a valid CPP name.
56095 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56097 # Sed expression to map a string onto a valid variable name.
56098 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56103 # Save the log message, to keep $[0] and so on meaningful, and to
56104 # report actual input values of CONFIG_FILES etc. instead of their
56105 # values after options handling.
56107 This file was extended by wxWidgets $as_me 2.9.4, which was
56108 generated by GNU Autoconf 2.61. Invocation command line was
56110 CONFIG_FILES = $CONFIG_FILES
56111 CONFIG_HEADERS = $CONFIG_HEADERS
56112 CONFIG_LINKS = $CONFIG_LINKS
56113 CONFIG_COMMANDS = $CONFIG_COMMANDS
56116 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56121 cat >>$CONFIG_STATUS <<_ACEOF
56122 # Files that config.status was made for.
56123 config_files="$ac_config_files"
56124 config_headers="$ac_config_headers"
56125 config_commands="$ac_config_commands"
56129 cat >>$CONFIG_STATUS <<\_ACEOF
56131 \`$as_me' instantiates files from templates according to the
56132 current configuration.
56134 Usage: $0 [OPTIONS] [FILE]...
56136 -h, --help print this help, then exit
56137 -V, --version print version number and configuration settings, then exit
56138 -q, --quiet do not print progress messages
56139 -d, --debug don't remove temporary files
56140 --recheck update $as_me by reconfiguring in the same conditions
56141 --file=FILE[:TEMPLATE]
56142 instantiate the configuration file FILE
56143 --header=FILE[:TEMPLATE]
56144 instantiate the configuration header FILE
56146 Configuration files:
56149 Configuration headers:
56152 Configuration commands:
56155 Report bugs to <bug-autoconf@gnu.org>."
56158 cat >>$CONFIG_STATUS <<_ACEOF
56160 wxWidgets config.status 2.9.4
56161 configured by $0, generated by GNU Autoconf 2.61,
56162 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56164 Copyright (C) 2006 Free Software Foundation, Inc.
56165 This config.status script is free software; the Free Software Foundation
56166 gives unlimited permission to copy, distribute and modify it."
56173 cat >>$CONFIG_STATUS <<\_ACEOF
56174 # If no file are specified by the user, then we need to provide default
56175 # value. By we need to know if files were specified by the user.
56181 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
56182 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
56193 # Handling of the options.
56194 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56196 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56197 echo "$ac_cs_version"; exit ;;
56198 --debug | --debu | --deb | --de | --d | -d )
56200 --file | --fil | --fi | --f )
56202 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
56203 ac_need_defaults
=false
;;
56204 --header | --heade | --head | --hea )
56206 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
56207 ac_need_defaults
=false
;;
56209 # Conflict between --help and --header
56210 { echo "$as_me: error: ambiguous option: $1
56211 Try \`$0 --help' for more information." >&2
56212 { (exit 1); exit 1; }; };;
56213 --help | --hel | -h )
56214 echo "$ac_cs_usage"; exit ;;
56215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56216 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56219 # This is an error.
56220 -*) { echo "$as_me: error: unrecognized option: $1
56221 Try \`$0 --help' for more information." >&2
56222 { (exit 1); exit 1; }; } ;;
56224 *) ac_config_targets
="$ac_config_targets $1"
56225 ac_need_defaults
=false
;;
56231 ac_configure_extra_args
=
56233 if $ac_cs_silent; then
56235 ac_configure_extra_args
="$ac_configure_extra_args --silent"
56239 cat >>$CONFIG_STATUS <<_ACEOF
56240 if \$ac_cs_recheck; then
56241 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56242 CONFIG_SHELL=$SHELL
56243 export CONFIG_SHELL
56244 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56248 cat >>$CONFIG_STATUS <<\_ACEOF
56252 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56253 ## Running $as_me. ##
56259 cat >>$CONFIG_STATUS <<_ACEOF
56265 infile="$srcdir/include/wx/msw/genrcdefs.h"
56266 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56269 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56270 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56271 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56277 cat >>$CONFIG_STATUS <<\_ACEOF
56279 # Handling of arguments.
56280 for ac_config_target
in $ac_config_targets
56282 case $ac_config_target in
56283 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56284 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
56285 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56286 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56287 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56288 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
56289 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
56290 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
56291 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
56293 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56294 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56295 { (exit 1); exit 1; }; };;
56300 # If the user did not use the arguments to specify the items to instantiate,
56301 # then the envvar interface is used. Set only those that are not.
56302 # We use the long form for the default assignment because of an extremely
56303 # bizarre bug on SunOS 4.1.3.
56304 if $ac_need_defaults; then
56305 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
56306 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
56307 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
56310 # Have a temporary directory for convenience. Make it in the build tree
56311 # simply because there is no reason against having it here, and in addition,
56312 # creating and moving files from /tmp can sometimes cause problems.
56313 # Hook for its removal unless debugging.
56314 # Note that there is a small window in which the directory will not be cleaned:
56315 # after its creation but before its name has been assigned to `$tmp'.
56319 trap 'exit_status=$?
56320 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56322 trap '{ (exit 1); exit 1; }' 1 2 13 15
56324 # Create a (secure) tmp directory for tmp files.
56327 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56328 test -n "$tmp" && test -d "$tmp"
56331 tmp
=.
/conf$$
-$RANDOM
56332 (umask 077 && mkdir "$tmp")
56335 echo "$me: cannot create a temporary directory in ." >&2
56336 { (exit 1); exit 1; }
56340 # Set up the sed scripts for CONFIG_FILES section.
56343 # No need to generate the scripts if there are no CONFIG_FILES.
56344 # This happens for instance when ./config.status config.h
56345 if test -n "$CONFIG_FILES"; then
56352 for ac_last_try
in false false false false false
:; do
56353 cat >conf$
$subs.
sed <<_ACEOF
56354 SHELL!$SHELL$ac_delim
56355 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56356 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56357 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56358 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56359 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56360 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56361 exec_prefix!$exec_prefix$ac_delim
56362 prefix!$prefix$ac_delim
56363 program_transform_name!$program_transform_name$ac_delim
56364 bindir!$bindir$ac_delim
56365 sbindir!$sbindir$ac_delim
56366 libexecdir!$libexecdir$ac_delim
56367 datarootdir!$datarootdir$ac_delim
56368 datadir!$datadir$ac_delim
56369 sysconfdir!$sysconfdir$ac_delim
56370 sharedstatedir!$sharedstatedir$ac_delim
56371 localstatedir!$localstatedir$ac_delim
56372 includedir!$includedir$ac_delim
56373 oldincludedir!$oldincludedir$ac_delim
56374 docdir!$docdir$ac_delim
56375 infodir!$infodir$ac_delim
56376 htmldir!$htmldir$ac_delim
56377 dvidir!$dvidir$ac_delim
56378 pdfdir!$pdfdir$ac_delim
56379 psdir!$psdir$ac_delim
56380 libdir!$libdir$ac_delim
56381 localedir!$localedir$ac_delim
56382 mandir!$mandir$ac_delim
56383 DEFS!$DEFS$ac_delim
56384 ECHO_C!$ECHO_C$ac_delim
56385 ECHO_N!$ECHO_N$ac_delim
56386 ECHO_T!$ECHO_T$ac_delim
56387 LIBS!$LIBS$ac_delim
56388 build_alias!$build_alias$ac_delim
56389 host_alias!$host_alias$ac_delim
56390 target_alias!$target_alias$ac_delim
56391 build!$build$ac_delim
56392 build_cpu!$build_cpu$ac_delim
56393 build_vendor!$build_vendor$ac_delim
56394 build_os!$build_os$ac_delim
56395 host!$host$ac_delim
56396 host_cpu!$host_cpu$ac_delim
56397 host_vendor!$host_vendor$ac_delim
56398 host_os!$host_os$ac_delim
56399 wx_top_builddir!$wx_top_builddir$ac_delim
56401 CFLAGS!$CFLAGS$ac_delim
56402 LDFLAGS!$LDFLAGS$ac_delim
56403 CPPFLAGS!$CPPFLAGS$ac_delim
56404 ac_ct_CC!$ac_ct_CC$ac_delim
56405 EXEEXT!$EXEEXT$ac_delim
56406 OBJEXT!$OBJEXT$ac_delim
56408 GREP!$GREP$ac_delim
56409 EGREP!$EGREP$ac_delim
56411 CXXFLAGS!$CXXFLAGS$ac_delim
56412 ac_ct_CXX!$ac_ct_CXX$ac_delim
56414 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56415 CXXCPP!$CXXCPP$ac_delim
56416 subdirs!$subdirs$ac_delim
56417 PKG_CONFIG!$PKG_CONFIG$ac_delim
56418 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56419 GTK_LIBS!$GTK_LIBS$ac_delim
56420 GTK_CONFIG!$GTK_CONFIG$ac_delim
56421 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56422 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56423 XMKMF!$XMKMF$ac_delim
56424 X_CFLAGS!$X_CFLAGS$ac_delim
56425 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56426 X_LIBS!$X_LIBS$ac_delim
56427 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56428 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56429 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56430 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56431 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56432 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56433 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56434 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56435 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56436 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56437 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56438 SM_CFLAGS!$SM_CFLAGS$ac_delim
56439 SM_LIBS!$SM_LIBS$ac_delim
56440 GL_CFLAGS!$GL_CFLAGS$ac_delim
56441 GL_LIBS!$GL_LIBS$ac_delim
56442 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56443 GLU_LIBS!$GLU_LIBS$ac_delim
56444 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56445 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56446 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56447 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56448 LIBICONV!$LIBICONV$ac_delim
56449 GXX_VERSION!$GXX_VERSION$ac_delim
56450 SDL_CONFIG!$SDL_CONFIG$ac_delim
56453 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56455 elif $ac_last_try; then
56456 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56457 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56458 { (exit 1); exit 1; }; }
56460 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56464 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56465 if test -n "$ac_eof"; then
56466 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56467 ac_eof
=`expr $ac_eof + 1`
56470 cat >>$CONFIG_STATUS <<_ACEOF
56471 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56472 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56475 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56476 s/^/s,@/; s/!/@,|#_!!_#|/
56479 s/'"$ac_delim"'$/,g/; t
56481 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56482 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56483 rm -f conf$
$subs.
sed
56484 cat >>$CONFIG_STATUS <<_ACEOF
56490 for ac_last_try
in false false false false false
:; do
56491 cat >conf$
$subs.
sed <<_ACEOF
56492 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56493 SDL_LIBS!$SDL_LIBS$ac_delim
56494 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56495 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56496 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56497 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56498 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56499 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56500 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56501 HILDON_LIBS!$HILDON_LIBS$ac_delim
56502 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56503 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56504 PYTHON!$PYTHON$ac_delim
56505 COND_PYTHON!$COND_PYTHON$ac_delim
56506 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56507 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56508 GST_CFLAGS!$GST_CFLAGS$ac_delim
56509 GST_LIBS!$GST_LIBS$ac_delim
56510 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56511 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56512 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56513 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56514 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56515 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56516 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56517 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56518 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56519 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56520 VENDOR!$VENDOR$ac_delim
56521 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56522 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56523 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56524 WXUNIV!$WXUNIV$ac_delim
56525 MONOLITHIC!$MONOLITHIC$ac_delim
56526 USE_PLUGINS!$USE_PLUGINS$ac_delim
56527 CXXWARNINGS!$CXXWARNINGS$ac_delim
56528 EXTRALIBS!$EXTRALIBS$ac_delim
56529 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56530 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56531 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56532 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56533 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56534 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56535 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56536 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56537 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56538 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56539 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56540 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56541 UNICODE!$UNICODE$ac_delim
56542 DEBUG_INFO!$DEBUG_INFO$ac_delim
56543 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56544 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56545 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56546 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56547 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56548 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56549 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56550 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56551 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56552 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56553 RANLIB!$RANLIB$ac_delim
56554 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56555 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56556 INSTALL_DATA!$INSTALL_DATA$ac_delim
56557 LN_S!$LN_S$ac_delim
56558 SET_MAKE!$SET_MAKE$ac_delim
56559 MAKE_SET!$MAKE_SET$ac_delim
56560 AROPTIONS!$AROPTIONS$ac_delim
56561 STRIP!$STRIP$ac_delim
56563 INSTALL_DIR!$INSTALL_DIR$ac_delim
56564 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56565 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56566 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56567 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56568 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56569 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56570 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56571 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56572 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56573 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56574 SO_SUFFIX!$SO_SUFFIX$ac_delim
56575 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56576 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56577 LIBPREFIX!$LIBPREFIX$ac_delim
56578 LIBEXT!$LIBEXT$ac_delim
56579 DLLPREFIX!$DLLPREFIX$ac_delim
56580 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56581 dlldir!$dlldir$ac_delim
56582 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56583 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56584 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56585 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56586 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56587 PIC_FLAG!$PIC_FLAG$ac_delim
56588 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56591 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56593 elif $ac_last_try; then
56594 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56595 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56596 { (exit 1); exit 1; }; }
56598 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56602 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56603 if test -n "$ac_eof"; then
56604 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56605 ac_eof
=`expr $ac_eof + 1`
56608 cat >>$CONFIG_STATUS <<_ACEOF
56609 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56610 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56613 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56614 s/^/s,@/; s/!/@,|#_!!_#|/
56617 s/'"$ac_delim"'$/,g/; t
56619 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56620 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56621 rm -f conf$
$subs.
sed
56622 cat >>$CONFIG_STATUS <<_ACEOF
56628 for ac_last_try
in false false false false false
:; do
56629 cat >conf$
$subs.
sed <<_ACEOF
56630 USE_SOVERSION!$USE_SOVERSION$ac_delim
56631 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56632 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56633 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56634 USE_MACVERSION!$USE_MACVERSION$ac_delim
56635 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56636 SONAME_FLAG!$SONAME_FLAG$ac_delim
56637 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56638 BK_DEPS!$BK_DEPS$ac_delim
56639 WINDRES!$WINDRES$ac_delim
56641 SETFILE!$SETFILE$ac_delim
56642 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56643 GCC_PCH!$GCC_PCH$ac_delim
56644 ICC_PCH!$ICC_PCH$ac_delim
56645 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56646 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56647 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56648 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56649 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56650 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56651 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56652 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56653 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56654 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56655 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56656 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56657 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56658 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56659 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56660 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56661 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56662 COND_BUILD_release!$COND_BUILD_release$ac_delim
56663 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56664 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56665 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56666 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56667 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56668 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56669 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56670 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56671 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56672 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56673 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56674 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56675 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56676 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56677 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56678 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56679 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56680 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56681 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56682 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56683 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56684 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56685 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56686 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56687 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56688 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56689 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56690 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56691 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56692 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56693 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56694 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56695 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56696 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56697 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56698 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56699 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56700 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56701 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56702 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56703 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56704 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56705 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56706 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56707 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56708 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56709 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56710 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56711 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56712 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56713 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56714 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56715 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56716 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56717 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56718 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56719 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56720 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56721 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56722 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
56723 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56724 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
56725 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56726 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
56729 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56731 elif $ac_last_try; then
56732 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56733 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56734 { (exit 1); exit 1; }; }
56736 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56740 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56741 if test -n "$ac_eof"; then
56742 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56743 ac_eof
=`expr $ac_eof + 1`
56746 cat >>$CONFIG_STATUS <<_ACEOF
56747 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
56748 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56751 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56752 s/^/s,@/; s/!/@,|#_!!_#|/
56755 s/'"$ac_delim"'$/,g/; t
56757 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56758 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56759 rm -f conf$
$subs.
sed
56760 cat >>$CONFIG_STATUS <<_ACEOF
56766 for ac_last_try
in false false false false false
:; do
56767 cat >conf$
$subs.
sed <<_ACEOF
56768 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
56769 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
56770 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
56771 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
56772 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
56773 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
56774 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
56775 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
56776 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
56777 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
56778 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
56779 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
56780 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
56781 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
56782 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
56783 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
56784 COND_SHARED_0!$COND_SHARED_0$ac_delim
56785 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
56786 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
56787 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
56788 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
56789 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56790 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56791 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56792 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
56793 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
56794 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
56795 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
56796 COND_SHARED_1!$COND_SHARED_1$ac_delim
56797 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
56798 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
56799 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
56800 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
56801 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
56802 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
56803 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
56804 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
56805 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
56806 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
56807 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
56808 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
56809 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
56810 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
56811 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
56812 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
56813 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
56814 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
56815 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
56816 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
56817 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
56818 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
56819 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
56820 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
56821 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56822 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
56823 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56824 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
56825 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56826 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56827 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
56828 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
56829 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
56830 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
56831 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
56832 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
56833 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
56834 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
56835 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
56836 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
56837 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
56838 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
56839 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
56840 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
56841 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
56842 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
56843 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
56844 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
56845 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
56846 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
56847 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
56848 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56849 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56850 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56851 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
56852 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
56853 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
56854 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
56855 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
56856 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
56857 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
56858 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
56859 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
56860 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
56861 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
56862 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
56863 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
56864 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
56867 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56869 elif $ac_last_try; then
56870 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56871 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56872 { (exit 1); exit 1; }; }
56874 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56878 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56879 if test -n "$ac_eof"; then
56880 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56881 ac_eof
=`expr $ac_eof + 1`
56884 cat >>$CONFIG_STATUS <<_ACEOF
56885 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
56886 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56889 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56890 s/^/s,@/; s/!/@,|#_!!_#|/
56893 s/'"$ac_delim"'$/,g/; t
56895 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56896 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56897 rm -f conf$
$subs.
sed
56898 cat >>$CONFIG_STATUS <<_ACEOF
56904 for ac_last_try
in false false false false false
:; do
56905 cat >conf$
$subs.
sed <<_ACEOF
56906 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
56907 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
56908 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
56909 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
56910 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
56911 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
56912 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
56913 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
56914 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
56915 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
56916 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
56917 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
56918 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
56919 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
56920 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
56921 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
56922 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
56923 DEREZ!$DEREZ$ac_delim
56924 SHARED!$SHARED$ac_delim
56925 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
56926 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
56927 USE_GUI!$USE_GUI$ac_delim
56928 AFMINSTALL!$AFMINSTALL$ac_delim
56929 WIN32INSTALL!$WIN32INSTALL$ac_delim
56930 TOOLKIT!$TOOLKIT$ac_delim
56931 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
56932 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
56933 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
56934 cross_compiling!$cross_compiling$ac_delim
56935 WIDGET_SET!$WIDGET_SET$ac_delim
56936 WX_RELEASE!$WX_RELEASE$ac_delim
56937 WX_VERSION!$WX_VERSION$ac_delim
56938 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
56939 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
56940 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
56941 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
56942 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
56943 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
56944 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
56945 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
56946 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
56947 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
56948 GUIDIST!$GUIDIST$ac_delim
56949 DISTDIR!$DISTDIR$ac_delim
56950 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
56951 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
56952 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
56953 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
56954 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
56955 RESCOMP!$RESCOMP$ac_delim
56956 RESFLAGS!$RESFLAGS$ac_delim
56957 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
56958 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
56959 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
56960 LIBWXMACRES!$LIBWXMACRES$ac_delim
56961 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
56962 MACSETFILE!$MACSETFILE$ac_delim
56964 DLLTOOL!$DLLTOOL$ac_delim
56965 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
56966 LIBOBJS!$LIBOBJS$ac_delim
56967 LTLIBOBJS!$LTLIBOBJS$ac_delim
56970 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 62; then
56972 elif $ac_last_try; then
56973 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56974 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56975 { (exit 1); exit 1; }; }
56977 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56981 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56982 if test -n "$ac_eof"; then
56983 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56984 ac_eof
=`expr $ac_eof + 1`
56987 cat >>$CONFIG_STATUS <<_ACEOF
56988 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
56989 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
56992 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56993 s/^/s,@/; s/!/@,|#_!!_#|/
56996 s/'"$ac_delim"'$/,g/; t
56998 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56999 ' >>$CONFIG_STATUS <conf$
$subs.
sed
57000 rm -f conf$
$subs.
sed
57001 cat >>$CONFIG_STATUS <<_ACEOF
57008 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57009 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57010 # trailing colons and then remove the whole line if VPATH becomes empty
57011 # (actually we leave an empty line to preserve line numbers).
57012 if test "x$srcdir" = x.
; then
57013 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
57014 s/:*\$(srcdir):*/:/
57015 s/:*\${srcdir}:*/:/
57017 s/^\([^=]*=[ ]*\):*/\1/
57023 cat >>$CONFIG_STATUS <<\_ACEOF
57024 fi # test -n "$CONFIG_FILES"
57027 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
57030 :[FHLC
]) ac_mode
=$ac_tag; continue;;
57032 case $ac_mode$ac_tag in
57034 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
57035 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
57036 { (exit 1); exit 1; }; };;
57037 :[FH
]-) ac_tag
=-:-;;
57038 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
57055 -) ac_f
="$tmp/stdin";;
57056 *) # Look for the file first in the build tree, then in the source tree
57057 # (if the path is not absolute). The absolute path cannot be DOS-style,
57058 # because $ac_f cannot contain `:'.
57062 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
57064 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57065 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57066 { (exit 1); exit 1; }; };;
57068 ac_file_inputs
="$ac_file_inputs $ac_f"
57071 # Let's still pretend it is `configure' which instantiates (i.e., don't
57072 # use $as_me), people would be surprised to read:
57073 # /* config.h. Generated by config.status. */
57074 configure_input
="Generated from "`IFS=:
57075 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57076 if test x
"$ac_file" != x
-; then
57077 configure_input
="$ac_file. $configure_input"
57078 { echo "$as_me:$LINENO: creating $ac_file" >&5
57079 echo "$as_me: creating $ac_file" >&6;}
57083 *:-:* | *:-) cat >"$tmp/stdin";;
57088 ac_dir
=`$as_dirname -- "$ac_file" ||
57089 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57090 X"$ac_file" : 'X\(//\)[^/]' \| \
57091 X"$ac_file" : 'X\(//\)$' \| \
57092 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57094 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57098 /^X\(\/\/\)[^/].*/{
57113 -*) as_dir
=.
/$as_dir;;
57115 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57119 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57120 *) as_qdir
=$as_dir;;
57122 as_dirs
="'$as_qdir' $as_dirs"
57123 as_dir
=`$as_dirname -- "$as_dir" ||
57124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57125 X"$as_dir" : 'X\(//\)[^/]' \| \
57126 X"$as_dir" : 'X\(//\)$' \| \
57127 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57133 /^X\(\/\/\)[^/].*/{
57146 test -d "$as_dir" && break
57148 test -z "$as_dirs" || eval "mkdir $as_dirs"
57149 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57150 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57151 { (exit 1); exit 1; }; }; }
57155 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57157 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57158 # A ".." for each directory in $ac_dir_suffix.
57159 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57160 case $ac_top_builddir_sub in
57161 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57162 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
57165 ac_abs_top_builddir
=$ac_pwd
57166 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
57167 # for backward compatibility:
57168 ac_top_builddir
=$ac_top_build_prefix
57171 .
) # We are building in place.
57173 ac_top_srcdir
=$ac_top_builddir_sub
57174 ac_abs_top_srcdir
=$ac_pwd ;;
57175 [\\/]* | ?
:[\\/]* ) # Absolute name.
57176 ac_srcdir
=$srcdir$ac_dir_suffix;
57177 ac_top_srcdir
=$srcdir
57178 ac_abs_top_srcdir
=$srcdir ;;
57179 *) # Relative name.
57180 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
57181 ac_top_srcdir
=$ac_top_build_prefix$srcdir
57182 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
57184 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
57194 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
57195 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
57199 cat >>$CONFIG_STATUS <<\_ACEOF
57200 # If the template does not know about datarootdir, expand it.
57201 # FIXME: This hack should be removed a few years after 2.60.
57202 ac_datarootdir_hack
=; ac_datarootdir_seen
=
57204 case `sed -n '/datarootdir/ {
57213 ' $ac_file_inputs` in
57214 *datarootdir
*) ac_datarootdir_seen
=yes;;
57215 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
57216 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57217 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57219 cat >>$CONFIG_STATUS <<_ACEOF
57220 ac_datarootdir_hack='
57221 s&@datadir@&$datadir&g
57222 s&@docdir@&$docdir&g
57223 s&@infodir@&$infodir&g
57224 s&@localedir@&$localedir&g
57225 s&@mandir@&$mandir&g
57226 s&\\\${datarootdir}&$datarootdir&g' ;;
57230 # Neutralize VPATH when `$srcdir' = `.'.
57231 # Shell code in configure.ac might set extrasub.
57232 # FIXME: do we really want to maintain this feature?
57233 cat >>$CONFIG_STATUS <<_ACEOF
57237 cat >>$CONFIG_STATUS <<\_ACEOF
57239 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
57240 s
&@configure_input@
&$configure_input&;t t
57241 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
57242 s
&@srcdir@
&$ac_srcdir&;t t
57243 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
57244 s
&@top_srcdir@
&$ac_top_srcdir&;t t
57245 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
57246 s
&@builddir@
&$ac_builddir&;t t
57247 s
&@abs_builddir@
&$ac_abs_builddir&;t t
57248 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
57249 s
&@INSTALL@
&$ac_INSTALL&;t t
57250 $ac_datarootdir_hack
57251 " $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
57253 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57254 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
57255 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
57256 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
57257 which seems to be undefined. Please make sure it is defined." >&5
57258 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
57259 which seems to be undefined. Please make sure it is defined." >&2;}
57263 -) cat "$tmp/out"; rm -f "$tmp/out";;
57264 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57273 # Transform confdefs.h into a sed script `conftest.defines', that
57274 # substitutes the proper values into config.h.in to produce config.h.
57275 rm -f conftest.defines conftest.
tail
57276 # First, append a space to every undef/define line, to ease matching.
57277 echo 's/$/ /' >conftest.defines
57278 # Then, protect against being on the right side of a sed subst, or in
57279 # an unquoted here document, in config.status. If some macros were
57280 # called several times there might be several #defines for the same
57281 # symbol, which is useless. But do not sort them, since the last
57282 # AC_DEFINE must be honored.
57283 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
57284 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57285 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57286 # PARAMS is the parameter list in the macro definition--in most cases, it's
57287 # just an empty string.
57288 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57289 ac_dB
='\\)[ (].*,\\1define\\2'
57297 s/^[ ]*#[ ]*define[ ][ ]*//
57302 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57303 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57304 ' >>conftest.defines
57306 # Remove the space that was appended to ease matching.
57307 # Then replace #undef with comments. This is necessary, for
57308 # example, in the case of _POSIX_SOURCE, which is predefined and required
57309 # on some systems where configure will not decide to define it.
57310 # (The regexp can be short, since the line contains either #define or #undef.)
57312 s,^[ #]*u.*,/* & */,' >>conftest.defines
57314 # Break up conftest.defines:
57315 ac_max_sed_lines
=50
57317 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57318 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57319 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57321 ac_in
='$ac_file_inputs'
57322 ac_out
='"$tmp/out1"'
57323 ac_nxt
='"$tmp/out2"'
57327 # Write a here document:
57328 cat >>$CONFIG_STATUS <<_ACEOF
57329 # First, check the format of the line:
57330 cat >"\$tmp/defines.sed" <<\\CEOF
57331 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57332 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57336 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
57338 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57339 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
57340 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
57341 grep . conftest.
tail >/dev
/null
|| break
57342 rm -f conftest.defines
57343 mv conftest.
tail conftest.defines
57345 rm -f conftest.defines conftest.
tail
57347 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57348 cat >>$CONFIG_STATUS <<\_ACEOF
57349 if test x
"$ac_file" != x
-; then
57350 echo "/* $configure_input */" >"$tmp/config.h"
57351 cat "$ac_result" >>"$tmp/config.h"
57352 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
57353 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57354 echo "$as_me: $ac_file is unchanged" >&6;}
57357 mv "$tmp/config.h" $ac_file
57360 echo "/* $configure_input */"
57366 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57367 echo "$as_me: executing $ac_file commands" >&6;}
57372 case $ac_file$ac_mode in
57374 mkdir -p $outdir &&
57375 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57377 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
57378 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
57379 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
57380 "wx-config":C
) rm -f wx
-config
57381 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
57388 { (exit 0); exit 0; }
57390 chmod +x
$CONFIG_STATUS
57391 ac_clean_files
=$ac_clean_files_save
57394 # configure is writing to config.log, and then calls config.status.
57395 # config.status does its own redirection, appending to config.log.
57396 # Unfortunately, on DOS this fails, as config.log is still kept open
57397 # by configure, so config.status won't be able to write to it; its
57398 # output is simply discarded. So we exec the FD to /dev/null,
57399 # effectively closing config.log, so it can be properly (re)opened and
57400 # appended to by config.status. When coming back to configure, we
57401 # need to make the FD available again.
57402 if test "$no_create" != yes; then
57404 ac_config_status_args
=
57405 test "$silent" = yes &&
57406 ac_config_status_args
="$ac_config_status_args --quiet"
57408 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
57410 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57411 # would make configure fail if this is the last instruction.
57412 $ac_cs_success || { (exit 1); exit 1; }
57416 # CONFIG_SUBDIRS section.
57418 if test "$no_recursion" != yes; then
57420 # Remove --cache-file and --srcdir arguments so they do not pile up.
57421 ac_sub_configure_args
=
57423 eval "set x $ac_configure_args"
57427 if test -n "$ac_prev"; then
57432 -cache-file | --cache-file | --cache-fil | --cache-fi \
57433 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57434 ac_prev
=cache_file
;;
57435 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57436 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57439 --config-cache | -C)
57441 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57443 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57445 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57447 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57451 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57453 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
57457 # Always prepend --prefix to ensure using the same prefix
57458 # in subdir configurations.
57459 ac_arg
="--prefix=$prefix"
57461 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57463 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
57466 if test "$silent" = yes; then
57467 ac_sub_configure_args
="--silent $ac_sub_configure_args"
57471 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
57473 # Do not complain, so a configure script can configure whichever
57474 # parts of a large source tree are present.
57475 test -d "$srcdir/$ac_dir" || continue
57477 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57478 echo "$as_me:$LINENO: $ac_msg" >&5
57482 -*) as_dir
=.
/$as_dir;;
57484 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57488 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57489 *) as_qdir
=$as_dir;;
57491 as_dirs
="'$as_qdir' $as_dirs"
57492 as_dir
=`$as_dirname -- "$as_dir" ||
57493 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57494 X"$as_dir" : 'X\(//\)[^/]' \| \
57495 X"$as_dir" : 'X\(//\)$' \| \
57496 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57502 /^X\(\/\/\)[^/].*/{
57515 test -d "$as_dir" && break
57517 test -z "$as_dirs" || eval "mkdir $as_dirs"
57518 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57519 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57520 { (exit 1); exit 1; }; }; }
57524 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57526 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57527 # A ".." for each directory in $ac_dir_suffix.
57528 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57529 case $ac_top_builddir_sub in
57530 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57531 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
57534 ac_abs_top_builddir
=$ac_pwd
57535 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
57536 # for backward compatibility:
57537 ac_top_builddir
=$ac_top_build_prefix
57540 .
) # We are building in place.
57542 ac_top_srcdir
=$ac_top_builddir_sub
57543 ac_abs_top_srcdir
=$ac_pwd ;;
57544 [\\/]* | ?
:[\\/]* ) # Absolute name.
57545 ac_srcdir
=$srcdir$ac_dir_suffix;
57546 ac_top_srcdir
=$srcdir
57547 ac_abs_top_srcdir
=$srcdir ;;
57548 *) # Relative name.
57549 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
57550 ac_top_srcdir
=$ac_top_build_prefix$srcdir
57551 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
57553 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
57558 # Check for guested configure; otherwise get Cygnus style configure.
57559 if test -f "$ac_srcdir/configure.gnu"; then
57560 ac_sub_configure
=$ac_srcdir/configure.gnu
57561 elif test -f "$ac_srcdir/configure"; then
57562 ac_sub_configure
=$ac_srcdir/configure
57563 elif test -f "$ac_srcdir/configure.in"; then
57564 # This should be Cygnus configure.
57565 ac_sub_configure
=$ac_aux_dir/configure
57567 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57568 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57572 # The recursion is here.
57573 if test -n "$ac_sub_configure"; then
57574 # Make the cache file name correct relative to the subdirectory.
57575 case $cache_file in
57576 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
57577 *) # Relative name.
57578 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
57581 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57582 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57583 # The eval makes quoting arguments work.
57584 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57585 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57586 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57587 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57588 { (exit 1); exit 1; }; }
57597 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57599 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57600 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57601 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57602 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57603 if test "$wxUSE_UNICODE" = "yes"; then
57604 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57605 echo " (using UTF-8)"
57607 echo " (using wchar_t)"
57613 echo " What level of wxWidgets compatibility should be enabled?"
57614 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57615 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57617 echo " Which libraries should wxWidgets use?"
57618 echo " STL ${wxUSE_STL}"
57619 echo " jpeg ${wxUSE_LIBJPEG-none}"
57620 echo " png ${wxUSE_LIBPNG-none}"
57621 echo " regex ${wxUSE_REGEX}"
57622 echo " tiff ${wxUSE_LIBTIFF-none}"
57623 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57624 echo " xpm ${wxUSE_LIBXPM-none}"
57626 echo " zlib ${wxUSE_ZLIB}"
57627 echo " expat ${wxUSE_EXPAT}"
57628 echo " libmspack ${wxUSE_LIBMSPACK}"
57629 echo " sdl ${wxUSE_LIBSDL}"