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
830 ICC_PCH_CREATE_SWITCH
834 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
835 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
836 COND_BUILD_DEBUG_UNICODE_0
837 COND_BUILD_DEBUG_UNICODE_1
839 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
840 COND_BUILD_RELEASE_UNICODE_0
841 COND_BUILD_RELEASE_UNICODE_1
843 COND_BUILD_debug_DEBUG_FLAG_default
844 COND_BUILD_debug_DEBUG_INFO_default
845 COND_BUILD_debug_UNICODE_0
846 COND_BUILD_debug_UNICODE_1
848 COND_BUILD_release_DEBUG_INFO_default
849 COND_BUILD_release_UNICODE_0
850 COND_BUILD_release_UNICODE_1
860 COND_MONOLITHIC_0_SHARED_0
861 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
862 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
863 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
865 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
867 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
868 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
869 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
870 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
871 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
872 COND_MONOLITHIC_0_SHARED_1
873 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
874 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
878 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
879 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
880 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
881 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
882 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
883 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
884 COND_MONOLITHIC_0_USE_AUI_1
885 COND_MONOLITHIC_0_USE_GUI_1
886 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
887 COND_MONOLITHIC_0_USE_HTML_1
888 COND_MONOLITHIC_0_USE_MEDIA_1
889 COND_MONOLITHIC_0_USE_PROPGRID_1
890 COND_MONOLITHIC_0_USE_QA_1
891 COND_MONOLITHIC_0_USE_RIBBON_1
892 COND_MONOLITHIC_0_USE_RICHTEXT_1
893 COND_MONOLITHIC_0_USE_STC_1
894 COND_MONOLITHIC_0_USE_WEBVIEW_1
895 COND_MONOLITHIC_0_USE_XRC_1
897 COND_MONOLITHIC_1_SHARED_0
898 COND_MONOLITHIC_1_SHARED_1
899 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
900 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
901 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
902 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
903 COND_PLATFORM_MACOSX_1
904 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
905 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
906 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
907 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
908 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
909 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
910 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
911 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
912 COND_PLATFORM_MACOSX_1_USE_GUI_1
913 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
914 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
915 COND_PLATFORM_MACOS_1
918 COND_PLATFORM_MSDOS_0
919 COND_PLATFORM_MSDOS_1
923 COND_PLATFORM_UNIX_1_USE_GUI_1
924 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
925 COND_PLATFORM_WIN32_0
926 COND_PLATFORM_WIN32_1
927 COND_PLATFORM_WIN32_1_SHARED_0
929 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
930 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
931 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
932 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
933 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
934 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
935 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
936 COND_SHARED_0_USE_STC_1
937 COND_SHARED_0_wxUSE_EXPAT_builtin
938 COND_SHARED_0_wxUSE_REGEX_builtin
939 COND_SHARED_0_wxUSE_ZLIB_builtin
941 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
944 COND_TOOLKIT_COCOA_USE_GUI_1
945 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
947 COND_TOOLKIT_DFB_USE_GUI_1
949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
950 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
951 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
952 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
954 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
955 COND_TOOLKIT_GTK_USE_GUI_1
958 COND_TOOLKIT_MOTIF_USE_GUI_1
959 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
961 COND_TOOLKIT_MSW_USE_GUI_1
962 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
963 COND_TOOLKIT_MSW_WXUNIV_0
964 COND_TOOLKIT_OSX_CARBON
965 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
966 COND_TOOLKIT_OSX_COCOA
967 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
968 COND_TOOLKIT_OSX_IPHONE
969 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
970 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
972 COND_TOOLKIT_PM_USE_GUI_1
973 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
975 COND_TOOLKIT_WINCE_USE_GUI_1
976 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
977 COND_TOOLKIT_WINCE_WXUNIV_0
979 COND_TOOLKIT_X11_USE_GUI_1
982 COND_USE_EXCEPTIONS_0
983 COND_USE_EXCEPTIONS_1
986 COND_USE_GUI_1_USE_OPENGL_1
987 COND_USE_GUI_1_WXUNIV_0
988 COND_USE_GUI_1_WXUNIV_1
989 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
990 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
991 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
992 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
993 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
994 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
1000 COND_USE_SOTWOSYMLINKS_1
1001 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
1002 COND_USE_SOVERLINUX_1
1003 COND_USE_SOVERSION_0
1004 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
1005 COND_USE_SOVERSOLARIS_1
1010 COND_WINDOWS_IMPLIB_1
1011 COND_WITH_PLUGIN_SDL_1
1014 COND_WXUSE_EXPAT_BUILTIN
1015 COND_WXUSE_LIBJPEG_BUILTIN
1016 COND_WXUSE_LIBPNG_BUILTIN
1017 COND_WXUSE_LIBTIFF_BUILTIN
1018 COND_WXUSE_REGEX_BUILTIN
1019 COND_WXUSE_ZLIB_BUILTIN
1020 COND_wxUSE_EXPAT_builtin
1021 COND_wxUSE_LIBJPEG_builtin
1022 COND_wxUSE_LIBPNG_builtin
1023 COND_wxUSE_LIBTIFF_builtin
1024 COND_wxUSE_REGEX_builtin
1025 COND_wxUSE_ZLIB_builtin
1028 WX_LIBRARY_BASENAME_NOGUI
1029 WX_LIBRARY_BASENAME_GUI
1049 WXCONFIG_LDFLAGS_GUI
1061 WX_RESOURCES_MACOSX_ASCII
1062 WX_RESOURCES_MACOSX_DATA
1072 ac_precious_vars
='build_alias
1109 LIBGNOMEPRINTUI_CFLAGS
1110 LIBGNOMEPRINTUI_LIBS
1123 ac_subdirs_all
='src/tiff
1126 # Initialize some variables set by options.
1128 ac_init_version
=false
1129 # The variables have the same names as the options, with
1130 # dashes changed to underlines.
1131 cache_file
=/dev
/null
1138 program_transform_name
=s
,x
,x
,
1146 # Installation directory options.
1147 # These are left unexpanded so users can "make install exec_prefix=/foo"
1148 # and all the variables that are supposed to be based on exec_prefix
1149 # by default will actually change.
1150 # Use braces instead of parens because sh, perl, etc. also accept them.
1151 # (The list follows the same order as the GNU Coding Standards.)
1152 bindir
='${exec_prefix}/bin'
1153 sbindir
='${exec_prefix}/sbin'
1154 libexecdir
='${exec_prefix}/libexec'
1155 datarootdir
='${prefix}/share'
1156 datadir
='${datarootdir}'
1157 sysconfdir
='${prefix}/etc'
1158 sharedstatedir
='${prefix}/com'
1159 localstatedir
='${prefix}/var'
1160 includedir
='${prefix}/include'
1161 oldincludedir
='/usr/include'
1162 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1163 infodir
='${datarootdir}/info'
1168 libdir
='${exec_prefix}/lib'
1169 localedir
='${datarootdir}/locale'
1170 mandir
='${datarootdir}/man'
1176 # If the previous option needs an argument, assign it.
1177 if test -n "$ac_prev"; then
1178 eval $ac_prev=\
$ac_option
1184 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1188 # Accept the important Cygnus configure options, so we can diagnose typos.
1190 case $ac_dashdash$ac_option in
1194 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1196 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1197 bindir
=$ac_optarg ;;
1199 -build | --build | --buil | --bui | --bu)
1200 ac_prev
=build_alias
;;
1201 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1202 build_alias
=$ac_optarg ;;
1204 -cache-file | --cache-file | --cache-fil | --cache-fi \
1205 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1206 ac_prev
=cache_file
;;
1207 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1208 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1209 cache_file
=$ac_optarg ;;
1211 --config-cache | -C)
1212 cache_file
=config.cache
;;
1214 -datadir | --datadir | --datadi | --datad)
1216 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1217 datadir
=$ac_optarg ;;
1219 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1220 | --dataroo | --dataro | --datar)
1221 ac_prev
=datarootdir
;;
1222 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1223 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1224 datarootdir
=$ac_optarg ;;
1226 -disable-* | --disable-*)
1227 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1228 # Reject names that are not valid shell variable names.
1229 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1230 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1231 { (exit 1); exit 1; }; }
1232 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1233 eval enable_
$ac_feature=no
;;
1235 -docdir | --docdir | --docdi | --doc | --do)
1237 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1238 docdir
=$ac_optarg ;;
1240 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1242 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1243 dvidir
=$ac_optarg ;;
1245 -enable-* | --enable-*)
1246 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1249 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1250 { (exit 1); exit 1; }; }
1251 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1252 eval enable_
$ac_feature=\
$ac_optarg ;;
1254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1256 | --exec | --exe | --ex)
1257 ac_prev
=exec_prefix
;;
1258 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1259 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1260 | --exec=* | --exe=* | --ex=*)
1261 exec_prefix
=$ac_optarg ;;
1263 -gas | --gas | --ga | --g)
1264 # Obsolete; use --with-gas.
1267 -help | --help | --hel | --he | -h)
1268 ac_init_help
=long
;;
1269 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1270 ac_init_help
=recursive
;;
1271 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1272 ac_init_help
=short
;;
1274 -host | --host | --hos | --ho)
1275 ac_prev
=host_alias
;;
1276 -host=* | --host=* | --hos=* | --ho=*)
1277 host_alias
=$ac_optarg ;;
1279 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1281 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1283 htmldir
=$ac_optarg ;;
1285 -includedir | --includedir | --includedi | --included | --include \
1286 | --includ | --inclu | --incl | --inc)
1287 ac_prev
=includedir
;;
1288 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1289 | --includ=* | --inclu=* | --incl=* | --inc=*)
1290 includedir
=$ac_optarg ;;
1292 -infodir | --infodir | --infodi | --infod | --info | --inf)
1294 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1295 infodir
=$ac_optarg ;;
1297 -libdir | --libdir | --libdi | --libd)
1299 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1300 libdir
=$ac_optarg ;;
1302 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1303 | --libexe | --libex | --libe)
1304 ac_prev
=libexecdir
;;
1305 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1306 | --libexe=* | --libex=* | --libe=*)
1307 libexecdir
=$ac_optarg ;;
1309 -localedir | --localedir | --localedi | --localed | --locale)
1310 ac_prev
=localedir
;;
1311 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1312 localedir
=$ac_optarg ;;
1314 -localstatedir | --localstatedir | --localstatedi | --localstated \
1315 | --localstate | --localstat | --localsta | --localst | --locals)
1316 ac_prev
=localstatedir
;;
1317 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1318 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1319 localstatedir
=$ac_optarg ;;
1321 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1323 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1324 mandir
=$ac_optarg ;;
1326 -nfp | --nfp | --nf)
1327 # Obsolete; use --without-fp.
1330 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1331 | --no-cr | --no-c | -n)
1334 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1335 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1338 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1339 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1340 | --oldin | --oldi | --old | --ol | --o)
1341 ac_prev
=oldincludedir
;;
1342 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1343 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1344 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1345 oldincludedir
=$ac_optarg ;;
1347 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1349 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1350 prefix
=$ac_optarg ;;
1352 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1353 | --program-pre | --program-pr | --program-p)
1354 ac_prev
=program_prefix
;;
1355 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1356 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1357 program_prefix
=$ac_optarg ;;
1359 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1360 | --program-suf | --program-su | --program-s)
1361 ac_prev
=program_suffix
;;
1362 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1363 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1364 program_suffix
=$ac_optarg ;;
1366 -program-transform-name | --program-transform-name \
1367 | --program-transform-nam | --program-transform-na \
1368 | --program-transform-n | --program-transform- \
1369 | --program-transform | --program-transfor \
1370 | --program-transfo | --program-transf \
1371 | --program-trans | --program-tran \
1372 | --progr-tra | --program-tr | --program-t)
1373 ac_prev
=program_transform_name
;;
1374 -program-transform-name=* | --program-transform-name=* \
1375 | --program-transform-nam=* | --program-transform-na=* \
1376 | --program-transform-n=* | --program-transform-=* \
1377 | --program-transform=* | --program-transfor=* \
1378 | --program-transfo=* | --program-transf=* \
1379 | --program-trans=* | --program-tran=* \
1380 | --progr-tra=* | --program-tr=* | --program-t=*)
1381 program_transform_name
=$ac_optarg ;;
1383 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1385 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1386 pdfdir
=$ac_optarg ;;
1388 -psdir | --psdir | --psdi | --psd | --ps)
1390 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1393 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1394 | -silent | --silent | --silen | --sile | --sil)
1397 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1399 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1401 sbindir
=$ac_optarg ;;
1403 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1404 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1405 | --sharedst | --shareds | --shared | --share | --shar \
1407 ac_prev
=sharedstatedir
;;
1408 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1409 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1410 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1412 sharedstatedir
=$ac_optarg ;;
1414 -site | --site | --sit)
1416 -site=* | --site=* | --sit=*)
1419 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1421 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1422 srcdir
=$ac_optarg ;;
1424 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1425 | --syscon | --sysco | --sysc | --sys | --sy)
1426 ac_prev
=sysconfdir
;;
1427 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1428 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1429 sysconfdir
=$ac_optarg ;;
1431 -target | --target | --targe | --targ | --tar | --ta | --t)
1432 ac_prev
=target_alias
;;
1433 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1434 target_alias
=$ac_optarg ;;
1436 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1439 -version | --version | --versio | --versi | --vers | -V)
1440 ac_init_version
=: ;;
1443 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1444 # Reject names that are not valid shell variable names.
1445 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1446 { echo "$as_me: error: invalid package name: $ac_package" >&2
1447 { (exit 1); exit 1; }; }
1448 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1449 eval with_
$ac_package=\
$ac_optarg ;;
1451 -without-* | --without-*)
1452 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1453 # Reject names that are not valid shell variable names.
1454 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1455 { echo "$as_me: error: invalid package name: $ac_package" >&2
1456 { (exit 1); exit 1; }; }
1457 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1458 eval with_
$ac_package=no
;;
1461 # Obsolete; use --with-x.
1464 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1465 | --x-incl | --x-inc | --x-in | --x-i)
1466 ac_prev
=x_includes
;;
1467 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1468 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1469 x_includes
=$ac_optarg ;;
1471 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1472 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1473 ac_prev
=x_libraries
;;
1474 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1475 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1476 x_libraries
=$ac_optarg ;;
1478 -*) { echo "$as_me: error: unrecognized option: $ac_option
1479 Try \`$0 --help' for more information." >&2
1480 { (exit 1); exit 1; }; }
1484 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1485 # Reject names that are not valid shell variable names.
1486 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1487 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1488 { (exit 1); exit 1; }; }
1489 eval $ac_envvar=\
$ac_optarg
1490 export $ac_envvar ;;
1493 # FIXME: should be removed in autoconf 3.0.
1494 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1495 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1496 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1497 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1503 if test -n "$ac_prev"; then
1504 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1505 { echo "$as_me: error: missing argument to $ac_option" >&2
1506 { (exit 1); exit 1; }; }
1509 # Be sure to have absolute directory names.
1510 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1511 datadir sysconfdir sharedstatedir localstatedir includedir \
1512 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1513 libdir localedir mandir
1515 eval ac_val
=\$
$ac_var
1517 [\\/$
]* | ?
:[\\/]* ) continue;;
1518 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1520 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1521 { (exit 1); exit 1; }; }
1524 # There might be people who depend on the old broken behavior: `$host'
1525 # used to hold the argument of --host etc.
1526 # FIXME: To remove some day.
1529 target
=$target_alias
1531 # FIXME: To remove some day.
1532 if test "x$host_alias" != x
; then
1533 if test "x$build_alias" = x
; then
1534 cross_compiling
=maybe
1535 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1536 If a cross compiler is detected then cross compile mode will be used." >&2
1537 elif test "x$build_alias" != "x$host_alias"; then
1543 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1545 test "$silent" = yes && exec 6>/dev
/null
1548 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1549 ac_ls_di
=`ls -di .` &&
1550 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1551 { echo "$as_me: error: Working directory cannot be determined" >&2
1552 { (exit 1); exit 1; }; }
1553 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1554 { echo "$as_me: error: pwd does not report name of working directory" >&2
1555 { (exit 1); exit 1; }; }
1558 # Find the source files, if location was not specified.
1559 if test -z "$srcdir"; then
1560 ac_srcdir_defaulted
=yes
1561 # Try the directory containing this script, then the parent directory.
1562 ac_confdir
=`$as_dirname -- "$0" ||
1563 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1564 X"$0" : 'X\(//\)[^/]' \| \
1565 X"$0" : 'X\(//\)$' \| \
1566 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1568 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1586 if test ! -r "$srcdir/$ac_unique_file"; then
1590 ac_srcdir_defaulted
=no
1592 if test ! -r "$srcdir/$ac_unique_file"; then
1593 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1594 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1595 { (exit 1); exit 1; }; }
1597 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1599 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1600 { (exit 1); exit 1; }; }
1602 # When building in place, set srcdir=.
1603 if test "$ac_abs_confdir" = "$ac_pwd"; then
1606 # Remove unnecessary trailing slashes from srcdir.
1607 # Double slashes in file names in object file debugging info
1608 # mess up M-x gdb in Emacs.
1610 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1612 for ac_var
in $ac_precious_vars; do
1613 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1614 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1615 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1616 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1620 # Report the --help message.
1622 if test "$ac_init_help" = "long"; then
1623 # Omit some internal or obsolete options to make the list less imposing.
1624 # This message is too long to be a string in the A/UX 3.1 sh.
1626 \`configure' configures wxWidgets 2.9.4 to adapt to many kinds of systems.
1628 Usage: $0 [OPTION]... [VAR=VALUE]...
1630 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1631 VAR=VALUE. See below for descriptions of some of the useful variables.
1633 Defaults for the options are specified in brackets.
1636 -h, --help display this help and exit
1637 --help=short display options specific to this package
1638 --help=recursive display the short help of all the included packages
1639 -V, --version display version information and exit
1640 -q, --quiet, --silent do not print \`checking...' messages
1641 --cache-file=FILE cache test results in FILE [disabled]
1642 -C, --config-cache alias for \`--cache-file=config.cache'
1643 -n, --no-create do not create output files
1644 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1646 Installation directories:
1647 --prefix=PREFIX install architecture-independent files in PREFIX
1648 [$ac_default_prefix]
1649 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1652 By default, \`make install' will install all the files in
1653 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1654 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1655 for instance \`--prefix=\$HOME'.
1657 For better control, use the options below.
1659 Fine tuning of the installation directories:
1660 --bindir=DIR user executables [EPREFIX/bin]
1661 --sbindir=DIR system admin executables [EPREFIX/sbin]
1662 --libexecdir=DIR program executables [EPREFIX/libexec]
1663 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1664 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1665 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1666 --libdir=DIR object code libraries [EPREFIX/lib]
1667 --includedir=DIR C header files [PREFIX/include]
1668 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1669 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1670 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1671 --infodir=DIR info documentation [DATAROOTDIR/info]
1672 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1673 --mandir=DIR man documentation [DATAROOTDIR/man]
1674 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1675 --htmldir=DIR html documentation [DOCDIR]
1676 --dvidir=DIR dvi documentation [DOCDIR]
1677 --pdfdir=DIR pdf documentation [DOCDIR]
1678 --psdir=DIR ps documentation [DOCDIR]
1684 --x-includes=DIR X include files are
in DIR
1685 --x-libraries=DIR X library files are
in DIR
1688 --build=BUILD configure
for building on BUILD
[guessed
]
1689 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1693 if test -n "$ac_init_help"; then
1694 case $ac_init_help in
1695 short
| recursive
) echo "Configuration of wxWidgets 2.9.4:";;
1700 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1701 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1702 --disable-gui don
't build GUI parts of the library
1703 --enable-monolithic build wxWidgets as single library
1704 --enable-plugins build parts of wxWidgets as loadable components
1705 --enable-official_build official build of wxWidgets (win32 DLL only)
1706 --enable-vendor=VENDOR vendor name (win32 DLL only)
1707 --disable-all-features disable all optional features to build minimal library
1708 --enable-universal use wxWidgets GUI controls instead of native ones
1709 --enable-nanox use NanoX
1710 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1711 --enable-gpe use GNOME PDA Environment features if possible
1712 --enable-debug build library for debugging
1713 --disable-debug_flag disable all debugging support
1714 --enable-debug_info generate debug information
1715 --enable-debug_gdb create code with extra GDB debugging information
1716 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1717 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1718 --disable-shared create static library instead of shared
1719 --enable-stl use standard C++ classes for everything
1720 --enable-std_containers use standard C++ container classes
1721 --enable-std_iostreams use standard C++ stream classes
1722 --enable-std_string use standard C++ string classes
1723 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1724 --disable-unicode compile without Unicode support
1725 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1726 --enable-utf8 use UTF-8 representation for strings (Unix only)
1727 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1728 --enable-extended_rtti use extended RTTI (XTI)
1729 --enable-omf use OMF object format
1730 --disable-optimise compile without optimisations
1731 --enable-profile create code with profiling information
1732 --enable-no_rtti create code without RTTI information
1733 --enable-no_exceptions create code without C++ exceptions handling
1734 --enable-permissive compile code disregarding strict ANSI
1735 --enable-no_deps create code without dependency information
1736 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1737 --enable-universal_binary=archs create universal binary
for the specified
(or all supported
) architectures
1738 --enable-macosx_arch=ARCH build
for just the specified architecture
1739 --enable-compat26 enable wxWidgets
2.6 compatibility
1740 --disable-compat28 disable wxWidgets
2.8 compatibility
1741 --disable-rpath disable use of rpath
for uninstalled builds
1742 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1743 --disable-visibility disable use of ELF symbols visibility even
if supported
1744 --disable-tls disable use of compiler TLS support
1745 --enable-intl use internationalization system
1746 --enable-xlocale use x
-locale support
(requires wxLocale
)
1747 --enable-config use wxConfig
(and derived
) classes
1748 --enable-protocols use wxProtocol and derived classes
1749 --enable-ftp use wxFTP
(requires wxProtocol
1750 --enable-http use wxHTTP
(requires wxProtocol
1751 --enable-fileproto use wxFileProto class
(requires wxProtocol
1752 --enable-sockets use socket
/network classes
1753 --enable-ipv6 enable IPv6 support
in wxSocket
1754 --enable-ole use OLE classes
(Win32 only
)
1755 --enable-dataobj use data object classes
1756 --enable-ipc use interprocess communication
(wxSocket etc.
)
1757 --enable-baseevtloop use event loop
in console programs too
1758 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1759 --enable-selectloop use wxSelectDispatcher class
1760 --enable-any use wxAny class
1761 --enable-apple_ieee use the Apple IEEE codec
1762 --enable-arcstream use wxArchive streams
1763 --enable-base64 use base64 encoding
/decoding functions
1764 --enable-backtrace use wxStackWalker class
for getting backtraces
1765 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1766 --enable-cmdline use wxCmdLineParser class
1767 --enable-datetime use wxDateTime class
1768 --enable-debugreport use wxDebugReport class
1769 --enable-dialupman use dialup network classes
1770 --enable-dynlib use wxLibrary class
for DLL loading
1771 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1772 --enable-exceptions build exception
-safe library
1773 --enable-ffile use wxFFile class
1774 --enable-file use wxFile class
1775 --enable-filehistory use wxFileHistory class
1776 --enable-filesystem use virtual
file systems classes
1777 --enable-fontenum use wxFontEnumerator class
1778 --enable-fontmap use font encodings conversion classes
1779 --enable-fs_archive use virtual archive filesystems
1780 --enable-fs_inet use virtual HTTP
/FTP filesystems
1781 --enable-fs_zip now replaced by fs_archive
1782 --enable-fswatcher use wxFileSystemWatcher class
1783 --enable-geometry use geometry class
1784 --enable-log use logging system
1785 --enable-longlong use wxLongLong class
1786 --enable-mimetype use wxMimeTypesManager
1787 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1788 --enable-snglinst use wxSingleInstanceChecker class
1789 --enable-sound use wxSound class
1790 --enable-stdpaths use wxStandardPaths class
1791 --enable-stopwatch use wxStopWatch class
1792 --enable-streams use wxStream etc classes
1793 --enable-sysoptions use wxSystemOptions
1794 --enable-tarstream use wxTar streams
1795 --enable-textbuf use wxTextBuffer class
1796 --enable-textfile use wxTextFile class
1797 --enable-timer use wxTimer class
1798 --enable-variant use wxVariant class
1799 --enable-zipstream use wxZip streams
1800 --enable-url use wxURL class
1801 --enable-protocol use wxProtocol class
1802 --enable-protocol-http HTTP support
in wxProtocol
1803 --enable-protocol-ftp FTP support
in wxProtocol
1804 --enable-protocol-file FILE support
in wxProtocol
1805 --enable-threads use threads
1806 --enable-iniconf use wxIniConfig
(Win32 only
)
1807 --enable-regkey use wxRegKey class
(Win32 only
)
1808 --enable-docview use document view architecture
1809 --enable-help use
help subsystem
1810 --enable-mshtmlhelp use MS HTML Help
(win32
)
1811 --enable-html use wxHTML sub
-library
1812 --enable-htmlhelp use wxHTML
-based help
1813 --enable-xrc use XRC resources sub
-library
1814 --enable-aui use AUI docking library
1815 --enable-propgrid use wxPropertyGrid library
1816 --enable-ribbon use wxRibbon library
1817 --enable-stc use wxStyledTextCtrl library
1818 --enable-constraints use layout
-constraints system
1819 --enable-loggui use standard GUI logger
1820 --enable-logwin use wxLogWindow
1821 --enable-logdialog use wxLogDialog
1822 --enable-mdi use multiple document interface architecture
1823 --enable-mdidoc use docview architecture with MDI
1824 --enable-mediactrl use wxMediaCtrl class
1825 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1826 --enable-richtext use wxRichTextCtrl
1827 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1828 --enable-printarch use printing architecture
1829 --enable-svg use wxSVGFileDC device context
1830 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
1831 --enable-webview use wxWebView library
1832 --enable-graphics_ctx use graphics context
2D drawing API
1833 --enable-clipboard use wxClipboard class
1834 --enable-dnd use Drag
'n'Drop classes
1835 --disable-controls disable compilation of all standard controls
1836 --enable-markup support wxControl
::SetLabelMarkup
1837 --enable-accel use accelerators
1838 --enable-animatectrl use wxAnimationCtrl class
1839 --enable-bannerwindow use wxBannerWindow class
1840 --enable-artstd use standard XPM icons
in wxArtProvider
1841 --enable-arttango use Tango icons
in wxArtProvider
1842 --enable-bmpbutton use wxBitmapButton class
1843 --enable-bmpcombobox use wxBitmapComboBox class
1844 --enable-button use wxButton class
1845 --enable-calendar use wxCalendarCtrl class
1846 --enable-caret use wxCaret class
1847 --enable-checkbox use wxCheckBox class
1848 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1849 --enable-choice use wxChoice class
1850 --enable-choicebook use wxChoicebook class
1851 --enable-collpane use wxCollapsiblePane class
1852 --enable-colourpicker use wxColourPickerCtrl class
1853 --enable-combobox use wxComboBox class
1854 --enable-comboctrl use wxComboCtrl class
1855 --enable-commandlinkbutton use wxCommmandLinkButton class
1856 --enable-dataviewctrl use wxDataViewCtrl class
1857 --enable-datepick use wxDatePickerCtrl class
1858 --enable-detect_sm use code to detect X11 session manager
1859 --enable-dirpicker use wxDirPickerCtrl class
1860 --enable-display use wxDisplay class
1861 --enable-editablebox use wxEditableListBox class
1862 --enable-filectrl use wxFileCtrl class
1863 --enable-filepicker use wxFilePickerCtrl class
1864 --enable-fontpicker use wxFontPickerCtrl class
1865 --enable-gauge use wxGauge class
1866 --enable-grid use wxGrid class
1867 --enable-headerctrl use wxHeaderCtrl class
1868 --enable-hyperlink use wxHyperlinkCtrl class
1869 --enable-imaglist use wxImageList class
1870 --enable-infobar use wxInfoBar class
1871 --enable-listbook use wxListbook class
1872 --enable-listbox use wxListBox class
1873 --enable-listctrl use wxListCtrl class
1874 --enable-notebook use wxNotebook class
1875 --enable-notifmsg use wxNotificationMessage class
1876 --enable-odcombobox use wxOwnerDrawnComboBox class
1877 --enable-popupwin use wxPopUpWindow class
1878 --enable-radiobox use wxRadioBox class
1879 --enable-radiobtn use wxRadioButton class
1880 --enable-richmsgdlg use wxRichMessageDialog class
1881 --enable-richtooltip use wxRichToolTip class
1882 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1883 --enable-sash use wxSashWindow class
1884 --enable-scrollbar use wxScrollBar class and scrollable windows
1885 --enable-searchctrl use wxSearchCtrl class
1886 --enable-slider use wxSlider class
1887 --enable-spinbtn use wxSpinButton class
1888 --enable-spinctrl use wxSpinCtrl class
1889 --enable-splitter use wxSplitterWindow class
1890 --enable-statbmp use wxStaticBitmap class
1891 --enable-statbox use wxStaticBox class
1892 --enable-statline use wxStaticLine class
1893 --enable-stattext use wxStaticText class
1894 --enable-statusbar use wxStatusBar class
1895 --enable-taskbaricon use wxTaskBarIcon class
1896 --enable-tbarnative use native wxToolBar class
1897 --enable-textctrl use wxTextCtrl class
1898 --enable-timepick use wxTimePickerCtrl class
1899 --enable-tipwindow use wxTipWindow class
1900 --enable-togglebtn use wxToggleButton class
1901 --enable-toolbar use wxToolBar class
1902 --enable-toolbook use wxToolbook class
1903 --enable-treebook use wxTreebook class
1904 --enable-treectrl use wxTreeCtrl class
1905 --enable-treelist use wxTreeListCtrl class
1906 --enable-commondlg use all common dialogs
1907 --enable-aboutdlg use wxAboutBox
1908 --enable-choicedlg use wxChoiceDialog
1909 --enable-coldlg use wxColourDialog
1910 --enable-filedlg use wxFileDialog
1911 --enable-finddlg use wxFindReplaceDialog
1912 --enable-fontdlg use wxFontDialog
1913 --enable-dirdlg use wxDirDialog
1914 --enable-msgdlg use wxMessageDialog
1915 --enable-numberdlg use wxNumberEntryDialog
1916 --enable-splash use wxSplashScreen
1917 --enable-textdlg use wxTextDialog
1918 --enable-tipdlg use startup tips
1919 --enable-progressdlg use wxProgressDialog
1920 --enable-wizarddlg use wxWizard
1921 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1922 --enable-miniframe use wxMiniFrame class
1923 --enable-tooltips use wxToolTip class
1924 --enable-splines use spline drawing code
1925 --enable-mousewheel use mousewheel
1926 --enable-validators use wxValidator and derived classes
1927 --enable-busyinfo use wxBusyInfo
1928 --enable-hotkey use wxWindow
::RegisterHotKey
()
1929 --enable-joystick use wxJoystick
1930 --enable-metafiles use wxMetaFile
1931 --enable-dragimage use wxDragImage
1932 --enable-accessibility enable accessibility support
1933 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1934 --enable-dctransform use wxDC
::SetTransformMatrix and related
1935 --enable-webview-webkit use wxWebView WebKit backend
1936 --enable-palette use wxPalette class
1937 --enable-image use wxImage class
1938 --enable-gif use gif images
(GIF
file format
)
1939 --enable-pcx use pcx images
(PCX
file format
)
1940 --enable-tga use tga images
(TGA
file format
)
1941 --enable-iff use iff images
(IFF
file format
)
1942 --enable-pnm use pnm images
(PNM
file format
)
1943 --enable-xpm use xpm images
(XPM
file format
)
1944 --enable-ico_cur use Windows ICO and CUR formats
1945 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1946 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1947 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1948 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1949 --enable-wxdib use wxDIB class
(Win32 only
)
1950 --enable-webview-ie use wxWebView IE backend
(Win32 only
)
1951 --enable-autoidman use automatic ids management
1952 --disable-largefile omit support
for large files
1953 --disable-gtktest do not try to compile and run a
test GTK
+ program
1954 --disable-gtktest Do not try to compile and run a
test GTK program
1955 --disable-sdltest Do not try to compile and run a
test SDL program
1956 --enable-omf use OMF object format
(OS
/2)
1957 --disable-dependency-tracking
1958 don
't use dependency tracking even if the compiler
1960 --disable-precomp-headers
1961 don't use precompiled headers even
if compiler can
1964 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1965 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1966 --without-subdirs don
't generate makefiles for samples/demos/...
1967 --with-flavour=NAME specify a name to identify this build
1968 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1969 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1970 --with-motif use Motif/Lesstif
1971 --with-osx_carbon use Mac OS X (Carbon)
1972 --with-osx_cocoa use Mac OS X (Cocoa)
1973 --with-osx_iphone use iPhone OS X port
1974 --with-osx use Mac OS X (default port, currently Carbon)
1975 --with-carbon same as --with-osx_carbon
1976 --with-cocoa same as --with-osx_cocoa
1977 --with-iphone same as --with-osx_iphone
1978 --with-mac same as --with-osx
1979 --with-old_cocoa use old, deprecated, Cocoa port
1980 --with-wine use Wine
1981 --with-msw use MS-Windows
1982 --with-pm use OS/2 Presentation Manager
1983 --with-directfb use DirectFB
1984 --with-microwin use MicroWindows
1986 --with-libpng use libpng (PNG image format)
1987 --with-libjpeg use libjpeg (JPEG file format)
1988 --with-libtiff use libtiff (TIFF file format)
1989 --with-libxpm use libxpm (XPM file format)
1990 --with-libiconv use libiconv (character conversion)
1991 --with-libmspack use libmspack (CHM help files loading)
1992 --without-gtkprint don't use GTK printing support
1993 --without-gnomeprint don
't use GNOME printing libraries
1994 --with-gnomevfs use GNOME VFS for associating MIME types
1995 --with-hildon use Hildon framework for Nokia 770/800/810
1996 --with-opengl use OpenGL (or Mesa)
1997 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1998 --with-sdl use SDL for audio on Unix
1999 --with-regex enable support for wxRegEx class
2000 --with-zlib use zlib for LZW compression
2001 --with-expat enable XML support using expat parser
2002 --with-macosx-sdk=PATH use an OS X SDK at PATH
2003 --with-macosx-version-min=VER build binaries which require at least this OS X version
2004 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
2005 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
2006 --with-x use the X Window System
2007 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
2008 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
2009 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
2010 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
2011 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
2013 Some influential environment variables:
2014 CC C compiler command
2015 CFLAGS C compiler flags
2016 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2017 nonstandard directory <lib dir>
2018 LIBS libraries to pass to the linker, e.g. -l<library>
2019 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
2020 you have headers in a nonstandard directory <include dir>
2022 CXX C++ compiler command
2023 CXXFLAGS C++ compiler flags
2024 CXXCPP C++ preprocessor
2025 PKG_CONFIG path to pkg-config utility
2027 C compiler flags for DIRECTFB, overriding pkg-config
2029 linker flags for DIRECTFB, overriding pkg-config
2030 XMKMF Path to xmkmf, Makefile generator for X Window System
2032 C compiler flags for PANGOX, overriding pkg-config
2033 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2035 C compiler flags for PANGOFT2, overriding pkg-config
2037 linker flags for PANGOFT2, overriding pkg-config
2039 C compiler flags for PANGOXFT, overriding pkg-config
2041 linker flags for PANGOXFT, overriding pkg-config
2043 C compiler flags for Xinerama, overriding pkg-config
2045 linker flags for Xinerama, overriding pkg-config
2047 C compiler flags for Xxf86vm, overriding pkg-config
2049 linker flags for Xxf86vm, overriding pkg-config
2050 SM_CFLAGS C compiler flags for SM, overriding pkg-config
2051 SM_LIBS linker flags for SM, overriding pkg-config
2052 GL_CFLAGS C compiler flags for GL, overriding pkg-config
2053 GL_LIBS linker flags for GL, overriding pkg-config
2054 GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
2055 GLU_LIBS linker flags for GLU, overriding pkg-config
2057 C compiler flags for MesaGL, overriding pkg-config
2058 MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
2060 C compiler flags for GTKPRINT, overriding pkg-config
2062 linker flags for GTKPRINT, overriding pkg-config
2063 LIBGNOMEPRINTUI_CFLAGS
2064 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2065 LIBGNOMEPRINTUI_LIBS
2066 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2068 C compiler flags for GNOMEVFS, overriding pkg-config
2070 linker flags for GNOMEVFS, overriding pkg-config
2072 C compiler flags for HILDON, overriding pkg-config
2073 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2075 C compiler flags for HILDON2, overriding pkg-config
2077 linker flags for HILDON2, overriding pkg-config
2079 C compiler flags for WEBKIT, overriding pkg-config
2080 WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
2082 C compiler flags for CAIRO, overriding pkg-config
2083 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2084 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2085 GST_LIBS linker flags for GST, overriding pkg-config
2087 Use these variables to override the choices made by `configure' or to
help
2088 it to
find libraries and programs with nonstandard names
/locations.
2090 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2095 if test "$ac_init_help" = "recursive"; then
2096 # If there are subdirs, report their specific --help.
2097 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2098 test -d "$ac_dir" || continue
2102 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2104 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2105 # A ".." for each directory in $ac_dir_suffix.
2106 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2107 case $ac_top_builddir_sub in
2108 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2109 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2112 ac_abs_top_builddir
=$ac_pwd
2113 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2114 # for backward compatibility:
2115 ac_top_builddir
=$ac_top_build_prefix
2118 .
) # We are building in place.
2120 ac_top_srcdir
=$ac_top_builddir_sub
2121 ac_abs_top_srcdir
=$ac_pwd ;;
2122 [\\/]* | ?
:[\\/]* ) # Absolute name.
2123 ac_srcdir
=$srcdir$ac_dir_suffix;
2124 ac_top_srcdir
=$srcdir
2125 ac_abs_top_srcdir
=$srcdir ;;
2127 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2128 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2129 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2131 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2133 cd "$ac_dir" || { ac_status
=$?
; continue; }
2134 # Check for guested configure.
2135 if test -f "$ac_srcdir/configure.gnu"; then
2137 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2138 elif test -f "$ac_srcdir/configure"; then
2140 $SHELL "$ac_srcdir/configure" --help=recursive
2142 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2144 cd "$ac_pwd" || { ac_status
=$?
; break; }
2148 test -n "$ac_init_help" && exit $ac_status
2149 if $ac_init_version; then
2151 wxWidgets configure
2.9.4
2152 generated by GNU Autoconf
2.61
2154 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2155 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2156 This configure
script is free software
; the Free Software Foundation
2157 gives unlimited permission to copy
, distribute and modify it.
2161 cat >config.log
<<_ACEOF
2162 This file contains any messages produced by compilers while
2163 running configure, to aid debugging if configure makes a mistake.
2165 It was created by wxWidgets $as_me 2.9.4, which was
2166 generated by GNU Autoconf 2.61. Invocation command line was
2178 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2179 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2180 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2181 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2182 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2184 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2185 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2187 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2188 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2189 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2190 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2191 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2192 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2193 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2201 test -z "$as_dir" && as_dir
=.
2202 echo "PATH: $as_dir"
2218 # Keep a trace of the command line.
2219 # Strip out --no-create and --no-recursion so they do not pile up.
2220 # Strip out --silent because we don't want to record it for future runs.
2221 # Also quote any args containing shell meta-characters.
2222 # Make two passes to allow for proper duplicate-argument suppression.
2226 ac_must_keep_next
=false
2232 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2233 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2234 | -silent | --silent | --silen | --sile | --sil)
2237 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2240 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2242 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2243 if test $ac_must_keep_next = true
; then
2244 ac_must_keep_next
=false
# Got value, back to normal.
2247 *=* | --config-cache | -C | -disable-* | --disable-* \
2248 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2249 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2250 | -with-* | --with-* | -without-* | --without-* | --x)
2251 case "$ac_configure_args0 " in
2252 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2255 -* ) ac_must_keep_next
=true
;;
2258 ac_configure_args
="$ac_configure_args '$ac_arg'"
2263 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2264 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2266 # When interrupted or exit'd, cleanup temporary files, and complete
2267 # config.log. We remove comments because anyway the quotes in there
2268 # would cause problems or look ugly.
2269 # WARNING: Use '\'' to represent an apostrophe within the trap.
2270 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2271 trap 'exit_status=$?
2272 # Save into config.log some information that might help in debugging.
2277 ## ---------------- ##
2278 ## Cache variables. ##
2279 ## ---------------- ##
2282 # The following way of writing the cache mishandles newlines in values,
2284 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2285 eval ac_val=\$$ac_var
2289 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2290 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2293 _ | IFS | as_nl) ;; #(
2294 *) $as_unset $ac_var ;;
2299 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2300 *${as_nl}ac_space=\ *)
2302 "s/'\''/'\''\\\\'\'''\''/g;
2303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2306 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2314 ## ----------------- ##
2315 ## Output variables. ##
2316 ## ----------------- ##
2319 for ac_var in $ac_subst_vars
2321 eval ac_val=\$$ac_var
2323 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2325 echo "$ac_var='\''$ac_val'\''"
2329 if test -n "$ac_subst_files"; then
2331 ## ------------------- ##
2332 ## File substitutions. ##
2333 ## ------------------- ##
2336 for ac_var
in $ac_subst_files
2338 eval ac_val
=\$
$ac_var
2340 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2342 echo "$ac_var='\''$ac_val'\''"
2347 if test -s confdefs.h; then
2357 test "$ac_signal" != 0 &&
2358 echo "$as_me: caught signal $ac_signal"
2359 echo "$as_me: exit $exit_status"
2361 rm -f core *.core core.conftest.* &&
2362 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2365 for ac_signal
in 1 2 13 15; do
2366 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2370 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2371 rm -f -r conftest
* confdefs.h
2373 # Predefined preprocessor variables.
2375 cat >>confdefs.h
<<_ACEOF
2376 #define PACKAGE_NAME "$PACKAGE_NAME"
2380 cat >>confdefs.h
<<_ACEOF
2381 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2385 cat >>confdefs.h
<<_ACEOF
2386 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2390 cat >>confdefs.h
<<_ACEOF
2391 #define PACKAGE_STRING "$PACKAGE_STRING"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2400 # Let the site file select an alternate cache file if it wants to.
2401 # Prefer explicitly selected file to automatically selected ones.
2402 if test -n "$CONFIG_SITE"; then
2403 set x
"$CONFIG_SITE"
2404 elif test "x$prefix" != xNONE
; then
2405 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2407 set x
"$ac_default_prefix/share/config.site" \
2408 "$ac_default_prefix/etc/config.site"
2413 if test -r "$ac_site_file"; then
2414 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2415 echo "$as_me: loading site script $ac_site_file" >&6;}
2416 sed 's/^/| /' "$ac_site_file" >&5
2421 if test -r "$cache_file"; then
2422 # Some versions of bash will fail to source /dev/null (special
2423 # files actually), so we avoid doing that.
2424 if test -f "$cache_file"; then
2425 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2426 echo "$as_me: loading cache $cache_file" >&6;}
2428 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2429 *) .
"./$cache_file";;
2433 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2434 echo "$as_me: creating cache $cache_file" >&6;}
2438 # Check that the precious variables saved in the cache have kept the same
2440 ac_cache_corrupted
=false
2441 for ac_var
in $ac_precious_vars; do
2442 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2443 eval ac_new_set
=\
$ac_env_${ac_var}_set
2444 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2445 eval ac_new_val
=\
$ac_env_${ac_var}_value
2446 case $ac_old_set,$ac_new_set in
2448 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2449 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2450 ac_cache_corrupted
=: ;;
2452 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2453 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2454 ac_cache_corrupted
=: ;;
2457 if test "x$ac_old_val" != "x$ac_new_val"; then
2458 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2459 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2460 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2461 echo "$as_me: former value: $ac_old_val" >&2;}
2462 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2463 echo "$as_me: current value: $ac_new_val" >&2;}
2464 ac_cache_corrupted
=:
2467 # Pass precious variables to config.status.
2468 if test "$ac_new_set" = set; then
2470 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2471 *) ac_arg
=$ac_var=$ac_new_val ;;
2473 case " $ac_configure_args " in
2474 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2475 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2479 if $ac_cache_corrupted; then
2480 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2481 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2482 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2483 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2484 { (exit 1); exit 1; }; }
2512 ac_cpp
='$CPP $CPPFLAGS'
2513 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2514 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2515 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2522 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2523 if test -f "$ac_dir/install-sh"; then
2525 ac_install_sh
="$ac_aux_dir/install-sh -c"
2527 elif test -f "$ac_dir/install.sh"; then
2529 ac_install_sh
="$ac_aux_dir/install.sh -c"
2531 elif test -f "$ac_dir/shtool"; then
2533 ac_install_sh
="$ac_aux_dir/shtool install -c"
2537 if test -z "$ac_aux_dir"; then
2538 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2539 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2540 { (exit 1); exit 1; }; }
2543 # These three variables are undocumented and unsupported,
2544 # and are intended to be withdrawn in a future Autoconf release.
2545 # They can cause serious problems if a builder's source tree is in a directory
2546 # whose full name contains unusual characters.
2547 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2548 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2549 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2552 # Make sure we can run config.sub.
2553 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2554 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2555 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2556 { (exit 1); exit 1; }; }
2558 { echo "$as_me:$LINENO: checking build system type" >&5
2559 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2560 if test "${ac_cv_build+set}" = set; then
2561 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 ac_build_alias
=$build_alias
2564 test "x$ac_build_alias" = x
&&
2565 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2566 test "x$ac_build_alias" = x
&&
2567 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2568 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2569 { (exit 1); exit 1; }; }
2570 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2571 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2572 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2573 { (exit 1); exit 1; }; }
2576 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2577 echo "${ECHO_T}$ac_cv_build" >&6; }
2578 case $ac_cv_build in
2580 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2581 echo "$as_me: error: invalid value of canonical build" >&2;}
2582 { (exit 1); exit 1; }; };;
2585 ac_save_IFS
=$IFS; IFS
='-'
2591 # Remember, the first character of IFS is used to create $*,
2592 # except with old shells:
2595 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2598 { echo "$as_me:$LINENO: checking host system type" >&5
2599 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2600 if test "${ac_cv_host+set}" = set; then
2601 echo $ECHO_N "(cached) $ECHO_C" >&6
2603 if test "x$host_alias" = x
; then
2604 ac_cv_host
=$ac_cv_build
2606 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2607 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2608 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2609 { (exit 1); exit 1; }; }
2613 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2614 echo "${ECHO_T}$ac_cv_host" >&6; }
2617 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2618 echo "$as_me: error: invalid value of canonical host" >&2;}
2619 { (exit 1); exit 1; }; };;
2622 ac_save_IFS
=$IFS; IFS
='-'
2628 # Remember, the first character of IFS is used to create $*,
2629 # except with old shells:
2632 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2636 if test "$cross_compiling" != "no"; then
2637 HOST_PREFIX
="${host_alias}-"
2638 HOST_SUFFIX
="-$host_alias"
2645 wx_major_version_number
=2
2646 wx_minor_version_number
=9
2648 wx_subrelease_number
=0
2650 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2651 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2652 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2654 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2657 wx_top_builddir
="`pwd`"
2670 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2676 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2682 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2684 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
2686 DEFAULT_wxUSE_OLD_COCOA
=0
2688 DEFAULT_wxUSE_OSX_CARBON
=0
2689 DEFAULT_wxUSE_OSX_COCOA
=0
2690 DEFAULT_wxUSE_OSX_IPHONE
=0
2691 DEFAULT_wxUSE_MICROWIN
=0
2692 DEFAULT_wxUSE_MOTIF
=0
2698 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2699 DEFAULT_DEFAULT_wxUSE_GTK
=0
2700 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2701 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2702 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2703 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2704 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2705 DEFAULT_DEFAULT_wxUSE_MSW
=0
2706 DEFAULT_DEFAULT_wxUSE_PM
=0
2707 DEFAULT_DEFAULT_wxUSE_X11
=0
2708 DEFAULT_DEFAULT_wxUSE_DFB
=0
2712 DYLIB_RPATH_INSTALL
=
2713 DYLIB_RPATH_POSTLINK
=
2715 DEFAULT_STD_FLAG
=yes
2720 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2721 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2722 cat >>confdefs.h
<<\_ACEOF
2727 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2731 cat >>confdefs.h
<<\_ACEOF
2736 if test "x$TMP" = "xalpha"; then
2738 cat >>confdefs.h
<<\_ACEOF
2743 DEFAULT_DEFAULT_wxUSE_GTK
=1
2745 *-*-gnu* | *-*-k*bsd
*-gnu )
2748 if test "x$TMP" = "xalpha"; then
2750 cat >>confdefs.h
<<\_ACEOF
2755 DEFAULT_DEFAULT_wxUSE_GTK
=1
2757 *-*-irix5* | *-*-irix6* )
2760 cat >>confdefs.h
<<\_ACEOF
2764 cat >>confdefs.h
<<\_ACEOF
2768 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2772 cat >>confdefs.h
<<\_ACEOF
2776 DEFAULT_DEFAULT_wxUSE_X11
=1
2782 cat >>confdefs.h
<<\_ACEOF
2786 cat >>confdefs.h
<<\_ACEOF
2787 #define __SOLARIS__ 1
2790 cat >>confdefs.h
<<\_ACEOF
2794 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2795 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2801 cat >>confdefs.h
<<\_ACEOF
2805 cat >>confdefs.h
<<\_ACEOF
2809 cat >>confdefs.h
<<\_ACEOF
2813 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2818 cat >>confdefs.h
<<\_ACEOF
2819 #define __FREEBSD__ 1
2822 cat >>confdefs.h
<<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_GTK
=1
2828 *-*-openbsd*|*-*-mirbsd*)
2831 cat >>confdefs.h
<<\_ACEOF
2832 #define __OPENBSD__ 1
2835 cat >>confdefs.h
<<\_ACEOF
2839 DEFAULT_DEFAULT_wxUSE_GTK
=1
2844 cat >>confdefs.h
<<\_ACEOF
2845 #define __NETBSD__ 1
2848 cat >>confdefs.h
<<\_ACEOF
2852 DEFAULT_DEFAULT_wxUSE_GTK
=1
2853 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2855 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2860 cat >>confdefs.h
<<\_ACEOF
2864 cat >>confdefs.h
<<\_ACEOF
2868 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2869 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2874 cat >>confdefs.h
<<\_ACEOF
2878 cat >>confdefs.h
<<\_ACEOF
2882 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2887 cat >>confdefs.h
<<\_ACEOF
2891 cat >>confdefs.h
<<\_ACEOF
2895 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2901 cat >>confdefs.h
<<\_ACEOF
2905 cat >>confdefs.h
<<\_ACEOF
2909 cat >>confdefs.h
<<\_ACEOF
2913 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2920 cat >>confdefs.h
<<\_ACEOF
2921 #define __UNIXWARE__ 1
2926 *-*-cygwin* | *-*-mingw32* )
2928 DEFAULT_DEFAULT_wxUSE_MSW
=1
2934 cat >>confdefs.h
<<\_ACEOF
2941 *-pc-os2_emx | *-pc-os2-emx )
2942 cat >>confdefs.h
<<\_ACEOF
2947 cat >>confdefs.h
<<\_ACEOF
2952 DEFAULT_DEFAULT_wxUSE_PM
=1
2954 LDFLAGS
="$LDFLAGS -Zcrtdll"
2955 ac_executable_extensions
=".exe"
2956 export ac_executable_extensions
2960 for ac_dir
in $PATH; do
2962 if test -z "$ac_TEMP_PATH"; then
2963 ac_TEMP_PATH
="$ac_dir"
2965 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2968 export PATH
="$ac_TEMP_PATH"
2976 cat >>confdefs.h
<<\_ACEOF
2980 cat >>confdefs.h
<<\_ACEOF
2981 #define __DARWIN__ 1
2984 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2990 cat >>confdefs.h
<<\_ACEOF
2994 cat >>confdefs.h
<<\_ACEOF
2995 #define __DARWIN__ 1
2998 cat >>confdefs.h
<<\_ACEOF
2999 #define TARGET_CARBON 1
3002 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
3007 cat >>confdefs.h
<<\_ACEOF
3014 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
3015 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
3016 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
3017 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
3019 DEFAULT_DEFAULT_wxUSE_X11
=1
3020 DEFAULT_wxUSE_SHARED
=no
3025 DEFAULT_wxUSE_ALL_FEATURES
=yes
3027 DEFAULT_wxUSE_STD_CONTAINERS
=no
3028 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
3029 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
3031 DEFAULT_wxUSE_DMALLOC
=no
3032 DEFAULT_wxUSE_LIBGNOMEVFS
=no
3033 DEFAULT_wxUSE_LIBHILDON
=no
3034 DEFAULT_wxUSE_LIBHILDON2
=no
3035 DEFAULT_wxUSE_LIBMSPACK
=no
3036 DEFAULT_wxUSE_LIBSDL
=no
3038 DEFAULT_wxUSE_ACCESSIBILITY
=no
3039 DEFAULT_wxUSE_IPV6
=no
3040 DEFAULT_wxUSE_GSTREAMER8
=no
3042 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
3043 DEFAULT_wxUSE_UNICODE_UTF8
=auto
3044 DEFAULT_wxUSE_OPENGL
=auto
3045 DEFAULT_wxUSE_MEDIACTRL
=auto
3046 DEFAULT_wxUSE_COMPILER_TLS
=auto
3047 DEFAULT_wxUSE_HOTKEY
=auto
3048 DEFAULT_wxUSE_METAFILE
=auto
3050 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
3052 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
3053 DEFAULT_wxUSE_MAC_ARCH
=no
3055 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3057 DEFAULT_wxUSE_GTK2
=yes
3059 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3065 enablestring
=disable
3067 if test -z "$defaultval"; then
3068 if test x
"$enablestring" = xdisable
; then
3075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3076 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3077 # Check whether --enable-gui was given.
3078 if test "${enable_gui+set}" = set; then
3079 enableval
=$enable_gui;
3080 if test "$enableval" = yes; then
3081 wx_cv_use_gui
='wxUSE_GUI=yes'
3083 wx_cv_use_gui
='wxUSE_GUI=no'
3088 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3093 eval "$wx_cv_use_gui"
3095 if test x"$enablestring" = xdisable; then
3096 if test $wxUSE_GUI = no; then
3105 { echo "$as_me:$LINENO: result: $result" >&5
3106 echo "${ECHO_T}$result" >&6; }
3111 if test -z "$defaultval"; then
3112 if test x"$enablestring" = xdisable; then
3119 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3120 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3121 # Check whether --enable-monolithic was given.
3122 if test "${enable_monolithic+set}" = set; then
3123 enableval=$enable_monolithic;
3124 if test "$enableval" = yes; then
3125 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3127 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3132 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3137 eval "$wx_cv_use_monolithic"
3139 if test x"$enablestring" = xdisable; then
3140 if test $wxUSE_MONOLITHIC = no; then
3146 result=$wxUSE_MONOLITHIC
3149 { echo "$as_me:$LINENO: result
: $result" >&5
3150 echo "${ECHO_T}$result" >&6; }
3155 if test -z "$defaultval"; then
3156 if test x"$enablestring" = xdisable; then
3163 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3164 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3165 # Check whether --enable-plugins was given.
3166 if test "${enable_plugins+set}" = set; then
3167 enableval=$enable_plugins;
3168 if test "$enableval" = yes; then
3169 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3171 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3176 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3181 eval "$wx_cv_use_plugins"
3183 if test x
"$enablestring" = xdisable
; then
3184 if test $wxUSE_PLUGINS = no
; then
3190 result
=$wxUSE_PLUGINS
3193 { echo "$as_me:$LINENO: result: $result" >&5
3194 echo "${ECHO_T}$result" >&6; }
3198 defaultval
=$wxUSE_ALL_FEATURES
3199 if test -z "$defaultval"; then
3200 if test x
"$withstring" = xwithout
; then
3206 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3207 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3209 # Check whether --with-subdirs was given.
3210 if test "${with_subdirs+set}" = set; then
3211 withval
=$with_subdirs;
3212 if test "$withval" = yes; then
3213 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3215 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3220 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3225 eval "$wx_cv_use_subdirs"
3227 if test x"$withstring" = xwithout; then
3228 if test $wxWITH_SUBDIRS = yes; then
3234 result=$wxWITH_SUBDIRS
3237 { echo "$as_me:$LINENO: result: $result" >&5
3238 echo "${ECHO_T}$result" >&6; }
3241 # Check whether --with-flavour was given.
3242 if test "${with_flavour+set}" = set; then
3243 withval=$with_flavour; WX_FLAVOUR="$withval"
3249 if test -z "$defaultval"; then
3250 if test x"$enablestring" = xdisable; then
3257 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3258 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3259 # Check whether --enable-official_build was given.
3260 if test "${enable_official_build+set}" = set; then
3261 enableval=$enable_official_build;
3262 if test "$enableval" = yes; then
3263 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3265 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3270 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3275 eval "$wx_cv_use_official_build"
3277 if test x"$enablestring" = xdisable; then
3278 if test $wxUSE_OFFICIAL_BUILD = no; then
3284 result=$wxUSE_OFFICIAL_BUILD
3287 { echo "$as_me:$LINENO: result
: $result" >&5
3288 echo "${ECHO_T}$result" >&6; }
3290 # Check whether --enable-vendor was given.
3291 if test "${enable_vendor+set}" = set; then
3292 enableval=$enable_vendor; VENDOR="$enableval"
3295 if test "x
$VENDOR" = "x
"; then
3300 enablestring=disable
3302 if test -z "$defaultval"; then
3303 if test x"$enablestring" = xdisable; then
3310 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3311 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3312 # Check whether --enable-all-features was given.
3313 if test "${enable_all_features+set}" = set; then
3314 enableval=$enable_all_features;
3315 if test "$enableval" = yes; then
3316 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3318 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3323 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3328 eval "$wx_cv_use_all_features"
3330 if test x
"$enablestring" = xdisable
; then
3331 if test $wxUSE_ALL_FEATURES = no
; then
3337 result
=$wxUSE_ALL_FEATURES
3340 { echo "$as_me:$LINENO: result: $result" >&5
3341 echo "${ECHO_T}$result" >&6; }
3344 if test "$wxUSE_ALL_FEATURES" = "no"; then
3345 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3346 DEFAULT_wxUSE_MEDIACTRL
=no
3350 if test "$wxUSE_GUI" = "yes"; then
3355 if test -z "$defaultval"; then
3356 if test x
"$enablestring" = xdisable
; then
3363 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3364 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3365 # Check whether --enable-universal was given.
3366 if test "${enable_universal+set}" = set; then
3367 enableval
=$enable_universal;
3368 if test "$enableval" = yes; then
3369 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3371 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3376 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3381 eval "$wx_cv_use_universal"
3383 if test x"$enablestring" = xdisable; then
3384 if test $wxUSE_UNIVERSAL = no; then
3390 result=$wxUSE_UNIVERSAL
3393 { echo "$as_me:$LINENO: result: $result" >&5
3394 echo "${ECHO_T}$result" >&6; }
3396 if test "$wxUSE_UNIVERSAL" = "yes"; then
3398 # Check whether --with-themes was given.
3399 if test "${with_themes+set}" = set; then
3400 withval=$with_themes; wxUNIV_THEMES="$withval"
3406 # Check whether --with-gtk was given.
3407 if test "${with_gtk+set}" = set; then
3408 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3412 # Check whether --with-motif was given.
3413 if test "${with_motif+set}" = set; then
3414 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3418 # Check whether --with-osx_carbon was given.
3419 if test "${with_osx_carbon+set}" = set; then
3420 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3424 # Check whether --with-osx_cocoa was given.
3425 if test "${with_osx_cocoa+set}" = set; then
3426 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3430 # Check whether --with-osx_iphone was given.
3431 if test "${with_osx_iphone+set}" = set; then
3432 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3436 # Check whether --with-osx was given.
3437 if test "${with_osx+set}" = set; then
3438 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3442 # Check whether --with-carbon was given.
3443 if test "${with_carbon+set}" = set; then
3444 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3448 # Check whether --with-cocoa was given.
3449 if test "${with_cocoa+set}" = set; then
3450 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3454 # Check whether --with-iphone was given.
3455 if test "${with_iphone+set}" = set; then
3456 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3460 # Check whether --with-mac was given.
3461 if test "${with_mac+set}" = set; then
3462 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3466 # Check whether --with-old_cocoa was given.
3467 if test "${with_old_cocoa+set}" = set; then
3468 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3472 # Check whether --with-wine was given.
3473 if test "${with_wine+set}" = set; then
3474 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3478 # Check whether --with-msw was given.
3479 if test "${with_msw+set}" = set; then
3480 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3484 # Check whether --with-pm was given.
3485 if test "${with_pm+set}" = set; then
3486 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3490 # Check whether --with-directfb was given.
3491 if test "${with_directfb+set}" = set; then
3492 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3496 # Check whether --with-microwin was given.
3497 if test "${with_microwin+set}" = set; then
3498 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3502 # Check whether --with-x11 was given.
3503 if test "${with_x11+set}" = set; then
3504 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3510 if test -z "$defaultval"; then
3511 if test x"$enablestring" = xdisable; then
3518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3519 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3520 # Check whether --enable-nanox was given.
3521 if test "${enable_nanox+set}" = set; then
3522 enableval=$enable_nanox;
3523 if test "$enableval" = yes; then
3524 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3526 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3531 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3536 eval "$wx_cv_use_nanox"
3538 if test x"$enablestring" = xdisable; then
3539 if test $wxUSE_NANOX = no; then
3548 { echo "$as_me:$LINENO: result
: $result" >&5
3549 echo "${ECHO_T}$result" >&6; }
3552 # Check whether --enable-gtk2 was given.
3553 if test "${enable_gtk2+set}" = set; then
3554 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3560 if test -z "$defaultval"; then
3561 if test x"$enablestring" = xdisable; then
3568 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3569 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3570 # Check whether --enable-gpe was given.
3571 if test "${enable_gpe+set}" = set; then
3572 enableval=$enable_gpe;
3573 if test "$enableval" = yes; then
3574 wx_cv_use_gpe='wxUSE_GPE=yes'
3576 wx_cv_use_gpe='wxUSE_GPE=no'
3581 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3586 eval "$wx_cv_use_gpe"
3588 if test x
"$enablestring" = xdisable
; then
3589 if test $wxUSE_GPE = no
; then
3598 { echo "$as_me:$LINENO: result: $result" >&5
3599 echo "${ECHO_T}$result" >&6; }
3603 { echo "$as_me:$LINENO: checking for toolkit" >&5
3604 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3608 # In Wine, we need to default to MSW, not GTK or MOTIF
3609 if test "$wxUSE_WINE" = "yes"; then
3610 DEFAULT_DEFAULT_wxUSE_GTK
=0
3611 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3612 DEFAULT_DEFAULT_wxUSE_MSW
=1
3619 if test "$wxUSE_GUI" = "yes"; then
3621 if test "$USE_BEOS" = 1; then
3622 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3623 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3624 { (exit 1); exit 1; }; }
3627 if test "$TOOLKIT_GIVEN" = 1; then
3628 for toolkit
in $ALL_TOOLKITS; do
3630 eval "value=\$${var}"
3631 if test "x$value" = "xno"; then
3633 elif test "x$value" != "x"; then
3637 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3638 eval "wx${toolkit}_VERSION=$value"
3642 for toolkit
in $ALL_TOOLKITS; do
3643 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3644 eval "wxUSE_$toolkit=\$${var}"
3648 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3649 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
3650 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3653 *-pc-os2_emx | *-pc-os2-emx )
3654 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3657 case "$NUM_TOOLKITS" in
3661 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3662 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3663 { (exit 1); exit 1; }; }
3666 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3667 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3668 { (exit 1); exit 1; }; }
3671 # to be removed when --disable-gtk2 isn't needed
3672 if test "x$wxUSE_GTK2" = "xyes"; then
3675 elif test "x$wxUSE_GTK2" = "xno"; then
3680 for toolkit
in $ALL_TOOLKITS; do
3682 eval "value=\$${var}"
3683 if test "$value" = 1; then
3684 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3685 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3686 echo "${ECHO_T}$toolkit_echo" >&6; }
3690 if test "x$host_alias" != "x"; then
3691 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3692 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3694 { echo "$as_me:$LINENO: result: base only" >&5
3695 echo "${ECHO_T}base only" >&6; }
3700 if test "$wxUSE_OSX_CARBON" = 1 \
3701 -o "$wxUSE_OSX_COCOA" = 1 \
3702 -o "$wxUSE_OSX_IPHONE" = 1; then
3708 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3709 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3711 # Check whether --with-libpng was given.
3712 if test "${with_libpng+set}" = set; then
3713 withval
=$with_libpng;
3714 if test "$withval" = yes; then
3715 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3716 elif test "$withval" = no
; then
3717 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3718 elif test "$withval" = sys
; then
3719 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3720 elif test "$withval" = builtin; then
3721 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3723 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3724 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3725 { (exit 1); exit 1; }; }
3730 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3735 eval "$wx_cv_use_libpng"
3737 if test "$wxUSE_LIBPNG" = yes; then
3738 { echo "$as_me:$LINENO: result: yes" >&5
3739 echo "${ECHO_T}yes" >&6; }
3740 elif test "$wxUSE_LIBPNG" = no; then
3741 { echo "$as_me:$LINENO: result: no" >&5
3742 echo "${ECHO_T}no" >&6; }
3743 elif test "$wxUSE_LIBPNG" = sys; then
3744 { echo "$as_me:$LINENO: result: system version" >&5
3745 echo "${ECHO_T}system version" >&6; }
3746 elif test "$wxUSE_LIBPNG" = builtin; then
3747 { echo "$as_me:$LINENO: result: builtin version" >&5
3748 echo "${ECHO_T}builtin version" >&6; }
3750 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3751 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3752 { (exit 1); exit 1; }; }
3756 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3757 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3759 # Check whether --with-libjpeg was given.
3760 if test "${with_libjpeg+set}" = set; then
3761 withval=$with_libjpeg;
3762 if test "$withval" = yes; then
3763 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3764 elif test "$withval" = no; then
3765 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3766 elif test "$withval" = sys; then
3767 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3768 elif test "$withval" = builtin; then
3769 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3771 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3772 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3773 { (exit 1); exit 1; }; }
3778 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3783 eval "$wx_cv_use_libjpeg"
3785 if test "$wxUSE_LIBJPEG" = yes; then
3786 { echo "$as_me:$LINENO: result
: yes" >&5
3787 echo "${ECHO_T}yes" >&6; }
3788 elif test "$wxUSE_LIBJPEG" = no; then
3789 { echo "$as_me:$LINENO: result
: no
" >&5
3790 echo "${ECHO_T}no
" >&6; }
3791 elif test "$wxUSE_LIBJPEG" = sys; then
3792 { echo "$as_me:$LINENO: result
: system version
" >&5
3793 echo "${ECHO_T}system version
" >&6; }
3794 elif test "$wxUSE_LIBJPEG" = builtin; then
3795 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3796 echo "${ECHO_T}builtin version
" >&6; }
3798 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3799 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3800 { (exit 1); exit 1; }; }
3804 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3805 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3807 # Check whether --with-libtiff was given.
3808 if test "${with_libtiff+set}" = set; then
3809 withval=$with_libtiff;
3810 if test "$withval" = yes; then
3811 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3812 elif test "$withval" = no; then
3813 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3814 elif test "$withval" = sys; then
3815 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3816 elif test "$withval" = builtin; then
3817 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3819 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3820 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3821 { (exit 1); exit 1; }; }
3826 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3831 eval "$wx_cv_use_libtiff"
3833 if test "$wxUSE_LIBTIFF" = yes; then
3834 { echo "$as_me:$LINENO: result: yes" >&5
3835 echo "${ECHO_T}yes" >&6; }
3836 elif test "$wxUSE_LIBTIFF" = no
; then
3837 { echo "$as_me:$LINENO: result: no" >&5
3838 echo "${ECHO_T}no" >&6; }
3839 elif test "$wxUSE_LIBTIFF" = sys
; then
3840 { echo "$as_me:$LINENO: result: system version" >&5
3841 echo "${ECHO_T}system version" >&6; }
3842 elif test "$wxUSE_LIBTIFF" = builtin; then
3843 { echo "$as_me:$LINENO: result: builtin version" >&5
3844 echo "${ECHO_T}builtin version" >&6; }
3846 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3847 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3848 { (exit 1); exit 1; }; }
3852 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3853 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3855 # Check whether --with-libxpm was given.
3856 if test "${with_libxpm+set}" = set; then
3857 withval
=$with_libxpm;
3858 if test "$withval" = yes; then
3859 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3860 elif test "$withval" = no
; then
3861 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3862 elif test "$withval" = sys
; then
3863 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3864 elif test "$withval" = builtin; then
3865 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3867 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3868 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3869 { (exit 1); exit 1; }; }
3874 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3879 eval "$wx_cv_use_libxpm"
3881 if test "$wxUSE_LIBXPM" = yes; then
3882 { echo "$as_me:$LINENO: result: yes" >&5
3883 echo "${ECHO_T}yes" >&6; }
3884 elif test "$wxUSE_LIBXPM" = no; then
3885 { echo "$as_me:$LINENO: result: no" >&5
3886 echo "${ECHO_T}no" >&6; }
3887 elif test "$wxUSE_LIBXPM" = sys; then
3888 { echo "$as_me:$LINENO: result: system version" >&5
3889 echo "${ECHO_T}system version" >&6; }
3890 elif test "$wxUSE_LIBXPM" = builtin; then
3891 { echo "$as_me:$LINENO: result: builtin version" >&5
3892 echo "${ECHO_T}builtin version" >&6; }
3894 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3895 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3896 { (exit 1); exit 1; }; }
3901 defaultval=$wxUSE_ALL_FEATURES
3902 if test -z "$defaultval"; then
3903 if test x"$withstring" = xwithout; then
3909 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3910 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3912 # Check whether --with-libiconv was given.
3913 if test "${with_libiconv+set}" = set; then
3914 withval=$with_libiconv;
3915 if test "$withval" = yes; then
3916 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3918 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3923 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3928 eval "$wx_cv_use_libiconv"
3930 if test x"$withstring" = xwithout; then
3931 if test $wxUSE_LIBICONV = yes; then
3937 result=$wxUSE_LIBICONV
3940 { echo "$as_me:$LINENO: result
: $result" >&5
3941 echo "${ECHO_T}$result" >&6; }
3945 defaultval=$wxUSE_ALL_FEATURES
3946 if test -z "$defaultval"; then
3947 if test x"$withstring" = xwithout; then
3953 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3954 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3956 # Check whether --with-libmspack was given.
3957 if test "${with_libmspack+set}" = set; then
3958 withval=$with_libmspack;
3959 if test "$withval" = yes; then
3960 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3962 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3967 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3972 eval "$wx_cv_use_libmspack"
3974 if test x
"$withstring" = xwithout
; then
3975 if test $wxUSE_LIBMSPACK = yes; then
3981 result
=$wxUSE_LIBMSPACK
3984 { echo "$as_me:$LINENO: result: $result" >&5
3985 echo "${ECHO_T}$result" >&6; }
3989 defaultval
=$wxUSE_ALL_FEATURES
3990 if test -z "$defaultval"; then
3991 if test x
"$withstring" = xwithout
; then
3997 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3998 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
4000 # Check whether --with-gtkprint was given.
4001 if test "${with_gtkprint+set}" = set; then
4002 withval
=$with_gtkprint;
4003 if test "$withval" = yes; then
4004 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
4006 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
4011 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4016 eval "$wx_cv_use_gtkprint"
4018 if test x"$withstring" = xwithout; then
4019 if test $wxUSE_GTKPRINT = yes; then
4025 result=$wxUSE_GTKPRINT
4028 { echo "$as_me:$LINENO: result: $result" >&5
4029 echo "${ECHO_T}$result" >&6; }
4033 defaultval=$wxUSE_ALL_FEATURES
4034 if test -z "$defaultval"; then
4035 if test x"$withstring" = xwithout; then
4041 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4042 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4044 # Check whether --with-gnomeprint was given.
4045 if test "${with_gnomeprint+set}" = set; then
4046 withval=$with_gnomeprint;
4047 if test "$withval" = yes; then
4048 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4050 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4055 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4060 eval "$wx_cv_use_gnomeprint"
4062 if test x"$withstring" = xwithout; then
4063 if test $wxUSE_LIBGNOMEPRINT = yes; then
4069 result=$wxUSE_LIBGNOMEPRINT
4072 { echo "$as_me:$LINENO: result
: $result" >&5
4073 echo "${ECHO_T}$result" >&6; }
4077 defaultval=$wxUSE_ALL_FEATURES
4078 if test -z "$defaultval"; then
4079 if test x"$withstring" = xwithout; then
4085 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4086 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4088 # Check whether --with-gnomevfs was given.
4089 if test "${with_gnomevfs+set}" = set; then
4090 withval=$with_gnomevfs;
4091 if test "$withval" = yes; then
4092 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4094 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4099 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4104 eval "$wx_cv_use_gnomevfs"
4106 if test x
"$withstring" = xwithout
; then
4107 if test $wxUSE_LIBGNOMEVFS = yes; then
4113 result
=$wxUSE_LIBGNOMEVFS
4116 { echo "$as_me:$LINENO: result: $result" >&5
4117 echo "${ECHO_T}$result" >&6; }
4121 defaultval
=$wxUSE_ALL_FEATURES
4122 if test -z "$defaultval"; then
4123 if test x
"$withstring" = xwithout
; then
4129 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4130 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4132 # Check whether --with-hildon was given.
4133 if test "${with_hildon+set}" = set; then
4134 withval
=$with_hildon;
4135 if test "$withval" = yes; then
4136 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4138 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4143 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4148 eval "$wx_cv_use_hildon"
4150 if test x"$withstring" = xwithout; then
4151 if test $wxUSE_LIBHILDON = yes; then
4157 result=$wxUSE_LIBHILDON
4160 { echo "$as_me:$LINENO: result: $result" >&5
4161 echo "${ECHO_T}$result" >&6; }
4165 defaultval=$wxUSE_ALL_FEATURES
4166 if test -z "$defaultval"; then
4167 if test x"$withstring" = xwithout; then
4173 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4174 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4176 # Check whether --with-opengl was given.
4177 if test "${with_opengl+set}" = set; then
4178 withval=$with_opengl;
4179 if test "$withval" = yes; then
4180 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4182 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4187 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4192 eval "$wx_cv_use_opengl"
4194 if test x"$withstring" = xwithout; then
4195 if test $wxUSE_OPENGL = yes; then
4201 result=$wxUSE_OPENGL
4204 { echo "$as_me:$LINENO: result
: $result" >&5
4205 echo "${ECHO_T}$result" >&6; }
4212 defaultval=$wxUSE_ALL_FEATURES
4213 if test -z "$defaultval"; then
4214 if test x"$withstring" = xwithout; then
4220 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4221 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4223 # Check whether --with-dmalloc was given.
4224 if test "${with_dmalloc+set}" = set; then
4225 withval=$with_dmalloc;
4226 if test "$withval" = yes; then
4227 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4229 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4234 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4239 eval "$wx_cv_use_dmalloc"
4241 if test x
"$withstring" = xwithout
; then
4242 if test $wxUSE_DMALLOC = yes; then
4248 result
=$wxUSE_DMALLOC
4251 { echo "$as_me:$LINENO: result: $result" >&5
4252 echo "${ECHO_T}$result" >&6; }
4256 defaultval
=$wxUSE_ALL_FEATURES
4257 if test -z "$defaultval"; then
4258 if test x
"$withstring" = xwithout
; then
4264 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4265 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4267 # Check whether --with-sdl was given.
4268 if test "${with_sdl+set}" = set; then
4270 if test "$withval" = yes; then
4271 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4273 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4278 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4283 eval "$wx_cv_use_sdl"
4285 if test x"$withstring" = xwithout; then
4286 if test $wxUSE_LIBSDL = yes; then
4292 result=$wxUSE_LIBSDL
4295 { echo "$as_me:$LINENO: result: $result" >&5
4296 echo "${ECHO_T}$result" >&6; }
4299 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4300 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4302 # Check whether --with-regex was given.
4303 if test "${with_regex+set}" = set; then
4304 withval=$with_regex;
4305 if test "$withval" = yes; then
4306 wx_cv_use_regex='wxUSE_REGEX
=yes'
4307 elif test "$withval" = no; then
4308 wx_cv_use_regex='wxUSE_REGEX
=no
'
4309 elif test "$withval" = sys; then
4310 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4311 elif test "$withval" = builtin; then
4312 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4314 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4315 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4316 { (exit 1); exit 1; }; }
4321 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4326 eval "$wx_cv_use_regex"
4328 if test "$wxUSE_REGEX" = yes; then
4329 { echo "$as_me:$LINENO: result
: yes" >&5
4330 echo "${ECHO_T}yes" >&6; }
4331 elif test "$wxUSE_REGEX" = no; then
4332 { echo "$as_me:$LINENO: result
: no
" >&5
4333 echo "${ECHO_T}no
" >&6; }
4334 elif test "$wxUSE_REGEX" = sys; then
4335 { echo "$as_me:$LINENO: result
: system version
" >&5
4336 echo "${ECHO_T}system version
" >&6; }
4337 elif test "$wxUSE_REGEX" = builtin; then
4338 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4339 echo "${ECHO_T}builtin version
" >&6; }
4341 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4342 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4343 { (exit 1); exit 1; }; }
4347 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4348 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4350 # Check whether --with-zlib was given.
4351 if test "${with_zlib+set}" = set; then
4353 if test "$withval" = yes; then
4354 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4355 elif test "$withval" = no; then
4356 wx_cv_use_zlib='wxUSE_ZLIB=no'
4357 elif test "$withval" = sys; then
4358 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4359 elif test "$withval" = builtin; then
4360 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4362 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4363 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4364 { (exit 1); exit 1; }; }
4369 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4374 eval "$wx_cv_use_zlib"
4376 if test "$wxUSE_ZLIB" = yes; then
4377 { echo "$as_me:$LINENO: result: yes" >&5
4378 echo "${ECHO_T}yes" >&6; }
4379 elif test "$wxUSE_ZLIB" = no
; then
4380 { echo "$as_me:$LINENO: result: no" >&5
4381 echo "${ECHO_T}no" >&6; }
4382 elif test "$wxUSE_ZLIB" = sys
; then
4383 { echo "$as_me:$LINENO: result: system version" >&5
4384 echo "${ECHO_T}system version" >&6; }
4385 elif test "$wxUSE_ZLIB" = builtin; then
4386 { echo "$as_me:$LINENO: result: builtin version" >&5
4387 echo "${ECHO_T}builtin version" >&6; }
4389 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4390 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4391 { (exit 1); exit 1; }; }
4395 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4396 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4398 # Check whether --with-expat was given.
4399 if test "${with_expat+set}" = set; then
4400 withval
=$with_expat;
4401 if test "$withval" = yes; then
4402 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4403 elif test "$withval" = no
; then
4404 wx_cv_use_expat
='wxUSE_EXPAT=no'
4405 elif test "$withval" = sys
; then
4406 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4407 elif test "$withval" = builtin; then
4408 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4410 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4411 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4412 { (exit 1); exit 1; }; }
4417 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4422 eval "$wx_cv_use_expat"
4424 if test "$wxUSE_EXPAT" = yes; then
4425 { echo "$as_me:$LINENO: result: yes" >&5
4426 echo "${ECHO_T}yes" >&6; }
4427 elif test "$wxUSE_EXPAT" = no; then
4428 { echo "$as_me:$LINENO: result: no" >&5
4429 echo "${ECHO_T}no" >&6; }
4430 elif test "$wxUSE_EXPAT" = sys; then
4431 { echo "$as_me:$LINENO: result: system version" >&5
4432 echo "${ECHO_T}system version" >&6; }
4433 elif test "$wxUSE_EXPAT" = builtin; then
4434 { echo "$as_me:$LINENO: result: builtin version" >&5
4435 echo "${ECHO_T}builtin version" >&6; }
4437 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4438 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4439 { (exit 1); exit 1; }; }
4443 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4444 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4446 # Check whether --with-macosx-sdk was given.
4447 if test "${with_macosx_sdk+set}" = set; then
4448 withval=$with_macosx_sdk;
4449 wxUSE_MACOSX_SDK=$withval
4450 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4454 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4455 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4457 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4458 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4460 # Check whether --with-macosx-version-min was given.
4461 if test "${with_macosx_version_min+set}" = set; then
4462 withval=$with_macosx_version_min;
4463 wxUSE_MACOSX_VERSION_MIN=$withval
4464 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4468 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4469 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4472 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4473 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4474 # Check whether --enable-debug was given.
4475 if test "${enable_debug+set}" = set; then
4476 enableval=$enable_debug;
4477 if test "$enableval" = yes; then
4479 elif test "$enableval" = no; then
4481 elif test "$enableval" = max; then
4483 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4485 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4486 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4487 { (exit 1); exit 1; }; }
4495 { echo "$as_me:$LINENO: result: ${enable_debug-default}" >&5
4496 echo "${ECHO_T}${enable_debug-default}" >&6; }
4498 case "$wxUSE_DEBUG" in
4500 DEFAULT_wxUSE_DEBUG_FLAG=yes
4501 DEFAULT_wxUSE_DEBUG_INFO=yes
4503 DEFAULT_wxUSE_OPTIMISE=no
4507 DEFAULT_wxUSE_DEBUG_FLAG=no
4508 DEFAULT_wxUSE_DEBUG_INFO=no
4512 DEFAULT_wxUSE_DEBUG_FLAG=yes
4513 DEFAULT_wxUSE_DEBUG_INFO=no
4518 enablestring=disable
4520 if test -z "$defaultval"; then
4521 if test x"$enablestring" = xdisable; then
4528 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4529 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4530 # Check whether --enable-debug_flag was given.
4531 if test "${enable_debug_flag+set}" = set; then
4532 enableval=$enable_debug_flag;
4533 if test "$enableval" = yes; then
4534 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4536 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4541 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4546 eval "$wx_cv_use_debug_flag"
4548 if test x"$enablestring" = xdisable; then
4549 if test $wxUSE_DEBUG_FLAG = no; then
4555 result=$wxUSE_DEBUG_FLAG
4558 { echo "$as_me:$LINENO: result
: $result" >&5
4559 echo "${ECHO_T}$result" >&6; }
4564 if test -z "$defaultval"; then
4565 if test x"$enablestring" = xdisable; then
4572 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4573 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4574 # Check whether --enable-debug_info was given.
4575 if test "${enable_debug_info+set}" = set; then
4576 enableval=$enable_debug_info;
4577 if test "$enableval" = yes; then
4578 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4580 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4585 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4590 eval "$wx_cv_use_debug_info"
4592 if test x
"$enablestring" = xdisable
; then
4593 if test $wxUSE_DEBUG_INFO = no
; then
4599 result
=$wxUSE_DEBUG_INFO
4602 { echo "$as_me:$LINENO: result: $result" >&5
4603 echo "${ECHO_T}$result" >&6; }
4610 if test -z "$defaultval"; then
4611 if test x
"$enablestring" = xdisable
; then
4618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4620 # Check whether --enable-debug_gdb was given.
4621 if test "${enable_debug_gdb+set}" = set; then
4622 enableval
=$enable_debug_gdb;
4623 if test "$enableval" = yes; then
4624 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4626 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4631 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4636 eval "$wx_cv_use_debug_gdb"
4638 if test x"$enablestring" = xdisable; then
4639 if test $wxUSE_DEBUG_GDB = no; then
4645 result=$wxUSE_DEBUG_GDB
4648 { echo "$as_me:$LINENO: result: $result" >&5
4649 echo "${ECHO_T}$result" >&6; }
4654 if test -z "$defaultval"; then
4655 if test x"$enablestring" = xdisable; then
4662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4663 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4664 # Check whether --enable-debug_cntxt was given.
4665 if test "${enable_debug_cntxt+set}" = set; then
4666 enableval=$enable_debug_cntxt;
4667 if test "$enableval" = yes; then
4668 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4670 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4675 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4680 eval "$wx_cv_use_debug_cntxt"
4682 if test x"$enablestring" = xdisable; then
4683 if test $wxUSE_DEBUG_CONTEXT = no; then
4689 result=$wxUSE_DEBUG_CONTEXT
4692 { echo "$as_me:$LINENO: result
: $result" >&5
4693 echo "${ECHO_T}$result" >&6; }
4698 if test -z "$defaultval"; then
4699 if test x"$enablestring" = xdisable; then
4706 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4707 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4708 # Check whether --enable-mem_tracing was given.
4709 if test "${enable_mem_tracing+set}" = set; then
4710 enableval=$enable_mem_tracing;
4711 if test "$enableval" = yes; then
4712 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4714 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4719 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4724 eval "$wx_cv_use_mem_tracing"
4726 if test x
"$enablestring" = xdisable
; then
4727 if test $wxUSE_MEM_TRACING = no
; then
4733 result
=$wxUSE_MEM_TRACING
4736 { echo "$as_me:$LINENO: result: $result" >&5
4737 echo "${ECHO_T}$result" >&6; }
4742 enablestring
=disable
4744 if test -z "$defaultval"; then
4745 if test x
"$enablestring" = xdisable
; then
4752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4753 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4754 # Check whether --enable-shared was given.
4755 if test "${enable_shared+set}" = set; then
4756 enableval
=$enable_shared;
4757 if test "$enableval" = yes; then
4758 wx_cv_use_shared
='wxUSE_SHARED=yes'
4760 wx_cv_use_shared
='wxUSE_SHARED=no'
4765 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4770 eval "$wx_cv_use_shared"
4772 if test x"$enablestring" = xdisable; then
4773 if test $wxUSE_SHARED = no; then
4779 result=$wxUSE_SHARED
4782 { echo "$as_me:$LINENO: result: $result" >&5
4783 echo "${ECHO_T}$result" >&6; }
4788 if test -z "$defaultval"; then
4789 if test x"$enablestring" = xdisable; then
4796 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4797 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4798 # Check whether --enable-stl was given.
4799 if test "${enable_stl+set}" = set; then
4800 enableval=$enable_stl;
4801 if test "$enableval" = yes; then
4802 wx_cv_use_stl='wxUSE_STL
=yes'
4804 wx_cv_use_stl='wxUSE_STL
=no
'
4809 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4814 eval "$wx_cv_use_stl"
4816 if test x"$enablestring" = xdisable; then
4817 if test $wxUSE_STL = no; then
4826 { echo "$as_me:$LINENO: result
: $result" >&5
4827 echo "${ECHO_T}$result" >&6; }
4829 if test "$wxUSE_STL" = "yes"; then
4830 DEFAULT_wxUSE_STD_CONTAINERS=yes
4831 DEFAULT_wxUSE_STD_IOSTREAM=yes
4832 DEFAULT_wxUSE_STD_STRING=yes
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4845 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_containers" >&5
4846 echo $ECHO_N "checking
for --${enablestring:-enable}-std_containers...
$ECHO_C" >&6; }
4847 # Check whether --enable-std_containers was given.
4848 if test "${enable_std_containers+set}" = set; then
4849 enableval=$enable_std_containers;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4853 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4858 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4863 eval "$wx_cv_use_std_containers"
4865 if test x
"$enablestring" = xdisable
; then
4866 if test $wxUSE_STD_CONTAINERS = no
; then
4872 result
=$wxUSE_STD_CONTAINERS
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4881 if test -z "$defaultval"; then
4882 if test x
"$enablestring" = xdisable
; then
4889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4890 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4891 # Check whether --enable-std_iostreams was given.
4892 if test "${enable_std_iostreams+set}" = set; then
4893 enableval
=$enable_std_iostreams;
4894 if test "$enableval" = yes; then
4895 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4897 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4902 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4907 eval "$wx_cv_use_std_iostreams"
4909 if test x"$enablestring" = xdisable; then
4910 if test $wxUSE_STD_IOSTREAM = no; then
4916 result=$wxUSE_STD_IOSTREAM
4919 { echo "$as_me:$LINENO: result: $result" >&5
4920 echo "${ECHO_T}$result" >&6; }
4925 if test -z "$defaultval"; then
4926 if test x"$enablestring" = xdisable; then
4933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4934 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4935 # Check whether --enable-std_string was given.
4936 if test "${enable_std_string+set}" = set; then
4937 enableval=$enable_std_string;
4938 if test "$enableval" = yes; then
4939 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
4941 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
4946 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4951 eval "$wx_cv_use_std_string"
4953 if test x"$enablestring" = xdisable; then
4954 if test $wxUSE_STD_STRING = no; then
4960 result=$wxUSE_STD_STRING
4963 { echo "$as_me:$LINENO: result
: $result" >&5
4964 echo "${ECHO_T}$result" >&6; }
4969 if test -z "$defaultval"; then
4970 if test x"$enablestring" = xdisable; then
4977 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4978 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
$ECHO_C" >&6; }
4979 # Check whether --enable-std_string_conv_in_wxstring was given.
4980 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4981 enableval=$enable_std_string_conv_in_wxstring;
4982 if test "$enableval" = yes; then
4983 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4985 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4990 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4995 eval "$wx_cv_use_std_string_conv_in_wxstring"
4997 if test x
"$enablestring" = xdisable
; then
4998 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
5004 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
5007 { echo "$as_me:$LINENO: result: $result" >&5
5008 echo "${ECHO_T}$result" >&6; }
5011 enablestring
=disable
5013 if test -z "$defaultval"; then
5014 if test x
"$enablestring" = xdisable
; then
5021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5022 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
5023 # Check whether --enable-unicode was given.
5024 if test "${enable_unicode+set}" = set; then
5025 enableval
=$enable_unicode;
5026 if test "$enableval" = yes; then
5027 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
5029 wx_cv_use_unicode
='wxUSE_UNICODE=no'
5034 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5039 eval "$wx_cv_use_unicode"
5041 if test x"$enablestring" = xdisable; then
5042 if test $wxUSE_UNICODE = no; then
5048 result=$wxUSE_UNICODE
5051 { echo "$as_me:$LINENO: result: $result" >&5
5052 echo "${ECHO_T}$result" >&6; }
5057 if test -z "$defaultval"; then
5058 if test x"$enablestring" = xdisable; then
5065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5066 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5067 # Check whether --enable-mslu was given.
5068 if test "${enable_mslu+set}" = set; then
5069 enableval=$enable_mslu;
5070 if test "$enableval" = yes; then
5071 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5073 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5078 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5083 eval "$wx_cv_use_mslu"
5085 if test x"$enablestring" = xdisable; then
5086 if test $wxUSE_UNICODE_MSLU = no; then
5092 result=$wxUSE_UNICODE_MSLU
5095 { echo "$as_me:$LINENO: result
: $result" >&5
5096 echo "${ECHO_T}$result" >&6; }
5100 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5101 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5102 # Check whether --enable-utf8 was given.
5103 if test "${enable_utf8+set}" = set; then
5104 enableval=$enable_utf8;
5105 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5109 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5114 eval "$wx_cv_use_utf8"
5116 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5117 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5122 if test -z "$defaultval"; then
5123 if test x"$enablestring" = xdisable; then
5130 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5131 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5132 # Check whether --enable-utf8only was given.
5133 if test "${enable_utf8only+set}" = set; then
5134 enableval=$enable_utf8only;
5135 if test "$enableval" = yes; then
5136 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5138 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5143 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5148 eval "$wx_cv_use_utf8only"
5150 if test x
"$enablestring" = xdisable
; then
5151 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
5157 result
=$wxUSE_UNICODE_UTF8_LOCALE
5160 { echo "$as_me:$LINENO: result: $result" >&5
5161 echo "${ECHO_T}$result" >&6; }
5166 if test -z "$defaultval"; then
5167 if test x
"$enablestring" = xdisable
; then
5174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5175 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5176 # Check whether --enable-extended_rtti was given.
5177 if test "${enable_extended_rtti+set}" = set; then
5178 enableval
=$enable_extended_rtti;
5179 if test "$enableval" = yes; then
5180 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5182 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5187 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5192 eval "$wx_cv_use_extended_rtti"
5194 if test x"$enablestring" = xdisable; then
5195 if test $wxUSE_EXTENDED_RTTI = no; then
5201 result=$wxUSE_EXTENDED_RTTI
5204 { echo "$as_me:$LINENO: result: $result" >&5
5205 echo "${ECHO_T}$result" >&6; }
5207 if test "$USE_OS2" = 1; then
5208 DEFAULT_wxUSE_OMF=no
5212 if test -z "$defaultval"; then
5213 if test x"$enablestring" = xdisable; then
5220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5221 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5222 # Check whether --enable-omf was given.
5223 if test "${enable_omf+set}" = set; then
5224 enableval=$enable_omf;
5225 if test "$enableval" = yes; then
5226 wx_cv_use_omf='wxUSE_OMF
=yes'
5228 wx_cv_use_omf='wxUSE_OMF
=no
'
5233 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5238 eval "$wx_cv_use_omf"
5240 if test x"$enablestring" = xdisable; then
5241 if test $wxUSE_OMF = no; then
5250 { echo "$as_me:$LINENO: result
: $result" >&5
5251 echo "${ECHO_T}$result" >&6; }
5256 enablestring=disable
5258 if test -z "$defaultval"; then
5259 if test x"$enablestring" = xdisable; then
5266 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
5267 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
5268 # Check whether --enable-optimise was given.
5269 if test "${enable_optimise+set}" = set; then
5270 enableval=$enable_optimise;
5271 if test "$enableval" = yes; then
5272 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5274 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5279 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5284 eval "$wx_cv_use_optimise"
5286 if test x
"$enablestring" = xdisable
; then
5287 if test $wxUSE_OPTIMISE = no
; then
5293 result
=$wxUSE_OPTIMISE
5296 { echo "$as_me:$LINENO: result: $result" >&5
5297 echo "${ECHO_T}$result" >&6; }
5303 if test -z "$defaultval"; then
5304 if test x
"$enablestring" = xdisable
; then
5311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5312 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5313 # Check whether --enable-profile was given.
5314 if test "${enable_profile+set}" = set; then
5315 enableval
=$enable_profile;
5316 if test "$enableval" = yes; then
5317 wx_cv_use_profile
='wxUSE_PROFILE=yes'
5319 wx_cv_use_profile
='wxUSE_PROFILE=no'
5324 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5329 eval "$wx_cv_use_profile"
5331 if test x"$enablestring" = xdisable; then
5332 if test $wxUSE_PROFILE = no; then
5338 result=$wxUSE_PROFILE
5341 { echo "$as_me:$LINENO: result: $result" >&5
5342 echo "${ECHO_T}$result" >&6; }
5347 if test -z "$defaultval"; then
5348 if test x"$enablestring" = xdisable; then
5355 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5356 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5357 # Check whether --enable-no_rtti was given.
5358 if test "${enable_no_rtti+set}" = set; then
5359 enableval=$enable_no_rtti;
5360 if test "$enableval" = yes; then
5361 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
5363 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
5368 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5373 eval "$wx_cv_use_no_rtti"
5375 if test x"$enablestring" = xdisable; then
5376 if test $wxUSE_NO_RTTI = no; then
5382 result=$wxUSE_NO_RTTI
5385 { echo "$as_me:$LINENO: result
: $result" >&5
5386 echo "${ECHO_T}$result" >&6; }
5391 if test -z "$defaultval"; then
5392 if test x"$enablestring" = xdisable; then
5399 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_exceptions" >&5
5400 echo $ECHO_N "checking
for --${enablestring:-enable}-no_exceptions...
$ECHO_C" >&6; }
5401 # Check whether --enable-no_exceptions was given.
5402 if test "${enable_no_exceptions+set}" = set; then
5403 enableval=$enable_no_exceptions;
5404 if test "$enableval" = yes; then
5405 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5407 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5412 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5417 eval "$wx_cv_use_no_exceptions"
5419 if test x
"$enablestring" = xdisable
; then
5420 if test $wxUSE_NO_EXCEPTIONS = no
; then
5426 result
=$wxUSE_NO_EXCEPTIONS
5429 { echo "$as_me:$LINENO: result: $result" >&5
5430 echo "${ECHO_T}$result" >&6; }
5435 if test -z "$defaultval"; then
5436 if test x
"$enablestring" = xdisable
; then
5443 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5444 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5445 # Check whether --enable-permissive was given.
5446 if test "${enable_permissive+set}" = set; then
5447 enableval
=$enable_permissive;
5448 if test "$enableval" = yes; then
5449 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
5451 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
5456 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5461 eval "$wx_cv_use_permissive"
5463 if test x"$enablestring" = xdisable; then
5464 if test $wxUSE_PERMISSIVE = no; then
5470 result=$wxUSE_PERMISSIVE
5473 { echo "$as_me:$LINENO: result: $result" >&5
5474 echo "${ECHO_T}$result" >&6; }
5479 if test -z "$defaultval"; then
5480 if test x"$enablestring" = xdisable; then
5487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5489 # Check whether --enable-no_deps was given.
5490 if test "${enable_no_deps+set}" = set; then
5491 enableval=$enable_no_deps;
5492 if test "$enableval" = yes; then
5493 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
5495 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
5500 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5505 eval "$wx_cv_use_no_deps"
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_NO_DEPS = no; then
5514 result=$wxUSE_NO_DEPS
5517 { echo "$as_me:$LINENO: result
: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5521 enablestring=disable
5523 if test -z "$defaultval"; then
5524 if test x"$enablestring" = xdisable; then
5531 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-vararg_macros" >&5
5532 echo $ECHO_N "checking
for --${enablestring:-enable}-vararg_macros...
$ECHO_C" >&6; }
5533 # Check whether --enable-vararg_macros was given.
5534 if test "${enable_vararg_macros+set}" = set; then
5535 enableval=$enable_vararg_macros;
5536 if test "$enableval" = yes; then
5537 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5539 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5544 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5549 eval "$wx_cv_use_vararg_macros"
5551 if test x
"$enablestring" = xdisable
; then
5552 if test $wxUSE_VARARG_MACROS = no
; then
5558 result
=$wxUSE_VARARG_MACROS
5561 { echo "$as_me:$LINENO: result: $result" >&5
5562 echo "${ECHO_T}$result" >&6; }
5567 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5568 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5569 # Check whether --enable-universal_binary was given.
5570 if test "${enable_universal_binary+set}" = set; then
5571 enableval
=$enable_universal_binary;
5572 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
5576 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5581 eval "$wx_cv_use_universal_binary"
5583 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5584 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5589 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5590 # Check whether --enable-macosx_arch was given.
5591 if test "${enable_macosx_arch+set}" = set; then
5592 enableval
=$enable_macosx_arch;
5593 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
5597 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5602 eval "$wx_cv_use_macosx_arch"
5604 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5605 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5611 if test -z "$defaultval"; then
5612 if test x
"$enablestring" = xdisable
; then
5619 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5620 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5621 # Check whether --enable-compat26 was given.
5622 if test "${enable_compat26+set}" = set; then
5623 enableval
=$enable_compat26;
5624 if test "$enableval" = yes; then
5625 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
5627 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
5632 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5637 eval "$wx_cv_use_compat26"
5639 if test x"$enablestring" = xdisable; then
5640 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5646 result=$WXWIN_COMPATIBILITY_2_6
5649 { echo "$as_me:$LINENO: result: $result" >&5
5650 echo "${ECHO_T}$result" >&6; }
5653 enablestring=disable
5655 if test -z "$defaultval"; then
5656 if test x"$enablestring" = xdisable; then
5663 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5664 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5665 # Check whether --enable-compat28 was given.
5666 if test "${enable_compat28+set}" = set; then
5667 enableval=$enable_compat28;
5668 if test "$enableval" = yes; then
5669 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
5671 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
5676 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5681 eval "$wx_cv_use_compat28"
5683 if test x"$enablestring" = xdisable; then
5684 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5690 result=$WXWIN_COMPATIBILITY_2_8
5693 { echo "$as_me:$LINENO: result
: $result" >&5
5694 echo "${ECHO_T}$result" >&6; }
5698 enablestring=disable
5700 if test -z "$defaultval"; then
5701 if test x"$enablestring" = xdisable; then
5708 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rpath" >&5
5709 echo $ECHO_N "checking
for --${enablestring:-enable}-rpath...
$ECHO_C" >&6; }
5710 # Check whether --enable-rpath was given.
5711 if test "${enable_rpath+set}" = set; then
5712 enableval=$enable_rpath;
5713 if test "$enableval" = yes; then
5714 wx_cv_use_rpath='wxUSE_RPATH=yes'
5716 wx_cv_use_rpath='wxUSE_RPATH=no'
5721 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5726 eval "$wx_cv_use_rpath"
5728 if test x
"$enablestring" = xdisable
; then
5729 if test $wxUSE_RPATH = no
; then
5738 { echo "$as_me:$LINENO: result: $result" >&5
5739 echo "${ECHO_T}$result" >&6; }
5745 if test -z "$defaultval"; then
5746 if test x
"$enablestring" = xdisable
; then
5753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5754 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5755 # Check whether --enable-objc_uniquifying was given.
5756 if test "${enable_objc_uniquifying+set}" = set; then
5757 enableval
=$enable_objc_uniquifying;
5758 if test "$enableval" = yes; then
5759 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
5761 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
5766 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5771 eval "$wx_cv_use_objc_uniquifying"
5773 if test x"$enablestring" = xdisable; then
5774 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5780 result=$wxUSE_OBJC_UNIQUIFYING
5783 { echo "$as_me:$LINENO: result: $result" >&5
5784 echo "${ECHO_T}$result" >&6; }
5788 enablestring=disable
5790 if test -z "$defaultval"; then
5791 if test x"$enablestring" = xdisable; then
5798 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5799 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5800 # Check whether --enable-visibility was given.
5801 if test "${enable_visibility+set}" = set; then
5802 enableval=$enable_visibility;
5803 if test "$enableval" = yes; then
5804 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
5806 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
5811 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5816 eval "$wx_cv_use_visibility"
5818 if test x"$enablestring" = xdisable; then
5819 if test $wxUSE_VISIBILITY = no; then
5825 result=$wxUSE_VISIBILITY
5828 { echo "$as_me:$LINENO: result
: $result" >&5
5829 echo "${ECHO_T}$result" >&6; }
5832 enablestring=disable
5834 if test -z "$defaultval"; then
5835 if test x"$enablestring" = xdisable; then
5842 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tls" >&5
5843 echo $ECHO_N "checking
for --${enablestring:-enable}-tls...
$ECHO_C" >&6; }
5844 # Check whether --enable-tls was given.
5845 if test "${enable_tls+set}" = set; then
5846 enableval=$enable_tls;
5847 if test "$enableval" = yes; then
5848 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5850 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5855 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5860 eval "$wx_cv_use_tls"
5862 if test x
"$enablestring" = xdisable
; then
5863 if test $wxUSE_COMPILER_TLS = no
; then
5869 result
=$wxUSE_COMPILER_TLS
5872 { echo "$as_me:$LINENO: result: $result" >&5
5873 echo "${ECHO_T}$result" >&6; }
5879 defaultval
=$wxUSE_ALL_FEATURES
5880 if test -z "$defaultval"; then
5881 if test x
"$enablestring" = xdisable
; then
5888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5889 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5890 # Check whether --enable-intl was given.
5891 if test "${enable_intl+set}" = set; then
5892 enableval
=$enable_intl;
5893 if test "$enableval" = yes; then
5894 wx_cv_use_intl
='wxUSE_INTL=yes'
5896 wx_cv_use_intl
='wxUSE_INTL=no'
5901 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5906 eval "$wx_cv_use_intl"
5908 if test x"$enablestring" = xdisable; then
5909 if test $wxUSE_INTL = no; then
5918 { echo "$as_me:$LINENO: result: $result" >&5
5919 echo "${ECHO_T}$result" >&6; }
5923 defaultval=$wxUSE_ALL_FEATURES
5924 if test -z "$defaultval"; then
5925 if test x"$enablestring" = xdisable; then
5932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5933 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5934 # Check whether --enable-xlocale was given.
5935 if test "${enable_xlocale+set}" = set; then
5936 enableval=$enable_xlocale;
5937 if test "$enableval" = yes; then
5938 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
5940 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
5945 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5950 eval "$wx_cv_use_xlocale"
5952 if test x"$enablestring" = xdisable; then
5953 if test $wxUSE_XLOCALE = no; then
5959 result=$wxUSE_XLOCALE
5962 { echo "$as_me:$LINENO: result
: $result" >&5
5963 echo "${ECHO_T}$result" >&6; }
5967 defaultval=$wxUSE_ALL_FEATURES
5968 if test -z "$defaultval"; then
5969 if test x"$enablestring" = xdisable; then
5976 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-config" >&5
5977 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5978 # Check whether --enable-config was given.
5979 if test "${enable_config+set}" = set; then
5980 enableval=$enable_config;
5981 if test "$enableval" = yes; then
5982 wx_cv_use_config='wxUSE_CONFIG=yes'
5984 wx_cv_use_config='wxUSE_CONFIG=no'
5989 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5994 eval "$wx_cv_use_config"
5996 if test x
"$enablestring" = xdisable
; then
5997 if test $wxUSE_CONFIG = no
; then
6003 result
=$wxUSE_CONFIG
6006 { echo "$as_me:$LINENO: result: $result" >&5
6007 echo "${ECHO_T}$result" >&6; }
6012 defaultval
=$wxUSE_ALL_FEATURES
6013 if test -z "$defaultval"; then
6014 if test x
"$enablestring" = xdisable
; then
6021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6022 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6023 # Check whether --enable-protocols was given.
6024 if test "${enable_protocols+set}" = set; then
6025 enableval
=$enable_protocols;
6026 if test "$enableval" = yes; then
6027 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
6029 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
6034 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6039 eval "$wx_cv_use_protocols"
6041 if test x"$enablestring" = xdisable; then
6042 if test $wxUSE_PROTOCOL = no; then
6048 result=$wxUSE_PROTOCOL
6051 { echo "$as_me:$LINENO: result: $result" >&5
6052 echo "${ECHO_T}$result" >&6; }
6056 defaultval=$wxUSE_ALL_FEATURES
6057 if test -z "$defaultval"; then
6058 if test x"$enablestring" = xdisable; then
6065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6067 # Check whether --enable-ftp was given.
6068 if test "${enable_ftp+set}" = set; then
6069 enableval=$enable_ftp;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
6073 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
6078 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6083 eval "$wx_cv_use_ftp"
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_PROTOCOL_FTP = no; then
6092 result=$wxUSE_PROTOCOL_FTP
6095 { echo "$as_me:$LINENO: result
: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6100 defaultval=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6109 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
6110 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
6111 # Check whether --enable-http was given.
6112 if test "${enable_http+set}" = set; then
6113 enableval=$enable_http;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6117 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6122 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6127 eval "$wx_cv_use_http"
6129 if test x
"$enablestring" = xdisable
; then
6130 if test $wxUSE_PROTOCOL_HTTP = no
; then
6136 result
=$wxUSE_PROTOCOL_HTTP
6139 { echo "$as_me:$LINENO: result: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6144 defaultval
=$wxUSE_ALL_FEATURES
6145 if test -z "$defaultval"; then
6146 if test x
"$enablestring" = xdisable
; then
6153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6155 # Check whether --enable-fileproto was given.
6156 if test "${enable_fileproto+set}" = set; then
6157 enableval
=$enable_fileproto;
6158 if test "$enableval" = yes; then
6159 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
6161 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
6166 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6171 eval "$wx_cv_use_fileproto"
6173 if test x"$enablestring" = xdisable; then
6174 if test $wxUSE_PROTOCOL_FILE = no; then
6180 result=$wxUSE_PROTOCOL_FILE
6183 { echo "$as_me:$LINENO: result: $result" >&5
6184 echo "${ECHO_T}$result" >&6; }
6188 defaultval=$wxUSE_ALL_FEATURES
6189 if test -z "$defaultval"; then
6190 if test x"$enablestring" = xdisable; then
6197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6198 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6199 # Check whether --enable-sockets was given.
6200 if test "${enable_sockets+set}" = set; then
6201 enableval=$enable_sockets;
6202 if test "$enableval" = yes; then
6203 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
6205 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
6210 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6215 eval "$wx_cv_use_sockets"
6217 if test x"$enablestring" = xdisable; then
6218 if test $wxUSE_SOCKETS = no; then
6224 result=$wxUSE_SOCKETS
6227 { echo "$as_me:$LINENO: result
: $result" >&5
6228 echo "${ECHO_T}$result" >&6; }
6232 defaultval=$wxUSE_ALL_FEATURES
6233 if test -z "$defaultval"; then
6234 if test x"$enablestring" = xdisable; then
6241 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
6242 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
6243 # Check whether --enable-ipv6 was given.
6244 if test "${enable_ipv6+set}" = set; then
6245 enableval=$enable_ipv6;
6246 if test "$enableval" = yes; then
6247 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6249 wx_cv_use_ipv6='wxUSE_IPV6=no'
6254 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6259 eval "$wx_cv_use_ipv6"
6261 if test x
"$enablestring" = xdisable
; then
6262 if test $wxUSE_IPV6 = no
; then
6271 { echo "$as_me:$LINENO: result: $result" >&5
6272 echo "${ECHO_T}$result" >&6; }
6276 defaultval
=$wxUSE_ALL_FEATURES
6277 if test -z "$defaultval"; then
6278 if test x
"$enablestring" = xdisable
; then
6285 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6286 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6287 # Check whether --enable-ole was given.
6288 if test "${enable_ole+set}" = set; then
6289 enableval
=$enable_ole;
6290 if test "$enableval" = yes; then
6291 wx_cv_use_ole
='wxUSE_OLE=yes'
6293 wx_cv_use_ole
='wxUSE_OLE=no'
6298 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6303 eval "$wx_cv_use_ole"
6305 if test x"$enablestring" = xdisable; then
6306 if test $wxUSE_OLE = no; then
6315 { echo "$as_me:$LINENO: result: $result" >&5
6316 echo "${ECHO_T}$result" >&6; }
6320 defaultval=$wxUSE_ALL_FEATURES
6321 if test -z "$defaultval"; then
6322 if test x"$enablestring" = xdisable; then
6329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6330 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6331 # Check whether --enable-dataobj was given.
6332 if test "${enable_dataobj+set}" = set; then
6333 enableval=$enable_dataobj;
6334 if test "$enableval" = yes; then
6335 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
6337 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
6342 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6347 eval "$wx_cv_use_dataobj"
6349 if test x"$enablestring" = xdisable; then
6350 if test $wxUSE_DATAOBJ = no; then
6356 result=$wxUSE_DATAOBJ
6359 { echo "$as_me:$LINENO: result
: $result" >&5
6360 echo "${ECHO_T}$result" >&6; }
6365 defaultval=$wxUSE_ALL_FEATURES
6366 if test -z "$defaultval"; then
6367 if test x"$enablestring" = xdisable; then
6374 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipc" >&5
6375 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6376 # Check whether --enable-ipc was given.
6377 if test "${enable_ipc+set}" = set; then
6378 enableval=$enable_ipc;
6379 if test "$enableval" = yes; then
6380 wx_cv_use_ipc='wxUSE_IPC=yes'
6382 wx_cv_use_ipc='wxUSE_IPC=no'
6387 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6392 eval "$wx_cv_use_ipc"
6394 if test x
"$enablestring" = xdisable
; then
6395 if test $wxUSE_IPC = no
; then
6404 { echo "$as_me:$LINENO: result: $result" >&5
6405 echo "${ECHO_T}$result" >&6; }
6410 defaultval
=$wxUSE_ALL_FEATURES
6411 if test -z "$defaultval"; then
6412 if test x
"$enablestring" = xdisable
; then
6419 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6420 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6421 # Check whether --enable-baseevtloop was given.
6422 if test "${enable_baseevtloop+set}" = set; then
6423 enableval
=$enable_baseevtloop;
6424 if test "$enableval" = yes; then
6425 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6427 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6432 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6437 eval "$wx_cv_use_baseevtloop"
6439 if test x"$enablestring" = xdisable; then
6440 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6446 result=$wxUSE_CONSOLE_EVENTLOOP
6449 { echo "$as_me:$LINENO: result: $result" >&5
6450 echo "${ECHO_T}$result" >&6; }
6454 defaultval=$wxUSE_ALL_FEATURES
6455 if test -z "$defaultval"; then
6456 if test x"$enablestring" = xdisable; then
6463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6465 # Check whether --enable-epollloop was given.
6466 if test "${enable_epollloop+set}" = set; then
6467 enableval=$enable_epollloop;
6468 if test "$enableval" = yes; then
6469 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6471 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6476 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6481 eval "$wx_cv_use_epollloop"
6483 if test x"$enablestring" = xdisable; then
6484 if test $wxUSE_EPOLL_DISPATCHER = no; then
6490 result=$wxUSE_EPOLL_DISPATCHER
6493 { echo "$as_me:$LINENO: result
: $result" >&5
6494 echo "${ECHO_T}$result" >&6; }
6498 defaultval=$wxUSE_ALL_FEATURES
6499 if test -z "$defaultval"; then
6500 if test x"$enablestring" = xdisable; then
6507 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-selectloop" >&5
6508 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6509 # Check whether --enable-selectloop was given.
6510 if test "${enable_selectloop+set}" = set; then
6511 enableval=$enable_selectloop;
6512 if test "$enableval" = yes; then
6513 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6515 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6520 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6525 eval "$wx_cv_use_selectloop"
6527 if test x
"$enablestring" = xdisable
; then
6528 if test $wxUSE_SELECT_DISPATCHER = no
; then
6534 result
=$wxUSE_SELECT_DISPATCHER
6537 { echo "$as_me:$LINENO: result: $result" >&5
6538 echo "${ECHO_T}$result" >&6; }
6543 defaultval
=$wxUSE_ALL_FEATURES
6544 if test -z "$defaultval"; then
6545 if test x
"$enablestring" = xdisable
; then
6552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6553 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6554 # Check whether --enable-any was given.
6555 if test "${enable_any+set}" = set; then
6556 enableval
=$enable_any;
6557 if test "$enableval" = yes; then
6558 wx_cv_use_any
='wxUSE_ANY=yes'
6560 wx_cv_use_any
='wxUSE_ANY=no'
6565 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6570 eval "$wx_cv_use_any"
6572 if test x"$enablestring" = xdisable; then
6573 if test $wxUSE_ANY = no; then
6582 { echo "$as_me:$LINENO: result: $result" >&5
6583 echo "${ECHO_T}$result" >&6; }
6587 defaultval=$wxUSE_ALL_FEATURES
6588 if test -z "$defaultval"; then
6589 if test x"$enablestring" = xdisable; then
6596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6597 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6598 # Check whether --enable-apple_ieee was given.
6599 if test "${enable_apple_ieee+set}" = set; then
6600 enableval=$enable_apple_ieee;
6601 if test "$enableval" = yes; then
6602 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6604 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6609 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6614 eval "$wx_cv_use_apple_ieee"
6616 if test x"$enablestring" = xdisable; then
6617 if test $wxUSE_APPLE_IEEE = no; then
6623 result=$wxUSE_APPLE_IEEE
6626 { echo "$as_me:$LINENO: result
: $result" >&5
6627 echo "${ECHO_T}$result" >&6; }
6631 defaultval=$wxUSE_ALL_FEATURES
6632 if test -z "$defaultval"; then
6633 if test x"$enablestring" = xdisable; then
6640 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6641 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6642 # Check whether --enable-arcstream was given.
6643 if test "${enable_arcstream+set}" = set; then
6644 enableval=$enable_arcstream;
6645 if test "$enableval" = yes; then
6646 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6648 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6653 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6658 eval "$wx_cv_use_arcstream"
6660 if test x
"$enablestring" = xdisable
; then
6661 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6667 result
=$wxUSE_ARCHIVE_STREAMS
6670 { echo "$as_me:$LINENO: result: $result" >&5
6671 echo "${ECHO_T}$result" >&6; }
6675 defaultval
=$wxUSE_ALL_FEATURES
6676 if test -z "$defaultval"; then
6677 if test x
"$enablestring" = xdisable
; then
6684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6685 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6686 # Check whether --enable-base64 was given.
6687 if test "${enable_base64+set}" = set; then
6688 enableval
=$enable_base64;
6689 if test "$enableval" = yes; then
6690 wx_cv_use_base64
='wxUSE_BASE64=yes'
6692 wx_cv_use_base64
='wxUSE_BASE64=no'
6697 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6702 eval "$wx_cv_use_base64"
6704 if test x"$enablestring" = xdisable; then
6705 if test $wxUSE_BASE64 = no; then
6711 result=$wxUSE_BASE64
6714 { echo "$as_me:$LINENO: result: $result" >&5
6715 echo "${ECHO_T}$result" >&6; }
6719 defaultval=$wxUSE_ALL_FEATURES
6720 if test -z "$defaultval"; then
6721 if test x"$enablestring" = xdisable; then
6728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6729 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6730 # Check whether --enable-backtrace was given.
6731 if test "${enable_backtrace+set}" = set; then
6732 enableval=$enable_backtrace;
6733 if test "$enableval" = yes; then
6734 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6736 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6741 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6746 eval "$wx_cv_use_backtrace"
6748 if test x"$enablestring" = xdisable; then
6749 if test $wxUSE_STACKWALKER = no; then
6755 result=$wxUSE_STACKWALKER
6758 { echo "$as_me:$LINENO: result
: $result" >&5
6759 echo "${ECHO_T}$result" >&6; }
6763 defaultval=$wxUSE_ALL_FEATURES
6764 if test -z "$defaultval"; then
6765 if test x"$enablestring" = xdisable; then
6772 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6773 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6774 # Check whether --enable-catch_segvs was given.
6775 if test "${enable_catch_segvs+set}" = set; then
6776 enableval=$enable_catch_segvs;
6777 if test "$enableval" = yes; then
6778 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6780 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6785 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6790 eval "$wx_cv_use_catch_segvs"
6792 if test x
"$enablestring" = xdisable
; then
6793 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6799 result
=$wxUSE_ON_FATAL_EXCEPTION
6802 { echo "$as_me:$LINENO: result: $result" >&5
6803 echo "${ECHO_T}$result" >&6; }
6807 defaultval
=$wxUSE_ALL_FEATURES
6808 if test -z "$defaultval"; then
6809 if test x
"$enablestring" = xdisable
; then
6816 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6817 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6818 # Check whether --enable-cmdline was given.
6819 if test "${enable_cmdline+set}" = set; then
6820 enableval
=$enable_cmdline;
6821 if test "$enableval" = yes; then
6822 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6824 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6829 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6834 eval "$wx_cv_use_cmdline"
6836 if test x"$enablestring" = xdisable; then
6837 if test $wxUSE_CMDLINE_PARSER = no; then
6843 result=$wxUSE_CMDLINE_PARSER
6846 { echo "$as_me:$LINENO: result: $result" >&5
6847 echo "${ECHO_T}$result" >&6; }
6851 defaultval=$wxUSE_ALL_FEATURES
6852 if test -z "$defaultval"; then
6853 if test x"$enablestring" = xdisable; then
6860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6861 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6862 # Check whether --enable-datetime was given.
6863 if test "${enable_datetime+set}" = set; then
6864 enableval=$enable_datetime;
6865 if test "$enableval" = yes; then
6866 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6868 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6873 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6878 eval "$wx_cv_use_datetime"
6880 if test x"$enablestring" = xdisable; then
6881 if test $wxUSE_DATETIME = no; then
6887 result=$wxUSE_DATETIME
6890 { echo "$as_me:$LINENO: result
: $result" >&5
6891 echo "${ECHO_T}$result" >&6; }
6895 defaultval=$wxUSE_ALL_FEATURES
6896 if test -z "$defaultval"; then
6897 if test x"$enablestring" = xdisable; then
6904 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6905 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6906 # Check whether --enable-debugreport was given.
6907 if test "${enable_debugreport+set}" = set; then
6908 enableval=$enable_debugreport;
6909 if test "$enableval" = yes; then
6910 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6912 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6917 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6922 eval "$wx_cv_use_debugreport"
6924 if test x
"$enablestring" = xdisable
; then
6925 if test $wxUSE_DEBUGREPORT = no
; then
6931 result
=$wxUSE_DEBUGREPORT
6934 { echo "$as_me:$LINENO: result: $result" >&5
6935 echo "${ECHO_T}$result" >&6; }
6939 defaultval
=$wxUSE_ALL_FEATURES
6940 if test -z "$defaultval"; then
6941 if test x
"$enablestring" = xdisable
; then
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6950 # Check whether --enable-dialupman was given.
6951 if test "${enable_dialupman+set}" = set; then
6952 enableval
=$enable_dialupman;
6953 if test "$enableval" = yes; then
6954 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6956 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6961 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6966 eval "$wx_cv_use_dialupman"
6968 if test x"$enablestring" = xdisable; then
6969 if test $wxUSE_DIALUP_MANAGER = no; then
6975 result=$wxUSE_DIALUP_MANAGER
6978 { echo "$as_me:$LINENO: result: $result" >&5
6979 echo "${ECHO_T}$result" >&6; }
6983 defaultval=$wxUSE_ALL_FEATURES
6984 if test -z "$defaultval"; then
6985 if test x"$enablestring" = xdisable; then
6992 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6993 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6994 # Check whether --enable-dynlib was given.
6995 if test "${enable_dynlib+set}" = set; then
6996 enableval=$enable_dynlib;
6997 if test "$enableval" = yes; then
6998 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
7000 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7005 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7010 eval "$wx_cv_use_dynlib"
7012 if test x"$enablestring" = xdisable; then
7013 if test $wxUSE_DYNLIB_CLASS = no; then
7019 result=$wxUSE_DYNLIB_CLASS
7022 { echo "$as_me:$LINENO: result
: $result" >&5
7023 echo "${ECHO_T}$result" >&6; }
7027 defaultval=$wxUSE_ALL_FEATURES
7028 if test -z "$defaultval"; then
7029 if test x"$enablestring" = xdisable; then
7036 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7037 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7038 # Check whether --enable-dynamicloader was given.
7039 if test "${enable_dynamicloader+set}" = set; then
7040 enableval=$enable_dynamicloader;
7041 if test "$enableval" = yes; then
7042 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7044 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7049 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7054 eval "$wx_cv_use_dynamicloader"
7056 if test x
"$enablestring" = xdisable
; then
7057 if test $wxUSE_DYNAMIC_LOADER = no
; then
7063 result
=$wxUSE_DYNAMIC_LOADER
7066 { echo "$as_me:$LINENO: result: $result" >&5
7067 echo "${ECHO_T}$result" >&6; }
7071 defaultval
=$wxUSE_ALL_FEATURES
7072 if test -z "$defaultval"; then
7073 if test x
"$enablestring" = xdisable
; then
7080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7081 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7082 # Check whether --enable-exceptions was given.
7083 if test "${enable_exceptions+set}" = set; then
7084 enableval
=$enable_exceptions;
7085 if test "$enableval" = yes; then
7086 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7088 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7093 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7098 eval "$wx_cv_use_exceptions"
7100 if test x"$enablestring" = xdisable; then
7101 if test $wxUSE_EXCEPTIONS = no; then
7107 result=$wxUSE_EXCEPTIONS
7110 { echo "$as_me:$LINENO: result: $result" >&5
7111 echo "${ECHO_T}$result" >&6; }
7115 defaultval=$wxUSE_ALL_FEATURES
7116 if test -z "$defaultval"; then
7117 if test x"$enablestring" = xdisable; then
7124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7125 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7126 # Check whether --enable-ffile was given.
7127 if test "${enable_ffile+set}" = set; then
7128 enableval=$enable_ffile;
7129 if test "$enableval" = yes; then
7130 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7132 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7137 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7142 eval "$wx_cv_use_ffile"
7144 if test x"$enablestring" = xdisable; then
7145 if test $wxUSE_FFILE = no; then
7154 { echo "$as_me:$LINENO: result
: $result" >&5
7155 echo "${ECHO_T}$result" >&6; }
7159 defaultval=$wxUSE_ALL_FEATURES
7160 if test -z "$defaultval"; then
7161 if test x"$enablestring" = xdisable; then
7168 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7169 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7170 # Check whether --enable-file was given.
7171 if test "${enable_file+set}" = set; then
7172 enableval=$enable_file;
7173 if test "$enableval" = yes; then
7174 wx_cv_use_file='wxUSE_FILE=yes'
7176 wx_cv_use_file='wxUSE_FILE=no'
7181 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7186 eval "$wx_cv_use_file"
7188 if test x
"$enablestring" = xdisable
; then
7189 if test $wxUSE_FILE = no
; then
7198 { echo "$as_me:$LINENO: result: $result" >&5
7199 echo "${ECHO_T}$result" >&6; }
7203 defaultval
=$wxUSE_ALL_FEATURES
7204 if test -z "$defaultval"; then
7205 if test x
"$enablestring" = xdisable
; then
7212 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7214 # Check whether --enable-filehistory was given.
7215 if test "${enable_filehistory+set}" = set; then
7216 enableval
=$enable_filehistory;
7217 if test "$enableval" = yes; then
7218 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
7220 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
7225 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7230 eval "$wx_cv_use_filehistory"
7232 if test x"$enablestring" = xdisable; then
7233 if test $wxUSE_FILE_HISTORY = no; then
7239 result=$wxUSE_FILE_HISTORY
7242 { echo "$as_me:$LINENO: result: $result" >&5
7243 echo "${ECHO_T}$result" >&6; }
7247 defaultval=$wxUSE_ALL_FEATURES
7248 if test -z "$defaultval"; then
7249 if test x"$enablestring" = xdisable; then
7256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7257 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7258 # Check whether --enable-filesystem was given.
7259 if test "${enable_filesystem+set}" = set; then
7260 enableval=$enable_filesystem;
7261 if test "$enableval" = yes; then
7262 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7264 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7269 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7274 eval "$wx_cv_use_filesystem"
7276 if test x"$enablestring" = xdisable; then
7277 if test $wxUSE_FILESYSTEM = no; then
7283 result=$wxUSE_FILESYSTEM
7286 { echo "$as_me:$LINENO: result
: $result" >&5
7287 echo "${ECHO_T}$result" >&6; }
7291 defaultval=$wxUSE_ALL_FEATURES
7292 if test -z "$defaultval"; then
7293 if test x"$enablestring" = xdisable; then
7300 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7301 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7302 # Check whether --enable-fontenum was given.
7303 if test "${enable_fontenum+set}" = set; then
7304 enableval=$enable_fontenum;
7305 if test "$enableval" = yes; then
7306 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7308 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7313 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7318 eval "$wx_cv_use_fontenum"
7320 if test x
"$enablestring" = xdisable
; then
7321 if test $wxUSE_FONTENUM = no
; then
7327 result
=$wxUSE_FONTENUM
7330 { echo "$as_me:$LINENO: result: $result" >&5
7331 echo "${ECHO_T}$result" >&6; }
7335 defaultval
=$wxUSE_ALL_FEATURES
7336 if test -z "$defaultval"; then
7337 if test x
"$enablestring" = xdisable
; then
7344 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7345 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7346 # Check whether --enable-fontmap was given.
7347 if test "${enable_fontmap+set}" = set; then
7348 enableval
=$enable_fontmap;
7349 if test "$enableval" = yes; then
7350 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7352 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7357 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7362 eval "$wx_cv_use_fontmap"
7364 if test x"$enablestring" = xdisable; then
7365 if test $wxUSE_FONTMAP = no; then
7371 result=$wxUSE_FONTMAP
7374 { echo "$as_me:$LINENO: result: $result" >&5
7375 echo "${ECHO_T}$result" >&6; }
7379 defaultval=$wxUSE_ALL_FEATURES
7380 if test -z "$defaultval"; then
7381 if test x"$enablestring" = xdisable; then
7388 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7389 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7390 # Check whether --enable-fs_archive was given.
7391 if test "${enable_fs_archive+set}" = set; then
7392 enableval=$enable_fs_archive;
7393 if test "$enableval" = yes; then
7394 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7396 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7401 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7406 eval "$wx_cv_use_fs_archive"
7408 if test x"$enablestring" = xdisable; then
7409 if test $wxUSE_FS_ARCHIVE = no; then
7415 result=$wxUSE_FS_ARCHIVE
7418 { echo "$as_me:$LINENO: result
: $result" >&5
7419 echo "${ECHO_T}$result" >&6; }
7423 defaultval=$wxUSE_ALL_FEATURES
7424 if test -z "$defaultval"; then
7425 if test x"$enablestring" = xdisable; then
7432 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7433 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7434 # Check whether --enable-fs_inet was given.
7435 if test "${enable_fs_inet+set}" = set; then
7436 enableval=$enable_fs_inet;
7437 if test "$enableval" = yes; then
7438 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7440 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7445 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7450 eval "$wx_cv_use_fs_inet"
7452 if test x
"$enablestring" = xdisable
; then
7453 if test $wxUSE_FS_INET = no
; then
7459 result
=$wxUSE_FS_INET
7462 { echo "$as_me:$LINENO: result: $result" >&5
7463 echo "${ECHO_T}$result" >&6; }
7467 defaultval
=$wxUSE_ALL_FEATURES
7468 if test -z "$defaultval"; then
7469 if test x
"$enablestring" = xdisable
; then
7476 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7477 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7478 # Check whether --enable-fs_zip was given.
7479 if test "${enable_fs_zip+set}" = set; then
7480 enableval
=$enable_fs_zip;
7481 if test "$enableval" = yes; then
7482 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7484 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7489 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7494 eval "$wx_cv_use_fs_zip"
7496 if test x"$enablestring" = xdisable; then
7497 if test $wxUSE_FS_ZIP = no; then
7503 result=$wxUSE_FS_ZIP
7506 { echo "$as_me:$LINENO: result: $result" >&5
7507 echo "${ECHO_T}$result" >&6; }
7511 defaultval=$wxUSE_ALL_FEATURES
7512 if test -z "$defaultval"; then
7513 if test x"$enablestring" = xdisable; then
7520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7521 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7522 # Check whether --enable-fswatcher was given.
7523 if test "${enable_fswatcher+set}" = set; then
7524 enableval=$enable_fswatcher;
7525 if test "$enableval" = yes; then
7526 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7528 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7533 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7538 eval "$wx_cv_use_fswatcher"
7540 if test x"$enablestring" = xdisable; then
7541 if test $wxUSE_FSWATCHER = no; then
7547 result=$wxUSE_FSWATCHER
7550 { echo "$as_me:$LINENO: result
: $result" >&5
7551 echo "${ECHO_T}$result" >&6; }
7555 defaultval=$wxUSE_ALL_FEATURES
7556 if test -z "$defaultval"; then
7557 if test x"$enablestring" = xdisable; then
7564 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7565 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7566 # Check whether --enable-geometry was given.
7567 if test "${enable_geometry+set}" = set; then
7568 enableval=$enable_geometry;
7569 if test "$enableval" = yes; then
7570 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7572 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7577 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7582 eval "$wx_cv_use_geometry"
7584 if test x
"$enablestring" = xdisable
; then
7585 if test $wxUSE_GEOMETRY = no
; then
7591 result
=$wxUSE_GEOMETRY
7594 { echo "$as_me:$LINENO: result: $result" >&5
7595 echo "${ECHO_T}$result" >&6; }
7599 defaultval
=$wxUSE_ALL_FEATURES
7600 if test -z "$defaultval"; then
7601 if test x
"$enablestring" = xdisable
; then
7608 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7609 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7610 # Check whether --enable-log was given.
7611 if test "${enable_log+set}" = set; then
7612 enableval
=$enable_log;
7613 if test "$enableval" = yes; then
7614 wx_cv_use_log
='wxUSE_LOG=yes'
7616 wx_cv_use_log
='wxUSE_LOG=no'
7621 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7626 eval "$wx_cv_use_log"
7628 if test x"$enablestring" = xdisable; then
7629 if test $wxUSE_LOG = no; then
7638 { echo "$as_me:$LINENO: result: $result" >&5
7639 echo "${ECHO_T}$result" >&6; }
7643 defaultval=$wxUSE_ALL_FEATURES
7644 if test -z "$defaultval"; then
7645 if test x"$enablestring" = xdisable; then
7652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7653 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7654 # Check whether --enable-longlong was given.
7655 if test "${enable_longlong+set}" = set; then
7656 enableval=$enable_longlong;
7657 if test "$enableval" = yes; then
7658 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7660 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7665 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7670 eval "$wx_cv_use_longlong"
7672 if test x"$enablestring" = xdisable; then
7673 if test $wxUSE_LONGLONG = no; then
7679 result=$wxUSE_LONGLONG
7682 { echo "$as_me:$LINENO: result
: $result" >&5
7683 echo "${ECHO_T}$result" >&6; }
7687 defaultval=$wxUSE_ALL_FEATURES
7688 if test -z "$defaultval"; then
7689 if test x"$enablestring" = xdisable; then
7696 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7697 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7698 # Check whether --enable-mimetype was given.
7699 if test "${enable_mimetype+set}" = set; then
7700 enableval=$enable_mimetype;
7701 if test "$enableval" = yes; then
7702 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7704 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7709 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7714 eval "$wx_cv_use_mimetype"
7716 if test x
"$enablestring" = xdisable
; then
7717 if test $wxUSE_MIMETYPE = no
; then
7723 result
=$wxUSE_MIMETYPE
7726 { echo "$as_me:$LINENO: result: $result" >&5
7727 echo "${ECHO_T}$result" >&6; }
7731 defaultval
=$wxUSE_ALL_FEATURES
7732 if test -z "$defaultval"; then
7733 if test x
"$enablestring" = xdisable
; then
7740 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7741 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7742 # Check whether --enable-printfposparam was given.
7743 if test "${enable_printfposparam+set}" = set; then
7744 enableval
=$enable_printfposparam;
7745 if test "$enableval" = yes; then
7746 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7748 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7753 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7758 eval "$wx_cv_use_printfposparam"
7760 if test x"$enablestring" = xdisable; then
7761 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7767 result=$wxUSE_PRINTF_POS_PARAMS
7770 { echo "$as_me:$LINENO: result: $result" >&5
7771 echo "${ECHO_T}$result" >&6; }
7775 defaultval=$wxUSE_ALL_FEATURES
7776 if test -z "$defaultval"; then
7777 if test x"$enablestring" = xdisable; then
7784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7785 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7786 # Check whether --enable-snglinst was given.
7787 if test "${enable_snglinst+set}" = set; then
7788 enableval=$enable_snglinst;
7789 if test "$enableval" = yes; then
7790 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7792 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7797 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7802 eval "$wx_cv_use_snglinst"
7804 if test x"$enablestring" = xdisable; then
7805 if test $wxUSE_SNGLINST_CHECKER = no; then
7811 result=$wxUSE_SNGLINST_CHECKER
7814 { echo "$as_me:$LINENO: result
: $result" >&5
7815 echo "${ECHO_T}$result" >&6; }
7819 defaultval=$wxUSE_ALL_FEATURES
7820 if test -z "$defaultval"; then
7821 if test x"$enablestring" = xdisable; then
7828 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7829 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7830 # Check whether --enable-sound was given.
7831 if test "${enable_sound+set}" = set; then
7832 enableval=$enable_sound;
7833 if test "$enableval" = yes; then
7834 wx_cv_use_sound='wxUSE_SOUND=yes'
7836 wx_cv_use_sound='wxUSE_SOUND=no'
7841 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7846 eval "$wx_cv_use_sound"
7848 if test x
"$enablestring" = xdisable
; then
7849 if test $wxUSE_SOUND = no
; then
7858 { echo "$as_me:$LINENO: result: $result" >&5
7859 echo "${ECHO_T}$result" >&6; }
7863 defaultval
=$wxUSE_ALL_FEATURES
7864 if test -z "$defaultval"; then
7865 if test x
"$enablestring" = xdisable
; then
7872 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7873 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7874 # Check whether --enable-stdpaths was given.
7875 if test "${enable_stdpaths+set}" = set; then
7876 enableval
=$enable_stdpaths;
7877 if test "$enableval" = yes; then
7878 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7880 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7885 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7890 eval "$wx_cv_use_stdpaths"
7892 if test x"$enablestring" = xdisable; then
7893 if test $wxUSE_STDPATHS = no; then
7899 result=$wxUSE_STDPATHS
7902 { echo "$as_me:$LINENO: result: $result" >&5
7903 echo "${ECHO_T}$result" >&6; }
7907 defaultval=$wxUSE_ALL_FEATURES
7908 if test -z "$defaultval"; then
7909 if test x"$enablestring" = xdisable; then
7916 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7917 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7918 # Check whether --enable-stopwatch was given.
7919 if test "${enable_stopwatch+set}" = set; then
7920 enableval=$enable_stopwatch;
7921 if test "$enableval" = yes; then
7922 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7924 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7929 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7934 eval "$wx_cv_use_stopwatch"
7936 if test x"$enablestring" = xdisable; then
7937 if test $wxUSE_STOPWATCH = no; then
7943 result=$wxUSE_STOPWATCH
7946 { echo "$as_me:$LINENO: result
: $result" >&5
7947 echo "${ECHO_T}$result" >&6; }
7951 defaultval=$wxUSE_ALL_FEATURES
7952 if test -z "$defaultval"; then
7953 if test x"$enablestring" = xdisable; then
7960 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7961 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7962 # Check whether --enable-streams was given.
7963 if test "${enable_streams+set}" = set; then
7964 enableval=$enable_streams;
7965 if test "$enableval" = yes; then
7966 wx_cv_use_streams='wxUSE_STREAMS=yes'
7968 wx_cv_use_streams='wxUSE_STREAMS=no'
7973 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7978 eval "$wx_cv_use_streams"
7980 if test x
"$enablestring" = xdisable
; then
7981 if test $wxUSE_STREAMS = no
; then
7987 result
=$wxUSE_STREAMS
7990 { echo "$as_me:$LINENO: result: $result" >&5
7991 echo "${ECHO_T}$result" >&6; }
7995 defaultval
=$wxUSE_ALL_FEATURES
7996 if test -z "$defaultval"; then
7997 if test x
"$enablestring" = xdisable
; then
8004 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
8005 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
8006 # Check whether --enable-sysoptions was given.
8007 if test "${enable_sysoptions+set}" = set; then
8008 enableval
=$enable_sysoptions;
8009 if test "$enableval" = yes; then
8010 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
8012 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
8017 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8022 eval "$wx_cv_use_sysoptions"
8024 if test x"$enablestring" = xdisable; then
8025 if test $wxUSE_SYSTEM_OPTIONS = no; then
8031 result=$wxUSE_SYSTEM_OPTIONS
8034 { echo "$as_me:$LINENO: result: $result" >&5
8035 echo "${ECHO_T}$result" >&6; }
8039 defaultval=$wxUSE_ALL_FEATURES
8040 if test -z "$defaultval"; then
8041 if test x"$enablestring" = xdisable; then
8048 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8049 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8050 # Check whether --enable-tarstream was given.
8051 if test "${enable_tarstream+set}" = set; then
8052 enableval=$enable_tarstream;
8053 if test "$enableval" = yes; then
8054 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
8056 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
8061 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8066 eval "$wx_cv_use_tarstream"
8068 if test x"$enablestring" = xdisable; then
8069 if test $wxUSE_TARSTREAM = no; then
8075 result=$wxUSE_TARSTREAM
8078 { echo "$as_me:$LINENO: result
: $result" >&5
8079 echo "${ECHO_T}$result" >&6; }
8083 defaultval=$wxUSE_ALL_FEATURES
8084 if test -z "$defaultval"; then
8085 if test x"$enablestring" = xdisable; then
8092 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
8093 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
8094 # Check whether --enable-textbuf was given.
8095 if test "${enable_textbuf+set}" = set; then
8096 enableval=$enable_textbuf;
8097 if test "$enableval" = yes; then
8098 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8100 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8105 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8110 eval "$wx_cv_use_textbuf"
8112 if test x
"$enablestring" = xdisable
; then
8113 if test $wxUSE_TEXTBUFFER = no
; then
8119 result
=$wxUSE_TEXTBUFFER
8122 { echo "$as_me:$LINENO: result: $result" >&5
8123 echo "${ECHO_T}$result" >&6; }
8127 defaultval
=$wxUSE_ALL_FEATURES
8128 if test -z "$defaultval"; then
8129 if test x
"$enablestring" = xdisable
; then
8136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8138 # Check whether --enable-textfile was given.
8139 if test "${enable_textfile+set}" = set; then
8140 enableval
=$enable_textfile;
8141 if test "$enableval" = yes; then
8142 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
8144 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
8149 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8154 eval "$wx_cv_use_textfile"
8156 if test x"$enablestring" = xdisable; then
8157 if test $wxUSE_TEXTFILE = no; then
8163 result=$wxUSE_TEXTFILE
8166 { echo "$as_me:$LINENO: result: $result" >&5
8167 echo "${ECHO_T}$result" >&6; }
8171 defaultval=$wxUSE_ALL_FEATURES
8172 if test -z "$defaultval"; then
8173 if test x"$enablestring" = xdisable; then
8180 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8181 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8182 # Check whether --enable-timer was given.
8183 if test "${enable_timer+set}" = set; then
8184 enableval=$enable_timer;
8185 if test "$enableval" = yes; then
8186 wx_cv_use_timer='wxUSE_TIMER
=yes'
8188 wx_cv_use_timer='wxUSE_TIMER
=no
'
8193 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8198 eval "$wx_cv_use_timer"
8200 if test x"$enablestring" = xdisable; then
8201 if test $wxUSE_TIMER = no; then
8210 { echo "$as_me:$LINENO: result
: $result" >&5
8211 echo "${ECHO_T}$result" >&6; }
8215 defaultval=$wxUSE_ALL_FEATURES
8216 if test -z "$defaultval"; then
8217 if test x"$enablestring" = xdisable; then
8224 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
8225 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
8226 # Check whether --enable-variant was given.
8227 if test "${enable_variant+set}" = set; then
8228 enableval=$enable_variant;
8229 if test "$enableval" = yes; then
8230 wx_cv_use_variant='wxUSE_VARIANT=yes'
8232 wx_cv_use_variant='wxUSE_VARIANT=no'
8237 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8242 eval "$wx_cv_use_variant"
8244 if test x
"$enablestring" = xdisable
; then
8245 if test $wxUSE_VARIANT = no
; then
8251 result
=$wxUSE_VARIANT
8254 { echo "$as_me:$LINENO: result: $result" >&5
8255 echo "${ECHO_T}$result" >&6; }
8259 defaultval
=$wxUSE_ALL_FEATURES
8260 if test -z "$defaultval"; then
8261 if test x
"$enablestring" = xdisable
; then
8268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8269 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8270 # Check whether --enable-zipstream was given.
8271 if test "${enable_zipstream+set}" = set; then
8272 enableval
=$enable_zipstream;
8273 if test "$enableval" = yes; then
8274 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8276 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8281 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8286 eval "$wx_cv_use_zipstream"
8288 if test x"$enablestring" = xdisable; then
8289 if test $wxUSE_ZIPSTREAM = no; then
8295 result=$wxUSE_ZIPSTREAM
8298 { echo "$as_me:$LINENO: result: $result" >&5
8299 echo "${ECHO_T}$result" >&6; }
8304 defaultval=$wxUSE_ALL_FEATURES
8305 if test -z "$defaultval"; then
8306 if test x"$enablestring" = xdisable; then
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8315 # Check whether --enable-url was given.
8316 if test "${enable_url+set}" = set; then
8317 enableval=$enable_url;
8318 if test "$enableval" = yes; then
8319 wx_cv_use_url='wxUSE_URL
=yes'
8321 wx_cv_use_url='wxUSE_URL
=no
'
8326 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8331 eval "$wx_cv_use_url"
8333 if test x"$enablestring" = xdisable; then
8334 if test $wxUSE_URL = no; then
8343 { echo "$as_me:$LINENO: result
: $result" >&5
8344 echo "${ECHO_T}$result" >&6; }
8348 defaultval=$wxUSE_ALL_FEATURES
8349 if test -z "$defaultval"; then
8350 if test x"$enablestring" = xdisable; then
8357 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8358 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8359 # Check whether --enable-protocol was given.
8360 if test "${enable_protocol+set}" = set; then
8361 enableval=$enable_protocol;
8362 if test "$enableval" = yes; then
8363 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8365 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8370 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8375 eval "$wx_cv_use_protocol"
8377 if test x
"$enablestring" = xdisable
; then
8378 if test $wxUSE_PROTOCOL = no
; then
8384 result
=$wxUSE_PROTOCOL
8387 { echo "$as_me:$LINENO: result: $result" >&5
8388 echo "${ECHO_T}$result" >&6; }
8392 defaultval
=$wxUSE_ALL_FEATURES
8393 if test -z "$defaultval"; then
8394 if test x
"$enablestring" = xdisable
; then
8401 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8402 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8403 # Check whether --enable-protocol_http was given.
8404 if test "${enable_protocol_http+set}" = set; then
8405 enableval
=$enable_protocol_http;
8406 if test "$enableval" = yes; then
8407 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8409 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8414 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8419 eval "$wx_cv_use_protocol_http"
8421 if test x"$enablestring" = xdisable; then
8422 if test $wxUSE_PROTOCOL_HTTP = no; then
8428 result=$wxUSE_PROTOCOL_HTTP
8431 { echo "$as_me:$LINENO: result: $result" >&5
8432 echo "${ECHO_T}$result" >&6; }
8436 defaultval=$wxUSE_ALL_FEATURES
8437 if test -z "$defaultval"; then
8438 if test x"$enablestring" = xdisable; then
8445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8447 # Check whether --enable-protocol_ftp was given.
8448 if test "${enable_protocol_ftp+set}" = set; then
8449 enableval=$enable_protocol_ftp;
8450 if test "$enableval" = yes; then
8451 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8453 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8458 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8463 eval "$wx_cv_use_protocol_ftp"
8465 if test x"$enablestring" = xdisable; then
8466 if test $wxUSE_PROTOCOL_FTP = no; then
8472 result=$wxUSE_PROTOCOL_FTP
8475 { echo "$as_me:$LINENO: result
: $result" >&5
8476 echo "${ECHO_T}$result" >&6; }
8480 defaultval=$wxUSE_ALL_FEATURES
8481 if test -z "$defaultval"; then
8482 if test x"$enablestring" = xdisable; then
8489 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8490 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8491 # Check whether --enable-protocol_file was given.
8492 if test "${enable_protocol_file+set}" = set; then
8493 enableval=$enable_protocol_file;
8494 if test "$enableval" = yes; then
8495 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8497 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8502 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8507 eval "$wx_cv_use_protocol_file"
8509 if test x
"$enablestring" = xdisable
; then
8510 if test $wxUSE_PROTOCOL_FILE = no
; then
8516 result
=$wxUSE_PROTOCOL_FILE
8519 { echo "$as_me:$LINENO: result: $result" >&5
8520 echo "${ECHO_T}$result" >&6; }
8525 defaultval
=$wxUSE_ALL_FEATURES
8526 if test -z "$defaultval"; then
8527 if test x
"$enablestring" = xdisable
; then
8534 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8535 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8536 # Check whether --enable-threads was given.
8537 if test "${enable_threads+set}" = set; then
8538 enableval
=$enable_threads;
8539 if test "$enableval" = yes; then
8540 wx_cv_use_threads
='wxUSE_THREADS=yes'
8542 wx_cv_use_threads
='wxUSE_THREADS=no'
8547 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8552 eval "$wx_cv_use_threads"
8554 if test x"$enablestring" = xdisable; then
8555 if test $wxUSE_THREADS = no; then
8561 result=$wxUSE_THREADS
8564 { echo "$as_me:$LINENO: result: $result" >&5
8565 echo "${ECHO_T}$result" >&6; }
8571 if test -z "$defaultval"; then
8572 if test x"$enablestring" = xdisable; then
8579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8580 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8581 # Check whether --enable-iniconf was given.
8582 if test "${enable_iniconf+set}" = set; then
8583 enableval=$enable_iniconf;
8584 if test "$enableval" = yes; then
8585 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8587 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8592 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8597 eval "$wx_cv_use_iniconf"
8599 if test x"$enablestring" = xdisable; then
8600 if test $wxUSE_INICONF = no; then
8606 result=$wxUSE_INICONF
8609 { echo "$as_me:$LINENO: result
: $result" >&5
8610 echo "${ECHO_T}$result" >&6; }
8614 defaultval=$wxUSE_ALL_FEATURES
8615 if test -z "$defaultval"; then
8616 if test x"$enablestring" = xdisable; then
8623 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8624 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8625 # Check whether --enable-regkey was given.
8626 if test "${enable_regkey+set}" = set; then
8627 enableval=$enable_regkey;
8628 if test "$enableval" = yes; then
8629 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8631 wx_cv_use_regkey='wxUSE_REGKEY=no'
8636 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8641 eval "$wx_cv_use_regkey"
8643 if test x
"$enablestring" = xdisable
; then
8644 if test $wxUSE_REGKEY = no
; then
8650 result
=$wxUSE_REGKEY
8653 { echo "$as_me:$LINENO: result: $result" >&5
8654 echo "${ECHO_T}$result" >&6; }
8657 if test "$wxUSE_GUI" = "yes"; then
8662 defaultval
=$wxUSE_ALL_FEATURES
8663 if test -z "$defaultval"; then
8664 if test x
"$enablestring" = xdisable
; then
8671 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8672 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8673 # Check whether --enable-docview was given.
8674 if test "${enable_docview+set}" = set; then
8675 enableval
=$enable_docview;
8676 if test "$enableval" = yes; then
8677 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8679 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8684 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8689 eval "$wx_cv_use_docview"
8691 if test x"$enablestring" = xdisable; then
8692 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8698 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8701 { echo "$as_me:$LINENO: result: $result" >&5
8702 echo "${ECHO_T}$result" >&6; }
8706 defaultval=$wxUSE_ALL_FEATURES
8707 if test -z "$defaultval"; then
8708 if test x"$enablestring" = xdisable; then
8715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8716 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8717 # Check whether --enable-help was given.
8718 if test "${enable_help+set}" = set; then
8719 enableval=$enable_help;
8720 if test "$enableval" = yes; then
8721 wx_cv_use_help='wxUSE_HELP
=yes'
8723 wx_cv_use_help='wxUSE_HELP
=no
'
8728 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8733 eval "$wx_cv_use_help"
8735 if test x"$enablestring" = xdisable; then
8736 if test $wxUSE_HELP = no; then
8745 { echo "$as_me:$LINENO: result
: $result" >&5
8746 echo "${ECHO_T}$result" >&6; }
8750 defaultval=$wxUSE_ALL_FEATURES
8751 if test -z "$defaultval"; then
8752 if test x"$enablestring" = xdisable; then
8759 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8760 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8761 # Check whether --enable-mshtmlhelp was given.
8762 if test "${enable_mshtmlhelp+set}" = set; then
8763 enableval=$enable_mshtmlhelp;
8764 if test "$enableval" = yes; then
8765 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8767 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8772 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8777 eval "$wx_cv_use_mshtmlhelp"
8779 if test x
"$enablestring" = xdisable
; then
8780 if test $wxUSE_MS_HTML_HELP = no
; then
8786 result
=$wxUSE_MS_HTML_HELP
8789 { echo "$as_me:$LINENO: result: $result" >&5
8790 echo "${ECHO_T}$result" >&6; }
8794 defaultval
=$wxUSE_ALL_FEATURES
8795 if test -z "$defaultval"; then
8796 if test x
"$enablestring" = xdisable
; then
8803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8804 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8805 # Check whether --enable-html was given.
8806 if test "${enable_html+set}" = set; then
8807 enableval
=$enable_html;
8808 if test "$enableval" = yes; then
8809 wx_cv_use_html
='wxUSE_HTML=yes'
8811 wx_cv_use_html
='wxUSE_HTML=no'
8816 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8821 eval "$wx_cv_use_html"
8823 if test x"$enablestring" = xdisable; then
8824 if test $wxUSE_HTML = no; then
8833 { echo "$as_me:$LINENO: result: $result" >&5
8834 echo "${ECHO_T}$result" >&6; }
8838 defaultval=$wxUSE_ALL_FEATURES
8839 if test -z "$defaultval"; then
8840 if test x"$enablestring" = xdisable; then
8847 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8848 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8849 # Check whether --enable-htmlhelp was given.
8850 if test "${enable_htmlhelp+set}" = set; then
8851 enableval=$enable_htmlhelp;
8852 if test "$enableval" = yes; then
8853 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8855 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8860 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8865 eval "$wx_cv_use_htmlhelp"
8867 if test x"$enablestring" = xdisable; then
8868 if test $wxUSE_WXHTML_HELP = no; then
8874 result=$wxUSE_WXHTML_HELP
8877 { echo "$as_me:$LINENO: result
: $result" >&5
8878 echo "${ECHO_T}$result" >&6; }
8882 defaultval=$wxUSE_ALL_FEATURES
8883 if test -z "$defaultval"; then
8884 if test x"$enablestring" = xdisable; then
8891 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8892 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8893 # Check whether --enable-xrc was given.
8894 if test "${enable_xrc+set}" = set; then
8895 enableval=$enable_xrc;
8896 if test "$enableval" = yes; then
8897 wx_cv_use_xrc='wxUSE_XRC=yes'
8899 wx_cv_use_xrc='wxUSE_XRC=no'
8904 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8909 eval "$wx_cv_use_xrc"
8911 if test x
"$enablestring" = xdisable
; then
8912 if test $wxUSE_XRC = no
; then
8921 { echo "$as_me:$LINENO: result: $result" >&5
8922 echo "${ECHO_T}$result" >&6; }
8926 defaultval
=$wxUSE_ALL_FEATURES
8927 if test -z "$defaultval"; then
8928 if test x
"$enablestring" = xdisable
; then
8935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8936 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8937 # Check whether --enable-aui was given.
8938 if test "${enable_aui+set}" = set; then
8939 enableval
=$enable_aui;
8940 if test "$enableval" = yes; then
8941 wx_cv_use_aui
='wxUSE_AUI=yes'
8943 wx_cv_use_aui
='wxUSE_AUI=no'
8948 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8953 eval "$wx_cv_use_aui"
8955 if test x"$enablestring" = xdisable; then
8956 if test $wxUSE_AUI = no; then
8965 { echo "$as_me:$LINENO: result: $result" >&5
8966 echo "${ECHO_T}$result" >&6; }
8970 defaultval=$wxUSE_ALL_FEATURES
8971 if test -z "$defaultval"; then
8972 if test x"$enablestring" = xdisable; then
8979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8980 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8981 # Check whether --enable-propgrid was given.
8982 if test "${enable_propgrid+set}" = set; then
8983 enableval=$enable_propgrid;
8984 if test "$enableval" = yes; then
8985 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8987 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8992 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8997 eval "$wx_cv_use_propgrid"
8999 if test x"$enablestring" = xdisable; then
9000 if test $wxUSE_PROPGRID = no; then
9006 result=$wxUSE_PROPGRID
9009 { echo "$as_me:$LINENO: result
: $result" >&5
9010 echo "${ECHO_T}$result" >&6; }
9014 defaultval=$wxUSE_ALL_FEATURES
9015 if test -z "$defaultval"; then
9016 if test x"$enablestring" = xdisable; then
9023 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
9024 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
9025 # Check whether --enable-ribbon was given.
9026 if test "${enable_ribbon+set}" = set; then
9027 enableval=$enable_ribbon;
9028 if test "$enableval" = yes; then
9029 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
9031 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9036 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9041 eval "$wx_cv_use_ribbon"
9043 if test x
"$enablestring" = xdisable
; then
9044 if test $wxUSE_RIBBON = no
; then
9050 result
=$wxUSE_RIBBON
9053 { echo "$as_me:$LINENO: result: $result" >&5
9054 echo "${ECHO_T}$result" >&6; }
9058 defaultval
=$wxUSE_ALL_FEATURES
9059 if test -z "$defaultval"; then
9060 if test x
"$enablestring" = xdisable
; then
9067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9068 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9069 # Check whether --enable-stc was given.
9070 if test "${enable_stc+set}" = set; then
9071 enableval
=$enable_stc;
9072 if test "$enableval" = yes; then
9073 wx_cv_use_stc
='wxUSE_STC=yes'
9075 wx_cv_use_stc
='wxUSE_STC=no'
9080 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9085 eval "$wx_cv_use_stc"
9087 if test x"$enablestring" = xdisable; then
9088 if test $wxUSE_STC = no; then
9097 { echo "$as_me:$LINENO: result: $result" >&5
9098 echo "${ECHO_T}$result" >&6; }
9102 defaultval=$wxUSE_ALL_FEATURES
9103 if test -z "$defaultval"; then
9104 if test x"$enablestring" = xdisable; then
9111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9112 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9113 # Check whether --enable-constraints was given.
9114 if test "${enable_constraints+set}" = set; then
9115 enableval=$enable_constraints;
9116 if test "$enableval" = yes; then
9117 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
9119 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
9124 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9129 eval "$wx_cv_use_constraints"
9131 if test x"$enablestring" = xdisable; then
9132 if test $wxUSE_CONSTRAINTS = no; then
9138 result=$wxUSE_CONSTRAINTS
9141 { echo "$as_me:$LINENO: result
: $result" >&5
9142 echo "${ECHO_T}$result" >&6; }
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9155 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
9156 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
9157 # Check whether --enable-loggui was given.
9158 if test "${enable_loggui+set}" = set; then
9159 enableval=$enable_loggui;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9163 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9168 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9173 eval "$wx_cv_use_loggui"
9175 if test x
"$enablestring" = xdisable
; then
9176 if test $wxUSE_LOGGUI = no
; then
9182 result
=$wxUSE_LOGGUI
9185 { echo "$as_me:$LINENO: result: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9190 defaultval
=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x
"$enablestring" = xdisable
; then
9199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9201 # Check whether --enable-logwin was given.
9202 if test "${enable_logwin+set}" = set; then
9203 enableval
=$enable_logwin;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
9207 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
9212 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9217 eval "$wx_cv_use_logwin"
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_LOGWINDOW = no; then
9226 result=$wxUSE_LOGWINDOW
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9245 # Check whether --enable-logdialog was given.
9246 if test "${enable_logdialog+set}" = set; then
9247 enableval=$enable_logdialog;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9251 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9256 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9261 eval "$wx_cv_use_logdialog"
9263 if test x"$enablestring" = xdisable; then
9264 if test $wxUSE_LOGDIALOG = no; then
9270 result=$wxUSE_LOGDIALOG
9273 { echo "$as_me:$LINENO: result
: $result" >&5
9274 echo "${ECHO_T}$result" >&6; }
9278 defaultval=$wxUSE_ALL_FEATURES
9279 if test -z "$defaultval"; then
9280 if test x"$enablestring" = xdisable; then
9287 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9288 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9289 # Check whether --enable-mdi was given.
9290 if test "${enable_mdi+set}" = set; then
9291 enableval=$enable_mdi;
9292 if test "$enableval" = yes; then
9293 wx_cv_use_mdi='wxUSE_MDI=yes'
9295 wx_cv_use_mdi='wxUSE_MDI=no'
9300 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9305 eval "$wx_cv_use_mdi"
9307 if test x
"$enablestring" = xdisable
; then
9308 if test $wxUSE_MDI = no
; then
9317 { echo "$as_me:$LINENO: result: $result" >&5
9318 echo "${ECHO_T}$result" >&6; }
9322 defaultval
=$wxUSE_ALL_FEATURES
9323 if test -z "$defaultval"; then
9324 if test x
"$enablestring" = xdisable
; then
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9333 # Check whether --enable-mdidoc was given.
9334 if test "${enable_mdidoc+set}" = set; then
9335 enableval
=$enable_mdidoc;
9336 if test "$enableval" = yes; then
9337 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9339 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9344 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9349 eval "$wx_cv_use_mdidoc"
9351 if test x"$enablestring" = xdisable; then
9352 if test $wxUSE_MDI_ARCHITECTURE = no; then
9358 result=$wxUSE_MDI_ARCHITECTURE
9361 { echo "$as_me:$LINENO: result: $result" >&5
9362 echo "${ECHO_T}$result" >&6; }
9366 defaultval=$wxUSE_ALL_FEATURES
9367 if test -z "$defaultval"; then
9368 if test x"$enablestring" = xdisable; then
9375 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9376 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9377 # Check whether --enable-mediactrl was given.
9378 if test "${enable_mediactrl+set}" = set; then
9379 enableval=$enable_mediactrl;
9380 if test "$enableval" = yes; then
9381 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9383 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9388 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9393 eval "$wx_cv_use_mediactrl"
9395 if test x"$enablestring" = xdisable; then
9396 if test $wxUSE_MEDIACTRL = no; then
9402 result=$wxUSE_MEDIACTRL
9405 { echo "$as_me:$LINENO: result
: $result" >&5
9406 echo "${ECHO_T}$result" >&6; }
9410 defaultval=$wxUSE_ALL_FEATURES
9411 if test -z "$defaultval"; then
9412 if test x"$enablestring" = xdisable; then
9419 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9420 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9421 # Check whether --enable-gstreamer8 was given.
9422 if test "${enable_gstreamer8+set}" = set; then
9423 enableval=$enable_gstreamer8;
9424 if test "$enableval" = yes; then
9425 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9427 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9432 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9437 eval "$wx_cv_use_gstreamer8"
9439 if test x
"$enablestring" = xdisable
; then
9440 if test $wxUSE_GSTREAMER8 = no
; then
9446 result
=$wxUSE_GSTREAMER8
9449 { echo "$as_me:$LINENO: result: $result" >&5
9450 echo "${ECHO_T}$result" >&6; }
9454 defaultval
=$wxUSE_ALL_FEATURES
9455 if test -z "$defaultval"; then
9456 if test x
"$enablestring" = xdisable
; then
9463 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9464 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9465 # Check whether --enable-richtext was given.
9466 if test "${enable_richtext+set}" = set; then
9467 enableval
=$enable_richtext;
9468 if test "$enableval" = yes; then
9469 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
9471 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
9476 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9481 eval "$wx_cv_use_richtext"
9483 if test x"$enablestring" = xdisable; then
9484 if test $wxUSE_RICHTEXT = no; then
9490 result=$wxUSE_RICHTEXT
9493 { echo "$as_me:$LINENO: result: $result" >&5
9494 echo "${ECHO_T}$result" >&6; }
9498 defaultval=$wxUSE_ALL_FEATURES
9499 if test -z "$defaultval"; then
9500 if test x"$enablestring" = xdisable; then
9507 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9508 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9509 # Check whether --enable-postscript was given.
9510 if test "${enable_postscript+set}" = set; then
9511 enableval=$enable_postscript;
9512 if test "$enableval" = yes; then
9513 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9515 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9520 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9525 eval "$wx_cv_use_postscript"
9527 if test x"$enablestring" = xdisable; then
9528 if test $wxUSE_POSTSCRIPT = no; then
9534 result=$wxUSE_POSTSCRIPT
9537 { echo "$as_me:$LINENO: result
: $result" >&5
9538 echo "${ECHO_T}$result" >&6; }
9542 defaultval=$wxUSE_ALL_FEATURES
9543 if test -z "$defaultval"; then
9544 if test x"$enablestring" = xdisable; then
9551 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
9552 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
9553 # Check whether --enable-printarch was given.
9554 if test "${enable_printarch+set}" = set; then
9555 enableval=$enable_printarch;
9556 if test "$enableval" = yes; then
9557 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9559 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9564 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9569 eval "$wx_cv_use_printarch"
9571 if test x
"$enablestring" = xdisable
; then
9572 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
9578 result
=$wxUSE_PRINTING_ARCHITECTURE
9581 { echo "$as_me:$LINENO: result: $result" >&5
9582 echo "${ECHO_T}$result" >&6; }
9586 defaultval
=$wxUSE_ALL_FEATURES
9587 if test -z "$defaultval"; then
9588 if test x
"$enablestring" = xdisable
; then
9595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9596 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9597 # Check whether --enable-svg was given.
9598 if test "${enable_svg+set}" = set; then
9599 enableval
=$enable_svg;
9600 if test "$enableval" = yes; then
9601 wx_cv_use_svg
='wxUSE_SVG=yes'
9603 wx_cv_use_svg
='wxUSE_SVG=no'
9608 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9613 eval "$wx_cv_use_svg"
9615 if test x"$enablestring" = xdisable; then
9616 if test $wxUSE_SVG = no; then
9625 { echo "$as_me:$LINENO: result: $result" >&5
9626 echo "${ECHO_T}$result" >&6; }
9630 defaultval=$wxUSE_ALL_FEATURES
9631 if test -z "$defaultval"; then
9632 if test x"$enablestring" = xdisable; then
9639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9640 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9641 # Check whether --enable-webkit was given.
9642 if test "${enable_webkit+set}" = set; then
9643 enableval=$enable_webkit;
9644 if test "$enableval" = yes; then
9645 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9647 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9652 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9657 eval "$wx_cv_use_webkit"
9659 if test x"$enablestring" = xdisable; then
9660 if test $wxUSE_WEBKIT = no; then
9666 result=$wxUSE_WEBKIT
9669 { echo "$as_me:$LINENO: result
: $result" >&5
9670 echo "${ECHO_T}$result" >&6; }
9674 defaultval=$wxUSE_ALL_FEATURES
9675 if test -z "$defaultval"; then
9676 if test x"$enablestring" = xdisable; then
9683 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webview" >&5
9684 echo $ECHO_N "checking
for --${enablestring:-enable}-webview...
$ECHO_C" >&6; }
9685 # Check whether --enable-webview was given.
9686 if test "${enable_webview+set}" = set; then
9687 enableval=$enable_webview;
9688 if test "$enableval" = yes; then
9689 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9691 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9696 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9701 eval "$wx_cv_use_webview"
9703 if test x
"$enablestring" = xdisable
; then
9704 if test $wxUSE_WEBVIEW = no
; then
9710 result
=$wxUSE_WEBVIEW
9713 { echo "$as_me:$LINENO: result: $result" >&5
9714 echo "${ECHO_T}$result" >&6; }
9717 if test "$wxUSE_MAC" != 1; then
9720 defaultval
=$wxUSE_ALL_FEATURES
9721 if test -z "$defaultval"; then
9722 if test x
"$enablestring" = xdisable
; then
9729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9730 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9731 # Check whether --enable-graphics_ctx was given.
9732 if test "${enable_graphics_ctx+set}" = set; then
9733 enableval
=$enable_graphics_ctx;
9734 if test "$enableval" = yes; then
9735 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9737 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9742 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9747 eval "$wx_cv_use_graphics_ctx"
9749 if test x"$enablestring" = xdisable; then
9750 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9756 result=$wxUSE_GRAPHICS_CONTEXT
9759 { echo "$as_me:$LINENO: result: $result" >&5
9760 echo "${ECHO_T}$result" >&6; }
9767 defaultval=$wxUSE_ALL_FEATURES
9768 if test -z "$defaultval"; then
9769 if test x"$enablestring" = xdisable; then
9776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9777 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9778 # Check whether --enable-clipboard was given.
9779 if test "${enable_clipboard+set}" = set; then
9780 enableval=$enable_clipboard;
9781 if test "$enableval" = yes; then
9782 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9784 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9789 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9794 eval "$wx_cv_use_clipboard"
9796 if test x"$enablestring" = xdisable; then
9797 if test $wxUSE_CLIPBOARD = no; then
9803 result=$wxUSE_CLIPBOARD
9806 { echo "$as_me:$LINENO: result
: $result" >&5
9807 echo "${ECHO_T}$result" >&6; }
9811 defaultval=$wxUSE_ALL_FEATURES
9812 if test -z "$defaultval"; then
9813 if test x"$enablestring" = xdisable; then
9820 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9821 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9822 # Check whether --enable-dnd was given.
9823 if test "${enable_dnd+set}" = set; then
9824 enableval=$enable_dnd;
9825 if test "$enableval" = yes; then
9826 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9828 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9833 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9838 eval "$wx_cv_use_dnd"
9840 if test x
"$enablestring" = xdisable
; then
9841 if test $wxUSE_DRAG_AND_DROP = no
; then
9847 result
=$wxUSE_DRAG_AND_DROP
9850 { echo "$as_me:$LINENO: result: $result" >&5
9851 echo "${ECHO_T}$result" >&6; }
9855 DEFAULT_wxUSE_CONTROLS
=none
9857 enablestring
=disable
9859 if test -z "$defaultval"; then
9860 if test x
"$enablestring" = xdisable
; then
9867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9868 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9869 # Check whether --enable-controls was given.
9870 if test "${enable_controls+set}" = set; then
9871 enableval
=$enable_controls;
9872 if test "$enableval" = yes; then
9873 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9875 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9880 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9885 eval "$wx_cv_use_controls"
9887 if test x"$enablestring" = xdisable; then
9888 if test $wxUSE_CONTROLS = no; then
9894 result=$wxUSE_CONTROLS
9897 { echo "$as_me:$LINENO: result: $result" >&5
9898 echo "${ECHO_T}$result" >&6; }
9901 if test "$wxUSE_CONTROLS" = "no"; then
9902 DEFAULT_wxUSE_ACCEL=no
9903 DEFAULT_wxUSE_ANIMATIONCTRL=no
9904 DEFAULT_wxUSE_BANNERWINDOW=no
9905 DEFAULT_wxUSE_BMPBUTTON=no
9906 DEFAULT_wxUSE_BUTTON=no
9907 DEFAULT_wxUSE_CALCTRL=no
9908 DEFAULT_wxUSE_CARET=no
9909 DEFAULT_wxUSE_CHECKBOX=no
9910 DEFAULT_wxUSE_CHECKLISTBOX=no
9911 DEFAULT_wxUSE_CHOICE=no
9912 DEFAULT_wxUSE_CHOICEBOOK=no
9913 DEFAULT_wxUSE_COLLPANE=no
9914 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9915 DEFAULT_wxUSE_COMBOBOX=no
9916 DEFAULT_wxUSE_COMBOBOX=no
9917 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9918 DEFAULT_wxUSE_DATAVIEWCTRL=no
9919 DEFAULT_wxUSE_DATEPICKCTRL=no
9920 DEFAULT_wxUSE_DETECT_SM=no
9921 DEFAULT_wxUSE_DIRPICKERCTRL=no
9922 DEFAULT_wxUSE_DISPLAY=no
9923 DEFAULT_wxUSE_FILECTRL=no
9924 DEFAULT_wxUSE_FILEPICKERCTRL=no
9925 DEFAULT_wxUSE_FONTPICKERCTRL=no
9926 DEFAULT_wxUSE_GAUGE=no
9927 DEFAULT_wxUSE_GRID=no
9928 DEFAULT_wxUSE_HEADERCTRL=no
9929 DEFAULT_wxUSE_HYPERLINKCTRL=no
9930 DEFAULT_wxUSE_IMAGLIST=no
9931 DEFAULT_wxUSE_LISTBOOK=no
9932 DEFAULT_wxUSE_LISTBOX=no
9933 DEFAULT_wxUSE_LISTCTRL=no
9934 DEFAULT_wxUSE_MARKUP=no
9935 DEFAULT_wxUSE_NOTEBOOK=no
9936 DEFAULT_wxUSE_POPUPWIN=no
9937 DEFAULT_wxUSE_RADIOBOX=no
9938 DEFAULT_wxUSE_RADIOBTN=no
9939 DEFAULT_wxUSE_RICHMSGDLG=no
9940 DEFAULT_wxUSE_RICHTOOLTIP=no
9941 DEFAULT_wxUSE_REARRANGECTRL=no
9942 DEFAULT_wxUSE_SASH=no
9943 DEFAULT_wxUSE_SCROLLBAR=no
9944 DEFAULT_wxUSE_SEARCHCTRL=no
9945 DEFAULT_wxUSE_SLIDER=no
9946 DEFAULT_wxUSE_SPINBTN=no
9947 DEFAULT_wxUSE_SPINCTRL=no
9948 DEFAULT_wxUSE_SPLITTER=no
9949 DEFAULT_wxUSE_STATBMP=no
9950 DEFAULT_wxUSE_STATBOX=no
9951 DEFAULT_wxUSE_STATLINE=no
9952 DEFAULT_wxUSE_STATUSBAR=no
9953 DEFAULT_wxUSE_TIMEPICKCTRL=no
9954 DEFAULT_wxUSE_TIPWINDOW=no
9955 DEFAULT_wxUSE_TOGGLEBTN=no
9956 DEFAULT_wxUSE_TOOLBAR=no
9957 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9958 DEFAULT_wxUSE_TOOLBOOK=no
9959 DEFAULT_wxUSE_TOOLTIPS=no
9960 DEFAULT_wxUSE_TREEBOOK=no
9961 DEFAULT_wxUSE_TREECTRL=no
9962 DEFAULT_wxUSE_TREELISTCTRL=no
9967 defaultval=$wxUSE_ALL_FEATURES
9968 if test -z "$defaultval"; then
9969 if test x"$enablestring" = xdisable; then
9976 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9977 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9978 # Check whether --enable-markup was given.
9979 if test "${enable_markup+set}" = set; then
9980 enableval=$enable_markup;
9981 if test "$enableval" = yes; then
9982 wx_cv_use_markup='wxUSE_MARKUP
=yes'
9984 wx_cv_use_markup='wxUSE_MARKUP
=no
'
9989 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9994 eval "$wx_cv_use_markup"
9996 if test x"$enablestring" = xdisable; then
9997 if test $wxUSE_MARKUP = no; then
10003 result=$wxUSE_MARKUP
10006 { echo "$as_me:$LINENO: result
: $result" >&5
10007 echo "${ECHO_T}$result" >&6; }
10012 defaultval=$wxUSE_ALL_FEATURES
10013 if test -z "$defaultval"; then
10014 if test x"$enablestring" = xdisable; then
10021 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
10022 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
10023 # Check whether --enable-accel was given.
10024 if test "${enable_accel+set}" = set; then
10025 enableval=$enable_accel;
10026 if test "$enableval" = yes; then
10027 wx_cv_use_accel='wxUSE_ACCEL=yes'
10029 wx_cv_use_accel='wxUSE_ACCEL=no'
10034 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10039 eval "$wx_cv_use_accel"
10041 if test x
"$enablestring" = xdisable
; then
10042 if test $wxUSE_ACCEL = no
; then
10048 result
=$wxUSE_ACCEL
10051 { echo "$as_me:$LINENO: result: $result" >&5
10052 echo "${ECHO_T}$result" >&6; }
10056 defaultval
=$wxUSE_ALL_FEATURES
10057 if test -z "$defaultval"; then
10058 if test x
"$enablestring" = xdisable
; then
10065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10067 # Check whether --enable-animatectrl was given.
10068 if test "${enable_animatectrl+set}" = set; then
10069 enableval
=$enable_animatectrl;
10070 if test "$enableval" = yes; then
10071 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
10073 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
10078 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10083 eval "$wx_cv_use_animatectrl"
10085 if test x"$enablestring" = xdisable; then
10086 if test $wxUSE_ANIMATIONCTRL = no; then
10092 result=$wxUSE_ANIMATIONCTRL
10095 { echo "$as_me:$LINENO: result: $result" >&5
10096 echo "${ECHO_T}$result" >&6; }
10100 defaultval=$wxUSE_ALL_FEATURES
10101 if test -z "$defaultval"; then
10102 if test x"$enablestring" = xdisable; then
10109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10110 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10111 # Check whether --enable-bannerwindow was given.
10112 if test "${enable_bannerwindow+set}" = set; then
10113 enableval=$enable_bannerwindow;
10114 if test "$enableval" = yes; then
10115 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
10117 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
10122 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10127 eval "$wx_cv_use_bannerwindow"
10129 if test x"$enablestring" = xdisable; then
10130 if test $wxUSE_BANNERWINDOW = no; then
10136 result=$wxUSE_BANNERWINDOW
10139 { echo "$as_me:$LINENO: result
: $result" >&5
10140 echo "${ECHO_T}$result" >&6; }
10144 defaultval=$wxUSE_ALL_FEATURES
10145 if test -z "$defaultval"; then
10146 if test x"$enablestring" = xdisable; then
10153 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-artstd" >&5
10154 echo $ECHO_N "checking
for --${enablestring:-enable}-artstd...
$ECHO_C" >&6; }
10155 # Check whether --enable-artstd was given.
10156 if test "${enable_artstd+set}" = set; then
10157 enableval=$enable_artstd;
10158 if test "$enableval" = yes; then
10159 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10161 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10166 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10171 eval "$wx_cv_use_artstd"
10173 if test x
"$enablestring" = xdisable
; then
10174 if test $wxUSE_ARTPROVIDER_STD = no
; then
10180 result
=$wxUSE_ARTPROVIDER_STD
10183 { echo "$as_me:$LINENO: result: $result" >&5
10184 echo "${ECHO_T}$result" >&6; }
10188 defaultval
=$wxUSE_ALL_FEATURES
10189 if test -z "$defaultval"; then
10190 if test x
"$enablestring" = xdisable
; then
10197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10198 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10199 # Check whether --enable-arttango was given.
10200 if test "${enable_arttango+set}" = set; then
10201 enableval
=$enable_arttango;
10202 if test "$enableval" = yes; then
10203 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
10205 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
10210 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10215 eval "$wx_cv_use_arttango"
10217 if test x"$enablestring" = xdisable; then
10218 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10224 result=$wxUSE_ARTPROVIDER_TANGO
10227 { echo "$as_me:$LINENO: result: $result" >&5
10228 echo "${ECHO_T}$result" >&6; }
10232 defaultval=$wxUSE_ALL_FEATURES
10233 if test -z "$defaultval"; then
10234 if test x"$enablestring" = xdisable; then
10241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10242 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10243 # Check whether --enable-bmpbutton was given.
10244 if test "${enable_bmpbutton+set}" = set; then
10245 enableval=$enable_bmpbutton;
10246 if test "$enableval" = yes; then
10247 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
10249 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
10254 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10259 eval "$wx_cv_use_bmpbutton"
10261 if test x"$enablestring" = xdisable; then
10262 if test $wxUSE_BMPBUTTON = no; then
10268 result=$wxUSE_BMPBUTTON
10271 { echo "$as_me:$LINENO: result
: $result" >&5
10272 echo "${ECHO_T}$result" >&6; }
10276 defaultval=$wxUSE_ALL_FEATURES
10277 if test -z "$defaultval"; then
10278 if test x"$enablestring" = xdisable; then
10285 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
10286 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
10287 # Check whether --enable-bmpcombobox was given.
10288 if test "${enable_bmpcombobox+set}" = set; then
10289 enableval=$enable_bmpcombobox;
10290 if test "$enableval" = yes; then
10291 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10293 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10298 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10303 eval "$wx_cv_use_bmpcombobox"
10305 if test x
"$enablestring" = xdisable
; then
10306 if test $wxUSE_BITMAPCOMBOBOX = no
; then
10312 result
=$wxUSE_BITMAPCOMBOBOX
10315 { echo "$as_me:$LINENO: result: $result" >&5
10316 echo "${ECHO_T}$result" >&6; }
10320 defaultval
=$wxUSE_ALL_FEATURES
10321 if test -z "$defaultval"; then
10322 if test x
"$enablestring" = xdisable
; then
10329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10330 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10331 # Check whether --enable-button was given.
10332 if test "${enable_button+set}" = set; then
10333 enableval
=$enable_button;
10334 if test "$enableval" = yes; then
10335 wx_cv_use_button
='wxUSE_BUTTON=yes'
10337 wx_cv_use_button
='wxUSE_BUTTON=no'
10342 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10347 eval "$wx_cv_use_button"
10349 if test x"$enablestring" = xdisable; then
10350 if test $wxUSE_BUTTON = no; then
10356 result=$wxUSE_BUTTON
10359 { echo "$as_me:$LINENO: result: $result" >&5
10360 echo "${ECHO_T}$result" >&6; }
10364 defaultval=$wxUSE_ALL_FEATURES
10365 if test -z "$defaultval"; then
10366 if test x"$enablestring" = xdisable; then
10373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10374 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10375 # Check whether --enable-calendar was given.
10376 if test "${enable_calendar+set}" = set; then
10377 enableval=$enable_calendar;
10378 if test "$enableval" = yes; then
10379 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10381 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10386 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10391 eval "$wx_cv_use_calendar"
10393 if test x"$enablestring" = xdisable; then
10394 if test $wxUSE_CALCTRL = no; then
10400 result=$wxUSE_CALCTRL
10403 { echo "$as_me:$LINENO: result
: $result" >&5
10404 echo "${ECHO_T}$result" >&6; }
10408 defaultval=$wxUSE_ALL_FEATURES
10409 if test -z "$defaultval"; then
10410 if test x"$enablestring" = xdisable; then
10417 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10418 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10419 # Check whether --enable-caret was given.
10420 if test "${enable_caret+set}" = set; then
10421 enableval=$enable_caret;
10422 if test "$enableval" = yes; then
10423 wx_cv_use_caret='wxUSE_CARET=yes'
10425 wx_cv_use_caret='wxUSE_CARET=no'
10430 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10435 eval "$wx_cv_use_caret"
10437 if test x
"$enablestring" = xdisable
; then
10438 if test $wxUSE_CARET = no
; then
10444 result
=$wxUSE_CARET
10447 { echo "$as_me:$LINENO: result: $result" >&5
10448 echo "${ECHO_T}$result" >&6; }
10452 defaultval
=$wxUSE_ALL_FEATURES
10453 if test -z "$defaultval"; then
10454 if test x
"$enablestring" = xdisable
; then
10461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10462 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10463 # Check whether --enable-checkbox was given.
10464 if test "${enable_checkbox+set}" = set; then
10465 enableval
=$enable_checkbox;
10466 if test "$enableval" = yes; then
10467 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10469 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10474 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10479 eval "$wx_cv_use_checkbox"
10481 if test x"$enablestring" = xdisable; then
10482 if test $wxUSE_CHECKBOX = no; then
10488 result=$wxUSE_CHECKBOX
10491 { echo "$as_me:$LINENO: result: $result" >&5
10492 echo "${ECHO_T}$result" >&6; }
10496 defaultval=$wxUSE_ALL_FEATURES
10497 if test -z "$defaultval"; then
10498 if test x"$enablestring" = xdisable; then
10505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10506 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10507 # Check whether --enable-checklst was given.
10508 if test "${enable_checklst+set}" = set; then
10509 enableval=$enable_checklst;
10510 if test "$enableval" = yes; then
10511 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10513 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10518 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10523 eval "$wx_cv_use_checklst"
10525 if test x"$enablestring" = xdisable; then
10526 if test $wxUSE_CHECKLST = no; then
10532 result=$wxUSE_CHECKLST
10535 { echo "$as_me:$LINENO: result
: $result" >&5
10536 echo "${ECHO_T}$result" >&6; }
10540 defaultval=$wxUSE_ALL_FEATURES
10541 if test -z "$defaultval"; then
10542 if test x"$enablestring" = xdisable; then
10549 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10550 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10551 # Check whether --enable-choice was given.
10552 if test "${enable_choice+set}" = set; then
10553 enableval=$enable_choice;
10554 if test "$enableval" = yes; then
10555 wx_cv_use_choice='wxUSE_CHOICE=yes'
10557 wx_cv_use_choice='wxUSE_CHOICE=no'
10562 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10567 eval "$wx_cv_use_choice"
10569 if test x
"$enablestring" = xdisable
; then
10570 if test $wxUSE_CHOICE = no
; then
10576 result
=$wxUSE_CHOICE
10579 { echo "$as_me:$LINENO: result: $result" >&5
10580 echo "${ECHO_T}$result" >&6; }
10584 defaultval
=$wxUSE_ALL_FEATURES
10585 if test -z "$defaultval"; then
10586 if test x
"$enablestring" = xdisable
; then
10593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10594 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10595 # Check whether --enable-choicebook was given.
10596 if test "${enable_choicebook+set}" = set; then
10597 enableval
=$enable_choicebook;
10598 if test "$enableval" = yes; then
10599 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10601 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10606 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10611 eval "$wx_cv_use_choicebook"
10613 if test x"$enablestring" = xdisable; then
10614 if test $wxUSE_CHOICEBOOK = no; then
10620 result=$wxUSE_CHOICEBOOK
10623 { echo "$as_me:$LINENO: result: $result" >&5
10624 echo "${ECHO_T}$result" >&6; }
10628 defaultval=$wxUSE_ALL_FEATURES
10629 if test -z "$defaultval"; then
10630 if test x"$enablestring" = xdisable; then
10637 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10638 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10639 # Check whether --enable-collpane was given.
10640 if test "${enable_collpane+set}" = set; then
10641 enableval=$enable_collpane;
10642 if test "$enableval" = yes; then
10643 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10645 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10650 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10655 eval "$wx_cv_use_collpane"
10657 if test x"$enablestring" = xdisable; then
10658 if test $wxUSE_COLLPANE = no; then
10664 result=$wxUSE_COLLPANE
10667 { echo "$as_me:$LINENO: result
: $result" >&5
10668 echo "${ECHO_T}$result" >&6; }
10672 defaultval=$wxUSE_ALL_FEATURES
10673 if test -z "$defaultval"; then
10674 if test x"$enablestring" = xdisable; then
10681 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10682 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10683 # Check whether --enable-colourpicker was given.
10684 if test "${enable_colourpicker+set}" = set; then
10685 enableval=$enable_colourpicker;
10686 if test "$enableval" = yes; then
10687 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10689 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10694 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10699 eval "$wx_cv_use_colourpicker"
10701 if test x
"$enablestring" = xdisable
; then
10702 if test $wxUSE_COLOURPICKERCTRL = no
; then
10708 result
=$wxUSE_COLOURPICKERCTRL
10711 { echo "$as_me:$LINENO: result: $result" >&5
10712 echo "${ECHO_T}$result" >&6; }
10716 defaultval
=$wxUSE_ALL_FEATURES
10717 if test -z "$defaultval"; then
10718 if test x
"$enablestring" = xdisable
; then
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10727 # Check whether --enable-combobox was given.
10728 if test "${enable_combobox+set}" = set; then
10729 enableval
=$enable_combobox;
10730 if test "$enableval" = yes; then
10731 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10733 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10738 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10743 eval "$wx_cv_use_combobox"
10745 if test x"$enablestring" = xdisable; then
10746 if test $wxUSE_COMBOBOX = no; then
10752 result=$wxUSE_COMBOBOX
10755 { echo "$as_me:$LINENO: result: $result" >&5
10756 echo "${ECHO_T}$result" >&6; }
10760 defaultval=$wxUSE_ALL_FEATURES
10761 if test -z "$defaultval"; then
10762 if test x"$enablestring" = xdisable; then
10769 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10771 # Check whether --enable-comboctrl was given.
10772 if test "${enable_comboctrl+set}" = set; then
10773 enableval=$enable_comboctrl;
10774 if test "$enableval" = yes; then
10775 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10777 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10782 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10787 eval "$wx_cv_use_comboctrl"
10789 if test x"$enablestring" = xdisable; then
10790 if test $wxUSE_COMBOCTRL = no; then
10796 result=$wxUSE_COMBOCTRL
10799 { echo "$as_me:$LINENO: result
: $result" >&5
10800 echo "${ECHO_T}$result" >&6; }
10804 defaultval=$wxUSE_ALL_FEATURES
10805 if test -z "$defaultval"; then
10806 if test x"$enablestring" = xdisable; then
10813 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
10814 echo $ECHO_N "checking
for --${enablestring:-enable}-commandlinkbutton...
$ECHO_C" >&6; }
10815 # Check whether --enable-commandlinkbutton was given.
10816 if test "${enable_commandlinkbutton+set}" = set; then
10817 enableval=$enable_commandlinkbutton;
10818 if test "$enableval" = yes; then
10819 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10821 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10826 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10831 eval "$wx_cv_use_commandlinkbutton"
10833 if test x
"$enablestring" = xdisable
; then
10834 if test $wxUSE_COMMANDLINKBUTTON = no
; then
10840 result
=$wxUSE_COMMANDLINKBUTTON
10843 { echo "$as_me:$LINENO: result: $result" >&5
10844 echo "${ECHO_T}$result" >&6; }
10848 defaultval
=$wxUSE_ALL_FEATURES
10849 if test -z "$defaultval"; then
10850 if test x
"$enablestring" = xdisable
; then
10857 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10858 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10859 # Check whether --enable-dataviewctrl was given.
10860 if test "${enable_dataviewctrl+set}" = set; then
10861 enableval
=$enable_dataviewctrl;
10862 if test "$enableval" = yes; then
10863 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10865 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10870 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10875 eval "$wx_cv_use_dataviewctrl"
10877 if test x"$enablestring" = xdisable; then
10878 if test $wxUSE_DATAVIEWCTRL = no; then
10884 result=$wxUSE_DATAVIEWCTRL
10887 { echo "$as_me:$LINENO: result: $result" >&5
10888 echo "${ECHO_T}$result" >&6; }
10892 defaultval=$wxUSE_ALL_FEATURES
10893 if test -z "$defaultval"; then
10894 if test x"$enablestring" = xdisable; then
10901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10902 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10903 # Check whether --enable-datepick was given.
10904 if test "${enable_datepick+set}" = set; then
10905 enableval=$enable_datepick;
10906 if test "$enableval" = yes; then
10907 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10909 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10914 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10919 eval "$wx_cv_use_datepick"
10921 if test x"$enablestring" = xdisable; then
10922 if test $wxUSE_DATEPICKCTRL = no; then
10928 result=$wxUSE_DATEPICKCTRL
10931 { echo "$as_me:$LINENO: result
: $result" >&5
10932 echo "${ECHO_T}$result" >&6; }
10936 defaultval=$wxUSE_ALL_FEATURES
10937 if test -z "$defaultval"; then
10938 if test x"$enablestring" = xdisable; then
10945 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10946 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10947 # Check whether --enable-detect_sm was given.
10948 if test "${enable_detect_sm+set}" = set; then
10949 enableval=$enable_detect_sm;
10950 if test "$enableval" = yes; then
10951 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10953 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10958 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10963 eval "$wx_cv_use_detect_sm"
10965 if test x
"$enablestring" = xdisable
; then
10966 if test $wxUSE_DETECT_SM = no
; then
10972 result
=$wxUSE_DETECT_SM
10975 { echo "$as_me:$LINENO: result: $result" >&5
10976 echo "${ECHO_T}$result" >&6; }
10980 defaultval
=$wxUSE_ALL_FEATURES
10981 if test -z "$defaultval"; then
10982 if test x
"$enablestring" = xdisable
; then
10989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10990 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10991 # Check whether --enable-dirpicker was given.
10992 if test "${enable_dirpicker+set}" = set; then
10993 enableval
=$enable_dirpicker;
10994 if test "$enableval" = yes; then
10995 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10997 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
11002 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11007 eval "$wx_cv_use_dirpicker"
11009 if test x"$enablestring" = xdisable; then
11010 if test $wxUSE_DIRPICKERCTRL = no; then
11016 result=$wxUSE_DIRPICKERCTRL
11019 { echo "$as_me:$LINENO: result: $result" >&5
11020 echo "${ECHO_T}$result" >&6; }
11024 defaultval=$wxUSE_ALL_FEATURES
11025 if test -z "$defaultval"; then
11026 if test x"$enablestring" = xdisable; then
11033 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11034 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11035 # Check whether --enable-display was given.
11036 if test "${enable_display+set}" = set; then
11037 enableval=$enable_display;
11038 if test "$enableval" = yes; then
11039 wx_cv_use_display='wxUSE_DISPLAY
=yes'
11041 wx_cv_use_display='wxUSE_DISPLAY
=no
'
11046 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11051 eval "$wx_cv_use_display"
11053 if test x"$enablestring" = xdisable; then
11054 if test $wxUSE_DISPLAY = no; then
11060 result=$wxUSE_DISPLAY
11063 { echo "$as_me:$LINENO: result
: $result" >&5
11064 echo "${ECHO_T}$result" >&6; }
11068 defaultval=$wxUSE_ALL_FEATURES
11069 if test -z "$defaultval"; then
11070 if test x"$enablestring" = xdisable; then
11077 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
11078 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
11079 # Check whether --enable-editablebox was given.
11080 if test "${enable_editablebox+set}" = set; then
11081 enableval=$enable_editablebox;
11082 if test "$enableval" = yes; then
11083 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11085 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11090 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11095 eval "$wx_cv_use_editablebox"
11097 if test x
"$enablestring" = xdisable
; then
11098 if test $wxUSE_EDITABLELISTBOX = no
; then
11104 result
=$wxUSE_EDITABLELISTBOX
11107 { echo "$as_me:$LINENO: result: $result" >&5
11108 echo "${ECHO_T}$result" >&6; }
11112 defaultval
=$wxUSE_ALL_FEATURES
11113 if test -z "$defaultval"; then
11114 if test x
"$enablestring" = xdisable
; then
11121 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11122 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11123 # Check whether --enable-filectrl was given.
11124 if test "${enable_filectrl+set}" = set; then
11125 enableval
=$enable_filectrl;
11126 if test "$enableval" = yes; then
11127 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
11129 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
11134 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11139 eval "$wx_cv_use_filectrl"
11141 if test x"$enablestring" = xdisable; then
11142 if test $wxUSE_FILECTRL = no; then
11148 result=$wxUSE_FILECTRL
11151 { echo "$as_me:$LINENO: result: $result" >&5
11152 echo "${ECHO_T}$result" >&6; }
11156 defaultval=$wxUSE_ALL_FEATURES
11157 if test -z "$defaultval"; then
11158 if test x"$enablestring" = xdisable; then
11165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11166 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11167 # Check whether --enable-filepicker was given.
11168 if test "${enable_filepicker+set}" = set; then
11169 enableval=$enable_filepicker;
11170 if test "$enableval" = yes; then
11171 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
11173 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
11178 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11183 eval "$wx_cv_use_filepicker"
11185 if test x"$enablestring" = xdisable; then
11186 if test $wxUSE_FILEPICKERCTRL = no; then
11192 result=$wxUSE_FILEPICKERCTRL
11195 { echo "$as_me:$LINENO: result
: $result" >&5
11196 echo "${ECHO_T}$result" >&6; }
11200 defaultval=$wxUSE_ALL_FEATURES
11201 if test -z "$defaultval"; then
11202 if test x"$enablestring" = xdisable; then
11209 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
11210 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
11211 # Check whether --enable-fontpicker was given.
11212 if test "${enable_fontpicker+set}" = set; then
11213 enableval=$enable_fontpicker;
11214 if test "$enableval" = yes; then
11215 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11217 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11222 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11227 eval "$wx_cv_use_fontpicker"
11229 if test x
"$enablestring" = xdisable
; then
11230 if test $wxUSE_FONTPICKERCTRL = no
; then
11236 result
=$wxUSE_FONTPICKERCTRL
11239 { echo "$as_me:$LINENO: result: $result" >&5
11240 echo "${ECHO_T}$result" >&6; }
11244 defaultval
=$wxUSE_ALL_FEATURES
11245 if test -z "$defaultval"; then
11246 if test x
"$enablestring" = xdisable
; then
11253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11254 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11255 # Check whether --enable-gauge was given.
11256 if test "${enable_gauge+set}" = set; then
11257 enableval
=$enable_gauge;
11258 if test "$enableval" = yes; then
11259 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
11261 wx_cv_use_gauge
='wxUSE_GAUGE=no'
11266 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11271 eval "$wx_cv_use_gauge"
11273 if test x"$enablestring" = xdisable; then
11274 if test $wxUSE_GAUGE = no; then
11280 result=$wxUSE_GAUGE
11283 { echo "$as_me:$LINENO: result: $result" >&5
11284 echo "${ECHO_T}$result" >&6; }
11288 defaultval=$wxUSE_ALL_FEATURES
11289 if test -z "$defaultval"; then
11290 if test x"$enablestring" = xdisable; then
11297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11299 # Check whether --enable-grid was given.
11300 if test "${enable_grid+set}" = set; then
11301 enableval=$enable_grid;
11302 if test "$enableval" = yes; then
11303 wx_cv_use_grid='wxUSE_GRID
=yes'
11305 wx_cv_use_grid='wxUSE_GRID
=no
'
11310 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11315 eval "$wx_cv_use_grid"
11317 if test x"$enablestring" = xdisable; then
11318 if test $wxUSE_GRID = no; then
11327 { echo "$as_me:$LINENO: result
: $result" >&5
11328 echo "${ECHO_T}$result" >&6; }
11332 defaultval=$wxUSE_ALL_FEATURES
11333 if test -z "$defaultval"; then
11334 if test x"$enablestring" = xdisable; then
11341 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
11342 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
11343 # Check whether --enable-headerctrl was given.
11344 if test "${enable_headerctrl+set}" = set; then
11345 enableval=$enable_headerctrl;
11346 if test "$enableval" = yes; then
11347 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11349 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11354 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11359 eval "$wx_cv_use_headerctrl"
11361 if test x
"$enablestring" = xdisable
; then
11362 if test $wxUSE_HEADERCTRL = no
; then
11368 result
=$wxUSE_HEADERCTRL
11371 { echo "$as_me:$LINENO: result: $result" >&5
11372 echo "${ECHO_T}$result" >&6; }
11376 defaultval
=$wxUSE_ALL_FEATURES
11377 if test -z "$defaultval"; then
11378 if test x
"$enablestring" = xdisable
; then
11385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11386 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11387 # Check whether --enable-hyperlink was given.
11388 if test "${enable_hyperlink+set}" = set; then
11389 enableval
=$enable_hyperlink;
11390 if test "$enableval" = yes; then
11391 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
11393 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
11398 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11403 eval "$wx_cv_use_hyperlink"
11405 if test x"$enablestring" = xdisable; then
11406 if test $wxUSE_HYPERLINKCTRL = no; then
11412 result=$wxUSE_HYPERLINKCTRL
11415 { echo "$as_me:$LINENO: result: $result" >&5
11416 echo "${ECHO_T}$result" >&6; }
11420 defaultval=$wxUSE_ALL_FEATURES
11421 if test -z "$defaultval"; then
11422 if test x"$enablestring" = xdisable; then
11429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11430 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11431 # Check whether --enable-imaglist was given.
11432 if test "${enable_imaglist+set}" = set; then
11433 enableval=$enable_imaglist;
11434 if test "$enableval" = yes; then
11435 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
11437 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
11442 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11447 eval "$wx_cv_use_imaglist"
11449 if test x"$enablestring" = xdisable; then
11450 if test $wxUSE_IMAGLIST = no; then
11456 result=$wxUSE_IMAGLIST
11459 { echo "$as_me:$LINENO: result
: $result" >&5
11460 echo "${ECHO_T}$result" >&6; }
11464 defaultval=$wxUSE_ALL_FEATURES
11465 if test -z "$defaultval"; then
11466 if test x"$enablestring" = xdisable; then
11473 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
11474 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
11475 # Check whether --enable-infobar was given.
11476 if test "${enable_infobar+set}" = set; then
11477 enableval=$enable_infobar;
11478 if test "$enableval" = yes; then
11479 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11481 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11486 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11491 eval "$wx_cv_use_infobar"
11493 if test x
"$enablestring" = xdisable
; then
11494 if test $wxUSE_INFOBAR = no
; then
11500 result
=$wxUSE_INFOBAR
11503 { echo "$as_me:$LINENO: result: $result" >&5
11504 echo "${ECHO_T}$result" >&6; }
11508 defaultval
=$wxUSE_ALL_FEATURES
11509 if test -z "$defaultval"; then
11510 if test x
"$enablestring" = xdisable
; then
11517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11519 # Check whether --enable-listbook was given.
11520 if test "${enable_listbook+set}" = set; then
11521 enableval
=$enable_listbook;
11522 if test "$enableval" = yes; then
11523 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11525 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11530 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11535 eval "$wx_cv_use_listbook"
11537 if test x"$enablestring" = xdisable; then
11538 if test $wxUSE_LISTBOOK = no; then
11544 result=$wxUSE_LISTBOOK
11547 { echo "$as_me:$LINENO: result: $result" >&5
11548 echo "${ECHO_T}$result" >&6; }
11552 defaultval=$wxUSE_ALL_FEATURES
11553 if test -z "$defaultval"; then
11554 if test x"$enablestring" = xdisable; then
11561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11562 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11563 # Check whether --enable-listbox was given.
11564 if test "${enable_listbox+set}" = set; then
11565 enableval=$enable_listbox;
11566 if test "$enableval" = yes; then
11567 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11569 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11574 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11579 eval "$wx_cv_use_listbox"
11581 if test x"$enablestring" = xdisable; then
11582 if test $wxUSE_LISTBOX = no; then
11588 result=$wxUSE_LISTBOX
11591 { echo "$as_me:$LINENO: result
: $result" >&5
11592 echo "${ECHO_T}$result" >&6; }
11596 defaultval=$wxUSE_ALL_FEATURES
11597 if test -z "$defaultval"; then
11598 if test x"$enablestring" = xdisable; then
11605 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11606 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11607 # Check whether --enable-listctrl was given.
11608 if test "${enable_listctrl+set}" = set; then
11609 enableval=$enable_listctrl;
11610 if test "$enableval" = yes; then
11611 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11613 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11618 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11623 eval "$wx_cv_use_listctrl"
11625 if test x
"$enablestring" = xdisable
; then
11626 if test $wxUSE_LISTCTRL = no
; then
11632 result
=$wxUSE_LISTCTRL
11635 { echo "$as_me:$LINENO: result: $result" >&5
11636 echo "${ECHO_T}$result" >&6; }
11640 defaultval
=$wxUSE_ALL_FEATURES
11641 if test -z "$defaultval"; then
11642 if test x
"$enablestring" = xdisable
; then
11649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11650 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11651 # Check whether --enable-notebook was given.
11652 if test "${enable_notebook+set}" = set; then
11653 enableval
=$enable_notebook;
11654 if test "$enableval" = yes; then
11655 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11657 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11662 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11667 eval "$wx_cv_use_notebook"
11669 if test x"$enablestring" = xdisable; then
11670 if test $wxUSE_NOTEBOOK = no; then
11676 result=$wxUSE_NOTEBOOK
11679 { echo "$as_me:$LINENO: result: $result" >&5
11680 echo "${ECHO_T}$result" >&6; }
11684 defaultval=$wxUSE_ALL_FEATURES
11685 if test -z "$defaultval"; then
11686 if test x"$enablestring" = xdisable; then
11693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11694 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11695 # Check whether --enable-notifmsg was given.
11696 if test "${enable_notifmsg+set}" = set; then
11697 enableval=$enable_notifmsg;
11698 if test "$enableval" = yes; then
11699 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11701 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11706 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11711 eval "$wx_cv_use_notifmsg"
11713 if test x"$enablestring" = xdisable; then
11714 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11720 result=$wxUSE_NOTIFICATION_MESSAGE
11723 { echo "$as_me:$LINENO: result
: $result" >&5
11724 echo "${ECHO_T}$result" >&6; }
11728 defaultval=$wxUSE_ALL_FEATURES
11729 if test -z "$defaultval"; then
11730 if test x"$enablestring" = xdisable; then
11737 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11738 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11739 # Check whether --enable-odcombobox was given.
11740 if test "${enable_odcombobox+set}" = set; then
11741 enableval=$enable_odcombobox;
11742 if test "$enableval" = yes; then
11743 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11745 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11750 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11755 eval "$wx_cv_use_odcombobox"
11757 if test x
"$enablestring" = xdisable
; then
11758 if test $wxUSE_ODCOMBOBOX = no
; then
11764 result
=$wxUSE_ODCOMBOBOX
11767 { echo "$as_me:$LINENO: result: $result" >&5
11768 echo "${ECHO_T}$result" >&6; }
11772 defaultval
=$wxUSE_ALL_FEATURES
11773 if test -z "$defaultval"; then
11774 if test x
"$enablestring" = xdisable
; then
11781 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11782 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11783 # Check whether --enable-popupwin was given.
11784 if test "${enable_popupwin+set}" = set; then
11785 enableval
=$enable_popupwin;
11786 if test "$enableval" = yes; then
11787 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11789 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11794 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11799 eval "$wx_cv_use_popupwin"
11801 if test x"$enablestring" = xdisable; then
11802 if test $wxUSE_POPUPWIN = no; then
11808 result=$wxUSE_POPUPWIN
11811 { echo "$as_me:$LINENO: result: $result" >&5
11812 echo "${ECHO_T}$result" >&6; }
11816 defaultval=$wxUSE_ALL_FEATURES
11817 if test -z "$defaultval"; then
11818 if test x"$enablestring" = xdisable; then
11825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11826 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11827 # Check whether --enable-radiobox was given.
11828 if test "${enable_radiobox+set}" = set; then
11829 enableval=$enable_radiobox;
11830 if test "$enableval" = yes; then
11831 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11833 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11838 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11843 eval "$wx_cv_use_radiobox"
11845 if test x"$enablestring" = xdisable; then
11846 if test $wxUSE_RADIOBOX = no; then
11852 result=$wxUSE_RADIOBOX
11855 { echo "$as_me:$LINENO: result
: $result" >&5
11856 echo "${ECHO_T}$result" >&6; }
11860 defaultval=$wxUSE_ALL_FEATURES
11861 if test -z "$defaultval"; then
11862 if test x"$enablestring" = xdisable; then
11869 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11870 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11871 # Check whether --enable-radiobtn was given.
11872 if test "${enable_radiobtn+set}" = set; then
11873 enableval=$enable_radiobtn;
11874 if test "$enableval" = yes; then
11875 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11877 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11882 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11887 eval "$wx_cv_use_radiobtn"
11889 if test x
"$enablestring" = xdisable
; then
11890 if test $wxUSE_RADIOBTN = no
; then
11896 result
=$wxUSE_RADIOBTN
11899 { echo "$as_me:$LINENO: result: $result" >&5
11900 echo "${ECHO_T}$result" >&6; }
11904 defaultval
=$wxUSE_ALL_FEATURES
11905 if test -z "$defaultval"; then
11906 if test x
"$enablestring" = xdisable
; then
11913 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11914 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11915 # Check whether --enable-richmsgdlg was given.
11916 if test "${enable_richmsgdlg+set}" = set; then
11917 enableval
=$enable_richmsgdlg;
11918 if test "$enableval" = yes; then
11919 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
11921 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
11926 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11931 eval "$wx_cv_use_richmsgdlg"
11933 if test x"$enablestring" = xdisable; then
11934 if test $wxUSE_RICHMSGDLG = no; then
11940 result=$wxUSE_RICHMSGDLG
11943 { echo "$as_me:$LINENO: result: $result" >&5
11944 echo "${ECHO_T}$result" >&6; }
11948 defaultval=$wxUSE_ALL_FEATURES
11949 if test -z "$defaultval"; then
11950 if test x"$enablestring" = xdisable; then
11957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11958 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11959 # Check whether --enable-richtooltip was given.
11960 if test "${enable_richtooltip+set}" = set; then
11961 enableval=$enable_richtooltip;
11962 if test "$enableval" = yes; then
11963 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=yes'
11965 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=no
'
11970 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11975 eval "$wx_cv_use_richtooltip"
11977 if test x"$enablestring" = xdisable; then
11978 if test $wxUSE_RICHTOOLTIP = no; then
11984 result=$wxUSE_RICHTOOLTIP
11987 { echo "$as_me:$LINENO: result
: $result" >&5
11988 echo "${ECHO_T}$result" >&6; }
11992 defaultval=$wxUSE_ALL_FEATURES
11993 if test -z "$defaultval"; then
11994 if test x"$enablestring" = xdisable; then
12001 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rearrangectrl" >&5
12002 echo $ECHO_N "checking
for --${enablestring:-enable}-rearrangectrl...
$ECHO_C" >&6; }
12003 # Check whether --enable-rearrangectrl was given.
12004 if test "${enable_rearrangectrl+set}" = set; then
12005 enableval=$enable_rearrangectrl;
12006 if test "$enableval" = yes; then
12007 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
12009 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
12014 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
12019 eval "$wx_cv_use_rearrangectrl"
12021 if test x
"$enablestring" = xdisable
; then
12022 if test $wxUSE_REARRANGECTRL = no
; then
12028 result
=$wxUSE_REARRANGECTRL
12031 { echo "$as_me:$LINENO: result: $result" >&5
12032 echo "${ECHO_T}$result" >&6; }
12036 defaultval
=$wxUSE_ALL_FEATURES
12037 if test -z "$defaultval"; then
12038 if test x
"$enablestring" = xdisable
; then
12045 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12046 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12047 # Check whether --enable-sash was given.
12048 if test "${enable_sash+set}" = set; then
12049 enableval
=$enable_sash;
12050 if test "$enableval" = yes; then
12051 wx_cv_use_sash
='wxUSE_SASH=yes'
12053 wx_cv_use_sash
='wxUSE_SASH=no'
12058 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12063 eval "$wx_cv_use_sash"
12065 if test x"$enablestring" = xdisable; then
12066 if test $wxUSE_SASH = no; then
12075 { echo "$as_me:$LINENO: result: $result" >&5
12076 echo "${ECHO_T}$result" >&6; }
12080 defaultval=$wxUSE_ALL_FEATURES
12081 if test -z "$defaultval"; then
12082 if test x"$enablestring" = xdisable; then
12089 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12090 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12091 # Check whether --enable-scrollbar was given.
12092 if test "${enable_scrollbar+set}" = set; then
12093 enableval=$enable_scrollbar;
12094 if test "$enableval" = yes; then
12095 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
12097 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
12102 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12107 eval "$wx_cv_use_scrollbar"
12109 if test x"$enablestring" = xdisable; then
12110 if test $wxUSE_SCROLLBAR = no; then
12116 result=$wxUSE_SCROLLBAR
12119 { echo "$as_me:$LINENO: result
: $result" >&5
12120 echo "${ECHO_T}$result" >&6; }
12124 defaultval=$wxUSE_ALL_FEATURES
12125 if test -z "$defaultval"; then
12126 if test x"$enablestring" = xdisable; then
12133 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
12134 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
12135 # Check whether --enable-searchctrl was given.
12136 if test "${enable_searchctrl+set}" = set; then
12137 enableval=$enable_searchctrl;
12138 if test "$enableval" = yes; then
12139 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12141 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12146 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12151 eval "$wx_cv_use_searchctrl"
12153 if test x
"$enablestring" = xdisable
; then
12154 if test $wxUSE_SEARCHCTRL = no
; then
12160 result
=$wxUSE_SEARCHCTRL
12163 { echo "$as_me:$LINENO: result: $result" >&5
12164 echo "${ECHO_T}$result" >&6; }
12168 defaultval
=$wxUSE_ALL_FEATURES
12169 if test -z "$defaultval"; then
12170 if test x
"$enablestring" = xdisable
; then
12177 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12178 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12179 # Check whether --enable-slider was given.
12180 if test "${enable_slider+set}" = set; then
12181 enableval
=$enable_slider;
12182 if test "$enableval" = yes; then
12183 wx_cv_use_slider
='wxUSE_SLIDER=yes'
12185 wx_cv_use_slider
='wxUSE_SLIDER=no'
12190 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12195 eval "$wx_cv_use_slider"
12197 if test x"$enablestring" = xdisable; then
12198 if test $wxUSE_SLIDER = no; then
12204 result=$wxUSE_SLIDER
12207 { echo "$as_me:$LINENO: result: $result" >&5
12208 echo "${ECHO_T}$result" >&6; }
12212 defaultval=$wxUSE_ALL_FEATURES
12213 if test -z "$defaultval"; then
12214 if test x"$enablestring" = xdisable; then
12221 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12222 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12223 # Check whether --enable-spinbtn was given.
12224 if test "${enable_spinbtn+set}" = set; then
12225 enableval=$enable_spinbtn;
12226 if test "$enableval" = yes; then
12227 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
12229 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
12234 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12239 eval "$wx_cv_use_spinbtn"
12241 if test x"$enablestring" = xdisable; then
12242 if test $wxUSE_SPINBTN = no; then
12248 result=$wxUSE_SPINBTN
12251 { echo "$as_me:$LINENO: result
: $result" >&5
12252 echo "${ECHO_T}$result" >&6; }
12256 defaultval=$wxUSE_ALL_FEATURES
12257 if test -z "$defaultval"; then
12258 if test x"$enablestring" = xdisable; then
12265 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
12266 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
12267 # Check whether --enable-spinctrl was given.
12268 if test "${enable_spinctrl+set}" = set; then
12269 enableval=$enable_spinctrl;
12270 if test "$enableval" = yes; then
12271 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12273 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12278 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12283 eval "$wx_cv_use_spinctrl"
12285 if test x
"$enablestring" = xdisable
; then
12286 if test $wxUSE_SPINCTRL = no
; then
12292 result
=$wxUSE_SPINCTRL
12295 { echo "$as_me:$LINENO: result: $result" >&5
12296 echo "${ECHO_T}$result" >&6; }
12300 defaultval
=$wxUSE_ALL_FEATURES
12301 if test -z "$defaultval"; then
12302 if test x
"$enablestring" = xdisable
; then
12309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12310 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12311 # Check whether --enable-splitter was given.
12312 if test "${enable_splitter+set}" = set; then
12313 enableval
=$enable_splitter;
12314 if test "$enableval" = yes; then
12315 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
12317 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
12322 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12327 eval "$wx_cv_use_splitter"
12329 if test x"$enablestring" = xdisable; then
12330 if test $wxUSE_SPLITTER = no; then
12336 result=$wxUSE_SPLITTER
12339 { echo "$as_me:$LINENO: result: $result" >&5
12340 echo "${ECHO_T}$result" >&6; }
12344 defaultval=$wxUSE_ALL_FEATURES
12345 if test -z "$defaultval"; then
12346 if test x"$enablestring" = xdisable; then
12353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12354 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12355 # Check whether --enable-statbmp was given.
12356 if test "${enable_statbmp+set}" = set; then
12357 enableval=$enable_statbmp;
12358 if test "$enableval" = yes; then
12359 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
12361 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
12366 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12371 eval "$wx_cv_use_statbmp"
12373 if test x"$enablestring" = xdisable; then
12374 if test $wxUSE_STATBMP = no; then
12380 result=$wxUSE_STATBMP
12383 { echo "$as_me:$LINENO: result
: $result" >&5
12384 echo "${ECHO_T}$result" >&6; }
12388 defaultval=$wxUSE_ALL_FEATURES
12389 if test -z "$defaultval"; then
12390 if test x"$enablestring" = xdisable; then
12397 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
12398 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
12399 # Check whether --enable-statbox was given.
12400 if test "${enable_statbox+set}" = set; then
12401 enableval=$enable_statbox;
12402 if test "$enableval" = yes; then
12403 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12405 wx_cv_use_statbox='wxUSE_STATBOX=no'
12410 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12415 eval "$wx_cv_use_statbox"
12417 if test x
"$enablestring" = xdisable
; then
12418 if test $wxUSE_STATBOX = no
; then
12424 result
=$wxUSE_STATBOX
12427 { echo "$as_me:$LINENO: result: $result" >&5
12428 echo "${ECHO_T}$result" >&6; }
12432 defaultval
=$wxUSE_ALL_FEATURES
12433 if test -z "$defaultval"; then
12434 if test x
"$enablestring" = xdisable
; then
12441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12442 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12443 # Check whether --enable-statline was given.
12444 if test "${enable_statline+set}" = set; then
12445 enableval
=$enable_statline;
12446 if test "$enableval" = yes; then
12447 wx_cv_use_statline
='wxUSE_STATLINE=yes'
12449 wx_cv_use_statline
='wxUSE_STATLINE=no'
12454 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12459 eval "$wx_cv_use_statline"
12461 if test x"$enablestring" = xdisable; then
12462 if test $wxUSE_STATLINE = no; then
12468 result=$wxUSE_STATLINE
12471 { echo "$as_me:$LINENO: result: $result" >&5
12472 echo "${ECHO_T}$result" >&6; }
12476 defaultval=$wxUSE_ALL_FEATURES
12477 if test -z "$defaultval"; then
12478 if test x"$enablestring" = xdisable; then
12485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12486 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12487 # Check whether --enable-stattext was given.
12488 if test "${enable_stattext+set}" = set; then
12489 enableval=$enable_stattext;
12490 if test "$enableval" = yes; then
12491 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
12493 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
12498 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12503 eval "$wx_cv_use_stattext"
12505 if test x"$enablestring" = xdisable; then
12506 if test $wxUSE_STATTEXT = no; then
12512 result=$wxUSE_STATTEXT
12515 { echo "$as_me:$LINENO: result
: $result" >&5
12516 echo "${ECHO_T}$result" >&6; }
12520 defaultval=$wxUSE_ALL_FEATURES
12521 if test -z "$defaultval"; then
12522 if test x"$enablestring" = xdisable; then
12529 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
12530 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
12531 # Check whether --enable-statusbar was given.
12532 if test "${enable_statusbar+set}" = set; then
12533 enableval=$enable_statusbar;
12534 if test "$enableval" = yes; then
12535 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12537 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12542 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12547 eval "$wx_cv_use_statusbar"
12549 if test x
"$enablestring" = xdisable
; then
12550 if test $wxUSE_STATUSBAR = no
; then
12556 result
=$wxUSE_STATUSBAR
12559 { echo "$as_me:$LINENO: result: $result" >&5
12560 echo "${ECHO_T}$result" >&6; }
12564 defaultval
=$wxUSE_ALL_FEATURES
12565 if test -z "$defaultval"; then
12566 if test x
"$enablestring" = xdisable
; then
12573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12574 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12575 # Check whether --enable-taskbaricon was given.
12576 if test "${enable_taskbaricon+set}" = set; then
12577 enableval
=$enable_taskbaricon;
12578 if test "$enableval" = yes; then
12579 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
12581 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
12586 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12591 eval "$wx_cv_use_taskbaricon"
12593 if test x"$enablestring" = xdisable; then
12594 if test $wxUSE_TASKBARICON = no; then
12600 result=$wxUSE_TASKBARICON
12603 { echo "$as_me:$LINENO: result: $result" >&5
12604 echo "${ECHO_T}$result" >&6; }
12608 defaultval=$wxUSE_ALL_FEATURES
12609 if test -z "$defaultval"; then
12610 if test x"$enablestring" = xdisable; then
12617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12618 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12619 # Check whether --enable-tbarnative was given.
12620 if test "${enable_tbarnative+set}" = set; then
12621 enableval=$enable_tbarnative;
12622 if test "$enableval" = yes; then
12623 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
12625 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
12630 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12635 eval "$wx_cv_use_tbarnative"
12637 if test x"$enablestring" = xdisable; then
12638 if test $wxUSE_TOOLBAR_NATIVE = no; then
12644 result=$wxUSE_TOOLBAR_NATIVE
12647 { echo "$as_me:$LINENO: result
: $result" >&5
12648 echo "${ECHO_T}$result" >&6; }
12652 defaultval=$wxUSE_ALL_FEATURES
12653 if test -z "$defaultval"; then
12654 if test x"$enablestring" = xdisable; then
12661 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
12662 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
12663 # Check whether --enable-textctrl was given.
12664 if test "${enable_textctrl+set}" = set; then
12665 enableval=$enable_textctrl;
12666 if test "$enableval" = yes; then
12667 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12669 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12674 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12679 eval "$wx_cv_use_textctrl"
12681 if test x
"$enablestring" = xdisable
; then
12682 if test $wxUSE_TEXTCTRL = no
; then
12688 result
=$wxUSE_TEXTCTRL
12691 { echo "$as_me:$LINENO: result: $result" >&5
12692 echo "${ECHO_T}$result" >&6; }
12696 defaultval
=$wxUSE_ALL_FEATURES
12697 if test -z "$defaultval"; then
12698 if test x
"$enablestring" = xdisable
; then
12705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
12706 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12707 # Check whether --enable-datepick was given.
12708 if test "${enable_datepick+set}" = set; then
12709 enableval
=$enable_datepick;
12710 if test "$enableval" = yes; then
12711 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=yes'
12713 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=no'
12718 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12723 eval "$wx_cv_use_datepick"
12725 if test x"$enablestring" = xdisable; then
12726 if test $wxUSE_TIMEPICKCTRL = no; then
12732 result=$wxUSE_TIMEPICKCTRL
12735 { echo "$as_me:$LINENO: result: $result" >&5
12736 echo "${ECHO_T}$result" >&6; }
12740 defaultval=$wxUSE_ALL_FEATURES
12741 if test -z "$defaultval"; then
12742 if test x"$enablestring" = xdisable; then
12749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12750 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12751 # Check whether --enable-tipwindow was given.
12752 if test "${enable_tipwindow+set}" = set; then
12753 enableval=$enable_tipwindow;
12754 if test "$enableval" = yes; then
12755 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12757 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12762 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12767 eval "$wx_cv_use_tipwindow"
12769 if test x"$enablestring" = xdisable; then
12770 if test $wxUSE_TIPWINDOW = no; then
12776 result=$wxUSE_TIPWINDOW
12779 { echo "$as_me:$LINENO: result
: $result" >&5
12780 echo "${ECHO_T}$result" >&6; }
12784 defaultval=$wxUSE_ALL_FEATURES
12785 if test -z "$defaultval"; then
12786 if test x"$enablestring" = xdisable; then
12793 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
12794 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
12795 # Check whether --enable-togglebtn was given.
12796 if test "${enable_togglebtn+set}" = set; then
12797 enableval=$enable_togglebtn;
12798 if test "$enableval" = yes; then
12799 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12801 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12806 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12811 eval "$wx_cv_use_togglebtn"
12813 if test x
"$enablestring" = xdisable
; then
12814 if test $wxUSE_TOGGLEBTN = no
; then
12820 result
=$wxUSE_TOGGLEBTN
12823 { echo "$as_me:$LINENO: result: $result" >&5
12824 echo "${ECHO_T}$result" >&6; }
12828 defaultval
=$wxUSE_ALL_FEATURES
12829 if test -z "$defaultval"; then
12830 if test x
"$enablestring" = xdisable
; then
12837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12838 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12839 # Check whether --enable-toolbar was given.
12840 if test "${enable_toolbar+set}" = set; then
12841 enableval
=$enable_toolbar;
12842 if test "$enableval" = yes; then
12843 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
12845 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
12850 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12855 eval "$wx_cv_use_toolbar"
12857 if test x"$enablestring" = xdisable; then
12858 if test $wxUSE_TOOLBAR = no; then
12864 result=$wxUSE_TOOLBAR
12867 { echo "$as_me:$LINENO: result: $result" >&5
12868 echo "${ECHO_T}$result" >&6; }
12872 defaultval=$wxUSE_ALL_FEATURES
12873 if test -z "$defaultval"; then
12874 if test x"$enablestring" = xdisable; then
12881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12882 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12883 # Check whether --enable-toolbook was given.
12884 if test "${enable_toolbook+set}" = set; then
12885 enableval=$enable_toolbook;
12886 if test "$enableval" = yes; then
12887 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12889 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12894 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12899 eval "$wx_cv_use_toolbook"
12901 if test x"$enablestring" = xdisable; then
12902 if test $wxUSE_TOOLBOOK = no; then
12908 result=$wxUSE_TOOLBOOK
12911 { echo "$as_me:$LINENO: result
: $result" >&5
12912 echo "${ECHO_T}$result" >&6; }
12916 defaultval=$wxUSE_ALL_FEATURES
12917 if test -z "$defaultval"; then
12918 if test x"$enablestring" = xdisable; then
12925 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12926 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12927 # Check whether --enable-treebook was given.
12928 if test "${enable_treebook+set}" = set; then
12929 enableval=$enable_treebook;
12930 if test "$enableval" = yes; then
12931 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12933 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12938 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12943 eval "$wx_cv_use_treebook"
12945 if test x
"$enablestring" = xdisable
; then
12946 if test $wxUSE_TREEBOOK = no
; then
12952 result
=$wxUSE_TREEBOOK
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12960 defaultval
=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x
"$enablestring" = xdisable
; then
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12971 # Check whether --enable-treectrl was given.
12972 if test "${enable_treectrl+set}" = set; then
12973 enableval
=$enable_treectrl;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12977 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12982 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12987 eval "$wx_cv_use_treectrl"
12989 if test x"$enablestring" = xdisable; then
12990 if test $wxUSE_TREECTRL = no; then
12996 result=$wxUSE_TREECTRL
12999 { echo "$as_me:$LINENO: result: $result" >&5
13000 echo "${ECHO_T}$result" >&6; }
13004 defaultval=$wxUSE_ALL_FEATURES
13005 if test -z "$defaultval"; then
13006 if test x"$enablestring" = xdisable; then
13013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
13014 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
13015 # Check whether --enable-treelist was given.
13016 if test "${enable_treelist+set}" = set; then
13017 enableval=$enable_treelist;
13018 if test "$enableval" = yes; then
13019 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=yes'
13021 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=no
'
13026 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
13031 eval "$wx_cv_use_treelist"
13033 if test x"$enablestring" = xdisable; then
13034 if test $wxUSE_TREELISTCTRL = no; then
13040 result=$wxUSE_TREELISTCTRL
13043 { echo "$as_me:$LINENO: result
: $result" >&5
13044 echo "${ECHO_T}$result" >&6; }
13050 defaultval=$wxUSE_ALL_FEATURES
13051 if test -z "$defaultval"; then
13052 if test x"$enablestring" = xdisable; then
13059 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
13060 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
13061 # Check whether --enable-commondlg was given.
13062 if test "${enable_commondlg+set}" = set; then
13063 enableval=$enable_commondlg;
13064 if test "$enableval" = yes; then
13065 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13067 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13072 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13077 eval "$wx_cv_use_commondlg"
13079 if test x
"$enablestring" = xdisable
; then
13080 if test $wxUSE_COMMONDLGS = no
; then
13086 result
=$wxUSE_COMMONDLGS
13089 { echo "$as_me:$LINENO: result: $result" >&5
13090 echo "${ECHO_T}$result" >&6; }
13094 defaultval
=$wxUSE_ALL_FEATURES
13095 if test -z "$defaultval"; then
13096 if test x
"$enablestring" = xdisable
; then
13103 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13104 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13105 # Check whether --enable-aboutdlg was given.
13106 if test "${enable_aboutdlg+set}" = set; then
13107 enableval
=$enable_aboutdlg;
13108 if test "$enableval" = yes; then
13109 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
13111 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
13116 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13121 eval "$wx_cv_use_aboutdlg"
13123 if test x"$enablestring" = xdisable; then
13124 if test $wxUSE_ABOUTDLG = no; then
13130 result=$wxUSE_ABOUTDLG
13133 { echo "$as_me:$LINENO: result: $result" >&5
13134 echo "${ECHO_T}$result" >&6; }
13138 defaultval=$wxUSE_ALL_FEATURES
13139 if test -z "$defaultval"; then
13140 if test x"$enablestring" = xdisable; then
13147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13148 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13149 # Check whether --enable-choicedlg was given.
13150 if test "${enable_choicedlg+set}" = set; then
13151 enableval=$enable_choicedlg;
13152 if test "$enableval" = yes; then
13153 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
13155 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
13160 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13165 eval "$wx_cv_use_choicedlg"
13167 if test x"$enablestring" = xdisable; then
13168 if test $wxUSE_CHOICEDLG = no; then
13174 result=$wxUSE_CHOICEDLG
13177 { echo "$as_me:$LINENO: result
: $result" >&5
13178 echo "${ECHO_T}$result" >&6; }
13182 defaultval=$wxUSE_ALL_FEATURES
13183 if test -z "$defaultval"; then
13184 if test x"$enablestring" = xdisable; then
13191 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
13192 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
13193 # Check whether --enable-coldlg was given.
13194 if test "${enable_coldlg+set}" = set; then
13195 enableval=$enable_coldlg;
13196 if test "$enableval" = yes; then
13197 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13199 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13204 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13209 eval "$wx_cv_use_coldlg"
13211 if test x
"$enablestring" = xdisable
; then
13212 if test $wxUSE_COLOURDLG = no
; then
13218 result
=$wxUSE_COLOURDLG
13221 { echo "$as_me:$LINENO: result: $result" >&5
13222 echo "${ECHO_T}$result" >&6; }
13226 defaultval
=$wxUSE_ALL_FEATURES
13227 if test -z "$defaultval"; then
13228 if test x
"$enablestring" = xdisable
; then
13235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13236 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13237 # Check whether --enable-filedlg was given.
13238 if test "${enable_filedlg+set}" = set; then
13239 enableval
=$enable_filedlg;
13240 if test "$enableval" = yes; then
13241 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
13243 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
13248 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13253 eval "$wx_cv_use_filedlg"
13255 if test x"$enablestring" = xdisable; then
13256 if test $wxUSE_FILEDLG = no; then
13262 result=$wxUSE_FILEDLG
13265 { echo "$as_me:$LINENO: result: $result" >&5
13266 echo "${ECHO_T}$result" >&6; }
13270 defaultval=$wxUSE_ALL_FEATURES
13271 if test -z "$defaultval"; then
13272 if test x"$enablestring" = xdisable; then
13279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13280 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13281 # Check whether --enable-finddlg was given.
13282 if test "${enable_finddlg+set}" = set; then
13283 enableval=$enable_finddlg;
13284 if test "$enableval" = yes; then
13285 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
13287 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
13292 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13297 eval "$wx_cv_use_finddlg"
13299 if test x"$enablestring" = xdisable; then
13300 if test $wxUSE_FINDREPLDLG = no; then
13306 result=$wxUSE_FINDREPLDLG
13309 { echo "$as_me:$LINENO: result
: $result" >&5
13310 echo "${ECHO_T}$result" >&6; }
13314 defaultval=$wxUSE_ALL_FEATURES
13315 if test -z "$defaultval"; then
13316 if test x"$enablestring" = xdisable; then
13323 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
13324 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
13325 # Check whether --enable-fontdlg was given.
13326 if test "${enable_fontdlg+set}" = set; then
13327 enableval=$enable_fontdlg;
13328 if test "$enableval" = yes; then
13329 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13331 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13336 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13341 eval "$wx_cv_use_fontdlg"
13343 if test x
"$enablestring" = xdisable
; then
13344 if test $wxUSE_FONTDLG = no
; then
13350 result
=$wxUSE_FONTDLG
13353 { echo "$as_me:$LINENO: result: $result" >&5
13354 echo "${ECHO_T}$result" >&6; }
13358 defaultval
=$wxUSE_ALL_FEATURES
13359 if test -z "$defaultval"; then
13360 if test x
"$enablestring" = xdisable
; then
13367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13368 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13369 # Check whether --enable-dirdlg was given.
13370 if test "${enable_dirdlg+set}" = set; then
13371 enableval
=$enable_dirdlg;
13372 if test "$enableval" = yes; then
13373 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
13375 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
13380 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13385 eval "$wx_cv_use_dirdlg"
13387 if test x"$enablestring" = xdisable; then
13388 if test $wxUSE_DIRDLG = no; then
13394 result=$wxUSE_DIRDLG
13397 { echo "$as_me:$LINENO: result: $result" >&5
13398 echo "${ECHO_T}$result" >&6; }
13402 defaultval=$wxUSE_ALL_FEATURES
13403 if test -z "$defaultval"; then
13404 if test x"$enablestring" = xdisable; then
13411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13412 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13413 # Check whether --enable-msgdlg was given.
13414 if test "${enable_msgdlg+set}" = set; then
13415 enableval=$enable_msgdlg;
13416 if test "$enableval" = yes; then
13417 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
13419 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
13424 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13429 eval "$wx_cv_use_msgdlg"
13431 if test x"$enablestring" = xdisable; then
13432 if test $wxUSE_MSGDLG = no; then
13438 result=$wxUSE_MSGDLG
13441 { echo "$as_me:$LINENO: result
: $result" >&5
13442 echo "${ECHO_T}$result" >&6; }
13446 defaultval=$wxUSE_ALL_FEATURES
13447 if test -z "$defaultval"; then
13448 if test x"$enablestring" = xdisable; then
13455 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
13456 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
13457 # Check whether --enable-numberdlg was given.
13458 if test "${enable_numberdlg+set}" = set; then
13459 enableval=$enable_numberdlg;
13460 if test "$enableval" = yes; then
13461 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13463 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13468 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13473 eval "$wx_cv_use_numberdlg"
13475 if test x
"$enablestring" = xdisable
; then
13476 if test $wxUSE_NUMBERDLG = no
; then
13482 result
=$wxUSE_NUMBERDLG
13485 { echo "$as_me:$LINENO: result: $result" >&5
13486 echo "${ECHO_T}$result" >&6; }
13490 defaultval
=$wxUSE_ALL_FEATURES
13491 if test -z "$defaultval"; then
13492 if test x
"$enablestring" = xdisable
; then
13499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13500 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13501 # Check whether --enable-splash was given.
13502 if test "${enable_splash+set}" = set; then
13503 enableval
=$enable_splash;
13504 if test "$enableval" = yes; then
13505 wx_cv_use_splash
='wxUSE_SPLASH=yes'
13507 wx_cv_use_splash
='wxUSE_SPLASH=no'
13512 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13517 eval "$wx_cv_use_splash"
13519 if test x"$enablestring" = xdisable; then
13520 if test $wxUSE_SPLASH = no; then
13526 result=$wxUSE_SPLASH
13529 { echo "$as_me:$LINENO: result: $result" >&5
13530 echo "${ECHO_T}$result" >&6; }
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13544 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13545 # Check whether --enable-textdlg was given.
13546 if test "${enable_textdlg+set}" = set; then
13547 enableval=$enable_textdlg;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
13551 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
13556 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13561 eval "$wx_cv_use_textdlg"
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_TEXTDLG = no; then
13570 result=$wxUSE_TEXTDLG
13573 { echo "$as_me:$LINENO: result
: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13578 defaultval=$wxUSE_ALL_FEATURES
13579 if test -z "$defaultval"; then
13580 if test x"$enablestring" = xdisable; then
13587 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
13588 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
13589 # Check whether --enable-tipdlg was given.
13590 if test "${enable_tipdlg+set}" = set; then
13591 enableval=$enable_tipdlg;
13592 if test "$enableval" = yes; then
13593 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13595 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13600 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13605 eval "$wx_cv_use_tipdlg"
13607 if test x
"$enablestring" = xdisable
; then
13608 if test $wxUSE_STARTUP_TIPS = no
; then
13614 result
=$wxUSE_STARTUP_TIPS
13617 { echo "$as_me:$LINENO: result: $result" >&5
13618 echo "${ECHO_T}$result" >&6; }
13622 defaultval
=$wxUSE_ALL_FEATURES
13623 if test -z "$defaultval"; then
13624 if test x
"$enablestring" = xdisable
; then
13631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13632 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13633 # Check whether --enable-progressdlg was given.
13634 if test "${enable_progressdlg+set}" = set; then
13635 enableval
=$enable_progressdlg;
13636 if test "$enableval" = yes; then
13637 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
13639 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13644 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13649 eval "$wx_cv_use_progressdlg"
13651 if test x"$enablestring" = xdisable; then
13652 if test $wxUSE_PROGRESSDLG = no; then
13658 result=$wxUSE_PROGRESSDLG
13661 { echo "$as_me:$LINENO: result: $result" >&5
13662 echo "${ECHO_T}$result" >&6; }
13666 defaultval=$wxUSE_ALL_FEATURES
13667 if test -z "$defaultval"; then
13668 if test x"$enablestring" = xdisable; then
13675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13676 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13677 # Check whether --enable-wizarddlg was given.
13678 if test "${enable_wizarddlg+set}" = set; then
13679 enableval=$enable_wizarddlg;
13680 if test "$enableval" = yes; then
13681 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13683 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13688 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13693 eval "$wx_cv_use_wizarddlg"
13695 if test x"$enablestring" = xdisable; then
13696 if test $wxUSE_WIZARDDLG = no; then
13702 result=$wxUSE_WIZARDDLG
13705 { echo "$as_me:$LINENO: result
: $result" >&5
13706 echo "${ECHO_T}$result" >&6; }
13712 defaultval=$wxUSE_ALL_FEATURES
13713 if test -z "$defaultval"; then
13714 if test x"$enablestring" = xdisable; then
13721 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13722 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13723 # Check whether --enable-menus was given.
13724 if test "${enable_menus+set}" = set; then
13725 enableval=$enable_menus;
13726 if test "$enableval" = yes; then
13727 wx_cv_use_menus='wxUSE_MENUS=yes'
13729 wx_cv_use_menus='wxUSE_MENUS=no'
13734 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13739 eval "$wx_cv_use_menus"
13741 if test x
"$enablestring" = xdisable
; then
13742 if test $wxUSE_MENUS = no
; then
13748 result
=$wxUSE_MENUS
13751 { echo "$as_me:$LINENO: result: $result" >&5
13752 echo "${ECHO_T}$result" >&6; }
13756 defaultval
=$wxUSE_ALL_FEATURES
13757 if test -z "$defaultval"; then
13758 if test x
"$enablestring" = xdisable
; then
13765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13766 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13767 # Check whether --enable-miniframe was given.
13768 if test "${enable_miniframe+set}" = set; then
13769 enableval
=$enable_miniframe;
13770 if test "$enableval" = yes; then
13771 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13773 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13778 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13783 eval "$wx_cv_use_miniframe"
13785 if test x"$enablestring" = xdisable; then
13786 if test $wxUSE_MINIFRAME = no; then
13792 result=$wxUSE_MINIFRAME
13795 { echo "$as_me:$LINENO: result: $result" >&5
13796 echo "${ECHO_T}$result" >&6; }
13800 defaultval=$wxUSE_ALL_FEATURES
13801 if test -z "$defaultval"; then
13802 if test x"$enablestring" = xdisable; then
13809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13810 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13811 # Check whether --enable-tooltips was given.
13812 if test "${enable_tooltips+set}" = set; then
13813 enableval=$enable_tooltips;
13814 if test "$enableval" = yes; then
13815 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13817 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13822 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13827 eval "$wx_cv_use_tooltips"
13829 if test x"$enablestring" = xdisable; then
13830 if test $wxUSE_TOOLTIPS = no; then
13836 result=$wxUSE_TOOLTIPS
13839 { echo "$as_me:$LINENO: result
: $result" >&5
13840 echo "${ECHO_T}$result" >&6; }
13844 defaultval=$wxUSE_ALL_FEATURES
13845 if test -z "$defaultval"; then
13846 if test x"$enablestring" = xdisable; then
13853 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13854 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13855 # Check whether --enable-splines was given.
13856 if test "${enable_splines+set}" = set; then
13857 enableval=$enable_splines;
13858 if test "$enableval" = yes; then
13859 wx_cv_use_splines='wxUSE_SPLINES=yes'
13861 wx_cv_use_splines='wxUSE_SPLINES=no'
13866 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13871 eval "$wx_cv_use_splines"
13873 if test x
"$enablestring" = xdisable
; then
13874 if test $wxUSE_SPLINES = no
; then
13880 result
=$wxUSE_SPLINES
13883 { echo "$as_me:$LINENO: result: $result" >&5
13884 echo "${ECHO_T}$result" >&6; }
13888 defaultval
=$wxUSE_ALL_FEATURES
13889 if test -z "$defaultval"; then
13890 if test x
"$enablestring" = xdisable
; then
13897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13898 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13899 # Check whether --enable-mousewheel was given.
13900 if test "${enable_mousewheel+set}" = set; then
13901 enableval
=$enable_mousewheel;
13902 if test "$enableval" = yes; then
13903 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13905 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13910 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13915 eval "$wx_cv_use_mousewheel"
13917 if test x"$enablestring" = xdisable; then
13918 if test $wxUSE_MOUSEWHEEL = no; then
13924 result=$wxUSE_MOUSEWHEEL
13927 { echo "$as_me:$LINENO: result: $result" >&5
13928 echo "${ECHO_T}$result" >&6; }
13932 defaultval=$wxUSE_ALL_FEATURES
13933 if test -z "$defaultval"; then
13934 if test x"$enablestring" = xdisable; then
13941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13942 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13943 # Check whether --enable-validators was given.
13944 if test "${enable_validators+set}" = set; then
13945 enableval=$enable_validators;
13946 if test "$enableval" = yes; then
13947 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13949 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13954 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13959 eval "$wx_cv_use_validators"
13961 if test x"$enablestring" = xdisable; then
13962 if test $wxUSE_VALIDATORS = no; then
13968 result=$wxUSE_VALIDATORS
13971 { echo "$as_me:$LINENO: result
: $result" >&5
13972 echo "${ECHO_T}$result" >&6; }
13976 defaultval=$wxUSE_ALL_FEATURES
13977 if test -z "$defaultval"; then
13978 if test x"$enablestring" = xdisable; then
13985 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13986 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13987 # Check whether --enable-busyinfo was given.
13988 if test "${enable_busyinfo+set}" = set; then
13989 enableval=$enable_busyinfo;
13990 if test "$enableval" = yes; then
13991 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13993 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13998 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14003 eval "$wx_cv_use_busyinfo"
14005 if test x
"$enablestring" = xdisable
; then
14006 if test $wxUSE_BUSYINFO = no
; then
14012 result
=$wxUSE_BUSYINFO
14015 { echo "$as_me:$LINENO: result: $result" >&5
14016 echo "${ECHO_T}$result" >&6; }
14020 defaultval
=$wxUSE_ALL_FEATURES
14021 if test -z "$defaultval"; then
14022 if test x
"$enablestring" = xdisable
; then
14029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
14030 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
14031 # Check whether --enable-hotkey was given.
14032 if test "${enable_hotkey+set}" = set; then
14033 enableval
=$enable_hotkey;
14034 if test "$enableval" = yes; then
14035 wx_cv_use_hotkey
='wxUSE_HOTKEY=yes'
14037 wx_cv_use_hotkey
='wxUSE_HOTKEY=no'
14042 wx_cv_use_hotkey
='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14047 eval "$wx_cv_use_hotkey"
14049 if test x"$enablestring" = xdisable; then
14050 if test $wxUSE_HOTKEY = no; then
14056 result=$wxUSE_HOTKEY
14059 { echo "$as_me:$LINENO: result: $result" >&5
14060 echo "${ECHO_T}$result" >&6; }
14064 defaultval=$wxUSE_ALL_FEATURES
14065 if test -z "$defaultval"; then
14066 if test x"$enablestring" = xdisable; then
14073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14074 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14075 # Check whether --enable-joystick was given.
14076 if test "${enable_joystick+set}" = set; then
14077 enableval=$enable_joystick;
14078 if test "$enableval" = yes; then
14079 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
14081 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
14086 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14091 eval "$wx_cv_use_joystick"
14093 if test x"$enablestring" = xdisable; then
14094 if test $wxUSE_JOYSTICK = no; then
14100 result=$wxUSE_JOYSTICK
14103 { echo "$as_me:$LINENO: result
: $result" >&5
14104 echo "${ECHO_T}$result" >&6; }
14108 defaultval=$wxUSE_ALL_FEATURES
14109 if test -z "$defaultval"; then
14110 if test x"$enablestring" = xdisable; then
14117 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
14118 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
14119 # Check whether --enable-metafile was given.
14120 if test "${enable_metafile+set}" = set; then
14121 enableval=$enable_metafile;
14122 if test "$enableval" = yes; then
14123 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14125 wx_cv_use_metafile='wxUSE_METAFILE=no'
14130 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14135 eval "$wx_cv_use_metafile"
14137 if test x
"$enablestring" = xdisable
; then
14138 if test $wxUSE_METAFILE = no
; then
14144 result
=$wxUSE_METAFILE
14147 { echo "$as_me:$LINENO: result: $result" >&5
14148 echo "${ECHO_T}$result" >&6; }
14152 defaultval
=$wxUSE_ALL_FEATURES
14153 if test -z "$defaultval"; then
14154 if test x
"$enablestring" = xdisable
; then
14161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14162 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14163 # Check whether --enable-dragimage was given.
14164 if test "${enable_dragimage+set}" = set; then
14165 enableval
=$enable_dragimage;
14166 if test "$enableval" = yes; then
14167 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
14169 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
14174 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14179 eval "$wx_cv_use_dragimage"
14181 if test x"$enablestring" = xdisable; then
14182 if test $wxUSE_DRAGIMAGE = no; then
14188 result=$wxUSE_DRAGIMAGE
14191 { echo "$as_me:$LINENO: result: $result" >&5
14192 echo "${ECHO_T}$result" >&6; }
14196 defaultval=$wxUSE_ALL_FEATURES
14197 if test -z "$defaultval"; then
14198 if test x"$enablestring" = xdisable; then
14205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14206 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14207 # Check whether --enable-accessibility was given.
14208 if test "${enable_accessibility+set}" = set; then
14209 enableval=$enable_accessibility;
14210 if test "$enableval" = yes; then
14211 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
14213 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
14218 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14223 eval "$wx_cv_use_accessibility"
14225 if test x"$enablestring" = xdisable; then
14226 if test $wxUSE_ACCESSIBILITY = no; then
14232 result=$wxUSE_ACCESSIBILITY
14235 { echo "$as_me:$LINENO: result
: $result" >&5
14236 echo "${ECHO_T}$result" >&6; }
14240 defaultval=$wxUSE_ALL_FEATURES
14241 if test -z "$defaultval"; then
14242 if test x"$enablestring" = xdisable; then
14249 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uiactionsim" >&5
14250 echo $ECHO_N "checking
for --${enablestring:-enable}-uiactionsim...
$ECHO_C" >&6; }
14251 # Check whether --enable-uiactionsim was given.
14252 if test "${enable_uiactionsim+set}" = set; then
14253 enableval=$enable_uiactionsim;
14254 if test "$enableval" = yes; then
14255 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14257 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14262 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14267 eval "$wx_cv_use_uiactionsim"
14269 if test x
"$enablestring" = xdisable
; then
14270 if test $wxUSE_UIACTIONSIMULATOR = no
; then
14276 result
=$wxUSE_UIACTIONSIMULATOR
14279 { echo "$as_me:$LINENO: result: $result" >&5
14280 echo "${ECHO_T}$result" >&6; }
14284 defaultval
=$wxUSE_ALL_FEATURES
14285 if test -z "$defaultval"; then
14286 if test x
"$enablestring" = xdisable
; then
14293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14294 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14295 # Check whether --enable-dctransform was given.
14296 if test "${enable_dctransform+set}" = set; then
14297 enableval
=$enable_dctransform;
14298 if test "$enableval" = yes; then
14299 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=yes'
14301 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=no'
14306 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14311 eval "$wx_cv_use_dctransform"
14313 if test x"$enablestring" = xdisable; then
14314 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14320 result=$wxUSE_DC_TRANSFORM_MATRIX
14323 { echo "$as_me:$LINENO: result: $result" >&5
14324 echo "${ECHO_T}$result" >&6; }
14328 defaultval=$wxUSE_ALL_FEATURES
14329 if test -z "$defaultval"; then
14330 if test x"$enablestring" = xdisable; then
14337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14338 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14339 # Check whether --enable-webviewwebkit was given.
14340 if test "${enable_webviewwebkit+set}" = set; then
14341 enableval=$enable_webviewwebkit;
14342 if test "$enableval" = yes; then
14343 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=yes'
14345 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=no
'
14350 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14355 eval "$wx_cv_use_webviewwebkit"
14357 if test x"$enablestring" = xdisable; then
14358 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14364 result=$wxUSE_WEBVIEW_WEBKIT
14367 { echo "$as_me:$LINENO: result
: $result" >&5
14368 echo "${ECHO_T}$result" >&6; }
14374 defaultval=$wxUSE_ALL_FEATURES
14375 if test -z "$defaultval"; then
14376 if test x"$enablestring" = xdisable; then
14383 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
14384 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
14385 # Check whether --enable-palette was given.
14386 if test "${enable_palette+set}" = set; then
14387 enableval=$enable_palette;
14388 if test "$enableval" = yes; then
14389 wx_cv_use_palette='wxUSE_PALETTE=yes'
14391 wx_cv_use_palette='wxUSE_PALETTE=no'
14396 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14401 eval "$wx_cv_use_palette"
14403 if test x
"$enablestring" = xdisable
; then
14404 if test $wxUSE_PALETTE = no
; then
14410 result
=$wxUSE_PALETTE
14413 { echo "$as_me:$LINENO: result: $result" >&5
14414 echo "${ECHO_T}$result" >&6; }
14418 defaultval
=$wxUSE_ALL_FEATURES
14419 if test -z "$defaultval"; then
14420 if test x
"$enablestring" = xdisable
; then
14427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14428 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14429 # Check whether --enable-image was given.
14430 if test "${enable_image+set}" = set; then
14431 enableval
=$enable_image;
14432 if test "$enableval" = yes; then
14433 wx_cv_use_image
='wxUSE_IMAGE=yes'
14435 wx_cv_use_image
='wxUSE_IMAGE=no'
14440 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14445 eval "$wx_cv_use_image"
14447 if test x"$enablestring" = xdisable; then
14448 if test $wxUSE_IMAGE = no; then
14454 result=$wxUSE_IMAGE
14457 { echo "$as_me:$LINENO: result: $result" >&5
14458 echo "${ECHO_T}$result" >&6; }
14462 defaultval=$wxUSE_ALL_FEATURES
14463 if test -z "$defaultval"; then
14464 if test x"$enablestring" = xdisable; then
14471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14472 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14473 # Check whether --enable-gif was given.
14474 if test "${enable_gif+set}" = set; then
14475 enableval=$enable_gif;
14476 if test "$enableval" = yes; then
14477 wx_cv_use_gif='wxUSE_GIF
=yes'
14479 wx_cv_use_gif='wxUSE_GIF
=no
'
14484 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14489 eval "$wx_cv_use_gif"
14491 if test x"$enablestring" = xdisable; then
14492 if test $wxUSE_GIF = no; then
14501 { echo "$as_me:$LINENO: result
: $result" >&5
14502 echo "${ECHO_T}$result" >&6; }
14506 defaultval=$wxUSE_ALL_FEATURES
14507 if test -z "$defaultval"; then
14508 if test x"$enablestring" = xdisable; then
14515 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
14516 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
14517 # Check whether --enable-pcx was given.
14518 if test "${enable_pcx+set}" = set; then
14519 enableval=$enable_pcx;
14520 if test "$enableval" = yes; then
14521 wx_cv_use_pcx='wxUSE_PCX=yes'
14523 wx_cv_use_pcx='wxUSE_PCX=no'
14528 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14533 eval "$wx_cv_use_pcx"
14535 if test x
"$enablestring" = xdisable
; then
14536 if test $wxUSE_PCX = no
; then
14545 { echo "$as_me:$LINENO: result: $result" >&5
14546 echo "${ECHO_T}$result" >&6; }
14550 defaultval
=$wxUSE_ALL_FEATURES
14551 if test -z "$defaultval"; then
14552 if test x
"$enablestring" = xdisable
; then
14559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14560 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14561 # Check whether --enable-tga was given.
14562 if test "${enable_tga+set}" = set; then
14563 enableval
=$enable_tga;
14564 if test "$enableval" = yes; then
14565 wx_cv_use_tga
='wxUSE_TGA=yes'
14567 wx_cv_use_tga
='wxUSE_TGA=no'
14572 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14577 eval "$wx_cv_use_tga"
14579 if test x"$enablestring" = xdisable; then
14580 if test $wxUSE_TGA = no; then
14589 { echo "$as_me:$LINENO: result: $result" >&5
14590 echo "${ECHO_T}$result" >&6; }
14594 defaultval=$wxUSE_ALL_FEATURES
14595 if test -z "$defaultval"; then
14596 if test x"$enablestring" = xdisable; then
14603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14604 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14605 # Check whether --enable-iff was given.
14606 if test "${enable_iff+set}" = set; then
14607 enableval=$enable_iff;
14608 if test "$enableval" = yes; then
14609 wx_cv_use_iff='wxUSE_IFF
=yes'
14611 wx_cv_use_iff='wxUSE_IFF
=no
'
14616 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14621 eval "$wx_cv_use_iff"
14623 if test x"$enablestring" = xdisable; then
14624 if test $wxUSE_IFF = no; then
14633 { echo "$as_me:$LINENO: result
: $result" >&5
14634 echo "${ECHO_T}$result" >&6; }
14638 defaultval=$wxUSE_ALL_FEATURES
14639 if test -z "$defaultval"; then
14640 if test x"$enablestring" = xdisable; then
14647 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
14648 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
14649 # Check whether --enable-pnm was given.
14650 if test "${enable_pnm+set}" = set; then
14651 enableval=$enable_pnm;
14652 if test "$enableval" = yes; then
14653 wx_cv_use_pnm='wxUSE_PNM=yes'
14655 wx_cv_use_pnm='wxUSE_PNM=no'
14660 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14665 eval "$wx_cv_use_pnm"
14667 if test x
"$enablestring" = xdisable
; then
14668 if test $wxUSE_PNM = no
; then
14677 { echo "$as_me:$LINENO: result: $result" >&5
14678 echo "${ECHO_T}$result" >&6; }
14682 defaultval
=$wxUSE_ALL_FEATURES
14683 if test -z "$defaultval"; then
14684 if test x
"$enablestring" = xdisable
; then
14691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14692 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14693 # Check whether --enable-xpm was given.
14694 if test "${enable_xpm+set}" = set; then
14695 enableval
=$enable_xpm;
14696 if test "$enableval" = yes; then
14697 wx_cv_use_xpm
='wxUSE_XPM=yes'
14699 wx_cv_use_xpm
='wxUSE_XPM=no'
14704 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14709 eval "$wx_cv_use_xpm"
14711 if test x"$enablestring" = xdisable; then
14712 if test $wxUSE_XPM = no; then
14721 { echo "$as_me:$LINENO: result: $result" >&5
14722 echo "${ECHO_T}$result" >&6; }
14726 defaultval=$wxUSE_ALL_FEATURES
14727 if test -z "$defaultval"; then
14728 if test x"$enablestring" = xdisable; then
14735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14736 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14737 # Check whether --enable-ico_cur was given.
14738 if test "${enable_ico_cur+set}" = set; then
14739 enableval=$enable_ico_cur;
14740 if test "$enableval" = yes; then
14741 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
14743 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
14748 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14753 eval "$wx_cv_use_ico_cur"
14755 if test x"$enablestring" = xdisable; then
14756 if test $wxUSE_ICO_CUR = no; then
14762 result=$wxUSE_ICO_CUR
14765 { echo "$as_me:$LINENO: result
: $result" >&5
14766 echo "${ECHO_T}$result" >&6; }
14772 defaultval=$wxUSE_ALL_FEATURES
14773 if test -z "$defaultval"; then
14774 if test x"$enablestring" = xdisable; then
14781 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
14782 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
14783 # Check whether --enable-dccache was given.
14784 if test "${enable_dccache+set}" = set; then
14785 enableval=$enable_dccache;
14786 if test "$enableval" = yes; then
14787 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14789 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14794 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14799 eval "$wx_cv_use_dccache"
14801 if test x
"$enablestring" = xdisable
; then
14802 if test $wxUSE_DC_CACHEING = no
; then
14808 result
=$wxUSE_DC_CACHEING
14811 { echo "$as_me:$LINENO: result: $result" >&5
14812 echo "${ECHO_T}$result" >&6; }
14816 defaultval
=$wxUSE_ALL_FEATURES
14817 if test -z "$defaultval"; then
14818 if test x
"$enablestring" = xdisable
; then
14825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14826 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14827 # Check whether --enable-ps-in-msw was given.
14828 if test "${enable_ps_in_msw+set}" = set; then
14829 enableval
=$enable_ps_in_msw;
14830 if test "$enableval" = yes; then
14831 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14833 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14838 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14843 eval "$wx_cv_use_ps_in_msw"
14845 if test x"$enablestring" = xdisable; then
14846 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14852 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14855 { echo "$as_me:$LINENO: result: $result" >&5
14856 echo "${ECHO_T}$result" >&6; }
14860 defaultval=$wxUSE_ALL_FEATURES
14861 if test -z "$defaultval"; then
14862 if test x"$enablestring" = xdisable; then
14869 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14870 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14871 # Check whether --enable-ownerdrawn was given.
14872 if test "${enable_ownerdrawn+set}" = set; then
14873 enableval=$enable_ownerdrawn;
14874 if test "$enableval" = yes; then
14875 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
14877 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
14882 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14887 eval "$wx_cv_use_ownerdrawn"
14889 if test x"$enablestring" = xdisable; then
14890 if test $wxUSE_OWNER_DRAWN = no; then
14896 result=$wxUSE_OWNER_DRAWN
14899 { echo "$as_me:$LINENO: result
: $result" >&5
14900 echo "${ECHO_T}$result" >&6; }
14904 defaultval=$wxUSE_ALL_FEATURES
14905 if test -z "$defaultval"; then
14906 if test x"$enablestring" = xdisable; then
14913 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
14914 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
14915 # Check whether --enable-uxtheme was given.
14916 if test "${enable_uxtheme+set}" = set; then
14917 enableval=$enable_uxtheme;
14918 if test "$enableval" = yes; then
14919 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14921 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14926 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14931 eval "$wx_cv_use_uxtheme"
14933 if test x
"$enablestring" = xdisable
; then
14934 if test $wxUSE_UXTHEME = no
; then
14940 result
=$wxUSE_UXTHEME
14943 { echo "$as_me:$LINENO: result: $result" >&5
14944 echo "${ECHO_T}$result" >&6; }
14948 defaultval
=$wxUSE_ALL_FEATURES
14949 if test -z "$defaultval"; then
14950 if test x
"$enablestring" = xdisable
; then
14957 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14958 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14959 # Check whether --enable-wxdib was given.
14960 if test "${enable_wxdib+set}" = set; then
14961 enableval
=$enable_wxdib;
14962 if test "$enableval" = yes; then
14963 wx_cv_use_wxdib
='wxUSE_DIB=yes'
14965 wx_cv_use_wxdib
='wxUSE_DIB=no'
14970 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14975 eval "$wx_cv_use_wxdib"
14977 if test x"$enablestring" = xdisable; then
14978 if test $wxUSE_DIB = no; then
14987 { echo "$as_me:$LINENO: result: $result" >&5
14988 echo "${ECHO_T}$result" >&6; }
14992 defaultval=$wxUSE_ALL_FEATURES
14993 if test -z "$defaultval"; then
14994 if test x"$enablestring" = xdisable; then
15001 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
15002 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
15003 # Check whether --enable-webviewie was given.
15004 if test "${enable_webviewie+set}" = set; then
15005 enableval=$enable_webviewie;
15006 if test "$enableval" = yes; then
15007 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=yes'
15009 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=no
'
15014 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
15019 eval "$wx_cv_use_webviewie"
15021 if test x"$enablestring" = xdisable; then
15022 if test $wxUSE_WEBVIEW_IE = no; then
15028 result=$wxUSE_WEBVIEW_IE
15031 { echo "$as_me:$LINENO: result
: $result" >&5
15032 echo "${ECHO_T}$result" >&6; }
15035 if test "$wxUSE_MSW" != 1; then
15036 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15041 defaultval=$wxUSE_ALL_FEATURES
15042 if test -z "$defaultval"; then
15043 if test x"$enablestring" = xdisable; then
15050 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
15051 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
15052 # Check whether --enable-autoidman was given.
15053 if test "${enable_autoidman+set}" = set; then
15054 enableval=$enable_autoidman;
15055 if test "$enableval" = yes; then
15056 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15058 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15063 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15068 eval "$wx_cv_use_autoidman"
15070 if test x
"$enablestring" = xdisable
; then
15071 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
15077 result
=$wxUSE_AUTOID_MANAGEMENT
15080 { echo "$as_me:$LINENO: result: $result" >&5
15081 echo "${ECHO_T}$result" >&6; }
15087 cat >confcache
<<\_ACEOF
15088 # This file is a shell script that caches the results of configure
15089 # tests run on this system so they can be shared between configure
15090 # scripts and configure runs, see configure's option --config-cache.
15091 # It is not useful on other systems. If it contains results you don't
15092 # want to keep, you may remove or edit it.
15094 # config.status only pays attention to the cache file if you give it
15095 # the --recheck option to rerun configure.
15097 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15098 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15099 # following values.
15103 # The following way of writing the cache mishandles newlines in values,
15104 # but we know of no workaround that is simple, portable, and efficient.
15105 # So, we kill variables containing newlines.
15106 # Ultrix sh set writes to stderr and can't be redirected directly,
15107 # and sets the high bit in the cache file unless we assign to the vars.
15109 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15110 eval ac_val
=\$
$ac_var
15114 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15115 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15118 _
| IFS
| as_nl
) ;; #(
15119 *) $as_unset $ac_var ;;
15125 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15126 *${as_nl}ac_space
=\
*)
15127 # `set' does not quote correctly, so add quotes (double-quote
15128 # substitution turns \\\\ into \\, and sed turns \\ into \).
15131 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15134 # `set' quotes correctly as required by POSIX, so do not add quotes.
15135 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15144 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15146 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15148 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15149 if test -w "$cache_file"; then
15150 test "x$cache_file" != "x/dev/null" &&
15151 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15152 echo "$as_me: updating cache $cache_file" >&6;}
15153 cat confcache
>$cache_file
15155 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15156 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15163 ac_cpp
='$CPP $CPPFLAGS'
15164 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15165 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15166 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15167 if test -n "$ac_tool_prefix"; then
15168 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15169 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15172 if test "${ac_cv_prog_CC+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15175 if test -n "$CC"; then
15176 ac_cv_prog_CC
="$CC" # Let the user override the test.
15178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15179 for as_dir
in $PATH
15182 test -z "$as_dir" && as_dir
=.
15183 for ac_exec_ext
in '' $ac_executable_extensions; do
15184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15185 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196 if test -n "$CC"; then
15197 { echo "$as_me:$LINENO: result: $CC" >&5
15198 echo "${ECHO_T}$CC" >&6; }
15200 { echo "$as_me:$LINENO: result: no" >&5
15201 echo "${ECHO_T}no" >&6; }
15206 if test -z "$ac_cv_prog_CC"; then
15208 # Extract the first word of "gcc", so it can be a program name with args.
15209 set dummy gcc
; ac_word
=$2
15210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15212 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 if test -n "$ac_ct_CC"; then
15216 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15219 for as_dir
in $PATH
15222 test -z "$as_dir" && as_dir
=.
15223 for ac_exec_ext
in '' $ac_executable_extensions; do
15224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15225 ac_cv_prog_ac_ct_CC
="gcc"
15226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15235 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15236 if test -n "$ac_ct_CC"; then
15237 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15238 echo "${ECHO_T}$ac_ct_CC" >&6; }
15240 { echo "$as_me:$LINENO: result: no" >&5
15241 echo "${ECHO_T}no" >&6; }
15244 if test "x$ac_ct_CC" = x
; then
15247 case $cross_compiling:$ac_tool_warned in
15249 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15250 whose name does not start with the host triplet. If you think this
15251 configuration is useful to you, please write to autoconf@gnu.org." >&5
15252 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15253 whose name does not start with the host triplet. If you think this
15254 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15255 ac_tool_warned
=yes ;;
15260 CC
="$ac_cv_prog_CC"
15263 if test -z "$CC"; then
15264 if test -n "$ac_tool_prefix"; then
15265 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15266 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15269 if test "${ac_cv_prog_CC+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 if test -n "$CC"; then
15273 ac_cv_prog_CC
="$CC" # Let the user override the test.
15275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15276 for as_dir
in $PATH
15279 test -z "$as_dir" && as_dir
=.
15280 for ac_exec_ext
in '' $ac_executable_extensions; do
15281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15282 ac_cv_prog_CC
="${ac_tool_prefix}cc"
15283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15293 if test -n "$CC"; then
15294 { echo "$as_me:$LINENO: result: $CC" >&5
15295 echo "${ECHO_T}$CC" >&6; }
15297 { echo "$as_me:$LINENO: result: no" >&5
15298 echo "${ECHO_T}no" >&6; }
15304 if test -z "$CC"; then
15305 # Extract the first word of "cc", so it can be a program name with args.
15306 set dummy cc
; ac_word
=$2
15307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15309 if test "${ac_cv_prog_CC+set}" = set; then
15310 echo $ECHO_N "(cached) $ECHO_C" >&6
15312 if test -n "$CC"; then
15313 ac_cv_prog_CC
="$CC" # Let the user override the test.
15315 ac_prog_rejected
=no
15316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15317 for as_dir
in $PATH
15320 test -z "$as_dir" && as_dir
=.
15321 for ac_exec_ext
in '' $ac_executable_extensions; do
15322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15323 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15324 ac_prog_rejected
=yes
15328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15335 if test $ac_prog_rejected = yes; then
15336 # We found a bogon in the path, so make sure we never use it.
15337 set dummy
$ac_cv_prog_CC
15339 if test $# != 0; then
15340 # We chose a different compiler from the bogus one.
15341 # However, it has the same basename, so the bogon will be chosen
15342 # first if we set CC to just the basename; use the full file name.
15344 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
15350 if test -n "$CC"; then
15351 { echo "$as_me:$LINENO: result: $CC" >&5
15352 echo "${ECHO_T}$CC" >&6; }
15354 { echo "$as_me:$LINENO: result: no" >&5
15355 echo "${ECHO_T}no" >&6; }
15360 if test -z "$CC"; then
15361 if test -n "$ac_tool_prefix"; then
15362 for ac_prog
in cl.exe
15364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15365 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15368 if test "${ac_cv_prog_CC+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 if test -n "$CC"; then
15372 ac_cv_prog_CC
="$CC" # Let the user override the test.
15374 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15375 for as_dir
in $PATH
15378 test -z "$as_dir" && as_dir
=.
15379 for ac_exec_ext
in '' $ac_executable_extensions; do
15380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15381 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
15382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15392 if test -n "$CC"; then
15393 { echo "$as_me:$LINENO: result: $CC" >&5
15394 echo "${ECHO_T}$CC" >&6; }
15396 { echo "$as_me:$LINENO: result: no" >&5
15397 echo "${ECHO_T}no" >&6; }
15401 test -n "$CC" && break
15404 if test -z "$CC"; then
15406 for ac_prog
in cl.exe
15408 # Extract the first word of "$ac_prog", so it can be a program name with args.
15409 set dummy
$ac_prog; ac_word
=$2
15410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15412 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15413 echo $ECHO_N "(cached) $ECHO_C" >&6
15415 if test -n "$ac_ct_CC"; then
15416 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15419 for as_dir
in $PATH
15422 test -z "$as_dir" && as_dir
=.
15423 for ac_exec_ext
in '' $ac_executable_extensions; do
15424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15425 ac_cv_prog_ac_ct_CC
="$ac_prog"
15426 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15435 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15436 if test -n "$ac_ct_CC"; then
15437 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15438 echo "${ECHO_T}$ac_ct_CC" >&6; }
15440 { echo "$as_me:$LINENO: result: no" >&5
15441 echo "${ECHO_T}no" >&6; }
15445 test -n "$ac_ct_CC" && break
15448 if test "x$ac_ct_CC" = x
; then
15451 case $cross_compiling:$ac_tool_warned in
15453 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15454 whose name does not start with the host triplet. If you think this
15455 configuration is useful to you, please write to autoconf@gnu.org." >&5
15456 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15457 whose name does not start with the host triplet. If you think this
15458 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15459 ac_tool_warned
=yes ;;
15468 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15469 See \`config.log' for more details." >&5
15470 echo "$as_me: error: no acceptable C compiler found in \$PATH
15471 See \`config.log' for more details." >&2;}
15472 { (exit 1); exit 1; }; }
15474 # Provide some information about the compiler.
15475 echo "$as_me:$LINENO: checking for C compiler version" >&5
15476 ac_compiler
=`set X $ac_compile; echo $2`
15477 { (ac_try
="$ac_compiler --version >&5"
15478 case "(($ac_try" in
15479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15480 *) ac_try_echo=$ac_try;;
15482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15483 (eval "$ac_compiler --version >&5") 2>&5
15485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15486 (exit $ac_status); }
15487 { (ac_try="$ac_compiler -v >&5"
15488 case "(($ac_try" in
15489 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15490 *) ac_try_echo
=$ac_try;;
15492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15493 (eval "$ac_compiler -v >&5") 2>&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); }
15497 { (ac_try
="$ac_compiler -V >&5"
15498 case "(($ac_try" in
15499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15500 *) ac_try_echo=$ac_try;;
15502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15503 (eval "$ac_compiler -V >&5") 2>&5
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }
15508 cat >conftest.$ac_ext <<_ACEOF
15511 cat confdefs.h >>conftest.$ac_ext
15512 cat >>conftest.$ac_ext <<_ACEOF
15513 /* end confdefs.h. */
15523 ac_clean_files_save=$ac_clean_files
15524 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15525 # Try to create an executable without -o first, disregard a.out.
15526 # It will help us diagnose broken compilers, and finding out an intuition
15528 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15529 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15530 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15532 # List of possible output files, starting from the most likely.
15533 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
15534 # only as a last resort. b.out is created by i960 compilers.
15535 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
15537 # The IRIX 6 linker writes into existing files which may not be
15538 # executable, retaining their permissions. Remove them first so a
15539 # subsequent execution test works.
15541 for ac_file in $ac_files
15544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15545 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15550 if { (ac_try="$ac_link_default"
15551 case "(($ac_try" in
15552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15553 *) ac_try_echo=$ac_try;;
15555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15556 (eval "$ac_link_default") 2>&5
15558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15559 (exit $ac_status); }; then
15560 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15561 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15562 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15563 # so that the user can short-circuit this test for compilers unknown to
15565 for ac_file
in $ac_files ''
15567 test -f "$ac_file" || continue
15569 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
15572 # We found the default executable, but exeext='' is most
15576 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
15578 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15580 # We set ac_cv_exeext here because the later test for it is not
15581 # safe: cross compilers may not add the suffix if given an `-o'
15582 # argument, so we may need to know it at that point already.
15583 # Even if this section looks crufty: it has the advantage of
15584 # actually working.
15590 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
15596 { echo "$as_me:$LINENO: result: $ac_file" >&5
15597 echo "${ECHO_T}$ac_file" >&6; }
15598 if test -z "$ac_file"; then
15599 echo "$as_me: failed program was:" >&5
15600 sed 's/^/| /' conftest.
$ac_ext >&5
15602 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15603 See \`config.log' for more details." >&5
15604 echo "$as_me: error: C compiler cannot create executables
15605 See \`config.log' for more details." >&2;}
15606 { (exit 77); exit 77; }; }
15609 ac_exeext
=$ac_cv_exeext
15611 # Check that the compiler produces executables we can run. If not, either
15612 # the compiler is broken, or we cross compile.
15613 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15614 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15615 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15616 # If not cross compiling, check that we can run a simple program.
15617 if test "$cross_compiling" != yes; then
15618 if { ac_try
='./$ac_file'
15619 { (case "(($ac_try" in
15620 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15621 *) ac_try_echo=$ac_try;;
15623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15624 (eval "$ac_try") 2>&5
15626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15627 (exit $ac_status); }; }; then
15630 if test "$cross_compiling" = maybe; then
15631 cross_compiling=yes
15633 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15634 If you meant to cross compile, use \`--host'.
15635 See \`config.log' for more details.
" >&5
15636 echo "$as_me: error
: cannot run C compiled programs.
15637 If you meant to cross compile
, use \
`--host'.
15638 See \`config.log
' for more details." >&2;}
15639 { (exit 1); exit 1; }; }
15643 { echo "$as_me:$LINENO: result: yes" >&5
15644 echo "${ECHO_T}yes" >&6; }
15646 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15647 ac_clean_files=$ac_clean_files_save
15648 # Check that the compiler produces executables we can run. If not, either
15649 # the compiler is broken, or we cross compile.
15650 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15651 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15652 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15653 echo "${ECHO_T}$cross_compiling" >&6; }
15655 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15656 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15657 if { (ac_try="$ac_link"
15658 case "(($ac_try" in
15659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15660 *) ac_try_echo=$ac_try;;
15662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15663 (eval "$ac_link") 2>&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); }; then
15667 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
15668 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
15669 # work properly (i.e., refer to `conftest.exe
'), while it won't with
15671 for ac_file
in conftest.exe conftest conftest.
*; do
15672 test -f "$ac_file" || continue
15674 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15675 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15681 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15682 See \`config.log' for more details." >&5
15683 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15684 See \`config.log' for more details." >&2;}
15685 { (exit 1); exit 1; }; }
15688 rm -f conftest
$ac_cv_exeext
15689 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15690 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15692 rm -f conftest.
$ac_ext
15693 EXEEXT
=$ac_cv_exeext
15695 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15696 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15697 if test "${ac_cv_objext+set}" = set; then
15698 echo $ECHO_N "(cached) $ECHO_C" >&6
15700 cat >conftest.
$ac_ext <<_ACEOF
15703 cat confdefs.h
>>conftest.
$ac_ext
15704 cat >>conftest.
$ac_ext <<_ACEOF
15705 /* end confdefs.h. */
15715 rm -f conftest.o conftest.obj
15716 if { (ac_try
="$ac_compile"
15717 case "(($ac_try" in
15718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15719 *) ac_try_echo=$ac_try;;
15721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15722 (eval "$ac_compile") 2>&5
15724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15725 (exit $ac_status); }; then
15726 for ac_file in conftest.o conftest.obj conftest.*; do
15727 test -f "$ac_file" || continue;
15729 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15730 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15738 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15739 See \`config.log
' for more details." >&5
15740 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15741 See \`config.log' for more details.
" >&2;}
15742 { (exit 1); exit 1; }; }
15745 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15747 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15748 echo "${ECHO_T}$ac_cv_objext" >&6; }
15749 OBJEXT=$ac_cv_objext
15751 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15752 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15753 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15754 echo $ECHO_N "(cached
) $ECHO_C" >&6
15756 cat >conftest.$ac_ext <<_ACEOF
15759 cat confdefs.h >>conftest.$ac_ext
15760 cat >>conftest.$ac_ext <<_ACEOF
15761 /* end confdefs.h. */
15774 rm -f conftest.$ac_objext
15775 if { (ac_try="$ac_compile"
15776 case "(($ac_try" in
15777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15778 *) ac_try_echo=$ac_try;;
15780 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15781 (eval "$ac_compile") 2>conftest.er1
15783 grep -v '^ *+' conftest.er1 >conftest.err
15785 cat conftest.err >&5
15786 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15787 (exit $ac_status); } && {
15788 test -z "$ac_c_werror_flag" ||
15789 test ! -s conftest.err
15790 } && test -s conftest.$ac_objext; then
15791 ac_compiler_gnu=yes
15793 echo "$as_me: failed program was
:" >&5
15794 sed 's/^/| /' conftest.$ac_ext >&5
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15800 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15803 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15804 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15805 GCC=`test $ac_compiler_gnu = yes && echo yes`
15806 ac_test_CFLAGS=${CFLAGS+set}
15807 ac_save_CFLAGS=$CFLAGS
15808 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15809 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15810 if test "${ac_cv_prog_cc_g+set}" = set; then
15811 echo $ECHO_N "(cached
) $ECHO_C" >&6
15813 ac_save_c_werror_flag=$ac_c_werror_flag
15814 ac_c_werror_flag=yes
15817 cat >conftest.$ac_ext <<_ACEOF
15820 cat confdefs.h >>conftest.$ac_ext
15821 cat >>conftest.$ac_ext <<_ACEOF
15822 /* end confdefs.h. */
15832 rm -f conftest.$ac_objext
15833 if { (ac_try="$ac_compile"
15834 case "(($ac_try" in
15835 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15836 *) ac_try_echo=$ac_try;;
15838 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15839 (eval "$ac_compile") 2>conftest.er1
15841 grep -v '^ *+' conftest.er1 >conftest.err
15843 cat conftest.err >&5
15844 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15845 (exit $ac_status); } && {
15846 test -z "$ac_c_werror_flag" ||
15847 test ! -s conftest.err
15848 } && test -s conftest.$ac_objext; then
15849 ac_cv_prog_cc_g=yes
15851 echo "$as_me: failed program was
:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15855 cat >conftest.$ac_ext <<_ACEOF
15858 cat confdefs.h >>conftest.$ac_ext
15859 cat >>conftest.$ac_ext <<_ACEOF
15860 /* end confdefs.h. */
15870 rm -f conftest.$ac_objext
15871 if { (ac_try="$ac_compile"
15872 case "(($ac_try" in
15873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15874 *) ac_try_echo=$ac_try;;
15876 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15877 (eval "$ac_compile") 2>conftest.er1
15879 grep -v '^ *+' conftest.er1 >conftest.err
15881 cat conftest.err >&5
15882 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15883 (exit $ac_status); } && {
15884 test -z "$ac_c_werror_flag" ||
15885 test ! -s conftest.err
15886 } && test -s conftest.$ac_objext; then
15889 echo "$as_me: failed program was
:" >&5
15890 sed 's/^/| /' conftest.$ac_ext >&5
15892 ac_c_werror_flag=$ac_save_c_werror_flag
15894 cat >conftest.$ac_ext <<_ACEOF
15897 cat confdefs.h >>conftest.$ac_ext
15898 cat >>conftest.$ac_ext <<_ACEOF
15899 /* end confdefs.h. */
15909 rm -f conftest.$ac_objext
15910 if { (ac_try="$ac_compile"
15911 case "(($ac_try" in
15912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15913 *) ac_try_echo=$ac_try;;
15915 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15916 (eval "$ac_compile") 2>conftest.er1
15918 grep -v '^ *+' conftest.er1 >conftest.err
15920 cat conftest.err >&5
15921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15922 (exit $ac_status); } && {
15923 test -z "$ac_c_werror_flag" ||
15924 test ! -s conftest.err
15925 } && test -s conftest.$ac_objext; then
15926 ac_cv_prog_cc_g=yes
15928 echo "$as_me: failed program was
:" >&5
15929 sed 's/^/| /' conftest.$ac_ext >&5
15934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15941 ac_c_werror_flag=$ac_save_c_werror_flag
15943 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15944 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15945 if test "$ac_test_CFLAGS" = set; then
15946 CFLAGS=$ac_save_CFLAGS
15947 elif test $ac_cv_prog_cc_g = yes; then
15948 if test "$GCC" = yes; then
15954 if test "$GCC" = yes; then
15960 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15961 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15962 if test "${ac_cv_prog_cc_c89+set}" = set; then
15963 echo $ECHO_N "(cached
) $ECHO_C" >&6
15965 ac_cv_prog_cc_c89=no
15967 cat >conftest.$ac_ext <<_ACEOF
15970 cat confdefs.h >>conftest.$ac_ext
15971 cat >>conftest.$ac_ext <<_ACEOF
15972 /* end confdefs.h. */
15973 #include <stdarg.h>
15975 #include <sys/types.h>
15976 #include <sys/stat.h>
15977 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15978 struct buf { int x; };
15979 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15980 static char *e (p, i)
15986 static char *f (char * (*g) (char **, int), char **p, ...)
15991 s = g (p, va_arg (v,int));
15996 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15997 function prototypes and stuff, but not '\xHH' hex character constants.
15998 These don't provoke an error unfortunately, instead are silently treated
15999 as 'x'. The following induces an error, until -std is added to get
16000 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16001 array size at least. It's necessary to write '\x00'==0 to get something
16002 that's true only with -std. */
16003 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16005 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16006 inside strings and character constants. */
16008 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16010 int test (int i, double x);
16011 struct s1 {int (*f) (int a);};
16012 struct s2 {int (*f) (double a);};
16013 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16019 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16024 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16025 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16027 CC="$ac_save_CC $ac_arg"
16028 rm -f conftest.$ac_objext
16029 if { (ac_try="$ac_compile"
16030 case "(($ac_try" in
16031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16034 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_compile") 2>conftest.er1
16037 grep -v '^ *+' conftest.er1 >conftest.err
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16041 (exit $ac_status); } && {
16042 test -z "$ac_c_werror_flag" ||
16043 test ! -s conftest.err
16044 } && test -s conftest.$ac_objext; then
16045 ac_cv_prog_cc_c89=$ac_arg
16047 echo "$as_me: failed program was
:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16053 rm -f core conftest.err conftest.$ac_objext
16054 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
16056 rm -f conftest.$ac_ext
16061 case "x
$ac_cv_prog_cc_c89" in
16063 { echo "$as_me:$LINENO: result
: none needed
" >&5
16064 echo "${ECHO_T}none needed
" >&6; } ;;
16066 { echo "$as_me:$LINENO: result
: unsupported
" >&5
16067 echo "${ECHO_T}unsupported
" >&6; } ;;
16069 CC="$CC $ac_cv_prog_cc_c89"
16070 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
16071 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16076 ac_cpp='$CPP $CPPFLAGS'
16077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16089 ac_cpp='$CPP $CPPFLAGS'
16090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16094 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
16095 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
16096 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16097 echo $ECHO_N "(cached
) $ECHO_C" >&6
16099 cat >conftest.$ac_ext <<_ACEOF
16102 cat confdefs.h >>conftest.$ac_ext
16103 cat >>conftest.$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16110 #ifndef __INTEL_COMPILER
16118 rm -f conftest.$ac_objext
16119 if { (ac_try="$ac_compile"
16120 case "(($ac_try" in
16121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16122 *) ac_try_echo=$ac_try;;
16124 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16125 (eval "$ac_compile") 2>conftest.er1
16127 grep -v '^ *+' conftest.er1 >conftest.err
16129 cat conftest.err >&5
16130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16131 (exit $ac_status); } && {
16132 test -z "$ac_c_werror_flag" ||
16133 test ! -s conftest.err
16134 } && test -s conftest.$ac_objext; then
16135 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16137 echo "$as_me: failed program was
:" >&5
16138 sed 's/^/| /' conftest.$ac_ext >&5
16140 bakefile_cv_c_compiler___INTEL_COMPILER=no
16144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16148 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16149 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16150 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16156 ac_cpp='$CPP $CPPFLAGS'
16157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16164 if test "$INTELCC" = "yes"; then
16168 ac_cpp='$CPP $CPPFLAGS'
16169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16173 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
16174 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
16175 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16176 echo $ECHO_N "(cached
) $ECHO_C" >&6
16178 cat >conftest.$ac_ext <<_ACEOF
16181 cat confdefs.h >>conftest.$ac_ext
16182 cat >>conftest.$ac_ext <<_ACEOF
16183 /* end confdefs.h. */
16189 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16197 rm -f conftest.$ac_objext
16198 if { (ac_try="$ac_compile"
16199 case "(($ac_try" in
16200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16201 *) ac_try_echo=$ac_try;;
16203 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16204 (eval "$ac_compile") 2>conftest.er1
16206 grep -v '^ *+' conftest.er1 >conftest.err
16208 cat conftest.err >&5
16209 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16210 (exit $ac_status); } && {
16211 test -z "$ac_c_werror_flag" ||
16212 test ! -s conftest.err
16213 } && test -s conftest.$ac_objext; then
16214 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16216 echo "$as_me: failed program was
:" >&5
16217 sed 's/^/| /' conftest.$ac_ext >&5
16219 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16227 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16228 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16229 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
16235 ac_cpp='$CPP $CPPFLAGS'
16236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16245 ac_cpp='$CPP $CPPFLAGS'
16246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16250 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
16251 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
16252 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16253 echo $ECHO_N "(cached
) $ECHO_C" >&6
16255 cat >conftest.$ac_ext <<_ACEOF
16258 cat confdefs.h >>conftest.$ac_ext
16259 cat >>conftest.$ac_ext <<_ACEOF
16260 /* end confdefs.h. */
16266 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16274 rm -f conftest.$ac_objext
16275 if { (ac_try="$ac_compile"
16276 case "(($ac_try" in
16277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16278 *) ac_try_echo=$ac_try;;
16280 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16281 (eval "$ac_compile") 2>conftest.er1
16283 grep -v '^ *+' conftest.er1 >conftest.err
16285 cat conftest.err >&5
16286 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16287 (exit $ac_status); } && {
16288 test -z "$ac_c_werror_flag" ||
16289 test ! -s conftest.err
16290 } && test -s conftest.$ac_objext; then
16291 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16293 echo "$as_me: failed program was
:" >&5
16294 sed 's/^/| /' conftest.$ac_ext >&5
16296 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16304 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16305 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16306 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
16312 ac_cpp='$CPP $CPPFLAGS'
16313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16321 if test "x
$GCC" != "xyes
"; then
16322 if test "xCC
" = "xC
"; then
16323 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16324 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16325 if test "${bakefile_cv_c_exto+set}" = set; then
16326 echo $ECHO_N "(cached
) $ECHO_C" >&6
16328 cat >conftest.$ac_ext <<_ACEOF
16331 cat confdefs.h >>conftest.$ac_ext
16332 cat >>conftest.$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16343 rm -f conftest.$ac_objext conftest.$ac_ext.o
16344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16345 (eval $ac_compile) 2>&5
16347 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16348 (exit $ac_status); }; then
16349 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16351 conftest.$ac_ext.o)
16352 bakefile_cv_c_exto="-ext o
"
16359 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16360 See \
`config.log' for more details." >&5
16361 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16362 See \`config.log
' for more details." >&2;}
16363 { (exit 1); exit 1; }; }
16367 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16370 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16371 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16372 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16373 if test "c" = "c"; then
16374 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16376 if test "c" = "cxx"; then
16377 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16381 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16382 unset ac_cv_prog_cc_g
16383 ac_test_CFLAGS=${CFLAGS+set}
16384 ac_save_CFLAGS=$CFLAGS
16385 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16386 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16387 if test "${ac_cv_prog_cc_g+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16390 ac_save_c_werror_flag=$ac_c_werror_flag
16391 ac_c_werror_flag=yes
16394 cat >conftest.$ac_ext <<_ACEOF
16397 cat confdefs.h >>conftest.$ac_ext
16398 cat >>conftest.$ac_ext <<_ACEOF
16399 /* end confdefs.h. */
16409 rm -f conftest.$ac_objext
16410 if { (ac_try="$ac_compile"
16411 case "(($ac_try" in
16412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16413 *) ac_try_echo=$ac_try;;
16415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16416 (eval "$ac_compile") 2>conftest.er1
16418 grep -v '^
*+' conftest.er1 >conftest.err
16420 cat conftest.err >&5
16421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16422 (exit $ac_status); } && {
16423 test -z "$ac_c_werror_flag" ||
16424 test ! -s conftest.err
16425 } && test -s conftest.$ac_objext; then
16426 ac_cv_prog_cc_g=yes
16428 echo "$as_me: failed program was:" >&5
16429 sed 's
/^
/| /' conftest.$ac_ext >&5
16432 cat >conftest.$ac_ext <<_ACEOF
16435 cat confdefs.h >>conftest.$ac_ext
16436 cat >>conftest.$ac_ext <<_ACEOF
16437 /* end confdefs.h. */
16447 rm -f conftest.$ac_objext
16448 if { (ac_try="$ac_compile"
16449 case "(($ac_try" in
16450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16451 *) ac_try_echo=$ac_try;;
16453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16454 (eval "$ac_compile") 2>conftest.er1
16456 grep -v '^
*+' conftest.er1 >conftest.err
16458 cat conftest.err >&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); } && {
16461 test -z "$ac_c_werror_flag" ||
16462 test ! -s conftest.err
16463 } && test -s conftest.$ac_objext; then
16466 echo "$as_me: failed program was:" >&5
16467 sed 's
/^
/| /' conftest.$ac_ext >&5
16469 ac_c_werror_flag=$ac_save_c_werror_flag
16471 cat >conftest.$ac_ext <<_ACEOF
16474 cat confdefs.h >>conftest.$ac_ext
16475 cat >>conftest.$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16486 rm -f conftest.$ac_objext
16487 if { (ac_try="$ac_compile"
16488 case "(($ac_try" in
16489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16490 *) ac_try_echo=$ac_try;;
16492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16493 (eval "$ac_compile") 2>conftest.er1
16495 grep -v '^
*+' conftest.er1 >conftest.err
16497 cat conftest.err >&5
16498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16499 (exit $ac_status); } && {
16500 test -z "$ac_c_werror_flag" ||
16501 test ! -s conftest.err
16502 } && test -s conftest.$ac_objext; then
16503 ac_cv_prog_cc_g=yes
16505 echo "$as_me: failed program was:" >&5
16506 sed 's
/^
/| /' conftest.$ac_ext >&5
16511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16518 ac_c_werror_flag=$ac_save_c_werror_flag
16520 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16521 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16522 if test "$ac_test_CFLAGS" = set; then
16523 CFLAGS=$ac_save_CFLAGS
16524 elif test $ac_cv_prog_cc_g = yes; then
16525 if test "$GCC" = yes; then
16531 if test "$GCC" = yes; then
16545 ac_cpp='$CPP $CPPFLAGS'
16546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16547 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16550 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16551 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16552 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16553 echo $ECHO_N "(cached) $ECHO_C" >&6
16555 cat >conftest.$ac_ext <<_ACEOF
16558 cat confdefs.h >>conftest.$ac_ext
16559 cat >>conftest.$ac_ext <<_ACEOF
16560 /* end confdefs.h. */
16574 rm -f conftest.$ac_objext
16575 if { (ac_try="$ac_compile"
16576 case "(($ac_try" in
16577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16578 *) ac_try_echo=$ac_try;;
16580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16581 (eval "$ac_compile") 2>conftest.er1
16583 grep -v '^
*+' conftest.er1 >conftest.err
16585 cat conftest.err >&5
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); } && {
16588 test -z "$ac_c_werror_flag" ||
16589 test ! -s conftest.err
16590 } && test -s conftest.$ac_objext; then
16591 bakefile_cv_c_compiler___xlC__=yes
16593 echo "$as_me: failed program was:" >&5
16594 sed 's
/^
/| /' conftest.$ac_ext >&5
16596 bakefile_cv_c_compiler___xlC__=no
16600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16604 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16605 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16606 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16612 ac_cpp='$CPP $CPPFLAGS'
16613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16614 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16625 ac_cpp='$CPP $CPPFLAGS'
16626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16627 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16630 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16631 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16632 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16635 cat >conftest.$ac_ext <<_ACEOF
16638 cat confdefs.h >>conftest.$ac_ext
16639 cat >>conftest.$ac_ext <<_ACEOF
16640 /* end confdefs.h. */
16654 rm -f conftest.$ac_objext
16655 if { (ac_try="$ac_compile"
16656 case "(($ac_try" in
16657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16658 *) ac_try_echo=$ac_try;;
16660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16661 (eval "$ac_compile") 2>conftest.er1
16663 grep -v '^
*+' conftest.er1 >conftest.err
16665 cat conftest.err >&5
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); } && {
16668 test -z "$ac_c_werror_flag" ||
16669 test ! -s conftest.err
16670 } && test -s conftest.$ac_objext; then
16671 bakefile_cv_c_compiler___MWERKS__=yes
16673 echo "$as_me: failed program was:" >&5
16674 sed 's
/^
/| /' conftest.$ac_ext >&5
16676 bakefile_cv_c_compiler___MWERKS__=no
16680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16684 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16685 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16686 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16692 ac_cpp='$CPP $CPPFLAGS'
16693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16694 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16699 if test "$MWCC" != "yes"; then
16703 ac_cpp='$CPP $CPPFLAGS'
16704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16705 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16708 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16709 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16710 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16711 echo $ECHO_N "(cached) $ECHO_C" >&6
16713 cat >conftest.$ac_ext <<_ACEOF
16716 cat confdefs.h >>conftest.$ac_ext
16717 cat >>conftest.$ac_ext <<_ACEOF
16718 /* end confdefs.h. */
16732 rm -f conftest.$ac_objext
16733 if { (ac_try="$ac_compile"
16734 case "(($ac_try" in
16735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16736 *) ac_try_echo=$ac_try;;
16738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16739 (eval "$ac_compile") 2>conftest.er1
16741 grep -v '^
*+' conftest.er1 >conftest.err
16743 cat conftest.err >&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } && {
16746 test -z "$ac_c_werror_flag" ||
16747 test ! -s conftest.err
16748 } && test -s conftest.$ac_objext; then
16749 bakefile_cv_c_compiler___xlC__=yes
16751 echo "$as_me: failed program was:" >&5
16752 sed 's
/^
/| /' conftest.$ac_ext >&5
16754 bakefile_cv_c_compiler___xlC__=no
16758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16762 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16763 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16764 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16770 ac_cpp='$CPP $CPPFLAGS'
16771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16772 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16784 ac_cpp='$CPP $CPPFLAGS'
16785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16786 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16789 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16790 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16791 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16794 cat >conftest.$ac_ext <<_ACEOF
16797 cat confdefs.h >>conftest.$ac_ext
16798 cat >>conftest.$ac_ext <<_ACEOF
16799 /* end confdefs.h. */
16805 #ifndef _SGI_COMPILER_VERSION
16813 rm -f conftest.$ac_objext
16814 if { (ac_try="$ac_compile"
16815 case "(($ac_try" in
16816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16817 *) ac_try_echo=$ac_try;;
16819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16820 (eval "$ac_compile") 2>conftest.er1
16822 grep -v '^
*+' conftest.er1 >conftest.err
16824 cat conftest.err >&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); } && {
16827 test -z "$ac_c_werror_flag" ||
16828 test ! -s conftest.err
16829 } && test -s conftest.$ac_objext; then
16830 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16832 echo "$as_me: failed program was:" >&5
16833 sed 's
/^
/| /' conftest.$ac_ext >&5
16835 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16843 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16844 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16845 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16851 ac_cpp='$CPP $CPPFLAGS'
16852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16853 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16861 if test "$INTELCC" != "yes"; then
16865 ac_cpp='$CPP $CPPFLAGS'
16866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16867 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16870 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16871 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16872 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16873 echo $ECHO_N "(cached) $ECHO_C" >&6
16875 cat >conftest.$ac_ext <<_ACEOF
16878 cat confdefs.h >>conftest.$ac_ext
16879 cat >>conftest.$ac_ext <<_ACEOF
16880 /* end confdefs.h. */
16894 rm -f conftest.$ac_objext
16895 if { (ac_try="$ac_compile"
16896 case "(($ac_try" in
16897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16898 *) ac_try_echo=$ac_try;;
16900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16901 (eval "$ac_compile") 2>conftest.er1
16903 grep -v '^
*+' conftest.er1 >conftest.err
16905 cat conftest.err >&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } && {
16908 test -z "$ac_c_werror_flag" ||
16909 test ! -s conftest.err
16910 } && test -s conftest.$ac_objext; then
16911 bakefile_cv_c_compiler___SUNPRO_C=yes
16913 echo "$as_me: failed program was:" >&5
16914 sed 's
/^
/| /' conftest.$ac_ext >&5
16916 bakefile_cv_c_compiler___SUNPRO_C=no
16920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16924 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16925 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16926 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16932 ac_cpp='$CPP $CPPFLAGS'
16933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16934 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16946 ac_cpp='$CPP $CPPFLAGS'
16947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16948 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16951 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16952 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16953 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16956 cat >conftest.$ac_ext <<_ACEOF
16959 cat confdefs.h >>conftest.$ac_ext
16960 cat >>conftest.$ac_ext <<_ACEOF
16961 /* end confdefs.h. */
16975 rm -f conftest.$ac_objext
16976 if { (ac_try="$ac_compile"
16977 case "(($ac_try" in
16978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16979 *) ac_try_echo=$ac_try;;
16981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16982 (eval "$ac_compile") 2>conftest.er1
16984 grep -v '^
*+' conftest.er1 >conftest.err
16986 cat conftest.err >&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } && {
16989 test -z "$ac_c_werror_flag" ||
16990 test ! -s conftest.err
16991 } && test -s conftest.$ac_objext; then
16992 bakefile_cv_c_compiler___HP_cc=yes
16994 echo "$as_me: failed program was:" >&5
16995 sed 's
/^
/| /' conftest.$ac_ext >&5
16997 bakefile_cv_c_compiler___HP_cc=no
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17005 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17006 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17007 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17013 ac_cpp='$CPP $CPPFLAGS'
17014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17015 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17026 ac_cpp='$CPP $CPPFLAGS'
17027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17028 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17031 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17032 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17033 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17034 echo $ECHO_N "(cached) $ECHO_C" >&6
17036 cat >conftest.$ac_ext <<_ACEOF
17039 cat confdefs.h >>conftest.$ac_ext
17040 cat >>conftest.$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17055 rm -f conftest.$ac_objext
17056 if { (ac_try="$ac_compile"
17057 case "(($ac_try" in
17058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17059 *) ac_try_echo=$ac_try;;
17061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17062 (eval "$ac_compile") 2>conftest.er1
17064 grep -v '^
*+' conftest.er1 >conftest.err
17066 cat conftest.err >&5
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); } && {
17069 test -z "$ac_c_werror_flag" ||
17070 test ! -s conftest.err
17071 } && test -s conftest.$ac_objext; then
17072 bakefile_cv_c_compiler___DECC=yes
17074 echo "$as_me: failed program was:" >&5
17075 sed 's
/^
/| /' conftest.$ac_ext >&5
17077 bakefile_cv_c_compiler___DECC=no
17081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17085 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17086 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17087 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17093 ac_cpp='$CPP $CPPFLAGS'
17094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17095 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17106 ac_cpp='$CPP $CPPFLAGS'
17107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17108 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17111 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17112 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17113 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17114 echo $ECHO_N "(cached) $ECHO_C" >&6
17116 cat >conftest.$ac_ext <<_ACEOF
17119 cat confdefs.h >>conftest.$ac_ext
17120 cat >>conftest.$ac_ext <<_ACEOF
17121 /* end confdefs.h. */
17135 rm -f conftest.$ac_objext
17136 if { (ac_try="$ac_compile"
17137 case "(($ac_try" in
17138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17139 *) ac_try_echo=$ac_try;;
17141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17142 (eval "$ac_compile") 2>conftest.er1
17144 grep -v '^
*+' conftest.er1 >conftest.err
17146 cat conftest.err >&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); } && {
17149 test -z "$ac_c_werror_flag" ||
17150 test ! -s conftest.err
17151 } && test -s conftest.$ac_objext; then
17152 bakefile_cv_c_compiler___SUNPRO_C=yes
17154 echo "$as_me: failed program was:" >&5
17155 sed 's
/^
/| /' conftest.$ac_ext >&5
17157 bakefile_cv_c_compiler___SUNPRO_C=no
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17165 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17166 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17167 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17173 ac_cpp='$CPP $CPPFLAGS'
17174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17175 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17187 ac_cpp='$CPP $CPPFLAGS'
17188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17189 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17191 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17192 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17193 # On Suns, sometimes $CPP names a directory.
17194 if test -n "$CPP" && test -d "$CPP"; then
17197 if test -z "$CPP"; then
17198 if test "${ac_cv_prog_CPP+set}" = set; then
17199 echo $ECHO_N "(cached) $ECHO_C" >&6
17201 # Double quotes because CPP needs to be expanded
17202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17204 ac_preproc_ok=false
17205 for ac_c_preproc_warn_flag in '' yes
17207 # Use a header file that comes with gcc, so configuring glibc
17208 # with a fresh cross-compiler works.
17209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17210 # <limits.h> exists even on freestanding compilers.
17211 # On the NeXT, cc -E runs the code through the compiler's parser
,
17212 # not just through cpp. "Syntax error" is here to catch this case.
17213 cat >conftest.
$ac_ext <<_ACEOF
17216 cat confdefs.h
>>conftest.
$ac_ext
17217 cat >>conftest.
$ac_ext <<_ACEOF
17218 /* end confdefs.h. */
17220 # include <limits.h>
17222 # include <assert.h>
17226 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17227 case "(($ac_try" in
17228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17232 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17234 grep -v '^ *+' conftest.er1 >conftest.err
17236 cat conftest.err >&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } >/dev/null && {
17239 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17240 test ! -s conftest.err
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17247 # Broken: fails on valid input.
17251 rm -f conftest.err conftest.$ac_ext
17253 # OK, works on sane cases. Now check whether nonexistent headers
17254 # can be detected and how.
17255 cat >conftest.$ac_ext <<_ACEOF
17258 cat confdefs.h >>conftest.$ac_ext
17259 cat >>conftest.$ac_ext <<_ACEOF
17260 /* end confdefs.h. */
17261 #include <ac_nonexistent.h>
17263 if { (ac_try="$ac_cpp conftest.$ac_ext"
17264 case "(($ac_try" in
17265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17266 *) ac_try_echo
=$ac_try;;
17268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17269 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17271 grep -v '^ *+' conftest.er1
>conftest.err
17273 cat conftest.err
>&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } >/dev
/null
&& {
17276 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17277 test ! -s conftest.err
17279 # Broken: success on invalid input.
17282 echo "$as_me: failed program was:" >&5
17283 sed 's/^/| /' conftest.
$ac_ext >&5
17285 # Passes both tests.
17290 rm -f conftest.err conftest.
$ac_ext
17293 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17294 rm -f conftest.err conftest.
$ac_ext
17295 if $ac_preproc_ok; then
17300 ac_cv_prog_CPP
=$CPP
17303 CPP
=$ac_cv_prog_CPP
17305 ac_cv_prog_CPP
=$CPP
17307 { echo "$as_me:$LINENO: result: $CPP" >&5
17308 echo "${ECHO_T}$CPP" >&6; }
17309 ac_preproc_ok
=false
17310 for ac_c_preproc_warn_flag
in '' yes
17312 # Use a header file that comes with gcc, so configuring glibc
17313 # with a fresh cross-compiler works.
17314 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17315 # <limits.h> exists even on freestanding compilers.
17316 # On the NeXT, cc -E runs the code through the compiler's parser,
17317 # not just through cpp. "Syntax error" is here to catch this case.
17318 cat >conftest.
$ac_ext <<_ACEOF
17321 cat confdefs.h
>>conftest.
$ac_ext
17322 cat >>conftest.
$ac_ext <<_ACEOF
17323 /* end confdefs.h. */
17325 # include <limits.h>
17327 # include <assert.h>
17331 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17332 case "(($ac_try" in
17333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17334 *) ac_try_echo=$ac_try;;
17336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17337 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17339 grep -v '^ *+' conftest.er1 >conftest.err
17341 cat conftest.err >&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); } >/dev/null && {
17344 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17345 test ! -s conftest.err
17349 echo "$as_me: failed program was:" >&5
17350 sed 's/^/| /' conftest.$ac_ext >&5
17352 # Broken: fails on valid input.
17356 rm -f conftest.err conftest.$ac_ext
17358 # OK, works on sane cases. Now check whether nonexistent headers
17359 # can be detected and how.
17360 cat >conftest.$ac_ext <<_ACEOF
17363 cat confdefs.h >>conftest.$ac_ext
17364 cat >>conftest.$ac_ext <<_ACEOF
17365 /* end confdefs.h. */
17366 #include <ac_nonexistent.h>
17368 if { (ac_try="$ac_cpp conftest.$ac_ext"
17369 case "(($ac_try" in
17370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17371 *) ac_try_echo
=$ac_try;;
17373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17374 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17376 grep -v '^ *+' conftest.er1
>conftest.err
17378 cat conftest.err
>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); } >/dev
/null
&& {
17381 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17382 test ! -s conftest.err
17384 # Broken: success on invalid input.
17387 echo "$as_me: failed program was:" >&5
17388 sed 's/^/| /' conftest.
$ac_ext >&5
17390 # Passes both tests.
17395 rm -f conftest.err conftest.
$ac_ext
17398 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17399 rm -f conftest.err conftest.
$ac_ext
17400 if $ac_preproc_ok; then
17403 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17404 See \`config.log' for more details." >&5
17405 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17406 See \`config.log' for more details." >&2;}
17407 { (exit 1); exit 1; }; }
17411 ac_cpp
='$CPP $CPPFLAGS'
17412 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17413 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17414 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17417 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17418 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17419 if test "${ac_cv_path_GREP+set}" = set; then
17420 echo $ECHO_N "(cached) $ECHO_C" >&6
17422 # Extract the first word of "grep ggrep" to use in msg output
17423 if test -z "$GREP"; then
17424 set dummy
grep ggrep
; ac_prog_name
=$2
17425 if test "${ac_cv_path_GREP+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 ac_path_GREP_found
=false
17429 # Loop through the user's path and test for each of PROGNAME-LIST
17430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17431 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17434 test -z "$as_dir" && as_dir
=.
17435 for ac_prog
in grep ggrep
; do
17436 for ac_exec_ext
in '' $ac_executable_extensions; do
17437 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17438 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17439 # Check for GNU ac_path_GREP and select it if it is found.
17440 # Check for GNU $ac_path_GREP
17441 case `"$ac_path_GREP" --version 2>&1` in
17443 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17446 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17449 cat "conftest.in" "conftest.in" >"conftest.tmp"
17450 mv "conftest.tmp" "conftest.in"
17451 cp "conftest.in" "conftest.nl"
17452 echo 'GREP' >> "conftest.nl"
17453 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17454 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17455 ac_count
=`expr $ac_count + 1`
17456 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17457 # Best one so far, save it but keep looking for a better one
17458 ac_cv_path_GREP
="$ac_path_GREP"
17459 ac_path_GREP_max
=$ac_count
17461 # 10*(2^10) chars as input seems more than enough
17462 test $ac_count -gt 10 && break
17464 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17468 $ac_path_GREP_found && break 3
17478 GREP
="$ac_cv_path_GREP"
17479 if test -z "$GREP"; then
17480 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17481 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17482 { (exit 1); exit 1; }; }
17486 ac_cv_path_GREP
=$GREP
17491 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17492 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17493 GREP
="$ac_cv_path_GREP"
17496 { echo "$as_me:$LINENO: checking for egrep" >&5
17497 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17498 if test "${ac_cv_path_EGREP+set}" = set; then
17499 echo $ECHO_N "(cached) $ECHO_C" >&6
17501 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17502 then ac_cv_path_EGREP
="$GREP -E"
17504 # Extract the first word of "egrep" to use in msg output
17505 if test -z "$EGREP"; then
17506 set dummy
egrep; ac_prog_name
=$2
17507 if test "${ac_cv_path_EGREP+set}" = set; then
17508 echo $ECHO_N "(cached) $ECHO_C" >&6
17510 ac_path_EGREP_found
=false
17511 # Loop through the user's path and test for each of PROGNAME-LIST
17512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17513 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17516 test -z "$as_dir" && as_dir
=.
17517 for ac_prog
in egrep; do
17518 for ac_exec_ext
in '' $ac_executable_extensions; do
17519 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17520 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17521 # Check for GNU ac_path_EGREP and select it if it is found.
17522 # Check for GNU $ac_path_EGREP
17523 case `"$ac_path_EGREP" --version 2>&1` in
17525 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17528 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17531 cat "conftest.in" "conftest.in" >"conftest.tmp"
17532 mv "conftest.tmp" "conftest.in"
17533 cp "conftest.in" "conftest.nl"
17534 echo 'EGREP' >> "conftest.nl"
17535 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17536 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17537 ac_count
=`expr $ac_count + 1`
17538 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17539 # Best one so far, save it but keep looking for a better one
17540 ac_cv_path_EGREP
="$ac_path_EGREP"
17541 ac_path_EGREP_max
=$ac_count
17543 # 10*(2^10) chars as input seems more than enough
17544 test $ac_count -gt 10 && break
17546 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17550 $ac_path_EGREP_found && break 3
17560 EGREP
="$ac_cv_path_EGREP"
17561 if test -z "$EGREP"; then
17562 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17563 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17564 { (exit 1); exit 1; }; }
17568 ac_cv_path_EGREP
=$EGREP
17574 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17575 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17576 EGREP
="$ac_cv_path_EGREP"
17579 if test $ac_cv_c_compiler_gnu = yes; then
17580 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17581 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17582 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17583 echo $ECHO_N "(cached) $ECHO_C" >&6
17585 ac_pattern
="Autoconf.*'x'"
17586 cat >conftest.
$ac_ext <<_ACEOF
17589 cat confdefs.h
>>conftest.
$ac_ext
17590 cat >>conftest.
$ac_ext <<_ACEOF
17591 /* end confdefs.h. */
17595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17596 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17597 ac_cv_prog_gcc_traditional
=yes
17599 ac_cv_prog_gcc_traditional
=no
17604 if test $ac_cv_prog_gcc_traditional = no
; then
17605 cat >conftest.
$ac_ext <<_ACEOF
17608 cat confdefs.h
>>conftest.
$ac_ext
17609 cat >>conftest.
$ac_ext <<_ACEOF
17610 /* end confdefs.h. */
17611 #include <termio.h>
17614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17615 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17616 ac_cv_prog_gcc_traditional
=yes
17622 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17623 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17624 if test $ac_cv_prog_gcc_traditional = yes; then
17625 CC
="$CC -traditional"
17630 CXXFLAGS
=${CXXFLAGS:=}
17632 ac_cpp
='$CXXCPP $CPPFLAGS'
17633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17636 if test -z "$CXX"; then
17637 if test -n "$CCC"; then
17640 if test -n "$ac_tool_prefix"; then
17641 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17643 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17644 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17645 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17646 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17647 if test "${ac_cv_prog_CXX+set}" = set; then
17648 echo $ECHO_N "(cached) $ECHO_C" >&6
17650 if test -n "$CXX"; then
17651 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17654 for as_dir
in $PATH
17657 test -z "$as_dir" && as_dir
=.
17658 for ac_exec_ext
in '' $ac_executable_extensions; do
17659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17660 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17670 CXX
=$ac_cv_prog_CXX
17671 if test -n "$CXX"; then
17672 { echo "$as_me:$LINENO: result: $CXX" >&5
17673 echo "${ECHO_T}$CXX" >&6; }
17675 { echo "$as_me:$LINENO: result: no" >&5
17676 echo "${ECHO_T}no" >&6; }
17680 test -n "$CXX" && break
17683 if test -z "$CXX"; then
17685 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17687 # Extract the first word of "$ac_prog", so it can be a program name with args.
17688 set dummy
$ac_prog; ac_word
=$2
17689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17691 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17694 if test -n "$ac_ct_CXX"; then
17695 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17698 for as_dir
in $PATH
17701 test -z "$as_dir" && as_dir
=.
17702 for ac_exec_ext
in '' $ac_executable_extensions; do
17703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17704 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17714 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17715 if test -n "$ac_ct_CXX"; then
17716 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17717 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17719 { echo "$as_me:$LINENO: result: no" >&5
17720 echo "${ECHO_T}no" >&6; }
17724 test -n "$ac_ct_CXX" && break
17727 if test "x$ac_ct_CXX" = x
; then
17730 case $cross_compiling:$ac_tool_warned in
17732 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17733 whose name does not start with the host triplet. If you think this
17734 configuration is useful to you, please write to autoconf@gnu.org." >&5
17735 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17736 whose name does not start with the host triplet. If you think this
17737 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17738 ac_tool_warned
=yes ;;
17746 # Provide some information about the compiler.
17747 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17748 ac_compiler
=`set X $ac_compile; echo $2`
17749 { (ac_try
="$ac_compiler --version >&5"
17750 case "(($ac_try" in
17751 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17752 *) ac_try_echo=$ac_try;;
17754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17755 (eval "$ac_compiler --version >&5") 2>&5
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }
17759 { (ac_try="$ac_compiler -v >&5"
17760 case "(($ac_try" in
17761 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17762 *) ac_try_echo
=$ac_try;;
17764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17765 (eval "$ac_compiler -v >&5") 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }
17769 { (ac_try
="$ac_compiler -V >&5"
17770 case "(($ac_try" in
17771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17772 *) ac_try_echo=$ac_try;;
17774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17775 (eval "$ac_compiler -V >&5") 2>&5
17777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17778 (exit $ac_status); }
17780 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17781 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17782 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17783 echo $ECHO_N "(cached) $ECHO_C" >&6
17785 cat >conftest.$ac_ext <<_ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17803 rm -f conftest.$ac_objext
17804 if { (ac_try="$ac_compile"
17805 case "(($ac_try" in
17806 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17807 *) ac_try_echo
=$ac_try;;
17809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17810 (eval "$ac_compile") 2>conftest.er1
17812 grep -v '^ *+' conftest.er1
>conftest.err
17814 cat conftest.err
>&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } && {
17817 test -z "$ac_cxx_werror_flag" ||
17818 test ! -s conftest.err
17819 } && test -s conftest.
$ac_objext; then
17820 ac_compiler_gnu
=yes
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.
$ac_ext >&5
17828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17829 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17832 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17833 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17834 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17835 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17836 ac_save_CXXFLAGS
=$CXXFLAGS
17837 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17838 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17839 if test "${ac_cv_prog_cxx_g+set}" = set; then
17840 echo $ECHO_N "(cached) $ECHO_C" >&6
17842 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17843 ac_cxx_werror_flag
=yes
17844 ac_cv_prog_cxx_g
=no
17846 cat >conftest.
$ac_ext <<_ACEOF
17849 cat confdefs.h
>>conftest.
$ac_ext
17850 cat >>conftest.
$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17861 rm -f conftest.
$ac_objext
17862 if { (ac_try
="$ac_compile"
17863 case "(($ac_try" in
17864 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17865 *) ac_try_echo=$ac_try;;
17867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17868 (eval "$ac_compile") 2>conftest.er1
17870 grep -v '^ *+' conftest.er1 >conftest.err
17872 cat conftest.err >&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } && {
17875 test -z "$ac_cxx_werror_flag" ||
17876 test ! -s conftest.err
17877 } && test -s conftest.$ac_objext; then
17878 ac_cv_prog_cxx_g=yes
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17884 cat >conftest.$ac_ext <<_ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17899 rm -f conftest.$ac_objext
17900 if { (ac_try="$ac_compile"
17901 case "(($ac_try" in
17902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17903 *) ac_try_echo
=$ac_try;;
17905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17906 (eval "$ac_compile") 2>conftest.er1
17908 grep -v '^ *+' conftest.er1
>conftest.err
17910 cat conftest.err
>&5
17911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17912 (exit $ac_status); } && {
17913 test -z "$ac_cxx_werror_flag" ||
17914 test ! -s conftest.err
17915 } && test -s conftest.
$ac_objext; then
17918 echo "$as_me: failed program was:" >&5
17919 sed 's/^/| /' conftest.
$ac_ext >&5
17921 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17923 cat >conftest.
$ac_ext <<_ACEOF
17926 cat confdefs.h
>>conftest.
$ac_ext
17927 cat >>conftest.
$ac_ext <<_ACEOF
17928 /* end confdefs.h. */
17938 rm -f conftest.
$ac_objext
17939 if { (ac_try
="$ac_compile"
17940 case "(($ac_try" in
17941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17942 *) ac_try_echo=$ac_try;;
17944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17945 (eval "$ac_compile") 2>conftest.er1
17947 grep -v '^ *+' conftest.er1 >conftest.err
17949 cat conftest.err >&5
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); } && {
17952 test -z "$ac_cxx_werror_flag" ||
17953 test ! -s conftest.err
17954 } && test -s conftest.$ac_objext; then
17955 ac_cv_prog_cxx_g=yes
17957 echo "$as_me: failed program was:" >&5
17958 sed 's/^/| /' conftest.$ac_ext >&5
17963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17972 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17973 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17974 if test "$ac_test_CXXFLAGS" = set; then
17975 CXXFLAGS=$ac_save_CXXFLAGS
17976 elif test $ac_cv_prog_cxx_g = yes; then
17977 if test "$GXX" = yes; then
17983 if test "$GXX" = yes; then
17990 ac_cpp='$CPP $CPPFLAGS'
17991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18003 ac_cpp='$CXXCPP $CPPFLAGS'
18004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18008 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18009 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18010 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18011 echo $ECHO_N "(cached) $ECHO_C" >&6
18013 cat >conftest.$ac_ext <<_ACEOF
18016 cat confdefs.h >>conftest.$ac_ext
18017 cat >>conftest.$ac_ext <<_ACEOF
18018 /* end confdefs.h. */
18024 #ifndef __INTEL_COMPILER
18032 rm -f conftest.$ac_objext
18033 if { (ac_try="$ac_compile"
18034 case "(($ac_try" in
18035 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18036 *) ac_try_echo
=$ac_try;;
18038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18039 (eval "$ac_compile") 2>conftest.er1
18041 grep -v '^ *+' conftest.er1
>conftest.err
18043 cat conftest.err
>&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } && {
18046 test -z "$ac_cxx_werror_flag" ||
18047 test ! -s conftest.err
18048 } && test -s conftest.
$ac_objext; then
18049 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
18051 echo "$as_me: failed program was:" >&5
18052 sed 's/^/| /' conftest.
$ac_ext >&5
18054 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
18058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18062 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18063 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18064 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18070 ac_cpp
='$CPP $CPPFLAGS'
18071 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18072 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18073 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18078 if test "$INTELCXX" = "yes"; then
18082 ac_cpp
='$CXXCPP $CPPFLAGS'
18083 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18087 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18088 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18089 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18092 cat >conftest.
$ac_ext <<_ACEOF
18095 cat confdefs.h
>>conftest.
$ac_ext
18096 cat >>conftest.
$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18103 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18111 rm -f conftest.
$ac_objext
18112 if { (ac_try
="$ac_compile"
18113 case "(($ac_try" in
18114 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18115 *) ac_try_echo=$ac_try;;
18117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18118 (eval "$ac_compile") 2>conftest.er1
18120 grep -v '^ *+' conftest.er1 >conftest.err
18122 cat conftest.err >&5
18123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18124 (exit $ac_status); } && {
18125 test -z "$ac_cxx_werror_flag" ||
18126 test ! -s conftest.err
18127 } && test -s conftest.$ac_objext; then
18128 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18130 echo "$as_me: failed program was:" >&5
18131 sed 's/^/| /' conftest.$ac_ext >&5
18133 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18141 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18142 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18143 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18149 ac_cpp='$CPP $CPPFLAGS'
18150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18159 ac_cpp='$CXXCPP $CPPFLAGS'
18160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18164 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18165 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18166 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18167 echo $ECHO_N "(cached) $ECHO_C" >&6
18169 cat >conftest.$ac_ext <<_ACEOF
18172 cat confdefs.h >>conftest.$ac_ext
18173 cat >>conftest.$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18180 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18188 rm -f conftest.$ac_objext
18189 if { (ac_try="$ac_compile"
18190 case "(($ac_try" in
18191 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18192 *) ac_try_echo
=$ac_try;;
18194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18195 (eval "$ac_compile") 2>conftest.er1
18197 grep -v '^ *+' conftest.er1
>conftest.err
18199 cat conftest.err
>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); } && {
18202 test -z "$ac_cxx_werror_flag" ||
18203 test ! -s conftest.err
18204 } && test -s conftest.
$ac_objext; then
18205 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
18207 echo "$as_me: failed program was:" >&5
18208 sed 's/^/| /' conftest.
$ac_ext >&5
18210 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
18214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18218 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18219 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18220 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18226 ac_cpp
='$CPP $CPPFLAGS'
18227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18235 if test "x$GCXX" != "xyes"; then
18236 if test "xCXX" = "xC"; then
18237 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18238 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18239 if test "${bakefile_cv_c_exto+set}" = set; then
18240 echo $ECHO_N "(cached) $ECHO_C" >&6
18242 cat >conftest.
$ac_ext <<_ACEOF
18245 cat confdefs.h
>>conftest.
$ac_ext
18246 cat >>conftest.
$ac_ext <<_ACEOF
18247 /* end confdefs.h. */
18257 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18259 (eval $ac_compile) 2>&5
18261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18262 (exit $ac_status); }; then
18263 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18265 conftest.
$ac_ext.o
)
18266 bakefile_cv_c_exto
="-ext o"
18273 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18274 See \`config.log' for more details." >&5
18275 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18276 See \`config.log' for more details." >&2;}
18277 { (exit 1); exit 1; }; }
18281 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18284 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18285 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18286 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18287 if test "c" = "c"; then
18288 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18290 if test "c" = "cxx"; then
18291 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18295 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18296 unset ac_cv_prog_cc_g
18297 ac_test_CFLAGS
=${CFLAGS+set}
18298 ac_save_CFLAGS
=$CFLAGS
18299 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18300 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18301 if test "${ac_cv_prog_cc_g+set}" = set; then
18302 echo $ECHO_N "(cached) $ECHO_C" >&6
18304 ac_save_c_werror_flag
=$ac_c_werror_flag
18305 ac_c_werror_flag
=yes
18308 cat >conftest.
$ac_ext <<_ACEOF
18311 cat confdefs.h
>>conftest.
$ac_ext
18312 cat >>conftest.
$ac_ext <<_ACEOF
18313 /* end confdefs.h. */
18323 rm -f conftest.
$ac_objext
18324 if { (ac_try
="$ac_compile"
18325 case "(($ac_try" in
18326 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18327 *) ac_try_echo=$ac_try;;
18329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18330 (eval "$ac_compile") 2>conftest.er1
18332 grep -v '^ *+' conftest.er1 >conftest.err
18334 cat conftest.err >&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); } && {
18337 test -z "$ac_c_werror_flag" ||
18338 test ! -s conftest.err
18339 } && test -s conftest.$ac_objext; then
18340 ac_cv_prog_cc_g=yes
18342 echo "$as_me: failed program was:" >&5
18343 sed 's/^/| /' conftest.$ac_ext >&5
18346 cat >conftest.$ac_ext <<_ACEOF
18349 cat confdefs.h >>conftest.$ac_ext
18350 cat >>conftest.$ac_ext <<_ACEOF
18351 /* end confdefs.h. */
18361 rm -f conftest.$ac_objext
18362 if { (ac_try="$ac_compile"
18363 case "(($ac_try" in
18364 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18365 *) ac_try_echo
=$ac_try;;
18367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18368 (eval "$ac_compile") 2>conftest.er1
18370 grep -v '^ *+' conftest.er1
>conftest.err
18372 cat conftest.err
>&5
18373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18374 (exit $ac_status); } && {
18375 test -z "$ac_c_werror_flag" ||
18376 test ! -s conftest.err
18377 } && test -s conftest.
$ac_objext; then
18380 echo "$as_me: failed program was:" >&5
18381 sed 's/^/| /' conftest.
$ac_ext >&5
18383 ac_c_werror_flag
=$ac_save_c_werror_flag
18385 cat >conftest.
$ac_ext <<_ACEOF
18388 cat confdefs.h
>>conftest.
$ac_ext
18389 cat >>conftest.
$ac_ext <<_ACEOF
18390 /* end confdefs.h. */
18400 rm -f conftest.
$ac_objext
18401 if { (ac_try
="$ac_compile"
18402 case "(($ac_try" in
18403 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18404 *) ac_try_echo=$ac_try;;
18406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18407 (eval "$ac_compile") 2>conftest.er1
18409 grep -v '^ *+' conftest.er1 >conftest.err
18411 cat conftest.err >&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); } && {
18414 test -z "$ac_c_werror_flag" ||
18415 test ! -s conftest.err
18416 } && test -s conftest.$ac_objext; then
18417 ac_cv_prog_cc_g=yes
18419 echo "$as_me: failed program was:" >&5
18420 sed 's/^/| /' conftest.$ac_ext >&5
18425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432 ac_c_werror_flag=$ac_save_c_werror_flag
18434 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18435 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18436 if test "$ac_test_CFLAGS" = set; then
18437 CFLAGS=$ac_save_CFLAGS
18438 elif test $ac_cv_prog_cc_g = yes; then
18439 if test "$GCC" = yes; then
18445 if test "$GCC" = yes; then
18459 ac_cpp='$CXXCPP $CPPFLAGS'
18460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18464 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18465 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18466 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18467 echo $ECHO_N "(cached) $ECHO_C" >&6
18469 cat >conftest.$ac_ext <<_ACEOF
18472 cat confdefs.h >>conftest.$ac_ext
18473 cat >>conftest.$ac_ext <<_ACEOF
18474 /* end confdefs.h. */
18488 rm -f conftest.$ac_objext
18489 if { (ac_try="$ac_compile"
18490 case "(($ac_try" in
18491 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18492 *) ac_try_echo
=$ac_try;;
18494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18495 (eval "$ac_compile") 2>conftest.er1
18497 grep -v '^ *+' conftest.er1
>conftest.err
18499 cat conftest.err
>&5
18500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18501 (exit $ac_status); } && {
18502 test -z "$ac_cxx_werror_flag" ||
18503 test ! -s conftest.err
18504 } && test -s conftest.
$ac_objext; then
18505 bakefile_cv_cxx_compiler___xlC__
=yes
18507 echo "$as_me: failed program was:" >&5
18508 sed 's/^/| /' conftest.
$ac_ext >&5
18510 bakefile_cv_cxx_compiler___xlC__
=no
18514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18518 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18519 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18520 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18526 ac_cpp
='$CPP $CPPFLAGS'
18527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18539 ac_cpp
='$CXXCPP $CPPFLAGS'
18540 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18544 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18545 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18546 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18547 echo $ECHO_N "(cached) $ECHO_C" >&6
18549 cat >conftest.
$ac_ext <<_ACEOF
18552 cat confdefs.h
>>conftest.
$ac_ext
18553 cat >>conftest.
$ac_ext <<_ACEOF
18554 /* end confdefs.h. */
18568 rm -f conftest.
$ac_objext
18569 if { (ac_try
="$ac_compile"
18570 case "(($ac_try" in
18571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18572 *) ac_try_echo=$ac_try;;
18574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18575 (eval "$ac_compile") 2>conftest.er1
18577 grep -v '^ *+' conftest.er1 >conftest.err
18579 cat conftest.err >&5
18580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18581 (exit $ac_status); } && {
18582 test -z "$ac_cxx_werror_flag" ||
18583 test ! -s conftest.err
18584 } && test -s conftest.$ac_objext; then
18585 bakefile_cv_cxx_compiler___MWERKS__=yes
18587 echo "$as_me: failed program was:" >&5
18588 sed 's/^/| /' conftest.$ac_ext >&5
18590 bakefile_cv_cxx_compiler___MWERKS__=no
18594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18598 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18599 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18600 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18606 ac_cpp='$CPP $CPPFLAGS'
18607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18613 if test "$MWCXX" != "yes"; then
18617 ac_cpp='$CXXCPP $CPPFLAGS'
18618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18622 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18623 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18624 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18625 echo $ECHO_N "(cached) $ECHO_C" >&6
18627 cat >conftest.$ac_ext <<_ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18646 rm -f conftest.$ac_objext
18647 if { (ac_try="$ac_compile"
18648 case "(($ac_try" in
18649 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18650 *) ac_try_echo
=$ac_try;;
18652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18653 (eval "$ac_compile") 2>conftest.er1
18655 grep -v '^ *+' conftest.er1
>conftest.err
18657 cat conftest.err
>&5
18658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18659 (exit $ac_status); } && {
18660 test -z "$ac_cxx_werror_flag" ||
18661 test ! -s conftest.err
18662 } && test -s conftest.
$ac_objext; then
18663 bakefile_cv_cxx_compiler___xlC__
=yes
18665 echo "$as_me: failed program was:" >&5
18666 sed 's/^/| /' conftest.
$ac_ext >&5
18668 bakefile_cv_cxx_compiler___xlC__
=no
18672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18676 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18677 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18678 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18684 ac_cpp
='$CPP $CPPFLAGS'
18685 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18686 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18687 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18698 ac_cpp
='$CXXCPP $CPPFLAGS'
18699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18703 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18704 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18705 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18708 cat >conftest.
$ac_ext <<_ACEOF
18711 cat confdefs.h
>>conftest.
$ac_ext
18712 cat >>conftest.
$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18719 #ifndef _SGI_COMPILER_VERSION
18727 rm -f conftest.
$ac_objext
18728 if { (ac_try
="$ac_compile"
18729 case "(($ac_try" in
18730 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18731 *) ac_try_echo=$ac_try;;
18733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18734 (eval "$ac_compile") 2>conftest.er1
18736 grep -v '^ *+' conftest.er1 >conftest.err
18738 cat conftest.err >&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } && {
18741 test -z "$ac_cxx_werror_flag" ||
18742 test ! -s conftest.err
18743 } && test -s conftest.$ac_objext; then
18744 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18746 echo "$as_me: failed program was:" >&5
18747 sed 's/^/| /' conftest.$ac_ext >&5
18749 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18757 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18758 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18759 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18765 ac_cpp='$CPP $CPPFLAGS'
18766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18775 if test "$INTELCXX" != "yes"; then
18779 ac_cpp='$CXXCPP $CPPFLAGS'
18780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18784 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18785 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18786 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18787 echo $ECHO_N "(cached) $ECHO_C" >&6
18789 cat >conftest.$ac_ext <<_ACEOF
18792 cat confdefs.h >>conftest.$ac_ext
18793 cat >>conftest.$ac_ext <<_ACEOF
18794 /* end confdefs.h. */
18800 #ifndef __SUNPRO_CC
18808 rm -f conftest.$ac_objext
18809 if { (ac_try="$ac_compile"
18810 case "(($ac_try" in
18811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18812 *) ac_try_echo
=$ac_try;;
18814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18815 (eval "$ac_compile") 2>conftest.er1
18817 grep -v '^ *+' conftest.er1
>conftest.err
18819 cat conftest.err
>&5
18820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18821 (exit $ac_status); } && {
18822 test -z "$ac_cxx_werror_flag" ||
18823 test ! -s conftest.err
18824 } && test -s conftest.
$ac_objext; then
18825 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.
$ac_ext >&5
18830 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18838 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18839 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18840 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18846 ac_cpp
='$CPP $CPPFLAGS'
18847 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18848 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18849 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18860 ac_cpp
='$CXXCPP $CPPFLAGS'
18861 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18862 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18863 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18865 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18866 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18867 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18868 echo $ECHO_N "(cached) $ECHO_C" >&6
18870 cat >conftest.
$ac_ext <<_ACEOF
18873 cat confdefs.h
>>conftest.
$ac_ext
18874 cat >>conftest.
$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18889 rm -f conftest.
$ac_objext
18890 if { (ac_try
="$ac_compile"
18891 case "(($ac_try" in
18892 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18893 *) ac_try_echo=$ac_try;;
18895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18896 (eval "$ac_compile") 2>conftest.er1
18898 grep -v '^ *+' conftest.er1 >conftest.err
18900 cat conftest.err >&5
18901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18902 (exit $ac_status); } && {
18903 test -z "$ac_cxx_werror_flag" ||
18904 test ! -s conftest.err
18905 } && test -s conftest.$ac_objext; then
18906 bakefile_cv_cxx_compiler___HP_aCC=yes
18908 echo "$as_me: failed program was:" >&5
18909 sed 's/^/| /' conftest.$ac_ext >&5
18911 bakefile_cv_cxx_compiler___HP_aCC=no
18915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18919 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18920 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18921 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18927 ac_cpp='$CPP $CPPFLAGS'
18928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18940 ac_cpp='$CXXCPP $CPPFLAGS'
18941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18945 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18946 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18947 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18948 echo $ECHO_N "(cached) $ECHO_C" >&6
18950 cat >conftest.$ac_ext <<_ACEOF
18953 cat confdefs.h >>conftest.$ac_ext
18954 cat >>conftest.$ac_ext <<_ACEOF
18955 /* end confdefs.h. */
18969 rm -f conftest.$ac_objext
18970 if { (ac_try="$ac_compile"
18971 case "(($ac_try" in
18972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18973 *) ac_try_echo
=$ac_try;;
18975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18976 (eval "$ac_compile") 2>conftest.er1
18978 grep -v '^ *+' conftest.er1
>conftest.err
18980 cat conftest.err
>&5
18981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18982 (exit $ac_status); } && {
18983 test -z "$ac_cxx_werror_flag" ||
18984 test ! -s conftest.err
18985 } && test -s conftest.
$ac_objext; then
18986 bakefile_cv_cxx_compiler___DECCXX
=yes
18988 echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.
$ac_ext >&5
18991 bakefile_cv_cxx_compiler___DECCXX
=no
18995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18999 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
19000 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19001 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19007 ac_cpp
='$CPP $CPPFLAGS'
19008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19020 ac_cpp
='$CXXCPP $CPPFLAGS'
19021 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19022 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19023 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19025 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19026 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19027 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19028 echo $ECHO_N "(cached) $ECHO_C" >&6
19030 cat >conftest.
$ac_ext <<_ACEOF
19033 cat confdefs.h
>>conftest.
$ac_ext
19034 cat >>conftest.
$ac_ext <<_ACEOF
19035 /* end confdefs.h. */
19041 #ifndef __SUNPRO_CC
19049 rm -f conftest.
$ac_objext
19050 if { (ac_try
="$ac_compile"
19051 case "(($ac_try" in
19052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19053 *) ac_try_echo=$ac_try;;
19055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19056 (eval "$ac_compile") 2>conftest.er1
19058 grep -v '^ *+' conftest.er1 >conftest.err
19060 cat conftest.err >&5
19061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19062 (exit $ac_status); } && {
19063 test -z "$ac_cxx_werror_flag" ||
19064 test ! -s conftest.err
19065 } && test -s conftest.$ac_objext; then
19066 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19068 echo "$as_me: failed program was:" >&5
19069 sed 's/^/| /' conftest.$ac_ext >&5
19071 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19079 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19080 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19081 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19087 ac_cpp='$CPP $CPPFLAGS'
19088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19100 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19101 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19102 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19103 { (exit 1); exit 1; }; }
19106 if test "x$SUNCXX" != xyes; then
19107 if test -n "$ac_tool_prefix"; then
19108 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19109 set dummy ${ac_tool_prefix}ar; ac_word=$2
19110 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19112 if test "${ac_cv_prog_AR+set}" = set; then
19113 echo $ECHO_N "(cached) $ECHO_C" >&6
19115 if test -n "$AR"; then
19116 ac_cv_prog_AR="$AR" # Let the user override the test.
19118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19119 for as_dir in $PATH
19122 test -z "$as_dir" && as_dir=.
19123 for ac_exec_ext in '' $ac_executable_extensions; do
19124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19125 ac_cv_prog_AR="${ac_tool_prefix}ar"
19126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19136 if test -n "$AR"; then
19137 { echo "$as_me:$LINENO: result: $AR" >&5
19138 echo "${ECHO_T}$AR" >&6; }
19140 { echo "$as_me:$LINENO: result: no" >&5
19141 echo "${ECHO_T}no" >&6; }
19146 if test -z "$ac_cv_prog_AR"; then
19148 # Extract the first word of "ar", so it can be a program name with args.
19149 set dummy ar; ac_word=$2
19150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19152 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19153 echo $ECHO_N "(cached) $ECHO_C" >&6
19155 if test -n "$ac_ct_AR"; then
19156 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19159 for as_dir in $PATH
19162 test -z "$as_dir" && as_dir=.
19163 for ac_exec_ext in '' $ac_executable_extensions; do
19164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19165 ac_cv_prog_ac_ct_AR="ar"
19166 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19175 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19176 if test -n "$ac_ct_AR"; then
19177 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19178 echo "${ECHO_T}$ac_ct_AR" >&6; }
19180 { echo "$as_me:$LINENO: result: no" >&5
19181 echo "${ECHO_T}no" >&6; }
19184 if test "x$ac_ct_AR" = x; then
19187 case $cross_compiling:$ac_tool_warned in
19189 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19190 whose name does not start with the host triplet. If you think this
19191 configuration is useful to you, please write to autoconf@gnu.org." >&5
19192 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19193 whose name does not start with the host triplet. If you think this
19194 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19195 ac_tool_warned=yes ;;
19200 AR="$ac_cv_prog_AR"
19203 if test "x$AR" = "x" ; then
19204 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19205 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19206 { (exit 1); exit 1; }; }
19211 if test "$wxUSE_MAC" = 1; then
19213 retest_macosx_linking=no
19217 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19218 if test "x$wxUSE_MAC_ARCH" != xno; then
19219 { echo "$as_me:$LINENO: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19220 echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19223 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19224 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19225 else OSX_ARCH_OPTS="ppc,i386"
19226 if test "$wxUSE_OSX_COCOA" = 1; then
19227 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19231 { echo "$as_me:$LINENO: checking for architectures to use in universal binary" >&5
19232 echo $ECHO_N "checking for architectures to use in universal binary... $ECHO_C" >&6; }
19233 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19234 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19236 retest_macosx_linking=yes
19238 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19239 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19242 if test "x$wxUSE_MAC_ARCH" != xno; then
19243 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19247 if test "x$OSX_ARCH_OPTS" != "x"; then
19248 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19250 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19251 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19252 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19253 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19254 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19257 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19259 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19260 # TODO: Search for most recent SDK and use it.
19261 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19265 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19266 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19267 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19268 if ! test -d "$wxUSE_MACOSX_SDK"; then
19269 { { echo "$as_me:$LINENO: error: not found
19270 See \`config.log
' for more details." >&5
19271 echo "$as_me: error: not found
19272 See \`config.log' for more details.
" >&2;}
19273 { (exit 1); exit 1; }; }
19275 { echo "$as_me:$LINENO: result
: exists
" >&5
19276 echo "${ECHO_T}exists
" >&6; }
19278 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19279 retest_macosx_linking=yes
19282 if test "x
$wxUSE_MACOSX_VERSION_MIN" = "xno
"; then
19283 wxUSE_MACOSX_VERSION_MIN=
19284 elif test "x
$wxUSE_MACOSX_VERSION_MIN" = "xyes
"; then
19285 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
19286 { echo "$as_me:$LINENO: checking SDK deployment version
" >&5
19287 echo $ECHO_N "checking SDK deployment version...
$ECHO_C" >&6; }
19289 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/'`
19291 # If that failed, try again with the new key
19292 if test "x
$MACOSX_SDK_PLIST_VERSION_MIN" == "x
"; then
19294 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/'`
19298 if test "x
$MACOSX_SDK_PLIST_VERSION_MIN" != "x
"; then
19299 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19300 { echo "$as_me:$LINENO: result
: $wxUSE_MACOSX_VERSION_MIN" >&5
19301 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19303 { echo "$as_me:$LINENO: WARNING
: Could not determine deployment target from SDKSettings.plist
" >&5
19304 echo "$as_me: WARNING
: Could not determine deployment target from SDKSettings.plist
" >&2;}
19305 wxUSE_MACOSX_VERSION_MIN=
19308 wxUSE_MACOSX_VERSION_MIN=
19310 elif test "x
$wxUSE_MACOSX_VERSION_MIN" = "x
"; then
19311 for ac_prog in sw_vers
19313 # Extract the first word of "$ac_prog", so it can be a program name with args.
19314 set dummy $ac_prog; ac_word=$2
19315 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
19316 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
19317 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19318 echo $ECHO_N "(cached
) $ECHO_C" >&6
19320 if test -n "$OSX_SW_VERS"; then
19321 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19324 for as_dir in $PATH
19327 test -z "$as_dir" && as_dir=.
19328 for ac_exec_ext in '' $ac_executable_extensions; do
19329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19330 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19331 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
19340 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19341 if test -n "$OSX_SW_VERS"; then
19342 { echo "$as_me:$LINENO: result
: $OSX_SW_VERS" >&5
19343 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19345 { echo "$as_me:$LINENO: result
: no
" >&5
19346 echo "${ECHO_T}no
" >&6; }
19350 test -n "$OSX_SW_VERS" && break
19353 if test "$OSX_SW_VERS" != ""; then
19354 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19356 { echo "$as_me:$LINENO: WARNING
: Assuming OS X
10.4, use
--with-macosx-version-min to override.
" >&5
19357 echo "$as_me: WARNING
: Assuming OS X
10.4, use
--with-macosx-version-min to override.
" >&2;}
19361 case "$OSX_VERSION" in
19363 wxUSE_MACOSX_VERSION_MIN=10.4
19367 if test "$wxUSE_OSX_CARBON" = 1; then
19368 # otherwise configure stops on leopard for universal_binary
19369 wxUSE_MACOSX_VERSION_MIN=10.4
19371 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19372 wxUSE_MACOSX_VERSION_MIN=10.5
19379 if test "x
$wxUSE_MACOSX_VERSION_MIN" == "x10.4
"; then
19383 if test "$wxUSE_OSX_CARBON" = 1; then
19387 if test "x
$NEEDS_GCC40" == "xyes
"; then
19388 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19389 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19390 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19391 if test "x
$CC" = "xgcc
"; then
19392 CCVERSION=`$CC --version | grep 4.[2-9].`
19393 if test "x
$CCVERSION" != "x
"; then
19394 echo "$as_me:$LINENO: WARNING
: gcc
>= 4.2 cannot compile
10.4 compatible code. Using gcc
4.0 instead.
"
19399 if test "x
$CXX" = "xg
++"; then
19400 CCVERSION=`$CXX --version | grep 4.[2-9].`
19401 if test "x
$CCVERSION" != "x
"; then
19407 if test "x
$MACOSX_SDK_OPTS" != "x
"; then
19408 eval "CC
=\"$CC $MACOSX_SDK_OPTS\""
19409 eval "CXX
=\"$CXX $MACOSX_SDK_OPTS\""
19410 eval "LD
=\"$LD $MACOSX_SDK_OPTS\""
19413 if test "x
$wxUSE_MACOSX_VERSION_MIN" != "x
"; then
19414 if test "$wxUSE_OSX_IPHONE" = 1; then
19415 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19417 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19419 eval "CC
=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19420 eval "CXX
=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19421 eval "LD
=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19422 retest_macosx_linking=yes
19425 if test "x
$retest_macosx_linking" = "xyes
"; then
19427 ac_cpp='$CPP $CPPFLAGS'
19428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19432 { echo "$as_me:$LINENO: checking
if C compiler works with SDK
/version options
" >&5
19433 echo $ECHO_N "checking
if C compiler works with SDK
/version options...
$ECHO_C" >&6; }
19434 cat >conftest.$ac_ext <<_ACEOF
19437 cat confdefs.h >>conftest.$ac_ext
19438 cat >>conftest.$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19449 rm -f conftest.$ac_objext conftest$ac_exeext
19450 if { (ac_try="$ac_link"
19451 case "(($ac_try" in
19452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19453 *) ac_try_echo=$ac_try;;
19455 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19456 (eval "$ac_link") 2>conftest.er1
19458 grep -v '^ *+' conftest.er1 >conftest.err
19460 cat conftest.err >&5
19461 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19462 (exit $ac_status); } && {
19463 test -z "$ac_c_werror_flag" ||
19464 test ! -s conftest.err
19465 } && test -s conftest$ac_exeext &&
19466 $as_test_x conftest$ac_exeext; then
19467 { echo "$as_me:$LINENO: result
: yes" >&5
19468 echo "${ECHO_T}yes" >&6; }
19470 echo "$as_me: failed program was
:" >&5
19471 sed 's/^/| /' conftest.$ac_ext >&5
19473 { { echo "$as_me:$LINENO: error
: no. Try a different SDK
19474 See \
`config.log' for more details." >&5
19475 echo "$as_me: error: no. Try a different SDK
19476 See \`config.log
' for more details." >&2;}
19477 { (exit 1); exit 1; }; }; exit 1
19480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19481 conftest$ac_exeext conftest.$ac_ext
19483 ac_cpp='$CPP $CPPFLAGS'
19484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19485 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19490 ac_cpp='$CXXCPP $CPPFLAGS'
19491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19492 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19495 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19496 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19497 cat >conftest.$ac_ext <<_ACEOF
19500 cat confdefs.h >>conftest.$ac_ext
19501 cat >>conftest.$ac_ext <<_ACEOF
19502 /* end confdefs.h. */
19512 rm -f conftest.$ac_objext conftest$ac_exeext
19513 if { (ac_try="$ac_link"
19514 case "(($ac_try" in
19515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19516 *) ac_try_echo=$ac_try;;
19518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19519 (eval "$ac_link") 2>conftest.er1
19521 grep -v '^
*+' conftest.er1 >conftest.err
19523 cat conftest.err >&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } && {
19526 test -z "$ac_cxx_werror_flag" ||
19527 test ! -s conftest.err
19528 } && test -s conftest$ac_exeext &&
19529 $as_test_x conftest$ac_exeext; then
19530 { echo "$as_me:$LINENO: result: yes" >&5
19531 echo "${ECHO_T}yes" >&6; }
19533 echo "$as_me: failed program was:" >&5
19534 sed 's
/^
/| /' conftest.$ac_ext >&5
19536 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19537 See \`config.log' for more details.
" >&5
19538 echo "$as_me: error
: no. Try a different SDK
19539 See \
`config.log' for more details." >&2;}
19540 { (exit 1); exit 1; }; }; exit 1
19543 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19544 conftest$ac_exeext conftest.$ac_ext
19546 ac_cpp='$CPP $CPPFLAGS'
19547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19557 INSTALL_PROGRAM="cp -fp"
19558 INSTALL_DATA="cp -fp"
19565 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19566 cat >>confdefs.h <<\_ACEOF
19567 #define _GNU_SOURCE 1
19571 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19572 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19575 if test "x$USE_AIX" = "x1"; then
19576 if test "x$XLCXX" = "xyes"; then
19577 CXXFLAGS="-qunique $CXXFLAGS"
19580 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19584 powerpc-*-darwin* )
19585 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19586 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19587 cat >conftest.$ac_ext <<_ACEOF
19590 cat confdefs.h >>conftest.$ac_ext
19591 cat >>conftest.$ac_ext <<_ACEOF
19592 /* end confdefs.h. */
19597 #ifndef __POWERPC__
19598 choke me for lack of PowerPC
19605 rm -f conftest.$ac_objext
19606 if { (ac_try="$ac_compile"
19607 case "(($ac_try" in
19608 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19609 *) ac_try_echo
=$ac_try;;
19611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19612 (eval "$ac_compile") 2>conftest.er1
19614 grep -v '^ *+' conftest.er1
>conftest.err
19616 cat conftest.err
>&5
19617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19618 (exit $ac_status); } && {
19619 test -z "$ac_c_werror_flag" ||
19620 test ! -s conftest.err
19621 } && test -s conftest.
$ac_objext; then
19622 { echo "$as_me:$LINENO: result: yes" >&5
19623 echo "${ECHO_T}yes" >&6; }
19625 echo "$as_me: failed program was:" >&5
19626 sed 's/^/| /' conftest.
$ac_ext >&5
19628 { echo "$as_me:$LINENO: result: no" >&5
19629 echo "${ECHO_T}no" >&6; }
19630 cat >>confdefs.h
<<\_ACEOF
19631 #define __POWERPC__ 1
19637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19643 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19644 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19645 cat >conftest.
$ac_ext <<_ACEOF
19648 cat confdefs.h
>>conftest.
$ac_ext
19649 cat >>conftest.
$ac_ext <<_ACEOF
19650 /* end confdefs.h. */
19651 #include <CoreFoundation/CFBase.h>
19661 rm -f conftest.
$ac_objext
19662 if { (ac_try
="$ac_compile"
19663 case "(($ac_try" in
19664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19665 *) ac_try_echo=$ac_try;;
19667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19668 (eval "$ac_compile") 2>conftest.er1
19670 grep -v '^ *+' conftest.er1 >conftest.err
19672 cat conftest.err >&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } && {
19675 test -z "$ac_c_werror_flag" ||
19676 test ! -s conftest.err
19677 } && test -s conftest.$ac_objext; then
19678 { echo "$as_me:$LINENO: result: yes" >&5
19679 echo "${ECHO_T}yes" >&6; }
19681 echo "$as_me: failed program was:" >&5
19682 sed 's/^/| /' conftest.$ac_ext >&5
19684 { echo "$as_me:$LINENO: result: no" >&5
19685 echo "${ECHO_T}no" >&6; }
19686 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19687 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19688 cat >conftest.$ac_ext <<_ACEOF
19691 cat confdefs.h >>conftest.$ac_ext
19692 cat >>conftest.$ac_ext <<_ACEOF
19693 /* end confdefs.h. */
19694 #define __CF_USE_FRAMEWORK_INCLUDES__
19695 #include <CoreFoundation/CFBase.h>
19705 rm -f conftest.$ac_objext
19706 if { (ac_try="$ac_compile"
19707 case "(($ac_try" in
19708 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19709 *) ac_try_echo
=$ac_try;;
19711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19712 (eval "$ac_compile") 2>conftest.er1
19714 grep -v '^ *+' conftest.er1
>conftest.err
19716 cat conftest.err
>&5
19717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19718 (exit $ac_status); } && {
19719 test -z "$ac_c_werror_flag" ||
19720 test ! -s conftest.err
19721 } && test -s conftest.
$ac_objext; then
19722 { echo "$as_me:$LINENO: result: yes" >&5
19723 echo "${ECHO_T}yes" >&6; }
19724 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.
$ac_ext >&5
19729 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19730 See \`config.log' for more details." >&5
19731 echo "$as_me: error: no. CoreFoundation not available.
19732 See \`config.log' for more details." >&2;}
19733 { (exit 1); exit 1; }; }
19737 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19747 doesnt_want_win32
=0
19750 if test "$wxUSE_MSW" = 1 ; then
19753 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19754 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19755 if test "${wx_cv_nocygwin+set}" = set; then
19756 echo $ECHO_N "(cached) $ECHO_C" >&6
19759 cat >conftest.
$ac_ext <<_ACEOF
19762 cat confdefs.h
>>conftest.
$ac_ext
19763 cat >>conftest.
$ac_ext <<_ACEOF
19764 /* end confdefs.h. */
19778 rm -f conftest.
$ac_objext
19779 if { (ac_try
="$ac_compile"
19780 case "(($ac_try" in
19781 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19782 *) ac_try_echo=$ac_try;;
19784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19785 (eval "$ac_compile") 2>conftest.er1
19787 grep -v '^ *+' conftest.er1 >conftest.err
19789 cat conftest.err >&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); } && {
19792 test -z "$ac_c_werror_flag" ||
19793 test ! -s conftest.err
19794 } && test -s conftest.$ac_objext; then
19797 echo "$as_me: failed program was:" >&5
19798 sed 's/^/| /' conftest.$ac_ext >&5
19804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19808 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19809 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19811 if test "$wx_cv_nocygwin" = "yes"; then
19814 doesnt_want_win32=1
19817 if test "$wants_win32" = 1 ; then
19818 BAKEFILE_FORCE_PLATFORM=win32
19826 if test "$wxUSE_WINE" = "yes"; then
19828 LDFLAGS_GUI="-mwindows"
19831 if test "$wants_win32" = 1 ; then
19834 cat >>confdefs.h <<\_ACEOF
19835 #define __WIN32__ 1
19838 cat >>confdefs.h <<\_ACEOF
19839 #define __WIN95__ 1
19842 cat >>confdefs.h <<\_ACEOF
19843 #define __WINDOWS__ 1
19846 cat >>confdefs.h <<\_ACEOF
19847 #define __GNUWIN32__ 1
19850 cat >>confdefs.h <<\_ACEOF
19855 if test "$doesnt_want_win32" = 1 ; then
19860 if test "$USE_UNIX" = 1 ; then
19862 cat >>confdefs.h <<\_ACEOF
19869 *-pc-os2_emx | *-pc-os2-emx )
19870 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19871 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19872 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19873 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19874 echo $ECHO_N "(cached) $ECHO_C" >&6
19876 ac_check_lib_save_LIBS=$LIBS
19877 LIBS="-lcExt $LIBS"
19878 cat >conftest.$ac_ext <<_ACEOF
19881 cat confdefs.h >>conftest.$ac_ext
19882 cat >>conftest.$ac_ext <<_ACEOF
19883 /* end confdefs.h. */
19885 /* Override any GCC internal prototype to avoid an error.
19886 Use char because int might match the return type of a GCC
19887 builtin and then its argument prototype would still apply. */
19900 rm -f conftest.$ac_objext conftest$ac_exeext
19901 if { (ac_try="$ac_link"
19902 case "(($ac_try" in
19903 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19904 *) ac_try_echo
=$ac_try;;
19906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19907 (eval "$ac_link") 2>conftest.er1
19909 grep -v '^ *+' conftest.er1
>conftest.err
19911 cat conftest.err
>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); } && {
19914 test -z "$ac_c_werror_flag" ||
19915 test ! -s conftest.err
19916 } && test -s conftest
$ac_exeext &&
19917 $as_test_x conftest
$ac_exeext; then
19918 ac_cv_lib_cExt_drand48
=yes
19920 echo "$as_me: failed program was:" >&5
19921 sed 's/^/| /' conftest.
$ac_ext >&5
19923 ac_cv_lib_cExt_drand48
=no
19926 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19927 conftest
$ac_exeext conftest.
$ac_ext
19928 LIBS
=$ac_check_lib_save_LIBS
19930 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19931 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19932 if test $ac_cv_lib_cExt_drand48 = yes; then
19933 LIBS
="$LIBS -lcExt"
19937 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
19939 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19940 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19941 if test "${wx_cv_gccversion+set}" = set; then
19942 echo $ECHO_N "(cached) $ECHO_C" >&6
19945 if test "$cross_compiling" = yes; then
19946 wx_cv_gccversion
="EMX2"
19949 cat >conftest.
$ac_ext <<_ACEOF
19952 cat confdefs.h
>>conftest.
$ac_ext
19953 cat >>conftest.
$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19960 FILE *f=fopen("conftestval", "w");
19965 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19967 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19977 rm -f conftest
$ac_exeext
19978 if { (ac_try
="$ac_link"
19979 case "(($ac_try" in
19980 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19981 *) ac_try_echo=$ac_try;;
19983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19984 (eval "$ac_link") 2>&5
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; }; then
19997 wx_cv_gccversion
=`cat conftestval`
19999 echo "$as_me: program exited with status $ac_status" >&5
20000 echo "$as_me: failed program was:" >&5
20001 sed 's/^/| /' conftest.
$ac_ext >&5
20003 ( exit $ac_status )
20004 wx_cv_gccversion
="EMX2"
20006 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20012 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20013 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20014 if test "$wx_cv_gccversion" = "EMX2"; then
20015 LIBS
="$LIBS -lstdcpp"
20016 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20018 if test "$wx_cv_gccversion" = "EMX3"; then
20019 LIBS
="$LIBS -lstdcxx -lgcc"
20020 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20022 LIBS
="$LIBS -lstdc++"
20025 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20026 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20027 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20034 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20035 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20036 if test "${ac_cv_string_strcasecmp+set}" = set; then
20037 echo $ECHO_N "(cached) $ECHO_C" >&6
20040 cat >conftest.
$ac_ext <<_ACEOF
20043 cat confdefs.h
>>conftest.
$ac_ext
20044 cat >>conftest.
$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20047 #include <string.h>
20053 strcasecmp("foo", "bar");
20059 rm -f conftest.
$ac_objext conftest
$ac_exeext
20060 if { (ac_try
="$ac_link"
20061 case "(($ac_try" in
20062 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20063 *) ac_try_echo=$ac_try;;
20065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20066 (eval "$ac_link") 2>conftest.er1
20068 grep -v '^ *+' conftest.er1 >conftest.err
20070 cat conftest.err >&5
20071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20072 (exit $ac_status); } && {
20073 test -z "$ac_c_werror_flag" ||
20074 test ! -s conftest.err
20075 } && test -s conftest$ac_exeext &&
20076 $as_test_x conftest$ac_exeext; then
20077 ac_cv_string_strcasecmp=yes
20079 echo "$as_me: failed program was:" >&5
20080 sed 's/^/| /' conftest.$ac_ext >&5
20082 ac_cv_string_strcasecmp=no
20086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20087 conftest$ac_exeext conftest.$ac_ext
20090 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20091 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20093 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20094 cat >>confdefs.h <<\_ACEOF
20095 #define HAVE_STRCASECMP_IN_STRING_H 1
20099 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20100 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20101 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20102 echo $ECHO_N "(cached) $ECHO_C" >&6
20105 cat >conftest.$ac_ext <<_ACEOF
20108 cat confdefs.h >>conftest.$ac_ext
20109 cat >>conftest.$ac_ext <<_ACEOF
20110 /* end confdefs.h. */
20112 #include <strings.h>
20118 strcasecmp("foo", "bar");
20124 rm -f conftest.$ac_objext conftest$ac_exeext
20125 if { (ac_try="$ac_link"
20126 case "(($ac_try" in
20127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20128 *) ac_try_echo
=$ac_try;;
20130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20131 (eval "$ac_link") 2>conftest.er1
20133 grep -v '^ *+' conftest.er1
>conftest.err
20135 cat conftest.err
>&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); } && {
20138 test -z "$ac_c_werror_flag" ||
20139 test ! -s conftest.err
20140 } && test -s conftest
$ac_exeext &&
20141 $as_test_x conftest
$ac_exeext; then
20142 ac_cv_strings_strcasecmp
=yes
20144 echo "$as_me: failed program was:" >&5
20145 sed 's/^/| /' conftest.
$ac_ext >&5
20147 ac_cv_strings_strcasecmp
=no
20151 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20152 conftest
$ac_exeext conftest.
$ac_ext
20155 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20156 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20158 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
20159 cat >>confdefs.h
<<\_ACEOF
20160 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20164 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20165 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20166 { (exit 1); exit 1; }; }
20174 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20175 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20176 if test "${ac_cv_header_stdc+set}" = set; then
20177 echo $ECHO_N "(cached) $ECHO_C" >&6
20179 cat >conftest.
$ac_ext <<_ACEOF
20182 cat confdefs.h
>>conftest.
$ac_ext
20183 cat >>conftest.
$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20185 #include <stdlib.h>
20186 #include <stdarg.h>
20187 #include <string.h>
20198 rm -f conftest.
$ac_objext
20199 if { (ac_try
="$ac_compile"
20200 case "(($ac_try" in
20201 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20202 *) ac_try_echo=$ac_try;;
20204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20205 (eval "$ac_compile") 2>conftest.er1
20207 grep -v '^ *+' conftest.er1 >conftest.err
20209 cat conftest.err >&5
20210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20211 (exit $ac_status); } && {
20212 test -z "$ac_c_werror_flag" ||
20213 test ! -s conftest.err
20214 } && test -s conftest.$ac_objext; then
20215 ac_cv_header_stdc=yes
20217 echo "$as_me: failed program was:" >&5
20218 sed 's/^/| /' conftest.$ac_ext >&5
20220 ac_cv_header_stdc=no
20223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20225 if test $ac_cv_header_stdc = yes; then
20226 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20227 cat >conftest.$ac_ext <<_ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 #include <string.h>
20236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20237 $EGREP "memchr" >/dev/null 2>&1; then
20240 ac_cv_header_stdc=no
20246 if test $ac_cv_header_stdc = yes; then
20247 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20248 cat >conftest.$ac_ext <<_ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20254 #include <stdlib.h>
20257 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20258 $EGREP "free" >/dev/null 2>&1; then
20261 ac_cv_header_stdc=no
20267 if test $ac_cv_header_stdc = yes; then
20268 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20269 if test "$cross_compiling" = yes; then
20272 cat >conftest.$ac_ext <<_ACEOF
20275 cat confdefs.h >>conftest.$ac_ext
20276 cat >>conftest.$ac_ext <<_ACEOF
20277 /* end confdefs.h. */
20279 #include <stdlib.h>
20280 #if ((' ' & 0x0FF) == 0x020)
20281 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20282 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20284 # define ISLOWER(c) \
20285 (('a' <= (c) && (c) <= 'i') \
20286 || ('j' <= (c) && (c) <= 'r') \
20287 || ('s' <= (c) && (c) <= 'z'))
20288 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20291 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20296 for (i = 0; i < 256; i++)
20297 if (XOR (islower (i), ISLOWER (i))
20298 || toupper (i) != TOUPPER (i))
20303 rm -f conftest$ac_exeext
20304 if { (ac_try="$ac_link"
20305 case "(($ac_try" in
20306 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20307 *) ac_try_echo
=$ac_try;;
20309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20310 (eval "$ac_link") 2>&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; }; then
20325 echo "$as_me: program exited with status $ac_status" >&5
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20329 ( exit $ac_status )
20330 ac_cv_header_stdc=no
20332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20338 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20339 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20340 if test $ac_cv_header_stdc = yes; then
20342 cat >>confdefs.h <<\_ACEOF
20343 #define STDC_HEADERS 1
20348 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20358 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20359 inttypes.h stdint.h unistd.h
20361 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20362 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20364 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20365 echo $ECHO_N "(cached) $ECHO_C" >&6
20367 cat >conftest.$ac_ext <<_ACEOF
20370 cat confdefs.h >>conftest.$ac_ext
20371 cat >>conftest.$ac_ext <<_ACEOF
20372 /* end confdefs.h. */
20373 $ac_includes_default
20375 #include <$ac_header>
20377 rm -f conftest.$ac_objext
20378 if { (ac_try="$ac_compile"
20379 case "(($ac_try" in
20380 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20381 *) ac_try_echo
=$ac_try;;
20383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20384 (eval "$ac_compile") 2>conftest.er1
20386 grep -v '^ *+' conftest.er1
>conftest.err
20388 cat conftest.err
>&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); } && {
20391 test -z "$ac_c_werror_flag" ||
20392 test ! -s conftest.err
20393 } && test -s conftest.
$ac_objext; then
20394 eval "$as_ac_Header=yes"
20396 echo "$as_me: failed program was:" >&5
20397 sed 's/^/| /' conftest.
$ac_ext >&5
20399 eval "$as_ac_Header=no"
20402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20404 ac_res
=`eval echo '${'$as_ac_Header'}'`
20405 { echo "$as_me:$LINENO: result: $ac_res" >&5
20406 echo "${ECHO_T}$ac_res" >&6; }
20407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20408 cat >>confdefs.h
<<_ACEOF
20409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20419 for ac_header
in langinfo.h wchar.h
20421 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20422 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20423 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20424 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20425 echo $ECHO_N "(cached) $ECHO_C" >&6
20427 cat >conftest.
$ac_ext <<_ACEOF
20430 cat confdefs.h
>>conftest.
$ac_ext
20431 cat >>conftest.
$ac_ext <<_ACEOF
20432 /* end confdefs.h. */
20433 $ac_includes_default
20435 #include <$ac_header>
20437 rm -f conftest.
$ac_objext
20438 if { (ac_try
="$ac_compile"
20439 case "(($ac_try" in
20440 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20441 *) ac_try_echo=$ac_try;;
20443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20444 (eval "$ac_compile") 2>conftest.er1
20446 grep -v '^ *+' conftest.er1 >conftest.err
20448 cat conftest.err >&5
20449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20450 (exit $ac_status); } && {
20451 test -z "$ac_c_werror_flag" ||
20452 test ! -s conftest.err
20453 } && test -s conftest.$ac_objext; then
20454 eval "$as_ac_Header=yes"
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.$ac_ext >&5
20459 eval "$as_ac_Header=no"
20462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20464 ac_res=`eval echo '${'$as_ac_Header'}'`
20465 { echo "$as_me:$LINENO: result: $ac_res" >&5
20466 echo "${ECHO_T}$ac_res" >&6; }
20467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20468 cat >>confdefs.h <<_ACEOF
20469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20477 if test "$ac_cv_header_wchar_h" != "yes"; then
20479 for ac_header in wcstr.h
20481 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20482 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20484 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20485 echo $ECHO_N "(cached) $ECHO_C" >&6
20487 cat >conftest.$ac_ext <<_ACEOF
20490 cat confdefs.h >>conftest.$ac_ext
20491 cat >>conftest.$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 $ac_includes_default
20495 #include <$ac_header>
20497 rm -f conftest.$ac_objext
20498 if { (ac_try="$ac_compile"
20499 case "(($ac_try" in
20500 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20501 *) ac_try_echo
=$ac_try;;
20503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20504 (eval "$ac_compile") 2>conftest.er1
20506 grep -v '^ *+' conftest.er1
>conftest.err
20508 cat conftest.err
>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); } && {
20511 test -z "$ac_c_werror_flag" ||
20512 test ! -s conftest.err
20513 } && test -s conftest.
$ac_objext; then
20514 eval "$as_ac_Header=yes"
20516 echo "$as_me: failed program was:" >&5
20517 sed 's/^/| /' conftest.
$ac_ext >&5
20519 eval "$as_ac_Header=no"
20522 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20524 ac_res
=`eval echo '${'$as_ac_Header'}'`
20525 { echo "$as_me:$LINENO: result: $ac_res" >&5
20526 echo "${ECHO_T}$ac_res" >&6; }
20527 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20528 cat >>confdefs.h
<<_ACEOF
20529 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20539 *-pc-os2_emx | *-pc-os2-emx )
20540 if test $ac_cv_header_langinfo_h = "yes" \
20541 -a \
( "$wx_cv_gccversion" = "EMX2" \
20542 -o "$wx_cv_gccversion" = "EMX3" \
20543 -o "$wx_cv_gccversion" = "Innotek5" \
); then
20544 LIBS
="$LIBS -lintl"
20549 if test "$USE_UNIX" = 1 ; then
20551 for ac_header
in sys
/select.h
20553 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20554 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20555 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20556 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20557 echo $ECHO_N "(cached) $ECHO_C" >&6
20559 cat >conftest.
$ac_ext <<_ACEOF
20562 cat confdefs.h
>>conftest.
$ac_ext
20563 cat >>conftest.
$ac_ext <<_ACEOF
20564 /* end confdefs.h. */
20565 $ac_includes_default
20567 #include <$ac_header>
20569 rm -f conftest.
$ac_objext
20570 if { (ac_try
="$ac_compile"
20571 case "(($ac_try" in
20572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20573 *) ac_try_echo=$ac_try;;
20575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20576 (eval "$ac_compile") 2>conftest.er1
20578 grep -v '^ *+' conftest.er1 >conftest.err
20580 cat conftest.err >&5
20581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20582 (exit $ac_status); } && {
20583 test -z "$ac_c_werror_flag" ||
20584 test ! -s conftest.err
20585 } && test -s conftest.$ac_objext; then
20586 eval "$as_ac_Header=yes"
20588 echo "$as_me: failed program was:" >&5
20589 sed 's/^/| /' conftest.$ac_ext >&5
20591 eval "$as_ac_Header=no"
20594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20596 ac_res=`eval echo '${'$as_ac_Header'}'`
20597 { echo "$as_me:$LINENO: result: $ac_res" >&5
20598 echo "${ECHO_T}$ac_res" >&6; }
20599 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20600 cat >>confdefs.h <<_ACEOF
20601 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20611 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20612 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20613 if test "${ac_cv_c_const+set}" = set; then
20614 echo $ECHO_N "(cached) $ECHO_C" >&6
20616 cat >conftest.$ac_ext <<_ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20626 /* FIXME: Include the comments suggested by Paul. */
20627 #ifndef __cplusplus
20628 /* Ultrix mips cc rejects this. */
20629 typedef int charset[2];
20631 /* SunOS 4.1.1 cc rejects this. */
20632 char const *const *pcpcc;
20634 /* NEC SVR4.0.2 mips cc rejects this. */
20635 struct point {int x, y;};
20636 static struct point const zero = {0,0};
20637 /* AIX XL C 1.02.0.0 rejects this.
20638 It does not let you subtract one const X* pointer from another in
20639 an arm of an if-expression whose if-part is not a constant
20641 const char *g = "string";
20642 pcpcc = &g + (g ? g-g : 0);
20643 /* HPUX 7.0 cc rejects these. */
20645 ppc = (char**) pcpcc;
20646 pcpcc = (char const *const *) ppc;
20647 { /* SCO 3.2v4 cc rejects this. */
20649 char const *s = 0 ? (char *) 0 : (char const *) 0;
20654 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20655 int x[] = {25, 17};
20656 const int *foo = &x[0];
20659 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20660 typedef const int *iptr;
20664 { /* AIX XL C 1.02.0.0 rejects this saying
20665 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20666 struct s { int j; const int *ap[3]; };
20667 struct s *b; b->j = 5;
20669 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20670 const int foo = 10;
20671 if (!foo) return 0;
20673 return !cs[0] && !zero.x;
20680 rm -f conftest.$ac_objext
20681 if { (ac_try="$ac_compile"
20682 case "(($ac_try" in
20683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20684 *) ac_try_echo
=$ac_try;;
20686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20687 (eval "$ac_compile") 2>conftest.er1
20689 grep -v '^ *+' conftest.er1
>conftest.err
20691 cat conftest.err
>&5
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); } && {
20694 test -z "$ac_c_werror_flag" ||
20695 test ! -s conftest.err
20696 } && test -s conftest.
$ac_objext; then
20699 echo "$as_me: failed program was:" >&5
20700 sed 's/^/| /' conftest.
$ac_ext >&5
20705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20707 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20708 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20709 if test $ac_cv_c_const = no
; then
20711 cat >>confdefs.h
<<\_ACEOF
20717 { echo "$as_me:$LINENO: checking for inline" >&5
20718 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20719 if test "${ac_cv_c_inline+set}" = set; then
20720 echo $ECHO_N "(cached) $ECHO_C" >&6
20723 for ac_kw
in inline __inline__ __inline
; do
20724 cat >conftest.
$ac_ext <<_ACEOF
20727 cat confdefs.h
>>conftest.
$ac_ext
20728 cat >>conftest.
$ac_ext <<_ACEOF
20729 /* end confdefs.h. */
20730 #ifndef __cplusplus
20732 static $ac_kw foo_t static_foo () {return 0; }
20733 $ac_kw foo_t foo () {return 0; }
20737 rm -f conftest.
$ac_objext
20738 if { (ac_try
="$ac_compile"
20739 case "(($ac_try" in
20740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20741 *) ac_try_echo=$ac_try;;
20743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20744 (eval "$ac_compile") 2>conftest.er1
20746 grep -v '^ *+' conftest.er1 >conftest.err
20748 cat conftest.err >&5
20749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20750 (exit $ac_status); } && {
20751 test -z "$ac_c_werror_flag" ||
20752 test ! -s conftest.err
20753 } && test -s conftest.$ac_objext; then
20754 ac_cv_c_inline=$ac_kw
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20763 test "$ac_cv_c_inline" != no && break
20767 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20768 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20771 case $ac_cv_c_inline in
20774 case $ac_cv_c_inline in
20776 *) ac_val=$ac_cv_c_inline;;
20778 cat >>confdefs.h <<_ACEOF
20779 #ifndef __cplusplus
20780 #define inline $ac_val
20787 { echo "$as_me:$LINENO: checking for short" >&5
20788 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20789 if test "${ac_cv_type_short+set}" = set; then
20790 echo $ECHO_N "(cached) $ECHO_C" >&6
20792 cat >conftest.$ac_ext <<_ACEOF
20795 cat confdefs.h >>conftest.$ac_ext
20796 cat >>conftest.$ac_ext <<_ACEOF
20797 /* end confdefs.h. */
20798 $ac_includes_default
20799 typedef short ac__type_new_;
20803 if ((ac__type_new_ *) 0)
20805 if (sizeof (ac__type_new_))
20811 rm -f conftest.$ac_objext
20812 if { (ac_try="$ac_compile"
20813 case "(($ac_try" in
20814 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20815 *) ac_try_echo
=$ac_try;;
20817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20818 (eval "$ac_compile") 2>conftest.er1
20820 grep -v '^ *+' conftest.er1
>conftest.err
20822 cat conftest.err
>&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); } && {
20825 test -z "$ac_c_werror_flag" ||
20826 test ! -s conftest.err
20827 } && test -s conftest.
$ac_objext; then
20828 ac_cv_type_short
=yes
20830 echo "$as_me: failed program was:" >&5
20831 sed 's/^/| /' conftest.
$ac_ext >&5
20833 ac_cv_type_short
=no
20836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20838 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20839 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20841 # The cast to long int works around a bug in the HP C Compiler
20842 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20843 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20844 # This bug is HP SR number 8606223364.
20845 { echo "$as_me:$LINENO: checking size of short" >&5
20846 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20847 if test "${ac_cv_sizeof_short+set}" = set; then
20848 echo $ECHO_N "(cached) $ECHO_C" >&6
20850 if test "$cross_compiling" = yes; then
20851 # Depending upon the size, compute the lo and hi bounds.
20852 cat >conftest.
$ac_ext <<_ACEOF
20855 cat confdefs.h
>>conftest.
$ac_ext
20856 cat >>conftest.
$ac_ext <<_ACEOF
20857 /* end confdefs.h. */
20858 $ac_includes_default
20859 typedef short ac__type_sizeof_;
20863 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20870 rm -f conftest.
$ac_objext
20871 if { (ac_try
="$ac_compile"
20872 case "(($ac_try" in
20873 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20874 *) ac_try_echo=$ac_try;;
20876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20877 (eval "$ac_compile") 2>conftest.er1
20879 grep -v '^ *+' conftest.er1 >conftest.err
20881 cat conftest.err >&5
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); } && {
20884 test -z "$ac_c_werror_flag" ||
20885 test ! -s conftest.err
20886 } && test -s conftest.$ac_objext; then
20889 cat >conftest.$ac_ext <<_ACEOF
20892 cat confdefs.h >>conftest.$ac_ext
20893 cat >>conftest.$ac_ext <<_ACEOF
20894 /* end confdefs.h. */
20895 $ac_includes_default
20896 typedef short ac__type_sizeof_;
20900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20907 rm -f conftest.$ac_objext
20908 if { (ac_try="$ac_compile"
20909 case "(($ac_try" in
20910 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20911 *) ac_try_echo
=$ac_try;;
20913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20914 (eval "$ac_compile") 2>conftest.er1
20916 grep -v '^ *+' conftest.er1
>conftest.err
20918 cat conftest.err
>&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } && {
20921 test -z "$ac_c_werror_flag" ||
20922 test ! -s conftest.err
20923 } && test -s conftest.
$ac_objext; then
20924 ac_hi
=$ac_mid; break
20926 echo "$as_me: failed program was:" >&5
20927 sed 's/^/| /' conftest.
$ac_ext >&5
20929 ac_lo
=`expr $ac_mid + 1`
20930 if test $ac_lo -le $ac_mid; then
20934 ac_mid
=`expr 2 '*' $ac_mid + 1`
20937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20940 echo "$as_me: failed program was:" >&5
20941 sed 's/^/| /' conftest.
$ac_ext >&5
20943 cat >conftest.
$ac_ext <<_ACEOF
20946 cat confdefs.h
>>conftest.
$ac_ext
20947 cat >>conftest.
$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20949 $ac_includes_default
20950 typedef short ac__type_sizeof_;
20954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20961 rm -f conftest.
$ac_objext
20962 if { (ac_try
="$ac_compile"
20963 case "(($ac_try" in
20964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20965 *) ac_try_echo=$ac_try;;
20967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20968 (eval "$ac_compile") 2>conftest.er1
20970 grep -v '^ *+' conftest.er1 >conftest.err
20972 cat conftest.err >&5
20973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20974 (exit $ac_status); } && {
20975 test -z "$ac_c_werror_flag" ||
20976 test ! -s conftest.err
20977 } && test -s conftest.$ac_objext; then
20980 cat >conftest.$ac_ext <<_ACEOF
20983 cat confdefs.h >>conftest.$ac_ext
20984 cat >>conftest.$ac_ext <<_ACEOF
20985 /* end confdefs.h. */
20986 $ac_includes_default
20987 typedef short ac__type_sizeof_;
20991 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20998 rm -f conftest.$ac_objext
20999 if { (ac_try="$ac_compile"
21000 case "(($ac_try" in
21001 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21002 *) ac_try_echo
=$ac_try;;
21004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21005 (eval "$ac_compile") 2>conftest.er1
21007 grep -v '^ *+' conftest.er1
>conftest.err
21009 cat conftest.err
>&5
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); } && {
21012 test -z "$ac_c_werror_flag" ||
21013 test ! -s conftest.err
21014 } && test -s conftest.
$ac_objext; then
21015 ac_lo
=$ac_mid; break
21017 echo "$as_me: failed program was:" >&5
21018 sed 's/^/| /' conftest.
$ac_ext >&5
21020 ac_hi
=`expr '(' $ac_mid ')' - 1`
21021 if test $ac_mid -le $ac_hi; then
21025 ac_mid
=`expr 2 '*' $ac_mid`
21028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21031 echo "$as_me: failed program was:" >&5
21032 sed 's/^/| /' conftest.
$ac_ext >&5
21037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21041 # Binary search between lo and hi bounds.
21042 while test "x$ac_lo" != "x$ac_hi"; do
21043 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21044 cat >conftest.
$ac_ext <<_ACEOF
21047 cat confdefs.h
>>conftest.
$ac_ext
21048 cat >>conftest.
$ac_ext <<_ACEOF
21049 /* end confdefs.h. */
21050 $ac_includes_default
21051 typedef short ac__type_sizeof_;
21055 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21062 rm -f conftest.
$ac_objext
21063 if { (ac_try
="$ac_compile"
21064 case "(($ac_try" in
21065 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21066 *) ac_try_echo=$ac_try;;
21068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21069 (eval "$ac_compile") 2>conftest.er1
21071 grep -v '^ *+' conftest.er1 >conftest.err
21073 cat conftest.err >&5
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } && {
21076 test -z "$ac_c_werror_flag" ||
21077 test ! -s conftest.err
21078 } && test -s conftest.$ac_objext; then
21081 echo "$as_me: failed program was:" >&5
21082 sed 's/^/| /' conftest.$ac_ext >&5
21084 ac_lo=`expr '(' $ac_mid ')' + 1`
21087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21090 ?*) ac_cv_sizeof_short=$ac_lo;;
21091 '') if test "$ac_cv_type_short" = yes; then
21092 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21093 See \`config.log
' for more details." >&5
21094 echo "$as_me: error: cannot compute sizeof (short)
21095 See \`config.log' for more details.
" >&2;}
21096 { (exit 77); exit 77; }; }
21098 ac_cv_sizeof_short=0
21102 cat >conftest.$ac_ext <<_ACEOF
21105 cat confdefs.h >>conftest.$ac_ext
21106 cat >>conftest.$ac_ext <<_ACEOF
21107 /* end confdefs.h. */
21108 $ac_includes_default
21109 typedef short ac__type_sizeof_;
21110 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21111 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21113 #include <stdlib.h>
21118 FILE *f = fopen ("conftest.val
", "w
");
21121 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21123 long int i = longval ();
21124 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21126 fprintf (f, "%ld
\n", i);
21130 unsigned long int i = ulongval ();
21131 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21133 fprintf (f, "%lu
\n", i);
21135 return ferror (f) || fclose (f) != 0;
21141 rm -f conftest$ac_exeext
21142 if { (ac_try="$ac_link"
21143 case "(($ac_try" in
21144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21145 *) ac_try_echo=$ac_try;;
21147 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21148 (eval "$ac_link") 2>&5
21150 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21151 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21159 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21160 (exit $ac_status); }; }; then
21161 ac_cv_sizeof_short=`cat conftest.val`
21163 echo "$as_me: program exited with status
$ac_status" >&5
21164 echo "$as_me: failed program was
:" >&5
21165 sed 's/^/| /' conftest.$ac_ext >&5
21167 ( exit $ac_status )
21168 if test "$ac_cv_type_short" = yes; then
21169 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
21170 See \
`config.log' for more details." >&5
21171 echo "$as_me: error: cannot compute sizeof (short)
21172 See \`config.log
' for more details." >&2;}
21173 { (exit 77); exit 77; }; }
21175 ac_cv_sizeof_short=0
21178 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21182 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21183 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21187 cat >>confdefs.h <<_ACEOF
21188 #define SIZEOF_SHORT $ac_cv_sizeof_short
21192 { echo "$as_me:$LINENO: checking for void *" >&5
21193 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21194 if test "${ac_cv_type_void_p+set}" = set; then
21195 echo $ECHO_N "(cached) $ECHO_C" >&6
21197 cat >conftest.$ac_ext <<_ACEOF
21200 cat confdefs.h >>conftest.$ac_ext
21201 cat >>conftest.$ac_ext <<_ACEOF
21202 /* end confdefs.h. */
21203 $ac_includes_default
21204 typedef void * ac__type_new_;
21208 if ((ac__type_new_ *) 0)
21210 if (sizeof (ac__type_new_))
21216 rm -f conftest.$ac_objext
21217 if { (ac_try="$ac_compile"
21218 case "(($ac_try" in
21219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21220 *) ac_try_echo=$ac_try;;
21222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21223 (eval "$ac_compile") 2>conftest.er1
21225 grep -v '^
*+' conftest.er1 >conftest.err
21227 cat conftest.err >&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } && {
21230 test -z "$ac_c_werror_flag" ||
21231 test ! -s conftest.err
21232 } && test -s conftest.$ac_objext; then
21233 ac_cv_type_void_p=yes
21235 echo "$as_me: failed program was:" >&5
21236 sed 's
/^
/| /' conftest.$ac_ext >&5
21238 ac_cv_type_void_p=no
21241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21244 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21246 # The cast to long int works around a bug in the HP C Compiler
21247 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21248 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21249 # This bug is HP SR number 8606223364.
21250 { echo "$as_me:$LINENO: checking size of void *" >&5
21251 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21252 if test "${ac_cv_sizeof_void_p+set}" = set; then
21253 echo $ECHO_N "(cached) $ECHO_C" >&6
21255 if test "$cross_compiling" = yes; then
21256 # Depending upon the size, compute the lo and hi bounds.
21257 cat >conftest.
$ac_ext <<_ACEOF
21260 cat confdefs.h
>>conftest.
$ac_ext
21261 cat >>conftest.
$ac_ext <<_ACEOF
21262 /* end confdefs.h. */
21263 $ac_includes_default
21264 typedef void * ac__type_sizeof_;
21268 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21275 rm -f conftest.
$ac_objext
21276 if { (ac_try
="$ac_compile"
21277 case "(($ac_try" in
21278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21279 *) ac_try_echo=$ac_try;;
21281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21282 (eval "$ac_compile") 2>conftest.er1
21284 grep -v '^ *+' conftest.er1 >conftest.err
21286 cat conftest.err >&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); } && {
21289 test -z "$ac_c_werror_flag" ||
21290 test ! -s conftest.err
21291 } && test -s conftest.$ac_objext; then
21294 cat >conftest.$ac_ext <<_ACEOF
21297 cat confdefs.h >>conftest.$ac_ext
21298 cat >>conftest.$ac_ext <<_ACEOF
21299 /* end confdefs.h. */
21300 $ac_includes_default
21301 typedef void * ac__type_sizeof_;
21305 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21312 rm -f conftest.$ac_objext
21313 if { (ac_try="$ac_compile"
21314 case "(($ac_try" in
21315 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21316 *) ac_try_echo
=$ac_try;;
21318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21319 (eval "$ac_compile") 2>conftest.er1
21321 grep -v '^ *+' conftest.er1
>conftest.err
21323 cat conftest.err
>&5
21324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21325 (exit $ac_status); } && {
21326 test -z "$ac_c_werror_flag" ||
21327 test ! -s conftest.err
21328 } && test -s conftest.
$ac_objext; then
21329 ac_hi
=$ac_mid; break
21331 echo "$as_me: failed program was:" >&5
21332 sed 's/^/| /' conftest.
$ac_ext >&5
21334 ac_lo
=`expr $ac_mid + 1`
21335 if test $ac_lo -le $ac_mid; then
21339 ac_mid
=`expr 2 '*' $ac_mid + 1`
21342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21345 echo "$as_me: failed program was:" >&5
21346 sed 's/^/| /' conftest.
$ac_ext >&5
21348 cat >conftest.
$ac_ext <<_ACEOF
21351 cat confdefs.h
>>conftest.
$ac_ext
21352 cat >>conftest.
$ac_ext <<_ACEOF
21353 /* end confdefs.h. */
21354 $ac_includes_default
21355 typedef void * ac__type_sizeof_;
21359 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21366 rm -f conftest.
$ac_objext
21367 if { (ac_try
="$ac_compile"
21368 case "(($ac_try" in
21369 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21370 *) ac_try_echo=$ac_try;;
21372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21373 (eval "$ac_compile") 2>conftest.er1
21375 grep -v '^ *+' conftest.er1 >conftest.err
21377 cat conftest.err >&5
21378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21379 (exit $ac_status); } && {
21380 test -z "$ac_c_werror_flag" ||
21381 test ! -s conftest.err
21382 } && test -s conftest.$ac_objext; then
21385 cat >conftest.$ac_ext <<_ACEOF
21388 cat confdefs.h >>conftest.$ac_ext
21389 cat >>conftest.$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21391 $ac_includes_default
21392 typedef void * ac__type_sizeof_;
21396 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21403 rm -f conftest.$ac_objext
21404 if { (ac_try="$ac_compile"
21405 case "(($ac_try" in
21406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21407 *) ac_try_echo
=$ac_try;;
21409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21410 (eval "$ac_compile") 2>conftest.er1
21412 grep -v '^ *+' conftest.er1
>conftest.err
21414 cat conftest.err
>&5
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); } && {
21417 test -z "$ac_c_werror_flag" ||
21418 test ! -s conftest.err
21419 } && test -s conftest.
$ac_objext; then
21420 ac_lo
=$ac_mid; break
21422 echo "$as_me: failed program was:" >&5
21423 sed 's/^/| /' conftest.
$ac_ext >&5
21425 ac_hi
=`expr '(' $ac_mid ')' - 1`
21426 if test $ac_mid -le $ac_hi; then
21430 ac_mid
=`expr 2 '*' $ac_mid`
21433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21436 echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.
$ac_ext >&5
21442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21445 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21446 # Binary search between lo and hi bounds.
21447 while test "x$ac_lo" != "x$ac_hi"; do
21448 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21449 cat >conftest.
$ac_ext <<_ACEOF
21452 cat confdefs.h
>>conftest.
$ac_ext
21453 cat >>conftest.
$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21455 $ac_includes_default
21456 typedef void * ac__type_sizeof_;
21460 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21467 rm -f conftest.
$ac_objext
21468 if { (ac_try
="$ac_compile"
21469 case "(($ac_try" in
21470 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21471 *) ac_try_echo=$ac_try;;
21473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21474 (eval "$ac_compile") 2>conftest.er1
21476 grep -v '^ *+' conftest.er1 >conftest.err
21478 cat conftest.err >&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); } && {
21481 test -z "$ac_c_werror_flag" ||
21482 test ! -s conftest.err
21483 } && test -s conftest.$ac_objext; then
21486 echo "$as_me: failed program was:" >&5
21487 sed 's/^/| /' conftest.$ac_ext >&5
21489 ac_lo=`expr '(' $ac_mid ')' + 1`
21492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21495 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21496 '') if test "$ac_cv_type_void_p" = yes; then
21497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21498 See \`config.log
' for more details." >&5
21499 echo "$as_me: error: cannot compute sizeof (void *)
21500 See \`config.log' for more details.
" >&2;}
21501 { (exit 77); exit 77; }; }
21503 ac_cv_sizeof_void_p=0
21507 cat >conftest.$ac_ext <<_ACEOF
21510 cat confdefs.h >>conftest.$ac_ext
21511 cat >>conftest.$ac_ext <<_ACEOF
21512 /* end confdefs.h. */
21513 $ac_includes_default
21514 typedef void * ac__type_sizeof_;
21515 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21516 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21518 #include <stdlib.h>
21523 FILE *f = fopen ("conftest.val
", "w
");
21526 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21528 long int i = longval ();
21529 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21531 fprintf (f, "%ld
\n", i);
21535 unsigned long int i = ulongval ();
21536 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21538 fprintf (f, "%lu
\n", i);
21540 return ferror (f) || fclose (f) != 0;
21546 rm -f conftest$ac_exeext
21547 if { (ac_try="$ac_link"
21548 case "(($ac_try" in
21549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21550 *) ac_try_echo=$ac_try;;
21552 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21553 (eval "$ac_link") 2>&5
21555 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21556 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21564 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21565 (exit $ac_status); }; }; then
21566 ac_cv_sizeof_void_p=`cat conftest.val`
21568 echo "$as_me: program exited with status
$ac_status" >&5
21569 echo "$as_me: failed program was
:" >&5
21570 sed 's/^/| /' conftest.$ac_ext >&5
21572 ( exit $ac_status )
21573 if test "$ac_cv_type_void_p" = yes; then
21574 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21575 See \
`config.log' for more details." >&5
21576 echo "$as_me: error: cannot compute sizeof (void *)
21577 See \`config.log
' for more details." >&2;}
21578 { (exit 77); exit 77; }; }
21580 ac_cv_sizeof_void_p=0
21583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21587 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21588 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21592 cat >>confdefs.h <<_ACEOF
21593 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21597 { echo "$as_me:$LINENO: checking for int" >&5
21598 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21599 if test "${ac_cv_type_int+set}" = set; then
21600 echo $ECHO_N "(cached) $ECHO_C" >&6
21602 cat >conftest.$ac_ext <<_ACEOF
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21608 $ac_includes_default
21609 typedef int ac__type_new_;
21613 if ((ac__type_new_ *) 0)
21615 if (sizeof (ac__type_new_))
21621 rm -f conftest.$ac_objext
21622 if { (ac_try="$ac_compile"
21623 case "(($ac_try" in
21624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21625 *) ac_try_echo=$ac_try;;
21627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21628 (eval "$ac_compile") 2>conftest.er1
21630 grep -v '^
*+' conftest.er1 >conftest.err
21632 cat conftest.err >&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); } && {
21635 test -z "$ac_c_werror_flag" ||
21636 test ! -s conftest.err
21637 } && test -s conftest.$ac_objext; then
21640 echo "$as_me: failed program was:" >&5
21641 sed 's
/^
/| /' conftest.$ac_ext >&5
21646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21648 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21649 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21651 # The cast to long int works around a bug in the HP C Compiler
21652 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21653 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21654 # This bug is HP SR number 8606223364.
21655 { echo "$as_me:$LINENO: checking size of int" >&5
21656 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21657 if test "${ac_cv_sizeof_int+set}" = set; then
21658 echo $ECHO_N "(cached) $ECHO_C" >&6
21660 if test "$cross_compiling" = yes; then
21661 # Depending upon the size, compute the lo and hi bounds.
21662 cat >conftest.
$ac_ext <<_ACEOF
21665 cat confdefs.h
>>conftest.
$ac_ext
21666 cat >>conftest.
$ac_ext <<_ACEOF
21667 /* end confdefs.h. */
21668 $ac_includes_default
21669 typedef int ac__type_sizeof_;
21673 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21680 rm -f conftest.
$ac_objext
21681 if { (ac_try
="$ac_compile"
21682 case "(($ac_try" in
21683 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21684 *) ac_try_echo=$ac_try;;
21686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21687 (eval "$ac_compile") 2>conftest.er1
21689 grep -v '^ *+' conftest.er1 >conftest.err
21691 cat conftest.err >&5
21692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21693 (exit $ac_status); } && {
21694 test -z "$ac_c_werror_flag" ||
21695 test ! -s conftest.err
21696 } && test -s conftest.$ac_objext; then
21699 cat >conftest.$ac_ext <<_ACEOF
21702 cat confdefs.h >>conftest.$ac_ext
21703 cat >>conftest.$ac_ext <<_ACEOF
21704 /* end confdefs.h. */
21705 $ac_includes_default
21706 typedef int ac__type_sizeof_;
21710 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21717 rm -f conftest.$ac_objext
21718 if { (ac_try="$ac_compile"
21719 case "(($ac_try" in
21720 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21721 *) ac_try_echo
=$ac_try;;
21723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21724 (eval "$ac_compile") 2>conftest.er1
21726 grep -v '^ *+' conftest.er1
>conftest.err
21728 cat conftest.err
>&5
21729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21730 (exit $ac_status); } && {
21731 test -z "$ac_c_werror_flag" ||
21732 test ! -s conftest.err
21733 } && test -s conftest.
$ac_objext; then
21734 ac_hi
=$ac_mid; break
21736 echo "$as_me: failed program was:" >&5
21737 sed 's/^/| /' conftest.
$ac_ext >&5
21739 ac_lo
=`expr $ac_mid + 1`
21740 if test $ac_lo -le $ac_mid; then
21744 ac_mid
=`expr 2 '*' $ac_mid + 1`
21747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21750 echo "$as_me: failed program was:" >&5
21751 sed 's/^/| /' conftest.
$ac_ext >&5
21753 cat >conftest.
$ac_ext <<_ACEOF
21756 cat confdefs.h
>>conftest.
$ac_ext
21757 cat >>conftest.
$ac_ext <<_ACEOF
21758 /* end confdefs.h. */
21759 $ac_includes_default
21760 typedef int ac__type_sizeof_;
21764 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21771 rm -f conftest.
$ac_objext
21772 if { (ac_try
="$ac_compile"
21773 case "(($ac_try" in
21774 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21775 *) ac_try_echo=$ac_try;;
21777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21778 (eval "$ac_compile") 2>conftest.er1
21780 grep -v '^ *+' conftest.er1 >conftest.err
21782 cat conftest.err >&5
21783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21784 (exit $ac_status); } && {
21785 test -z "$ac_c_werror_flag" ||
21786 test ! -s conftest.err
21787 } && test -s conftest.$ac_objext; then
21790 cat >conftest.$ac_ext <<_ACEOF
21793 cat confdefs.h >>conftest.$ac_ext
21794 cat >>conftest.$ac_ext <<_ACEOF
21795 /* end confdefs.h. */
21796 $ac_includes_default
21797 typedef int ac__type_sizeof_;
21801 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21808 rm -f conftest.$ac_objext
21809 if { (ac_try="$ac_compile"
21810 case "(($ac_try" in
21811 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21812 *) ac_try_echo
=$ac_try;;
21814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21815 (eval "$ac_compile") 2>conftest.er1
21817 grep -v '^ *+' conftest.er1
>conftest.err
21819 cat conftest.err
>&5
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); } && {
21822 test -z "$ac_c_werror_flag" ||
21823 test ! -s conftest.err
21824 } && test -s conftest.
$ac_objext; then
21825 ac_lo
=$ac_mid; break
21827 echo "$as_me: failed program was:" >&5
21828 sed 's/^/| /' conftest.
$ac_ext >&5
21830 ac_hi
=`expr '(' $ac_mid ')' - 1`
21831 if test $ac_mid -le $ac_hi; then
21835 ac_mid
=`expr 2 '*' $ac_mid`
21838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21841 echo "$as_me: failed program was:" >&5
21842 sed 's/^/| /' conftest.
$ac_ext >&5
21847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21850 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21851 # Binary search between lo and hi bounds.
21852 while test "x$ac_lo" != "x$ac_hi"; do
21853 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21854 cat >conftest.
$ac_ext <<_ACEOF
21857 cat confdefs.h
>>conftest.
$ac_ext
21858 cat >>conftest.
$ac_ext <<_ACEOF
21859 /* end confdefs.h. */
21860 $ac_includes_default
21861 typedef int ac__type_sizeof_;
21865 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21872 rm -f conftest.
$ac_objext
21873 if { (ac_try
="$ac_compile"
21874 case "(($ac_try" in
21875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21876 *) ac_try_echo=$ac_try;;
21878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21879 (eval "$ac_compile") 2>conftest.er1
21881 grep -v '^ *+' conftest.er1 >conftest.err
21883 cat conftest.err >&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); } && {
21886 test -z "$ac_c_werror_flag" ||
21887 test ! -s conftest.err
21888 } && test -s conftest.$ac_objext; then
21891 echo "$as_me: failed program was:" >&5
21892 sed 's/^/| /' conftest.$ac_ext >&5
21894 ac_lo=`expr '(' $ac_mid ')' + 1`
21897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21900 ?*) ac_cv_sizeof_int=$ac_lo;;
21901 '') if test "$ac_cv_type_int" = yes; then
21902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21903 See \`config.log
' for more details." >&5
21904 echo "$as_me: error: cannot compute sizeof (int)
21905 See \`config.log' for more details.
" >&2;}
21906 { (exit 77); exit 77; }; }
21912 cat >conftest.$ac_ext <<_ACEOF
21915 cat confdefs.h >>conftest.$ac_ext
21916 cat >>conftest.$ac_ext <<_ACEOF
21917 /* end confdefs.h. */
21918 $ac_includes_default
21919 typedef int ac__type_sizeof_;
21920 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21921 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21923 #include <stdlib.h>
21928 FILE *f = fopen ("conftest.val
", "w
");
21931 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21933 long int i = longval ();
21934 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21936 fprintf (f, "%ld
\n", i);
21940 unsigned long int i = ulongval ();
21941 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21943 fprintf (f, "%lu
\n", i);
21945 return ferror (f) || fclose (f) != 0;
21951 rm -f conftest$ac_exeext
21952 if { (ac_try="$ac_link"
21953 case "(($ac_try" in
21954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21955 *) ac_try_echo=$ac_try;;
21957 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21958 (eval "$ac_link") 2>&5
21960 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21961 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
21969 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21970 (exit $ac_status); }; }; then
21971 ac_cv_sizeof_int=`cat conftest.val`
21973 echo "$as_me: program exited with status
$ac_status" >&5
21974 echo "$as_me: failed program was
:" >&5
21975 sed 's/^/| /' conftest.$ac_ext >&5
21977 ( exit $ac_status )
21978 if test "$ac_cv_type_int" = yes; then
21979 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21980 See \
`config.log' for more details." >&5
21981 echo "$as_me: error: cannot compute sizeof (int)
21982 See \`config.log
' for more details." >&2;}
21983 { (exit 77); exit 77; }; }
21988 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21992 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21993 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21997 cat >>confdefs.h <<_ACEOF
21998 #define SIZEOF_INT $ac_cv_sizeof_int
22002 { echo "$as_me:$LINENO: checking for long" >&5
22003 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22004 if test "${ac_cv_type_long+set}" = set; then
22005 echo $ECHO_N "(cached) $ECHO_C" >&6
22007 cat >conftest.$ac_ext <<_ACEOF
22010 cat confdefs.h >>conftest.$ac_ext
22011 cat >>conftest.$ac_ext <<_ACEOF
22012 /* end confdefs.h. */
22013 $ac_includes_default
22014 typedef long ac__type_new_;
22018 if ((ac__type_new_ *) 0)
22020 if (sizeof (ac__type_new_))
22026 rm -f conftest.$ac_objext
22027 if { (ac_try="$ac_compile"
22028 case "(($ac_try" in
22029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22030 *) ac_try_echo=$ac_try;;
22032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22033 (eval "$ac_compile") 2>conftest.er1
22035 grep -v '^
*+' conftest.er1 >conftest.err
22037 cat conftest.err >&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); } && {
22040 test -z "$ac_c_werror_flag" ||
22041 test ! -s conftest.err
22042 } && test -s conftest.$ac_objext; then
22043 ac_cv_type_long=yes
22045 echo "$as_me: failed program was:" >&5
22046 sed 's
/^
/| /' conftest.$ac_ext >&5
22051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22053 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22054 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22056 # The cast to long int works around a bug in the HP C Compiler
22057 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22058 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22059 # This bug is HP SR number 8606223364.
22060 { echo "$as_me:$LINENO: checking size of long" >&5
22061 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22062 if test "${ac_cv_sizeof_long+set}" = set; then
22063 echo $ECHO_N "(cached) $ECHO_C" >&6
22065 if test "$cross_compiling" = yes; then
22066 # Depending upon the size, compute the lo and hi bounds.
22067 cat >conftest.
$ac_ext <<_ACEOF
22070 cat confdefs.h
>>conftest.
$ac_ext
22071 cat >>conftest.
$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22073 $ac_includes_default
22074 typedef long ac__type_sizeof_;
22078 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22085 rm -f conftest.
$ac_objext
22086 if { (ac_try
="$ac_compile"
22087 case "(($ac_try" in
22088 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22089 *) ac_try_echo=$ac_try;;
22091 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22092 (eval "$ac_compile") 2>conftest.er1
22094 grep -v '^ *+' conftest.er1 >conftest.err
22096 cat conftest.err >&5
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); } && {
22099 test -z "$ac_c_werror_flag" ||
22100 test ! -s conftest.err
22101 } && test -s conftest.$ac_objext; then
22104 cat >conftest.$ac_ext <<_ACEOF
22107 cat confdefs.h >>conftest.$ac_ext
22108 cat >>conftest.$ac_ext <<_ACEOF
22109 /* end confdefs.h. */
22110 $ac_includes_default
22111 typedef long ac__type_sizeof_;
22115 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22122 rm -f conftest.$ac_objext
22123 if { (ac_try="$ac_compile"
22124 case "(($ac_try" in
22125 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22126 *) ac_try_echo
=$ac_try;;
22128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22129 (eval "$ac_compile") 2>conftest.er1
22131 grep -v '^ *+' conftest.er1
>conftest.err
22133 cat conftest.err
>&5
22134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22135 (exit $ac_status); } && {
22136 test -z "$ac_c_werror_flag" ||
22137 test ! -s conftest.err
22138 } && test -s conftest.
$ac_objext; then
22139 ac_hi
=$ac_mid; break
22141 echo "$as_me: failed program was:" >&5
22142 sed 's/^/| /' conftest.
$ac_ext >&5
22144 ac_lo
=`expr $ac_mid + 1`
22145 if test $ac_lo -le $ac_mid; then
22149 ac_mid
=`expr 2 '*' $ac_mid + 1`
22152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22155 echo "$as_me: failed program was:" >&5
22156 sed 's/^/| /' conftest.
$ac_ext >&5
22158 cat >conftest.
$ac_ext <<_ACEOF
22161 cat confdefs.h
>>conftest.
$ac_ext
22162 cat >>conftest.
$ac_ext <<_ACEOF
22163 /* end confdefs.h. */
22164 $ac_includes_default
22165 typedef long ac__type_sizeof_;
22169 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22176 rm -f conftest.
$ac_objext
22177 if { (ac_try
="$ac_compile"
22178 case "(($ac_try" in
22179 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22180 *) ac_try_echo=$ac_try;;
22182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22183 (eval "$ac_compile") 2>conftest.er1
22185 grep -v '^ *+' conftest.er1 >conftest.err
22187 cat conftest.err >&5
22188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22189 (exit $ac_status); } && {
22190 test -z "$ac_c_werror_flag" ||
22191 test ! -s conftest.err
22192 } && test -s conftest.$ac_objext; then
22195 cat >conftest.$ac_ext <<_ACEOF
22198 cat confdefs.h >>conftest.$ac_ext
22199 cat >>conftest.$ac_ext <<_ACEOF
22200 /* end confdefs.h. */
22201 $ac_includes_default
22202 typedef long ac__type_sizeof_;
22206 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22213 rm -f conftest.$ac_objext
22214 if { (ac_try="$ac_compile"
22215 case "(($ac_try" in
22216 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22217 *) ac_try_echo
=$ac_try;;
22219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22220 (eval "$ac_compile") 2>conftest.er1
22222 grep -v '^ *+' conftest.er1
>conftest.err
22224 cat conftest.err
>&5
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); } && {
22227 test -z "$ac_c_werror_flag" ||
22228 test ! -s conftest.err
22229 } && test -s conftest.
$ac_objext; then
22230 ac_lo
=$ac_mid; break
22232 echo "$as_me: failed program was:" >&5
22233 sed 's/^/| /' conftest.
$ac_ext >&5
22235 ac_hi
=`expr '(' $ac_mid ')' - 1`
22236 if test $ac_mid -le $ac_hi; then
22240 ac_mid
=`expr 2 '*' $ac_mid`
22243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.
$ac_ext >&5
22252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22255 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22256 # Binary search between lo and hi bounds.
22257 while test "x$ac_lo" != "x$ac_hi"; do
22258 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22259 cat >conftest.
$ac_ext <<_ACEOF
22262 cat confdefs.h
>>conftest.
$ac_ext
22263 cat >>conftest.
$ac_ext <<_ACEOF
22264 /* end confdefs.h. */
22265 $ac_includes_default
22266 typedef long ac__type_sizeof_;
22270 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22277 rm -f conftest.
$ac_objext
22278 if { (ac_try
="$ac_compile"
22279 case "(($ac_try" in
22280 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22281 *) ac_try_echo=$ac_try;;
22283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22284 (eval "$ac_compile") 2>conftest.er1
22286 grep -v '^ *+' conftest.er1 >conftest.err
22288 cat conftest.err >&5
22289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22290 (exit $ac_status); } && {
22291 test -z "$ac_c_werror_flag" ||
22292 test ! -s conftest.err
22293 } && test -s conftest.$ac_objext; then
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22299 ac_lo=`expr '(' $ac_mid ')' + 1`
22302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22305 ?*) ac_cv_sizeof_long=$ac_lo;;
22306 '') if test "$ac_cv_type_long" = yes; then
22307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22308 See \`config.log
' for more details." >&5
22309 echo "$as_me: error: cannot compute sizeof (long)
22310 See \`config.log' for more details.
" >&2;}
22311 { (exit 77); exit 77; }; }
22313 ac_cv_sizeof_long=0
22317 cat >conftest.$ac_ext <<_ACEOF
22320 cat confdefs.h >>conftest.$ac_ext
22321 cat >>conftest.$ac_ext <<_ACEOF
22322 /* end confdefs.h. */
22323 $ac_includes_default
22324 typedef long ac__type_sizeof_;
22325 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22326 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22328 #include <stdlib.h>
22333 FILE *f = fopen ("conftest.val
", "w
");
22336 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22338 long int i = longval ();
22339 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22341 fprintf (f, "%ld
\n", i);
22345 unsigned long int i = ulongval ();
22346 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22348 fprintf (f, "%lu
\n", i);
22350 return ferror (f) || fclose (f) != 0;
22356 rm -f conftest$ac_exeext
22357 if { (ac_try="$ac_link"
22358 case "(($ac_try" in
22359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22360 *) ac_try_echo=$ac_try;;
22362 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22363 (eval "$ac_link") 2>&5
22365 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22366 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22374 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22375 (exit $ac_status); }; }; then
22376 ac_cv_sizeof_long=`cat conftest.val`
22378 echo "$as_me: program exited with status
$ac_status" >&5
22379 echo "$as_me: failed program was
:" >&5
22380 sed 's/^/| /' conftest.$ac_ext >&5
22382 ( exit $ac_status )
22383 if test "$ac_cv_type_long" = yes; then
22384 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22385 See \
`config.log' for more details." >&5
22386 echo "$as_me: error: cannot compute sizeof (long)
22387 See \`config.log
' for more details." >&2;}
22388 { (exit 77); exit 77; }; }
22390 ac_cv_sizeof_long=0
22393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22397 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22398 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22402 cat >>confdefs.h <<_ACEOF
22403 #define SIZEOF_LONG $ac_cv_sizeof_long
22407 { echo "$as_me:$LINENO: checking for size_t" >&5
22408 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22409 if test "${ac_cv_type_size_t+set}" = set; then
22410 echo $ECHO_N "(cached) $ECHO_C" >&6
22412 cat >conftest.$ac_ext <<_ACEOF
22415 cat confdefs.h >>conftest.$ac_ext
22416 cat >>conftest.$ac_ext <<_ACEOF
22417 /* end confdefs.h. */
22418 $ac_includes_default
22419 typedef size_t ac__type_new_;
22423 if ((ac__type_new_ *) 0)
22425 if (sizeof (ac__type_new_))
22431 rm -f conftest.$ac_objext
22432 if { (ac_try="$ac_compile"
22433 case "(($ac_try" in
22434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22435 *) ac_try_echo=$ac_try;;
22437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22438 (eval "$ac_compile") 2>conftest.er1
22440 grep -v '^
*+' conftest.er1 >conftest.err
22442 cat conftest.err >&5
22443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22444 (exit $ac_status); } && {
22445 test -z "$ac_c_werror_flag" ||
22446 test ! -s conftest.err
22447 } && test -s conftest.$ac_objext; then
22448 ac_cv_type_size_t=yes
22450 echo "$as_me: failed program was:" >&5
22451 sed 's
/^
/| /' conftest.$ac_ext >&5
22453 ac_cv_type_size_t=no
22456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22458 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22459 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22461 # The cast to long int works around a bug in the HP C Compiler
22462 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22463 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22464 # This bug is HP SR number 8606223364.
22465 { echo "$as_me:$LINENO: checking size of size_t" >&5
22466 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22467 if test "${ac_cv_sizeof_size_t+set}" = set; then
22468 echo $ECHO_N "(cached) $ECHO_C" >&6
22470 if test "$cross_compiling" = yes; then
22471 # Depending upon the size, compute the lo and hi bounds.
22472 cat >conftest.
$ac_ext <<_ACEOF
22475 cat confdefs.h
>>conftest.
$ac_ext
22476 cat >>conftest.
$ac_ext <<_ACEOF
22477 /* end confdefs.h. */
22478 $ac_includes_default
22479 typedef size_t ac__type_sizeof_;
22483 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22490 rm -f conftest.
$ac_objext
22491 if { (ac_try
="$ac_compile"
22492 case "(($ac_try" in
22493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22494 *) ac_try_echo=$ac_try;;
22496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22497 (eval "$ac_compile") 2>conftest.er1
22499 grep -v '^ *+' conftest.er1 >conftest.err
22501 cat conftest.err >&5
22502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22503 (exit $ac_status); } && {
22504 test -z "$ac_c_werror_flag" ||
22505 test ! -s conftest.err
22506 } && test -s conftest.$ac_objext; then
22509 cat >conftest.$ac_ext <<_ACEOF
22512 cat confdefs.h >>conftest.$ac_ext
22513 cat >>conftest.$ac_ext <<_ACEOF
22514 /* end confdefs.h. */
22515 $ac_includes_default
22516 typedef size_t ac__type_sizeof_;
22520 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22527 rm -f conftest.$ac_objext
22528 if { (ac_try="$ac_compile"
22529 case "(($ac_try" in
22530 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22531 *) ac_try_echo
=$ac_try;;
22533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22534 (eval "$ac_compile") 2>conftest.er1
22536 grep -v '^ *+' conftest.er1
>conftest.err
22538 cat conftest.err
>&5
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); } && {
22541 test -z "$ac_c_werror_flag" ||
22542 test ! -s conftest.err
22543 } && test -s conftest.
$ac_objext; then
22544 ac_hi
=$ac_mid; break
22546 echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.
$ac_ext >&5
22549 ac_lo
=`expr $ac_mid + 1`
22550 if test $ac_lo -le $ac_mid; then
22554 ac_mid
=`expr 2 '*' $ac_mid + 1`
22557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22560 echo "$as_me: failed program was:" >&5
22561 sed 's/^/| /' conftest.
$ac_ext >&5
22563 cat >conftest.
$ac_ext <<_ACEOF
22566 cat confdefs.h
>>conftest.
$ac_ext
22567 cat >>conftest.
$ac_ext <<_ACEOF
22568 /* end confdefs.h. */
22569 $ac_includes_default
22570 typedef size_t ac__type_sizeof_;
22574 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22581 rm -f conftest.
$ac_objext
22582 if { (ac_try
="$ac_compile"
22583 case "(($ac_try" in
22584 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22585 *) ac_try_echo=$ac_try;;
22587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22588 (eval "$ac_compile") 2>conftest.er1
22590 grep -v '^ *+' conftest.er1 >conftest.err
22592 cat conftest.err >&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); } && {
22595 test -z "$ac_c_werror_flag" ||
22596 test ! -s conftest.err
22597 } && test -s conftest.$ac_objext; then
22600 cat >conftest.$ac_ext <<_ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 $ac_includes_default
22607 typedef size_t ac__type_sizeof_;
22611 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22618 rm -f conftest.$ac_objext
22619 if { (ac_try="$ac_compile"
22620 case "(($ac_try" in
22621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22622 *) ac_try_echo
=$ac_try;;
22624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22625 (eval "$ac_compile") 2>conftest.er1
22627 grep -v '^ *+' conftest.er1
>conftest.err
22629 cat conftest.err
>&5
22630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22631 (exit $ac_status); } && {
22632 test -z "$ac_c_werror_flag" ||
22633 test ! -s conftest.err
22634 } && test -s conftest.
$ac_objext; then
22635 ac_lo
=$ac_mid; break
22637 echo "$as_me: failed program was:" >&5
22638 sed 's/^/| /' conftest.
$ac_ext >&5
22640 ac_hi
=`expr '(' $ac_mid ')' - 1`
22641 if test $ac_mid -le $ac_hi; then
22645 ac_mid
=`expr 2 '*' $ac_mid`
22648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22651 echo "$as_me: failed program was:" >&5
22652 sed 's/^/| /' conftest.
$ac_ext >&5
22657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22661 # Binary search between lo and hi bounds.
22662 while test "x$ac_lo" != "x$ac_hi"; do
22663 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22664 cat >conftest.
$ac_ext <<_ACEOF
22667 cat confdefs.h
>>conftest.
$ac_ext
22668 cat >>conftest.
$ac_ext <<_ACEOF
22669 /* end confdefs.h. */
22670 $ac_includes_default
22671 typedef size_t ac__type_sizeof_;
22675 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22682 rm -f conftest.
$ac_objext
22683 if { (ac_try
="$ac_compile"
22684 case "(($ac_try" in
22685 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22686 *) ac_try_echo=$ac_try;;
22688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22689 (eval "$ac_compile") 2>conftest.er1
22691 grep -v '^ *+' conftest.er1 >conftest.err
22693 cat conftest.err >&5
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); } && {
22696 test -z "$ac_c_werror_flag" ||
22697 test ! -s conftest.err
22698 } && test -s conftest.$ac_objext; then
22701 echo "$as_me: failed program was:" >&5
22702 sed 's/^/| /' conftest.$ac_ext >&5
22704 ac_lo=`expr '(' $ac_mid ')' + 1`
22707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22710 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22711 '') if test "$ac_cv_type_size_t" = yes; then
22712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22713 See \`config.log
' for more details." >&5
22714 echo "$as_me: error: cannot compute sizeof (size_t)
22715 See \`config.log' for more details.
" >&2;}
22716 { (exit 77); exit 77; }; }
22718 ac_cv_sizeof_size_t=0
22722 cat >conftest.$ac_ext <<_ACEOF
22725 cat confdefs.h >>conftest.$ac_ext
22726 cat >>conftest.$ac_ext <<_ACEOF
22727 /* end confdefs.h. */
22728 $ac_includes_default
22729 typedef size_t ac__type_sizeof_;
22730 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22731 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22733 #include <stdlib.h>
22738 FILE *f = fopen ("conftest.val
", "w
");
22741 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22743 long int i = longval ();
22744 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22746 fprintf (f, "%ld
\n", i);
22750 unsigned long int i = ulongval ();
22751 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22753 fprintf (f, "%lu
\n", i);
22755 return ferror (f) || fclose (f) != 0;
22761 rm -f conftest$ac_exeext
22762 if { (ac_try="$ac_link"
22763 case "(($ac_try" in
22764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22765 *) ac_try_echo=$ac_try;;
22767 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22768 (eval "$ac_link") 2>&5
22770 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
22779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22780 (exit $ac_status); }; }; then
22781 ac_cv_sizeof_size_t=`cat conftest.val`
22783 echo "$as_me: program exited with status
$ac_status" >&5
22784 echo "$as_me: failed program was
:" >&5
22785 sed 's/^/| /' conftest.$ac_ext >&5
22787 ( exit $ac_status )
22788 if test "$ac_cv_type_size_t" = yes; then
22789 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22790 See \
`config.log' for more details." >&5
22791 echo "$as_me: error: cannot compute sizeof (size_t)
22792 See \`config.log
' for more details." >&2;}
22793 { (exit 77); exit 77; }; }
22795 ac_cv_sizeof_size_t=0
22798 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22802 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22803 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22807 cat >>confdefs.h <<_ACEOF
22808 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22815 { echo "$as_me:$LINENO: checking for long long" >&5
22816 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22817 if test "${ac_cv_type_long_long+set}" = set; then
22818 echo $ECHO_N "(cached) $ECHO_C" >&6
22820 cat >conftest.$ac_ext <<_ACEOF
22823 cat confdefs.h >>conftest.$ac_ext
22824 cat >>conftest.$ac_ext <<_ACEOF
22825 /* end confdefs.h. */
22826 $ac_includes_default
22827 typedef long long ac__type_new_;
22831 if ((ac__type_new_ *) 0)
22833 if (sizeof (ac__type_new_))
22839 rm -f conftest.$ac_objext
22840 if { (ac_try="$ac_compile"
22841 case "(($ac_try" in
22842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22843 *) ac_try_echo=$ac_try;;
22845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22846 (eval "$ac_compile") 2>conftest.er1
22848 grep -v '^
*+' conftest.er1 >conftest.err
22850 cat conftest.err >&5
22851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22852 (exit $ac_status); } && {
22853 test -z "$ac_c_werror_flag" ||
22854 test ! -s conftest.err
22855 } && test -s conftest.$ac_objext; then
22856 ac_cv_type_long_long=yes
22858 echo "$as_me: failed program was:" >&5
22859 sed 's
/^
/| /' conftest.$ac_ext >&5
22861 ac_cv_type_long_long=no
22864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22866 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22867 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22869 # The cast to long int works around a bug in the HP C Compiler
22870 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22871 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22872 # This bug is HP SR number 8606223364.
22873 { echo "$as_me:$LINENO: checking size of long long" >&5
22874 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22875 if test "${ac_cv_sizeof_long_long+set}" = set; then
22876 echo $ECHO_N "(cached) $ECHO_C" >&6
22878 if test "$cross_compiling" = yes; then
22879 # Depending upon the size, compute the lo and hi bounds.
22880 cat >conftest.
$ac_ext <<_ACEOF
22883 cat confdefs.h
>>conftest.
$ac_ext
22884 cat >>conftest.
$ac_ext <<_ACEOF
22885 /* end confdefs.h. */
22886 $ac_includes_default
22887 typedef long long ac__type_sizeof_;
22891 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22898 rm -f conftest.
$ac_objext
22899 if { (ac_try
="$ac_compile"
22900 case "(($ac_try" in
22901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22902 *) ac_try_echo=$ac_try;;
22904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22905 (eval "$ac_compile") 2>conftest.er1
22907 grep -v '^ *+' conftest.er1 >conftest.err
22909 cat conftest.err >&5
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); } && {
22912 test -z "$ac_c_werror_flag" ||
22913 test ! -s conftest.err
22914 } && test -s conftest.$ac_objext; then
22917 cat >conftest.$ac_ext <<_ACEOF
22920 cat confdefs.h >>conftest.$ac_ext
22921 cat >>conftest.$ac_ext <<_ACEOF
22922 /* end confdefs.h. */
22923 $ac_includes_default
22924 typedef long long ac__type_sizeof_;
22928 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22935 rm -f conftest.$ac_objext
22936 if { (ac_try="$ac_compile"
22937 case "(($ac_try" in
22938 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22939 *) ac_try_echo
=$ac_try;;
22941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22942 (eval "$ac_compile") 2>conftest.er1
22944 grep -v '^ *+' conftest.er1
>conftest.err
22946 cat conftest.err
>&5
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); } && {
22949 test -z "$ac_c_werror_flag" ||
22950 test ! -s conftest.err
22951 } && test -s conftest.
$ac_objext; then
22952 ac_hi
=$ac_mid; break
22954 echo "$as_me: failed program was:" >&5
22955 sed 's/^/| /' conftest.
$ac_ext >&5
22957 ac_lo
=`expr $ac_mid + 1`
22958 if test $ac_lo -le $ac_mid; then
22962 ac_mid
=`expr 2 '*' $ac_mid + 1`
22965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22968 echo "$as_me: failed program was:" >&5
22969 sed 's/^/| /' conftest.
$ac_ext >&5
22971 cat >conftest.
$ac_ext <<_ACEOF
22974 cat confdefs.h
>>conftest.
$ac_ext
22975 cat >>conftest.
$ac_ext <<_ACEOF
22976 /* end confdefs.h. */
22977 $ac_includes_default
22978 typedef long long ac__type_sizeof_;
22982 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22989 rm -f conftest.
$ac_objext
22990 if { (ac_try
="$ac_compile"
22991 case "(($ac_try" in
22992 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22993 *) ac_try_echo=$ac_try;;
22995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22996 (eval "$ac_compile") 2>conftest.er1
22998 grep -v '^ *+' conftest.er1 >conftest.err
23000 cat conftest.err >&5
23001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23002 (exit $ac_status); } && {
23003 test -z "$ac_c_werror_flag" ||
23004 test ! -s conftest.err
23005 } && test -s conftest.$ac_objext; then
23008 cat >conftest.$ac_ext <<_ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h. */
23014 $ac_includes_default
23015 typedef long long ac__type_sizeof_;
23019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23026 rm -f conftest.$ac_objext
23027 if { (ac_try="$ac_compile"
23028 case "(($ac_try" in
23029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23030 *) ac_try_echo
=$ac_try;;
23032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23033 (eval "$ac_compile") 2>conftest.er1
23035 grep -v '^ *+' conftest.er1
>conftest.err
23037 cat conftest.err
>&5
23038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23039 (exit $ac_status); } && {
23040 test -z "$ac_c_werror_flag" ||
23041 test ! -s conftest.err
23042 } && test -s conftest.
$ac_objext; then
23043 ac_lo
=$ac_mid; break
23045 echo "$as_me: failed program was:" >&5
23046 sed 's/^/| /' conftest.
$ac_ext >&5
23048 ac_hi
=`expr '(' $ac_mid ')' - 1`
23049 if test $ac_mid -le $ac_hi; then
23053 ac_mid
=`expr 2 '*' $ac_mid`
23056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23059 echo "$as_me: failed program was:" >&5
23060 sed 's/^/| /' conftest.
$ac_ext >&5
23065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23069 # Binary search between lo and hi bounds.
23070 while test "x$ac_lo" != "x$ac_hi"; do
23071 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23072 cat >conftest.
$ac_ext <<_ACEOF
23075 cat confdefs.h
>>conftest.
$ac_ext
23076 cat >>conftest.
$ac_ext <<_ACEOF
23077 /* end confdefs.h. */
23078 $ac_includes_default
23079 typedef long long ac__type_sizeof_;
23083 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23090 rm -f conftest.
$ac_objext
23091 if { (ac_try
="$ac_compile"
23092 case "(($ac_try" in
23093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23094 *) ac_try_echo=$ac_try;;
23096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23097 (eval "$ac_compile") 2>conftest.er1
23099 grep -v '^ *+' conftest.er1 >conftest.err
23101 cat conftest.err >&5
23102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23103 (exit $ac_status); } && {
23104 test -z "$ac_c_werror_flag" ||
23105 test ! -s conftest.err
23106 } && test -s conftest.$ac_objext; then
23109 echo "$as_me: failed program was:" >&5
23110 sed 's/^/| /' conftest.$ac_ext >&5
23112 ac_lo=`expr '(' $ac_mid ')' + 1`
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23118 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23119 '') if test "$ac_cv_type_long_long" = yes; then
23120 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23121 See \`config.log
' for more details." >&5
23122 echo "$as_me: error: cannot compute sizeof (long long)
23123 See \`config.log' for more details.
" >&2;}
23124 { (exit 77); exit 77; }; }
23126 ac_cv_sizeof_long_long=0
23130 cat >conftest.$ac_ext <<_ACEOF
23133 cat confdefs.h >>conftest.$ac_ext
23134 cat >>conftest.$ac_ext <<_ACEOF
23135 /* end confdefs.h. */
23136 $ac_includes_default
23137 typedef long long ac__type_sizeof_;
23138 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23139 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23141 #include <stdlib.h>
23146 FILE *f = fopen ("conftest.val
", "w
");
23149 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23151 long int i = longval ();
23152 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23154 fprintf (f, "%ld
\n", i);
23158 unsigned long int i = ulongval ();
23159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23161 fprintf (f, "%lu
\n", i);
23163 return ferror (f) || fclose (f) != 0;
23169 rm -f conftest$ac_exeext
23170 if { (ac_try="$ac_link"
23171 case "(($ac_try" in
23172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23173 *) ac_try_echo=$ac_try;;
23175 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23176 (eval "$ac_link") 2>&5
23178 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23179 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
23187 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23188 (exit $ac_status); }; }; then
23189 ac_cv_sizeof_long_long=`cat conftest.val`
23191 echo "$as_me: program exited with status
$ac_status" >&5
23192 echo "$as_me: failed program was
:" >&5
23193 sed 's/^/| /' conftest.$ac_ext >&5
23195 ( exit $ac_status )
23196 if test "$ac_cv_type_long_long" = yes; then
23197 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23198 See \
`config.log' for more details." >&5
23199 echo "$as_me: error: cannot compute sizeof (long long)
23200 See \`config.log
' for more details." >&2;}
23201 { (exit 77); exit 77; }; }
23203 ac_cv_sizeof_long_long=0
23206 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23210 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23211 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23215 cat >>confdefs.h <<_ACEOF
23216 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23222 { echo "$as_me:$LINENO: checking for long long" >&5
23223 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23224 if test "${ac_cv_type_long_long+set}" = set; then
23225 echo $ECHO_N "(cached) $ECHO_C" >&6
23227 cat >conftest.$ac_ext <<_ACEOF
23230 cat confdefs.h >>conftest.$ac_ext
23231 cat >>conftest.$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23233 $ac_includes_default
23234 typedef long long ac__type_new_;
23238 if ((ac__type_new_ *) 0)
23240 if (sizeof (ac__type_new_))
23246 rm -f conftest.$ac_objext
23247 if { (ac_try="$ac_compile"
23248 case "(($ac_try" in
23249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23250 *) ac_try_echo=$ac_try;;
23252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23253 (eval "$ac_compile") 2>conftest.er1
23255 grep -v '^
*+' conftest.er1 >conftest.err
23257 cat conftest.err >&5
23258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23259 (exit $ac_status); } && {
23260 test -z "$ac_c_werror_flag" ||
23261 test ! -s conftest.err
23262 } && test -s conftest.$ac_objext; then
23263 ac_cv_type_long_long=yes
23265 echo "$as_me: failed program was:" >&5
23266 sed 's
/^
/| /' conftest.$ac_ext >&5
23268 ac_cv_type_long_long=no
23271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23273 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23274 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23276 # The cast to long int works around a bug in the HP C Compiler
23277 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23278 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23279 # This bug is HP SR number 8606223364.
23280 { echo "$as_me:$LINENO: checking size of long long" >&5
23281 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23282 if test "${ac_cv_sizeof_long_long+set}" = set; then
23283 echo $ECHO_N "(cached) $ECHO_C" >&6
23285 if test "$cross_compiling" = yes; then
23286 # Depending upon the size, compute the lo and hi bounds.
23287 cat >conftest.
$ac_ext <<_ACEOF
23290 cat confdefs.h
>>conftest.
$ac_ext
23291 cat >>conftest.
$ac_ext <<_ACEOF
23292 /* end confdefs.h. */
23293 $ac_includes_default
23294 typedef long long ac__type_sizeof_;
23298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23305 rm -f conftest.
$ac_objext
23306 if { (ac_try
="$ac_compile"
23307 case "(($ac_try" in
23308 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23309 *) ac_try_echo=$ac_try;;
23311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23312 (eval "$ac_compile") 2>conftest.er1
23314 grep -v '^ *+' conftest.er1 >conftest.err
23316 cat conftest.err >&5
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); } && {
23319 test -z "$ac_c_werror_flag" ||
23320 test ! -s conftest.err
23321 } && test -s conftest.$ac_objext; then
23324 cat >conftest.$ac_ext <<_ACEOF
23327 cat confdefs.h >>conftest.$ac_ext
23328 cat >>conftest.$ac_ext <<_ACEOF
23329 /* end confdefs.h. */
23330 $ac_includes_default
23331 typedef long long ac__type_sizeof_;
23335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23342 rm -f conftest.$ac_objext
23343 if { (ac_try="$ac_compile"
23344 case "(($ac_try" in
23345 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23346 *) ac_try_echo
=$ac_try;;
23348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23349 (eval "$ac_compile") 2>conftest.er1
23351 grep -v '^ *+' conftest.er1
>conftest.err
23353 cat conftest.err
>&5
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); } && {
23356 test -z "$ac_c_werror_flag" ||
23357 test ! -s conftest.err
23358 } && test -s conftest.
$ac_objext; then
23359 ac_hi
=$ac_mid; break
23361 echo "$as_me: failed program was:" >&5
23362 sed 's/^/| /' conftest.
$ac_ext >&5
23364 ac_lo
=`expr $ac_mid + 1`
23365 if test $ac_lo -le $ac_mid; then
23369 ac_mid
=`expr 2 '*' $ac_mid + 1`
23372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23375 echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.
$ac_ext >&5
23378 cat >conftest.
$ac_ext <<_ACEOF
23381 cat confdefs.h
>>conftest.
$ac_ext
23382 cat >>conftest.
$ac_ext <<_ACEOF
23383 /* end confdefs.h. */
23384 $ac_includes_default
23385 typedef long long ac__type_sizeof_;
23389 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23396 rm -f conftest.
$ac_objext
23397 if { (ac_try
="$ac_compile"
23398 case "(($ac_try" in
23399 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23400 *) ac_try_echo=$ac_try;;
23402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23403 (eval "$ac_compile") 2>conftest.er1
23405 grep -v '^ *+' conftest.er1 >conftest.err
23407 cat conftest.err >&5
23408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23409 (exit $ac_status); } && {
23410 test -z "$ac_c_werror_flag" ||
23411 test ! -s conftest.err
23412 } && test -s conftest.$ac_objext; then
23415 cat >conftest.$ac_ext <<_ACEOF
23418 cat confdefs.h >>conftest.$ac_ext
23419 cat >>conftest.$ac_ext <<_ACEOF
23420 /* end confdefs.h. */
23421 $ac_includes_default
23422 typedef long long ac__type_sizeof_;
23426 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23433 rm -f conftest.$ac_objext
23434 if { (ac_try="$ac_compile"
23435 case "(($ac_try" in
23436 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23437 *) ac_try_echo
=$ac_try;;
23439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23440 (eval "$ac_compile") 2>conftest.er1
23442 grep -v '^ *+' conftest.er1
>conftest.err
23444 cat conftest.err
>&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); } && {
23447 test -z "$ac_c_werror_flag" ||
23448 test ! -s conftest.err
23449 } && test -s conftest.
$ac_objext; then
23450 ac_lo
=$ac_mid; break
23452 echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.
$ac_ext >&5
23455 ac_hi
=`expr '(' $ac_mid ')' - 1`
23456 if test $ac_mid -le $ac_hi; then
23460 ac_mid
=`expr 2 '*' $ac_mid`
23463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23466 echo "$as_me: failed program was:" >&5
23467 sed 's/^/| /' conftest.
$ac_ext >&5
23472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23476 # Binary search between lo and hi bounds.
23477 while test "x$ac_lo" != "x$ac_hi"; do
23478 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23479 cat >conftest.
$ac_ext <<_ACEOF
23482 cat confdefs.h
>>conftest.
$ac_ext
23483 cat >>conftest.
$ac_ext <<_ACEOF
23484 /* end confdefs.h. */
23485 $ac_includes_default
23486 typedef long long ac__type_sizeof_;
23490 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23497 rm -f conftest.
$ac_objext
23498 if { (ac_try
="$ac_compile"
23499 case "(($ac_try" in
23500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23501 *) ac_try_echo=$ac_try;;
23503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23504 (eval "$ac_compile") 2>conftest.er1
23506 grep -v '^ *+' conftest.er1 >conftest.err
23508 cat conftest.err >&5
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); } && {
23511 test -z "$ac_c_werror_flag" ||
23512 test ! -s conftest.err
23513 } && test -s conftest.$ac_objext; then
23516 echo "$as_me: failed program was:" >&5
23517 sed 's/^/| /' conftest.$ac_ext >&5
23519 ac_lo=`expr '(' $ac_mid ')' + 1`
23522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23525 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23526 '') if test "$ac_cv_type_long_long" = yes; then
23527 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23528 See \`config.log
' for more details." >&5
23529 echo "$as_me: error: cannot compute sizeof (long long)
23530 See \`config.log' for more details.
" >&2;}
23531 { (exit 77); exit 77; }; }
23533 ac_cv_sizeof_long_long=0
23537 cat >conftest.$ac_ext <<_ACEOF
23540 cat confdefs.h >>conftest.$ac_ext
23541 cat >>conftest.$ac_ext <<_ACEOF
23542 /* end confdefs.h. */
23543 $ac_includes_default
23544 typedef long long ac__type_sizeof_;
23545 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23546 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23548 #include <stdlib.h>
23553 FILE *f = fopen ("conftest.val
", "w
");
23556 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23558 long int i = longval ();
23559 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23561 fprintf (f, "%ld
\n", i);
23565 unsigned long int i = ulongval ();
23566 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23568 fprintf (f, "%lu
\n", i);
23570 return ferror (f) || fclose (f) != 0;
23576 rm -f conftest$ac_exeext
23577 if { (ac_try="$ac_link"
23578 case "(($ac_try" in
23579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23580 *) ac_try_echo=$ac_try;;
23582 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23583 (eval "$ac_link") 2>&5
23585 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23586 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
23594 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23595 (exit $ac_status); }; }; then
23596 ac_cv_sizeof_long_long=`cat conftest.val`
23598 echo "$as_me: program exited with status
$ac_status" >&5
23599 echo "$as_me: failed program was
:" >&5
23600 sed 's/^/| /' conftest.$ac_ext >&5
23602 ( exit $ac_status )
23603 if test "$ac_cv_type_long_long" = yes; then
23604 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23605 See \
`config.log' for more details." >&5
23606 echo "$as_me: error: cannot compute sizeof (long long)
23607 See \`config.log
' for more details." >&2;}
23608 { (exit 77); exit 77; }; }
23610 ac_cv_sizeof_long_long=0
23613 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23617 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23618 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23622 cat >>confdefs.h <<_ACEOF
23623 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23627 if test "$ac_cv_sizeof_long_long" != 0; then
23628 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23632 { echo "$as_me:$LINENO: checking for long long" >&5
23633 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23634 if test "${ac_cv_type_long_long+set}" = set; then
23635 echo $ECHO_N "(cached) $ECHO_C" >&6
23637 cat >conftest.$ac_ext <<_ACEOF
23640 cat confdefs.h >>conftest.$ac_ext
23641 cat >>conftest.$ac_ext <<_ACEOF
23642 /* end confdefs.h. */
23643 $ac_includes_default
23644 typedef long long ac__type_new_;
23648 if ((ac__type_new_ *) 0)
23650 if (sizeof (ac__type_new_))
23656 rm -f conftest.$ac_objext
23657 if { (ac_try="$ac_compile"
23658 case "(($ac_try" in
23659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23660 *) ac_try_echo=$ac_try;;
23662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23663 (eval "$ac_compile") 2>conftest.er1
23665 grep -v '^
*+' conftest.er1 >conftest.err
23667 cat conftest.err >&5
23668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23669 (exit $ac_status); } && {
23670 test -z "$ac_c_werror_flag" ||
23671 test ! -s conftest.err
23672 } && test -s conftest.$ac_objext; then
23673 ac_cv_type_long_long=yes
23675 echo "$as_me: failed program was:" >&5
23676 sed 's
/^
/| /' conftest.$ac_ext >&5
23678 ac_cv_type_long_long=no
23681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23683 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23684 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23686 # The cast to long int works around a bug in the HP C Compiler
23687 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23688 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23689 # This bug is HP SR number 8606223364.
23690 { echo "$as_me:$LINENO: checking size of long long" >&5
23691 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23692 if test "${ac_cv_sizeof_long_long+set}" = set; then
23693 echo $ECHO_N "(cached) $ECHO_C" >&6
23695 if test "$cross_compiling" = yes; then
23696 # Depending upon the size, compute the lo and hi bounds.
23697 cat >conftest.
$ac_ext <<_ACEOF
23700 cat confdefs.h
>>conftest.
$ac_ext
23701 cat >>conftest.
$ac_ext <<_ACEOF
23702 /* end confdefs.h. */
23703 $ac_includes_default
23704 typedef long long ac__type_sizeof_;
23708 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23715 rm -f conftest.
$ac_objext
23716 if { (ac_try
="$ac_compile"
23717 case "(($ac_try" in
23718 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23719 *) ac_try_echo=$ac_try;;
23721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23722 (eval "$ac_compile") 2>conftest.er1
23724 grep -v '^ *+' conftest.er1 >conftest.err
23726 cat conftest.err >&5
23727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23728 (exit $ac_status); } && {
23729 test -z "$ac_c_werror_flag" ||
23730 test ! -s conftest.err
23731 } && test -s conftest.$ac_objext; then
23734 cat >conftest.$ac_ext <<_ACEOF
23737 cat confdefs.h >>conftest.$ac_ext
23738 cat >>conftest.$ac_ext <<_ACEOF
23739 /* end confdefs.h. */
23740 $ac_includes_default
23741 typedef long long ac__type_sizeof_;
23745 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23752 rm -f conftest.$ac_objext
23753 if { (ac_try="$ac_compile"
23754 case "(($ac_try" in
23755 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23756 *) ac_try_echo
=$ac_try;;
23758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23759 (eval "$ac_compile") 2>conftest.er1
23761 grep -v '^ *+' conftest.er1
>conftest.err
23763 cat conftest.err
>&5
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); } && {
23766 test -z "$ac_c_werror_flag" ||
23767 test ! -s conftest.err
23768 } && test -s conftest.
$ac_objext; then
23769 ac_hi
=$ac_mid; break
23771 echo "$as_me: failed program was:" >&5
23772 sed 's/^/| /' conftest.
$ac_ext >&5
23774 ac_lo
=`expr $ac_mid + 1`
23775 if test $ac_lo -le $ac_mid; then
23779 ac_mid
=`expr 2 '*' $ac_mid + 1`
23782 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23785 echo "$as_me: failed program was:" >&5
23786 sed 's/^/| /' conftest.
$ac_ext >&5
23788 cat >conftest.
$ac_ext <<_ACEOF
23791 cat confdefs.h
>>conftest.
$ac_ext
23792 cat >>conftest.
$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23794 $ac_includes_default
23795 typedef long long ac__type_sizeof_;
23799 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23806 rm -f conftest.
$ac_objext
23807 if { (ac_try
="$ac_compile"
23808 case "(($ac_try" in
23809 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23810 *) ac_try_echo=$ac_try;;
23812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23813 (eval "$ac_compile") 2>conftest.er1
23815 grep -v '^ *+' conftest.er1 >conftest.err
23817 cat conftest.err >&5
23818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23819 (exit $ac_status); } && {
23820 test -z "$ac_c_werror_flag" ||
23821 test ! -s conftest.err
23822 } && test -s conftest.$ac_objext; then
23825 cat >conftest.$ac_ext <<_ACEOF
23828 cat confdefs.h >>conftest.$ac_ext
23829 cat >>conftest.$ac_ext <<_ACEOF
23830 /* end confdefs.h. */
23831 $ac_includes_default
23832 typedef long long ac__type_sizeof_;
23836 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23843 rm -f conftest.$ac_objext
23844 if { (ac_try="$ac_compile"
23845 case "(($ac_try" in
23846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23847 *) ac_try_echo
=$ac_try;;
23849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23850 (eval "$ac_compile") 2>conftest.er1
23852 grep -v '^ *+' conftest.er1
>conftest.err
23854 cat conftest.err
>&5
23855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23856 (exit $ac_status); } && {
23857 test -z "$ac_c_werror_flag" ||
23858 test ! -s conftest.err
23859 } && test -s conftest.
$ac_objext; then
23860 ac_lo
=$ac_mid; break
23862 echo "$as_me: failed program was:" >&5
23863 sed 's/^/| /' conftest.
$ac_ext >&5
23865 ac_hi
=`expr '(' $ac_mid ')' - 1`
23866 if test $ac_mid -le $ac_hi; then
23870 ac_mid
=`expr 2 '*' $ac_mid`
23873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23876 echo "$as_me: failed program was:" >&5
23877 sed 's/^/| /' conftest.
$ac_ext >&5
23882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23886 # Binary search between lo and hi bounds.
23887 while test "x$ac_lo" != "x$ac_hi"; do
23888 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23889 cat >conftest.
$ac_ext <<_ACEOF
23892 cat confdefs.h
>>conftest.
$ac_ext
23893 cat >>conftest.
$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23895 $ac_includes_default
23896 typedef long long ac__type_sizeof_;
23900 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23907 rm -f conftest.
$ac_objext
23908 if { (ac_try
="$ac_compile"
23909 case "(($ac_try" in
23910 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23911 *) ac_try_echo=$ac_try;;
23913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23914 (eval "$ac_compile") 2>conftest.er1
23916 grep -v '^ *+' conftest.er1 >conftest.err
23918 cat conftest.err >&5
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); } && {
23921 test -z "$ac_c_werror_flag" ||
23922 test ! -s conftest.err
23923 } && test -s conftest.$ac_objext; then
23926 echo "$as_me: failed program was:" >&5
23927 sed 's/^/| /' conftest.$ac_ext >&5
23929 ac_lo=`expr '(' $ac_mid ')' + 1`
23932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23935 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23936 '') if test "$ac_cv_type_long_long" = yes; then
23937 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23938 See \`config.log
' for more details." >&5
23939 echo "$as_me: error: cannot compute sizeof (long long)
23940 See \`config.log' for more details.
" >&2;}
23941 { (exit 77); exit 77; }; }
23943 ac_cv_sizeof_long_long=0
23947 cat >conftest.$ac_ext <<_ACEOF
23950 cat confdefs.h >>conftest.$ac_ext
23951 cat >>conftest.$ac_ext <<_ACEOF
23952 /* end confdefs.h. */
23953 $ac_includes_default
23954 typedef long long ac__type_sizeof_;
23955 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23956 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23958 #include <stdlib.h>
23963 FILE *f = fopen ("conftest.val
", "w
");
23966 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23968 long int i = longval ();
23969 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23971 fprintf (f, "%ld
\n", i);
23975 unsigned long int i = ulongval ();
23976 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23978 fprintf (f, "%lu
\n", i);
23980 return ferror (f) || fclose (f) != 0;
23986 rm -f conftest$ac_exeext
23987 if { (ac_try="$ac_link"
23988 case "(($ac_try" in
23989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23990 *) ac_try_echo=$ac_try;;
23992 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23993 (eval "$ac_link") 2>&5
23995 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23996 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
24004 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24005 (exit $ac_status); }; }; then
24006 ac_cv_sizeof_long_long=`cat conftest.val`
24008 echo "$as_me: program exited with status
$ac_status" >&5
24009 echo "$as_me: failed program was
:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24012 ( exit $ac_status )
24013 if test "$ac_cv_type_long_long" = yes; then
24014 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24015 See \
`config.log' for more details." >&5
24016 echo "$as_me: error: cannot compute sizeof (long long)
24017 See \`config.log
' for more details." >&2;}
24018 { (exit 77); exit 77; }; }
24020 ac_cv_sizeof_long_long=0
24023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24027 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24028 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24032 cat >>confdefs.h <<_ACEOF
24033 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24039 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24040 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24041 if test "${ac_cv_type_wchar_t+set}" = set; then
24042 echo $ECHO_N "(cached) $ECHO_C" >&6
24044 cat >conftest.$ac_ext <<_ACEOF
24047 cat confdefs.h >>conftest.$ac_ext
24048 cat >>conftest.$ac_ext <<_ACEOF
24049 /* end confdefs.h. */
24051 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24052 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24053 # error "fake wchar_t"
24055 #ifdef HAVE_WCHAR_H
24057 # include <stddef.h>
24059 # include <wchar.h>
24061 #ifdef HAVE_STDLIB_H
24062 # include <stdlib.h>
24068 typedef wchar_t ac__type_new_
;
24072 if ((ac__type_new_
*) 0)
24074 if (sizeof
(ac__type_new_
))
24080 rm -f conftest.
$ac_objext
24081 if { (ac_try
="$ac_compile"
24082 case "(($ac_try" in
24083 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24084 *) ac_try_echo=$ac_try;;
24086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24087 (eval "$ac_compile") 2>conftest.er1
24089 grep -v '^ *+' conftest.er1 >conftest.err
24091 cat conftest.err >&5
24092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24093 (exit $ac_status); } && {
24094 test -z "$ac_c_werror_flag" ||
24095 test ! -s conftest.err
24096 } && test -s conftest.$ac_objext; then
24097 ac_cv_type_wchar_t=yes
24099 echo "$as_me: failed program was:" >&5
24100 sed 's/^/| /' conftest.$ac_ext >&5
24102 ac_cv_type_wchar_t=no
24105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24107 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24108 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24110 # The cast to long int works around a bug in the HP C Compiler
24111 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24112 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
24113 # This bug is HP SR number 8606223364.
24114 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24115 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24116 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24117 echo $ECHO_N "(cached) $ECHO_C" >&6
24119 if test "$cross_compiling" = yes; then
24120 # Depending upon the size, compute the lo and hi bounds.
24121 cat >conftest.$ac_ext <<_ACEOF
24124 cat confdefs.h >>conftest.$ac_ext
24125 cat >>conftest.$ac_ext <<_ACEOF
24126 /* end confdefs.h. */
24128 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24129 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24130 # error "fake wchar_t"
24132 #ifdef HAVE_WCHAR_H
24134 # include <stddef.h>
24136 # include <wchar.h>
24138 #ifdef HAVE_STDLIB_H
24139 # include <stdlib.h>
24145 typedef wchar_t ac__type_sizeof_
;
24149 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24156 rm -f conftest.
$ac_objext
24157 if { (ac_try
="$ac_compile"
24158 case "(($ac_try" in
24159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24160 *) ac_try_echo=$ac_try;;
24162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24163 (eval "$ac_compile") 2>conftest.er1
24165 grep -v '^ *+' conftest.er1 >conftest.err
24167 cat conftest.err >&5
24168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169 (exit $ac_status); } && {
24170 test -z "$ac_c_werror_flag" ||
24171 test ! -s conftest.err
24172 } && test -s conftest.$ac_objext; then
24175 cat >conftest.$ac_ext <<_ACEOF
24178 cat confdefs.h >>conftest.$ac_ext
24179 cat >>conftest.$ac_ext <<_ACEOF
24180 /* end confdefs.h. */
24182 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24183 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24184 # error "fake wchar_t"
24186 #ifdef HAVE_WCHAR_H
24188 # include <stddef.h>
24190 # include <wchar.h>
24192 #ifdef HAVE_STDLIB_H
24193 # include <stdlib.h>
24199 typedef wchar_t ac__type_sizeof_;
24203 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24210 rm -f conftest.$ac_objext
24211 if { (ac_try="$ac_compile"
24212 case "(($ac_try" in
24213 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24214 *) ac_try_echo
=$ac_try;;
24216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24217 (eval "$ac_compile") 2>conftest.er1
24219 grep -v '^ *+' conftest.er1
>conftest.err
24221 cat conftest.err
>&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); } && {
24224 test -z "$ac_c_werror_flag" ||
24225 test ! -s conftest.err
24226 } && test -s conftest.
$ac_objext; then
24227 ac_hi
=$ac_mid; break
24229 echo "$as_me: failed program was:" >&5
24230 sed 's/^/| /' conftest.
$ac_ext >&5
24232 ac_lo
=`expr $ac_mid + 1`
24233 if test $ac_lo -le $ac_mid; then
24237 ac_mid
=`expr 2 '*' $ac_mid + 1`
24240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24243 echo "$as_me: failed program was:" >&5
24244 sed 's/^/| /' conftest.
$ac_ext >&5
24246 cat >conftest.
$ac_ext <<_ACEOF
24249 cat confdefs.h
>>conftest.
$ac_ext
24250 cat >>conftest.
$ac_ext <<_ACEOF
24251 /* end confdefs.h. */
24253 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24254 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24255 # error "fake wchar_t"
24257 #ifdef HAVE_WCHAR_H
24259 # include <stddef.h>
24261 # include <wchar.h>
24263 #ifdef HAVE_STDLIB_H
24264 # include <stdlib.h>
24270 typedef wchar_t ac__type_sizeof_;
24274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24281 rm -f conftest.
$ac_objext
24282 if { (ac_try
="$ac_compile"
24283 case "(($ac_try" in
24284 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24285 *) ac_try_echo=$ac_try;;
24287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24288 (eval "$ac_compile") 2>conftest.er1
24290 grep -v '^ *+' conftest.er1 >conftest.err
24292 cat conftest.err >&5
24293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24294 (exit $ac_status); } && {
24295 test -z "$ac_c_werror_flag" ||
24296 test ! -s conftest.err
24297 } && test -s conftest.$ac_objext; then
24300 cat >conftest.$ac_ext <<_ACEOF
24303 cat confdefs.h >>conftest.$ac_ext
24304 cat >>conftest.$ac_ext <<_ACEOF
24305 /* end confdefs.h. */
24307 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24308 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24309 # error "fake wchar_t"
24311 #ifdef HAVE_WCHAR_H
24313 # include <stddef.h>
24315 # include <wchar.h>
24317 #ifdef HAVE_STDLIB_H
24318 # include <stdlib.h>
24324 typedef wchar_t ac__type_sizeof_;
24328 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24335 rm -f conftest.$ac_objext
24336 if { (ac_try="$ac_compile"
24337 case "(($ac_try" in
24338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24339 *) ac_try_echo
=$ac_try;;
24341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24342 (eval "$ac_compile") 2>conftest.er1
24344 grep -v '^ *+' conftest.er1
>conftest.err
24346 cat conftest.err
>&5
24347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24348 (exit $ac_status); } && {
24349 test -z "$ac_c_werror_flag" ||
24350 test ! -s conftest.err
24351 } && test -s conftest.
$ac_objext; then
24352 ac_lo
=$ac_mid; break
24354 echo "$as_me: failed program was:" >&5
24355 sed 's/^/| /' conftest.
$ac_ext >&5
24357 ac_hi
=`expr '(' $ac_mid ')' - 1`
24358 if test $ac_mid -le $ac_hi; then
24362 ac_mid
=`expr 2 '*' $ac_mid`
24365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24368 echo "$as_me: failed program was:" >&5
24369 sed 's/^/| /' conftest.
$ac_ext >&5
24374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24377 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24378 # Binary search between lo and hi bounds.
24379 while test "x$ac_lo" != "x$ac_hi"; do
24380 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24381 cat >conftest.
$ac_ext <<_ACEOF
24384 cat confdefs.h
>>conftest.
$ac_ext
24385 cat >>conftest.
$ac_ext <<_ACEOF
24386 /* end confdefs.h. */
24388 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24389 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24390 # error "fake wchar_t"
24392 #ifdef HAVE_WCHAR_H
24394 # include <stddef.h>
24396 # include <wchar.h>
24398 #ifdef HAVE_STDLIB_H
24399 # include <stdlib.h>
24405 typedef wchar_t ac__type_sizeof_;
24409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24416 rm -f conftest.
$ac_objext
24417 if { (ac_try
="$ac_compile"
24418 case "(($ac_try" in
24419 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24420 *) ac_try_echo=$ac_try;;
24422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24423 (eval "$ac_compile") 2>conftest.er1
24425 grep -v '^ *+' conftest.er1 >conftest.err
24427 cat conftest.err >&5
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); } && {
24430 test -z "$ac_c_werror_flag" ||
24431 test ! -s conftest.err
24432 } && test -s conftest.$ac_objext; then
24435 echo "$as_me: failed program was:" >&5
24436 sed 's/^/| /' conftest.$ac_ext >&5
24438 ac_lo=`expr '(' $ac_mid ')' + 1`
24441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24444 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24445 '') if test "$ac_cv_type_wchar_t" = yes; then
24446 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24447 See \`config.log
' for more details." >&5
24448 echo "$as_me: error: cannot compute sizeof (wchar_t)
24449 See \`config.log' for more details.
" >&2;}
24450 { (exit 77); exit 77; }; }
24452 ac_cv_sizeof_wchar_t=0
24456 cat >conftest.$ac_ext <<_ACEOF
24459 cat confdefs.h >>conftest.$ac_ext
24460 cat >>conftest.$ac_ext <<_ACEOF
24461 /* end confdefs.h. */
24463 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24464 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24465 # error "fake wchar_t
"
24467 #ifdef HAVE_WCHAR_H
24469 # include <stddef.h>
24471 # include <wchar.h>
24473 #ifdef HAVE_STDLIB_H
24474 # include <stdlib.h>
24480 typedef wchar_t ac__type_sizeof_;
24481 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24482 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24484 #include <stdlib.h>
24489 FILE *f = fopen ("conftest.val
", "w
");
24492 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24494 long int i = longval ();
24495 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24497 fprintf (f, "%ld
\n", i);
24501 unsigned long int i = ulongval ();
24502 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24504 fprintf (f, "%lu
\n", i);
24506 return ferror (f) || fclose (f) != 0;
24512 rm -f conftest$ac_exeext
24513 if { (ac_try="$ac_link"
24514 case "(($ac_try" in
24515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24516 *) ac_try_echo=$ac_try;;
24518 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24519 (eval "$ac_link") 2>&5
24521 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24522 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
24530 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24531 (exit $ac_status); }; }; then
24532 ac_cv_sizeof_wchar_t=`cat conftest.val`
24534 echo "$as_me: program exited with status
$ac_status" >&5
24535 echo "$as_me: failed program was
:" >&5
24536 sed 's/^/| /' conftest.$ac_ext >&5
24538 ( exit $ac_status )
24539 if test "$ac_cv_type_wchar_t" = yes; then
24540 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24541 See \
`config.log' for more details." >&5
24542 echo "$as_me: error: cannot compute sizeof (wchar_t)
24543 See \`config.log
' for more details." >&2;}
24544 { (exit 77); exit 77; }; }
24546 ac_cv_sizeof_wchar_t=0
24549 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24553 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24554 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24558 cat >>confdefs.h <<_ACEOF
24559 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24563 if test "$ac_cv_sizeof_wchar_t" = 0; then
24564 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24565 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24566 { (exit 1); exit 1; }; }
24568 cat >>confdefs.h <<\_ACEOF
24569 #define wxUSE_WCHAR_T 1
24573 { echo "$as_me:$LINENO: checking for va_copy" >&5
24574 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24575 if test "${wx_cv_func_va_copy+set}" = set; then
24576 echo $ECHO_N "(cached) $ECHO_C" >&6
24580 ac_cpp='$CXXCPP $CPPFLAGS'
24581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24582 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24585 cat >conftest.$ac_ext <<_ACEOF
24589 cat confdefs.h >>conftest.$ac_ext
24590 cat >>conftest.$ac_ext <<_ACEOF
24591 /* end confdefs.h. */
24593 #include <stdarg.h>
24594 void foo(char *f, ...)
24609 rm -f conftest.$ac_objext conftest$ac_exeext
24610 if { (ac_try="$ac_link"
24611 case "(($ac_try" in
24612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24613 *) ac_try_echo=$ac_try;;
24615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24616 (eval "$ac_link") 2>conftest.er1
24618 grep -v '^
*+' conftest.er1 >conftest.err
24620 cat conftest.err >&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); } && {
24623 test -z "$ac_cxx_werror_flag" ||
24624 test ! -s conftest.err
24625 } && test -s conftest$ac_exeext &&
24626 $as_test_x conftest$ac_exeext; then
24627 wx_cv_func_va_copy=yes
24629 echo "$as_me: failed program was:" >&5
24630 sed 's
/^
/| /' conftest.$ac_ext >&5
24632 wx_cv_func_va_copy=no
24636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24637 conftest$ac_exeext conftest.$ac_ext
24639 ac_cpp='$CPP $CPPFLAGS'
24640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24641 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24647 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24648 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24650 if test $wx_cv_func_va_copy = "yes"; then
24651 cat >>confdefs.h <<\_ACEOF
24652 #define HAVE_VA_COPY 1
24656 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24657 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24658 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24659 echo $ECHO_N "(cached) $ECHO_C" >&6
24662 if test "$cross_compiling" = yes; then
24663 wx_cv_type_va_list_lvalue=yes
24666 cat >conftest.$ac_ext <<_ACEOF
24670 cat confdefs.h >>conftest.$ac_ext
24671 cat >>conftest.$ac_ext <<_ACEOF
24672 /* end confdefs.h. */
24674 #include <stdarg.h>
24675 int foo(char *f, ...)
24680 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24688 return foo("hi", 17);
24692 rm -f conftest$ac_exeext
24693 if { (ac_try="$ac_link"
24694 case "(($ac_try" in
24695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24696 *) ac_try_echo=$ac_try;;
24698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24699 (eval "$ac_link") 2>&5
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
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_try") 2>&5
24710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24711 (exit $ac_status); }; }; then
24712 wx_cv_type_va_list_lvalue=yes
24714 echo "$as_me: program exited with status $ac_status" >&5
24715 echo "$as_me: failed program was:" >&5
24716 sed 's
/^
/| /' conftest.$ac_ext >&5
24718 ( exit $ac_status )
24719 wx_cv_type_va_list_lvalue=no
24721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24728 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24729 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24731 if test $wx_cv_type_va_list_lvalue != "yes"; then
24732 cat >>confdefs.h <<\_ACEOF
24733 #define VA_LIST_IS_ARRAY 1
24739 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24741 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24742 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24743 if test "${wx_cv_have_variadic_macros+set}" = set; then
24744 echo $ECHO_N "(cached) $ECHO_C" >&6
24748 ac_cpp='$CXXCPP $CPPFLAGS'
24749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24750 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24753 cat >conftest.$ac_ext <<_ACEOF
24757 cat confdefs.h >>conftest.$ac_ext
24758 cat >>conftest.$ac_ext <<_ACEOF
24759 /* end confdefs.h. */
24762 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24768 test("%s %d %p", "test", 1, 0);
24775 rm -f conftest.$ac_objext
24776 if { (ac_try="$ac_compile"
24777 case "(($ac_try" in
24778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24779 *) ac_try_echo=$ac_try;;
24781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24782 (eval "$ac_compile") 2>conftest.er1
24784 grep -v '^
*+' conftest.er1 >conftest.err
24786 cat conftest.err >&5
24787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24788 (exit $ac_status); } && {
24789 test -z "$ac_cxx_werror_flag" ||
24790 test ! -s conftest.err
24791 } && test -s conftest.$ac_objext; then
24792 wx_cv_have_variadic_macros=yes
24794 echo "$as_me: failed program was:" >&5
24795 sed 's
/^
/| /' conftest.$ac_ext >&5
24797 wx_cv_have_variadic_macros=no
24801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24803 ac_cpp='$CPP $CPPFLAGS'
24804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24805 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24811 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24812 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24814 if test $wx_cv_have_variadic_macros = "yes"; then
24815 cat >>confdefs.h <<\_ACEOF
24816 #define HAVE_VARIADIC_MACROS 1
24823 LARGEFILE_CPPFLAGS=
24824 # Check whether --enable-largefile was given.
24825 if test "${enable_largefile+set}" = set; then
24826 enableval=$enable_largefile;
24829 if test "$enable_largefile" != no; then
24832 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24833 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24834 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24835 echo $ECHO_N "(cached) $ECHO_C" >&6
24838 cat >conftest.$ac_ext <<_ACEOF
24841 cat confdefs.h >>conftest.$ac_ext
24842 cat >>conftest.$ac_ext <<_ACEOF
24843 /* end confdefs.h. */
24844 #define _FILE_OFFSET_BITS 64
24845 #include <sys/types.h>
24850 unsigned int field: sizeof(off_t) == 8;
24857 rm -f conftest.$ac_objext
24858 if { (ac_try="$ac_compile"
24859 case "(($ac_try" in
24860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24861 *) ac_try_echo=$ac_try;;
24863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24864 (eval "$ac_compile") 2>conftest.er1
24866 grep -v '^
*+' conftest.er1 >conftest.err
24868 cat conftest.err >&5
24869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870 (exit $ac_status); } && {
24871 test -z "$ac_c_werror_flag" ||
24872 test ! -s conftest.err
24873 } && test -s conftest.$ac_objext; then
24874 ac_cv_sys_file_offset_bits=64
24876 echo "$as_me: failed program was:" >&5
24877 sed 's
/^
/| /' conftest.$ac_ext >&5
24879 ac_cv_sys_file_offset_bits=no
24882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24886 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24887 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24889 if test "$ac_cv_sys_file_offset_bits" != no; then
24891 cat >>confdefs.h <<_ACEOF
24892 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24897 if test "x$wx_largefile" != "xyes"; then
24899 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24900 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24901 if test "${ac_cv_sys_large_files+set}" = set; then
24902 echo $ECHO_N "(cached) $ECHO_C" >&6
24905 cat >conftest.$ac_ext <<_ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24911 #define _LARGE_FILES 1
24912 #include <sys/types.h>
24917 unsigned int field: sizeof(off_t) == 8;
24924 rm -f conftest.$ac_objext
24925 if { (ac_try="$ac_compile"
24926 case "(($ac_try" in
24927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24928 *) ac_try_echo=$ac_try;;
24930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24931 (eval "$ac_compile") 2>conftest.er1
24933 grep -v '^
*+' conftest.er1 >conftest.err
24935 cat conftest.err >&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } && {
24938 test -z "$ac_c_werror_flag" ||
24939 test ! -s conftest.err
24940 } && test -s conftest.$ac_objext; then
24941 ac_cv_sys_large_files=1
24943 echo "$as_me: failed program was:" >&5
24944 sed 's
/^
/| /' conftest.$ac_ext >&5
24946 ac_cv_sys_large_files=no
24949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24953 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24954 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24956 if test "$ac_cv_sys_large_files" != no; then
24958 cat >>confdefs.h <<_ACEOF
24959 #define _LARGE_FILES $ac_cv_sys_large_files
24966 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24967 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24968 if test "x$wx_largefile" = "xyes"; then
24969 cat >>confdefs.h <<\_ACEOF
24970 #define HAVE_LARGEFILE_SUPPORT 1
24974 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24975 echo "${ECHO_T}$wx_largefile" >&6; }
24978 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24979 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24980 elif test "$ac_cv_sys_large_files" = 1; then
24981 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24984 if test -n "$LARGEFILE_CPPFLAGS"; then
24985 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24987 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24988 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24989 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24990 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24991 echo $ECHO_N "(cached) $ECHO_C" >&6
24995 ac_cpp='$CXXCPP $CPPFLAGS'
24996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24997 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25000 cat >conftest.$ac_ext <<_ACEOF
25003 cat confdefs.h >>conftest.$ac_ext
25004 cat >>conftest.$ac_ext <<_ACEOF
25005 /* end confdefs.h. */
25011 #ifndef __STDC_EXT__
25019 rm -f conftest.$ac_objext
25020 if { (ac_try="$ac_compile"
25021 case "(($ac_try" in
25022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25023 *) ac_try_echo=$ac_try;;
25025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25026 (eval "$ac_compile") 2>conftest.er1
25028 grep -v '^
*+' conftest.er1 >conftest.err
25030 cat conftest.err >&5
25031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25032 (exit $ac_status); } && {
25033 test -z "$ac_cxx_werror_flag" ||
25034 test ! -s conftest.err
25035 } && test -s conftest.$ac_objext; then
25036 wx_cv_STDC_EXT_required=no
25038 echo "$as_me: failed program was:" >&5
25039 sed 's
/^
/| /' conftest.$ac_ext >&5
25041 wx_cv_STDC_EXT_required=yes
25045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25047 ac_cpp='$CPP $CPPFLAGS'
25048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25049 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25055 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25056 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25057 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25058 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25064 ac_cpp='$CXXCPP $CPPFLAGS'
25065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25066 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25069 old_CPPFLAGS="$CPPFLAGS"
25070 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25071 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25072 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25073 if test "${ac_cv_sys_largefile_source+set}" = set; then
25074 echo $ECHO_N "(cached) $ECHO_C" >&6
25077 cat >conftest.$ac_ext <<_ACEOF
25080 cat confdefs.h >>conftest.$ac_ext
25081 cat >>conftest.$ac_ext <<_ACEOF
25082 /* end confdefs.h. */
25083 #include <sys/types.h> /* for off_t */
25088 int (*fp) (FILE *, off_t, int) = fseeko;
25089 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25094 rm -f conftest.$ac_objext conftest$ac_exeext
25095 if { (ac_try="$ac_link"
25096 case "(($ac_try" in
25097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25098 *) ac_try_echo=$ac_try;;
25100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25101 (eval "$ac_link") 2>conftest.er1
25103 grep -v '^
*+' conftest.er1 >conftest.err
25105 cat conftest.err >&5
25106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25107 (exit $ac_status); } && {
25108 test -z "$ac_cxx_werror_flag" ||
25109 test ! -s conftest.err
25110 } && test -s conftest$ac_exeext &&
25111 $as_test_x conftest$ac_exeext; then
25112 ac_cv_sys_largefile_source=no; break
25114 echo "$as_me: failed program was:" >&5
25115 sed 's
/^
/| /' conftest.$ac_ext >&5
25120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25121 conftest$ac_exeext conftest.$ac_ext
25122 cat >conftest.$ac_ext <<_ACEOF
25125 cat confdefs.h >>conftest.$ac_ext
25126 cat >>conftest.$ac_ext <<_ACEOF
25127 /* end confdefs.h. */
25128 #define _LARGEFILE_SOURCE 1
25129 #include <sys/types.h> /* for off_t */
25134 int (*fp) (FILE *, off_t, int) = fseeko;
25135 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25140 rm -f conftest.$ac_objext conftest$ac_exeext
25141 if { (ac_try="$ac_link"
25142 case "(($ac_try" in
25143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25144 *) ac_try_echo=$ac_try;;
25146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25147 (eval "$ac_link") 2>conftest.er1
25149 grep -v '^
*+' conftest.er1 >conftest.err
25151 cat conftest.err >&5
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); } && {
25154 test -z "$ac_cxx_werror_flag" ||
25155 test ! -s conftest.err
25156 } && test -s conftest$ac_exeext &&
25157 $as_test_x conftest$ac_exeext; then
25158 ac_cv_sys_largefile_source=1; break
25160 echo "$as_me: failed program was:" >&5
25161 sed 's
/^
/| /' conftest.$ac_ext >&5
25166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25167 conftest$ac_exeext conftest.$ac_ext
25168 ac_cv_sys_largefile_source=unknown
25172 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25173 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25174 case $ac_cv_sys_largefile_source in #(
25177 cat >>confdefs.h <<_ACEOF
25178 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25184 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25185 # in glibc 2.1.3, but that breaks too many other things.
25186 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25187 if test $ac_cv_sys_largefile_source != unknown; then
25189 cat >>confdefs.h <<\_ACEOF
25190 #define HAVE_FSEEKO 1
25195 CPPFLAGS="$old_CPPFLAGS"
25197 ac_cpp='$CPP $CPPFLAGS'
25198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25199 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25202 if test "$ac_cv_sys_largefile_source" != no; then
25203 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25206 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25207 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25208 if test "${ac_cv_c_bigendian+set}" = set; then
25209 echo $ECHO_N "(cached) $ECHO_C" >&6
25211 ac_cv_c_bigendian=unknown
25212 # See if sys/param.h defines the BYTE_ORDER macro.
25213 cat >conftest.$ac_ext <<_ACEOF
25216 cat confdefs.h >>conftest.$ac_ext
25217 cat >>conftest.$ac_ext <<_ACEOF
25218 /* end confdefs.h. */
25219 #include <sys/types.h>
25220 #include <sys/param.h>
25225 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25226 bogus endian macros
25232 rm -f conftest.$ac_objext
25233 if { (ac_try="$ac_compile"
25234 case "(($ac_try" in
25235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25236 *) ac_try_echo=$ac_try;;
25238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25239 (eval "$ac_compile") 2>conftest.er1
25241 grep -v '^
*+' conftest.er1 >conftest.err
25243 cat conftest.err >&5
25244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25245 (exit $ac_status); } && {
25246 test -z "$ac_c_werror_flag" ||
25247 test ! -s conftest.err
25248 } && test -s conftest.$ac_objext; then
25249 # It does; now see whether it defined to BIG_ENDIAN or not.
25250 cat >conftest.$ac_ext <<_ACEOF
25253 cat confdefs.h >>conftest.$ac_ext
25254 cat >>conftest.$ac_ext <<_ACEOF
25255 /* end confdefs.h. */
25256 #include <sys/types.h>
25257 #include <sys/param.h>
25262 #if BYTE_ORDER != BIG_ENDIAN
25269 rm -f conftest.$ac_objext
25270 if { (ac_try="$ac_compile"
25271 case "(($ac_try" in
25272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25273 *) ac_try_echo=$ac_try;;
25275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25276 (eval "$ac_compile") 2>conftest.er1
25278 grep -v '^
*+' conftest.er1 >conftest.err
25280 cat conftest.err >&5
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); } && {
25283 test -z "$ac_c_werror_flag" ||
25284 test ! -s conftest.err
25285 } && test -s conftest.$ac_objext; then
25286 ac_cv_c_bigendian=yes
25288 echo "$as_me: failed program was:" >&5
25289 sed 's
/^
/| /' conftest.$ac_ext >&5
25291 ac_cv_c_bigendian=no
25294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25296 echo "$as_me: failed program was:" >&5
25297 sed 's
/^
/| /' conftest.$ac_ext >&5
25302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25303 if test $ac_cv_c_bigendian = unknown; then
25304 if test "$cross_compiling" = yes; then
25305 ac_cv_c_bigendian=unknown
25307 cat >conftest.$ac_ext <<_ACEOF
25310 cat confdefs.h >>conftest.$ac_ext
25311 cat >>conftest.$ac_ext <<_ACEOF
25312 /* end confdefs.h. */
25314 /* Are we little or big endian? From Harbison&Steele. */
25318 char c[sizeof (long)];
25321 exit (u.c[sizeof (long) - 1] == 1);
25324 rm -f conftest$ac_exeext
25325 if { (ac_try="$ac_link"
25326 case "(($ac_try" in
25327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25328 *) ac_try_echo=$ac_try;;
25330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25331 (eval "$ac_link") 2>&5
25333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25334 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
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_try") 2>&5
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); }; }; then
25344 ac_cv_c_bigendian=no
25346 echo "$as_me: program exited with status $ac_status" >&5
25347 echo "$as_me: failed program was:" >&5
25348 sed 's
/^
/| /' conftest.$ac_ext >&5
25350 ( exit $ac_status )
25351 ac_cv_c_bigendian=yes
25353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25359 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25360 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25361 if test $ac_cv_c_bigendian = unknown; then
25362 { 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
25363 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;}
25365 if test $ac_cv_c_bigendian = yes; then
25366 cat >>confdefs.h <<\_ACEOF
25367 #define WORDS_BIGENDIAN 1
25376 ac_cpp='$CXXCPP $CPPFLAGS'
25377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25378 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25383 for ac_header in iostream
25385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25389 echo $ECHO_N "(cached) $ECHO_C" >&6
25391 cat >conftest.$ac_ext <<_ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h. */
25399 #include <$ac_header>
25401 rm -f conftest.$ac_objext
25402 if { (ac_try="$ac_compile"
25403 case "(($ac_try" in
25404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25405 *) ac_try_echo=$ac_try;;
25407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25408 (eval "$ac_compile") 2>conftest.er1
25410 grep -v '^
*+' conftest.er1 >conftest.err
25412 cat conftest.err >&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } && {
25415 test -z "$ac_cxx_werror_flag" ||
25416 test ! -s conftest.err
25417 } && test -s conftest.$ac_objext; then
25418 eval "$as_ac_Header=yes"
25420 echo "$as_me: failed program was:" >&5
25421 sed 's
/^
/| /' conftest.$ac_ext >&5
25423 eval "$as_ac_Header=no"
25426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25428 ac_res=`eval echo '${'$as_ac_Header'}'`
25429 { echo "$as_me:$LINENO: result: $ac_res" >&5
25430 echo "${ECHO_T}$ac_res" >&6; }
25431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25432 cat >>confdefs.h <<_ACEOF
25433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25441 if test "$ac_cv_header_iostream" = "yes" ; then
25444 cat >>confdefs.h <<\_ACEOF
25445 #define wxUSE_IOSTREAMH 1
25451 ac_cpp='$CPP $CPPFLAGS'
25452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25453 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25459 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25460 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25461 if test "${wx_cv_explicit+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25467 ac_cpp='$CXXCPP $CPPFLAGS'
25468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25469 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25473 cat >conftest.$ac_ext <<_ACEOF
25476 cat confdefs.h >>conftest.$ac_ext
25477 cat >>conftest.$ac_ext <<_ACEOF
25478 /* end confdefs.h. */
25480 class Foo { public: explicit Foo(int) {} };
25492 rm -f conftest.$ac_objext
25493 if { (ac_try="$ac_compile"
25494 case "(($ac_try" in
25495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25496 *) ac_try_echo=$ac_try;;
25498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25499 (eval "$ac_compile") 2>conftest.er1
25501 grep -v '^
*+' conftest.er1 >conftest.err
25503 cat conftest.err >&5
25504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25505 (exit $ac_status); } && {
25506 test -z "$ac_cxx_werror_flag" ||
25507 test ! -s conftest.err
25508 } && test -s conftest.$ac_objext; then
25510 cat >conftest.$ac_ext <<_ACEOF
25513 cat confdefs.h >>conftest.$ac_ext
25514 cat >>conftest.$ac_ext <<_ACEOF
25515 /* end confdefs.h. */
25517 class Foo { public: explicit Foo(int) {} };
25518 static void TakeFoo(const Foo& foo) { }
25531 rm -f conftest.$ac_objext
25532 if { (ac_try="$ac_compile"
25533 case "(($ac_try" in
25534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25535 *) ac_try_echo=$ac_try;;
25537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25538 (eval "$ac_compile") 2>conftest.er1
25540 grep -v '^
*+' conftest.er1 >conftest.err
25542 cat conftest.err >&5
25543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25544 (exit $ac_status); } && {
25545 test -z "$ac_cxx_werror_flag" ||
25546 test ! -s conftest.err
25547 } && test -s conftest.$ac_objext; then
25550 echo "$as_me: failed program was:" >&5
25551 sed 's
/^
/| /' conftest.$ac_ext >&5
25557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25560 echo "$as_me: failed program was:" >&5
25561 sed 's
/^
/| /' conftest.$ac_ext >&5
25567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25570 ac_cpp='$CPP $CPPFLAGS'
25571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25572 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25577 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25578 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25580 if test "$wx_cv_explicit" = "yes"; then
25581 cat >>confdefs.h <<\_ACEOF
25582 #define HAVE_EXPLICIT 1
25588 if test "x$SUNCXX" = xyes; then
25589 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
25592 if test "x$SUNCC" = xyes; then
25593 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25596 if test "x$SGICC" = "xyes"; then
25597 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25598 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25599 if test "${wx_cv_prog_sgicc744+set}" = set; then
25600 echo $ECHO_N "(cached) $ECHO_C" >&6
25603 cat >conftest.$ac_ext <<_ACEOF
25606 cat confdefs.h >>conftest.$ac_ext
25607 cat >>conftest.$ac_ext <<_ACEOF
25608 /* end confdefs.h. */
25614 #if _SGI_COMPILER_VERSION >= 744
25615 chock me: mipsPro is 7.4.4 or later
25622 rm -f conftest.$ac_objext
25623 if { (ac_try="$ac_compile"
25624 case "(($ac_try" in
25625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25626 *) ac_try_echo=$ac_try;;
25628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25629 (eval "$ac_compile") 2>conftest.er1
25631 grep -v '^
*+' conftest.er1 >conftest.err
25633 cat conftest.err >&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); } && {
25636 test -z "$ac_c_werror_flag" ||
25637 test ! -s conftest.err
25638 } && test -s conftest.$ac_objext; then
25639 wx_cv_prog_sgicc744=no
25641 echo "$as_me: failed program was:" >&5
25642 sed 's
/^
/| /' conftest.$ac_ext >&5
25644 wx_cv_prog_sgicc744=yes
25648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25652 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25653 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25655 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25656 CFLAGS="-woff 3970 $CFLAGS"
25659 if test "x$SGICXX" = "xyes"; then
25660 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25661 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25662 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25663 echo $ECHO_N "(cached) $ECHO_C" >&6
25667 ac_cpp='$CXXCPP $CPPFLAGS'
25668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25669 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25672 cat >conftest.$ac_ext <<_ACEOF
25675 cat confdefs.h >>conftest.$ac_ext
25676 cat >>conftest.$ac_ext <<_ACEOF
25677 /* end confdefs.h. */
25683 #if _SGI_COMPILER_VERSION >= 744
25684 chock me: mipsPro is 7.4.4 or later
25691 rm -f conftest.$ac_objext
25692 if { (ac_try="$ac_compile"
25693 case "(($ac_try" in
25694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25695 *) ac_try_echo=$ac_try;;
25697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25698 (eval "$ac_compile") 2>conftest.er1
25700 grep -v '^
*+' conftest.er1 >conftest.err
25702 cat conftest.err >&5
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); } && {
25705 test -z "$ac_cxx_werror_flag" ||
25706 test ! -s conftest.err
25707 } && test -s conftest.$ac_objext; then
25708 wx_cv_prog_sgicxx744=no
25710 echo "$as_me: failed program was:" >&5
25711 sed 's
/^
/| /' conftest.$ac_ext >&5
25713 wx_cv_prog_sgicxx744=yes
25717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25719 ac_cpp='$CPP $CPPFLAGS'
25720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25721 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25727 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25728 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25730 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25731 CXXFLAGS="-woff 3970 $CXXFLAGS"
25735 if test "x$HPCC" = "xyes"; then
25736 CFLAGS="+W 2011,2450 $CFLAGS"
25738 if test "x$HPCXX" = "xyes"; then
25739 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25742 if test "x$COMPAQCXX" = "xyes"; then
25743 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25747 ac_cpp='$CXXCPP $CPPFLAGS'
25748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25749 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25753 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25754 if test "$wxUSE_UNICODE" = "yes"; then
25755 std_string="std::wstring"
25756 char_type="wchar_t"
25758 std_string="std::string"
25762 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25763 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25764 if test "${wx_cv_class_stdstring+set}" = set; then
25765 echo $ECHO_N "(cached) $ECHO_C" >&6
25768 cat >conftest.$ac_ext <<_ACEOF
25771 cat confdefs.h >>conftest.$ac_ext
25772 cat >>conftest.$ac_ext <<_ACEOF
25773 /* end confdefs.h. */
25783 rm -f conftest.$ac_objext
25784 if { (ac_try="$ac_compile"
25785 case "(($ac_try" in
25786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25787 *) ac_try_echo=$ac_try;;
25789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25790 (eval "$ac_compile") 2>conftest.er1
25792 grep -v '^
*+' conftest.er1 >conftest.err
25794 cat conftest.err >&5
25795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796 (exit $ac_status); } && {
25797 test -z "$ac_cxx_werror_flag" ||
25798 test ! -s conftest.err
25799 } && test -s conftest.$ac_objext; then
25800 wx_cv_class_stdstring=yes
25802 echo "$as_me: failed program was:" >&5
25803 sed 's
/^
/| /' conftest.$ac_ext >&5
25805 wx_cv_class_stdstring=no
25809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25813 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25814 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25816 if test "$wx_cv_class_stdstring" = yes; then
25817 if test "$wxUSE_UNICODE" = "yes"; then
25818 cat >>confdefs.h <<\_ACEOF
25819 #define HAVE_STD_WSTRING 1
25824 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25825 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25826 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25827 echo $ECHO_N "(cached) $ECHO_C" >&6
25830 cat >conftest.$ac_ext <<_ACEOF
25833 cat confdefs.h >>conftest.$ac_ext
25834 cat >>conftest.$ac_ext <<_ACEOF
25835 /* end confdefs.h. */
25837 #ifdef HAVE_WCHAR_H
25839 # include <stddef.h>
25841 # include <wchar.h>
25843 #ifdef HAVE_STDLIB_H
25844 # include <stdlib.h>
25852 std::basic_string<$char_type> foo;
25853 const $char_type* dummy = foo.c_str();
25858 rm -f conftest.$ac_objext
25859 if { (ac_try="$ac_compile"
25860 case "(($ac_try" in
25861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25862 *) ac_try_echo=$ac_try;;
25864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25865 (eval "$ac_compile") 2>conftest.er1
25867 grep -v '^
*+' conftest.er1 >conftest.err
25869 cat conftest.err >&5
25870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871 (exit $ac_status); } && {
25872 test -z "$ac_cxx_werror_flag" ||
25873 test ! -s conftest.err
25874 } && test -s conftest.$ac_objext; then
25875 wx_cv_class_stdbasicstring=yes
25877 echo "$as_me: failed program was:" >&5
25878 sed 's
/^
/| /' conftest.$ac_ext >&5
25880 wx_cv_class_stdbasicstring=no
25884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25888 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25889 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25891 if test "$wx_cv_class_stdbasicstring" != yes; then
25892 if test "$wxUSE_STL" = "yes"; then
25893 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25894 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25895 { (exit 1); exit 1; }; }
25896 elif test "$wxUSE_STD_STRING" = "yes"; then
25897 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25898 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25899 { (exit 1); exit 1; }; }
25901 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25902 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25903 wxUSE_STD_STRING=no
25909 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25910 { echo "$as_me:$LINENO: checking for std::istream" >&5
25911 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25912 if test "${ac_cv_type_std__istream+set}" = set; then
25913 echo $ECHO_N "(cached) $ECHO_C" >&6
25915 cat >conftest.$ac_ext <<_ACEOF
25918 cat confdefs.h >>conftest.$ac_ext
25919 cat >>conftest.$ac_ext <<_ACEOF
25920 /* end confdefs.h. */
25921 #include <iostream>
25923 typedef std::istream ac__type_new_;
25927 if ((ac__type_new_ *) 0)
25929 if (sizeof (ac__type_new_))
25935 rm -f conftest.$ac_objext
25936 if { (ac_try="$ac_compile"
25937 case "(($ac_try" in
25938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25939 *) ac_try_echo=$ac_try;;
25941 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25942 (eval "$ac_compile") 2>conftest.er1
25944 grep -v '^
*+' conftest.er1 >conftest.err
25946 cat conftest.err >&5
25947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25948 (exit $ac_status); } && {
25949 test -z "$ac_cxx_werror_flag" ||
25950 test ! -s conftest.err
25951 } && test -s conftest.$ac_objext; then
25952 ac_cv_type_std__istream=yes
25954 echo "$as_me: failed program was:" >&5
25955 sed 's
/^
/| /' conftest.$ac_ext >&5
25957 ac_cv_type_std__istream=no
25960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25962 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25963 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25964 if test $ac_cv_type_std__istream = yes; then
25966 cat >>confdefs.h <<_ACEOF
25967 #define HAVE_STD__ISTREAM 1
25972 wxUSE_STD_IOSTREAM=no
25974 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25975 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25976 if test "${ac_cv_type_std__ostream+set}" = set; then
25977 echo $ECHO_N "(cached) $ECHO_C" >&6
25979 cat >conftest.$ac_ext <<_ACEOF
25982 cat confdefs.h >>conftest.$ac_ext
25983 cat >>conftest.$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25985 #include <iostream>
25987 typedef std::ostream ac__type_new_;
25991 if ((ac__type_new_ *) 0)
25993 if (sizeof (ac__type_new_))
25999 rm -f conftest.$ac_objext
26000 if { (ac_try="$ac_compile"
26001 case "(($ac_try" in
26002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26003 *) ac_try_echo=$ac_try;;
26005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26006 (eval "$ac_compile") 2>conftest.er1
26008 grep -v '^
*+' conftest.er1 >conftest.err
26010 cat conftest.err >&5
26011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26012 (exit $ac_status); } && {
26013 test -z "$ac_cxx_werror_flag" ||
26014 test ! -s conftest.err
26015 } && test -s conftest.$ac_objext; then
26016 ac_cv_type_std__ostream=yes
26018 echo "$as_me: failed program was:" >&5
26019 sed 's
/^
/| /' conftest.$ac_ext >&5
26021 ac_cv_type_std__ostream=no
26024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26026 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26027 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26028 if test $ac_cv_type_std__ostream = yes; then
26030 cat >>confdefs.h <<_ACEOF
26031 #define HAVE_STD__OSTREAM 1
26036 wxUSE_STD_IOSTREAM=no
26040 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26041 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26042 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
26043 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26044 { (exit 1); exit 1; }; }
26046 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26047 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26052 if test "$wxUSE_STL" = "yes"; then
26053 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26054 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26055 if test "${wx_cv_lib_stl+set}" = set; then
26056 echo $ECHO_N "(cached) $ECHO_C" >&6
26058 cat >conftest.$ac_ext <<_ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26065 #include <functional>
26066 #include <algorithm>
26072 std::vector<int> moo;
26073 std::list<int> foo;
26074 std::vector<int>::iterator it =
26075 std::find_if(moo.begin(), moo.end(),
26076 std::bind2nd(std::less<int>(), 3));
26081 rm -f conftest.$ac_objext
26082 if { (ac_try="$ac_compile"
26083 case "(($ac_try" in
26084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26085 *) ac_try_echo=$ac_try;;
26087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26088 (eval "$ac_compile") 2>conftest.er1
26090 grep -v '^
*+' conftest.er1 >conftest.err
26092 cat conftest.err >&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); } && {
26095 test -z "$ac_cxx_werror_flag" ||
26096 test ! -s conftest.err
26097 } && test -s conftest.$ac_objext; then
26100 echo "$as_me: failed program was:" >&5
26101 sed 's
/^
/| /' conftest.$ac_ext >&5
26107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26110 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26111 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26113 if test "$wx_cv_lib_stl" != yes; then
26114 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
26115 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
26116 { (exit 1); exit 1; }; }
26119 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26120 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26121 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26122 echo $ECHO_N "(cached) $ECHO_C" >&6
26124 cat >conftest.$ac_ext <<_ACEOF
26127 cat confdefs.h >>conftest.$ac_ext
26128 cat >>conftest.$ac_ext <<_ACEOF
26129 /* end confdefs.h. */
26134 std::string foo, bar;
26136 foo.compare(1, 1, bar);
26137 foo.compare(1, 1, bar, 1, 1);
26139 foo.compare(1, 1, "");
26140 foo.compare(1, 1, "", 2);
26145 rm -f conftest.$ac_objext
26146 if { (ac_try="$ac_compile"
26147 case "(($ac_try" in
26148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26149 *) ac_try_echo=$ac_try;;
26151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26152 (eval "$ac_compile") 2>conftest.er1
26154 grep -v '^
*+' conftest.er1 >conftest.err
26156 cat conftest.err >&5
26157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26158 (exit $ac_status); } && {
26159 test -z "$ac_cxx_werror_flag" ||
26160 test ! -s conftest.err
26161 } && test -s conftest.$ac_objext; then
26162 wx_cv_func_stdstring_compare=yes
26164 echo "$as_me: failed program was:" >&5
26165 sed 's
/^
/| /' conftest.$ac_ext >&5
26167 wx_cv_func_stdstring_compare=no
26171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26174 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26175 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26177 if test "$wx_cv_func_stdstring_compare" = yes; then
26178 cat >>confdefs.h <<\_ACEOF
26179 #define HAVE_STD_STRING_COMPARE 1
26184 if test "$wx_cv_class_gnuhashmapset" = yes; then
26185 cat >>confdefs.h <<\_ACEOF
26186 #define HAVE_EXT_HASH_MAP 1
26189 cat >>confdefs.h <<\_ACEOF
26190 #define HAVE_GNU_CXX_HASH_MAP 1
26195 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26196 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26197 if test "${ac_cv_header_unordered_map+set}" = set; then
26198 echo $ECHO_N "(cached) $ECHO_C" >&6
26200 cat >conftest.$ac_ext <<_ACEOF
26203 cat confdefs.h >>conftest.$ac_ext
26204 cat >>conftest.$ac_ext <<_ACEOF
26205 /* end confdefs.h. */
26209 #include <unordered_map>
26211 rm -f conftest.$ac_objext
26212 if { (ac_try="$ac_compile"
26213 case "(($ac_try" in
26214 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26215 *) ac_try_echo=$ac_try;;
26217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26218 (eval "$ac_compile") 2>conftest.er1
26220 grep -v '^
*+' conftest.er1 >conftest.err
26222 cat conftest.err >&5
26223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26224 (exit $ac_status); } && {
26225 test -z "$ac_cxx_werror_flag" ||
26226 test ! -s conftest.err
26227 } && test -s conftest.$ac_objext; then
26228 ac_cv_header_unordered_map=yes
26230 echo "$as_me: failed program was:" >&5
26231 sed 's
/^
/| /' conftest.$ac_ext >&5
26233 ac_cv_header_unordered_map=no
26236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26238 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26239 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26240 if test $ac_cv_header_unordered_map = yes; then
26241 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26242 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26243 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26244 echo $ECHO_N "(cached) $ECHO_C" >&6
26246 cat >conftest.$ac_ext <<_ACEOF
26249 cat confdefs.h >>conftest.$ac_ext
26250 cat >>conftest.$ac_ext <<_ACEOF
26251 /* end confdefs.h. */
26252 #include <unordered_map>
26253 #include <unordered_set>
26257 std::unordered_map<double*, char*> test1;
26258 std::unordered_set<char*> test2;
26263 rm -f conftest.$ac_objext
26264 if { (ac_try="$ac_compile"
26265 case "(($ac_try" in
26266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26267 *) ac_try_echo=$ac_try;;
26269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26270 (eval "$ac_compile") 2>conftest.er1
26272 grep -v '^
*+' conftest.er1 >conftest.err
26274 cat conftest.err >&5
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); } && {
26277 test -z "$ac_cxx_werror_flag" ||
26278 test ! -s conftest.err
26279 } && test -s conftest.$ac_objext; then
26280 wx_cv_class_stdunorderedmapset=yes
26282 echo "$as_me: failed program was:" >&5
26283 sed 's
/^
/| /' conftest.$ac_ext >&5
26285 wx_cv_class_stdunorderedmapset=no
26288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26292 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26293 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26298 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26299 cat >>confdefs.h <<\_ACEOF
26300 #define HAVE_STD_UNORDERED_MAP 1
26303 cat >>confdefs.h <<\_ACEOF
26304 #define HAVE_STD_UNORDERED_SET 1
26308 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26309 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26310 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26311 echo $ECHO_N "(cached) $ECHO_C" >&6
26313 cat >conftest.$ac_ext <<_ACEOF
26316 cat confdefs.h >>conftest.$ac_ext
26317 cat >>conftest.$ac_ext <<_ACEOF
26318 /* end confdefs.h. */
26322 #include <tr1/unordered_map>
26324 rm -f conftest.$ac_objext
26325 if { (ac_try="$ac_compile"
26326 case "(($ac_try" in
26327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26328 *) ac_try_echo=$ac_try;;
26330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26331 (eval "$ac_compile") 2>conftest.er1
26333 grep -v '^
*+' conftest.er1 >conftest.err
26335 cat conftest.err >&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); } && {
26338 test -z "$ac_cxx_werror_flag" ||
26339 test ! -s conftest.err
26340 } && test -s conftest.$ac_objext; then
26341 ac_cv_header_tr1_unordered_map=yes
26343 echo "$as_me: failed program was:" >&5
26344 sed 's
/^
/| /' conftest.$ac_ext >&5
26346 ac_cv_header_tr1_unordered_map=no
26349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26351 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26352 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26353 if test $ac_cv_header_tr1_unordered_map = yes; then
26354 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26355 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26356 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26357 echo $ECHO_N "(cached) $ECHO_C" >&6
26359 cat >conftest.$ac_ext <<_ACEOF
26362 cat confdefs.h >>conftest.$ac_ext
26363 cat >>conftest.$ac_ext <<_ACEOF
26364 /* end confdefs.h. */
26365 #include <tr1/unordered_map>
26366 #include <tr1/unordered_set>
26370 std::tr1::unordered_map<double*, char*> test1;
26371 std::tr1::unordered_set<char*> test2;
26372 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26373 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
26379 rm -f conftest.
$ac_objext
26380 if { (ac_try
="$ac_compile"
26381 case "(($ac_try" in
26382 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26383 *) ac_try_echo=$ac_try;;
26385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26386 (eval "$ac_compile") 2>conftest.er1
26388 grep -v '^ *+' conftest.er1 >conftest.err
26390 cat conftest.err >&5
26391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26392 (exit $ac_status); } && {
26393 test -z "$ac_cxx_werror_flag" ||
26394 test ! -s conftest.err
26395 } && test -s conftest.$ac_objext; then
26396 wx_cv_class_tr1unorderedmapset=yes
26398 echo "$as_me: failed program was:" >&5
26399 sed 's/^/| /' conftest.$ac_ext >&5
26401 wx_cv_class_tr1unorderedmapset=no
26404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26408 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26409 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26414 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26415 cat >>confdefs.h <<\_ACEOF
26416 #define HAVE_TR1_UNORDERED_MAP 1
26419 cat >>confdefs.h <<\_ACEOF
26420 #define HAVE_TR1_UNORDERED_SET 1
26424 { echo "$as_me:$LINENO: checking for hash_map" >&5
26425 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26426 if test "${ac_cv_header_hash_map+set}" = set; then
26427 echo $ECHO_N "(cached) $ECHO_C" >&6
26429 cat >conftest.$ac_ext <<_ACEOF
26432 cat confdefs.h >>conftest.$ac_ext
26433 cat >>conftest.$ac_ext <<_ACEOF
26434 /* end confdefs.h. */
26438 #include <hash_map>
26440 rm -f conftest.$ac_objext
26441 if { (ac_try="$ac_compile"
26442 case "(($ac_try" in
26443 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26444 *) ac_try_echo
=$ac_try;;
26446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26447 (eval "$ac_compile") 2>conftest.er1
26449 grep -v '^ *+' conftest.er1
>conftest.err
26451 cat conftest.err
>&5
26452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26453 (exit $ac_status); } && {
26454 test -z "$ac_cxx_werror_flag" ||
26455 test ! -s conftest.err
26456 } && test -s conftest.
$ac_objext; then
26457 ac_cv_header_hash_map
=yes
26459 echo "$as_me: failed program was:" >&5
26460 sed 's/^/| /' conftest.
$ac_ext >&5
26462 ac_cv_header_hash_map
=no
26465 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26467 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26468 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26469 if test $ac_cv_header_hash_map = yes; then
26470 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26471 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26472 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26473 echo $ECHO_N "(cached) $ECHO_C" >&6
26475 cat >conftest.
$ac_ext <<_ACEOF
26478 cat confdefs.h
>>conftest.
$ac_ext
26479 cat >>conftest.
$ac_ext <<_ACEOF
26480 /* end confdefs.h. */
26481 #include <hash_map>
26482 #include <hash_set>
26486 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26487 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26492 rm -f conftest.
$ac_objext
26493 if { (ac_try
="$ac_compile"
26494 case "(($ac_try" in
26495 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26496 *) ac_try_echo=$ac_try;;
26498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26499 (eval "$ac_compile") 2>conftest.er1
26501 grep -v '^ *+' conftest.er1 >conftest.err
26503 cat conftest.err >&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); } && {
26506 test -z "$ac_cxx_werror_flag" ||
26507 test ! -s conftest.err
26508 } && test -s conftest.$ac_objext; then
26509 wx_cv_class_stdhashmapset=yes
26511 echo "$as_me: failed program was:" >&5
26512 sed 's/^/| /' conftest.$ac_ext >&5
26514 wx_cv_class_stdhashmapset=no
26517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26521 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26522 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26527 if test "$wx_cv_class_stdhashmapset" = yes; then
26528 cat >>confdefs.h <<\_ACEOF
26529 #define HAVE_HASH_MAP 1
26532 cat >>confdefs.h <<\_ACEOF
26533 #define HAVE_STD_HASH_MAP 1
26538 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26539 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26540 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26541 echo $ECHO_N "(cached) $ECHO_C" >&6
26543 cat >conftest.$ac_ext <<_ACEOF
26546 cat confdefs.h >>conftest.$ac_ext
26547 cat >>conftest.$ac_ext <<_ACEOF
26548 /* end confdefs.h. */
26552 #include <ext/hash_map>
26554 rm -f conftest.$ac_objext
26555 if { (ac_try="$ac_compile"
26556 case "(($ac_try" in
26557 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26558 *) ac_try_echo
=$ac_try;;
26560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26561 (eval "$ac_compile") 2>conftest.er1
26563 grep -v '^ *+' conftest.er1
>conftest.err
26565 cat conftest.err
>&5
26566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26567 (exit $ac_status); } && {
26568 test -z "$ac_cxx_werror_flag" ||
26569 test ! -s conftest.err
26570 } && test -s conftest.
$ac_objext; then
26571 ac_cv_header_ext_hash_map
=yes
26573 echo "$as_me: failed program was:" >&5
26574 sed 's/^/| /' conftest.
$ac_ext >&5
26576 ac_cv_header_ext_hash_map
=no
26579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26581 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26582 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26583 if test $ac_cv_header_ext_hash_map = yes; then
26584 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26585 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26586 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26587 echo $ECHO_N "(cached) $ECHO_C" >&6
26589 cat >conftest.
$ac_ext <<_ACEOF
26592 cat confdefs.h
>>conftest.
$ac_ext
26593 cat >>conftest.
$ac_ext <<_ACEOF
26594 /* end confdefs.h. */
26595 #include <ext/hash_map>
26596 #include <ext/hash_set>
26600 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26601 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26606 rm -f conftest.
$ac_objext
26607 if { (ac_try
="$ac_compile"
26608 case "(($ac_try" in
26609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26610 *) ac_try_echo=$ac_try;;
26612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26613 (eval "$ac_compile") 2>conftest.er1
26615 grep -v '^ *+' conftest.er1 >conftest.err
26617 cat conftest.err >&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); } && {
26620 test -z "$ac_cxx_werror_flag" ||
26621 test ! -s conftest.err
26622 } && test -s conftest.$ac_objext; then
26623 wx_cv_class_gnuhashmapset=yes
26625 echo "$as_me: failed program was:" >&5
26626 sed 's/^/| /' conftest.$ac_ext >&5
26628 wx_cv_class_gnuhashmapset=no
26631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26635 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26636 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26646 ac_cpp='$CXXCPP $CPPFLAGS'
26647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26650 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26651 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26652 if test -z "$CXXCPP"; then
26653 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26654 echo $ECHO_N "(cached) $ECHO_C" >&6
26656 # Double quotes because CXXCPP needs to be expanded
26657 for CXXCPP in "$CXX -E" "/lib/cpp"
26659 ac_preproc_ok=false
26660 for ac_cxx_preproc_warn_flag in '' yes
26662 # Use a header file that comes with gcc, so configuring glibc
26663 # with a fresh cross-compiler works.
26664 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26665 # <limits.h> exists even on freestanding compilers.
26666 # On the NeXT, cc -E runs the code through the compiler's parser,
26667 # not just through cpp. "Syntax error" is here to catch this case.
26668 cat >conftest.$ac_ext <<_ACEOF
26671 cat confdefs.h >>conftest.$ac_ext
26672 cat >>conftest.$ac_ext <<_ACEOF
26673 /* end confdefs.h. */
26675 # include <limits.h>
26677 # include <assert.h>
26681 if { (ac_try="$ac_cpp conftest.$ac_ext"
26682 case "(($ac_try" in
26683 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26684 *) ac_try_echo
=$ac_try;;
26686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26689 grep -v '^ *+' conftest.er1
>conftest.err
26691 cat conftest.err
>&5
26692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26693 (exit $ac_status); } >/dev
/null
&& {
26694 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26695 test ! -s conftest.err
26699 echo "$as_me: failed program was:" >&5
26700 sed 's/^/| /' conftest.
$ac_ext >&5
26702 # Broken: fails on valid input.
26706 rm -f conftest.err conftest.
$ac_ext
26708 # OK, works on sane cases. Now check whether nonexistent headers
26709 # can be detected and how.
26710 cat >conftest.
$ac_ext <<_ACEOF
26713 cat confdefs.h
>>conftest.
$ac_ext
26714 cat >>conftest.
$ac_ext <<_ACEOF
26715 /* end confdefs.h. */
26716 #include <ac_nonexistent.h>
26718 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26719 case "(($ac_try" in
26720 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26721 *) ac_try_echo=$ac_try;;
26723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26726 grep -v '^ *+' conftest.er1 >conftest.err
26728 cat conftest.err >&5
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); } >/dev/null && {
26731 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26732 test ! -s conftest.err
26734 # Broken: success on invalid input.
26737 echo "$as_me: failed program was:" >&5
26738 sed 's/^/| /' conftest.$ac_ext >&5
26740 # Passes both tests.
26745 rm -f conftest.err conftest.$ac_ext
26748 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26749 rm -f conftest.err conftest.
$ac_ext
26750 if $ac_preproc_ok; then
26755 ac_cv_prog_CXXCPP
=$CXXCPP
26758 CXXCPP
=$ac_cv_prog_CXXCPP
26760 ac_cv_prog_CXXCPP
=$CXXCPP
26762 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26763 echo "${ECHO_T}$CXXCPP" >&6; }
26764 ac_preproc_ok
=false
26765 for ac_cxx_preproc_warn_flag
in '' yes
26767 # Use a header file that comes with gcc, so configuring glibc
26768 # with a fresh cross-compiler works.
26769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26770 # <limits.h> exists even on freestanding compilers.
26771 # On the NeXT, cc -E runs the code through the compiler's parser,
26772 # not just through cpp. "Syntax error" is here to catch this case.
26773 cat >conftest.
$ac_ext <<_ACEOF
26776 cat confdefs.h
>>conftest.
$ac_ext
26777 cat >>conftest.
$ac_ext <<_ACEOF
26778 /* end confdefs.h. */
26780 # include <limits.h>
26782 # include <assert.h>
26786 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26787 case "(($ac_try" in
26788 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26789 *) ac_try_echo=$ac_try;;
26791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26794 grep -v '^ *+' conftest.er1 >conftest.err
26796 cat conftest.err >&5
26797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26798 (exit $ac_status); } >/dev/null && {
26799 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26800 test ! -s conftest.err
26804 echo "$as_me: failed program was:" >&5
26805 sed 's/^/| /' conftest.$ac_ext >&5
26807 # Broken: fails on valid input.
26811 rm -f conftest.err conftest.$ac_ext
26813 # OK, works on sane cases. Now check whether nonexistent headers
26814 # can be detected and how.
26815 cat >conftest.$ac_ext <<_ACEOF
26818 cat confdefs.h >>conftest.$ac_ext
26819 cat >>conftest.$ac_ext <<_ACEOF
26820 /* end confdefs.h. */
26821 #include <ac_nonexistent.h>
26823 if { (ac_try="$ac_cpp conftest.$ac_ext"
26824 case "(($ac_try" in
26825 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26826 *) ac_try_echo
=$ac_try;;
26828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26829 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26831 grep -v '^ *+' conftest.er1
>conftest.err
26833 cat conftest.err
>&5
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); } >/dev
/null
&& {
26836 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26837 test ! -s conftest.err
26839 # Broken: success on invalid input.
26842 echo "$as_me: failed program was:" >&5
26843 sed 's/^/| /' conftest.
$ac_ext >&5
26845 # Passes both tests.
26850 rm -f conftest.err conftest.
$ac_ext
26853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26854 rm -f conftest.err conftest.
$ac_ext
26855 if $ac_preproc_ok; then
26858 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26859 See \`config.log' for more details." >&5
26860 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26861 See \`config.log' for more details." >&2;}
26862 { (exit 1); exit 1; }; }
26866 ac_cpp
='$CXXCPP $CPPFLAGS'
26867 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26868 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26869 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26874 for ac_header
in type_traits tr
1/type_traits
26876 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26877 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26878 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26879 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26880 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26881 echo $ECHO_N "(cached) $ECHO_C" >&6
26883 ac_res
=`eval echo '${'$as_ac_Header'}'`
26884 { echo "$as_me:$LINENO: result: $ac_res" >&5
26885 echo "${ECHO_T}$ac_res" >&6; }
26887 # Is the header compilable?
26888 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26890 cat >conftest.
$ac_ext <<_ACEOF
26893 cat confdefs.h
>>conftest.
$ac_ext
26894 cat >>conftest.
$ac_ext <<_ACEOF
26895 /* end confdefs.h. */
26896 $ac_includes_default
26897 #include <$ac_header>
26899 rm -f conftest.
$ac_objext
26900 if { (ac_try
="$ac_compile"
26901 case "(($ac_try" in
26902 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26903 *) ac_try_echo=$ac_try;;
26905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26906 (eval "$ac_compile") 2>conftest.er1
26908 grep -v '^ *+' conftest.er1 >conftest.err
26910 cat conftest.err >&5
26911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26912 (exit $ac_status); } && {
26913 test -z "$ac_cxx_werror_flag" ||
26914 test ! -s conftest.err
26915 } && test -s conftest.$ac_objext; then
26916 ac_header_compiler=yes
26918 echo "$as_me: failed program was:" >&5
26919 sed 's/^/| /' conftest.$ac_ext >&5
26921 ac_header_compiler=no
26924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26925 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26926 echo "${ECHO_T}$ac_header_compiler" >&6; }
26928 # Is the header present?
26929 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26931 cat >conftest.$ac_ext <<_ACEOF
26934 cat confdefs.h >>conftest.$ac_ext
26935 cat >>conftest.$ac_ext <<_ACEOF
26936 /* end confdefs.h. */
26937 #include <$ac_header>
26939 if { (ac_try="$ac_cpp conftest.$ac_ext"
26940 case "(($ac_try" in
26941 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26942 *) ac_try_echo
=$ac_try;;
26944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26947 grep -v '^ *+' conftest.er1
>conftest.err
26949 cat conftest.err
>&5
26950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26951 (exit $ac_status); } >/dev
/null
&& {
26952 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26953 test ! -s conftest.err
26955 ac_header_preproc
=yes
26957 echo "$as_me: failed program was:" >&5
26958 sed 's/^/| /' conftest.
$ac_ext >&5
26960 ac_header_preproc
=no
26963 rm -f conftest.err conftest.
$ac_ext
26964 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26965 echo "${ECHO_T}$ac_header_preproc" >&6; }
26967 # So? What about this header?
26968 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26970 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26971 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26972 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26973 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26974 ac_header_preproc
=yes
26977 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26978 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26979 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26980 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26981 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26982 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26983 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26984 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26987 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26988 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26990 ## ----------------------------------------- ##
26991 ## Report this to wx-dev@lists.wxwidgets.org ##
26992 ## ----------------------------------------- ##
26994 ) | sed "s/^/$as_me: WARNING: /" >&2
26997 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26999 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27000 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 eval "$as_ac_Header=\$ac_header_preproc"
27004 ac_res
=`eval echo '${'$as_ac_Header'}'`
27005 { echo "$as_me:$LINENO: result: $ac_res" >&5
27006 echo "${ECHO_T}$ac_res" >&6; }
27009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27010 cat >>confdefs.h
<<_ACEOF
27011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27021 if test -n "$GCC"; then
27022 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27023 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27024 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27025 echo $ECHO_N "(cached) $ECHO_C" >&6
27028 cat >conftest.
$ac_ext <<_ACEOF
27031 cat confdefs.h
>>conftest.
$ac_ext
27032 cat >>conftest.
$ac_ext <<_ACEOF
27033 /* end confdefs.h. */
27039 unsigned int value=0;
27040 /* wxAtomicInc doesn't use return value here */
27041 __sync_fetch_and_add(&value, 2);
27042 __sync_sub_and_fetch(&value, 1);
27043 /* but wxAtomicDec does, so mimic that: */
27044 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27050 rm -f conftest.
$ac_objext conftest
$ac_exeext
27051 if { (ac_try
="$ac_link"
27052 case "(($ac_try" in
27053 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27054 *) ac_try_echo=$ac_try;;
27056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27057 (eval "$ac_link") 2>conftest.er1
27059 grep -v '^ *+' conftest.er1 >conftest.err
27061 cat conftest.err >&5
27062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27063 (exit $ac_status); } && {
27064 test -z "$ac_cxx_werror_flag" ||
27065 test ! -s conftest.err
27066 } && test -s conftest$ac_exeext &&
27067 $as_test_x conftest$ac_exeext; then
27068 wx_cv_cc_gcc_atomic_builtins=yes
27070 echo "$as_me: failed program was:" >&5
27071 sed 's/^/| /' conftest.$ac_ext >&5
27073 wx_cv_cc_gcc_atomic_builtins=no
27076 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27077 conftest$ac_exeext conftest.$ac_ext
27081 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27082 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27083 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27084 cat >>confdefs.h <<\_ACEOF
27085 #define HAVE_GCC_ATOMIC_BUILTINS 1
27093 ac_cpp='$CPP $CPPFLAGS'
27094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27101 /usr/local/include \
27102 /usr/local/X11/include \
27103 /usr/local/include/X11 \
27104 /usr/local/X11R7/include \
27105 /usr/local/X11R6/include \
27106 /usr/local/include/X11R7 \
27107 /usr/local/include/X11R6 \
27109 /usr/Motif-2.1/include \
27110 /usr/Motif-1.2/include \
27111 /usr/include/Motif1.2 \
27114 /usr/openwin/include \
27118 /usr/X11R7/include \
27119 /usr/X11R6/include \
27120 /usr/X11R6.4/include \
27122 /usr/include/X11R7 \
27123 /usr/include/X11R6 \
27128 /usr/XFree86/include/X11 \
27131 /usr/local/X1R5/include \
27132 /usr/local/include/X11R5 \
27133 /usr/X11R5/include \
27134 /usr/include/X11R5 \
27136 /usr/local/X11R4/include \
27137 /usr/local/include/X11R4 \
27138 /usr/X11R4/include \
27139 /usr/include/X11R4 \
27141 /usr/openwin/share/include"
27143 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27144 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27148 if test "${wx_cv_std_libpath+set}" = set; then
27149 echo $ECHO_N "(cached) $ECHO_C" >&6
27152 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27153 for e in a so sl dylib dll.a; do
27155 if test -f $libc; then
27158 cat >conftest.$ac_ext <<_ACEOF
27162 cat confdefs.h >>conftest.$ac_ext
27163 cat >>conftest.$ac_ext <<_ACEOF
27164 /* end confdefs.h. */
27165 int main() { return 0; }
27168 rm -f conftest.$ac_objext conftest$ac_exeext
27169 if { (ac_try="$ac_link"
27170 case "(($ac_try" in
27171 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27172 *) ac_try_echo
=$ac_try;;
27174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27175 (eval "$ac_link") 2>conftest.er1
27177 grep -v '^ *+' conftest.er1
>conftest.err
27179 cat conftest.err
>&5
27180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27181 (exit $ac_status); } && {
27182 test -z "$ac_c_werror_flag" ||
27183 test ! -s conftest.err
27184 } && test -s conftest
$ac_exeext &&
27185 $as_test_x conftest
$ac_exeext; then
27186 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
27188 echo "$as_me: failed program was:" >&5
27189 sed 's/^/| /' conftest.
$ac_ext >&5
27194 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27195 conftest
$ac_exeext conftest.
$ac_ext
27197 if test "x$wx_cv_std_libpath" != "x"; then
27210 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27211 wx_cv_std_libpath
="lib/64"
27216 if test "$ac_cv_sizeof_void_p" = 8; then
27217 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27218 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
27219 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27220 wx_cv_std_libpath
="lib64"
27225 if test -d '/usr/lib/i386-linux-gnu'; then
27226 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
27231 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27232 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
27237 if test -z "$wx_cv_std_libpath"; then
27238 wx_cv_std_libpath
="lib"
27241 if test -z "$wx_cv_std_libfullpath"; then
27242 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
27246 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27247 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27249 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27251 if test "$build" != "$host" -a "$GCC" = yes; then
27252 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
27253 cross_root
=`dirname $cross_root`
27254 cross_root
=`dirname $cross_root`
27256 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27257 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27258 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
27260 if test -z "$PKG_CONFIG_PATH"; then
27261 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27262 export PKG_CONFIG_PATH
27265 if test -z "$x_includes" -o "$x_includes" = NONE
; then
27268 for ac_dir
in $SEARCH_INCLUDE /usr
/include
27270 if test -f "$ac_dir/X11/Intrinsic.h"; then
27271 ac_find_includes
=$ac_dir
27276 x_includes
=$ac_find_includes
27278 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
27281 for ac_dir
in $SEARCH_LIB
27283 for ac_extension
in a so sl dylib dll.a
; do
27284 if test -f "$ac_dir/libXt.$ac_extension"; then
27285 ac_find_libraries
=$ac_dir
27291 x_libraries
=$ac_find_libraries
27297 cat >confcache
<<\_ACEOF
27298 # This file is a shell script that caches the results of configure
27299 # tests run on this system so they can be shared between configure
27300 # scripts and configure runs, see configure's option --config-cache.
27301 # It is not useful on other systems. If it contains results you don't
27302 # want to keep, you may remove or edit it.
27304 # config.status only pays attention to the cache file if you give it
27305 # the --recheck option to rerun configure.
27307 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27308 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27309 # following values.
27313 # The following way of writing the cache mishandles newlines in values,
27314 # but we know of no workaround that is simple, portable, and efficient.
27315 # So, we kill variables containing newlines.
27316 # Ultrix sh set writes to stderr and can't be redirected directly,
27317 # and sets the high bit in the cache file unless we assign to the vars.
27319 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27320 eval ac_val
=\$
$ac_var
27324 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27325 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27328 _
| IFS
| as_nl
) ;; #(
27329 *) $as_unset $ac_var ;;
27335 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27336 *${as_nl}ac_space
=\
*)
27337 # `set' does not quote correctly, so add quotes (double-quote
27338 # substitution turns \\\\ into \\, and sed turns \\ into \).
27341 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27344 # `set' quotes correctly as required by POSIX, so do not add quotes.
27345 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27354 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27356 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27358 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27359 if test -w "$cache_file"; then
27360 test "x$cache_file" != "x/dev/null" &&
27361 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27362 echo "$as_me: updating cache $cache_file" >&6;}
27363 cat confcache
>$cache_file
27365 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27366 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27376 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27379 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27380 echo $ECHO_N "(cached) $ECHO_C" >&6
27382 cat >conftest.
$ac_ext <<_ACEOF
27385 cat confdefs.h
>>conftest.
$ac_ext
27386 cat >>conftest.
$ac_ext <<_ACEOF
27387 /* end confdefs.h. */
27388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27390 #define $ac_func innocuous_$ac_func
27392 /* System header to define __stub macros and hopefully few prototypes,
27393 which can conflict with char $ac_func (); below.
27394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27395 <limits.h> exists even on freestanding compilers. */
27398 # include <limits.h>
27400 # include <assert.h>
27405 /* Override any GCC internal prototype to avoid an error.
27406 Use char because int might match the return type of a GCC
27407 builtin and then its argument prototype would still apply. */
27412 /* The GNU C library defines this for functions which it implements
27413 to always fail with ENOSYS. Some functions are actually named
27414 something starting with __ and the normal name is an alias. */
27415 #if defined __stub_$ac_func || defined __stub___$ac_func
27422 return $ac_func ();
27427 rm -f conftest.
$ac_objext conftest
$ac_exeext
27428 if { (ac_try
="$ac_link"
27429 case "(($ac_try" in
27430 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27431 *) ac_try_echo=$ac_try;;
27433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27434 (eval "$ac_link") 2>conftest.er1
27436 grep -v '^ *+' conftest.er1 >conftest.err
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } && {
27441 test -z "$ac_c_werror_flag" ||
27442 test ! -s conftest.err
27443 } && test -s conftest$ac_exeext &&
27444 $as_test_x conftest$ac_exeext; then
27445 eval "$as_ac_var=yes"
27447 echo "$as_me: failed program was:" >&5
27448 sed 's/^/| /' conftest.$ac_ext >&5
27450 eval "$as_ac_var=no"
27453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27454 conftest$ac_exeext conftest.$ac_ext
27456 ac_res=`eval echo '${'$as_ac_var'}'`
27457 { echo "$as_me:$LINENO: result: $ac_res" >&5
27458 echo "${ECHO_T}$ac_res" >&6; }
27459 if test `eval echo '${'$as_ac_var'}'` = yes; then
27460 cat >>confdefs.h <<_ACEOF
27461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27468 for ac_func in floor
27470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27471 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27473 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27474 echo $ECHO_N "(cached) $ECHO_C" >&6
27476 cat >conftest.$ac_ext <<_ACEOF
27479 cat confdefs.h >>conftest.$ac_ext
27480 cat >>conftest.$ac_ext <<_ACEOF
27481 /* end confdefs.h. */
27482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27484 #define $ac_func innocuous_$ac_func
27486 /* System header to define __stub macros and hopefully few prototypes,
27487 which can conflict with char $ac_func (); below.
27488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27489 <limits.h> exists even on freestanding compilers. */
27492 # include <limits.h>
27494 # include <assert.h>
27499 /* Override any GCC internal prototype to avoid an error.
27500 Use char because int might match the return type of a GCC
27501 builtin and then its argument prototype would still apply. */
27506 /* The GNU C library defines this for functions which it implements
27507 to always fail with ENOSYS. Some functions are actually named
27508 something starting with __ and the normal name is an alias. */
27509 #if defined __stub_$ac_func || defined __stub___$ac_func
27516 return $ac_func ();
27521 rm -f conftest.$ac_objext conftest$ac_exeext
27522 if { (ac_try="$ac_link"
27523 case "(($ac_try" in
27524 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27525 *) ac_try_echo
=$ac_try;;
27527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27528 (eval "$ac_link") 2>conftest.er1
27530 grep -v '^ *+' conftest.er1
>conftest.err
27532 cat conftest.err
>&5
27533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27534 (exit $ac_status); } && {
27535 test -z "$ac_c_werror_flag" ||
27536 test ! -s conftest.err
27537 } && test -s conftest
$ac_exeext &&
27538 $as_test_x conftest
$ac_exeext; then
27539 eval "$as_ac_var=yes"
27541 echo "$as_me: failed program was:" >&5
27542 sed 's/^/| /' conftest.
$ac_ext >&5
27544 eval "$as_ac_var=no"
27547 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27548 conftest
$ac_exeext conftest.
$ac_ext
27550 ac_res
=`eval echo '${'$as_ac_var'}'`
27551 { echo "$as_me:$LINENO: result: $ac_res" >&5
27552 echo "${ECHO_T}$ac_res" >&6; }
27553 if test `eval echo '${'$as_ac_var'}'` = yes; then
27554 cat >>confdefs.h
<<_ACEOF
27555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27561 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27562 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27563 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27564 { echo "$as_me:$LINENO: result: yes" >&5
27565 echo "${ECHO_T}yes" >&6; }
27567 { echo "$as_me:$LINENO: result: no" >&5
27568 echo "${ECHO_T}no" >&6; }
27570 # use different functions to avoid configure caching
27576 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27577 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27579 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27580 echo $ECHO_N "(cached) $ECHO_C" >&6
27582 cat >conftest.
$ac_ext <<_ACEOF
27585 cat confdefs.h
>>conftest.
$ac_ext
27586 cat >>conftest.
$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27589 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27590 #define $ac_func innocuous_$ac_func
27592 /* System header to define __stub macros and hopefully few prototypes,
27593 which can conflict with char $ac_func (); below.
27594 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27595 <limits.h> exists even on freestanding compilers. */
27598 # include <limits.h>
27600 # include <assert.h>
27605 /* Override any GCC internal prototype to avoid an error.
27606 Use char because int might match the return type of a GCC
27607 builtin and then its argument prototype would still apply. */
27612 /* The GNU C library defines this for functions which it implements
27613 to always fail with ENOSYS. Some functions are actually named
27614 something starting with __ and the normal name is an alias. */
27615 #if defined __stub_$ac_func || defined __stub___$ac_func
27622 return $ac_func ();
27627 rm -f conftest.
$ac_objext conftest
$ac_exeext
27628 if { (ac_try
="$ac_link"
27629 case "(($ac_try" in
27630 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27631 *) ac_try_echo=$ac_try;;
27633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27634 (eval "$ac_link") 2>conftest.er1
27636 grep -v '^ *+' conftest.er1 >conftest.err
27638 cat conftest.err >&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); } && {
27641 test -z "$ac_c_werror_flag" ||
27642 test ! -s conftest.err
27643 } && test -s conftest$ac_exeext &&
27644 $as_test_x conftest$ac_exeext; then
27645 eval "$as_ac_var=yes"
27647 echo "$as_me: failed program was:" >&5
27648 sed 's/^/| /' conftest.$ac_ext >&5
27650 eval "$as_ac_var=no"
27653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27654 conftest$ac_exeext conftest.$ac_ext
27656 ac_res=`eval echo '${'$as_ac_var'}'`
27657 { echo "$as_me:$LINENO: result: $ac_res" >&5
27658 echo "${ECHO_T}$ac_res" >&6; }
27659 if test `eval echo '${'$as_ac_var'}'` = yes; then
27660 cat >>confdefs.h <<_ACEOF
27661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27668 for ac_func in ceil
27670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27671 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27673 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27674 echo $ECHO_N "(cached) $ECHO_C" >&6
27676 cat >conftest.$ac_ext <<_ACEOF
27679 cat confdefs.h >>conftest.$ac_ext
27680 cat >>conftest.$ac_ext <<_ACEOF
27681 /* end confdefs.h. */
27682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27684 #define $ac_func innocuous_$ac_func
27686 /* System header to define __stub macros and hopefully few prototypes,
27687 which can conflict with char $ac_func (); below.
27688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27689 <limits.h> exists even on freestanding compilers. */
27692 # include <limits.h>
27694 # include <assert.h>
27699 /* Override any GCC internal prototype to avoid an error.
27700 Use char because int might match the return type of a GCC
27701 builtin and then its argument prototype would still apply. */
27706 /* The GNU C library defines this for functions which it implements
27707 to always fail with ENOSYS. Some functions are actually named
27708 something starting with __ and the normal name is an alias. */
27709 #if defined __stub_$ac_func || defined __stub___$ac_func
27716 return $ac_func ();
27721 rm -f conftest.$ac_objext conftest$ac_exeext
27722 if { (ac_try="$ac_link"
27723 case "(($ac_try" in
27724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27725 *) ac_try_echo
=$ac_try;;
27727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27728 (eval "$ac_link") 2>conftest.er1
27730 grep -v '^ *+' conftest.er1
>conftest.err
27732 cat conftest.err
>&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); } && {
27735 test -z "$ac_c_werror_flag" ||
27736 test ! -s conftest.err
27737 } && test -s conftest
$ac_exeext &&
27738 $as_test_x conftest
$ac_exeext; then
27739 eval "$as_ac_var=yes"
27741 echo "$as_me: failed program was:" >&5
27742 sed 's/^/| /' conftest.
$ac_ext >&5
27744 eval "$as_ac_var=no"
27747 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27748 conftest
$ac_exeext conftest.
$ac_ext
27750 ac_res
=`eval echo '${'$as_ac_var'}'`
27751 { echo "$as_me:$LINENO: result: $ac_res" >&5
27752 echo "${ECHO_T}$ac_res" >&6; }
27753 if test `eval echo '${'$as_ac_var'}'` = yes; then
27754 cat >>confdefs.h
<<_ACEOF
27755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27761 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27762 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27763 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27764 { echo "$as_me:$LINENO: result: yes" >&5
27765 echo "${ECHO_T}yes" >&6; }
27767 { echo "$as_me:$LINENO: result: no" >&5
27768 echo "${ECHO_T}no" >&6; }
27769 # not sure we should warn the user, crash, etc.
27774 ac_cpp
='$CXXCPP $CPPFLAGS'
27775 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27776 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27777 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27779 if test "wxUSE_UNICODE" = "yes"; then
27781 for wx_func
in wcstoull
27783 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27784 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27785 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27786 echo $ECHO_N "(cached) $ECHO_C" >&6
27789 cat >conftest.
$ac_ext <<_ACEOF
27793 cat confdefs.h
>>conftest.
$ac_ext
27794 cat >>conftest.
$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27798 $ac_includes_default
27814 rm -f conftest.
$ac_objext conftest
$ac_exeext
27815 if { (ac_try
="$ac_link"
27816 case "(($ac_try" in
27817 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27818 *) ac_try_echo=$ac_try;;
27820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27821 (eval "$ac_link") 2>conftest.er1
27823 grep -v '^ *+' conftest.er1 >conftest.err
27825 cat conftest.err >&5
27826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27827 (exit $ac_status); } && {
27828 test -z "$ac_cxx_werror_flag" ||
27829 test ! -s conftest.err
27830 } && test -s conftest$ac_exeext &&
27831 $as_test_x conftest$ac_exeext; then
27832 eval wx_cv_func_$wx_func=yes
27834 echo "$as_me: failed program was:" >&5
27835 sed 's/^/| /' conftest.$ac_ext >&5
27837 eval wx_cv_func_$wx_func=no
27840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27841 conftest$ac_exeext conftest.$ac_ext
27844 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27845 { echo "$as_me:$LINENO: result: $ac_res" >&5
27846 echo "${ECHO_T}$ac_res" >&6; }
27848 if eval test \$wx_cv_func_$wx_func = yes
27850 cat >>confdefs.h <<_ACEOF
27851 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27863 for wx_func in strtoull
27865 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27866 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27867 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27868 echo $ECHO_N "(cached) $ECHO_C" >&6
27871 cat >conftest.$ac_ext <<_ACEOF
27875 cat confdefs.h >>conftest.$ac_ext
27876 cat >>conftest.$ac_ext <<_ACEOF
27877 /* end confdefs.h. */
27880 $ac_includes_default
27896 rm -f conftest.$ac_objext conftest$ac_exeext
27897 if { (ac_try="$ac_link"
27898 case "(($ac_try" in
27899 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27900 *) ac_try_echo
=$ac_try;;
27902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27903 (eval "$ac_link") 2>conftest.er1
27905 grep -v '^ *+' conftest.er1
>conftest.err
27907 cat conftest.err
>&5
27908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27909 (exit $ac_status); } && {
27910 test -z "$ac_cxx_werror_flag" ||
27911 test ! -s conftest.err
27912 } && test -s conftest
$ac_exeext &&
27913 $as_test_x conftest
$ac_exeext; then
27914 eval wx_cv_func_
$wx_func=yes
27916 echo "$as_me: failed program was:" >&5
27917 sed 's/^/| /' conftest.
$ac_ext >&5
27919 eval wx_cv_func_
$wx_func=no
27922 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27923 conftest
$ac_exeext conftest.
$ac_ext
27926 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27927 { echo "$as_me:$LINENO: result: $ac_res" >&5
27928 echo "${ECHO_T}$ac_res" >&6; }
27930 if eval test \
$wx_cv_func_$wx_func = yes
27932 cat >>confdefs.h
<<_ACEOF
27933 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27945 ac_cpp
='$CPP $CPPFLAGS'
27946 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27947 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27948 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27953 if test "$wxUSE_REGEX" != "no"; then
27954 cat >>confdefs.h
<<\_ACEOF
27955 #define wxUSE_REGEX 1
27959 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27960 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27961 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27962 wxUSE_REGEX
=builtin
27965 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27966 { echo "$as_me:$LINENO: checking for regex.h" >&5
27967 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27968 if test "${ac_cv_header_regex_h+set}" = set; then
27969 echo $ECHO_N "(cached) $ECHO_C" >&6
27971 cat >conftest.
$ac_ext <<_ACEOF
27974 cat confdefs.h
>>conftest.
$ac_ext
27975 cat >>conftest.
$ac_ext <<_ACEOF
27976 /* end confdefs.h. */
27981 rm -f conftest.
$ac_objext
27982 if { (ac_try
="$ac_compile"
27983 case "(($ac_try" in
27984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27985 *) ac_try_echo=$ac_try;;
27987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27988 (eval "$ac_compile") 2>conftest.er1
27990 grep -v '^ *+' conftest.er1 >conftest.err
27992 cat conftest.err >&5
27993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27994 (exit $ac_status); } && {
27995 test -z "$ac_c_werror_flag" ||
27996 test ! -s conftest.err
27997 } && test -s conftest.$ac_objext; then
27998 ac_cv_header_regex_h=yes
28000 echo "$as_me: failed program was:" >&5
28001 sed 's/^/| /' conftest.$ac_ext >&5
28003 ac_cv_header_regex_h=no
28006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28008 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28009 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28010 if test $ac_cv_header_regex_h = yes; then
28013 for ac_func in regcomp re_search
28015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28016 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28018 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28019 echo $ECHO_N "(cached) $ECHO_C" >&6
28021 cat >conftest.$ac_ext <<_ACEOF
28024 cat confdefs.h >>conftest.$ac_ext
28025 cat >>conftest.$ac_ext <<_ACEOF
28026 /* end confdefs.h. */
28027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28028 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28029 #define $ac_func innocuous_$ac_func
28031 /* System header to define __stub macros and hopefully few prototypes,
28032 which can conflict with char $ac_func (); below.
28033 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28034 <limits.h> exists even on freestanding compilers. */
28037 # include <limits.h>
28039 # include <assert.h>
28044 /* Override any GCC internal prototype to avoid an error.
28045 Use char because int might match the return type of a GCC
28046 builtin and then its argument prototype would still apply. */
28051 /* The GNU C library defines this for functions which it implements
28052 to always fail with ENOSYS. Some functions are actually named
28053 something starting with __ and the normal name is an alias. */
28054 #if defined __stub_$ac_func || defined __stub___$ac_func
28061 return $ac_func ();
28066 rm -f conftest.$ac_objext conftest$ac_exeext
28067 if { (ac_try="$ac_link"
28068 case "(($ac_try" in
28069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28070 *) ac_try_echo
=$ac_try;;
28072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28073 (eval "$ac_link") 2>conftest.er1
28075 grep -v '^ *+' conftest.er1
>conftest.err
28077 cat conftest.err
>&5
28078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28079 (exit $ac_status); } && {
28080 test -z "$ac_c_werror_flag" ||
28081 test ! -s conftest.err
28082 } && test -s conftest
$ac_exeext &&
28083 $as_test_x conftest
$ac_exeext; then
28084 eval "$as_ac_var=yes"
28086 echo "$as_me: failed program was:" >&5
28087 sed 's/^/| /' conftest.
$ac_ext >&5
28089 eval "$as_ac_var=no"
28092 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28093 conftest
$ac_exeext conftest.
$ac_ext
28095 ac_res
=`eval echo '${'$as_ac_var'}'`
28096 { echo "$as_me:$LINENO: result: $ac_res" >&5
28097 echo "${ECHO_T}$ac_res" >&6; }
28098 if test `eval echo '${'$as_ac_var'}'` = yes; then
28099 cat >>confdefs.h
<<_ACEOF
28100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28110 if test "x$ac_cv_func_regcomp" != "xyes"; then
28111 if test "$wxUSE_REGEX" = "sys" ; then
28112 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28113 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28114 { (exit 1); exit 1; }; }
28116 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28117 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28118 wxUSE_REGEX
=builtin
28122 cat >>confdefs.h
<<\_ACEOF
28123 #define WX_NO_REGEX_ADVANCED 1
28132 if test "$wxUSE_ZLIB" != "no" ; then
28133 cat >>confdefs.h
<<\_ACEOF
28134 #define wxUSE_ZLIB 1
28138 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28139 if test "$USE_DARWIN" = 1; then
28140 system_zlib_h_ok
="yes"
28142 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28143 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28144 if test "${ac_cv_header_zlib_h+set}" = set; then
28145 echo $ECHO_N "(cached) $ECHO_C" >&6
28147 if test "$cross_compiling" = yes; then
28148 unset ac_cv_header_zlib_h
28151 cat >conftest.
$ac_ext <<_ACEOF
28154 cat confdefs.h
>>conftest.
$ac_ext
28155 cat >>conftest.
$ac_ext <<_ACEOF
28156 /* end confdefs.h. */
28163 FILE *f=fopen("conftestval", "w");
28166 ZLIB_VERSION[0] == '1' &&
28167 (ZLIB_VERSION[2] > '1' ||
28168 (ZLIB_VERSION[2] == '1' &&
28169 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28174 rm -f conftest
$ac_exeext
28175 if { (ac_try
="$ac_link"
28176 case "(($ac_try" in
28177 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28178 *) ac_try_echo=$ac_try;;
28180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28181 (eval "$ac_link") 2>&5
28183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28184 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); }; }; then
28194 ac_cv_header_zlib_h
=`cat conftestval`
28196 echo "$as_me: program exited with status $ac_status" >&5
28197 echo "$as_me: failed program was:" >&5
28198 sed 's/^/| /' conftest.
$ac_ext >&5
28200 ( exit $ac_status )
28201 ac_cv_header_zlib_h
=no
28203 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28209 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28210 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28211 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28212 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28213 if test "${ac_cv_header_zlib_h+set}" = set; then
28214 echo $ECHO_N "(cached) $ECHO_C" >&6
28216 cat >conftest.
$ac_ext <<_ACEOF
28219 cat confdefs.h
>>conftest.
$ac_ext
28220 cat >>conftest.
$ac_ext <<_ACEOF
28221 /* end confdefs.h. */
28226 rm -f conftest.
$ac_objext
28227 if { (ac_try
="$ac_compile"
28228 case "(($ac_try" in
28229 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28230 *) ac_try_echo=$ac_try;;
28232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28233 (eval "$ac_compile") 2>conftest.er1
28235 grep -v '^ *+' conftest.er1 >conftest.err
28237 cat conftest.err >&5
28238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28239 (exit $ac_status); } && {
28240 test -z "$ac_c_werror_flag" ||
28241 test ! -s conftest.err
28242 } && test -s conftest.$ac_objext; then
28243 ac_cv_header_zlib_h=yes
28245 echo "$as_me: failed program was:" >&5
28246 sed 's/^/| /' conftest.$ac_ext >&5
28248 ac_cv_header_zlib_h=no
28251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28253 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28254 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28258 system_zlib_h_ok=$ac_cv_header_zlib_h
28261 if test "$system_zlib_h_ok" = "yes"; then
28262 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28263 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28264 if test "${ac_cv_lib_z_deflate+set}" = set; then
28265 echo $ECHO_N "(cached) $ECHO_C" >&6
28267 ac_check_lib_save_LIBS=$LIBS
28269 cat >conftest.$ac_ext <<_ACEOF
28272 cat confdefs.h >>conftest.$ac_ext
28273 cat >>conftest.$ac_ext <<_ACEOF
28274 /* end confdefs.h. */
28276 /* Override any GCC internal prototype to avoid an error.
28277 Use char because int might match the return type of a GCC
28278 builtin and then its argument prototype would still apply. */
28291 rm -f conftest.$ac_objext conftest$ac_exeext
28292 if { (ac_try="$ac_link"
28293 case "(($ac_try" in
28294 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28295 *) ac_try_echo
=$ac_try;;
28297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28298 (eval "$ac_link") 2>conftest.er1
28300 grep -v '^ *+' conftest.er1
>conftest.err
28302 cat conftest.err
>&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } && {
28305 test -z "$ac_c_werror_flag" ||
28306 test ! -s conftest.err
28307 } && test -s conftest
$ac_exeext &&
28308 $as_test_x conftest
$ac_exeext; then
28309 ac_cv_lib_z_deflate
=yes
28311 echo "$as_me: failed program was:" >&5
28312 sed 's/^/| /' conftest.
$ac_ext >&5
28314 ac_cv_lib_z_deflate
=no
28317 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28318 conftest
$ac_exeext conftest.
$ac_ext
28319 LIBS
=$ac_check_lib_save_LIBS
28321 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28322 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28323 if test $ac_cv_lib_z_deflate = yes; then
28329 if test "x$ZLIB_LINK" = "x" ; then
28330 if test "$wxUSE_ZLIB" = "sys" ; then
28331 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28332 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28333 { (exit 1); exit 1; }; }
28335 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28336 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28347 if test "$wxUSE_LIBPNG" != "no" ; then
28348 cat >>confdefs.h
<<\_ACEOF
28349 #define wxUSE_LIBPNG 1
28353 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28354 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28355 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28356 wxUSE_LIBPNG
=builtin
28359 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28360 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28361 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28362 if test "${ac_cv_header_png_h+set}" = set; then
28363 echo $ECHO_N "(cached) $ECHO_C" >&6
28365 if test "$cross_compiling" = yes; then
28366 unset ac_cv_header_png_h
28369 cat >conftest.
$ac_ext <<_ACEOF
28372 cat confdefs.h
>>conftest.
$ac_ext
28373 cat >>conftest.
$ac_ext <<_ACEOF
28374 /* end confdefs.h. */
28381 FILE *f=fopen("conftestval", "w");
28384 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28389 rm -f conftest
$ac_exeext
28390 if { (ac_try
="$ac_link"
28391 case "(($ac_try" in
28392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28393 *) ac_try_echo=$ac_try;;
28395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28396 (eval "$ac_link") 2>&5
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
28407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28408 (exit $ac_status); }; }; then
28409 ac_cv_header_png_h
=`cat conftestval`
28411 echo "$as_me: program exited with status $ac_status" >&5
28412 echo "$as_me: failed program was:" >&5
28413 sed 's/^/| /' conftest.
$ac_ext >&5
28415 ( exit $ac_status )
28416 ac_cv_header_png_h
=no
28418 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28424 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28425 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28426 { echo "$as_me:$LINENO: checking for png.h" >&5
28427 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28428 if test "${ac_cv_header_png_h+set}" = set; then
28429 echo $ECHO_N "(cached) $ECHO_C" >&6
28431 cat >conftest.
$ac_ext <<_ACEOF
28434 cat confdefs.h
>>conftest.
$ac_ext
28435 cat >>conftest.
$ac_ext <<_ACEOF
28436 /* end confdefs.h. */
28441 rm -f conftest.
$ac_objext
28442 if { (ac_try
="$ac_compile"
28443 case "(($ac_try" in
28444 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28445 *) ac_try_echo=$ac_try;;
28447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28448 (eval "$ac_compile") 2>conftest.er1
28450 grep -v '^ *+' conftest.er1 >conftest.err
28452 cat conftest.err >&5
28453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28454 (exit $ac_status); } && {
28455 test -z "$ac_c_werror_flag" ||
28456 test ! -s conftest.err
28457 } && test -s conftest.$ac_objext; then
28458 ac_cv_header_png_h=yes
28460 echo "$as_me: failed program was:" >&5
28461 sed 's/^/| /' conftest.$ac_ext >&5
28463 ac_cv_header_png_h=no
28466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28468 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28469 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28473 if test "$ac_cv_header_png_h" = "yes"; then
28474 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28475 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28476 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28477 echo $ECHO_N "(cached) $ECHO_C" >&6
28479 ac_check_lib_save_LIBS=$LIBS
28480 LIBS="-lpng -lz -lm $LIBS"
28481 cat >conftest.$ac_ext <<_ACEOF
28484 cat confdefs.h >>conftest.$ac_ext
28485 cat >>conftest.$ac_ext <<_ACEOF
28486 /* end confdefs.h. */
28488 /* Override any GCC internal prototype to avoid an error.
28489 Use char because int might match the return type of a GCC
28490 builtin and then its argument prototype would still apply. */
28494 char png_sig_cmp ();
28498 return png_sig_cmp ();
28503 rm -f conftest.$ac_objext conftest$ac_exeext
28504 if { (ac_try="$ac_link"
28505 case "(($ac_try" in
28506 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28507 *) ac_try_echo
=$ac_try;;
28509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28510 (eval "$ac_link") 2>conftest.er1
28512 grep -v '^ *+' conftest.er1
>conftest.err
28514 cat conftest.err
>&5
28515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28516 (exit $ac_status); } && {
28517 test -z "$ac_c_werror_flag" ||
28518 test ! -s conftest.err
28519 } && test -s conftest
$ac_exeext &&
28520 $as_test_x conftest
$ac_exeext; then
28521 ac_cv_lib_png_png_sig_cmp
=yes
28523 echo "$as_me: failed program was:" >&5
28524 sed 's/^/| /' conftest.
$ac_ext >&5
28526 ac_cv_lib_png_png_sig_cmp
=no
28529 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28530 conftest
$ac_exeext conftest.
$ac_ext
28531 LIBS
=$ac_check_lib_save_LIBS
28533 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28534 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28535 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28536 PNG_LINK
=" -lpng -lz"
28541 if test "x$PNG_LINK" = "x" ; then
28542 if test "$wxUSE_LIBPNG" = "sys" ; then
28543 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28544 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28545 { (exit 1); exit 1; }; }
28547 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28548 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28549 wxUSE_LIBPNG
=builtin
28559 if test "$wxUSE_LIBJPEG" != "no" ; then
28560 cat >>confdefs.h
<<\_ACEOF
28561 #define wxUSE_LIBJPEG 1
28565 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28566 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28567 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28568 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28569 echo $ECHO_N "(cached) $ECHO_C" >&6
28571 cat >conftest.
$ac_ext <<_ACEOF
28574 cat confdefs.h
>>conftest.
$ac_ext
28575 cat >>conftest.
$ac_ext <<_ACEOF
28576 /* end confdefs.h. */
28578 #undef HAVE_STDLIB_H
28580 #include <jpeglib.h>
28591 rm -f conftest.
$ac_objext
28592 if { (ac_try
="$ac_compile"
28593 case "(($ac_try" in
28594 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28595 *) ac_try_echo=$ac_try;;
28597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28598 (eval "$ac_compile") 2>conftest.er1
28600 grep -v '^ *+' conftest.er1 >conftest.err
28602 cat conftest.err >&5
28603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28604 (exit $ac_status); } && {
28605 test -z "$ac_c_werror_flag" ||
28606 test ! -s conftest.err
28607 } && test -s conftest.$ac_objext; then
28608 ac_cv_header_jpeglib_h=yes
28610 echo "$as_me: failed program was:" >&5
28611 sed 's/^/| /' conftest.$ac_ext >&5
28613 ac_cv_header_jpeglib_h=no
28617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28621 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28622 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28624 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28625 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28626 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28627 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28628 echo $ECHO_N "(cached) $ECHO_C" >&6
28630 ac_check_lib_save_LIBS=$LIBS
28631 LIBS="-ljpeg $LIBS"
28632 cat >conftest.$ac_ext <<_ACEOF
28635 cat confdefs.h >>conftest.$ac_ext
28636 cat >>conftest.$ac_ext <<_ACEOF
28637 /* end confdefs.h. */
28639 /* Override any GCC internal prototype to avoid an error.
28640 Use char because int might match the return type of a GCC
28641 builtin and then its argument prototype would still apply. */
28645 char jpeg_read_header ();
28649 return jpeg_read_header ();
28654 rm -f conftest.$ac_objext conftest$ac_exeext
28655 if { (ac_try="$ac_link"
28656 case "(($ac_try" in
28657 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28658 *) ac_try_echo
=$ac_try;;
28660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28661 (eval "$ac_link") 2>conftest.er1
28663 grep -v '^ *+' conftest.er1
>conftest.err
28665 cat conftest.err
>&5
28666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667 (exit $ac_status); } && {
28668 test -z "$ac_c_werror_flag" ||
28669 test ! -s conftest.err
28670 } && test -s conftest
$ac_exeext &&
28671 $as_test_x conftest
$ac_exeext; then
28672 ac_cv_lib_jpeg_jpeg_read_header
=yes
28674 echo "$as_me: failed program was:" >&5
28675 sed 's/^/| /' conftest.
$ac_ext >&5
28677 ac_cv_lib_jpeg_jpeg_read_header
=no
28680 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28681 conftest
$ac_exeext conftest.
$ac_ext
28682 LIBS
=$ac_check_lib_save_LIBS
28684 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28685 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28686 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28687 JPEG_LINK
=" -ljpeg"
28692 if test "x$JPEG_LINK" = "x" ; then
28693 if test "$wxUSE_LIBJPEG" = "sys" ; then
28694 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28695 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28696 { (exit 1); exit 1; }; }
28698 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28699 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28700 wxUSE_LIBJPEG
=builtin
28705 if test "$wxUSE_MSW" = 1; then
28706 { echo "$as_me:$LINENO: checking for boolean" >&5
28707 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28708 if test "${ac_cv_type_boolean+set}" = set; then
28709 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 cat >conftest.
$ac_ext <<_ACEOF
28714 cat confdefs.h
>>conftest.
$ac_ext
28715 cat >>conftest.
$ac_ext <<_ACEOF
28716 /* end confdefs.h. */
28717 #include <windows.h>
28719 typedef boolean ac__type_new_;
28723 if ((ac__type_new_ *) 0)
28725 if (sizeof (ac__type_new_))
28731 rm -f conftest.
$ac_objext
28732 if { (ac_try
="$ac_compile"
28733 case "(($ac_try" in
28734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28735 *) ac_try_echo=$ac_try;;
28737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28738 (eval "$ac_compile") 2>conftest.er1
28740 grep -v '^ *+' conftest.er1 >conftest.err
28742 cat conftest.err >&5
28743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28744 (exit $ac_status); } && {
28745 test -z "$ac_c_werror_flag" ||
28746 test ! -s conftest.err
28747 } && test -s conftest.$ac_objext; then
28748 ac_cv_type_boolean=yes
28750 echo "$as_me: failed program was:" >&5
28751 sed 's/^/| /' conftest.$ac_ext >&5
28753 ac_cv_type_boolean=no
28756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28758 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28759 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28760 if test $ac_cv_type_boolean = yes; then
28762 cat >>confdefs.h <<_ACEOF
28763 #define HAVE_BOOLEAN 1
28767 { echo "$as_me:$LINENO: checking for boolean" >&5
28768 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28769 if test "${ac_cv_type_boolean+set}" = set; then
28770 echo $ECHO_N "(cached) $ECHO_C" >&6
28772 cat >conftest.$ac_ext <<_ACEOF
28775 cat confdefs.h >>conftest.$ac_ext
28776 cat >>conftest.$ac_ext <<_ACEOF
28777 /* end confdefs.h. */
28779 #undef HAVE_BOOLEAN
28781 #include <jpeglib.h>
28784 typedef boolean ac__type_new_;
28788 if ((ac__type_new_ *) 0)
28790 if (sizeof (ac__type_new_))
28796 rm -f conftest.$ac_objext
28797 if { (ac_try="$ac_compile"
28798 case "(($ac_try" in
28799 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28800 *) ac_try_echo
=$ac_try;;
28802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28803 (eval "$ac_compile") 2>conftest.er1
28805 grep -v '^ *+' conftest.er1
>conftest.err
28807 cat conftest.err
>&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); } && {
28810 test -z "$ac_c_werror_flag" ||
28811 test ! -s conftest.err
28812 } && test -s conftest.
$ac_objext; then
28813 ac_cv_type_boolean
=yes
28815 echo "$as_me: failed program was:" >&5
28816 sed 's/^/| /' conftest.
$ac_ext >&5
28818 ac_cv_type_boolean
=no
28821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28823 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28824 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28826 # The cast to long int works around a bug in the HP C Compiler
28827 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28828 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28829 # This bug is HP SR number 8606223364.
28830 { echo "$as_me:$LINENO: checking size of boolean" >&5
28831 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28832 if test "${ac_cv_sizeof_boolean+set}" = set; then
28833 echo $ECHO_N "(cached) $ECHO_C" >&6
28835 if test "$cross_compiling" = yes; then
28836 # Depending upon the size, compute the lo and hi bounds.
28837 cat >conftest.
$ac_ext <<_ACEOF
28840 cat confdefs.h
>>conftest.
$ac_ext
28841 cat >>conftest.
$ac_ext <<_ACEOF
28842 /* end confdefs.h. */
28844 #undef HAVE_BOOLEAN
28846 #include <jpeglib.h>
28849 typedef boolean ac__type_sizeof_;
28853 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28860 rm -f conftest.
$ac_objext
28861 if { (ac_try
="$ac_compile"
28862 case "(($ac_try" in
28863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28864 *) ac_try_echo=$ac_try;;
28866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28867 (eval "$ac_compile") 2>conftest.er1
28869 grep -v '^ *+' conftest.er1 >conftest.err
28871 cat conftest.err >&5
28872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28873 (exit $ac_status); } && {
28874 test -z "$ac_c_werror_flag" ||
28875 test ! -s conftest.err
28876 } && test -s conftest.$ac_objext; then
28879 cat >conftest.$ac_ext <<_ACEOF
28882 cat confdefs.h >>conftest.$ac_ext
28883 cat >>conftest.$ac_ext <<_ACEOF
28884 /* end confdefs.h. */
28886 #undef HAVE_BOOLEAN
28888 #include <jpeglib.h>
28891 typedef boolean ac__type_sizeof_;
28895 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28902 rm -f conftest.$ac_objext
28903 if { (ac_try="$ac_compile"
28904 case "(($ac_try" in
28905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28906 *) ac_try_echo
=$ac_try;;
28908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28909 (eval "$ac_compile") 2>conftest.er1
28911 grep -v '^ *+' conftest.er1
>conftest.err
28913 cat conftest.err
>&5
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); } && {
28916 test -z "$ac_c_werror_flag" ||
28917 test ! -s conftest.err
28918 } && test -s conftest.
$ac_objext; then
28919 ac_hi
=$ac_mid; break
28921 echo "$as_me: failed program was:" >&5
28922 sed 's/^/| /' conftest.
$ac_ext >&5
28924 ac_lo
=`expr $ac_mid + 1`
28925 if test $ac_lo -le $ac_mid; then
28929 ac_mid
=`expr 2 '*' $ac_mid + 1`
28932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28935 echo "$as_me: failed program was:" >&5
28936 sed 's/^/| /' conftest.
$ac_ext >&5
28938 cat >conftest.
$ac_ext <<_ACEOF
28941 cat confdefs.h
>>conftest.
$ac_ext
28942 cat >>conftest.
$ac_ext <<_ACEOF
28943 /* end confdefs.h. */
28945 #undef HAVE_BOOLEAN
28947 #include <jpeglib.h>
28950 typedef boolean ac__type_sizeof_;
28954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28961 rm -f conftest.
$ac_objext
28962 if { (ac_try
="$ac_compile"
28963 case "(($ac_try" in
28964 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28965 *) ac_try_echo=$ac_try;;
28967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28968 (eval "$ac_compile") 2>conftest.er1
28970 grep -v '^ *+' conftest.er1 >conftest.err
28972 cat conftest.err >&5
28973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28974 (exit $ac_status); } && {
28975 test -z "$ac_c_werror_flag" ||
28976 test ! -s conftest.err
28977 } && test -s conftest.$ac_objext; then
28980 cat >conftest.$ac_ext <<_ACEOF
28983 cat confdefs.h >>conftest.$ac_ext
28984 cat >>conftest.$ac_ext <<_ACEOF
28985 /* end confdefs.h. */
28987 #undef HAVE_BOOLEAN
28989 #include <jpeglib.h>
28992 typedef boolean ac__type_sizeof_;
28996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29003 rm -f conftest.$ac_objext
29004 if { (ac_try="$ac_compile"
29005 case "(($ac_try" in
29006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29007 *) ac_try_echo
=$ac_try;;
29009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29010 (eval "$ac_compile") 2>conftest.er1
29012 grep -v '^ *+' conftest.er1
>conftest.err
29014 cat conftest.err
>&5
29015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29016 (exit $ac_status); } && {
29017 test -z "$ac_c_werror_flag" ||
29018 test ! -s conftest.err
29019 } && test -s conftest.
$ac_objext; then
29020 ac_lo
=$ac_mid; break
29022 echo "$as_me: failed program was:" >&5
29023 sed 's/^/| /' conftest.
$ac_ext >&5
29025 ac_hi
=`expr '(' $ac_mid ')' - 1`
29026 if test $ac_mid -le $ac_hi; then
29030 ac_mid
=`expr 2 '*' $ac_mid`
29033 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29036 echo "$as_me: failed program was:" >&5
29037 sed 's/^/| /' conftest.
$ac_ext >&5
29042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29046 # Binary search between lo and hi bounds.
29047 while test "x$ac_lo" != "x$ac_hi"; do
29048 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29049 cat >conftest.
$ac_ext <<_ACEOF
29052 cat confdefs.h
>>conftest.
$ac_ext
29053 cat >>conftest.
$ac_ext <<_ACEOF
29054 /* end confdefs.h. */
29056 #undef HAVE_BOOLEAN
29058 #include <jpeglib.h>
29061 typedef boolean ac__type_sizeof_;
29065 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29072 rm -f conftest.
$ac_objext
29073 if { (ac_try
="$ac_compile"
29074 case "(($ac_try" in
29075 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29076 *) ac_try_echo=$ac_try;;
29078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29079 (eval "$ac_compile") 2>conftest.er1
29081 grep -v '^ *+' conftest.er1 >conftest.err
29083 cat conftest.err >&5
29084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29085 (exit $ac_status); } && {
29086 test -z "$ac_c_werror_flag" ||
29087 test ! -s conftest.err
29088 } && test -s conftest.$ac_objext; then
29091 echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.$ac_ext >&5
29094 ac_lo=`expr '(' $ac_mid ')' + 1`
29097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29100 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29101 '') if test "$ac_cv_type_boolean" = yes; then
29102 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29103 See \`config.log
' for more details." >&5
29104 echo "$as_me: error: cannot compute sizeof (boolean)
29105 See \`config.log' for more details.
" >&2;}
29106 { (exit 77); exit 77; }; }
29108 ac_cv_sizeof_boolean=0
29112 cat >conftest.$ac_ext <<_ACEOF
29115 cat confdefs.h >>conftest.$ac_ext
29116 cat >>conftest.$ac_ext <<_ACEOF
29117 /* end confdefs.h. */
29119 #undef HAVE_BOOLEAN
29121 #include <jpeglib.h>
29124 typedef boolean ac__type_sizeof_;
29125 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29126 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29128 #include <stdlib.h>
29133 FILE *f = fopen ("conftest.val
", "w
");
29136 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29138 long int i = longval ();
29139 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29141 fprintf (f, "%ld
\n", i);
29145 unsigned long int i = ulongval ();
29146 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29148 fprintf (f, "%lu
\n", i);
29150 return ferror (f) || fclose (f) != 0;
29156 rm -f conftest$ac_exeext
29157 if { (ac_try="$ac_link"
29158 case "(($ac_try" in
29159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29160 *) ac_try_echo=$ac_try;;
29162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29163 (eval "$ac_link") 2>&5
29165 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29166 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
29174 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29175 (exit $ac_status); }; }; then
29176 ac_cv_sizeof_boolean=`cat conftest.val`
29178 echo "$as_me: program exited with status
$ac_status" >&5
29179 echo "$as_me: failed program was
:" >&5
29180 sed 's/^/| /' conftest.$ac_ext >&5
29182 ( exit $ac_status )
29183 if test "$ac_cv_type_boolean" = yes; then
29184 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(boolean
)
29185 See \
`config.log' for more details." >&5
29186 echo "$as_me: error: cannot compute sizeof (boolean)
29187 See \`config.log
' for more details." >&2;}
29188 { (exit 77); exit 77; }; }
29190 ac_cv_sizeof_boolean=0
29193 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29197 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29198 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29202 cat >>confdefs.h <<_ACEOF
29203 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29207 cat >>confdefs.h <<_ACEOF
29208 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29221 TIFF_PREREQ_LINKS=-lm
29222 if test "$wxUSE_LIBTIFF" != "no" ; then
29223 cat >>confdefs.h <<\_ACEOF
29224 #define wxUSE_LIBTIFF 1
29228 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29229 if test "$wxUSE_LIBJPEG" = "sys"; then
29230 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29232 if test "$wxUSE_ZLIB" = "sys"; then
29233 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29235 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29236 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29237 if test "${ac_cv_header_tiffio_h+set}" = set; then
29238 echo $ECHO_N "(cached) $ECHO_C" >&6
29240 cat >conftest.$ac_ext <<_ACEOF
29243 cat confdefs.h >>conftest.$ac_ext
29244 cat >>conftest.$ac_ext <<_ACEOF
29245 /* end confdefs.h. */
29249 #include <tiffio.h>
29251 rm -f conftest.$ac_objext
29252 if { (ac_try="$ac_compile"
29253 case "(($ac_try" in
29254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29255 *) ac_try_echo=$ac_try;;
29257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29258 (eval "$ac_compile") 2>conftest.er1
29260 grep -v '^
*+' conftest.er1 >conftest.err
29262 cat conftest.err >&5
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); } && {
29265 test -z "$ac_c_werror_flag" ||
29266 test ! -s conftest.err
29267 } && test -s conftest.$ac_objext; then
29268 ac_cv_header_tiffio_h=yes
29270 echo "$as_me: failed program was:" >&5
29271 sed 's
/^
/| /' conftest.$ac_ext >&5
29273 ac_cv_header_tiffio_h=no
29276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29278 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29279 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29280 if test $ac_cv_header_tiffio_h = yes; then
29282 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29283 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29284 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29285 echo $ECHO_N "(cached) $ECHO_C" >&6
29287 ac_check_lib_save_LIBS=$LIBS
29288 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29289 cat >conftest.$ac_ext <<_ACEOF
29292 cat confdefs.h >>conftest.$ac_ext
29293 cat >>conftest.$ac_ext <<_ACEOF
29294 /* end confdefs.h. */
29296 /* Override any GCC internal prototype to avoid an error.
29297 Use char because int might match the return type of a GCC
29298 builtin and then its argument prototype would still apply. */
29306 return TIFFError ();
29311 rm -f conftest.$ac_objext conftest$ac_exeext
29312 if { (ac_try="$ac_link"
29313 case "(($ac_try" in
29314 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29315 *) ac_try_echo=$ac_try;;
29317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29318 (eval "$ac_link") 2>conftest.er1
29320 grep -v '^
*+' conftest.er1 >conftest.err
29322 cat conftest.err >&5
29323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29324 (exit $ac_status); } && {
29325 test -z "$ac_c_werror_flag" ||
29326 test ! -s conftest.err
29327 } && test -s conftest$ac_exeext &&
29328 $as_test_x conftest$ac_exeext; then
29329 ac_cv_lib_tiff_TIFFError=yes
29331 echo "$as_me: failed program was:" >&5
29332 sed 's
/^
/| /' conftest.$ac_ext >&5
29334 ac_cv_lib_tiff_TIFFError=no
29337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29338 conftest$ac_exeext conftest.$ac_ext
29339 LIBS=$ac_check_lib_save_LIBS
29341 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29342 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29343 if test $ac_cv_lib_tiff_TIFFError = yes; then
29344 TIFF_LINK=" -ltiff"
29352 if test "x$TIFF_LINK" = "x" ; then
29353 if test "$wxUSE_LIBTIFF" = "sys" ; then
29354 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29355 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29356 { (exit 1); exit 1; }; }
29358 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29359 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29360 wxUSE_LIBTIFF=builtin
29366 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29367 if test "$wxUSE_LIBJPEG" = "no"; then
29368 ac_configure_args="$ac_configure_args --disable-jpeg"
29370 subdirs="$subdirs src/tiff"
29376 if test "$wxUSE_EXPAT" != "no"; then
29378 cat >>confdefs.h <<\_ACEOF
29379 #define wxUSE_EXPAT 1
29382 cat >>confdefs.h <<\_ACEOF
29383 #define wxUSE_XML 1
29387 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29388 { echo "$as_me:$LINENO: checking for expat.h" >&5
29389 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29390 if test "${ac_cv_header_expat_h+set}" = set; then
29391 echo $ECHO_N "(cached) $ECHO_C" >&6
29393 cat >conftest.$ac_ext <<_ACEOF
29396 cat confdefs.h >>conftest.$ac_ext
29397 cat >>conftest.$ac_ext <<_ACEOF
29398 /* end confdefs.h. */
29403 rm -f conftest.$ac_objext
29404 if { (ac_try="$ac_compile"
29405 case "(($ac_try" in
29406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29407 *) ac_try_echo=$ac_try;;
29409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29410 (eval "$ac_compile") 2>conftest.er1
29412 grep -v '^
*+' conftest.er1 >conftest.err
29414 cat conftest.err >&5
29415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29416 (exit $ac_status); } && {
29417 test -z "$ac_c_werror_flag" ||
29418 test ! -s conftest.err
29419 } && test -s conftest.$ac_objext; then
29420 ac_cv_header_expat_h=yes
29422 echo "$as_me: failed program was:" >&5
29423 sed 's
/^
/| /' conftest.$ac_ext >&5
29425 ac_cv_header_expat_h=no
29428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29430 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29431 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29432 if test $ac_cv_header_expat_h = yes; then
29437 if test "x$found_expat_h" = "x1"; then
29438 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29439 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29440 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29441 echo $ECHO_N "(cached) $ECHO_C" >&6
29445 ac_cpp='$CXXCPP $CPPFLAGS'
29446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
29447 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
29448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29450 cat >conftest.$ac_ext <<_ACEOF
29453 cat confdefs.h >>conftest.$ac_ext
29454 cat >>conftest.$ac_ext <<_ACEOF
29455 /* end confdefs.h. */
29465 rm -f conftest.$ac_objext
29466 if { (ac_try="$ac_compile"
29467 case "(($ac_try" in
29468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29469 *) ac_try_echo=$ac_try;;
29471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29472 (eval "$ac_compile") 2>conftest.er1
29474 grep -v '^
*+' conftest.er1 >conftest.err
29476 cat conftest.err >&5
29477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29478 (exit $ac_status); } && {
29479 test -z "$ac_cxx_werror_flag" ||
29480 test ! -s conftest.err
29481 } && test -s conftest.$ac_objext; then
29482 wx_cv_expat_is_not_broken=yes
29484 echo "$as_me: failed program was:" >&5
29485 sed 's
/^
/| /' conftest.$ac_ext >&5
29487 wx_cv_expat_is_not_broken=no
29491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29493 ac_cpp='$CPP $CPPFLAGS'
29494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
29495 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
29496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29501 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29502 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29503 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29504 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29505 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29506 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29507 echo $ECHO_N "(cached) $ECHO_C" >&6
29509 ac_check_lib_save_LIBS=$LIBS
29510 LIBS="-lexpat $LIBS"
29511 cat >conftest.$ac_ext <<_ACEOF
29514 cat confdefs.h >>conftest.$ac_ext
29515 cat >>conftest.$ac_ext <<_ACEOF
29516 /* end confdefs.h. */
29518 /* Override any GCC internal prototype to avoid an error.
29519 Use char because int might match the return type of a GCC
29520 builtin and then its argument prototype would still apply. */
29524 char XML_ParserCreate ();
29528 return XML_ParserCreate ();
29533 rm -f conftest.$ac_objext conftest$ac_exeext
29534 if { (ac_try="$ac_link"
29535 case "(($ac_try" in
29536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29537 *) ac_try_echo=$ac_try;;
29539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29540 (eval "$ac_link") 2>conftest.er1
29542 grep -v '^
*+' conftest.er1 >conftest.err
29544 cat conftest.err >&5
29545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546 (exit $ac_status); } && {
29547 test -z "$ac_c_werror_flag" ||
29548 test ! -s conftest.err
29549 } && test -s conftest$ac_exeext &&
29550 $as_test_x conftest$ac_exeext; then
29551 ac_cv_lib_expat_XML_ParserCreate=yes
29553 echo "$as_me: failed program was:" >&5
29554 sed 's
/^
/| /' conftest.$ac_ext >&5
29556 ac_cv_lib_expat_XML_ParserCreate=no
29559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29560 conftest$ac_exeext conftest.$ac_ext
29561 LIBS=$ac_check_lib_save_LIBS
29563 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29564 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29565 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29566 EXPAT_LINK=" -lexpat"
29571 if test "x$EXPAT_LINK" = "x" ; then
29572 if test "$wxUSE_EXPAT" = "sys" ; then
29573 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29574 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29575 { (exit 1); exit 1; }; }
29577 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29578 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29579 wxUSE_EXPAT=builtin
29585 if test "$wxUSE_EXPAT" = "builtin" ; then
29586 subdirs="$subdirs src/expat"
29593 if test "$wxUSE_LIBMSPACK" != "no"; then
29594 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29595 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29596 if test "${ac_cv_header_mspack_h+set}" = set; then
29597 echo $ECHO_N "(cached) $ECHO_C" >&6
29599 cat >conftest.$ac_ext <<_ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h. */
29607 #include <mspack.h>
29609 rm -f conftest.$ac_objext
29610 if { (ac_try="$ac_compile"
29611 case "(($ac_try" in
29612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29613 *) ac_try_echo=$ac_try;;
29615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29616 (eval "$ac_compile") 2>conftest.er1
29618 grep -v '^
*+' conftest.er1 >conftest.err
29620 cat conftest.err >&5
29621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29622 (exit $ac_status); } && {
29623 test -z "$ac_c_werror_flag" ||
29624 test ! -s conftest.err
29625 } && test -s conftest.$ac_objext; then
29626 ac_cv_header_mspack_h=yes
29628 echo "$as_me: failed program was:" >&5
29629 sed 's
/^
/| /' conftest.$ac_ext >&5
29631 ac_cv_header_mspack_h=no
29634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29636 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29637 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29638 if test $ac_cv_header_mspack_h = yes; then
29643 if test "x$found_mspack_h" = "x1"; then
29644 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29645 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29646 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29647 echo $ECHO_N "(cached) $ECHO_C" >&6
29649 ac_check_lib_save_LIBS=$LIBS
29650 LIBS="-lmspack $LIBS"
29651 cat >conftest.$ac_ext <<_ACEOF
29654 cat confdefs.h >>conftest.$ac_ext
29655 cat >>conftest.$ac_ext <<_ACEOF
29656 /* end confdefs.h. */
29658 /* Override any GCC internal prototype to avoid an error.
29659 Use char because int might match the return type of a GCC
29660 builtin and then its argument prototype would still apply. */
29664 char mspack_create_chm_decompressor ();
29668 return mspack_create_chm_decompressor ();
29673 rm -f conftest.$ac_objext conftest$ac_exeext
29674 if { (ac_try="$ac_link"
29675 case "(($ac_try" in
29676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29677 *) ac_try_echo=$ac_try;;
29679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29680 (eval "$ac_link") 2>conftest.er1
29682 grep -v '^
*+' conftest.er1 >conftest.err
29684 cat conftest.err >&5
29685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29686 (exit $ac_status); } && {
29687 test -z "$ac_c_werror_flag" ||
29688 test ! -s conftest.err
29689 } && test -s conftest$ac_exeext &&
29690 $as_test_x conftest$ac_exeext; then
29691 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29693 echo "$as_me: failed program was:" >&5
29694 sed 's
/^
/| /' conftest.$ac_ext >&5
29696 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29700 conftest$ac_exeext conftest.$ac_ext
29701 LIBS=$ac_check_lib_save_LIBS
29703 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29704 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29705 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29706 MSPACK_LINK=" -lmspack"
29710 if test "x$MSPACK_LINK" = "x" ; then
29715 if test "$wxUSE_LIBMSPACK" != "no"; then
29716 cat >>confdefs.h <<\_ACEOF
29717 #define wxUSE_LIBMSPACK 1
29731 if test "$USE_WIN32" = 1 ; then
29733 for ac_header in w32api.h
29735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29736 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29738 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29739 echo $ECHO_N "(cached) $ECHO_C" >&6
29741 cat >conftest.$ac_ext <<_ACEOF
29744 cat confdefs.h >>conftest.$ac_ext
29745 cat >>conftest.$ac_ext <<_ACEOF
29746 /* end confdefs.h. */
29749 #include <$ac_header>
29751 rm -f conftest.$ac_objext
29752 if { (ac_try="$ac_compile"
29753 case "(($ac_try" in
29754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29755 *) ac_try_echo=$ac_try;;
29757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29758 (eval "$ac_compile") 2>conftest.er1
29760 grep -v '^
*+' conftest.er1 >conftest.err
29762 cat conftest.err >&5
29763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29764 (exit $ac_status); } && {
29765 test -z "$ac_c_werror_flag" ||
29766 test ! -s conftest.err
29767 } && test -s conftest.$ac_objext; then
29768 eval "$as_ac_Header=yes"
29770 echo "$as_me: failed program was:" >&5
29771 sed 's
/^
/| /' conftest.$ac_ext >&5
29773 eval "$as_ac_Header=no"
29776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29778 ac_res=`eval echo '${'$as_ac_Header'}'`
29779 { echo "$as_me:$LINENO: result: $ac_res" >&5
29780 echo "${ECHO_T}$ac_res" >&6; }
29781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29782 cat >>confdefs.h <<_ACEOF
29783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29790 { echo "$as_me:$LINENO: checking for windows.h" >&5
29791 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29792 if test "${ac_cv_header_windows_h+set}" = set; then
29793 echo $ECHO_N "(cached) $ECHO_C" >&6
29795 cat >conftest.$ac_ext <<_ACEOF
29798 cat confdefs.h >>conftest.$ac_ext
29799 cat >>conftest.$ac_ext <<_ACEOF
29800 /* end confdefs.h. */
29803 #include <windows.h>
29805 rm -f conftest.$ac_objext
29806 if { (ac_try="$ac_compile"
29807 case "(($ac_try" in
29808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29809 *) ac_try_echo=$ac_try;;
29811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29812 (eval "$ac_compile") 2>conftest.er1
29814 grep -v '^
*+' conftest.er1 >conftest.err
29816 cat conftest.err >&5
29817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29818 (exit $ac_status); } && {
29819 test -z "$ac_c_werror_flag" ||
29820 test ! -s conftest.err
29821 } && test -s conftest.$ac_objext; then
29822 ac_cv_header_windows_h=yes
29824 echo "$as_me: failed program was:" >&5
29825 sed 's
/^
/| /' conftest.$ac_ext >&5
29827 ac_cv_header_windows_h=no
29830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29832 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29833 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29834 if test $ac_cv_header_windows_h = yes; then
29838 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29839 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29840 { (exit 1); exit 1; }; }
29846 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29848 x86_64-*-mingw32* )
29849 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29852 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29853 LIBS="$LIBS -loleacc"
29858 LIBS="$LIBS -lkernel32 -luser32"
29861 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29862 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29864 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29866 WIN32INSTALL=win32install
29869 if test "$wxUSE_GUI" = "yes"; then
29878 if test "$wxUSE_OLD_COCOA" = 1 ; then
29879 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29880 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29881 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29882 wxUSE_PRINTING_ARCHITECTURE=no
29884 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29885 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29886 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29887 wxUSE_DRAG_AND_DROP=no
29889 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29890 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29891 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29896 if test "$wxUSE_MSW" = 1 ; then
29902 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29906 if test "$wxUSE_GTK" = 1; then
29907 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29908 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29910 gtk_version_cached=1
29911 if test "${wx_cv_lib_gtk+set}" = set; then
29912 echo $ECHO_N "(cached) $ECHO_C" >&6
29915 gtk_version_cached=0
29916 { echo "$as_me:$LINENO: result: " >&5
29917 echo "${ECHO_T}" >&6; }
29920 if test "$wxUSE_THREADS" = "yes"; then
29921 GTK_MODULES=gthread
29925 if test "x$wxGTK_VERSION" != "x1"
29929 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29934 # Check whether --enable-gtktest was given.
29935 if test "${enable_gtktest+set}" = set; then
29936 enableval=$enable_gtktest;
29942 pkg_config_args=gtk+-2.0
29943 for module in . $GTK_MODULES
29947 pkg_config_args="$pkg_config_args gthread-2.0"
29954 # Extract the first word of "pkg-config", so it can be a program name with args.
29955 set dummy pkg-config; ac_word=$2
29956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29958 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29959 echo $ECHO_N "(cached) $ECHO_C" >&6
29961 case $PKG_CONFIG in
29963 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29967 for as_dir in $PATH
29970 test -z "$as_dir" && as_dir=.
29971 for ac_exec_ext in '' $ac_executable_extensions; do
29972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29973 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29981 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29985 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29986 if test -n "$PKG_CONFIG"; then
29987 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29988 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29990 { echo "$as_me:$LINENO: result: no" >&5
29991 echo "${ECHO_T}no" >&6; }
29996 if test x$PKG_CONFIG != xno ; then
29997 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30000 echo "*** pkg-config too old; version 0.7 or better required."
30008 min_gtk_version=2.4.0
30009 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30010 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30012 if test x$PKG_CONFIG != xno ; then
30013 ## don't try to run the
test against uninstalled libtool libs
30014 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30015 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30019 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30026 if test x
"$no_gtk" = x
; then
30027 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
30028 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
30029 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30030 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30031 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30032 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30033 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30034 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30035 if test "x$enable_gtktest" = "xyes" ; then
30036 ac_save_CFLAGS
="$CFLAGS"
30037 ac_save_LIBS
="$LIBS"
30038 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30039 LIBS
="$GTK_LIBS $LIBS"
30041 if test "$cross_compiling" = yes; then
30042 echo $ac_n "cross compiling; assumed OK... $ac_c"
30044 cat >conftest.
$ac_ext <<_ACEOF
30047 cat confdefs.h
>>conftest.
$ac_ext
30048 cat >>conftest.
$ac_ext <<_ACEOF
30049 /* end confdefs.h. */
30051 #include <gtk/gtk.h>
30053 #include <stdlib.h>
30058 int major, minor, micro;
30061 system ("touch conf.gtktest");
30063 /* HP/UX 9 (%@#!) writes to sscanf strings */
30064 tmp_version = g_strdup("$min_gtk_version");
30065 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30066 printf("%s, bad version string\n", "$min_gtk_version");
30070 if ((gtk_major_version != $gtk_config_major_version) ||
30071 (gtk_minor_version != $gtk_config_minor_version) ||
30072 (gtk_micro_version != $gtk_config_micro_version))
30074 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30075 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30076 gtk_major_version, gtk_minor_version, gtk_micro_version);
30077 printf ("*** was found! If pkg-config was correct, then it is best\n");
30078 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30079 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30080 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30081 printf("*** required on your system.\n");
30082 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30083 printf("*** to point to the correct configuration files\n");
30085 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30086 (gtk_minor_version != GTK_MINOR_VERSION) ||
30087 (gtk_micro_version != GTK_MICRO_VERSION))
30089 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30090 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30091 printf("*** library (version %d.%d.%d)\n",
30092 gtk_major_version, gtk_minor_version, gtk_micro_version);
30096 if ((gtk_major_version > major) ||
30097 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30098 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30104 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30105 gtk_major_version, gtk_minor_version, gtk_micro_version);
30106 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30107 major, minor, micro);
30108 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30110 printf("*** If you have already installed a sufficiently new version, this error\n");
30111 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30112 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30113 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30114 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30115 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30116 printf("*** so that the correct libraries are found at run-time))\n");
30123 rm -f conftest
$ac_exeext
30124 if { (ac_try
="$ac_link"
30125 case "(($ac_try" in
30126 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30127 *) ac_try_echo=$ac_try;;
30129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30130 (eval "$ac_link") 2>&5
30132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30133 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
30141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30142 (exit $ac_status); }; }; then
30145 echo "$as_me: program exited with status $ac_status" >&5
30146 echo "$as_me: failed program was:" >&5
30147 sed 's/^/| /' conftest.
$ac_ext >&5
30149 ( exit $ac_status )
30152 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30156 CFLAGS
="$ac_save_CFLAGS"
30157 LIBS
="$ac_save_LIBS"
30160 if test "x$no_gtk" = x
; then
30161 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30162 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30165 { echo "$as_me:$LINENO: result: no" >&5
30166 echo "${ECHO_T}no" >&6; }
30167 if test "$PKG_CONFIG" = "no" ; then
30168 echo "*** A new enough version of pkg-config was not found."
30169 echo "*** See http://pkgconfig.sourceforge.net"
30171 if test -f conf.gtktest
; then
30174 echo "*** Could not run GTK+ test program, checking why..."
30175 ac_save_CFLAGS
="$CFLAGS"
30176 ac_save_LIBS
="$LIBS"
30177 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30178 LIBS
="$LIBS $GTK_LIBS"
30179 cat >conftest.
$ac_ext <<_ACEOF
30182 cat confdefs.h
>>conftest.
$ac_ext
30183 cat >>conftest.
$ac_ext <<_ACEOF
30184 /* end confdefs.h. */
30186 #include <gtk/gtk.h>
30192 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30197 rm -f conftest.
$ac_objext conftest
$ac_exeext
30198 if { (ac_try
="$ac_link"
30199 case "(($ac_try" in
30200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30201 *) ac_try_echo=$ac_try;;
30203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30204 (eval "$ac_link") 2>conftest.er1
30206 grep -v '^ *+' conftest.er1 >conftest.err
30208 cat conftest.err >&5
30209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30210 (exit $ac_status); } && {
30211 test -z "$ac_c_werror_flag" ||
30212 test ! -s conftest.err
30213 } && test -s conftest$ac_exeext &&
30214 $as_test_x conftest$ac_exeext; then
30215 echo "*** The test program compiled, but did not run. This usually means"
30216 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30217 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30218 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30219 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30220 echo "*** is required on your system"
30222 echo "*** If you have an old version installed, it is best to remove it, although"
30223 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.$ac_ext >&5
30228 echo "*** The test program failed to compile or link. See the file config.log for the"
30229 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
30232 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30233 conftest$ac_exeext conftest.$ac_ext
30234 CFLAGS="$ac_save_CFLAGS"
30235 LIBS="$ac_save_LIBS"
30248 if test -z "$wx_cv_lib_gtk"; then
30249 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30251 # Check whether --with-gtk-prefix was given.
30252 if test "${with_gtk_prefix+set}" = set; then
30253 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30255 gtk_config_prefix=""
30259 # Check whether --with-gtk-exec-prefix was given.
30260 if test "${with_gtk_exec_prefix+set}" = set; then
30261 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30263 gtk_config_exec_prefix=""
30266 # Check whether --enable-gtktest was given.
30267 if test "${enable_gtktest+set}" = set; then
30268 enableval=$enable_gtktest;
30274 for module in . $GTK_MODULES
30278 gtk_config_args="$gtk_config_args gthread"
30283 if test x$gtk_config_exec_prefix != x ; then
30284 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30285 if test x${GTK_CONFIG+set} != xset ; then
30286 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30289 if test x$gtk_config_prefix != x ; then
30290 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30291 if test x${GTK_CONFIG+set} != xset ; then
30292 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30296 # Extract the first word of "gtk-config", so it can be a program name with args.
30297 set dummy gtk-config; ac_word=$2
30298 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30300 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30301 echo $ECHO_N "(cached) $ECHO_C" >&6
30303 case $GTK_CONFIG in
30305 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30309 for as_dir in $PATH
30312 test -z "$as_dir" && as_dir=.
30313 for ac_exec_ext in '' $ac_executable_extensions; do
30314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30315 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30323 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30327 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30328 if test -n "$GTK_CONFIG"; then
30329 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30330 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30332 { echo "$as_me:$LINENO: result: no" >&5
30333 echo "${ECHO_T}no" >&6; }
30337 min_gtk_version=1.2.7
30338 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30339 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30341 if test "$GTK_CONFIG" = "no" ; then
30344 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30345 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30346 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30347 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30348 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30349 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30350 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30351 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30352 if test "x$enable_gtktest" = "xyes" ; then
30353 ac_save_CFLAGS="$CFLAGS"
30354 ac_save_LIBS="$LIBS"
30355 CFLAGS="$CFLAGS $GTK_CFLAGS"
30356 LIBS="$GTK_LIBS $LIBS"
30358 if test "$cross_compiling" = yes; then
30359 echo $ac_n "cross compiling; assumed OK... $ac_c"
30361 cat >conftest.$ac_ext <<_ACEOF
30364 cat confdefs.h >>conftest.$ac_ext
30365 cat >>conftest.$ac_ext <<_ACEOF
30366 /* end confdefs.h. */
30368 #include <gtk/gtk.h>
30370 #include <stdlib.h>
30375 int major, minor, micro;
30378 system ("touch conf.gtktest");
30380 /* HP/UX 9 (%@#!) writes to sscanf strings */
30381 tmp_version = g_strdup("$min_gtk_version");
30382 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30383 printf("%s, bad version string\n", "$min_gtk_version");
30387 if ((gtk_major_version != $gtk_config_major_version) ||
30388 (gtk_minor_version != $gtk_config_minor_version) ||
30389 (gtk_micro_version != $gtk_config_micro_version))
30391 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30392 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30393 gtk_major_version, gtk_minor_version, gtk_micro_version);
30394 printf ("*** was found! If gtk-config was correct, then it is best\n");
30395 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30396 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30397 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30398 printf("*** required on your system.\n");
30399 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30400 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30401 printf("*** before re-running configure\n");
30403 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30404 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30405 (gtk_minor_version != GTK_MINOR_VERSION) ||
30406 (gtk_micro_version != GTK_MICRO_VERSION))
30408 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30409 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30410 printf("*** library (version %d.%d.%d)\n",
30411 gtk_major_version, gtk_minor_version, gtk_micro_version);
30413 #endif /* defined (GTK_MAJOR_VERSION) ... */
30416 if ((gtk_major_version > major) ||
30417 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30418 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30424 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30425 gtk_major_version, gtk_minor_version, gtk_micro_version);
30426 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30427 major, minor, micro);
30428 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30430 printf("*** If you have already installed a sufficiently new version, this error\n");
30431 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30432 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30433 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30434 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30435 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30436 printf("*** so that the correct libraries are found at run-time))\n");
30443 rm -f conftest$ac_exeext
30444 if { (ac_try="$ac_link"
30445 case "(($ac_try" in
30446 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30447 *) ac_try_echo
=$ac_try;;
30449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30450 (eval "$ac_link") 2>&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
30461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30462 (exit $ac_status); }; }; then
30465 echo "$as_me: program exited with status $ac_status" >&5
30466 echo "$as_me: failed program was:" >&5
30467 sed 's/^/| /' conftest.$ac_ext >&5
30469 ( exit $ac_status )
30472 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30476 CFLAGS="$ac_save_CFLAGS"
30477 LIBS="$ac_save_LIBS"
30480 if test "x$no_gtk" = x ; then
30481 { echo "$as_me:$LINENO: result: yes" >&5
30482 echo "${ECHO_T}yes" >&6; }
30483 wx_cv_lib_gtk=1.2.7
30485 { echo "$as_me:$LINENO: result: no" >&5
30486 echo "${ECHO_T}no" >&6; }
30487 if test "$GTK_CONFIG" = "no" ; then
30488 echo "*** The gtk-config script installed by GTK could not be found"
30489 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30490 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30491 echo "*** full path to gtk-config."
30493 if test -f conf.gtktest ; then
30496 echo "*** Could not run GTK test program, checking why..."
30497 CFLAGS="$CFLAGS $GTK_CFLAGS"
30498 LIBS="$LIBS $GTK_LIBS"
30499 cat >conftest.$ac_ext <<_ACEOF
30502 cat confdefs.h >>conftest.$ac_ext
30503 cat >>conftest.$ac_ext <<_ACEOF
30504 /* end confdefs.h. */
30506 #include <gtk/gtk.h>
30512 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30517 rm -f conftest.$ac_objext conftest$ac_exeext
30518 if { (ac_try="$ac_link"
30519 case "(($ac_try" in
30520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30521 *) ac_try_echo
=$ac_try;;
30523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30524 (eval "$ac_link") 2>conftest.er1
30526 grep -v '^ *+' conftest.er1
>conftest.err
30528 cat conftest.err
>&5
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); } && {
30531 test -z "$ac_c_werror_flag" ||
30532 test ! -s conftest.err
30533 } && test -s conftest
$ac_exeext &&
30534 $as_test_x conftest
$ac_exeext; then
30535 echo "*** The test program compiled, but did not run. This usually means"
30536 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30537 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30538 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30539 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30540 echo "*** is required on your system"
30542 echo "*** If you have an old version installed, it is best to remove it, although"
30543 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30545 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30546 echo "*** came with the system with the command"
30548 echo "*** rpm --erase --nodeps gtk gtk-devel"
30550 echo "$as_me: failed program was:" >&5
30551 sed 's/^/| /' conftest.
$ac_ext >&5
30553 echo "*** The test program failed to compile or link. See the file config.log for the"
30554 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
30555 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30556 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30559 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30560 conftest
$ac_exeext conftest.
$ac_ext
30561 CFLAGS
="$ac_save_CFLAGS"
30562 LIBS
="$ac_save_LIBS"
30574 if test -z "$wx_cv_lib_gtk"; then
30576 # Check whether --with-gtk-prefix was given.
30577 if test "${with_gtk_prefix+set}" = set; then
30578 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
30580 gtk_config_prefix
=""
30584 # Check whether --with-gtk-exec-prefix was given.
30585 if test "${with_gtk_exec_prefix+set}" = set; then
30586 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
30588 gtk_config_exec_prefix
=""
30591 # Check whether --enable-gtktest was given.
30592 if test "${enable_gtktest+set}" = set; then
30593 enableval
=$enable_gtktest;
30599 for module
in .
$GTK_MODULES
30603 gtk_config_args
="$gtk_config_args gthread"
30608 if test x
$gtk_config_exec_prefix != x
; then
30609 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30610 if test x
${GTK_CONFIG+set} != xset
; then
30611 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
30614 if test x
$gtk_config_prefix != x
; then
30615 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
30616 if test x
${GTK_CONFIG+set} != xset
; then
30617 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
30621 # Extract the first word of "gtk-config", so it can be a program name with args.
30622 set dummy gtk
-config; ac_word
=$2
30623 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30625 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30628 case $GTK_CONFIG in
30630 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
30633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30634 for as_dir
in $PATH
30637 test -z "$as_dir" && as_dir
=.
30638 for ac_exec_ext
in '' $ac_executable_extensions; do
30639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30640 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30648 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
30652 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
30653 if test -n "$GTK_CONFIG"; then
30654 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30655 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30657 { echo "$as_me:$LINENO: result: no" >&5
30658 echo "${ECHO_T}no" >&6; }
30662 min_gtk_version
=1.2.3
30663 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30664 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30666 if test "$GTK_CONFIG" = "no" ; then
30669 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
30670 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
30671 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
30672 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30673 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
30674 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30675 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
30676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30677 if test "x$enable_gtktest" = "xyes" ; then
30678 ac_save_CFLAGS
="$CFLAGS"
30679 ac_save_LIBS
="$LIBS"
30680 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30681 LIBS
="$GTK_LIBS $LIBS"
30683 if test "$cross_compiling" = yes; then
30684 echo $ac_n "cross compiling; assumed OK... $ac_c"
30686 cat >conftest.
$ac_ext <<_ACEOF
30689 cat confdefs.h
>>conftest.
$ac_ext
30690 cat >>conftest.
$ac_ext <<_ACEOF
30691 /* end confdefs.h. */
30693 #include <gtk/gtk.h>
30695 #include <stdlib.h>
30700 int major, minor, micro;
30703 system ("touch conf.gtktest");
30705 /* HP/UX 9 (%@#!) writes to sscanf strings */
30706 tmp_version = g_strdup("$min_gtk_version");
30707 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30708 printf("%s, bad version string\n", "$min_gtk_version");
30712 if ((gtk_major_version != $gtk_config_major_version) ||
30713 (gtk_minor_version != $gtk_config_minor_version) ||
30714 (gtk_micro_version != $gtk_config_micro_version))
30716 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30717 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30718 gtk_major_version, gtk_minor_version, gtk_micro_version);
30719 printf ("*** was found! If gtk-config was correct, then it is best\n");
30720 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30721 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30722 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30723 printf("*** required on your system.\n");
30724 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30725 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30726 printf("*** before re-running configure\n");
30728 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30729 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30730 (gtk_minor_version != GTK_MINOR_VERSION) ||
30731 (gtk_micro_version != GTK_MICRO_VERSION))
30733 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30734 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30735 printf("*** library (version %d.%d.%d)\n",
30736 gtk_major_version, gtk_minor_version, gtk_micro_version);
30738 #endif /* defined (GTK_MAJOR_VERSION) ... */
30741 if ((gtk_major_version > major) ||
30742 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30743 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30749 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30750 gtk_major_version, gtk_minor_version, gtk_micro_version);
30751 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30752 major, minor, micro);
30753 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30755 printf("*** If you have already installed a sufficiently new version, this error\n");
30756 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30757 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30758 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30759 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30760 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30761 printf("*** so that the correct libraries are found at run-time))\n");
30768 rm -f conftest
$ac_exeext
30769 if { (ac_try
="$ac_link"
30770 case "(($ac_try" in
30771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30772 *) ac_try_echo=$ac_try;;
30774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30775 (eval "$ac_link") 2>&5
30777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30778 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
30786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30787 (exit $ac_status); }; }; then
30790 echo "$as_me: program exited with status $ac_status" >&5
30791 echo "$as_me: failed program was:" >&5
30792 sed 's/^/| /' conftest.
$ac_ext >&5
30794 ( exit $ac_status )
30797 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30801 CFLAGS
="$ac_save_CFLAGS"
30802 LIBS
="$ac_save_LIBS"
30805 if test "x$no_gtk" = x
; then
30806 { echo "$as_me:$LINENO: result: yes" >&5
30807 echo "${ECHO_T}yes" >&6; }
30808 wx_cv_lib_gtk
=1.2.3
30810 { echo "$as_me:$LINENO: result: no" >&5
30811 echo "${ECHO_T}no" >&6; }
30812 if test "$GTK_CONFIG" = "no" ; then
30813 echo "*** The gtk-config script installed by GTK could not be found"
30814 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30815 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30816 echo "*** full path to gtk-config."
30818 if test -f conf.gtktest
; then
30821 echo "*** Could not run GTK test program, checking why..."
30822 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30823 LIBS
="$LIBS $GTK_LIBS"
30824 cat >conftest.
$ac_ext <<_ACEOF
30827 cat confdefs.h
>>conftest.
$ac_ext
30828 cat >>conftest.
$ac_ext <<_ACEOF
30829 /* end confdefs.h. */
30831 #include <gtk/gtk.h>
30837 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30842 rm -f conftest.
$ac_objext conftest
$ac_exeext
30843 if { (ac_try
="$ac_link"
30844 case "(($ac_try" in
30845 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30846 *) ac_try_echo=$ac_try;;
30848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30849 (eval "$ac_link") 2>conftest.er1
30851 grep -v '^ *+' conftest.er1 >conftest.err
30853 cat conftest.err >&5
30854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30855 (exit $ac_status); } && {
30856 test -z "$ac_c_werror_flag" ||
30857 test ! -s conftest.err
30858 } && test -s conftest$ac_exeext &&
30859 $as_test_x conftest$ac_exeext; then
30860 echo "*** The test program compiled, but did not run. This usually means"
30861 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30862 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30863 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30864 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30865 echo "*** is required on your system"
30867 echo "*** If you have an old version installed, it is best to remove it, although"
30868 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30870 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30871 echo "*** came with the system with the command"
30873 echo "*** rpm --erase --nodeps gtk gtk-devel"
30875 echo "$as_me: failed program was:" >&5
30876 sed 's/^/| /' conftest.$ac_ext >&5
30878 echo "*** The test program failed to compile or link. See the file config.log for the"
30879 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
30880 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30881 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30884 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30885 conftest$ac_exeext conftest.$ac_ext
30886 CFLAGS="$ac_save_CFLAGS"
30887 LIBS="$ac_save_LIBS"
30902 if test -z "$wx_cv_lib_gtk"; then
30905 GTK_LIBS="$GTK_LIBS -lX11"
30907 wx_cv_cflags_gtk=$GTK_CFLAGS
30908 wx_cv_libs_gtk=$GTK_LIBS
30915 if test "$gtk_version_cached" = 1; then
30916 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30917 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30920 case "$wx_cv_lib_gtk" in
30927 *) { { echo "$as_me:$LINENO: error:
30928 The development files for GTK+ were not found. For GTK+ 2, please
30929 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30930 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30931 and that the version is 1.2.3 or above. Also check that the
30932 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30933 --libs' are in the LD_LIBRARY_PATH or equivalent.
30935 echo "$as_me: error:
30936 The development files for GTK+ were not found. For GTK+ 2, please
30937 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30938 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30939 and that the version is 1.2.3 or above. Also check that the
30940 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30941 --libs' are in the LD_LIBRARY_PATH or equivalent.
30943 { (exit 1); exit 1; }; }
30947 if test "$WXGTK2" = 1; then
30948 save_CFLAGS="$CFLAGS"
30950 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30951 LIBS="$LIBS $wx_cv_libs_gtk"
30953 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30954 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30955 cat >conftest.$ac_ext <<_ACEOF
30958 cat confdefs.h >>conftest.$ac_ext
30959 cat >>conftest.$ac_ext <<_ACEOF
30960 /* end confdefs.h. */
30962 #include <gtk/gtk.h>
30968 #if !GTK_CHECK_VERSION(2,18,0)
30976 rm -f conftest.$ac_objext
30977 if { (ac_try="$ac_compile"
30978 case "(($ac_try" in
30979 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30980 *) ac_try_echo
=$ac_try;;
30982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30983 (eval "$ac_compile") 2>conftest.er1
30985 grep -v '^ *+' conftest.er1
>conftest.err
30987 cat conftest.err
>&5
30988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30989 (exit $ac_status); } && {
30990 test -z "$ac_c_werror_flag" ||
30991 test ! -s conftest.err
30992 } && test -s conftest.
$ac_objext; then
30994 cat >>confdefs.h
<<\_ACEOF
30995 #define __WXGTK218__ 1
30998 cat >>confdefs.h
<<\_ACEOF
30999 #define __WXGTK210__ 1
31002 cat >>confdefs.h
<<\_ACEOF
31003 #define __WXGTK26__ 1
31006 { echo "$as_me:$LINENO: result: yes" >&5
31007 echo "${ECHO_T}yes" >&6; }
31011 echo "$as_me: failed program was:" >&5
31012 sed 's/^/| /' conftest.
$ac_ext >&5
31015 { echo "$as_me:$LINENO: result: no" >&5
31016 echo "${ECHO_T}no" >&6; }
31021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31023 if test "$ac_wxgtk218" = 0; then
31024 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31025 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31026 cat >conftest.
$ac_ext <<_ACEOF
31029 cat confdefs.h
>>conftest.
$ac_ext
31030 cat >>conftest.
$ac_ext <<_ACEOF
31031 /* end confdefs.h. */
31033 #include <gtk/gtk.h>
31039 #if !GTK_CHECK_VERSION(2,10,0)
31047 rm -f conftest.
$ac_objext
31048 if { (ac_try
="$ac_compile"
31049 case "(($ac_try" in
31050 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31051 *) ac_try_echo=$ac_try;;
31053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31054 (eval "$ac_compile") 2>conftest.er1
31056 grep -v '^ *+' conftest.er1 >conftest.err
31058 cat conftest.err >&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } && {
31061 test -z "$ac_c_werror_flag" ||
31062 test ! -s conftest.err
31063 } && test -s conftest.$ac_objext; then
31065 cat >>confdefs.h <<\_ACEOF
31066 #define __WXGTK210__ 1
31069 cat >>confdefs.h <<\_ACEOF
31070 #define __WXGTK26__ 1
31073 { echo "$as_me:$LINENO: result: yes" >&5
31074 echo "${ECHO_T}yes" >&6; }
31078 echo "$as_me: failed program was:" >&5
31079 sed 's/^/| /' conftest.$ac_ext >&5
31082 { echo "$as_me:$LINENO: result: no" >&5
31083 echo "${ECHO_T}no" >&6; }
31088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31090 if test "$ac_wxgtk210" = 0; then
31091 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31092 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31093 cat >conftest.$ac_ext <<_ACEOF
31096 cat confdefs.h >>conftest.$ac_ext
31097 cat >>conftest.$ac_ext <<_ACEOF
31098 /* end confdefs.h. */
31100 #include <gtk/gtk.h>
31106 #if !GTK_CHECK_VERSION(2,6,0)
31114 rm -f conftest.$ac_objext
31115 if { (ac_try="$ac_compile"
31116 case "(($ac_try" in
31117 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31118 *) ac_try_echo
=$ac_try;;
31120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31121 (eval "$ac_compile") 2>conftest.er1
31123 grep -v '^ *+' conftest.er1
>conftest.err
31125 cat conftest.err
>&5
31126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31127 (exit $ac_status); } && {
31128 test -z "$ac_c_werror_flag" ||
31129 test ! -s conftest.err
31130 } && test -s conftest.
$ac_objext; then
31132 cat >>confdefs.h
<<\_ACEOF
31133 #define __WXGTK26__ 1
31136 { echo "$as_me:$LINENO: result: yes" >&5
31137 echo "${ECHO_T}yes" >&6; }
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.
$ac_ext >&5
31145 { echo "$as_me:$LINENO: result: no" >&5
31146 echo "${ECHO_T}no" >&6; }
31151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31155 CFLAGS
="$save_CFLAGS"
31158 if test "$wxUSE_UNICODE" = "yes"; then
31159 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31160 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31164 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31165 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31166 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31167 echo $ECHO_N "(cached) $ECHO_C" >&6
31169 ac_check_lib_save_LIBS
=$LIBS
31171 cat >conftest.
$ac_ext <<_ACEOF
31174 cat confdefs.h
>>conftest.
$ac_ext
31175 cat >>conftest.
$ac_ext <<_ACEOF
31176 /* end confdefs.h. */
31178 /* Override any GCC internal prototype to avoid an error.
31179 Use char because int might match the return type of a GCC
31180 builtin and then its argument prototype would still apply. */
31184 char gdk_im_open ();
31188 return gdk_im_open ();
31193 rm -f conftest.
$ac_objext conftest
$ac_exeext
31194 if { (ac_try
="$ac_link"
31195 case "(($ac_try" in
31196 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31197 *) ac_try_echo=$ac_try;;
31199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31200 (eval "$ac_link") 2>conftest.er1
31202 grep -v '^ *+' conftest.er1 >conftest.err
31204 cat conftest.err >&5
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); } && {
31207 test -z "$ac_c_werror_flag" ||
31208 test ! -s conftest.err
31209 } && test -s conftest$ac_exeext &&
31210 $as_test_x conftest$ac_exeext; then
31211 ac_cv_lib_gdk_gdk_im_open=yes
31213 echo "$as_me: failed program was:" >&5
31214 sed 's/^/| /' conftest.$ac_ext >&5
31216 ac_cv_lib_gdk_gdk_im_open=no
31219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31220 conftest$ac_exeext conftest.$ac_ext
31221 LIBS=$ac_check_lib_save_LIBS
31223 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31224 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31225 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31226 cat >>confdefs.h <<\_ACEOF
31233 if test "$USE_DARWIN" != 1; then
31235 for ac_func in poll
31237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31238 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31240 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31241 echo $ECHO_N "(cached) $ECHO_C" >&6
31243 cat >conftest.$ac_ext <<_ACEOF
31246 cat confdefs.h >>conftest.$ac_ext
31247 cat >>conftest.$ac_ext <<_ACEOF
31248 /* end confdefs.h. */
31249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31251 #define $ac_func innocuous_$ac_func
31253 /* System header to define __stub macros and hopefully few prototypes,
31254 which can conflict with char $ac_func (); below.
31255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31256 <limits.h> exists even on freestanding compilers. */
31259 # include <limits.h>
31261 # include <assert.h>
31266 /* Override any GCC internal prototype to avoid an error.
31267 Use char because int might match the return type of a GCC
31268 builtin and then its argument prototype would still apply. */
31273 /* The GNU C library defines this for functions which it implements
31274 to always fail with ENOSYS. Some functions are actually named
31275 something starting with __ and the normal name is an alias. */
31276 #if defined __stub_$ac_func || defined __stub___$ac_func
31283 return $ac_func ();
31288 rm -f conftest.$ac_objext conftest$ac_exeext
31289 if { (ac_try="$ac_link"
31290 case "(($ac_try" in
31291 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31292 *) ac_try_echo
=$ac_try;;
31294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31295 (eval "$ac_link") 2>conftest.er1
31297 grep -v '^ *+' conftest.er1
>conftest.err
31299 cat conftest.err
>&5
31300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31301 (exit $ac_status); } && {
31302 test -z "$ac_c_werror_flag" ||
31303 test ! -s conftest.err
31304 } && test -s conftest
$ac_exeext &&
31305 $as_test_x conftest
$ac_exeext; then
31306 eval "$as_ac_var=yes"
31308 echo "$as_me: failed program was:" >&5
31309 sed 's/^/| /' conftest.
$ac_ext >&5
31311 eval "$as_ac_var=no"
31314 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31315 conftest
$ac_exeext conftest.
$ac_ext
31317 ac_res
=`eval echo '${'$as_ac_var'}'`
31318 { echo "$as_me:$LINENO: result: $ac_res" >&5
31319 echo "${ECHO_T}$ac_res" >&6; }
31320 if test `eval echo '${'$as_ac_var'}'` = yes; then
31321 cat >>confdefs.h
<<_ACEOF
31322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31331 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
31332 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31333 AFMINSTALL
=afminstall
31337 if test "$wxUSE_GPE" = "yes"; then
31338 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31339 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31342 for ac_dir
in $SEARCH_LIB
31344 for ac_extension
in a so sl dylib dll.a
; do
31345 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31346 ac_find_libraries
=$ac_dir
31352 if test "$ac_find_libraries" != "" ; then
31354 if test "$ac_find_libraries" = "default location"; then
31357 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31359 if test $result = 0; then
31362 ac_path_to_link
=" -L$ac_find_libraries"
31366 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31368 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31369 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31371 { echo "$as_me:$LINENO: result: not found" >&5
31372 echo "${ECHO_T}not found" >&6; }
31378 if test "$wxUSE_DFB" = 1; then
31381 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31382 if test -n "$ac_tool_prefix"; then
31383 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31384 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31385 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31386 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31387 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31388 echo $ECHO_N "(cached) $ECHO_C" >&6
31390 case $PKG_CONFIG in
31392 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31395 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31396 for as_dir
in $PATH
31399 test -z "$as_dir" && as_dir
=.
31400 for ac_exec_ext
in '' $ac_executable_extensions; do
31401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31402 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31413 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31414 if test -n "$PKG_CONFIG"; then
31415 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31416 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31418 { echo "$as_me:$LINENO: result: no" >&5
31419 echo "${ECHO_T}no" >&6; }
31424 if test -z "$ac_cv_path_PKG_CONFIG"; then
31425 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31426 # Extract the first word of "pkg-config", so it can be a program name with args.
31427 set dummy pkg
-config; ac_word
=$2
31428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31430 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31431 echo $ECHO_N "(cached) $ECHO_C" >&6
31433 case $ac_pt_PKG_CONFIG in
31435 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31439 for as_dir
in $PATH
31442 test -z "$as_dir" && as_dir
=.
31443 for ac_exec_ext
in '' $ac_executable_extensions; do
31444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31445 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31456 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31457 if test -n "$ac_pt_PKG_CONFIG"; then
31458 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31459 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31461 { echo "$as_me:$LINENO: result: no" >&5
31462 echo "${ECHO_T}no" >&6; }
31465 if test "x$ac_pt_PKG_CONFIG" = x
; then
31468 case $cross_compiling:$ac_tool_warned in
31470 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31471 whose name does not start with the host triplet. If you think this
31472 configuration is useful to you, please write to autoconf@gnu.org." >&5
31473 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31474 whose name does not start with the host triplet. If you think this
31475 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31476 ac_tool_warned
=yes ;;
31478 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31481 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31485 if test -n "$PKG_CONFIG"; then
31486 _pkg_min_version
=0.9.0
31487 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31488 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31489 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31490 { echo "$as_me:$LINENO: result: yes" >&5
31491 echo "${ECHO_T}yes" >&6; }
31493 { echo "$as_me:$LINENO: result: no" >&5
31494 echo "${ECHO_T}no" >&6; }
31502 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31503 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31505 if test -n "$PKG_CONFIG"; then
31506 if test -n "$DIRECTFB_CFLAGS"; then
31507 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
31509 if test -n "$PKG_CONFIG" && \
31510 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31511 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); }; then
31515 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31523 if test -n "$PKG_CONFIG"; then
31524 if test -n "$DIRECTFB_LIBS"; then
31525 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
31527 if test -n "$PKG_CONFIG" && \
31528 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31529 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); }; then
31533 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31544 if test $pkg_failed = yes; then
31546 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31547 _pkg_short_errors_supported
=yes
31549 _pkg_short_errors_supported
=no
31551 if test $_pkg_short_errors_supported = yes; then
31552 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31554 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31556 # Put the nasty error message in config.log where it belongs
31557 echo "$DIRECTFB_PKG_ERRORS" >&5
31560 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31561 echo "$as_me: error: DirectFB not found." >&2;}
31562 { (exit 1); exit 1; }; }
31565 elif test $pkg_failed = untried
; then
31567 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31568 echo "$as_me: error: DirectFB not found." >&2;}
31569 { (exit 1); exit 1; }; }
31573 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
31574 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
31575 { echo "$as_me:$LINENO: result: yes" >&5
31576 echo "${ECHO_T}yes" >&6; }
31578 wxUSE_UNIVERSAL
="yes"
31579 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
31580 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
31587 if test "$wxUSE_MICROWIN" = 1; then
31588 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31589 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31590 if test "x$MICROWINDOWS" = x
; then
31591 { echo "$as_me:$LINENO: result: not found" >&5
31592 echo "${ECHO_T}not found" >&6; }
31593 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31594 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31595 { (exit 1); exit 1; }; }
31597 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31598 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31601 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
31602 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31603 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31605 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31606 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31607 { (exit 1); exit 1; }; }
31610 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
31611 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31613 wxUSE_UNIVERSAL
="yes"
31615 AFMINSTALL
=afminstall
31617 GUIDIST
=MICROWIN_DIST
31619 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31622 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31623 { echo "$as_me:$LINENO: checking for X" >&5
31624 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31627 # Check whether --with-x was given.
31628 if test "${with_x+set}" = set; then
31632 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31633 if test "x$with_x" = xno
; then
31634 # The user explicitly disabled X.
31637 case $x_includes,$x_libraries in #(
31638 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31639 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31640 { (exit 1); exit 1; }; };; #(
31641 *,NONE
| NONE
,*) if test "${ac_cv_have_x+set}" = set; then
31642 echo $ECHO_N "(cached) $ECHO_C" >&6
31644 # One or both of the vars are not set, and there is no cached value.
31645 ac_x_includes
=no ac_x_libraries
=no
31646 rm -f -r conftest.dir
31647 if mkdir conftest.dir
; then
31649 cat >Imakefile
<<'_ACEOF'
31651 @echo incroot='${INCROOT}'
31653 @echo usrlibdir='${USRLIBDIR}'
31655 @echo libdir='${LIBDIR}'
31657 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
31658 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31659 for ac_var
in incroot usrlibdir libdir
; do
31660 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31662 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31663 for ac_extension
in a so sl
; do
31664 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31665 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31666 ac_im_usrlibdir
=$ac_im_libdir; break
31669 # Screen out bogus values from the imake configuration. They are
31670 # bogus both because they are the default anyway, and because
31671 # using them would break gcc on systems where it needs fixed includes.
31672 case $ac_im_incroot in
31673 /usr
/include
) ac_x_includes
= ;;
31674 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
31676 case $ac_im_usrlibdir in
31677 /usr
/lib
| /lib
) ;;
31678 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
31682 rm -f -r conftest.dir
31685 # Standard set of common directories for X headers.
31686 # Check X11 before X11Rn because it is often a symlink to the current release.
31698 /usr/local/X11/include
31699 /usr/local/X11R6/include
31700 /usr/local/X11R5/include
31701 /usr/local/X11R4/include
31703 /usr/local/include/X11
31704 /usr/local/include/X11R6
31705 /usr/local/include/X11R5
31706 /usr/local/include/X11R4
31710 /usr/XFree86/include/X11
31714 /usr/unsupported/include
31715 /usr/athena/include
31716 /usr/local/x11r5/include
31717 /usr/lpp/Xamples/include
31719 /usr/openwin/include
31720 /usr/openwin/share/include'
31722 if test "$ac_x_includes" = no
; then
31723 # Guess where to find include files, by looking for Xlib.h.
31724 # First, try using that file with no special directory specified.
31725 cat >conftest.
$ac_ext <<_ACEOF
31728 cat confdefs.h
>>conftest.
$ac_ext
31729 cat >>conftest.
$ac_ext <<_ACEOF
31730 /* end confdefs.h. */
31731 #include <X11/Xlib.h>
31733 if { (ac_try
="$ac_cpp conftest.$ac_ext"
31734 case "(($ac_try" in
31735 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31736 *) ac_try_echo=$ac_try;;
31738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31741 grep -v '^ *+' conftest.er1 >conftest.err
31743 cat conftest.err >&5
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); } >/dev/null && {
31746 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31747 test ! -s conftest.err
31749 # We can compile using X headers with no special include directory.
31752 echo "$as_me: failed program was:" >&5
31753 sed 's/^/| /' conftest.$ac_ext >&5
31755 for ac_dir in $ac_x_header_dirs; do
31756 if test -r "$ac_dir/X11/Xlib.h"; then
31757 ac_x_includes=$ac_dir
31763 rm -f conftest.err conftest.$ac_ext
31764 fi # $ac_x_includes = no
31766 if test "$ac_x_libraries" = no; then
31767 # Check for the libraries.
31768 # See if we find them without any special options.
31769 # Don't add to $LIBS permanently.
31772 cat >conftest.$ac_ext <<_ACEOF
31775 cat confdefs.h >>conftest.$ac_ext
31776 cat >>conftest.$ac_ext <<_ACEOF
31777 /* end confdefs.h. */
31778 #include <X11/Xlib.h>
31787 rm -f conftest.$ac_objext conftest$ac_exeext
31788 if { (ac_try="$ac_link"
31789 case "(($ac_try" in
31790 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31791 *) ac_try_echo
=$ac_try;;
31793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31794 (eval "$ac_link") 2>conftest.er1
31796 grep -v '^ *+' conftest.er1
>conftest.err
31798 cat conftest.err
>&5
31799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31800 (exit $ac_status); } && {
31801 test -z "$ac_c_werror_flag" ||
31802 test ! -s conftest.err
31803 } && test -s conftest
$ac_exeext &&
31804 $as_test_x conftest
$ac_exeext; then
31806 # We can link X programs with no special library path.
31809 echo "$as_me: failed program was:" >&5
31810 sed 's/^/| /' conftest.
$ac_ext >&5
31813 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31815 # Don't even attempt the hair of trying to link an X program!
31816 for ac_extension
in a so sl
; do
31817 if test -r "$ac_dir/libX11.$ac_extension"; then
31818 ac_x_libraries
=$ac_dir
31825 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31826 conftest
$ac_exeext conftest.
$ac_ext
31827 fi # $ac_x_libraries = no
31829 case $ac_x_includes,$ac_x_libraries in #(
31830 no
,* | *,no
| *\'*)
31831 # Didn't find X, or a directory has "'" in its name.
31832 ac_cv_have_x
="have_x=no";; #(
31834 # Record where we found X for the cache.
31835 ac_cv_have_x
="have_x=yes\
31836 ac_x_includes='$ac_x_includes'\
31837 ac_x_libraries='$ac_x_libraries'"
31843 eval "$ac_cv_have_x"
31846 if test "$have_x" != yes; then
31847 { echo "$as_me:$LINENO: result: $have_x" >&5
31848 echo "${ECHO_T}$have_x" >&6; }
31851 # If each of the values was on the command line, it overrides each guess.
31852 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
31853 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
31854 # Update the cache value to reflect the command line values.
31855 ac_cv_have_x
="have_x=yes\
31856 ac_x_includes='$x_includes'\
31857 ac_x_libraries='$x_libraries'"
31858 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31859 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31862 if test "$no_x" = yes; then
31863 # Not all programs may use this symbol, but it does not hurt to define it.
31865 cat >>confdefs.h
<<\_ACEOF
31866 #define X_DISPLAY_MISSING 1
31869 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
31871 if test -n "$x_includes"; then
31872 X_CFLAGS
="$X_CFLAGS -I$x_includes"
31875 # It would also be nice to do this for all -L options, not just this one.
31876 if test -n "$x_libraries"; then
31877 X_LIBS
="$X_LIBS -L$x_libraries"
31878 # For Solaris; some versions of Sun CC require a space after -R and
31879 # others require no space. Words are not sufficient . . . .
31880 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31881 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31882 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
31883 ac_xsave_c_werror_flag
=$ac_c_werror_flag
31884 ac_c_werror_flag
=yes
31885 cat >conftest.
$ac_ext <<_ACEOF
31888 cat confdefs.h
>>conftest.
$ac_ext
31889 cat >>conftest.
$ac_ext <<_ACEOF
31890 /* end confdefs.h. */
31900 rm -f conftest.
$ac_objext conftest
$ac_exeext
31901 if { (ac_try
="$ac_link"
31902 case "(($ac_try" in
31903 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31904 *) ac_try_echo=$ac_try;;
31906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31907 (eval "$ac_link") 2>conftest.er1
31909 grep -v '^ *+' conftest.er1 >conftest.err
31911 cat conftest.err >&5
31912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31913 (exit $ac_status); } && {
31914 test -z "$ac_c_werror_flag" ||
31915 test ! -s conftest.err
31916 } && test -s conftest$ac_exeext &&
31917 $as_test_x conftest$ac_exeext; then
31918 { echo "$as_me:$LINENO: result: no" >&5
31919 echo "${ECHO_T}no" >&6; }
31920 X_LIBS="$X_LIBS -R$x_libraries"
31922 echo "$as_me: failed program was:" >&5
31923 sed 's/^/| /' conftest.$ac_ext >&5
31925 LIBS="$ac_xsave_LIBS -R $x_libraries"
31926 cat >conftest.$ac_ext <<_ACEOF
31929 cat confdefs.h >>conftest.$ac_ext
31930 cat >>conftest.$ac_ext <<_ACEOF
31931 /* end confdefs.h. */
31941 rm -f conftest.$ac_objext conftest$ac_exeext
31942 if { (ac_try="$ac_link"
31943 case "(($ac_try" in
31944 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31945 *) ac_try_echo
=$ac_try;;
31947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31948 (eval "$ac_link") 2>conftest.er1
31950 grep -v '^ *+' conftest.er1
>conftest.err
31952 cat conftest.err
>&5
31953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954 (exit $ac_status); } && {
31955 test -z "$ac_c_werror_flag" ||
31956 test ! -s conftest.err
31957 } && test -s conftest
$ac_exeext &&
31958 $as_test_x conftest
$ac_exeext; then
31959 { echo "$as_me:$LINENO: result: yes" >&5
31960 echo "${ECHO_T}yes" >&6; }
31961 X_LIBS
="$X_LIBS -R $x_libraries"
31963 echo "$as_me: failed program was:" >&5
31964 sed 's/^/| /' conftest.
$ac_ext >&5
31966 { echo "$as_me:$LINENO: result: neither works" >&5
31967 echo "${ECHO_T}neither works" >&6; }
31970 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31971 conftest
$ac_exeext conftest.
$ac_ext
31974 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31975 conftest
$ac_exeext conftest.
$ac_ext
31976 ac_c_werror_flag
=$ac_xsave_c_werror_flag
31977 LIBS
=$ac_xsave_LIBS
31980 # Check for system-dependent libraries X programs must link with.
31981 # Do this before checking for the system-independent R6 libraries
31982 # (-lICE), since we may need -lsocket or whatever for X linking.
31984 if test "$ISC" = yes; then
31985 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
31987 # Martyn Johnson says this is needed for Ultrix, if the X
31988 # libraries were built with DECnet support. And Karl Berry says
31989 # the Alpha needs dnet_stub (dnet does not exist).
31990 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
31991 cat >conftest.
$ac_ext <<_ACEOF
31994 cat confdefs.h
>>conftest.
$ac_ext
31995 cat >>conftest.
$ac_ext <<_ACEOF
31996 /* end confdefs.h. */
31998 /* Override any GCC internal prototype to avoid an error.
31999 Use char because int might match the return type of a GCC
32000 builtin and then its argument prototype would still apply. */
32004 char XOpenDisplay ();
32008 return XOpenDisplay ();
32013 rm -f conftest.
$ac_objext conftest
$ac_exeext
32014 if { (ac_try
="$ac_link"
32015 case "(($ac_try" in
32016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32017 *) ac_try_echo=$ac_try;;
32019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32020 (eval "$ac_link") 2>conftest.er1
32022 grep -v '^ *+' conftest.er1 >conftest.err
32024 cat conftest.err >&5
32025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32026 (exit $ac_status); } && {
32027 test -z "$ac_c_werror_flag" ||
32028 test ! -s conftest.err
32029 } && test -s conftest$ac_exeext &&
32030 $as_test_x conftest$ac_exeext; then
32033 echo "$as_me: failed program was:" >&5
32034 sed 's/^/| /' conftest.$ac_ext >&5
32036 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32037 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32038 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32039 echo $ECHO_N "(cached) $ECHO_C" >&6
32041 ac_check_lib_save_LIBS=$LIBS
32042 LIBS="-ldnet $LIBS"
32043 cat >conftest.$ac_ext <<_ACEOF
32046 cat confdefs.h >>conftest.$ac_ext
32047 cat >>conftest.$ac_ext <<_ACEOF
32048 /* end confdefs.h. */
32050 /* Override any GCC internal prototype to avoid an error.
32051 Use char because int might match the return type of a GCC
32052 builtin and then its argument prototype would still apply. */
32060 return dnet_ntoa ();
32065 rm -f conftest.$ac_objext conftest$ac_exeext
32066 if { (ac_try="$ac_link"
32067 case "(($ac_try" in
32068 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32069 *) ac_try_echo
=$ac_try;;
32071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32072 (eval "$ac_link") 2>conftest.er1
32074 grep -v '^ *+' conftest.er1
>conftest.err
32076 cat conftest.err
>&5
32077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32078 (exit $ac_status); } && {
32079 test -z "$ac_c_werror_flag" ||
32080 test ! -s conftest.err
32081 } && test -s conftest
$ac_exeext &&
32082 $as_test_x conftest
$ac_exeext; then
32083 ac_cv_lib_dnet_dnet_ntoa
=yes
32085 echo "$as_me: failed program was:" >&5
32086 sed 's/^/| /' conftest.
$ac_ext >&5
32088 ac_cv_lib_dnet_dnet_ntoa
=no
32091 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32092 conftest
$ac_exeext conftest.
$ac_ext
32093 LIBS
=$ac_check_lib_save_LIBS
32095 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32096 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32097 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32098 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
32101 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
32102 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32103 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32104 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32105 echo $ECHO_N "(cached) $ECHO_C" >&6
32107 ac_check_lib_save_LIBS
=$LIBS
32108 LIBS
="-ldnet_stub $LIBS"
32109 cat >conftest.
$ac_ext <<_ACEOF
32112 cat confdefs.h
>>conftest.
$ac_ext
32113 cat >>conftest.
$ac_ext <<_ACEOF
32114 /* end confdefs.h. */
32116 /* Override any GCC internal prototype to avoid an error.
32117 Use char because int might match the return type of a GCC
32118 builtin and then its argument prototype would still apply. */
32126 return dnet_ntoa ();
32131 rm -f conftest.
$ac_objext conftest
$ac_exeext
32132 if { (ac_try
="$ac_link"
32133 case "(($ac_try" in
32134 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32135 *) ac_try_echo=$ac_try;;
32137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32138 (eval "$ac_link") 2>conftest.er1
32140 grep -v '^ *+' conftest.er1 >conftest.err
32142 cat conftest.err >&5
32143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32144 (exit $ac_status); } && {
32145 test -z "$ac_c_werror_flag" ||
32146 test ! -s conftest.err
32147 } && test -s conftest$ac_exeext &&
32148 $as_test_x conftest$ac_exeext; then
32149 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32151 echo "$as_me: failed program was:" >&5
32152 sed 's/^/| /' conftest.$ac_ext >&5
32154 ac_cv_lib_dnet_stub_dnet_ntoa=no
32157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32158 conftest$ac_exeext conftest.$ac_ext
32159 LIBS=$ac_check_lib_save_LIBS
32161 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32162 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32163 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32164 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32170 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32171 conftest$ac_exeext conftest.$ac_ext
32172 LIBS="$ac_xsave_LIBS"
32174 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32175 # to get the SysV transport functions.
32176 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32178 # The nsl library prevents programs from opening the X display
32179 # on Irix 5.2, according to T.E. Dickey.
32180 # The functions gethostbyname, getservbyname, and inet_addr are
32181 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32182 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32183 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32184 if test "${ac_cv_func_gethostbyname+set}" = set; then
32185 echo $ECHO_N "(cached) $ECHO_C" >&6
32187 cat >conftest.$ac_ext <<_ACEOF
32190 cat confdefs.h >>conftest.$ac_ext
32191 cat >>conftest.$ac_ext <<_ACEOF
32192 /* end confdefs.h. */
32193 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32195 #define gethostbyname innocuous_gethostbyname
32197 /* System header to define __stub macros and hopefully few prototypes,
32198 which can conflict with char gethostbyname (); below.
32199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32200 <limits.h> exists even on freestanding compilers. */
32203 # include <limits.h>
32205 # include <assert.h>
32208 #undef gethostbyname
32210 /* Override any GCC internal prototype to avoid an error.
32211 Use char because int might match the return type of a GCC
32212 builtin and then its argument prototype would still apply. */
32216 char gethostbyname ();
32217 /* The GNU C library defines this for functions which it implements
32218 to always fail with ENOSYS. Some functions are actually named
32219 something starting with __ and the normal name is an alias. */
32220 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32227 return gethostbyname ();
32232 rm -f conftest.$ac_objext conftest$ac_exeext
32233 if { (ac_try="$ac_link"
32234 case "(($ac_try" in
32235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32236 *) ac_try_echo
=$ac_try;;
32238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32239 (eval "$ac_link") 2>conftest.er1
32241 grep -v '^ *+' conftest.er1
>conftest.err
32243 cat conftest.err
>&5
32244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32245 (exit $ac_status); } && {
32246 test -z "$ac_c_werror_flag" ||
32247 test ! -s conftest.err
32248 } && test -s conftest
$ac_exeext &&
32249 $as_test_x conftest
$ac_exeext; then
32250 ac_cv_func_gethostbyname
=yes
32252 echo "$as_me: failed program was:" >&5
32253 sed 's/^/| /' conftest.
$ac_ext >&5
32255 ac_cv_func_gethostbyname
=no
32258 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32259 conftest
$ac_exeext conftest.
$ac_ext
32261 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32262 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32264 if test $ac_cv_func_gethostbyname = no
; then
32265 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32266 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32267 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32268 echo $ECHO_N "(cached) $ECHO_C" >&6
32270 ac_check_lib_save_LIBS
=$LIBS
32272 cat >conftest.
$ac_ext <<_ACEOF
32275 cat confdefs.h
>>conftest.
$ac_ext
32276 cat >>conftest.
$ac_ext <<_ACEOF
32277 /* end confdefs.h. */
32279 /* Override any GCC internal prototype to avoid an error.
32280 Use char because int might match the return type of a GCC
32281 builtin and then its argument prototype would still apply. */
32285 char gethostbyname ();
32289 return gethostbyname ();
32294 rm -f conftest.
$ac_objext conftest
$ac_exeext
32295 if { (ac_try
="$ac_link"
32296 case "(($ac_try" in
32297 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32298 *) ac_try_echo=$ac_try;;
32300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32301 (eval "$ac_link") 2>conftest.er1
32303 grep -v '^ *+' conftest.er1 >conftest.err
32305 cat conftest.err >&5
32306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32307 (exit $ac_status); } && {
32308 test -z "$ac_c_werror_flag" ||
32309 test ! -s conftest.err
32310 } && test -s conftest$ac_exeext &&
32311 $as_test_x conftest$ac_exeext; then
32312 ac_cv_lib_nsl_gethostbyname=yes
32314 echo "$as_me: failed program was:" >&5
32315 sed 's/^/| /' conftest.$ac_ext >&5
32317 ac_cv_lib_nsl_gethostbyname=no
32320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32321 conftest$ac_exeext conftest.$ac_ext
32322 LIBS=$ac_check_lib_save_LIBS
32324 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32325 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32326 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32327 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32330 if test $ac_cv_lib_nsl_gethostbyname = no; then
32331 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32332 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32333 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32334 echo $ECHO_N "(cached) $ECHO_C" >&6
32336 ac_check_lib_save_LIBS=$LIBS
32338 cat >conftest.$ac_ext <<_ACEOF
32341 cat confdefs.h >>conftest.$ac_ext
32342 cat >>conftest.$ac_ext <<_ACEOF
32343 /* end confdefs.h. */
32345 /* Override any GCC internal prototype to avoid an error.
32346 Use char because int might match the return type of a GCC
32347 builtin and then its argument prototype would still apply. */
32351 char gethostbyname ();
32355 return gethostbyname ();
32360 rm -f conftest.$ac_objext conftest$ac_exeext
32361 if { (ac_try="$ac_link"
32362 case "(($ac_try" in
32363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32364 *) ac_try_echo
=$ac_try;;
32366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32367 (eval "$ac_link") 2>conftest.er1
32369 grep -v '^ *+' conftest.er1
>conftest.err
32371 cat conftest.err
>&5
32372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373 (exit $ac_status); } && {
32374 test -z "$ac_c_werror_flag" ||
32375 test ! -s conftest.err
32376 } && test -s conftest
$ac_exeext &&
32377 $as_test_x conftest
$ac_exeext; then
32378 ac_cv_lib_bsd_gethostbyname
=yes
32380 echo "$as_me: failed program was:" >&5
32381 sed 's/^/| /' conftest.
$ac_ext >&5
32383 ac_cv_lib_bsd_gethostbyname
=no
32386 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32387 conftest
$ac_exeext conftest.
$ac_ext
32388 LIBS
=$ac_check_lib_save_LIBS
32390 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32391 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32392 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32393 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
32399 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32400 # socket/setsockopt and other routines are undefined under SCO ODT
32401 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32402 # on later versions), says Simon Leinen: it contains gethostby*
32403 # variants that don't use the name server (or something). -lsocket
32404 # must be given before -lnsl if both are needed. We assume that
32405 # if connect needs -lnsl, so does gethostbyname.
32406 { echo "$as_me:$LINENO: checking for connect" >&5
32407 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32408 if test "${ac_cv_func_connect+set}" = set; then
32409 echo $ECHO_N "(cached) $ECHO_C" >&6
32411 cat >conftest.
$ac_ext <<_ACEOF
32414 cat confdefs.h
>>conftest.
$ac_ext
32415 cat >>conftest.
$ac_ext <<_ACEOF
32416 /* end confdefs.h. */
32417 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32419 #define connect innocuous_connect
32421 /* System header to define __stub macros and hopefully few prototypes,
32422 which can conflict with char connect (); below.
32423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32424 <limits.h> exists even on freestanding compilers. */
32427 # include <limits.h>
32429 # include <assert.h>
32434 /* Override any GCC internal prototype to avoid an error.
32435 Use char because int might match the return type of a GCC
32436 builtin and then its argument prototype would still apply. */
32441 /* The GNU C library defines this for functions which it implements
32442 to always fail with ENOSYS. Some functions are actually named
32443 something starting with __ and the normal name is an alias. */
32444 #if defined __stub_connect || defined __stub___connect
32456 rm -f conftest.
$ac_objext conftest
$ac_exeext
32457 if { (ac_try
="$ac_link"
32458 case "(($ac_try" in
32459 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32460 *) ac_try_echo=$ac_try;;
32462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32463 (eval "$ac_link") 2>conftest.er1
32465 grep -v '^ *+' conftest.er1 >conftest.err
32467 cat conftest.err >&5
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); } && {
32470 test -z "$ac_c_werror_flag" ||
32471 test ! -s conftest.err
32472 } && test -s conftest$ac_exeext &&
32473 $as_test_x conftest$ac_exeext; then
32474 ac_cv_func_connect=yes
32476 echo "$as_me: failed program was:" >&5
32477 sed 's/^/| /' conftest.$ac_ext >&5
32479 ac_cv_func_connect=no
32482 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32483 conftest$ac_exeext conftest.$ac_ext
32485 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32486 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32488 if test $ac_cv_func_connect = no; then
32489 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32490 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32491 if test "${ac_cv_lib_socket_connect+set}" = set; then
32492 echo $ECHO_N "(cached) $ECHO_C" >&6
32494 ac_check_lib_save_LIBS=$LIBS
32495 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32496 cat >conftest.$ac_ext <<_ACEOF
32499 cat confdefs.h >>conftest.$ac_ext
32500 cat >>conftest.$ac_ext <<_ACEOF
32501 /* end confdefs.h. */
32503 /* Override any GCC internal prototype to avoid an error.
32504 Use char because int might match the return type of a GCC
32505 builtin and then its argument prototype would still apply. */
32518 rm -f conftest.$ac_objext conftest$ac_exeext
32519 if { (ac_try="$ac_link"
32520 case "(($ac_try" in
32521 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32522 *) ac_try_echo
=$ac_try;;
32524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32525 (eval "$ac_link") 2>conftest.er1
32527 grep -v '^ *+' conftest.er1
>conftest.err
32529 cat conftest.err
>&5
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); } && {
32532 test -z "$ac_c_werror_flag" ||
32533 test ! -s conftest.err
32534 } && test -s conftest
$ac_exeext &&
32535 $as_test_x conftest
$ac_exeext; then
32536 ac_cv_lib_socket_connect
=yes
32538 echo "$as_me: failed program was:" >&5
32539 sed 's/^/| /' conftest.
$ac_ext >&5
32541 ac_cv_lib_socket_connect
=no
32544 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32545 conftest
$ac_exeext conftest.
$ac_ext
32546 LIBS
=$ac_check_lib_save_LIBS
32548 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32549 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32550 if test $ac_cv_lib_socket_connect = yes; then
32551 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
32556 # Guillermo Gomez says -lposix is necessary on A/UX.
32557 { echo "$as_me:$LINENO: checking for remove" >&5
32558 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32559 if test "${ac_cv_func_remove+set}" = set; then
32560 echo $ECHO_N "(cached) $ECHO_C" >&6
32562 cat >conftest.
$ac_ext <<_ACEOF
32565 cat confdefs.h
>>conftest.
$ac_ext
32566 cat >>conftest.
$ac_ext <<_ACEOF
32567 /* end confdefs.h. */
32568 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32570 #define remove innocuous_remove
32572 /* System header to define __stub macros and hopefully few prototypes,
32573 which can conflict with char remove (); below.
32574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32575 <limits.h> exists even on freestanding compilers. */
32578 # include <limits.h>
32580 # include <assert.h>
32585 /* Override any GCC internal prototype to avoid an error.
32586 Use char because int might match the return type of a GCC
32587 builtin and then its argument prototype would still apply. */
32592 /* The GNU C library defines this for functions which it implements
32593 to always fail with ENOSYS. Some functions are actually named
32594 something starting with __ and the normal name is an alias. */
32595 #if defined __stub_remove || defined __stub___remove
32607 rm -f conftest.
$ac_objext conftest
$ac_exeext
32608 if { (ac_try
="$ac_link"
32609 case "(($ac_try" in
32610 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32611 *) ac_try_echo=$ac_try;;
32613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32614 (eval "$ac_link") 2>conftest.er1
32616 grep -v '^ *+' conftest.er1 >conftest.err
32618 cat conftest.err >&5
32619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32620 (exit $ac_status); } && {
32621 test -z "$ac_c_werror_flag" ||
32622 test ! -s conftest.err
32623 } && test -s conftest$ac_exeext &&
32624 $as_test_x conftest$ac_exeext; then
32625 ac_cv_func_remove=yes
32627 echo "$as_me: failed program was:" >&5
32628 sed 's/^/| /' conftest.$ac_ext >&5
32630 ac_cv_func_remove=no
32633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32634 conftest$ac_exeext conftest.$ac_ext
32636 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32637 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32639 if test $ac_cv_func_remove = no; then
32640 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32641 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32642 if test "${ac_cv_lib_posix_remove+set}" = set; then
32643 echo $ECHO_N "(cached) $ECHO_C" >&6
32645 ac_check_lib_save_LIBS=$LIBS
32646 LIBS="-lposix $LIBS"
32647 cat >conftest.$ac_ext <<_ACEOF
32650 cat confdefs.h >>conftest.$ac_ext
32651 cat >>conftest.$ac_ext <<_ACEOF
32652 /* end confdefs.h. */
32654 /* Override any GCC internal prototype to avoid an error.
32655 Use char because int might match the return type of a GCC
32656 builtin and then its argument prototype would still apply. */
32669 rm -f conftest.$ac_objext conftest$ac_exeext
32670 if { (ac_try="$ac_link"
32671 case "(($ac_try" in
32672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32673 *) ac_try_echo
=$ac_try;;
32675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32676 (eval "$ac_link") 2>conftest.er1
32678 grep -v '^ *+' conftest.er1
>conftest.err
32680 cat conftest.err
>&5
32681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32682 (exit $ac_status); } && {
32683 test -z "$ac_c_werror_flag" ||
32684 test ! -s conftest.err
32685 } && test -s conftest
$ac_exeext &&
32686 $as_test_x conftest
$ac_exeext; then
32687 ac_cv_lib_posix_remove
=yes
32689 echo "$as_me: failed program was:" >&5
32690 sed 's/^/| /' conftest.
$ac_ext >&5
32692 ac_cv_lib_posix_remove
=no
32695 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32696 conftest
$ac_exeext conftest.
$ac_ext
32697 LIBS
=$ac_check_lib_save_LIBS
32699 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32700 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32701 if test $ac_cv_lib_posix_remove = yes; then
32702 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
32707 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32708 { echo "$as_me:$LINENO: checking for shmat" >&5
32709 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32710 if test "${ac_cv_func_shmat+set}" = set; then
32711 echo $ECHO_N "(cached) $ECHO_C" >&6
32713 cat >conftest.
$ac_ext <<_ACEOF
32716 cat confdefs.h
>>conftest.
$ac_ext
32717 cat >>conftest.
$ac_ext <<_ACEOF
32718 /* end confdefs.h. */
32719 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32721 #define shmat innocuous_shmat
32723 /* System header to define __stub macros and hopefully few prototypes,
32724 which can conflict with char shmat (); below.
32725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32726 <limits.h> exists even on freestanding compilers. */
32729 # include <limits.h>
32731 # include <assert.h>
32736 /* Override any GCC internal prototype to avoid an error.
32737 Use char because int might match the return type of a GCC
32738 builtin and then its argument prototype would still apply. */
32743 /* The GNU C library defines this for functions which it implements
32744 to always fail with ENOSYS. Some functions are actually named
32745 something starting with __ and the normal name is an alias. */
32746 #if defined __stub_shmat || defined __stub___shmat
32758 rm -f conftest.
$ac_objext conftest
$ac_exeext
32759 if { (ac_try
="$ac_link"
32760 case "(($ac_try" in
32761 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32762 *) ac_try_echo=$ac_try;;
32764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32765 (eval "$ac_link") 2>conftest.er1
32767 grep -v '^ *+' conftest.er1 >conftest.err
32769 cat conftest.err >&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } && {
32772 test -z "$ac_c_werror_flag" ||
32773 test ! -s conftest.err
32774 } && test -s conftest$ac_exeext &&
32775 $as_test_x conftest$ac_exeext; then
32776 ac_cv_func_shmat=yes
32778 echo "$as_me: failed program was:" >&5
32779 sed 's/^/| /' conftest.$ac_ext >&5
32781 ac_cv_func_shmat=no
32784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32785 conftest$ac_exeext conftest.$ac_ext
32787 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32788 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32790 if test $ac_cv_func_shmat = no; then
32791 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32792 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32793 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32794 echo $ECHO_N "(cached) $ECHO_C" >&6
32796 ac_check_lib_save_LIBS=$LIBS
32798 cat >conftest.$ac_ext <<_ACEOF
32801 cat confdefs.h >>conftest.$ac_ext
32802 cat >>conftest.$ac_ext <<_ACEOF
32803 /* end confdefs.h. */
32805 /* Override any GCC internal prototype to avoid an error.
32806 Use char because int might match the return type of a GCC
32807 builtin and then its argument prototype would still apply. */
32820 rm -f conftest.$ac_objext conftest$ac_exeext
32821 if { (ac_try="$ac_link"
32822 case "(($ac_try" in
32823 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32824 *) ac_try_echo
=$ac_try;;
32826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32827 (eval "$ac_link") 2>conftest.er1
32829 grep -v '^ *+' conftest.er1
>conftest.err
32831 cat conftest.err
>&5
32832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32833 (exit $ac_status); } && {
32834 test -z "$ac_c_werror_flag" ||
32835 test ! -s conftest.err
32836 } && test -s conftest
$ac_exeext &&
32837 $as_test_x conftest
$ac_exeext; then
32838 ac_cv_lib_ipc_shmat
=yes
32840 echo "$as_me: failed program was:" >&5
32841 sed 's/^/| /' conftest.
$ac_ext >&5
32843 ac_cv_lib_ipc_shmat
=no
32846 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32847 conftest
$ac_exeext conftest.
$ac_ext
32848 LIBS
=$ac_check_lib_save_LIBS
32850 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32851 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32852 if test $ac_cv_lib_ipc_shmat = yes; then
32853 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
32859 # Check for libraries that X11R6 Xt/Xaw programs need.
32860 ac_save_LDFLAGS
=$LDFLAGS
32861 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
32862 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32863 # check for ICE first), but we must link in the order -lSM -lICE or
32864 # we get undefined symbols. So assume we have SM if we have ICE.
32865 # These have to be linked with before -lX11, unlike the other
32866 # libraries we check for below, so use a different variable.
32867 # John Interrante, Karl Berry
32868 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32869 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32870 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32871 echo $ECHO_N "(cached) $ECHO_C" >&6
32873 ac_check_lib_save_LIBS
=$LIBS
32874 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
32875 cat >conftest.
$ac_ext <<_ACEOF
32878 cat confdefs.h
>>conftest.
$ac_ext
32879 cat >>conftest.
$ac_ext <<_ACEOF
32880 /* end confdefs.h. */
32882 /* Override any GCC internal prototype to avoid an error.
32883 Use char because int might match the return type of a GCC
32884 builtin and then its argument prototype would still apply. */
32888 char IceConnectionNumber ();
32892 return IceConnectionNumber ();
32897 rm -f conftest.
$ac_objext conftest
$ac_exeext
32898 if { (ac_try
="$ac_link"
32899 case "(($ac_try" in
32900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32901 *) ac_try_echo=$ac_try;;
32903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32904 (eval "$ac_link") 2>conftest.er1
32906 grep -v '^ *+' conftest.er1 >conftest.err
32908 cat conftest.err >&5
32909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32910 (exit $ac_status); } && {
32911 test -z "$ac_c_werror_flag" ||
32912 test ! -s conftest.err
32913 } && test -s conftest$ac_exeext &&
32914 $as_test_x conftest$ac_exeext; then
32915 ac_cv_lib_ICE_IceConnectionNumber=yes
32917 echo "$as_me: failed program was:" >&5
32918 sed 's/^/| /' conftest.$ac_ext >&5
32920 ac_cv_lib_ICE_IceConnectionNumber=no
32923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32924 conftest$ac_exeext conftest.$ac_ext
32925 LIBS=$ac_check_lib_save_LIBS
32927 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32928 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32929 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32930 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32933 LDFLAGS=$ac_save_LDFLAGS
32938 if test "$no_x" = "yes"; then
32939 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32940 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32941 { (exit 1); exit 1; }; }
32944 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32945 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32946 AFMINSTALL=afminstall
32947 COMPILED_X_PROGRAM=0
32951 if test "$wxUSE_X11" = 1; then
32952 if test "$wxUSE_NANOX" = "yes"; then
32953 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32954 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32955 if test "x$MICROWIN" = x ; then
32956 { echo "$as_me:$LINENO: result: not found" >&5
32957 echo "${ECHO_T}not found" >&6; }
32958 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32959 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32960 { (exit 1); exit 1; }; }
32962 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32963 echo "${ECHO_T}$MICROWIN" >&6; }
32964 cat >>confdefs.h <<\_ACEOF
32965 #define wxUSE_NANOX 1
32971 if test "$wxUSE_UNICODE" = "yes"; then
32974 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32975 if test -n "$ac_tool_prefix"; then
32976 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32977 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32978 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32980 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32981 echo $ECHO_N "(cached) $ECHO_C" >&6
32983 case $PKG_CONFIG in
32985 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32989 for as_dir in $PATH
32992 test -z "$as_dir" && as_dir=.
32993 for ac_exec_ext in '' $ac_executable_extensions; do
32994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32995 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33006 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33007 if test -n "$PKG_CONFIG"; then
33008 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33009 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33011 { echo "$as_me:$LINENO: result: no" >&5
33012 echo "${ECHO_T}no" >&6; }
33017 if test -z "$ac_cv_path_PKG_CONFIG"; then
33018 ac_pt_PKG_CONFIG=$PKG_CONFIG
33019 # Extract the first word of "pkg-config", so it can be a program name with args.
33020 set dummy pkg-config; ac_word=$2
33021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33023 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33024 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 case $ac_pt_PKG_CONFIG in
33028 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33032 for as_dir in $PATH
33035 test -z "$as_dir" && as_dir=.
33036 for ac_exec_ext in '' $ac_executable_extensions; do
33037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33038 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33049 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33050 if test -n "$ac_pt_PKG_CONFIG"; then
33051 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33052 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33054 { echo "$as_me:$LINENO: result: no" >&5
33055 echo "${ECHO_T}no" >&6; }
33058 if test "x$ac_pt_PKG_CONFIG" = x; then
33061 case $cross_compiling:$ac_tool_warned in
33063 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33064 whose name does not start with the host triplet. If you think this
33065 configuration is useful to you, please write to autoconf@gnu.org." >&5
33066 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33067 whose name does not start with the host triplet. If you think this
33068 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33069 ac_tool_warned=yes ;;
33071 PKG_CONFIG=$ac_pt_PKG_CONFIG
33074 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33078 if test -n "$PKG_CONFIG"; then
33079 _pkg_min_version=0.9.0
33080 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33081 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33082 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33083 { echo "$as_me:$LINENO: result: yes" >&5
33084 echo "${ECHO_T}yes" >&6; }
33086 { echo "$as_me:$LINENO: result: no" >&5
33087 echo "${ECHO_T}no" >&6; }
33095 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33096 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33098 if test -n "$PKG_CONFIG"; then
33099 if test -n "$PANGOX_CFLAGS"; then
33100 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33102 if test -n "$PKG_CONFIG" && \
33103 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33104 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33107 (exit $ac_status); }; then
33108 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev
/null
`
33116 if test -n "$PKG_CONFIG"; then
33117 if test -n "$PANGOX_LIBS"; then
33118 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33120 if test -n "$PKG_CONFIG" && \
33121 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33122 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125 (exit $ac_status); }; then
33126 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev
/null
`
33137 if test $pkg_failed = yes; then
33139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33140 _pkg_short_errors_supported=yes
33142 _pkg_short_errors_supported=no
33144 if test $_pkg_short_errors_supported = yes; then
33145 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33147 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33149 # Put the nasty error message in config.log where it belongs
33150 echo "$PANGOX_PKG_ERRORS" >&5
33153 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33154 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33155 { (exit 1); exit 1; }; }
33158 elif test $pkg_failed = untried; then
33160 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33161 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33162 { (exit 1); exit 1; }; }
33166 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33167 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33168 { echo "$as_me:$LINENO: result: yes" >&5
33169 echo "${ECHO_T}yes" >&6; }
33171 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33172 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33173 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33178 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33179 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33181 if test -n "$PKG_CONFIG"; then
33182 if test -n "$PANGOFT2_CFLAGS"; then
33183 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33185 if test -n "$PKG_CONFIG" && \
33186 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33187 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33190 (exit $ac_status); }; then
33191 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev
/null
`
33199 if test -n "$PKG_CONFIG"; then
33200 if test -n "$PANGOFT2_LIBS"; then
33201 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33203 if test -n "$PKG_CONFIG" && \
33204 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33205 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); }; then
33209 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev
/null
`
33220 if test $pkg_failed = yes; then
33222 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33223 _pkg_short_errors_supported=yes
33225 _pkg_short_errors_supported=no
33227 if test $_pkg_short_errors_supported = yes; then
33228 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33230 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33232 # Put the nasty error message in config.log where it belongs
33233 echo "$PANGOFT2_PKG_ERRORS" >&5
33236 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33237 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33238 wxUSE_PRINTING_ARCHITECTURE="no"
33241 elif test $pkg_failed = untried; then
33243 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33244 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33245 wxUSE_PRINTING_ARCHITECTURE="no"
33249 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33250 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33251 { echo "$as_me:$LINENO: result: yes" >&5
33252 echo "${ECHO_T}yes" >&6; }
33254 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33255 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33256 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33261 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33262 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33264 if test -n "$PKG_CONFIG"; then
33265 if test -n "$PANGOXFT_CFLAGS"; then
33266 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33268 if test -n "$PKG_CONFIG" && \
33269 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33270 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33273 (exit $ac_status); }; then
33274 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev
/null
`
33282 if test -n "$PKG_CONFIG"; then
33283 if test -n "$PANGOXFT_LIBS"; then
33284 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33286 if test -n "$PKG_CONFIG" && \
33287 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33288 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33291 (exit $ac_status); }; then
33292 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev
/null
`
33303 if test $pkg_failed = yes; then
33305 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33306 _pkg_short_errors_supported=yes
33308 _pkg_short_errors_supported=no
33310 if test $_pkg_short_errors_supported = yes; then
33311 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33313 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33315 # Put the nasty error message in config.log where it belongs
33316 echo "$PANGOXFT_PKG_ERRORS" >&5
33319 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33320 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33323 elif test $pkg_failed = untried; then
33325 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33326 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33330 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33331 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33332 { echo "$as_me:$LINENO: result: yes" >&5
33333 echo "${ECHO_T}yes" >&6; }
33335 cat >>confdefs.h <<\_ACEOF
33336 #define HAVE_PANGO_XFT 1
33339 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33340 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33345 LIBS="$LIBS $PANGOX_LIBS"
33347 for ac_func in pango_font_family_is_monospace
33349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33350 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33353 echo $ECHO_N "(cached) $ECHO_C" >&6
33355 cat >conftest.$ac_ext <<_ACEOF
33358 cat confdefs.h >>conftest.$ac_ext
33359 cat >>conftest.$ac_ext <<_ACEOF
33360 /* end confdefs.h. */
33361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33363 #define $ac_func innocuous_$ac_func
33365 /* System header to define __stub macros and hopefully few prototypes,
33366 which can conflict with char $ac_func (); below.
33367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33368 <limits.h> exists even on freestanding compilers. */
33371 # include <limits.h>
33373 # include <assert.h>
33378 /* Override any GCC internal prototype to avoid an error.
33379 Use char because int might match the return type of a GCC
33380 builtin and then its argument prototype would still apply. */
33385 /* The GNU C library defines this for functions which it implements
33386 to always fail with ENOSYS. Some functions are actually named
33387 something starting with __ and the normal name is an alias. */
33388 #if defined __stub_$ac_func || defined __stub___$ac_func
33395 return $ac_func ();
33400 rm -f conftest.$ac_objext conftest$ac_exeext
33401 if { (ac_try="$ac_link"
33402 case "(($ac_try" in
33403 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33404 *) ac_try_echo
=$ac_try;;
33406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33407 (eval "$ac_link") 2>conftest.er1
33409 grep -v '^ *+' conftest.er1
>conftest.err
33411 cat conftest.err
>&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); } && {
33414 test -z "$ac_c_werror_flag" ||
33415 test ! -s conftest.err
33416 } && test -s conftest
$ac_exeext &&
33417 $as_test_x conftest
$ac_exeext; then
33418 eval "$as_ac_var=yes"
33420 echo "$as_me: failed program was:" >&5
33421 sed 's/^/| /' conftest.
$ac_ext >&5
33423 eval "$as_ac_var=no"
33426 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33427 conftest
$ac_exeext conftest.
$ac_ext
33429 ac_res
=`eval echo '${'$as_ac_var'}'`
33430 { echo "$as_me:$LINENO: result: $ac_res" >&5
33431 echo "${ECHO_T}$ac_res" >&6; }
33432 if test `eval echo '${'$as_ac_var'}'` = yes; then
33433 cat >>confdefs.h
<<_ACEOF
33434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33443 wxUSE_UNIVERSAL
="yes"
33445 if test "$wxUSE_NANOX" = "yes"; then
33446 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33447 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"
33448 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33450 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
33457 if test "$wxUSE_MOTIF" = 1; then
33458 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33459 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33462 for ac_dir
in $SEARCH_INCLUDE /usr
/include
33464 if test -f "$ac_dir/Xm/Xm.h"; then
33465 ac_find_includes
=$ac_dir
33470 if test "$ac_find_includes" != "" ; then
33471 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33472 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33474 if test "x$ac_find_includes" = "x/usr/include"; then
33475 ac_path_to_include
=""
33477 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
33479 if test $result = 0; then
33480 ac_path_to_include
=""
33482 ac_path_to_include
=" -I$ac_find_includes"
33486 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
33488 save_CFLAGS
=$CFLAGS
33489 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33491 cat >conftest.
$ac_ext <<_ACEOF
33494 cat confdefs.h
>>conftest.
$ac_ext
33495 cat >>conftest.
$ac_ext <<_ACEOF
33496 /* end confdefs.h. */
33505 version = xmUseVersion;
33511 rm -f conftest.
$ac_objext
33512 if { (ac_try
="$ac_compile"
33513 case "(($ac_try" in
33514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33515 *) ac_try_echo=$ac_try;;
33517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33518 (eval "$ac_compile") 2>conftest.er1
33520 grep -v '^ *+' conftest.er1 >conftest.err
33522 cat conftest.err >&5
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); } && {
33525 test -z "$ac_c_werror_flag" ||
33526 test ! -s conftest.err
33527 } && test -s conftest.$ac_objext; then
33529 { echo "$as_me:$LINENO: result: found in default search path" >&5
33530 echo "${ECHO_T}found in default search path" >&6; }
33531 COMPILED_X_PROGRAM=1
33534 echo "$as_me: failed program was:" >&5
33535 sed 's/^/| /' conftest.$ac_ext >&5
33538 { echo "$as_me:$LINENO: result: no" >&5
33539 echo "${ECHO_T}no" >&6; }
33540 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33541 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33542 { (exit 1); exit 1; }; }
33547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33549 CFLAGS=$save_CFLAGS
33553 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33554 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33557 for ac_dir in $SEARCH_LIB
33559 for ac_extension in a so sl dylib dll.a; do
33560 if test -f "$ac_dir/libXm.$ac_extension"; then
33561 ac_find_libraries=$ac_dir
33568 if test "x$ac_find_libraries" != "x" ; then
33569 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33570 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33573 if test "$ac_find_libraries" = "default location"; then
33576 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33578 if test $result = 0; then
33581 ac_path_to_link=" -L$ac_find_libraries"
33585 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33587 save_CFLAGS=$CFLAGS
33588 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33590 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33592 cat >conftest.$ac_ext <<_ACEOF
33595 cat confdefs.h >>conftest.$ac_ext
33596 cat >>conftest.$ac_ext <<_ACEOF
33597 /* end confdefs.h. */
33606 version = xmUseVersion;
33612 rm -f conftest.$ac_objext conftest$ac_exeext
33613 if { (ac_try="$ac_link"
33614 case "(($ac_try" in
33615 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33616 *) ac_try_echo
=$ac_try;;
33618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33619 (eval "$ac_link") 2>conftest.er1
33621 grep -v '^ *+' conftest.er1
>conftest.err
33623 cat conftest.err
>&5
33624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33625 (exit $ac_status); } && {
33626 test -z "$ac_c_werror_flag" ||
33627 test ! -s conftest.err
33628 } && test -s conftest
$ac_exeext &&
33629 $as_test_x conftest
$ac_exeext; then
33631 { echo "$as_me:$LINENO: result: found in default search path" >&5
33632 echo "${ECHO_T}found in default search path" >&6; }
33633 COMPILED_X_PROGRAM
=1
33636 echo "$as_me: failed program was:" >&5
33637 sed 's/^/| /' conftest.
$ac_ext >&5
33640 { echo "$as_me:$LINENO: result: no" >&5
33641 echo "${ECHO_T}no" >&6; }
33642 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33643 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33644 { (exit 1); exit 1; }; }
33649 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33650 conftest
$ac_exeext conftest.
$ac_ext
33652 CFLAGS
=$save_CFLAGS
33656 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33657 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33661 for libp
in "" " -lXp"; do
33662 if test "$libs_found" = 0; then
33663 for libsm_ice
in "" " -lSM -lICE"; do
33664 if test "$libs_found" = 0; then
33666 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33667 save_CFLAGS
=$CFLAGS
33668 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33670 cat >conftest.
$ac_ext <<_ACEOF
33673 cat confdefs.h
>>conftest.
$ac_ext
33674 cat >>conftest.
$ac_ext <<_ACEOF
33675 /* end confdefs.h. */
33678 #include <Xm/List.h>
33684 XmString string = NULL;
33687 XmListAddItem(w, string, position);
33693 rm -f conftest.
$ac_objext conftest
$ac_exeext
33694 if { (ac_try
="$ac_link"
33695 case "(($ac_try" in
33696 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33697 *) ac_try_echo=$ac_try;;
33699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33700 (eval "$ac_link") 2>conftest.er1
33702 grep -v '^ *+' conftest.er1 >conftest.err
33704 cat conftest.err >&5
33705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33706 (exit $ac_status); } && {
33707 test -z "$ac_c_werror_flag" ||
33708 test ! -s conftest.err
33709 } && test -s conftest$ac_exeext &&
33710 $as_test_x conftest$ac_exeext; then
33713 libsm_ice_link="$libsm_ice"
33714 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33715 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33719 echo "$as_me: failed program was:" >&5
33720 sed 's/^/| /' conftest.$ac_ext >&5
33726 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33727 conftest$ac_exeext conftest.$ac_ext
33730 CFLAGS=$save_CFLAGS
33736 if test "$libs_found" = 0; then
33737 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33738 echo "${ECHO_T}can't find the right libraries" >&6; }
33739 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33740 echo "$as_me: error: can't link a simple motif program" >&2;}
33741 { (exit 1); exit 1; }; }
33744 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33745 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33746 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33747 echo $ECHO_N "(cached) $ECHO_C" >&6
33749 ac_check_lib_save_LIBS=$LIBS
33751 cat >conftest.$ac_ext <<_ACEOF
33754 cat confdefs.h >>conftest.$ac_ext
33755 cat >>conftest.$ac_ext <<_ACEOF
33756 /* end confdefs.h. */
33758 /* Override any GCC internal prototype to avoid an error.
33759 Use char because int might match the return type of a GCC
33760 builtin and then its argument prototype would still apply. */
33764 char SgCreateList ();
33768 return SgCreateList ();
33773 rm -f conftest.$ac_objext conftest$ac_exeext
33774 if { (ac_try="$ac_link"
33775 case "(($ac_try" in
33776 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33777 *) ac_try_echo
=$ac_try;;
33779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33780 (eval "$ac_link") 2>conftest.er1
33782 grep -v '^ *+' conftest.er1
>conftest.err
33784 cat conftest.err
>&5
33785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33786 (exit $ac_status); } && {
33787 test -z "$ac_c_werror_flag" ||
33788 test ! -s conftest.err
33789 } && test -s conftest
$ac_exeext &&
33790 $as_test_x conftest
$ac_exeext; then
33791 ac_cv_lib_Sgm_SgCreateList
=yes
33793 echo "$as_me: failed program was:" >&5
33794 sed 's/^/| /' conftest.
$ac_ext >&5
33796 ac_cv_lib_Sgm_SgCreateList
=no
33799 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33800 conftest
$ac_exeext conftest.
$ac_ext
33801 LIBS
=$ac_check_lib_save_LIBS
33803 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33804 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33805 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33806 libsgm_link
=" -lSgm"
33810 save_CFLAGS
=$CFLAGS
33811 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33813 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33814 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33815 if test "${wx_cv_lib_motif2+set}" = set; then
33816 echo $ECHO_N "(cached) $ECHO_C" >&6
33818 cat >conftest.
$ac_ext <<_ACEOF
33821 cat confdefs.h
>>conftest.
$ac_ext
33822 cat >>conftest.
$ac_ext <<_ACEOF
33823 /* end confdefs.h. */
33831 #if XmVersion < 2000
33839 rm -f conftest.
$ac_objext
33840 if { (ac_try
="$ac_compile"
33841 case "(($ac_try" in
33842 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33843 *) ac_try_echo=$ac_try;;
33845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33846 (eval "$ac_compile") 2>conftest.er1
33848 grep -v '^ *+' conftest.er1 >conftest.err
33850 cat conftest.err >&5
33851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33852 (exit $ac_status); } && {
33853 test -z "$ac_c_werror_flag" ||
33854 test ! -s conftest.err
33855 } && test -s conftest.$ac_objext; then
33856 wx_cv_lib_motif2="yes"
33858 echo "$as_me: failed program was:" >&5
33859 sed 's/^/| /' conftest.$ac_ext >&5
33861 wx_cv_lib_motif2="no"
33864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33866 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33867 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33868 if test "$wx_cv_lib_motif2" = "yes"; then
33869 cat >>confdefs.h <<\_ACEOF
33870 #define __WXMOTIF20__ 1
33874 cat >>confdefs.h <<\_ACEOF
33875 #define __WXMOTIF20__ 0
33880 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33881 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33882 if test "${wx_cv_lib_lesstif+set}" = set; then
33883 echo $ECHO_N "(cached) $ECHO_C" >&6
33885 cat >conftest.$ac_ext <<_ACEOF
33888 cat confdefs.h >>conftest.$ac_ext
33889 cat >>conftest.$ac_ext <<_ACEOF
33890 /* end confdefs.h. */
33898 #if !defined(LesstifVersion) || LesstifVersion <= 0
33906 rm -f conftest.$ac_objext
33907 if { (ac_try="$ac_compile"
33908 case "(($ac_try" in
33909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33910 *) ac_try_echo
=$ac_try;;
33912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33913 (eval "$ac_compile") 2>conftest.er1
33915 grep -v '^ *+' conftest.er1
>conftest.err
33917 cat conftest.err
>&5
33918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919 (exit $ac_status); } && {
33920 test -z "$ac_c_werror_flag" ||
33921 test ! -s conftest.err
33922 } && test -s conftest.
$ac_objext; then
33923 wx_cv_lib_lesstif
="yes"
33925 echo "$as_me: failed program was:" >&5
33926 sed 's/^/| /' conftest.
$ac_ext >&5
33928 wx_cv_lib_lesstif
="no"
33931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33934 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33935 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33936 if test "$wx_cv_lib_lesstif" = "yes"; then
33937 cat >>confdefs.h
<<\_ACEOF
33938 #define __WXLESSTIF__ 1
33942 cat >>confdefs.h
<<\_ACEOF
33943 #define __WXLESSTIF__ 0
33948 CFLAGS
=$save_CFLAGS
33950 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33955 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33956 if test "$wxUSE_LIBXPM" = "sys"; then
33957 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33958 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33961 for ac_dir
in $SEARCH_LIB
33963 for ac_extension
in a so sl dylib dll.a
; do
33964 if test -f "$ac_dir/libXpm.$ac_extension"; then
33965 ac_find_libraries
=$ac_dir
33971 if test "$ac_find_libraries" != "" ; then
33973 if test "$ac_find_libraries" = "default location"; then
33976 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33978 if test $result = 0; then
33981 ac_path_to_link
=" -L$ac_find_libraries"
33985 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33986 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33987 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33989 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33990 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33991 if test "${wx_cv_x11_xpm_h+set}" = set; then
33992 echo $ECHO_N "(cached) $ECHO_C" >&6
33995 save_CFLAGS
=$CFLAGS
33996 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33998 cat >conftest.
$ac_ext <<_ACEOF
34001 cat confdefs.h
>>conftest.
$ac_ext
34002 cat >>conftest.
$ac_ext <<_ACEOF
34003 /* end confdefs.h. */
34005 #include <X11/xpm.h>
34012 version = XpmLibraryVersion();
34018 rm -f conftest.
$ac_objext
34019 if { (ac_try
="$ac_compile"
34020 case "(($ac_try" in
34021 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34022 *) ac_try_echo=$ac_try;;
34024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34025 (eval "$ac_compile") 2>conftest.er1
34027 grep -v '^ *+' conftest.er1 >conftest.err
34029 cat conftest.err >&5
34030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34031 (exit $ac_status); } && {
34032 test -z "$ac_c_werror_flag" ||
34033 test ! -s conftest.err
34034 } && test -s conftest.$ac_objext; then
34035 wx_cv_x11_xpm_h=yes
34037 echo "$as_me: failed program was:" >&5
34038 sed 's/^/| /' conftest.$ac_ext >&5
34044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34046 CFLAGS=$save_CFLAGS
34050 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34051 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34053 if test $wx_cv_x11_xpm_h = "yes"; then
34054 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34055 cat >>confdefs.h <<\_ACEOF
34056 #define wxHAVE_LIB_XPM 1
34060 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34061 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34067 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34068 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34069 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34070 echo $ECHO_N "(cached) $ECHO_C" >&6
34072 ac_check_lib_save_LIBS=$LIBS
34073 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34074 cat >conftest.$ac_ext <<_ACEOF
34077 cat confdefs.h >>conftest.$ac_ext
34078 cat >>conftest.$ac_ext <<_ACEOF
34079 /* end confdefs.h. */
34081 /* Override any GCC internal prototype to avoid an error.
34082 Use char because int might match the return type of a GCC
34083 builtin and then its argument prototype would still apply. */
34087 char XShapeQueryExtension ();
34091 return XShapeQueryExtension ();
34096 rm -f conftest.$ac_objext conftest$ac_exeext
34097 if { (ac_try="$ac_link"
34098 case "(($ac_try" in
34099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34100 *) ac_try_echo
=$ac_try;;
34102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34103 (eval "$ac_link") 2>conftest.er1
34105 grep -v '^ *+' conftest.er1
>conftest.err
34107 cat conftest.err
>&5
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); } && {
34110 test -z "$ac_c_werror_flag" ||
34111 test ! -s conftest.err
34112 } && test -s conftest
$ac_exeext &&
34113 $as_test_x conftest
$ac_exeext; then
34114 ac_cv_lib_Xext_XShapeQueryExtension
=yes
34116 echo "$as_me: failed program was:" >&5
34117 sed 's/^/| /' conftest.
$ac_ext >&5
34119 ac_cv_lib_Xext_XShapeQueryExtension
=no
34122 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34123 conftest
$ac_exeext conftest.
$ac_ext
34124 LIBS
=$ac_check_lib_save_LIBS
34126 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34127 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34128 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34130 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
34136 if test "$wxHAVE_XEXT_LIB" = 1; then
34137 save_CFLAGS
="$CFLAGS"
34138 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34140 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34141 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34142 cat >conftest.
$ac_ext <<_ACEOF
34145 cat confdefs.h
>>conftest.
$ac_ext
34146 cat >>conftest.
$ac_ext <<_ACEOF
34147 /* end confdefs.h. */
34149 #include <X11/Xlib.h>
34150 #include <X11/extensions/shape.h>
34156 int dummy1, dummy2;
34157 XShapeQueryExtension((Display*)NULL,
34158 (int*)NULL, (int*)NULL);
34164 rm -f conftest.
$ac_objext
34165 if { (ac_try
="$ac_compile"
34166 case "(($ac_try" in
34167 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34168 *) ac_try_echo=$ac_try;;
34170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34171 (eval "$ac_compile") 2>conftest.er1
34173 grep -v '^ *+' conftest.er1 >conftest.err
34175 cat conftest.err >&5
34176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34177 (exit $ac_status); } && {
34178 test -z "$ac_c_werror_flag" ||
34179 test ! -s conftest.err
34180 } && test -s conftest.$ac_objext; then
34182 cat >>confdefs.h <<\_ACEOF
34183 #define HAVE_XSHAPE 1
34186 { echo "$as_me:$LINENO: result: found" >&5
34187 echo "${ECHO_T}found" >&6; }
34190 echo "$as_me: failed program was:" >&5
34191 sed 's/^/| /' conftest.$ac_ext >&5
34194 { echo "$as_me:$LINENO: result: not found" >&5
34195 echo "${ECHO_T}not found" >&6; }
34199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34200 CFLAGS="$save_CFLAGS"
34205 if test "$wxUSE_OSX_CARBON" = 1; then
34206 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34207 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34208 if test "$GCC" = yes; then
34209 { echo "$as_me:$LINENO: result: gcc" >&5
34210 echo "${ECHO_T}gcc" >&6; }
34211 CPPFLAGS_PASCAL="-fpascal-strings"
34212 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34213 { echo "$as_me:$LINENO: result: xlc" >&5
34214 echo "${ECHO_T}xlc" >&6; }
34215 CPPFLAGS_PASCAL="-qmacpstr"
34217 { echo "$as_me:$LINENO: result: none" >&5
34218 echo "${ECHO_T}none" >&6; }
34221 if test "x$wxUSE_UNIX" = "xyes"; then
34222 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34224 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34228 GUIDIST=OSX_CARBON_DIST
34229 WXBASEPORT="_carbon"
34231 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34234 if test "$wxUSE_OSX_COCOA" = 1; then
34236 GUIDIST=OSX_COCOA_DIST
34238 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34241 if test "$wxUSE_OSX_IPHONE" = 1; then
34245 if test "$wxUSE_OLD_COCOA" = 1; then
34250 if test "$wxUSE_PM" = 1; then
34253 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34254 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34255 if test "${wx_cv_spbcdata+set}" = set; then
34256 echo $ECHO_N "(cached) $ECHO_C" >&6
34259 cat >conftest.$ac_ext <<_ACEOF
34262 cat confdefs.h >>conftest.$ac_ext
34263 cat >>conftest.$ac_ext <<_ACEOF
34264 /* end confdefs.h. */
34279 rm -f conftest.$ac_objext
34280 if { (ac_try="$ac_compile"
34281 case "(($ac_try" in
34282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34283 *) ac_try_echo
=$ac_try;;
34285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34286 (eval "$ac_compile") 2>conftest.er1
34288 grep -v '^ *+' conftest.er1
>conftest.err
34290 cat conftest.err
>&5
34291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34292 (exit $ac_status); } && {
34293 test -z "$ac_c_werror_flag" ||
34294 test ! -s conftest.err
34295 } && test -s conftest.
$ac_objext; then
34298 echo "$as_me: failed program was:" >&5
34299 sed 's/^/| /' conftest.
$ac_ext >&5
34305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34309 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34310 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34312 if test $wx_cv_spbcdata = "yes"; then
34313 cat >>confdefs.h
<<\_ACEOF
34314 #define HAVE_SPBCDATA 1
34320 if test "$TOOLKIT" = "PM" ; then
34323 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34326 if test "$wxUSE_UNIVERSAL" = "yes"; then
34327 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34331 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34332 DISTDIR
="wx\$(TOOLKIT)"
34338 if test "$USE_WIN32" = 1 ; then
34342 GUIDIST
="BASE_DIST"
34348 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34349 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34350 wxUSE_UNICODE_UTF8
=yes
34351 elif test "$USE_OS2" = 1 ; then
34352 wxUSE_UNICODE_UTF8
=yes
34354 wxUSE_UNICODE_UTF8
=no
34359 if test "$wxUSE_GUI" = "yes"; then
34360 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34362 for ac_header
in X
11/Xlib.h
34364 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34367 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34368 echo $ECHO_N "(cached) $ECHO_C" >&6
34370 cat >conftest.
$ac_ext <<_ACEOF
34373 cat confdefs.h
>>conftest.
$ac_ext
34374 cat >>conftest.
$ac_ext <<_ACEOF
34375 /* end confdefs.h. */
34378 #include <$ac_header>
34380 rm -f conftest.
$ac_objext
34381 if { (ac_try
="$ac_compile"
34382 case "(($ac_try" in
34383 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34384 *) ac_try_echo=$ac_try;;
34386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34387 (eval "$ac_compile") 2>conftest.er1
34389 grep -v '^ *+' conftest.er1 >conftest.err
34391 cat conftest.err >&5
34392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34393 (exit $ac_status); } && {
34394 test -z "$ac_c_werror_flag" ||
34395 test ! -s conftest.err
34396 } && test -s conftest.$ac_objext; then
34397 eval "$as_ac_Header=yes"
34399 echo "$as_me: failed program was:" >&5
34400 sed 's/^/| /' conftest.$ac_ext >&5
34402 eval "$as_ac_Header=no"
34405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34407 ac_res=`eval echo '${'$as_ac_Header'}'`
34408 { echo "$as_me:$LINENO: result: $ac_res" >&5
34409 echo "${ECHO_T}$ac_res" >&6; }
34410 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34411 cat >>confdefs.h <<_ACEOF
34412 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34420 for ac_header in X11/XKBlib.h
34422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34423 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34425 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34426 echo $ECHO_N "(cached) $ECHO_C" >&6
34428 cat >conftest.$ac_ext <<_ACEOF
34431 cat confdefs.h >>conftest.$ac_ext
34432 cat >>conftest.$ac_ext <<_ACEOF
34433 /* end confdefs.h. */
34435 #if HAVE_X11_XLIB_H
34436 #include <X11/Xlib.h>
34440 #include <$ac_header>
34442 rm -f conftest.$ac_objext
34443 if { (ac_try="$ac_compile"
34444 case "(($ac_try" in
34445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34446 *) ac_try_echo
=$ac_try;;
34448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34449 (eval "$ac_compile") 2>conftest.er1
34451 grep -v '^ *+' conftest.er1
>conftest.err
34453 cat conftest.err
>&5
34454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34455 (exit $ac_status); } && {
34456 test -z "$ac_c_werror_flag" ||
34457 test ! -s conftest.err
34458 } && test -s conftest.
$ac_objext; then
34459 eval "$as_ac_Header=yes"
34461 echo "$as_me: failed program was:" >&5
34462 sed 's/^/| /' conftest.
$ac_ext >&5
34464 eval "$as_ac_Header=no"
34467 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34469 ac_res
=`eval echo '${'$as_ac_Header'}'`
34470 { echo "$as_me:$LINENO: result: $ac_res" >&5
34471 echo "${ECHO_T}$ac_res" >&6; }
34472 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34473 cat >>confdefs.h
<<_ACEOF
34474 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34487 if test "$wxUSE_DISPLAY" = "yes"; then
34488 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34492 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
34495 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34496 if test -n "$ac_tool_prefix"; then
34497 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34498 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
34499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34501 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34502 echo $ECHO_N "(cached) $ECHO_C" >&6
34504 case $PKG_CONFIG in
34506 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34510 for as_dir
in $PATH
34513 test -z "$as_dir" && as_dir
=.
34514 for ac_exec_ext
in '' $ac_executable_extensions; do
34515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34516 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34527 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34528 if test -n "$PKG_CONFIG"; then
34529 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34530 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34532 { echo "$as_me:$LINENO: result: no" >&5
34533 echo "${ECHO_T}no" >&6; }
34538 if test -z "$ac_cv_path_PKG_CONFIG"; then
34539 ac_pt_PKG_CONFIG
=$PKG_CONFIG
34540 # Extract the first word of "pkg-config", so it can be a program name with args.
34541 set dummy pkg
-config; ac_word
=$2
34542 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34544 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34545 echo $ECHO_N "(cached) $ECHO_C" >&6
34547 case $ac_pt_PKG_CONFIG in
34549 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34553 for as_dir
in $PATH
34556 test -z "$as_dir" && as_dir
=.
34557 for ac_exec_ext
in '' $ac_executable_extensions; do
34558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34559 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34560 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34570 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
34571 if test -n "$ac_pt_PKG_CONFIG"; then
34572 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34573 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34575 { echo "$as_me:$LINENO: result: no" >&5
34576 echo "${ECHO_T}no" >&6; }
34579 if test "x$ac_pt_PKG_CONFIG" = x
; then
34582 case $cross_compiling:$ac_tool_warned in
34584 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34585 whose name does not start with the host triplet. If you think this
34586 configuration is useful to you, please write to autoconf@gnu.org." >&5
34587 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34588 whose name does not start with the host triplet. If you think this
34589 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34590 ac_tool_warned
=yes ;;
34592 PKG_CONFIG
=$ac_pt_PKG_CONFIG
34595 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
34599 if test -n "$PKG_CONFIG"; then
34600 _pkg_min_version
=0.9.0
34601 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34602 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34603 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34604 { echo "$as_me:$LINENO: result: yes" >&5
34605 echo "${ECHO_T}yes" >&6; }
34607 { echo "$as_me:$LINENO: result: no" >&5
34608 echo "${ECHO_T}no" >&6; }
34615 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34616 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34618 if test -n "$PKG_CONFIG"; then
34619 if test -n "$Xinerama_CFLAGS"; then
34620 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
34622 if test -n "$PKG_CONFIG" && \
34623 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34624 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); }; then
34628 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
34636 if test -n "$PKG_CONFIG"; then
34637 if test -n "$Xinerama_LIBS"; then
34638 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
34640 if test -n "$PKG_CONFIG" && \
34641 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34642 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34645 (exit $ac_status); }; then
34646 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
34657 if test $pkg_failed = yes; then
34659 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34660 _pkg_short_errors_supported
=yes
34662 _pkg_short_errors_supported
=no
34664 if test $_pkg_short_errors_supported = yes; then
34665 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34667 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34669 # Put the nasty error message in config.log where it belongs
34670 echo "$Xinerama_PKG_ERRORS" >&5
34673 if test "x$ac_find_libraries" = "x"; then
34674 if test "xXineramaQueryScreens" != "x"; then
34675 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34676 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34677 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34678 echo $ECHO_N "(cached) $ECHO_C" >&6
34680 ac_check_lib_save_LIBS
=$LIBS
34681 LIBS
="-lXinerama $LIBS"
34682 cat >conftest.
$ac_ext <<_ACEOF
34685 cat confdefs.h
>>conftest.
$ac_ext
34686 cat >>conftest.
$ac_ext <<_ACEOF
34687 /* end confdefs.h. */
34689 /* Override any GCC internal prototype to avoid an error.
34690 Use char because int might match the return type of a GCC
34691 builtin and then its argument prototype would still apply. */
34695 char XineramaQueryScreens ();
34699 return XineramaQueryScreens ();
34704 rm -f conftest.
$ac_objext conftest
$ac_exeext
34705 if { (ac_try
="$ac_link"
34706 case "(($ac_try" in
34707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34708 *) ac_try_echo=$ac_try;;
34710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34711 (eval "$ac_link") 2>conftest.er1
34713 grep -v '^ *+' conftest.er1 >conftest.err
34715 cat conftest.err >&5
34716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34717 (exit $ac_status); } && {
34718 test -z "$ac_c_werror_flag" ||
34719 test ! -s conftest.err
34720 } && test -s conftest$ac_exeext &&
34721 $as_test_x conftest$ac_exeext; then
34722 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34724 echo "$as_me: failed program was:" >&5
34725 sed 's/^/| /' conftest.$ac_ext >&5
34727 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34731 conftest$ac_exeext conftest.$ac_ext
34732 LIBS=$ac_check_lib_save_LIBS
34734 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34735 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34736 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34737 ac_find_libraries="std"
34743 if test "x$ac_find_libraries" = "x"; then
34744 { echo "$as_me:$LINENO: checking elsewhere" >&5
34745 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34748 for ac_dir in $SEARCH_LIB
34750 for ac_extension in a so sl dylib dll.a; do
34751 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34752 ac_find_libraries=$ac_dir
34758 if test "x$ac_find_libraries" != "x"; then
34759 { echo "$as_me:$LINENO: result: yes" >&5
34760 echo "${ECHO_T}yes" >&6; }
34762 { echo "$as_me:$LINENO: result: no" >&5
34763 echo "${ECHO_T}no" >&6; }
34767 elif test $pkg_failed = untried; then
34769 if test "x$ac_find_libraries" = "x"; then
34770 if test "xXineramaQueryScreens" != "x"; then
34771 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34772 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34773 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34774 echo $ECHO_N "(cached) $ECHO_C" >&6
34776 ac_check_lib_save_LIBS=$LIBS
34777 LIBS="-lXinerama $LIBS"
34778 cat >conftest.$ac_ext <<_ACEOF
34781 cat confdefs.h >>conftest.$ac_ext
34782 cat >>conftest.$ac_ext <<_ACEOF
34783 /* end confdefs.h. */
34785 /* Override any GCC internal prototype to avoid an error.
34786 Use char because int might match the return type of a GCC
34787 builtin and then its argument prototype would still apply. */
34791 char XineramaQueryScreens ();
34795 return XineramaQueryScreens ();
34800 rm -f conftest.$ac_objext conftest$ac_exeext
34801 if { (ac_try="$ac_link"
34802 case "(($ac_try" in
34803 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34804 *) ac_try_echo
=$ac_try;;
34806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34807 (eval "$ac_link") 2>conftest.er1
34809 grep -v '^ *+' conftest.er1
>conftest.err
34811 cat conftest.err
>&5
34812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34813 (exit $ac_status); } && {
34814 test -z "$ac_c_werror_flag" ||
34815 test ! -s conftest.err
34816 } && test -s conftest
$ac_exeext &&
34817 $as_test_x conftest
$ac_exeext; then
34818 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
34820 echo "$as_me: failed program was:" >&5
34821 sed 's/^/| /' conftest.
$ac_ext >&5
34823 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
34826 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34827 conftest
$ac_exeext conftest.
$ac_ext
34828 LIBS
=$ac_check_lib_save_LIBS
34830 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34831 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34832 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34833 ac_find_libraries
="std"
34839 if test "x$ac_find_libraries" = "x"; then
34840 { echo "$as_me:$LINENO: checking elsewhere" >&5
34841 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34844 for ac_dir
in $SEARCH_LIB
34846 for ac_extension
in a so sl dylib dll.a
; do
34847 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34848 ac_find_libraries
=$ac_dir
34854 if test "x$ac_find_libraries" != "x"; then
34855 { echo "$as_me:$LINENO: result: yes" >&5
34856 echo "${ECHO_T}yes" >&6; }
34858 { echo "$as_me:$LINENO: result: no" >&5
34859 echo "${ECHO_T}no" >&6; }
34864 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
34865 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
34866 { echo "$as_me:$LINENO: result: yes" >&5
34867 echo "${ECHO_T}yes" >&6; }
34869 ac_find_libraries
="std"
34871 eval ac_find_cflags
=\
$Xinerama_CFLAGS
34872 eval fl_libs
=\
$Xinerama_LIBS
34874 for fl_path
in $fl_libs
34876 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
34877 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
34883 if test "$ac_find_libraries" != "" ; then
34884 if test "$ac_find_libraries" != "std" ; then
34886 if test "$ac_find_libraries" = "default location"; then
34889 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34891 if test $result = 0; then
34894 ac_path_to_link
=" -L$ac_find_libraries"
34898 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34899 LDFLAGS
="$LDFLAGS $ac_path_to_link"
34903 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
34905 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34906 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34909 elif test "$wxUSE_MSW" = 1; then
34910 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34911 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34912 if test "${ac_cv_header_ddraw_h+set}" = set; then
34913 echo $ECHO_N "(cached) $ECHO_C" >&6
34915 cat >conftest.
$ac_ext <<_ACEOF
34918 cat confdefs.h
>>conftest.
$ac_ext
34919 cat >>conftest.
$ac_ext <<_ACEOF
34920 /* end confdefs.h. */
34921 #include <windows.h>
34925 rm -f conftest.
$ac_objext
34926 if { (ac_try
="$ac_compile"
34927 case "(($ac_try" in
34928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34929 *) ac_try_echo=$ac_try;;
34931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34932 (eval "$ac_compile") 2>conftest.er1
34934 grep -v '^ *+' conftest.er1 >conftest.err
34936 cat conftest.err >&5
34937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34938 (exit $ac_status); } && {
34939 test -z "$ac_c_werror_flag" ||
34940 test ! -s conftest.err
34941 } && test -s conftest.$ac_objext; then
34942 ac_cv_header_ddraw_h=yes
34944 echo "$as_me: failed program was:" >&5
34945 sed 's/^/| /' conftest.$ac_ext >&5
34947 ac_cv_header_ddraw_h=no
34950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34952 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34953 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34959 if test "$wxUSE_DISPLAY" = "yes"; then
34960 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34964 fl_pkgname=`echo "Xxf86vm" | tr [:upper
:] [:lower
:]`
34967 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34968 if test -n "$ac_tool_prefix"; then
34969 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34970 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34973 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34974 echo $ECHO_N "(cached) $ECHO_C" >&6
34976 case $PKG_CONFIG in
34978 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34982 for as_dir in $PATH
34985 test -z "$as_dir" && as_dir=.
34986 for ac_exec_ext in '' $ac_executable_extensions; do
34987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34988 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34999 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
35000 if test -n "$PKG_CONFIG"; then
35001 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35002 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35004 { echo "$as_me:$LINENO: result: no" >&5
35005 echo "${ECHO_T}no" >&6; }
35010 if test -z "$ac_cv_path_PKG_CONFIG"; then
35011 ac_pt_PKG_CONFIG=$PKG_CONFIG
35012 # Extract the first word of "pkg-config", so it can be a program name with args.
35013 set dummy pkg-config; ac_word=$2
35014 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35016 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35017 echo $ECHO_N "(cached) $ECHO_C" >&6
35019 case $ac_pt_PKG_CONFIG in
35021 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35025 for as_dir in $PATH
35028 test -z "$as_dir" && as_dir=.
35029 for ac_exec_ext in '' $ac_executable_extensions; do
35030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35031 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35042 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35043 if test -n "$ac_pt_PKG_CONFIG"; then
35044 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35045 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35047 { echo "$as_me:$LINENO: result: no" >&5
35048 echo "${ECHO_T}no" >&6; }
35051 if test "x$ac_pt_PKG_CONFIG" = x; then
35054 case $cross_compiling:$ac_tool_warned in
35056 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35057 whose name does not start with the host triplet. If you think this
35058 configuration is useful to you, please write to autoconf@gnu.org." >&5
35059 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35060 whose name does not start with the host triplet. If you think this
35061 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35062 ac_tool_warned=yes ;;
35064 PKG_CONFIG=$ac_pt_PKG_CONFIG
35067 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35071 if test -n "$PKG_CONFIG"; then
35072 _pkg_min_version=0.9.0
35073 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35074 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35075 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35076 { echo "$as_me:$LINENO: result: yes" >&5
35077 echo "${ECHO_T}yes" >&6; }
35079 { echo "$as_me:$LINENO: result: no" >&5
35080 echo "${ECHO_T}no" >&6; }
35087 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35088 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35090 if test -n "$PKG_CONFIG"; then
35091 if test -n "$Xxf86vm_CFLAGS"; then
35092 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
35094 if test -n "$PKG_CONFIG" && \
35095 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35096 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35099 (exit $ac_status); }; then
35100 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev
/null
`
35108 if test -n "$PKG_CONFIG"; then
35109 if test -n "$Xxf86vm_LIBS"; then
35110 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
35112 if test -n "$PKG_CONFIG" && \
35113 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35114 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); }; then
35118 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev
/null
`
35129 if test $pkg_failed = yes; then
35131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35132 _pkg_short_errors_supported=yes
35134 _pkg_short_errors_supported=no
35136 if test $_pkg_short_errors_supported = yes; then
35137 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35139 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35141 # Put the nasty error message in config.log where it belongs
35142 echo "$Xxf86vm_PKG_ERRORS" >&5
35145 if test "x$ac_find_libraries" = "x"; then
35146 if test "xXF86VidModeQueryExtension" != "x"; then
35147 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35148 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35149 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35150 echo $ECHO_N "(cached) $ECHO_C" >&6
35152 ac_check_lib_save_LIBS=$LIBS
35153 LIBS="-lXxf86vm $LIBS"
35154 cat >conftest.$ac_ext <<_ACEOF
35157 cat confdefs.h >>conftest.$ac_ext
35158 cat >>conftest.$ac_ext <<_ACEOF
35159 /* end confdefs.h. */
35161 /* Override any GCC internal prototype to avoid an error.
35162 Use char because int might match the return type of a GCC
35163 builtin and then its argument prototype would still apply. */
35167 char XF86VidModeQueryExtension ();
35171 return XF86VidModeQueryExtension ();
35176 rm -f conftest.$ac_objext conftest$ac_exeext
35177 if { (ac_try="$ac_link"
35178 case "(($ac_try" in
35179 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35180 *) ac_try_echo
=$ac_try;;
35182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35183 (eval "$ac_link") 2>conftest.er1
35185 grep -v '^ *+' conftest.er1
>conftest.err
35187 cat conftest.err
>&5
35188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35189 (exit $ac_status); } && {
35190 test -z "$ac_c_werror_flag" ||
35191 test ! -s conftest.err
35192 } && test -s conftest
$ac_exeext &&
35193 $as_test_x conftest
$ac_exeext; then
35194 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
35196 echo "$as_me: failed program was:" >&5
35197 sed 's/^/| /' conftest.
$ac_ext >&5
35199 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
35202 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35203 conftest
$ac_exeext conftest.
$ac_ext
35204 LIBS
=$ac_check_lib_save_LIBS
35206 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35207 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35208 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35209 ac_find_libraries
="std"
35215 if test "x$ac_find_libraries" = "x"; then
35216 { echo "$as_me:$LINENO: checking elsewhere" >&5
35217 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35220 for ac_dir
in $SEARCH_LIB
35222 for ac_extension
in a so sl dylib dll.a
; do
35223 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35224 ac_find_libraries
=$ac_dir
35230 if test "x$ac_find_libraries" != "x"; then
35231 { echo "$as_me:$LINENO: result: yes" >&5
35232 echo "${ECHO_T}yes" >&6; }
35234 { echo "$as_me:$LINENO: result: no" >&5
35235 echo "${ECHO_T}no" >&6; }
35239 elif test $pkg_failed = untried
; then
35241 if test "x$ac_find_libraries" = "x"; then
35242 if test "xXF86VidModeQueryExtension" != "x"; then
35243 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35244 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35245 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35246 echo $ECHO_N "(cached) $ECHO_C" >&6
35248 ac_check_lib_save_LIBS
=$LIBS
35249 LIBS
="-lXxf86vm $LIBS"
35250 cat >conftest.
$ac_ext <<_ACEOF
35253 cat confdefs.h
>>conftest.
$ac_ext
35254 cat >>conftest.
$ac_ext <<_ACEOF
35255 /* end confdefs.h. */
35257 /* Override any GCC internal prototype to avoid an error.
35258 Use char because int might match the return type of a GCC
35259 builtin and then its argument prototype would still apply. */
35263 char XF86VidModeQueryExtension ();
35267 return XF86VidModeQueryExtension ();
35272 rm -f conftest.
$ac_objext conftest
$ac_exeext
35273 if { (ac_try
="$ac_link"
35274 case "(($ac_try" in
35275 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35276 *) ac_try_echo=$ac_try;;
35278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35279 (eval "$ac_link") 2>conftest.er1
35281 grep -v '^ *+' conftest.er1 >conftest.err
35283 cat conftest.err >&5
35284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35285 (exit $ac_status); } && {
35286 test -z "$ac_c_werror_flag" ||
35287 test ! -s conftest.err
35288 } && test -s conftest$ac_exeext &&
35289 $as_test_x conftest$ac_exeext; then
35290 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35292 echo "$as_me: failed program was:" >&5
35293 sed 's/^/| /' conftest.$ac_ext >&5
35295 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35298 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35299 conftest$ac_exeext conftest.$ac_ext
35300 LIBS=$ac_check_lib_save_LIBS
35302 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35303 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35304 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35305 ac_find_libraries="std"
35311 if test "x$ac_find_libraries" = "x"; then
35312 { echo "$as_me:$LINENO: checking elsewhere" >&5
35313 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35316 for ac_dir in $SEARCH_LIB
35318 for ac_extension in a so sl dylib dll.a; do
35319 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35320 ac_find_libraries=$ac_dir
35326 if test "x$ac_find_libraries" != "x"; then
35327 { echo "$as_me:$LINENO: result: yes" >&5
35328 echo "${ECHO_T}yes" >&6; }
35330 { echo "$as_me:$LINENO: result: no" >&5
35331 echo "${ECHO_T}no" >&6; }
35336 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
35337 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
35338 { echo "$as_me:$LINENO: result: yes" >&5
35339 echo "${ECHO_T}yes" >&6; }
35341 ac_find_libraries="std"
35343 eval ac_find_cflags=\$Xxf86vm_CFLAGS
35344 eval fl_libs=\$Xxf86vm_LIBS
35346 for fl_path in $fl_libs
35348 if test `echo "$fl_path" | cut
-c 1-2` = "-L"; then
35349 ac_find_libraries=`echo "$fl_path" | cut
-c 3-`
35355 if test "$ac_find_libraries" != "" ; then
35357 for ac_header in X11/extensions/xf86vmode.h
35359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35360 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35363 echo $ECHO_N "(cached) $ECHO_C" >&6
35365 cat >conftest.$ac_ext <<_ACEOF
35368 cat confdefs.h >>conftest.$ac_ext
35369 cat >>conftest.$ac_ext <<_ACEOF
35370 /* end confdefs.h. */
35372 #if HAVE_X11_XLIB_H
35373 #include <X11/Xlib.h>
35377 #include <$ac_header>
35379 rm -f conftest.$ac_objext
35380 if { (ac_try="$ac_compile"
35381 case "(($ac_try" in
35382 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35383 *) ac_try_echo
=$ac_try;;
35385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35386 (eval "$ac_compile") 2>conftest.er1
35388 grep -v '^ *+' conftest.er1
>conftest.err
35390 cat conftest.err
>&5
35391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35392 (exit $ac_status); } && {
35393 test -z "$ac_c_werror_flag" ||
35394 test ! -s conftest.err
35395 } && test -s conftest.
$ac_objext; then
35396 eval "$as_ac_Header=yes"
35398 echo "$as_me: failed program was:" >&5
35399 sed 's/^/| /' conftest.
$ac_ext >&5
35401 eval "$as_ac_Header=no"
35404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35406 ac_res
=`eval echo '${'$as_ac_Header'}'`
35407 { echo "$as_me:$LINENO: result: $ac_res" >&5
35408 echo "${ECHO_T}$ac_res" >&6; }
35409 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35410 cat >>confdefs.h
<<_ACEOF
35411 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35414 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35424 if test "$wxUSE_DETECT_SM" = "yes"; then
35425 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35429 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
35432 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35433 if test -n "$ac_tool_prefix"; then
35434 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35435 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
35436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35438 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35439 echo $ECHO_N "(cached) $ECHO_C" >&6
35441 case $PKG_CONFIG in
35443 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35446 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35447 for as_dir
in $PATH
35450 test -z "$as_dir" && as_dir
=.
35451 for ac_exec_ext
in '' $ac_executable_extensions; do
35452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35453 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35464 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
35465 if test -n "$PKG_CONFIG"; then
35466 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35467 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35469 { echo "$as_me:$LINENO: result: no" >&5
35470 echo "${ECHO_T}no" >&6; }
35475 if test -z "$ac_cv_path_PKG_CONFIG"; then
35476 ac_pt_PKG_CONFIG
=$PKG_CONFIG
35477 # Extract the first word of "pkg-config", so it can be a program name with args.
35478 set dummy pkg
-config; ac_word
=$2
35479 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35481 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35482 echo $ECHO_N "(cached) $ECHO_C" >&6
35484 case $ac_pt_PKG_CONFIG in
35486 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35490 for as_dir
in $PATH
35493 test -z "$as_dir" && as_dir
=.
35494 for ac_exec_ext
in '' $ac_executable_extensions; do
35495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35496 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35507 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
35508 if test -n "$ac_pt_PKG_CONFIG"; then
35509 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35510 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35512 { echo "$as_me:$LINENO: result: no" >&5
35513 echo "${ECHO_T}no" >&6; }
35516 if test "x$ac_pt_PKG_CONFIG" = x
; then
35519 case $cross_compiling:$ac_tool_warned in
35521 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35522 whose name does not start with the host triplet. If you think this
35523 configuration is useful to you, please write to autoconf@gnu.org." >&5
35524 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35525 whose name does not start with the host triplet. If you think this
35526 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35527 ac_tool_warned
=yes ;;
35529 PKG_CONFIG
=$ac_pt_PKG_CONFIG
35532 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
35536 if test -n "$PKG_CONFIG"; then
35537 _pkg_min_version
=0.9.0
35538 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35539 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35540 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35541 { echo "$as_me:$LINENO: result: yes" >&5
35542 echo "${ECHO_T}yes" >&6; }
35544 { echo "$as_me:$LINENO: result: no" >&5
35545 echo "${ECHO_T}no" >&6; }
35552 { echo "$as_me:$LINENO: checking for SM" >&5
35553 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35555 if test -n "$PKG_CONFIG"; then
35556 if test -n "$SM_CFLAGS"; then
35557 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
35559 if test -n "$PKG_CONFIG" && \
35560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35561 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564 (exit $ac_status); }; then
35565 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35573 if test -n "$PKG_CONFIG"; then
35574 if test -n "$SM_LIBS"; then
35575 pkg_cv_SM_LIBS
="$SM_LIBS"
35577 if test -n "$PKG_CONFIG" && \
35578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35579 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35582 (exit $ac_status); }; then
35583 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35594 if test $pkg_failed = yes; then
35596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35597 _pkg_short_errors_supported
=yes
35599 _pkg_short_errors_supported
=no
35601 if test $_pkg_short_errors_supported = yes; then
35602 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35604 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35606 # Put the nasty error message in config.log where it belongs
35607 echo "$SM_PKG_ERRORS" >&5
35610 if test "x$ac_find_libraries" = "x"; then
35611 if test "xSmcOpenConnection" != "x"; then
35612 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35613 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35614 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35615 echo $ECHO_N "(cached) $ECHO_C" >&6
35617 ac_check_lib_save_LIBS
=$LIBS
35619 cat >conftest.
$ac_ext <<_ACEOF
35622 cat confdefs.h
>>conftest.
$ac_ext
35623 cat >>conftest.
$ac_ext <<_ACEOF
35624 /* end confdefs.h. */
35626 /* Override any GCC internal prototype to avoid an error.
35627 Use char because int might match the return type of a GCC
35628 builtin and then its argument prototype would still apply. */
35632 char SmcOpenConnection ();
35636 return SmcOpenConnection ();
35641 rm -f conftest.
$ac_objext conftest
$ac_exeext
35642 if { (ac_try
="$ac_link"
35643 case "(($ac_try" in
35644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35645 *) ac_try_echo=$ac_try;;
35647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35648 (eval "$ac_link") 2>conftest.er1
35650 grep -v '^ *+' conftest.er1 >conftest.err
35652 cat conftest.err >&5
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); } && {
35655 test -z "$ac_c_werror_flag" ||
35656 test ! -s conftest.err
35657 } && test -s conftest$ac_exeext &&
35658 $as_test_x conftest$ac_exeext; then
35659 ac_cv_lib_SM_SmcOpenConnection=yes
35661 echo "$as_me: failed program was:" >&5
35662 sed 's/^/| /' conftest.$ac_ext >&5
35664 ac_cv_lib_SM_SmcOpenConnection=no
35667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35668 conftest$ac_exeext conftest.$ac_ext
35669 LIBS=$ac_check_lib_save_LIBS
35671 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35672 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35673 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35674 ac_find_libraries="std"
35680 if test "x$ac_find_libraries" = "x"; then
35681 { echo "$as_me:$LINENO: checking elsewhere" >&5
35682 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35685 for ac_dir in $SEARCH_LIB
35687 for ac_extension in a so sl dylib dll.a; do
35688 if test -f "$ac_dir/libSM.$ac_extension"; then
35689 ac_find_libraries=$ac_dir
35695 if test "x$ac_find_libraries" != "x"; then
35696 { echo "$as_me:$LINENO: result: yes" >&5
35697 echo "${ECHO_T}yes" >&6; }
35699 { echo "$as_me:$LINENO: result: no" >&5
35700 echo "${ECHO_T}no" >&6; }
35704 elif test $pkg_failed = untried; then
35706 if test "x$ac_find_libraries" = "x"; then
35707 if test "xSmcOpenConnection" != "x"; then
35708 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35709 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35710 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35711 echo $ECHO_N "(cached) $ECHO_C" >&6
35713 ac_check_lib_save_LIBS=$LIBS
35715 cat >conftest.$ac_ext <<_ACEOF
35718 cat confdefs.h >>conftest.$ac_ext
35719 cat >>conftest.$ac_ext <<_ACEOF
35720 /* end confdefs.h. */
35722 /* Override any GCC internal prototype to avoid an error.
35723 Use char because int might match the return type of a GCC
35724 builtin and then its argument prototype would still apply. */
35728 char SmcOpenConnection ();
35732 return SmcOpenConnection ();
35737 rm -f conftest.$ac_objext conftest$ac_exeext
35738 if { (ac_try="$ac_link"
35739 case "(($ac_try" in
35740 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35741 *) ac_try_echo
=$ac_try;;
35743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35744 (eval "$ac_link") 2>conftest.er1
35746 grep -v '^ *+' conftest.er1
>conftest.err
35748 cat conftest.err
>&5
35749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35750 (exit $ac_status); } && {
35751 test -z "$ac_c_werror_flag" ||
35752 test ! -s conftest.err
35753 } && test -s conftest
$ac_exeext &&
35754 $as_test_x conftest
$ac_exeext; then
35755 ac_cv_lib_SM_SmcOpenConnection
=yes
35757 echo "$as_me: failed program was:" >&5
35758 sed 's/^/| /' conftest.
$ac_ext >&5
35760 ac_cv_lib_SM_SmcOpenConnection
=no
35763 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35764 conftest
$ac_exeext conftest.
$ac_ext
35765 LIBS
=$ac_check_lib_save_LIBS
35767 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35768 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35769 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35770 ac_find_libraries
="std"
35776 if test "x$ac_find_libraries" = "x"; then
35777 { echo "$as_me:$LINENO: checking elsewhere" >&5
35778 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35781 for ac_dir
in $SEARCH_LIB
35783 for ac_extension
in a so sl dylib dll.a
; do
35784 if test -f "$ac_dir/libSM.$ac_extension"; then
35785 ac_find_libraries
=$ac_dir
35791 if test "x$ac_find_libraries" != "x"; then
35792 { echo "$as_me:$LINENO: result: yes" >&5
35793 echo "${ECHO_T}yes" >&6; }
35795 { echo "$as_me:$LINENO: result: no" >&5
35796 echo "${ECHO_T}no" >&6; }
35801 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
35802 SM_LIBS
=$pkg_cv_SM_LIBS
35803 { echo "$as_me:$LINENO: result: yes" >&5
35804 echo "${ECHO_T}yes" >&6; }
35806 ac_find_libraries
="std"
35808 eval ac_find_cflags
=\
$SM_CFLAGS
35809 eval fl_libs
=\
$SM_LIBS
35811 for fl_path
in $fl_libs
35813 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35814 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
35820 if test "$ac_find_libraries" != "" ; then
35821 if test "$ac_find_libraries" != "std" ; then
35823 if test "$ac_find_libraries" = "default location"; then
35826 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35828 if test $result = 0; then
35831 ac_path_to_link
=" -L$ac_find_libraries"
35835 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35836 LDFLAGS
="$LDFLAGS $ac_path_to_link"
35839 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
35841 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35842 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35843 wxUSE_DETECT_SM
="no"
35846 wxUSE_DETECT_SM
="no"
35853 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
35856 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35857 OPENGL_LIBS
="-framework OpenGL -framework AGL"
35858 elif test "$wxUSE_MSW" = 1; then
35859 OPENGL_LIBS
="-lopengl32 -lglu32"
35860 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
35862 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35863 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35866 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
35868 if test -f "$ac_dir/GL/gl.h"; then
35869 ac_find_includes
=$ac_dir
35874 if test "$ac_find_includes" != "" ; then
35875 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35876 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35878 if test "x$ac_find_includes" = "x/usr/include"; then
35879 ac_path_to_include
=""
35881 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
35883 if test $result = 0; then
35884 ac_path_to_include
=""
35886 ac_path_to_include
=" -I$ac_find_includes"
35890 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
35892 { echo "$as_me:$LINENO: result: not found" >&5
35893 echo "${ECHO_T}not found" >&6; }
35896 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35897 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35898 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35899 echo $ECHO_N "(cached) $ECHO_C" >&6
35901 cat >conftest.
$ac_ext <<_ACEOF
35904 cat confdefs.h
>>conftest.
$ac_ext
35905 cat >>conftest.
$ac_ext <<_ACEOF
35906 /* end confdefs.h. */
35911 rm -f conftest.
$ac_objext
35912 if { (ac_try
="$ac_compile"
35913 case "(($ac_try" in
35914 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35915 *) ac_try_echo=$ac_try;;
35917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35918 (eval "$ac_compile") 2>conftest.er1
35920 grep -v '^ *+' conftest.er1 >conftest.err
35922 cat conftest.err >&5
35923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924 (exit $ac_status); } && {
35925 test -z "$ac_c_werror_flag" ||
35926 test ! -s conftest.err
35927 } && test -s conftest.$ac_objext; then
35928 ac_cv_header_GL_gl_h=yes
35930 echo "$as_me: failed program was:" >&5
35931 sed 's/^/| /' conftest.$ac_ext >&5
35933 ac_cv_header_GL_gl_h=no
35936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35938 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35939 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35940 if test $ac_cv_header_GL_gl_h = yes; then
35942 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35943 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35944 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35945 echo $ECHO_N "(cached) $ECHO_C" >&6
35947 cat >conftest.$ac_ext <<_ACEOF
35950 cat confdefs.h >>conftest.$ac_ext
35951 cat >>conftest.$ac_ext <<_ACEOF
35952 /* end confdefs.h. */
35955 #include <GL/glu.h>
35957 rm -f conftest.$ac_objext
35958 if { (ac_try="$ac_compile"
35959 case "(($ac_try" in
35960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35961 *) ac_try_echo
=$ac_try;;
35963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35964 (eval "$ac_compile") 2>conftest.er1
35966 grep -v '^ *+' conftest.er1
>conftest.err
35968 cat conftest.err
>&5
35969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35970 (exit $ac_status); } && {
35971 test -z "$ac_c_werror_flag" ||
35972 test ! -s conftest.err
35973 } && test -s conftest.
$ac_objext; then
35974 ac_cv_header_GL_glu_h
=yes
35976 echo "$as_me: failed program was:" >&5
35977 sed 's/^/| /' conftest.
$ac_ext >&5
35979 ac_cv_header_GL_glu_h
=no
35982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35984 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35985 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35986 if test $ac_cv_header_GL_glu_h = yes; then
35993 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
35996 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35997 if test -n "$ac_tool_prefix"; then
35998 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35999 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
36000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36002 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36003 echo $ECHO_N "(cached) $ECHO_C" >&6
36005 case $PKG_CONFIG in
36007 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36010 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36011 for as_dir
in $PATH
36014 test -z "$as_dir" && as_dir
=.
36015 for ac_exec_ext
in '' $ac_executable_extensions; do
36016 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36017 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36018 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36028 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36029 if test -n "$PKG_CONFIG"; then
36030 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36031 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36033 { echo "$as_me:$LINENO: result: no" >&5
36034 echo "${ECHO_T}no" >&6; }
36039 if test -z "$ac_cv_path_PKG_CONFIG"; then
36040 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36041 # Extract the first word of "pkg-config", so it can be a program name with args.
36042 set dummy pkg
-config; ac_word
=$2
36043 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36045 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36046 echo $ECHO_N "(cached) $ECHO_C" >&6
36048 case $ac_pt_PKG_CONFIG in
36050 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36053 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36054 for as_dir
in $PATH
36057 test -z "$as_dir" && as_dir
=.
36058 for ac_exec_ext
in '' $ac_executable_extensions; do
36059 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36060 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36071 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
36072 if test -n "$ac_pt_PKG_CONFIG"; then
36073 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36074 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36076 { echo "$as_me:$LINENO: result: no" >&5
36077 echo "${ECHO_T}no" >&6; }
36080 if test "x$ac_pt_PKG_CONFIG" = x
; then
36083 case $cross_compiling:$ac_tool_warned in
36085 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36086 whose name does not start with the host triplet. If you think this
36087 configuration is useful to you, please write to autoconf@gnu.org." >&5
36088 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36089 whose name does not start with the host triplet. If you think this
36090 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36091 ac_tool_warned
=yes ;;
36093 PKG_CONFIG
=$ac_pt_PKG_CONFIG
36096 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
36100 if test -n "$PKG_CONFIG"; then
36101 _pkg_min_version
=0.9.0
36102 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36103 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36104 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36105 { echo "$as_me:$LINENO: result: yes" >&5
36106 echo "${ECHO_T}yes" >&6; }
36108 { echo "$as_me:$LINENO: result: no" >&5
36109 echo "${ECHO_T}no" >&6; }
36116 { echo "$as_me:$LINENO: checking for GL" >&5
36117 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36119 if test -n "$PKG_CONFIG"; then
36120 if test -n "$GL_CFLAGS"; then
36121 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
36123 if test -n "$PKG_CONFIG" && \
36124 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36125 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36128 (exit $ac_status); }; then
36129 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36137 if test -n "$PKG_CONFIG"; then
36138 if test -n "$GL_LIBS"; then
36139 pkg_cv_GL_LIBS
="$GL_LIBS"
36141 if test -n "$PKG_CONFIG" && \
36142 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36143 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36146 (exit $ac_status); }; then
36147 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36158 if test $pkg_failed = yes; then
36160 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36161 _pkg_short_errors_supported
=yes
36163 _pkg_short_errors_supported
=no
36165 if test $_pkg_short_errors_supported = yes; then
36166 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36168 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36170 # Put the nasty error message in config.log where it belongs
36171 echo "$GL_PKG_ERRORS" >&5
36174 if test "x$ac_find_libraries" = "x"; then
36175 if test "xglBegin" != "x"; then
36176 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36177 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36178 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36179 echo $ECHO_N "(cached) $ECHO_C" >&6
36181 ac_check_lib_save_LIBS
=$LIBS
36183 cat >conftest.
$ac_ext <<_ACEOF
36186 cat confdefs.h
>>conftest.
$ac_ext
36187 cat >>conftest.
$ac_ext <<_ACEOF
36188 /* end confdefs.h. */
36190 /* Override any GCC internal prototype to avoid an error.
36191 Use char because int might match the return type of a GCC
36192 builtin and then its argument prototype would still apply. */
36205 rm -f conftest.
$ac_objext conftest
$ac_exeext
36206 if { (ac_try
="$ac_link"
36207 case "(($ac_try" in
36208 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36209 *) ac_try_echo=$ac_try;;
36211 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36212 (eval "$ac_link") 2>conftest.er1
36214 grep -v '^ *+' conftest.er1 >conftest.err
36216 cat conftest.err >&5
36217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36218 (exit $ac_status); } && {
36219 test -z "$ac_c_werror_flag" ||
36220 test ! -s conftest.err
36221 } && test -s conftest$ac_exeext &&
36222 $as_test_x conftest$ac_exeext; then
36223 ac_cv_lib_GL_glBegin=yes
36225 echo "$as_me: failed program was:" >&5
36226 sed 's/^/| /' conftest.$ac_ext >&5
36228 ac_cv_lib_GL_glBegin=no
36231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36232 conftest$ac_exeext conftest.$ac_ext
36233 LIBS=$ac_check_lib_save_LIBS
36235 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36236 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36237 if test $ac_cv_lib_GL_glBegin = yes; then
36238 ac_find_libraries="std"
36244 if test "x$ac_find_libraries" = "x"; then
36245 { echo "$as_me:$LINENO: checking elsewhere" >&5
36246 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36249 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36251 for ac_extension in a so sl dylib dll.a; do
36252 if test -f "$ac_dir/libGL.$ac_extension"; then
36253 ac_find_libraries=$ac_dir
36259 if test "x$ac_find_libraries" != "x"; then
36260 { echo "$as_me:$LINENO: result: yes" >&5
36261 echo "${ECHO_T}yes" >&6; }
36263 { echo "$as_me:$LINENO: result: no" >&5
36264 echo "${ECHO_T}no" >&6; }
36268 elif test $pkg_failed = untried; then
36270 if test "x$ac_find_libraries" = "x"; then
36271 if test "xglBegin" != "x"; then
36272 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36273 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36274 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36275 echo $ECHO_N "(cached) $ECHO_C" >&6
36277 ac_check_lib_save_LIBS=$LIBS
36279 cat >conftest.$ac_ext <<_ACEOF
36282 cat confdefs.h >>conftest.$ac_ext
36283 cat >>conftest.$ac_ext <<_ACEOF
36284 /* end confdefs.h. */
36286 /* Override any GCC internal prototype to avoid an error.
36287 Use char because int might match the return type of a GCC
36288 builtin and then its argument prototype would still apply. */
36301 rm -f conftest.$ac_objext conftest$ac_exeext
36302 if { (ac_try="$ac_link"
36303 case "(($ac_try" in
36304 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36305 *) ac_try_echo
=$ac_try;;
36307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36308 (eval "$ac_link") 2>conftest.er1
36310 grep -v '^ *+' conftest.er1
>conftest.err
36312 cat conftest.err
>&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); } && {
36315 test -z "$ac_c_werror_flag" ||
36316 test ! -s conftest.err
36317 } && test -s conftest
$ac_exeext &&
36318 $as_test_x conftest
$ac_exeext; then
36319 ac_cv_lib_GL_glBegin
=yes
36321 echo "$as_me: failed program was:" >&5
36322 sed 's/^/| /' conftest.
$ac_ext >&5
36324 ac_cv_lib_GL_glBegin
=no
36327 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36328 conftest
$ac_exeext conftest.
$ac_ext
36329 LIBS
=$ac_check_lib_save_LIBS
36331 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36332 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36333 if test $ac_cv_lib_GL_glBegin = yes; then
36334 ac_find_libraries
="std"
36340 if test "x$ac_find_libraries" = "x"; then
36341 { echo "$as_me:$LINENO: checking elsewhere" >&5
36342 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36345 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
36347 for ac_extension
in a so sl dylib dll.a
; do
36348 if test -f "$ac_dir/libGL.$ac_extension"; then
36349 ac_find_libraries
=$ac_dir
36355 if test "x$ac_find_libraries" != "x"; then
36356 { echo "$as_me:$LINENO: result: yes" >&5
36357 echo "${ECHO_T}yes" >&6; }
36359 { echo "$as_me:$LINENO: result: no" >&5
36360 echo "${ECHO_T}no" >&6; }
36365 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
36366 GL_LIBS
=$pkg_cv_GL_LIBS
36367 { echo "$as_me:$LINENO: result: yes" >&5
36368 echo "${ECHO_T}yes" >&6; }
36370 ac_find_libraries
="std"
36372 eval ac_find_cflags
=\
$GL_CFLAGS
36373 eval fl_libs
=\
$GL_LIBS
36375 for fl_path
in $fl_libs
36377 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36378 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
36384 if test "$ac_find_libraries" != "" ; then
36385 if test "$ac_find_libraries" != "std" ; then
36387 if test "$ac_find_libraries" = "default location"; then
36390 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
36392 if test $result = 0; then
36395 ac_path_to_link
=" -L$ac_find_libraries"
36399 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36400 LDFLAGS_GL
="$ac_path_to_link"
36407 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
36410 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36411 if test -n "$ac_tool_prefix"; then
36412 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36413 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
36414 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36416 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36417 echo $ECHO_N "(cached) $ECHO_C" >&6
36419 case $PKG_CONFIG in
36421 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36425 for as_dir
in $PATH
36428 test -z "$as_dir" && as_dir
=.
36429 for ac_exec_ext
in '' $ac_executable_extensions; do
36430 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36431 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36442 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36443 if test -n "$PKG_CONFIG"; then
36444 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36445 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36447 { echo "$as_me:$LINENO: result: no" >&5
36448 echo "${ECHO_T}no" >&6; }
36453 if test -z "$ac_cv_path_PKG_CONFIG"; then
36454 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36455 # Extract the first word of "pkg-config", so it can be a program name with args.
36456 set dummy pkg
-config; ac_word
=$2
36457 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36458 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36459 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36460 echo $ECHO_N "(cached) $ECHO_C" >&6
36462 case $ac_pt_PKG_CONFIG in
36464 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36467 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36468 for as_dir
in $PATH
36471 test -z "$as_dir" && as_dir
=.
36472 for ac_exec_ext
in '' $ac_executable_extensions; do
36473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36474 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36485 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
36486 if test -n "$ac_pt_PKG_CONFIG"; then
36487 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36488 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36490 { echo "$as_me:$LINENO: result: no" >&5
36491 echo "${ECHO_T}no" >&6; }
36494 if test "x$ac_pt_PKG_CONFIG" = x
; then
36497 case $cross_compiling:$ac_tool_warned in
36499 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36500 whose name does not start with the host triplet. If you think this
36501 configuration is useful to you, please write to autoconf@gnu.org." >&5
36502 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36503 whose name does not start with the host triplet. If you think this
36504 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36505 ac_tool_warned
=yes ;;
36507 PKG_CONFIG
=$ac_pt_PKG_CONFIG
36510 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
36514 if test -n "$PKG_CONFIG"; then
36515 _pkg_min_version
=0.9.0
36516 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36517 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36518 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36519 { echo "$as_me:$LINENO: result: yes" >&5
36520 echo "${ECHO_T}yes" >&6; }
36522 { echo "$as_me:$LINENO: result: no" >&5
36523 echo "${ECHO_T}no" >&6; }
36530 { echo "$as_me:$LINENO: checking for GLU" >&5
36531 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36533 if test -n "$PKG_CONFIG"; then
36534 if test -n "$GLU_CFLAGS"; then
36535 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
36537 if test -n "$PKG_CONFIG" && \
36538 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36539 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36542 (exit $ac_status); }; then
36543 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36551 if test -n "$PKG_CONFIG"; then
36552 if test -n "$GLU_LIBS"; then
36553 pkg_cv_GLU_LIBS
="$GLU_LIBS"
36555 if test -n "$PKG_CONFIG" && \
36556 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36557 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36560 (exit $ac_status); }; then
36561 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36572 if test $pkg_failed = yes; then
36574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36575 _pkg_short_errors_supported
=yes
36577 _pkg_short_errors_supported
=no
36579 if test $_pkg_short_errors_supported = yes; then
36580 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36582 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36584 # Put the nasty error message in config.log where it belongs
36585 echo "$GLU_PKG_ERRORS" >&5
36588 if test "x$ac_find_libraries" = "x"; then
36589 if test "xgluBeginCurve" != "x"; then
36590 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36591 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36592 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36593 echo $ECHO_N "(cached) $ECHO_C" >&6
36595 ac_check_lib_save_LIBS
=$LIBS
36597 cat >conftest.
$ac_ext <<_ACEOF
36600 cat confdefs.h
>>conftest.
$ac_ext
36601 cat >>conftest.
$ac_ext <<_ACEOF
36602 /* end confdefs.h. */
36604 /* Override any GCC internal prototype to avoid an error.
36605 Use char because int might match the return type of a GCC
36606 builtin and then its argument prototype would still apply. */
36610 char gluBeginCurve ();
36614 return gluBeginCurve ();
36619 rm -f conftest.
$ac_objext conftest
$ac_exeext
36620 if { (ac_try
="$ac_link"
36621 case "(($ac_try" in
36622 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36623 *) ac_try_echo=$ac_try;;
36625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36626 (eval "$ac_link") 2>conftest.er1
36628 grep -v '^ *+' conftest.er1 >conftest.err
36630 cat conftest.err >&5
36631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36632 (exit $ac_status); } && {
36633 test -z "$ac_c_werror_flag" ||
36634 test ! -s conftest.err
36635 } && test -s conftest$ac_exeext &&
36636 $as_test_x conftest$ac_exeext; then
36637 ac_cv_lib_GLU_gluBeginCurve=yes
36639 echo "$as_me: failed program was:" >&5
36640 sed 's/^/| /' conftest.$ac_ext >&5
36642 ac_cv_lib_GLU_gluBeginCurve=no
36645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36646 conftest$ac_exeext conftest.$ac_ext
36647 LIBS=$ac_check_lib_save_LIBS
36649 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36650 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36651 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36652 ac_find_libraries="std"
36658 if test "x$ac_find_libraries" = "x"; then
36659 { echo "$as_me:$LINENO: checking elsewhere" >&5
36660 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36663 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36665 for ac_extension in a so sl dylib dll.a; do
36666 if test -f "$ac_dir/libGLU.$ac_extension"; then
36667 ac_find_libraries=$ac_dir
36673 if test "x$ac_find_libraries" != "x"; then
36674 { echo "$as_me:$LINENO: result: yes" >&5
36675 echo "${ECHO_T}yes" >&6; }
36677 { echo "$as_me:$LINENO: result: no" >&5
36678 echo "${ECHO_T}no" >&6; }
36682 elif test $pkg_failed = untried; then
36684 if test "x$ac_find_libraries" = "x"; then
36685 if test "xgluBeginCurve" != "x"; then
36686 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36687 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36688 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36689 echo $ECHO_N "(cached) $ECHO_C" >&6
36691 ac_check_lib_save_LIBS=$LIBS
36693 cat >conftest.$ac_ext <<_ACEOF
36696 cat confdefs.h >>conftest.$ac_ext
36697 cat >>conftest.$ac_ext <<_ACEOF
36698 /* end confdefs.h. */
36700 /* Override any GCC internal prototype to avoid an error.
36701 Use char because int might match the return type of a GCC
36702 builtin and then its argument prototype would still apply. */
36706 char gluBeginCurve ();
36710 return gluBeginCurve ();
36715 rm -f conftest.$ac_objext conftest$ac_exeext
36716 if { (ac_try="$ac_link"
36717 case "(($ac_try" in
36718 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36719 *) ac_try_echo
=$ac_try;;
36721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36722 (eval "$ac_link") 2>conftest.er1
36724 grep -v '^ *+' conftest.er1
>conftest.err
36726 cat conftest.err
>&5
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); } && {
36729 test -z "$ac_c_werror_flag" ||
36730 test ! -s conftest.err
36731 } && test -s conftest
$ac_exeext &&
36732 $as_test_x conftest
$ac_exeext; then
36733 ac_cv_lib_GLU_gluBeginCurve
=yes
36735 echo "$as_me: failed program was:" >&5
36736 sed 's/^/| /' conftest.
$ac_ext >&5
36738 ac_cv_lib_GLU_gluBeginCurve
=no
36741 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36742 conftest
$ac_exeext conftest.
$ac_ext
36743 LIBS
=$ac_check_lib_save_LIBS
36745 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36746 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36747 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36748 ac_find_libraries
="std"
36754 if test "x$ac_find_libraries" = "x"; then
36755 { echo "$as_me:$LINENO: checking elsewhere" >&5
36756 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36759 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
36761 for ac_extension
in a so sl dylib dll.a
; do
36762 if test -f "$ac_dir/libGLU.$ac_extension"; then
36763 ac_find_libraries
=$ac_dir
36769 if test "x$ac_find_libraries" != "x"; then
36770 { echo "$as_me:$LINENO: result: yes" >&5
36771 echo "${ECHO_T}yes" >&6; }
36773 { echo "$as_me:$LINENO: result: no" >&5
36774 echo "${ECHO_T}no" >&6; }
36779 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
36780 GLU_LIBS
=$pkg_cv_GLU_LIBS
36781 { echo "$as_me:$LINENO: result: yes" >&5
36782 echo "${ECHO_T}yes" >&6; }
36784 ac_find_libraries
="std"
36786 eval ac_find_cflags
=\
$GLU_CFLAGS
36787 eval fl_libs
=\
$GLU_LIBS
36789 for fl_path
in $fl_libs
36791 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36792 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
36798 if test "$ac_find_libraries" != "" ; then
36799 if test "$ac_find_libraries" != "std" ; then
36801 if test "$ac_find_libraries" = "default location"; then
36804 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
36806 if test $result = 0; then
36809 ac_path_to_link
=" -L$ac_find_libraries"
36813 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36814 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
36815 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
36820 OPENGL_LIBS
="-lGL -lGLU"
36824 if test "$found_gl" != 1; then
36828 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
36831 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36832 if test -n "$ac_tool_prefix"; then
36833 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36834 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
36835 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36837 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36838 echo $ECHO_N "(cached) $ECHO_C" >&6
36840 case $PKG_CONFIG in
36842 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36845 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36846 for as_dir
in $PATH
36849 test -z "$as_dir" && as_dir
=.
36850 for ac_exec_ext
in '' $ac_executable_extensions; do
36851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36852 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36863 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36864 if test -n "$PKG_CONFIG"; then
36865 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36866 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36868 { echo "$as_me:$LINENO: result: no" >&5
36869 echo "${ECHO_T}no" >&6; }
36874 if test -z "$ac_cv_path_PKG_CONFIG"; then
36875 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36876 # Extract the first word of "pkg-config", so it can be a program name with args.
36877 set dummy pkg
-config; ac_word
=$2
36878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36880 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36881 echo $ECHO_N "(cached) $ECHO_C" >&6
36883 case $ac_pt_PKG_CONFIG in
36885 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36889 for as_dir
in $PATH
36892 test -z "$as_dir" && as_dir
=.
36893 for ac_exec_ext
in '' $ac_executable_extensions; do
36894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36895 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36906 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
36907 if test -n "$ac_pt_PKG_CONFIG"; then
36908 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36909 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36911 { echo "$as_me:$LINENO: result: no" >&5
36912 echo "${ECHO_T}no" >&6; }
36915 if test "x$ac_pt_PKG_CONFIG" = x
; then
36918 case $cross_compiling:$ac_tool_warned in
36920 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36921 whose name does not start with the host triplet. If you think this
36922 configuration is useful to you, please write to autoconf@gnu.org." >&5
36923 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36924 whose name does not start with the host triplet. If you think this
36925 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36926 ac_tool_warned
=yes ;;
36928 PKG_CONFIG
=$ac_pt_PKG_CONFIG
36931 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
36935 if test -n "$PKG_CONFIG"; then
36936 _pkg_min_version
=0.9.0
36937 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36938 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36939 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36940 { echo "$as_me:$LINENO: result: yes" >&5
36941 echo "${ECHO_T}yes" >&6; }
36943 { echo "$as_me:$LINENO: result: no" >&5
36944 echo "${ECHO_T}no" >&6; }
36951 { echo "$as_me:$LINENO: checking for MesaGL" >&5
36952 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
36954 if test -n "$PKG_CONFIG"; then
36955 if test -n "$MesaGL_CFLAGS"; then
36956 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
36958 if test -n "$PKG_CONFIG" && \
36959 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36960 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36963 (exit $ac_status); }; then
36964 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36972 if test -n "$PKG_CONFIG"; then
36973 if test -n "$MesaGL_LIBS"; then
36974 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
36976 if test -n "$PKG_CONFIG" && \
36977 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36978 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36981 (exit $ac_status); }; then
36982 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36993 if test $pkg_failed = yes; then
36995 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36996 _pkg_short_errors_supported
=yes
36998 _pkg_short_errors_supported
=no
37000 if test $_pkg_short_errors_supported = yes; then
37001 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
37003 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
37005 # Put the nasty error message in config.log where it belongs
37006 echo "$MesaGL_PKG_ERRORS" >&5
37009 if test "x$ac_find_libraries" = "x"; then
37010 if test "xglEnable" != "x"; then
37011 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37012 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37013 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37014 echo $ECHO_N "(cached) $ECHO_C" >&6
37016 ac_check_lib_save_LIBS
=$LIBS
37017 LIBS
="-lMesaGL $LIBS"
37018 cat >conftest.
$ac_ext <<_ACEOF
37021 cat confdefs.h
>>conftest.
$ac_ext
37022 cat >>conftest.
$ac_ext <<_ACEOF
37023 /* end confdefs.h. */
37025 /* Override any GCC internal prototype to avoid an error.
37026 Use char because int might match the return type of a GCC
37027 builtin and then its argument prototype would still apply. */
37035 return glEnable ();
37040 rm -f conftest.
$ac_objext conftest
$ac_exeext
37041 if { (ac_try
="$ac_link"
37042 case "(($ac_try" in
37043 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37044 *) ac_try_echo=$ac_try;;
37046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37047 (eval "$ac_link") 2>conftest.er1
37049 grep -v '^ *+' conftest.er1 >conftest.err
37051 cat conftest.err >&5
37052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37053 (exit $ac_status); } && {
37054 test -z "$ac_c_werror_flag" ||
37055 test ! -s conftest.err
37056 } && test -s conftest$ac_exeext &&
37057 $as_test_x conftest$ac_exeext; then
37058 ac_cv_lib_MesaGL_glEnable=yes
37060 echo "$as_me: failed program was:" >&5
37061 sed 's/^/| /' conftest.$ac_ext >&5
37063 ac_cv_lib_MesaGL_glEnable=no
37066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37067 conftest$ac_exeext conftest.$ac_ext
37068 LIBS=$ac_check_lib_save_LIBS
37070 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37071 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37072 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37073 ac_find_libraries="std"
37079 if test "x$ac_find_libraries" = "x"; then
37080 { echo "$as_me:$LINENO: checking elsewhere" >&5
37081 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37084 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37086 for ac_extension in a so sl dylib dll.a; do
37087 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37088 ac_find_libraries=$ac_dir
37094 if test "x$ac_find_libraries" != "x"; then
37095 { echo "$as_me:$LINENO: result: yes" >&5
37096 echo "${ECHO_T}yes" >&6; }
37098 { echo "$as_me:$LINENO: result: no" >&5
37099 echo "${ECHO_T}no" >&6; }
37103 elif test $pkg_failed = untried; then
37105 if test "x$ac_find_libraries" = "x"; then
37106 if test "xglEnable" != "x"; then
37107 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37108 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37109 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37110 echo $ECHO_N "(cached) $ECHO_C" >&6
37112 ac_check_lib_save_LIBS=$LIBS
37113 LIBS="-lMesaGL $LIBS"
37114 cat >conftest.$ac_ext <<_ACEOF
37117 cat confdefs.h >>conftest.$ac_ext
37118 cat >>conftest.$ac_ext <<_ACEOF
37119 /* end confdefs.h. */
37121 /* Override any GCC internal prototype to avoid an error.
37122 Use char because int might match the return type of a GCC
37123 builtin and then its argument prototype would still apply. */
37131 return glEnable ();
37136 rm -f conftest.$ac_objext conftest$ac_exeext
37137 if { (ac_try="$ac_link"
37138 case "(($ac_try" in
37139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37140 *) ac_try_echo
=$ac_try;;
37142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37143 (eval "$ac_link") 2>conftest.er1
37145 grep -v '^ *+' conftest.er1
>conftest.err
37147 cat conftest.err
>&5
37148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37149 (exit $ac_status); } && {
37150 test -z "$ac_c_werror_flag" ||
37151 test ! -s conftest.err
37152 } && test -s conftest
$ac_exeext &&
37153 $as_test_x conftest
$ac_exeext; then
37154 ac_cv_lib_MesaGL_glEnable
=yes
37156 echo "$as_me: failed program was:" >&5
37157 sed 's/^/| /' conftest.
$ac_ext >&5
37159 ac_cv_lib_MesaGL_glEnable
=no
37162 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37163 conftest
$ac_exeext conftest.
$ac_ext
37164 LIBS
=$ac_check_lib_save_LIBS
37166 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37167 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37168 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37169 ac_find_libraries
="std"
37175 if test "x$ac_find_libraries" = "x"; then
37176 { echo "$as_me:$LINENO: checking elsewhere" >&5
37177 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37180 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
37182 for ac_extension
in a so sl dylib dll.a
; do
37183 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37184 ac_find_libraries
=$ac_dir
37190 if test "x$ac_find_libraries" != "x"; then
37191 { echo "$as_me:$LINENO: result: yes" >&5
37192 echo "${ECHO_T}yes" >&6; }
37194 { echo "$as_me:$LINENO: result: no" >&5
37195 echo "${ECHO_T}no" >&6; }
37200 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
37201 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
37202 { echo "$as_me:$LINENO: result: yes" >&5
37203 echo "${ECHO_T}yes" >&6; }
37205 ac_find_libraries
="std"
37207 eval ac_find_cflags
=\
$MesaGL_CFLAGS
37208 eval fl_libs
=\
$MesaGL_LIBS
37210 for fl_path
in $fl_libs
37212 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37213 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
37219 if test "$ac_find_libraries" != "" ; then
37220 if test "$ac_find_libraries" != "std" ; then
37222 if test "$ac_find_libraries" = "default location"; then
37225 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
37227 if test $result = 0; then
37230 ac_path_to_link
=" -L$ac_find_libraries"
37234 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37235 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
37238 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
37250 if test "x$OPENGL_LIBS" = "x"; then
37251 if test "$wxUSE_OPENGL" = "yes"; then
37252 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37253 echo "$as_me: error: OpenGL libraries not available" >&2;}
37254 { (exit 1); exit 1; }; }
37256 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37257 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37263 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37264 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37268 if test "$wxUSE_OPENGL" = "auto"; then
37272 if test "$wxUSE_OPENGL" = "yes"; then
37274 cat >>confdefs.h
<<\_ACEOF
37275 #define wxUSE_OPENGL 1
37278 cat >>confdefs.h
<<\_ACEOF
37279 #define wxUSE_GLCANVAS 1
37282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37287 if test -n "$TOOLKIT" ; then
37288 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37293 if test "$wxUSE_SHARED" = "yes"; then
37297 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37298 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37303 if test "$wxUSE_SHARED" = "yes"; then
37307 *-*-cygwin* | *-*-mingw* )
37308 wx_cv_version_script
=no
37312 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37313 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37314 if test "${wx_cv_version_script+set}" = set; then
37315 echo $ECHO_N "(cached) $ECHO_C" >&6
37318 echo "VER_1 { *; };" >conftest.sym
37319 echo "int main() { return 0; }" >conftest.cpp
37322 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37323 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37325 (eval $ac_try) 2>&5
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); }; } ; then
37329 if test -s conftest.stderr
; then
37330 wx_cv_version_script
=no
37332 wx_cv_version_script
=yes
37335 wx_cv_version_script
=no
37338 if test $wx_cv_version_script = yes
37340 echo "struct B { virtual ~B() { } }; \
37341 struct D : public B { }; \
37342 void F() { D d; }" > conftest.cpp
37345 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37346 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37348 (eval $ac_try) 2>&5
37350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37351 (exit $ac_status); }; } &&
37353 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37354 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37356 (eval $ac_try) 2>&5
37358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37359 (exit $ac_status); }; }
37362 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37363 -Wl,--version-script,conftest.sym conftest2.output 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); }; }
37370 wx_cv_version_script
=yes
37372 wx_cv_version_script
=no
37377 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37378 rm -f conftest1.output conftest2.output conftest3.output
37381 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37382 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37384 if test $wx_cv_version_script = yes ; then
37385 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37391 if test "$wxUSE_VISIBILITY" != "no"; then
37394 if test -n "$GCC"; then
37395 CFLAGS_VISIBILITY
="-fvisibility=hidden"
37396 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
37397 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37398 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37399 if test "${wx_cv_cc_visibility+set}" = set; then
37400 echo $ECHO_N "(cached) $ECHO_C" >&6
37403 wx_save_CXXFLAGS
="$CXXFLAGS"
37404 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37406 ac_cpp
='$CXXCPP $CPPFLAGS'
37407 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37408 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37409 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37411 cat >conftest.
$ac_ext <<_ACEOF
37414 cat confdefs.h
>>conftest.
$ac_ext
37415 cat >>conftest.
$ac_ext <<_ACEOF
37416 /* end confdefs.h. */
37418 /* we need gcc >= 4.0, older versions with visibility support
37419 didn't have class visibility: */
37420 #if defined(__GNUC__) && __GNUC__ < 4
37421 error this gcc is too old;
37424 /* visibility only makes sense for ELF shared libs: */
37425 #if !defined(__ELF__) && !defined(__APPLE__)
37426 error this platform has no visibility;
37429 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37430 #if defined(__clang__)
37431 clang compiler is still broken w.r.t. visibility;
37434 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37435 extern __attribute__((__visibility__("default"))) int exportedvar;
37436 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37437 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37438 class __attribute__((__visibility__("default"))) Foo {
37450 rm -f conftest.
$ac_objext
37451 if { (ac_try
="$ac_compile"
37452 case "(($ac_try" in
37453 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37454 *) ac_try_echo=$ac_try;;
37456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37457 (eval "$ac_compile") 2>conftest.er1
37459 grep -v '^ *+' conftest.er1 >conftest.err
37461 cat conftest.err >&5
37462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37463 (exit $ac_status); } && {
37464 test -z "$ac_cxx_werror_flag" ||
37465 test ! -s conftest.err
37466 } && test -s conftest.$ac_objext; then
37467 wx_cv_cc_visibility=yes
37469 echo "$as_me: failed program was:" >&5
37470 sed 's/^/| /' conftest.$ac_ext >&5
37472 wx_cv_cc_visibility=no
37475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37477 ac_cpp='$CPP $CPPFLAGS'
37478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37482 CXXFLAGS="$wx_save_CXXFLAGS"
37485 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37486 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37487 if test $wx_cv_cc_visibility = yes; then
37488 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37489 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37490 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37491 echo $ECHO_N "(cached) $ECHO_C" >&6
37494 wx_save_CXXFLAGS="$CXXFLAGS"
37495 wx_save_LDFLAGS="$LDFLAGS"
37496 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37497 LDFLAGS="$LDFLAGS -shared -fPIC"
37499 ac_cpp='$CXXCPP $CPPFLAGS'
37500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37504 cat >conftest.$ac_ext <<_ACEOF
37507 cat confdefs.h >>conftest.$ac_ext
37508 cat >>conftest.$ac_ext <<_ACEOF
37509 /* end confdefs.h. */
37517 std::string s("hello");
37524 rm -f conftest.$ac_objext conftest$ac_exeext
37525 if { (ac_try="$ac_link"
37526 case "(($ac_try" in
37527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37528 *) ac_try_echo
=$ac_try;;
37530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37531 (eval "$ac_link") 2>conftest.er1
37533 grep -v '^ *+' conftest.er1
>conftest.err
37535 cat conftest.err
>&5
37536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37537 (exit $ac_status); } && {
37538 test -z "$ac_cxx_werror_flag" ||
37539 test ! -s conftest.err
37540 } && test -s conftest
$ac_exeext &&
37541 $as_test_x conftest
$ac_exeext; then
37542 wx_cv_cc_broken_libstdcxx_visibility
=no
37544 echo "$as_me: failed program was:" >&5
37545 sed 's/^/| /' conftest.
$ac_ext >&5
37547 wx_cv_cc_broken_libstdcxx_visibility
=yes
37550 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37551 conftest
$ac_exeext conftest.
$ac_ext
37553 ac_cpp
='$CPP $CPPFLAGS'
37554 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37555 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37556 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37558 CXXFLAGS
="$wx_save_CXXFLAGS"
37559 LDFLAGS
="$wx_save_LDFLAGS"
37562 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37563 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37565 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37566 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37567 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37568 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37569 echo $ECHO_N "(cached) $ECHO_C" >&6
37573 ac_cpp
='$CXXCPP $CPPFLAGS'
37574 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37575 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37576 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37578 cat >conftest.
$ac_ext <<_ACEOF
37581 cat confdefs.h
>>conftest.
$ac_ext
37582 cat >>conftest.
$ac_ext <<_ACEOF
37583 /* end confdefs.h. */
37585 #pragma GCC visibility push(default)
37587 #pragma GCC visibility pop
37593 std::string s("hello");
37600 rm -f conftest.
$ac_objext conftest
$ac_exeext
37601 if { (ac_try
="$ac_link"
37602 case "(($ac_try" in
37603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37604 *) ac_try_echo=$ac_try;;
37606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37607 (eval "$ac_link") 2>conftest.er1
37609 grep -v '^ *+' conftest.er1 >conftest.err
37611 cat conftest.err >&5
37612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37613 (exit $ac_status); } && {
37614 test -z "$ac_cxx_werror_flag" ||
37615 test ! -s conftest.err
37616 } && test -s conftest$ac_exeext &&
37617 $as_test_x conftest$ac_exeext; then
37618 wx_cv_cc_visibility_workaround=no
37620 echo "$as_me: failed program was:" >&5
37621 sed 's/^/| /' conftest.$ac_ext >&5
37623 wx_cv_cc_visibility_workaround=yes
37626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37627 conftest$ac_exeext conftest.$ac_ext
37629 ac_cpp='$CPP $CPPFLAGS'
37630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37637 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37638 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37640 if test $wx_cv_cc_visibility_workaround = no; then
37641 wx_cv_cc_visibility=no
37646 if test $wx_cv_cc_visibility = yes; then
37647 cat >>confdefs.h <<\_ACEOF
37648 #define HAVE_VISIBILITY 1
37651 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37652 cat >>confdefs.h <<\_ACEOF
37653 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37658 CFLAGS_VISIBILITY=""
37659 CXXFLAGS_VISIBILITY=""
37667 if test "x$SUNCXX" = xyes; then
37668 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
37669 WXCONFIG_RPATH="-R\$libdir"
37672 *-*-linux* | *-*-gnu* )
37673 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37674 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37679 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
37681 saveLdflags="$LDFLAGS"
37682 LDFLAGS="$saveLdflags -Wl,-rpath,/"
37683 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37684 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37685 cat >conftest.$ac_ext <<_ACEOF
37688 cat confdefs.h >>conftest.$ac_ext
37689 cat >>conftest.$ac_ext <<_ACEOF
37690 /* end confdefs.h. */
37700 rm -f conftest.$ac_objext conftest$ac_exeext
37701 if { (ac_try="$ac_link"
37702 case "(($ac_try" in
37703 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37704 *) ac_try_echo
=$ac_try;;
37706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37707 (eval "$ac_link") 2>conftest.er1
37709 grep -v '^ *+' conftest.er1
>conftest.err
37711 cat conftest.err
>&5
37712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37713 (exit $ac_status); } && {
37714 test -z "$ac_c_werror_flag" ||
37715 test ! -s conftest.err
37716 } && test -s conftest
$ac_exeext &&
37717 $as_test_x conftest
$ac_exeext; then
37719 { echo "$as_me:$LINENO: result: yes" >&5
37720 echo "${ECHO_T}yes" >&6; }
37721 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
37722 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
37725 echo "$as_me: failed program was:" >&5
37726 sed 's/^/| /' conftest.
$ac_ext >&5
37729 { echo "$as_me:$LINENO: result: no" >&5
37730 echo "${ECHO_T}no" >&6; }
37731 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37732 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37733 LDFLAGS
="$saveLdflags -Wl,-R,/"
37734 cat >conftest.
$ac_ext <<_ACEOF
37737 cat confdefs.h
>>conftest.
$ac_ext
37738 cat >>conftest.
$ac_ext <<_ACEOF
37739 /* end confdefs.h. */
37749 rm -f conftest.
$ac_objext conftest
$ac_exeext
37750 if { (ac_try
="$ac_link"
37751 case "(($ac_try" in
37752 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37753 *) ac_try_echo=$ac_try;;
37755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37756 (eval "$ac_link") 2>conftest.er1
37758 grep -v '^ *+' conftest.er1 >conftest.err
37760 cat conftest.err >&5
37761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37762 (exit $ac_status); } && {
37763 test -z "$ac_c_werror_flag" ||
37764 test ! -s conftest.err
37765 } && test -s conftest$ac_exeext &&
37766 $as_test_x conftest$ac_exeext; then
37768 { echo "$as_me:$LINENO: result: yes" >&5
37769 echo "${ECHO_T}yes" >&6; }
37770 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
37771 WXCONFIG_RPATH="-Wl,-R,\$libdir"
37774 echo "$as_me: failed program was:" >&5
37775 sed 's/^/| /' conftest.$ac_ext >&5
37778 { echo "$as_me:$LINENO: result: no" >&5
37779 echo "${ECHO_T}no" >&6; }
37783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37784 conftest$ac_exeext conftest.$ac_ext
37788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37789 conftest$ac_exeext conftest.$ac_ext
37790 LDFLAGS="$saveLdflags"
37794 install_name_tool=`which ${HOST_PREFIX}install_name_tool
`
37795 if test "$install_name_tool" -a -x "$install_name_tool"; then
37796 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
37797 cat <<EOF >change-install-names
37799 libnames=\`cd \
${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
37800 for i in \${libnames} ; do
37801 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
37802 for dep in \${libnames} ; do
37803 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
37807 chmod +x change-install-names
37808 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
37811 HEADER_PAD_OPTION="-headerpad_max_install_names"
37814 *-*-cygwin* | *-*-mingw32* )
37818 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
37819 WXCONFIG_RPATH="-Wl,+b,\$libdir"
37825 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
37827 if test $wxUSE_RPATH = "no"; then
37828 SAMPLES_RPATH_FLAG=''
37829 DYLIB_PATH_POSTLINK=''
37837 config_linkage_component="-static"
37844 lib_unicode_suffix=
37846 if test "$wxUSE_UNICODE" = "yes"; then
37847 lib_unicode_suffix=u
37848 WX_CHARTYPE="unicode"
37852 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
37853 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
37856 if test "$wxUSE_DEBUG_INFO" = "yes"; then
37860 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
37862 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37864 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
37867 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
37868 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37870 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37872 if test "${TOOLKIT_DIR}" = "os2"; then
37873 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37875 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37880 if test "$wxUSE_OLD_COCOA" = 1; then
37883 ac_cpp='$CPP $CPPFLAGS'
37884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37890 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
37891 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
37892 cat >conftest.$ac_ext <<_ACEOF
37895 cat confdefs.h >>conftest.$ac_ext
37896 cat >>conftest.$ac_ext <<_ACEOF
37897 /* end confdefs.h. */
37898 #include <AppKit/NSEvent.h>
37899 #include <CoreFoundation/CoreFoundation.h>
37909 rm -f conftest.$ac_objext
37910 if { (ac_try="$ac_compile"
37911 case "(($ac_try" in
37912 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37913 *) ac_try_echo
=$ac_try;;
37915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37916 (eval "$ac_compile") 2>conftest.er1
37918 grep -v '^ *+' conftest.er1
>conftest.err
37920 cat conftest.err
>&5
37921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37922 (exit $ac_status); } && {
37923 test -z "$ac_c_werror_flag" ||
37924 test ! -s conftest.err
37925 } && test -s conftest.
$ac_objext; then
37926 { echo "$as_me:$LINENO: result: no" >&5
37927 echo "${ECHO_T}no" >&6; }
37929 echo "$as_me: failed program was:" >&5
37930 sed 's/^/| /' conftest.
$ac_ext >&5
37932 { echo "$as_me:$LINENO: result: yes" >&5
37933 echo "${ECHO_T}yes" >&6; }
37934 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
37935 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
37936 cat >conftest.
$ac_ext <<_ACEOF
37939 cat confdefs.h
>>conftest.
$ac_ext
37940 cat >>conftest.
$ac_ext <<_ACEOF
37941 /* end confdefs.h. */
37942 #define __Point__ 1
37943 #include <AppKit/NSEvent.h>
37944 #include <CoreFoundation/CoreFoundation.h>
37954 rm -f conftest.
$ac_objext
37955 if { (ac_try
="$ac_compile"
37956 case "(($ac_try" in
37957 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37958 *) ac_try_echo=$ac_try;;
37960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37961 (eval "$ac_compile") 2>conftest.er1
37963 grep -v '^ *+' conftest.er1 >conftest.err
37965 cat conftest.err >&5
37966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37967 (exit $ac_status); } && {
37968 test -z "$ac_c_werror_flag" ||
37969 test ! -s conftest.err
37970 } && test -s conftest.$ac_objext; then
37971 { echo "$as_me:$LINENO: result: yes" >&5
37972 echo "${ECHO_T}yes" >&6; }
37973 cat >>confdefs.h <<\_ACEOF
37974 #define __Point__ 1
37979 echo "$as_me: failed program was:" >&5
37980 sed 's/^/| /' conftest.$ac_ext >&5
37982 { { echo "$as_me:$LINENO: error: no
37983 See \`config.log
' for more details." >&5
37984 echo "$as_me: error: no
37985 See \`config.log' for more details.
" >&2;}
37986 { (exit 1); exit 1; }; }
37990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37996 ac_cpp='$CPP $CPPFLAGS'
37997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38004 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
38005 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
38006 if test "${ac_cv_type_mode_t+set}" = set; then
38007 echo $ECHO_N "(cached
) $ECHO_C" >&6
38009 cat >conftest.$ac_ext <<_ACEOF
38012 cat confdefs.h >>conftest.$ac_ext
38013 cat >>conftest.$ac_ext <<_ACEOF
38014 /* end confdefs.h. */
38015 $ac_includes_default
38016 typedef mode_t ac__type_new_;
38020 if ((ac__type_new_ *) 0)
38022 if (sizeof (ac__type_new_))
38028 rm -f conftest.$ac_objext
38029 if { (ac_try="$ac_compile"
38030 case "(($ac_try" in
38031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38032 *) ac_try_echo=$ac_try;;
38034 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38035 (eval "$ac_compile") 2>conftest.er1
38037 grep -v '^ *+' conftest.er1 >conftest.err
38039 cat conftest.err >&5
38040 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38041 (exit $ac_status); } && {
38042 test -z "$ac_c_werror_flag" ||
38043 test ! -s conftest.err
38044 } && test -s conftest.$ac_objext; then
38045 ac_cv_type_mode_t=yes
38047 echo "$as_me: failed program was
:" >&5
38048 sed 's/^/| /' conftest.$ac_ext >&5
38050 ac_cv_type_mode_t=no
38053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
38056 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38057 if test $ac_cv_type_mode_t = yes; then
38061 cat >>confdefs.h <<_ACEOF
38067 { echo "$as_me:$LINENO: checking
for off_t
" >&5
38068 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
38069 if test "${ac_cv_type_off_t+set}" = set; then
38070 echo $ECHO_N "(cached
) $ECHO_C" >&6
38072 cat >conftest.$ac_ext <<_ACEOF
38075 cat confdefs.h >>conftest.$ac_ext
38076 cat >>conftest.$ac_ext <<_ACEOF
38077 /* end confdefs.h. */
38078 $ac_includes_default
38079 typedef off_t ac__type_new_;
38083 if ((ac__type_new_ *) 0)
38085 if (sizeof (ac__type_new_))
38091 rm -f conftest.$ac_objext
38092 if { (ac_try="$ac_compile"
38093 case "(($ac_try" in
38094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38095 *) ac_try_echo=$ac_try;;
38097 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38098 (eval "$ac_compile") 2>conftest.er1
38100 grep -v '^ *+' conftest.er1 >conftest.err
38102 cat conftest.err >&5
38103 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38104 (exit $ac_status); } && {
38105 test -z "$ac_c_werror_flag" ||
38106 test ! -s conftest.err
38107 } && test -s conftest.$ac_objext; then
38108 ac_cv_type_off_t=yes
38110 echo "$as_me: failed program was
:" >&5
38111 sed 's/^/| /' conftest.$ac_ext >&5
38113 ac_cv_type_off_t=no
38116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38118 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
38119 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38120 if test $ac_cv_type_off_t = yes; then
38124 cat >>confdefs.h <<_ACEOF
38125 #define off_t long int
38130 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
38131 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
38132 if test "${ac_cv_type_pid_t+set}" = set; then
38133 echo $ECHO_N "(cached
) $ECHO_C" >&6
38135 cat >conftest.$ac_ext <<_ACEOF
38138 cat confdefs.h >>conftest.$ac_ext
38139 cat >>conftest.$ac_ext <<_ACEOF
38140 /* end confdefs.h. */
38141 $ac_includes_default
38142 typedef pid_t ac__type_new_;
38146 if ((ac__type_new_ *) 0)
38148 if (sizeof (ac__type_new_))
38154 rm -f conftest.$ac_objext
38155 if { (ac_try="$ac_compile"
38156 case "(($ac_try" in
38157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38158 *) ac_try_echo=$ac_try;;
38160 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38161 (eval "$ac_compile") 2>conftest.er1
38163 grep -v '^ *+' conftest.er1 >conftest.err
38165 cat conftest.err >&5
38166 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38167 (exit $ac_status); } && {
38168 test -z "$ac_c_werror_flag" ||
38169 test ! -s conftest.err
38170 } && test -s conftest.$ac_objext; then
38171 ac_cv_type_pid_t=yes
38173 echo "$as_me: failed program was
:" >&5
38174 sed 's/^/| /' conftest.$ac_ext >&5
38176 ac_cv_type_pid_t=no
38179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38181 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
38182 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38183 if test $ac_cv_type_pid_t = yes; then
38187 cat >>confdefs.h <<_ACEOF
38193 { echo "$as_me:$LINENO: checking
for size_t
" >&5
38194 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
38195 if test "${ac_cv_type_size_t+set}" = set; then
38196 echo $ECHO_N "(cached
) $ECHO_C" >&6
38198 cat >conftest.$ac_ext <<_ACEOF
38201 cat confdefs.h >>conftest.$ac_ext
38202 cat >>conftest.$ac_ext <<_ACEOF
38203 /* end confdefs.h. */
38204 $ac_includes_default
38205 typedef size_t ac__type_new_;
38209 if ((ac__type_new_ *) 0)
38211 if (sizeof (ac__type_new_))
38217 rm -f conftest.$ac_objext
38218 if { (ac_try="$ac_compile"
38219 case "(($ac_try" in
38220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38221 *) ac_try_echo=$ac_try;;
38223 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38224 (eval "$ac_compile") 2>conftest.er1
38226 grep -v '^ *+' conftest.er1 >conftest.err
38228 cat conftest.err >&5
38229 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38230 (exit $ac_status); } && {
38231 test -z "$ac_c_werror_flag" ||
38232 test ! -s conftest.err
38233 } && test -s conftest.$ac_objext; then
38234 ac_cv_type_size_t=yes
38236 echo "$as_me: failed program was
:" >&5
38237 sed 's/^/| /' conftest.$ac_ext >&5
38239 ac_cv_type_size_t=no
38242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38244 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
38245 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38246 if test $ac_cv_type_size_t = yes; then
38250 cat >>confdefs.h <<_ACEOF
38251 #define size_t unsigned int
38257 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
38258 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
38259 if test "${ac_cv_type_ssize_t+set}" = set; then
38260 echo $ECHO_N "(cached
) $ECHO_C" >&6
38262 cat >conftest.$ac_ext <<_ACEOF
38265 cat confdefs.h >>conftest.$ac_ext
38266 cat >>conftest.$ac_ext <<_ACEOF
38267 /* end confdefs.h. */
38268 $ac_includes_default
38269 typedef ssize_t ac__type_new_;
38273 if ((ac__type_new_ *) 0)
38275 if (sizeof (ac__type_new_))
38281 rm -f conftest.$ac_objext
38282 if { (ac_try="$ac_compile"
38283 case "(($ac_try" in
38284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38285 *) ac_try_echo=$ac_try;;
38287 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38288 (eval "$ac_compile") 2>conftest.er1
38290 grep -v '^ *+' conftest.er1 >conftest.err
38292 cat conftest.err >&5
38293 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38294 (exit $ac_status); } && {
38295 test -z "$ac_c_werror_flag" ||
38296 test ! -s conftest.err
38297 } && test -s conftest.$ac_objext; then
38298 ac_cv_type_ssize_t=yes
38300 echo "$as_me: failed program was
:" >&5
38301 sed 's/^/| /' conftest.$ac_ext >&5
38303 ac_cv_type_ssize_t=no
38306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38308 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
38309 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38310 if test $ac_cv_type_ssize_t = yes; then
38312 cat >>confdefs.h <<_ACEOF
38313 #define HAVE_SSIZE_T 1
38321 ac_cpp='$CXXCPP $CPPFLAGS'
38322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38325 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
38326 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
38327 if test "${wx_cv_size_t_is_uint+set}" = set; then
38328 echo $ECHO_N "(cached
) $ECHO_C" >&6
38331 cat >conftest.$ac_ext <<_ACEOF
38334 cat confdefs.h >>conftest.$ac_ext
38335 cat >>conftest.$ac_ext <<_ACEOF
38336 /* end confdefs.h. */
38337 #include <stddef.h>
38344 struct Foo { void foo(size_t); void foo(unsigned int); };
38352 rm -f conftest.$ac_objext
38353 if { (ac_try="$ac_compile"
38354 case "(($ac_try" in
38355 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38356 *) ac_try_echo=$ac_try;;
38358 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38359 (eval "$ac_compile") 2>conftest.er1
38361 grep -v '^ *+' conftest.er1 >conftest.err
38363 cat conftest.err >&5
38364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38365 (exit $ac_status); } && {
38366 test -z "$ac_cxx_werror_flag" ||
38367 test ! -s conftest.err
38368 } && test -s conftest.$ac_objext; then
38369 wx_cv_size_t_is_uint=no
38371 echo "$as_me: failed program was
:" >&5
38372 sed 's/^/| /' conftest.$ac_ext >&5
38374 wx_cv_size_t_is_uint=yes
38378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38382 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
38383 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38385 if test "$wx_cv_size_t_is_uint" = "yes"; then
38386 cat >>confdefs.h <<\_ACEOF
38387 #define wxSIZE_T_IS_UINT 1
38391 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
38392 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
38393 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38394 echo $ECHO_N "(cached
) $ECHO_C" >&6
38396 cat >conftest.$ac_ext <<_ACEOF
38399 cat confdefs.h >>conftest.$ac_ext
38400 cat >>conftest.$ac_ext <<_ACEOF
38401 /* end confdefs.h. */
38402 #include <stddef.h>
38409 struct Foo { void foo(size_t); void foo(unsigned long); };
38417 rm -f conftest.$ac_objext
38418 if { (ac_try="$ac_compile"
38419 case "(($ac_try" in
38420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38421 *) ac_try_echo=$ac_try;;
38423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38424 (eval "$ac_compile") 2>conftest.er1
38426 grep -v '^ *+' conftest.er1 >conftest.err
38428 cat conftest.err >&5
38429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38430 (exit $ac_status); } && {
38431 test -z "$ac_cxx_werror_flag" ||
38432 test ! -s conftest.err
38433 } && test -s conftest.$ac_objext; then
38434 wx_cv_size_t_is_ulong=no
38436 echo "$as_me: failed program was
:" >&5
38437 sed 's/^/| /' conftest.$ac_ext >&5
38439 wx_cv_size_t_is_ulong=yes
38443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38446 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
38447 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38449 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38450 cat >>confdefs.h <<\_ACEOF
38451 #define wxSIZE_T_IS_ULONG 1
38457 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
38458 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
38459 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38460 echo $ECHO_N "(cached
) $ECHO_C" >&6
38462 cat >conftest.$ac_ext <<_ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h. */
38475 struct Foo { void foo(wchar_t);
38476 void foo(unsigned short);
38477 void foo(unsigned int);
38478 void foo(unsigned long); };
38486 rm -f conftest.$ac_objext
38487 if { (ac_try="$ac_compile"
38488 case "(($ac_try" in
38489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38490 *) ac_try_echo=$ac_try;;
38492 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38493 (eval "$ac_compile") 2>conftest.er1
38495 grep -v '^ *+' conftest.er1 >conftest.err
38497 cat conftest.err >&5
38498 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38499 (exit $ac_status); } && {
38500 test -z "$ac_cxx_werror_flag" ||
38501 test ! -s conftest.err
38502 } && test -s conftest.$ac_objext; then
38503 wx_cv_wchar_t_is_separate_type=yes
38505 echo "$as_me: failed program was
:" >&5
38506 sed 's/^/| /' conftest.$ac_ext >&5
38508 wx_cv_wchar_t_is_separate_type=no
38512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38515 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
38516 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38518 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38519 cat >>confdefs.h <<\_ACEOF
38520 #define wxWCHAR_T_IS_REAL_TYPE 1
38524 cat >>confdefs.h <<\_ACEOF
38525 #define wxWCHAR_T_IS_REAL_TYPE 0
38531 ac_cpp='$CPP $CPPFLAGS'
38532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38537 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
38538 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
38539 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38540 echo $ECHO_N "(cached
) $ECHO_C" >&6
38543 cat >conftest.$ac_ext <<_ACEOF
38546 cat confdefs.h >>conftest.$ac_ext
38547 cat >>conftest.$ac_ext <<_ACEOF
38548 /* end confdefs.h. */
38562 rm -f conftest.$ac_objext
38563 if { (ac_try="$ac_compile"
38564 case "(($ac_try" in
38565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38566 *) ac_try_echo=$ac_try;;
38568 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38569 (eval "$ac_compile") 2>conftest.er1
38571 grep -v '^ *+' conftest.er1 >conftest.err
38573 cat conftest.err >&5
38574 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38575 (exit $ac_status); } && {
38576 test -z "$ac_c_werror_flag" ||
38577 test ! -s conftest.err
38578 } && test -s conftest.$ac_objext; then
38580 wx_cv_struct_pw_gecos=yes
38583 echo "$as_me: failed program was
:" >&5
38584 sed 's/^/| /' conftest.$ac_ext >&5
38587 wx_cv_struct_pw_gecos=no
38592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38596 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
38597 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38599 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38600 cat >>confdefs.h <<\_ACEOF
38601 #define HAVE_PW_GECOS 1
38610 for ac_func in wcslen
38612 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38613 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38614 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38615 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38616 echo $ECHO_N "(cached
) $ECHO_C" >&6
38618 cat >conftest.$ac_ext <<_ACEOF
38621 cat confdefs.h >>conftest.$ac_ext
38622 cat >>conftest.$ac_ext <<_ACEOF
38623 /* end confdefs.h. */
38624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38626 #define $ac_func innocuous_$ac_func
38628 /* System header to define __stub macros and hopefully few prototypes,
38629 which can conflict with char $ac_func (); below.
38630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38631 <limits.h> exists even on freestanding compilers. */
38634 # include <limits.h>
38636 # include <assert.h>
38641 /* Override any GCC internal prototype to avoid an error.
38642 Use char because int might match the return type of a GCC
38643 builtin and then its argument prototype would still apply. */
38648 /* The GNU C library defines this for functions which it implements
38649 to always fail with ENOSYS. Some functions are actually named
38650 something starting with __ and the normal name is an alias. */
38651 #if defined __stub_$ac_func || defined __stub___$ac_func
38658 return $ac_func ();
38663 rm -f conftest.$ac_objext conftest$ac_exeext
38664 if { (ac_try="$ac_link"
38665 case "(($ac_try" in
38666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38667 *) ac_try_echo=$ac_try;;
38669 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38670 (eval "$ac_link") 2>conftest.er1
38672 grep -v '^ *+' conftest.er1 >conftest.err
38674 cat conftest.err >&5
38675 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38676 (exit $ac_status); } && {
38677 test -z "$ac_c_werror_flag" ||
38678 test ! -s conftest.err
38679 } && test -s conftest$ac_exeext &&
38680 $as_test_x conftest$ac_exeext; then
38681 eval "$as_ac_var=yes"
38683 echo "$as_me: failed program was
:" >&5
38684 sed 's/^/| /' conftest.$ac_ext >&5
38686 eval "$as_ac_var=no
"
38689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38690 conftest$ac_exeext conftest.$ac_ext
38692 ac_res=`eval echo '${'$as_ac_var'}'`
38693 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38694 echo "${ECHO_T}$ac_res" >&6; }
38695 if test `eval echo '${'$as_ac_var'}'` = yes; then
38696 cat >>confdefs.h <<_ACEOF
38697 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38704 if test "$WCSLEN_FOUND" = 0; then
38705 if test "$TOOLKIT" = "MSW
"; then
38706 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
38707 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
38708 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38709 echo $ECHO_N "(cached
) $ECHO_C" >&6
38711 ac_check_lib_save_LIBS=$LIBS
38712 LIBS="-lmsvcrt $LIBS"
38713 cat >conftest.$ac_ext <<_ACEOF
38716 cat confdefs.h >>conftest.$ac_ext
38717 cat >>conftest.$ac_ext <<_ACEOF
38718 /* end confdefs.h. */
38720 /* Override any GCC internal prototype to avoid an error.
38721 Use char because int might match the return type of a GCC
38722 builtin and then its argument prototype would still apply. */
38735 rm -f conftest.$ac_objext conftest$ac_exeext
38736 if { (ac_try="$ac_link"
38737 case "(($ac_try" in
38738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38739 *) ac_try_echo=$ac_try;;
38741 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38742 (eval "$ac_link") 2>conftest.er1
38744 grep -v '^ *+' conftest.er1 >conftest.err
38746 cat conftest.err >&5
38747 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38748 (exit $ac_status); } && {
38749 test -z "$ac_c_werror_flag" ||
38750 test ! -s conftest.err
38751 } && test -s conftest$ac_exeext &&
38752 $as_test_x conftest$ac_exeext; then
38753 ac_cv_lib_msvcrt_wcslen=yes
38755 echo "$as_me: failed program was
:" >&5
38756 sed 's/^/| /' conftest.$ac_ext >&5
38758 ac_cv_lib_msvcrt_wcslen=no
38761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38762 conftest$ac_exeext conftest.$ac_ext
38763 LIBS=$ac_check_lib_save_LIBS
38765 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
38766 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38767 if test $ac_cv_lib_msvcrt_wcslen = yes; then
38772 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
38773 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
38774 if test "${ac_cv_lib_w_wcslen+set}" = set; then
38775 echo $ECHO_N "(cached
) $ECHO_C" >&6
38777 ac_check_lib_save_LIBS=$LIBS
38779 cat >conftest.$ac_ext <<_ACEOF
38782 cat confdefs.h >>conftest.$ac_ext
38783 cat >>conftest.$ac_ext <<_ACEOF
38784 /* end confdefs.h. */
38786 /* Override any GCC internal prototype to avoid an error.
38787 Use char because int might match the return type of a GCC
38788 builtin and then its argument prototype would still apply. */
38801 rm -f conftest.$ac_objext conftest$ac_exeext
38802 if { (ac_try="$ac_link"
38803 case "(($ac_try" in
38804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38805 *) ac_try_echo=$ac_try;;
38807 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38808 (eval "$ac_link") 2>conftest.er1
38810 grep -v '^ *+' conftest.er1 >conftest.err
38812 cat conftest.err >&5
38813 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38814 (exit $ac_status); } && {
38815 test -z "$ac_c_werror_flag" ||
38816 test ! -s conftest.err
38817 } && test -s conftest$ac_exeext &&
38818 $as_test_x conftest$ac_exeext; then
38819 ac_cv_lib_w_wcslen=yes
38821 echo "$as_me: failed program was
:" >&5
38822 sed 's/^/| /' conftest.$ac_ext >&5
38824 ac_cv_lib_w_wcslen=no
38827 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38828 conftest$ac_exeext conftest.$ac_ext
38829 LIBS=$ac_check_lib_save_LIBS
38831 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
38832 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
38833 if test $ac_cv_lib_w_wcslen = yes; then
38843 if test "$WCSLEN_FOUND" = 1; then
38844 cat >>confdefs.h <<\_ACEOF
38845 #define HAVE_WCSLEN 1
38856 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
38858 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38859 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38860 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38861 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38862 echo $ECHO_N "(cached
) $ECHO_C" >&6
38864 cat >conftest.$ac_ext <<_ACEOF
38867 cat confdefs.h >>conftest.$ac_ext
38868 cat >>conftest.$ac_ext <<_ACEOF
38869 /* end confdefs.h. */
38870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38872 #define $ac_func innocuous_$ac_func
38874 /* System header to define __stub macros and hopefully few prototypes,
38875 which can conflict with char $ac_func (); below.
38876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38877 <limits.h> exists even on freestanding compilers. */
38880 # include <limits.h>
38882 # include <assert.h>
38887 /* Override any GCC internal prototype to avoid an error.
38888 Use char because int might match the return type of a GCC
38889 builtin and then its argument prototype would still apply. */
38894 /* The GNU C library defines this for functions which it implements
38895 to always fail with ENOSYS. Some functions are actually named
38896 something starting with __ and the normal name is an alias. */
38897 #if defined __stub_$ac_func || defined __stub___$ac_func
38904 return $ac_func ();
38909 rm -f conftest.$ac_objext conftest$ac_exeext
38910 if { (ac_try="$ac_link"
38911 case "(($ac_try" in
38912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38913 *) ac_try_echo=$ac_try;;
38915 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38916 (eval "$ac_link") 2>conftest.er1
38918 grep -v '^ *+' conftest.er1 >conftest.err
38920 cat conftest.err >&5
38921 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38922 (exit $ac_status); } && {
38923 test -z "$ac_c_werror_flag" ||
38924 test ! -s conftest.err
38925 } && test -s conftest$ac_exeext &&
38926 $as_test_x conftest$ac_exeext; then
38927 eval "$as_ac_var=yes"
38929 echo "$as_me: failed program was
:" >&5
38930 sed 's/^/| /' conftest.$ac_ext >&5
38932 eval "$as_ac_var=no
"
38935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38936 conftest$ac_exeext conftest.$ac_ext
38938 ac_res=`eval echo '${'$as_ac_var'}'`
38939 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38940 echo "${ECHO_T}$ac_res" >&6; }
38941 if test `eval echo '${'$as_ac_var'}'` = yes; then
38942 cat >>confdefs.h <<_ACEOF
38943 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38950 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
38951 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
38954 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
38955 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
38956 if test "${ac_cv_type_mbstate_t+set}" = set; then
38957 echo $ECHO_N "(cached
) $ECHO_C" >&6
38959 cat >conftest.$ac_ext <<_ACEOF
38962 cat confdefs.h >>conftest.$ac_ext
38963 cat >>conftest.$ac_ext <<_ACEOF
38964 /* end confdefs.h. */
38967 typedef mbstate_t ac__type_new_;
38971 if ((ac__type_new_ *) 0)
38973 if (sizeof (ac__type_new_))
38979 rm -f conftest.$ac_objext
38980 if { (ac_try="$ac_compile"
38981 case "(($ac_try" in
38982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38983 *) ac_try_echo=$ac_try;;
38985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38986 (eval "$ac_compile") 2>conftest.er1
38988 grep -v '^ *+' conftest.er1 >conftest.err
38990 cat conftest.err >&5
38991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38992 (exit $ac_status); } && {
38993 test -z "$ac_c_werror_flag" ||
38994 test ! -s conftest.err
38995 } && test -s conftest.$ac_objext; then
38996 ac_cv_type_mbstate_t=yes
38998 echo "$as_me: failed program was
:" >&5
38999 sed 's/^/| /' conftest.$ac_ext >&5
39001 ac_cv_type_mbstate_t=no
39004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39006 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
39007 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
39008 if test $ac_cv_type_mbstate_t = yes; then
39010 cat >>confdefs.h <<_ACEOF
39011 #define HAVE_MBSTATE_T 1
39015 for ac_func in wcsrtombs
39017 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
39018 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
39019 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
39020 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
39021 echo $ECHO_N "(cached
) $ECHO_C" >&6
39023 cat >conftest.$ac_ext <<_ACEOF
39026 cat confdefs.h >>conftest.$ac_ext
39027 cat >>conftest.$ac_ext <<_ACEOF
39028 /* end confdefs.h. */
39029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39031 #define $ac_func innocuous_$ac_func
39033 /* System header to define __stub macros and hopefully few prototypes,
39034 which can conflict with char $ac_func (); below.
39035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39036 <limits.h> exists even on freestanding compilers. */
39039 # include <limits.h>
39041 # include <assert.h>
39046 /* Override any GCC internal prototype to avoid an error.
39047 Use char because int might match the return type of a GCC
39048 builtin and then its argument prototype would still apply. */
39053 /* The GNU C library defines this for functions which it implements
39054 to always fail with ENOSYS. Some functions are actually named
39055 something starting with __ and the normal name is an alias. */
39056 #if defined __stub_$ac_func || defined __stub___$ac_func
39063 return $ac_func ();
39068 rm -f conftest.$ac_objext conftest$ac_exeext
39069 if { (ac_try="$ac_link"
39070 case "(($ac_try" in
39071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39072 *) ac_try_echo=$ac_try;;
39074 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39075 (eval "$ac_link") 2>conftest.er1
39077 grep -v '^ *+' conftest.er1 >conftest.err
39079 cat conftest.err >&5
39080 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39081 (exit $ac_status); } && {
39082 test -z "$ac_c_werror_flag" ||
39083 test ! -s conftest.err
39084 } && test -s conftest$ac_exeext &&
39085 $as_test_x conftest$ac_exeext; then
39086 eval "$as_ac_var=yes"
39088 echo "$as_me: failed program was
:" >&5
39089 sed 's/^/| /' conftest.$ac_ext >&5
39091 eval "$as_ac_var=no
"
39094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39095 conftest$ac_exeext conftest.$ac_ext
39097 ac_res=`eval echo '${'$as_ac_var'}'`
39098 { echo "$as_me:$LINENO: result
: $ac_res" >&5
39099 echo "${ECHO_T}$ac_res" >&6; }
39100 if test `eval echo '${'$as_ac_var'}'` = yes; then
39101 cat >>confdefs.h <<_ACEOF
39102 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
39114 for ac_func in snprintf vsnprintf vsscanf
39116 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
39117 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
39118 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
39119 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
39120 echo $ECHO_N "(cached
) $ECHO_C" >&6
39122 cat >conftest.$ac_ext <<_ACEOF
39125 cat confdefs.h >>conftest.$ac_ext
39126 cat >>conftest.$ac_ext <<_ACEOF
39127 /* end confdefs.h. */
39128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39130 #define $ac_func innocuous_$ac_func
39132 /* System header to define __stub macros and hopefully few prototypes,
39133 which can conflict with char $ac_func (); below.
39134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39135 <limits.h> exists even on freestanding compilers. */
39138 # include <limits.h>
39140 # include <assert.h>
39145 /* Override any GCC internal prototype to avoid an error.
39146 Use char because int might match the return type of a GCC
39147 builtin and then its argument prototype would still apply. */
39152 /* The GNU C library defines this for functions which it implements
39153 to always fail with ENOSYS. Some functions are actually named
39154 something starting with __ and the normal name is an alias. */
39155 #if defined __stub_$ac_func || defined __stub___$ac_func
39162 return $ac_func ();
39167 rm -f conftest.$ac_objext conftest$ac_exeext
39168 if { (ac_try="$ac_link"
39169 case "(($ac_try" in
39170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39171 *) ac_try_echo=$ac_try;;
39173 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39174 (eval "$ac_link") 2>conftest.er1
39176 grep -v '^ *+' conftest.er1 >conftest.err
39178 cat conftest.err >&5
39179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39180 (exit $ac_status); } && {
39181 test -z "$ac_c_werror_flag" ||
39182 test ! -s conftest.err
39183 } && test -s conftest$ac_exeext &&
39184 $as_test_x conftest$ac_exeext; then
39185 eval "$as_ac_var=yes"
39187 echo "$as_me: failed program was
:" >&5
39188 sed 's/^/| /' conftest.$ac_ext >&5
39190 eval "$as_ac_var=no
"
39193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39194 conftest$ac_exeext conftest.$ac_ext
39196 ac_res=`eval echo '${'$as_ac_var'}'`
39197 { echo "$as_me:$LINENO: result
: $ac_res" >&5
39198 echo "${ECHO_T}$ac_res" >&6; }
39199 if test `eval echo '${'$as_ac_var'}'` = yes; then
39200 cat >>confdefs.h <<_ACEOF
39201 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
39209 ac_cpp='$CXXCPP $CPPFLAGS'
39210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39214 if test "$ac_cv_func_vsnprintf" = "yes"; then
39215 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
39216 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
39217 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39218 echo $ECHO_N "(cached
) $ECHO_C" >&6
39221 cat >conftest.$ac_ext <<_ACEOF
39224 cat confdefs.h >>conftest.$ac_ext
39225 cat >>conftest.$ac_ext <<_ACEOF
39226 /* end confdefs.h. */
39229 #include <stdarg.h>
39231 #if __MSL__ >= 0x6000
39233 using namespace std;
39243 vsnprintf(buf, 10u, "%s
", ap);
39249 rm -f conftest.$ac_objext
39250 if { (ac_try="$ac_compile"
39251 case "(($ac_try" in
39252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39253 *) ac_try_echo=$ac_try;;
39255 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39256 (eval "$ac_compile") 2>conftest.er1
39258 grep -v '^ *+' conftest.er1 >conftest.err
39260 cat conftest.err >&5
39261 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39262 (exit $ac_status); } && {
39263 test -z "$ac_cxx_werror_flag" ||
39264 test ! -s conftest.err
39265 } && test -s conftest.$ac_objext; then
39266 wx_cv_func_vsnprintf_decl=yes
39268 echo "$as_me: failed program was
:" >&5
39269 sed 's/^/| /' conftest.$ac_ext >&5
39271 wx_cv_func_vsnprintf_decl=no
39275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39279 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
39280 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39282 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39283 cat >>confdefs.h <<\_ACEOF
39284 #define HAVE_VSNPRINTF_DECL 1
39288 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
39289 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
39290 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39291 echo $ECHO_N "(cached
) $ECHO_C" >&6
39294 cat >conftest.$ac_ext <<_ACEOF
39297 cat confdefs.h >>conftest.$ac_ext
39298 cat >>conftest.$ac_ext <<_ACEOF
39299 /* end confdefs.h. */
39302 #include <stdarg.h>
39304 #if __MSL__ >= 0x6000
39306 using namespace std;
39316 const char *fmt = "%s
";
39317 vsnprintf(buf, 10u, fmt, ap);
39323 rm -f conftest.$ac_objext
39324 if { (ac_try="$ac_compile"
39325 case "(($ac_try" in
39326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39327 *) ac_try_echo=$ac_try;;
39329 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39330 (eval "$ac_compile") 2>conftest.er1
39332 grep -v '^ *+' conftest.er1 >conftest.err
39334 cat conftest.err >&5
39335 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39336 (exit $ac_status); } && {
39337 test -z "$ac_cxx_werror_flag" ||
39338 test ! -s conftest.err
39339 } && test -s conftest.$ac_objext; then
39340 wx_cv_func_broken_vsnprintf_decl=no
39342 echo "$as_me: failed program was
:" >&5
39343 sed 's/^/| /' conftest.$ac_ext >&5
39345 wx_cv_func_broken_vsnprintf_decl=yes
39349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39353 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
39354 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39356 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39357 cat >>confdefs.h <<\_ACEOF
39358 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39365 if test "$ac_cv_func_snprintf" = "yes"; then
39366 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
39367 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
39368 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39369 echo $ECHO_N "(cached
) $ECHO_C" >&6
39372 cat >conftest.$ac_ext <<_ACEOF
39375 cat confdefs.h >>conftest.$ac_ext
39376 cat >>conftest.$ac_ext <<_ACEOF
39377 /* end confdefs.h. */
39380 #include <stdarg.h>
39382 #if __MSL__ >= 0x6000
39384 using namespace std;
39393 snprintf(buf, 10u, "%s
", "wx
");
39399 rm -f conftest.$ac_objext
39400 if { (ac_try="$ac_compile"
39401 case "(($ac_try" in
39402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39403 *) ac_try_echo=$ac_try;;
39405 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39406 (eval "$ac_compile") 2>conftest.er1
39408 grep -v '^ *+' conftest.er1 >conftest.err
39410 cat conftest.err >&5
39411 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39412 (exit $ac_status); } && {
39413 test -z "$ac_cxx_werror_flag" ||
39414 test ! -s conftest.err
39415 } && test -s conftest.$ac_objext; then
39416 wx_cv_func_snprintf_decl=yes
39418 echo "$as_me: failed program was
:" >&5
39419 sed 's/^/| /' conftest.$ac_ext >&5
39421 wx_cv_func_snprintf_decl=no
39425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39429 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
39430 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39432 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39433 cat >>confdefs.h <<\_ACEOF
39434 #define HAVE_SNPRINTF_DECL 1
39439 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39441 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
39442 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
39443 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39444 echo $ECHO_N "(cached
) $ECHO_C" >&6
39447 if test "$cross_compiling" = yes; then
39449 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
39450 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
39451 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
39452 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
39453 wx_cv_func_snprintf_pos_params=no
39457 cat >conftest.$ac_ext <<_ACEOF
39460 cat confdefs.h >>conftest.$ac_ext
39461 cat >>conftest.$ac_ext <<_ACEOF
39462 /* end confdefs.h. */
39469 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39470 if (strcmp ("2 3 1", buffer) == 0)
39476 rm -f conftest$ac_exeext
39477 if { (ac_try="$ac_link"
39478 case "(($ac_try" in
39479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39480 *) ac_try_echo=$ac_try;;
39482 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39483 (eval "$ac_link") 2>&5
39485 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39486 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
39494 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39495 (exit $ac_status); }; }; then
39496 wx_cv_func_snprintf_pos_params=no
39498 echo "$as_me: program exited with status
$ac_status" >&5
39499 echo "$as_me: failed program was
:" >&5
39500 sed 's/^/| /' conftest.$ac_ext >&5
39502 ( exit $ac_status )
39503 wx_cv_func_snprintf_pos_params=yes
39505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39512 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
39513 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39515 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39516 cat >>confdefs.h <<\_ACEOF
39517 #define HAVE_UNIX98_PRINTF 1
39524 if test "$ac_cv_func_vsscanf" = "yes"; then
39525 { echo "$as_me:$LINENO: checking
for vsscanf declaration
" >&5
39526 echo $ECHO_N "checking
for vsscanf declaration...
$ECHO_C" >&6; }
39527 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39528 echo $ECHO_N "(cached
) $ECHO_C" >&6
39531 cat >conftest.$ac_ext <<_ACEOF
39534 cat confdefs.h >>conftest.$ac_ext
39535 cat >>conftest.$ac_ext <<_ACEOF
39536 /* end confdefs.h. */
39539 #include <stdarg.h>
39541 #if __MSL__ >= 0x6000
39543 using namespace std;
39553 vsscanf(buf, "%s
", args);
39559 rm -f conftest.$ac_objext
39560 if { (ac_try="$ac_compile"
39561 case "(($ac_try" in
39562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39563 *) ac_try_echo=$ac_try;;
39565 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39566 (eval "$ac_compile") 2>conftest.er1
39568 grep -v '^ *+' conftest.er1 >conftest.err
39570 cat conftest.err >&5
39571 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39572 (exit $ac_status); } && {
39573 test -z "$ac_cxx_werror_flag" ||
39574 test ! -s conftest.err
39575 } && test -s conftest.$ac_objext; then
39576 wx_cv_func_vsscanf_decl=yes
39578 echo "$as_me: failed program was
:" >&5
39579 sed 's/^/| /' conftest.$ac_ext >&5
39581 wx_cv_func_vsscanf_decl=no
39585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39589 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsscanf_decl" >&5
39590 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39592 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39593 cat >>confdefs.h <<\_ACEOF
39594 #define HAVE_VSSCANF_DECL 1
39600 ac_cpp='$CPP $CPPFLAGS'
39601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39606 if test "$wxUSE_UNICODE" = yes; then
39608 wchar_headers="#include <stdio.h>
39609 #include <wchar.h>"
39613 for ac_header
in widec.h
39615 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39616 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39618 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39619 echo $ECHO_N "(cached) $ECHO_C" >&6
39621 cat >conftest.
$ac_ext <<_ACEOF
39624 cat confdefs.h
>>conftest.
$ac_ext
39625 cat >>conftest.
$ac_ext <<_ACEOF
39626 /* end confdefs.h. */
39627 $ac_includes_default
39629 #include <$ac_header>
39631 rm -f conftest.
$ac_objext
39632 if { (ac_try
="$ac_compile"
39633 case "(($ac_try" in
39634 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39635 *) ac_try_echo=$ac_try;;
39637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39638 (eval "$ac_compile") 2>conftest.er1
39640 grep -v '^ *+' conftest.er1 >conftest.err
39642 cat conftest.err >&5
39643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39644 (exit $ac_status); } && {
39645 test -z "$ac_c_werror_flag" ||
39646 test ! -s conftest.err
39647 } && test -s conftest.$ac_objext; then
39648 eval "$as_ac_Header=yes"
39650 echo "$as_me: failed program was:" >&5
39651 sed 's/^/| /' conftest.$ac_ext >&5
39653 eval "$as_ac_Header=no"
39656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39658 ac_res=`eval echo '${'$as_ac_Header'}'`
39659 { echo "$as_me:$LINENO: result: $ac_res" >&5
39660 echo "${ECHO_T}$ac_res" >&6; }
39661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39662 cat >>confdefs.h <<_ACEOF
39663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39670 if test "$ac_cv_header_widec_h" = "yes"; then
39671 wchar_headers="$wchar_headers
39672 #include <widec.h>"
39677 for wx_func in putws fputws wprintf vswprintf vswscanf
39679 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39680 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39681 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39682 echo $ECHO_N "(cached) $ECHO_C" >&6
39685 cat >conftest.$ac_ext <<_ACEOF
39689 cat confdefs.h >>conftest.$ac_ext
39690 cat >>conftest.$ac_ext <<_ACEOF
39691 /* end confdefs.h. */
39694 $ac_includes_default
39710 rm -f conftest.$ac_objext conftest$ac_exeext
39711 if { (ac_try="$ac_link"
39712 case "(($ac_try" in
39713 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39714 *) ac_try_echo
=$ac_try;;
39716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39717 (eval "$ac_link") 2>conftest.er1
39719 grep -v '^ *+' conftest.er1
>conftest.err
39721 cat conftest.err
>&5
39722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39723 (exit $ac_status); } && {
39724 test -z "$ac_c_werror_flag" ||
39725 test ! -s conftest.err
39726 } && test -s conftest
$ac_exeext &&
39727 $as_test_x conftest
$ac_exeext; then
39728 eval wx_cv_func_
$wx_func=yes
39730 echo "$as_me: failed program was:" >&5
39731 sed 's/^/| /' conftest.
$ac_ext >&5
39733 eval wx_cv_func_
$wx_func=no
39736 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39737 conftest
$ac_exeext conftest.
$ac_ext
39740 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39741 { echo "$as_me:$LINENO: result: $ac_res" >&5
39742 echo "${ECHO_T}$ac_res" >&6; }
39744 if eval test \
$wx_cv_func_$wx_func = yes
39746 cat >>confdefs.h
<<_ACEOF
39747 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39758 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39759 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39760 cat >conftest.
$ac_ext <<_ACEOF
39763 cat confdefs.h
>>conftest.
$ac_ext
39764 cat >>conftest.
$ac_ext <<_ACEOF
39765 /* end confdefs.h. */
39775 rm -f conftest.
$ac_objext
39776 if { (ac_try
="$ac_compile"
39777 case "(($ac_try" in
39778 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39779 *) ac_try_echo=$ac_try;;
39781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39782 (eval "$ac_compile") 2>conftest.er1
39784 grep -v '^ *+' conftest.er1 >conftest.err
39786 cat conftest.err >&5
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); } && {
39789 test -z "$ac_c_werror_flag" ||
39790 test ! -s conftest.err
39791 } && test -s conftest.$ac_objext; then
39792 { echo "$as_me:$LINENO: result: yes" >&5
39793 echo "${ECHO_T}yes" >&6; }
39794 cat >>confdefs.h <<\_ACEOF
39795 #define HAVE__VSNWPRINTF 1
39799 echo "$as_me: failed program was:" >&5
39800 sed 's/^/| /' conftest.$ac_ext >&5
39802 { echo "$as_me:$LINENO: result: no" >&5
39803 echo "${ECHO_T}no" >&6; }
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39809 if test "$wxUSE_FILE" = "yes"; then
39811 for wx_func in fsync
39813 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39814 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39815 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39816 echo $ECHO_N "(cached) $ECHO_C" >&6
39819 cat >conftest.$ac_ext <<_ACEOF
39823 cat confdefs.h >>conftest.$ac_ext
39824 cat >>conftest.$ac_ext <<_ACEOF
39825 /* end confdefs.h. */
39828 $ac_includes_default
39844 rm -f conftest.$ac_objext conftest$ac_exeext
39845 if { (ac_try="$ac_link"
39846 case "(($ac_try" in
39847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39848 *) ac_try_echo
=$ac_try;;
39850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39851 (eval "$ac_link") 2>conftest.er1
39853 grep -v '^ *+' conftest.er1
>conftest.err
39855 cat conftest.err
>&5
39856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39857 (exit $ac_status); } && {
39858 test -z "$ac_c_werror_flag" ||
39859 test ! -s conftest.err
39860 } && test -s conftest
$ac_exeext &&
39861 $as_test_x conftest
$ac_exeext; then
39862 eval wx_cv_func_
$wx_func=yes
39864 echo "$as_me: failed program was:" >&5
39865 sed 's/^/| /' conftest.
$ac_ext >&5
39867 eval wx_cv_func_
$wx_func=no
39870 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39871 conftest
$ac_exeext conftest.
$ac_ext
39874 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39875 { echo "$as_me:$LINENO: result: $ac_res" >&5
39876 echo "${ECHO_T}$ac_res" >&6; }
39878 if eval test \
$wx_cv_func_$wx_func = yes
39880 cat >>confdefs.h
<<_ACEOF
39881 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39894 ac_cpp
='$CXXCPP $CPPFLAGS'
39895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39900 for wx_func
in round
39902 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39903 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39904 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39905 echo $ECHO_N "(cached) $ECHO_C" >&6
39908 cat >conftest.
$ac_ext <<_ACEOF
39912 cat confdefs.h
>>conftest.
$ac_ext
39913 cat >>conftest.
$ac_ext <<_ACEOF
39914 /* end confdefs.h. */
39917 $ac_includes_default
39933 rm -f conftest.
$ac_objext conftest
$ac_exeext
39934 if { (ac_try
="$ac_link"
39935 case "(($ac_try" in
39936 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39937 *) ac_try_echo=$ac_try;;
39939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39940 (eval "$ac_link") 2>conftest.er1
39942 grep -v '^ *+' conftest.er1 >conftest.err
39944 cat conftest.err >&5
39945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39946 (exit $ac_status); } && {
39947 test -z "$ac_cxx_werror_flag" ||
39948 test ! -s conftest.err
39949 } && test -s conftest$ac_exeext &&
39950 $as_test_x conftest$ac_exeext; then
39951 eval wx_cv_func_$wx_func=yes
39953 echo "$as_me: failed program was:" >&5
39954 sed 's/^/| /' conftest.$ac_ext >&5
39956 eval wx_cv_func_$wx_func=no
39959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39960 conftest$ac_exeext conftest.$ac_ext
39963 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39964 { echo "$as_me:$LINENO: result: $ac_res" >&5
39965 echo "${ECHO_T}$ac_res" >&6; }
39967 if eval test \$wx_cv_func_$wx_func = yes
39969 cat >>confdefs.h <<_ACEOF
39970 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39981 ac_cpp='$CPP $CPPFLAGS'
39982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39987 if test "$TOOLKIT" != "MSW"; then
39989 if test "$wxUSE_LIBICONV" != "no" ; then
39993 # Check whether --with-libiconv-prefix was given.
39994 if test "${with_libiconv_prefix+set}" = set; then
39995 withval=$with_libiconv_prefix;
39996 for dir in `echo "$withval" | tr : ' '`; do
39997 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39998 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
40004 { echo "$as_me:$LINENO: checking for iconv" >&5
40005 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
40006 if test "${am_cv_func_iconv+set}" = set; then
40007 echo $ECHO_N "(cached) $ECHO_C" >&6
40010 am_cv_func_iconv="no, consider installing GNU libiconv"
40012 cat >conftest.$ac_ext <<_ACEOF
40015 cat confdefs.h >>conftest.$ac_ext
40016 cat >>conftest.$ac_ext <<_ACEOF
40017 /* end confdefs.h. */
40018 #include <stdlib.h>
40023 iconv_t cd = iconv_open("","");
40024 iconv(cd,NULL,NULL,NULL,NULL);
40030 rm -f conftest.$ac_objext conftest$ac_exeext
40031 if { (ac_try="$ac_link"
40032 case "(($ac_try" in
40033 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40034 *) ac_try_echo
=$ac_try;;
40036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40037 (eval "$ac_link") 2>conftest.er1
40039 grep -v '^ *+' conftest.er1
>conftest.err
40041 cat conftest.err
>&5
40042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40043 (exit $ac_status); } && {
40044 test -z "$ac_c_werror_flag" ||
40045 test ! -s conftest.err
40046 } && test -s conftest
$ac_exeext &&
40047 $as_test_x conftest
$ac_exeext; then
40048 am_cv_func_iconv
=yes
40050 echo "$as_me: failed program was:" >&5
40051 sed 's/^/| /' conftest.
$ac_ext >&5
40056 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40057 conftest
$ac_exeext conftest.
$ac_ext
40058 if test "$am_cv_func_iconv" != yes; then
40059 am_save_LIBS
="$LIBS"
40060 LIBS
="$LIBS -liconv"
40061 cat >conftest.
$ac_ext <<_ACEOF
40064 cat confdefs.h
>>conftest.
$ac_ext
40065 cat >>conftest.
$ac_ext <<_ACEOF
40066 /* end confdefs.h. */
40067 #include <stdlib.h>
40072 iconv_t cd = iconv_open("","");
40073 iconv(cd,NULL,NULL,NULL,NULL);
40079 rm -f conftest.
$ac_objext conftest
$ac_exeext
40080 if { (ac_try
="$ac_link"
40081 case "(($ac_try" in
40082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40083 *) ac_try_echo=$ac_try;;
40085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40086 (eval "$ac_link") 2>conftest.er1
40088 grep -v '^ *+' conftest.er1 >conftest.err
40090 cat conftest.err >&5
40091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40092 (exit $ac_status); } && {
40093 test -z "$ac_c_werror_flag" ||
40094 test ! -s conftest.err
40095 } && test -s conftest$ac_exeext &&
40096 $as_test_x conftest$ac_exeext; then
40097 am_cv_lib_iconv=yes
40098 am_cv_func_iconv=yes
40100 echo "$as_me: failed program was:" >&5
40101 sed 's/^/| /' conftest.$ac_ext >&5
40106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40107 conftest$ac_exeext conftest.$ac_ext
40108 LIBS="$am_save_LIBS"
40112 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40113 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40114 if test "$am_cv_func_iconv" = yes; then
40116 cat >>confdefs.h <<\_ACEOF
40117 #define HAVE_ICONV 1
40120 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40121 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40122 if test "${wx_cv_func_iconv_const+set}" = set; then
40123 echo $ECHO_N "(cached) $ECHO_C" >&6
40125 cat >conftest.$ac_ext <<_ACEOF
40128 cat confdefs.h >>conftest.$ac_ext
40129 cat >>conftest.$ac_ext <<_ACEOF
40130 /* end confdefs.h. */
40132 #include <stdlib.h>
40138 #if defined(__STDC__) || defined(__cplusplus)
40139 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40152 rm -f conftest.$ac_objext
40153 if { (ac_try="$ac_compile"
40154 case "(($ac_try" in
40155 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40156 *) ac_try_echo
=$ac_try;;
40158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40159 (eval "$ac_compile") 2>conftest.er1
40161 grep -v '^ *+' conftest.er1
>conftest.err
40163 cat conftest.err
>&5
40164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40165 (exit $ac_status); } && {
40166 test -z "$ac_c_werror_flag" ||
40167 test ! -s conftest.err
40168 } && test -s conftest.
$ac_objext; then
40169 wx_cv_func_iconv_const
="no"
40171 echo "$as_me: failed program was:" >&5
40172 sed 's/^/| /' conftest.
$ac_ext >&5
40174 wx_cv_func_iconv_const
="yes"
40178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40181 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40182 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40185 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40186 iconv_const
="const"
40190 cat >>confdefs.h
<<_ACEOF
40191 #define ICONV_CONST $iconv_const
40196 if test "$am_cv_lib_iconv" = yes; then
40201 LIBS
="$LIBICONV $LIBS"
40204 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40206 for ac_func
in sigaction
40208 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40209 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40211 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40212 echo $ECHO_N "(cached) $ECHO_C" >&6
40214 cat >conftest.
$ac_ext <<_ACEOF
40217 cat confdefs.h
>>conftest.
$ac_ext
40218 cat >>conftest.
$ac_ext <<_ACEOF
40219 /* end confdefs.h. */
40220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40222 #define $ac_func innocuous_$ac_func
40224 /* System header to define __stub macros and hopefully few prototypes,
40225 which can conflict with char $ac_func (); below.
40226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40227 <limits.h> exists even on freestanding compilers. */
40230 # include <limits.h>
40232 # include <assert.h>
40237 /* Override any GCC internal prototype to avoid an error.
40238 Use char because int might match the return type of a GCC
40239 builtin and then its argument prototype would still apply. */
40244 /* The GNU C library defines this for functions which it implements
40245 to always fail with ENOSYS. Some functions are actually named
40246 something starting with __ and the normal name is an alias. */
40247 #if defined __stub_$ac_func || defined __stub___$ac_func
40254 return $ac_func ();
40259 rm -f conftest.
$ac_objext conftest
$ac_exeext
40260 if { (ac_try
="$ac_link"
40261 case "(($ac_try" in
40262 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40263 *) ac_try_echo=$ac_try;;
40265 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40266 (eval "$ac_link") 2>conftest.er1
40268 grep -v '^ *+' conftest.er1 >conftest.err
40270 cat conftest.err >&5
40271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40272 (exit $ac_status); } && {
40273 test -z "$ac_c_werror_flag" ||
40274 test ! -s conftest.err
40275 } && test -s conftest$ac_exeext &&
40276 $as_test_x conftest$ac_exeext; then
40277 eval "$as_ac_var=yes"
40279 echo "$as_me: failed program was:" >&5
40280 sed 's/^/| /' conftest.$ac_ext >&5
40282 eval "$as_ac_var=no"
40285 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40286 conftest$ac_exeext conftest.$ac_ext
40288 ac_res=`eval echo '${'$as_ac_var'}'`
40289 { echo "$as_me:$LINENO: result: $ac_res" >&5
40290 echo "${ECHO_T}$ac_res" >&6; }
40291 if test `eval echo '${'$as_ac_var'}'` = yes; then
40292 cat >>confdefs.h <<_ACEOF
40293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40300 if test "$ac_cv_func_sigaction" = "no"; then
40301 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40302 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40303 wxUSE_ON_FATAL_EXCEPTION=no
40306 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40307 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40308 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40309 if test "${wx_cv_type_sa_handler+set}" = set; then
40310 echo $ECHO_N "(cached) $ECHO_C" >&6
40314 ac_cpp='$CXXCPP $CPPFLAGS'
40315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40319 cat >conftest.$ac_ext <<_ACEOF
40322 cat confdefs.h >>conftest.$ac_ext
40323 cat >>conftest.$ac_ext <<_ACEOF
40324 /* end confdefs.h. */
40325 #include <signal.h>
40330 extern void testSigHandler(int);
40332 struct sigaction sa;
40333 sa.sa_handler = testSigHandler;
40339 rm -f conftest.$ac_objext
40340 if { (ac_try="$ac_compile"
40341 case "(($ac_try" in
40342 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40343 *) ac_try_echo
=$ac_try;;
40345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40346 (eval "$ac_compile") 2>conftest.er1
40348 grep -v '^ *+' conftest.er1
>conftest.err
40350 cat conftest.err
>&5
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); } && {
40353 test -z "$ac_cxx_werror_flag" ||
40354 test ! -s conftest.err
40355 } && test -s conftest.
$ac_objext; then
40357 wx_cv_type_sa_handler
=int
40360 echo "$as_me: failed program was:" >&5
40361 sed 's/^/| /' conftest.
$ac_ext >&5
40364 wx_cv_type_sa_handler
=void
40368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40370 ac_cpp
='$CPP $CPPFLAGS'
40371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40377 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40378 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40380 cat >>confdefs.h
<<_ACEOF
40381 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40387 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40388 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40389 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40390 if test "${wx_cv_func_backtrace+set}" = set; then
40391 echo $ECHO_N "(cached) $ECHO_C" >&6
40395 ac_cpp
='$CXXCPP $CPPFLAGS'
40396 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40397 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40398 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40400 cat >conftest.
$ac_ext <<_ACEOF
40403 cat confdefs.h
>>conftest.
$ac_ext
40404 cat >>conftest.
$ac_ext <<_ACEOF
40405 /* end confdefs.h. */
40406 #include <execinfo.h>
40414 backtrace(trace, 1);
40415 messages = backtrace_symbols(trace, 1);
40421 rm -f conftest.
$ac_objext
40422 if { (ac_try
="$ac_compile"
40423 case "(($ac_try" in
40424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40425 *) ac_try_echo=$ac_try;;
40427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40428 (eval "$ac_compile") 2>conftest.er1
40430 grep -v '^ *+' conftest.er1 >conftest.err
40432 cat conftest.err >&5
40433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40434 (exit $ac_status); } && {
40435 test -z "$ac_cxx_werror_flag" ||
40436 test ! -s conftest.err
40437 } && test -s conftest.$ac_objext; then
40438 wx_cv_func_backtrace=yes
40440 echo "$as_me: failed program was:" >&5
40441 sed 's/^/| /' conftest.$ac_ext >&5
40443 wx_cv_func_backtrace=no
40447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40449 ac_cpp='$CPP $CPPFLAGS'
40450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40457 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40458 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40461 if test "$wx_cv_func_backtrace" = "no"; then
40462 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40463 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40464 wxUSE_STACKWALKER=no
40466 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40467 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40468 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40469 echo $ECHO_N "(cached) $ECHO_C" >&6
40473 ac_cpp='$CXXCPP $CPPFLAGS'
40474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40478 cat >conftest.$ac_ext <<_ACEOF
40481 cat confdefs.h >>conftest.$ac_ext
40482 cat >>conftest.$ac_ext <<_ACEOF
40483 /* end confdefs.h. */
40484 #include <cxxabi.h>
40490 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40496 rm -f conftest.$ac_objext conftest$ac_exeext
40497 if { (ac_try="$ac_link"
40498 case "(($ac_try" in
40499 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40500 *) ac_try_echo
=$ac_try;;
40502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40503 (eval "$ac_link") 2>conftest.er1
40505 grep -v '^ *+' conftest.er1
>conftest.err
40507 cat conftest.err
>&5
40508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40509 (exit $ac_status); } && {
40510 test -z "$ac_cxx_werror_flag" ||
40511 test ! -s conftest.err
40512 } && test -s conftest
$ac_exeext &&
40513 $as_test_x conftest
$ac_exeext; then
40514 wx_cv_func_cxa_demangle
=yes
40516 echo "$as_me: failed program was:" >&5
40517 sed 's/^/| /' conftest.
$ac_ext >&5
40519 wx_cv_func_cxa_demangle
=no
40523 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40524 conftest
$ac_exeext conftest.
$ac_ext
40526 ac_cpp
='$CPP $CPPFLAGS'
40527 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40528 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40529 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40534 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40535 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40537 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40538 cat >>confdefs.h
<<\_ACEOF
40539 #define HAVE_CXA_DEMANGLE 1
40546 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40547 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40548 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40549 wxUSE_STACKWALKER
=no
40555 for ac_func
in mkstemp mktemp
40557 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40558 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40560 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40561 echo $ECHO_N "(cached) $ECHO_C" >&6
40563 cat >conftest.
$ac_ext <<_ACEOF
40566 cat confdefs.h
>>conftest.
$ac_ext
40567 cat >>conftest.
$ac_ext <<_ACEOF
40568 /* end confdefs.h. */
40569 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40570 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40571 #define $ac_func innocuous_$ac_func
40573 /* System header to define __stub macros and hopefully few prototypes,
40574 which can conflict with char $ac_func (); below.
40575 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40576 <limits.h> exists even on freestanding compilers. */
40579 # include <limits.h>
40581 # include <assert.h>
40586 /* Override any GCC internal prototype to avoid an error.
40587 Use char because int might match the return type of a GCC
40588 builtin and then its argument prototype would still apply. */
40593 /* The GNU C library defines this for functions which it implements
40594 to always fail with ENOSYS. Some functions are actually named
40595 something starting with __ and the normal name is an alias. */
40596 #if defined __stub_$ac_func || defined __stub___$ac_func
40603 return $ac_func ();
40608 rm -f conftest.
$ac_objext conftest
$ac_exeext
40609 if { (ac_try
="$ac_link"
40610 case "(($ac_try" in
40611 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40612 *) ac_try_echo=$ac_try;;
40614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40615 (eval "$ac_link") 2>conftest.er1
40617 grep -v '^ *+' conftest.er1 >conftest.err
40619 cat conftest.err >&5
40620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40621 (exit $ac_status); } && {
40622 test -z "$ac_c_werror_flag" ||
40623 test ! -s conftest.err
40624 } && test -s conftest$ac_exeext &&
40625 $as_test_x conftest$ac_exeext; then
40626 eval "$as_ac_var=yes"
40628 echo "$as_me: failed program was:" >&5
40629 sed 's/^/| /' conftest.$ac_ext >&5
40631 eval "$as_ac_var=no"
40634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40635 conftest$ac_exeext conftest.$ac_ext
40637 ac_res=`eval echo '${'$as_ac_var'}'`
40638 { echo "$as_me:$LINENO: result: $ac_res" >&5
40639 echo "${ECHO_T}$ac_res" >&6; }
40640 if test `eval echo '${'$as_ac_var'}'` = yes; then
40641 cat >>confdefs.h <<_ACEOF
40642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40649 { echo "$as_me:$LINENO: checking for statfs" >&5
40650 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40651 if test "${wx_cv_func_statfs+set}" = set; then
40652 echo $ECHO_N "(cached) $ECHO_C" >&6
40654 cat >conftest.$ac_ext <<_ACEOF
40657 cat confdefs.h >>conftest.$ac_ext
40658 cat >>conftest.$ac_ext <<_ACEOF
40659 /* end confdefs.h. */
40661 #if defined(__BSD__)
40662 #include <sys/param.h>
40663 #include <sys/mount.h>
40665 #include <sys/vfs.h>
40683 rm -f conftest.$ac_objext
40684 if { (ac_try="$ac_compile"
40685 case "(($ac_try" in
40686 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40687 *) ac_try_echo
=$ac_try;;
40689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40690 (eval "$ac_compile") 2>conftest.er1
40692 grep -v '^ *+' conftest.er1
>conftest.err
40694 cat conftest.err
>&5
40695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40696 (exit $ac_status); } && {
40697 test -z "$ac_c_werror_flag" ||
40698 test ! -s conftest.err
40699 } && test -s conftest.
$ac_objext; then
40700 wx_cv_func_statfs
=yes
40702 echo "$as_me: failed program was:" >&5
40703 sed 's/^/| /' conftest.
$ac_ext >&5
40705 wx_cv_func_statfs
=no
40709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40712 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40713 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40715 if test "$wx_cv_func_statfs" = "yes"; then
40716 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40717 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40718 if test "${wx_cv_func_statfs_decl+set}" = set; then
40719 echo $ECHO_N "(cached) $ECHO_C" >&6
40722 ac_cpp
='$CXXCPP $CPPFLAGS'
40723 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40724 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40725 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40727 cat >conftest.
$ac_ext <<_ACEOF
40730 cat confdefs.h
>>conftest.
$ac_ext
40731 cat >>conftest.
$ac_ext <<_ACEOF
40732 /* end confdefs.h. */
40734 #if defined(__BSD__)
40735 #include <sys/param.h>
40736 #include <sys/mount.h>
40738 #include <sys/vfs.h>
40752 rm -f conftest.
$ac_objext
40753 if { (ac_try
="$ac_compile"
40754 case "(($ac_try" in
40755 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40756 *) ac_try_echo=$ac_try;;
40758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40759 (eval "$ac_compile") 2>conftest.er1
40761 grep -v '^ *+' conftest.er1 >conftest.err
40763 cat conftest.err >&5
40764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40765 (exit $ac_status); } && {
40766 test -z "$ac_cxx_werror_flag" ||
40767 test ! -s conftest.err
40768 } && test -s conftest.$ac_objext; then
40769 wx_cv_func_statfs_decl=yes
40771 echo "$as_me: failed program was:" >&5
40772 sed 's/^/| /' conftest.$ac_ext >&5
40774 wx_cv_func_statfs_decl=no
40778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40780 ac_cpp='$CPP $CPPFLAGS'
40781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40787 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40788 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40790 if test "$wx_cv_func_statfs_decl" = "yes"; then
40791 cat >>confdefs.h <<\_ACEOF
40792 #define HAVE_STATFS_DECL 1
40797 wx_cv_type_statvfs_t="struct statfs"
40798 cat >>confdefs.h <<\_ACEOF
40799 #define HAVE_STATFS 1
40803 { echo "$as_me:$LINENO: checking for statvfs" >&5
40804 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40805 if test "${wx_cv_func_statvfs+set}" = set; then
40806 echo $ECHO_N "(cached) $ECHO_C" >&6
40808 cat >conftest.$ac_ext <<_ACEOF
40811 cat confdefs.h >>conftest.$ac_ext
40812 cat >>conftest.$ac_ext <<_ACEOF
40813 /* end confdefs.h. */
40815 #include <stddef.h>
40816 #include <sys/statvfs.h>
40822 statvfs("/", NULL);
40828 rm -f conftest.$ac_objext
40829 if { (ac_try="$ac_compile"
40830 case "(($ac_try" in
40831 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40832 *) ac_try_echo
=$ac_try;;
40834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40835 (eval "$ac_compile") 2>conftest.er1
40837 grep -v '^ *+' conftest.er1
>conftest.err
40839 cat conftest.err
>&5
40840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40841 (exit $ac_status); } && {
40842 test -z "$ac_c_werror_flag" ||
40843 test ! -s conftest.err
40844 } && test -s conftest.
$ac_objext; then
40845 wx_cv_func_statvfs
=yes
40847 echo "$as_me: failed program was:" >&5
40848 sed 's/^/| /' conftest.
$ac_ext >&5
40850 wx_cv_func_statvfs
=no
40854 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40857 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40858 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40860 if test "$wx_cv_func_statvfs" = "yes"; then
40861 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40862 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40863 if test "${wx_cv_type_statvfs_t+set}" = set; then
40864 echo $ECHO_N "(cached) $ECHO_C" >&6
40867 ac_cpp
='$CXXCPP $CPPFLAGS'
40868 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40872 cat >conftest.
$ac_ext <<_ACEOF
40875 cat confdefs.h
>>conftest.
$ac_ext
40876 cat >>conftest.
$ac_ext <<_ACEOF
40877 /* end confdefs.h. */
40879 #include <sys/statvfs.h>
40896 rm -f conftest.
$ac_objext
40897 if { (ac_try
="$ac_compile"
40898 case "(($ac_try" in
40899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40900 *) ac_try_echo=$ac_try;;
40902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40903 (eval "$ac_compile") 2>conftest.er1
40905 grep -v '^ *+' conftest.er1 >conftest.err
40907 cat conftest.err >&5
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); } && {
40910 test -z "$ac_cxx_werror_flag" ||
40911 test ! -s conftest.err
40912 } && test -s conftest.$ac_objext; then
40913 wx_cv_type_statvfs_t=statvfs_t
40915 echo "$as_me: failed program was:" >&5
40916 sed 's/^/| /' conftest.$ac_ext >&5
40919 cat >conftest.$ac_ext <<_ACEOF
40922 cat confdefs.h >>conftest.$ac_ext
40923 cat >>conftest.$ac_ext <<_ACEOF
40924 /* end confdefs.h. */
40926 #include <sys/statvfs.h>
40943 rm -f conftest.$ac_objext
40944 if { (ac_try="$ac_compile"
40945 case "(($ac_try" in
40946 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40947 *) ac_try_echo
=$ac_try;;
40949 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40950 (eval "$ac_compile") 2>conftest.er1
40952 grep -v '^ *+' conftest.er1
>conftest.err
40954 cat conftest.err
>&5
40955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40956 (exit $ac_status); } && {
40957 test -z "$ac_cxx_werror_flag" ||
40958 test ! -s conftest.err
40959 } && test -s conftest.
$ac_objext; then
40960 wx_cv_type_statvfs_t
="struct statvfs"
40962 echo "$as_me: failed program was:" >&5
40963 sed 's/^/| /' conftest.
$ac_ext >&5
40965 wx_cv_type_statvfs_t
="unknown"
40969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40976 ac_cpp
='$CPP $CPPFLAGS'
40977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40983 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40984 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40986 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40987 cat >>confdefs.h
<<\_ACEOF
40988 #define HAVE_STATVFS 1
40993 wx_cv_type_statvfs_t
="unknown"
40997 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40998 cat >>confdefs.h
<<_ACEOF
40999 #define WX_STATFS_T $wx_cv_type_statvfs_t
41003 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
41004 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
41007 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41010 for ac_func
in fcntl flock
41012 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41013 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41015 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41016 echo $ECHO_N "(cached) $ECHO_C" >&6
41018 cat >conftest.
$ac_ext <<_ACEOF
41021 cat confdefs.h
>>conftest.
$ac_ext
41022 cat >>conftest.
$ac_ext <<_ACEOF
41023 /* end confdefs.h. */
41024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41026 #define $ac_func innocuous_$ac_func
41028 /* System header to define __stub macros and hopefully few prototypes,
41029 which can conflict with char $ac_func (); below.
41030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41031 <limits.h> exists even on freestanding compilers. */
41034 # include <limits.h>
41036 # include <assert.h>
41041 /* Override any GCC internal prototype to avoid an error.
41042 Use char because int might match the return type of a GCC
41043 builtin and then its argument prototype would still apply. */
41048 /* The GNU C library defines this for functions which it implements
41049 to always fail with ENOSYS. Some functions are actually named
41050 something starting with __ and the normal name is an alias. */
41051 #if defined __stub_$ac_func || defined __stub___$ac_func
41058 return $ac_func ();
41063 rm -f conftest.
$ac_objext conftest
$ac_exeext
41064 if { (ac_try
="$ac_link"
41065 case "(($ac_try" in
41066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41067 *) ac_try_echo=$ac_try;;
41069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41070 (eval "$ac_link") 2>conftest.er1
41072 grep -v '^ *+' conftest.er1 >conftest.err
41074 cat conftest.err >&5
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); } && {
41077 test -z "$ac_c_werror_flag" ||
41078 test ! -s conftest.err
41079 } && test -s conftest$ac_exeext &&
41080 $as_test_x conftest$ac_exeext; then
41081 eval "$as_ac_var=yes"
41083 echo "$as_me: failed program was:" >&5
41084 sed 's/^/| /' conftest.$ac_ext >&5
41086 eval "$as_ac_var=no"
41089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41090 conftest$ac_exeext conftest.$ac_ext
41092 ac_res=`eval echo '${'$as_ac_var'}'`
41093 { echo "$as_me:$LINENO: result: $ac_res" >&5
41094 echo "${ECHO_T}$ac_res" >&6; }
41095 if test `eval echo '${'$as_ac_var'}'` = yes; then
41096 cat >>confdefs.h <<_ACEOF
41097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41104 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41105 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41106 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41107 wxUSE_SNGLINST_CHECKER=no
41113 for ac_func in setenv putenv
41115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41116 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41118 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41119 echo $ECHO_N "(cached) $ECHO_C" >&6
41121 cat >conftest.$ac_ext <<_ACEOF
41124 cat confdefs.h >>conftest.$ac_ext
41125 cat >>conftest.$ac_ext <<_ACEOF
41126 /* end confdefs.h. */
41127 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41128 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41129 #define $ac_func innocuous_$ac_func
41131 /* System header to define __stub macros and hopefully few prototypes,
41132 which can conflict with char $ac_func (); below.
41133 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41134 <limits.h> exists even on freestanding compilers. */
41137 # include <limits.h>
41139 # include <assert.h>
41144 /* Override any GCC internal prototype to avoid an error.
41145 Use char because int might match the return type of a GCC
41146 builtin and then its argument prototype would still apply. */
41151 /* The GNU C library defines this for functions which it implements
41152 to always fail with ENOSYS. Some functions are actually named
41153 something starting with __ and the normal name is an alias. */
41154 #if defined __stub_$ac_func || defined __stub___$ac_func
41161 return $ac_func ();
41166 rm -f conftest.$ac_objext conftest$ac_exeext
41167 if { (ac_try="$ac_link"
41168 case "(($ac_try" in
41169 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41170 *) ac_try_echo
=$ac_try;;
41172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41173 (eval "$ac_link") 2>conftest.er1
41175 grep -v '^ *+' conftest.er1
>conftest.err
41177 cat conftest.err
>&5
41178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41179 (exit $ac_status); } && {
41180 test -z "$ac_c_werror_flag" ||
41181 test ! -s conftest.err
41182 } && test -s conftest
$ac_exeext &&
41183 $as_test_x conftest
$ac_exeext; then
41184 eval "$as_ac_var=yes"
41186 echo "$as_me: failed program was:" >&5
41187 sed 's/^/| /' conftest.
$ac_ext >&5
41189 eval "$as_ac_var=no"
41192 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41193 conftest
$ac_exeext conftest.
$ac_ext
41195 ac_res
=`eval echo '${'$as_ac_var'}'`
41196 { echo "$as_me:$LINENO: result: $ac_res" >&5
41197 echo "${ECHO_T}$ac_res" >&6; }
41198 if test `eval echo '${'$as_ac_var'}'` = yes; then
41199 cat >>confdefs.h
<<_ACEOF
41200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41206 if test "$ac_cv_func_setenv" = "yes"; then
41208 for ac_func
in unsetenv
41210 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41211 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41213 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41214 echo $ECHO_N "(cached) $ECHO_C" >&6
41216 cat >conftest.
$ac_ext <<_ACEOF
41219 cat confdefs.h
>>conftest.
$ac_ext
41220 cat >>conftest.
$ac_ext <<_ACEOF
41221 /* end confdefs.h. */
41222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41224 #define $ac_func innocuous_$ac_func
41226 /* System header to define __stub macros and hopefully few prototypes,
41227 which can conflict with char $ac_func (); below.
41228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41229 <limits.h> exists even on freestanding compilers. */
41232 # include <limits.h>
41234 # include <assert.h>
41239 /* Override any GCC internal prototype to avoid an error.
41240 Use char because int might match the return type of a GCC
41241 builtin and then its argument prototype would still apply. */
41246 /* The GNU C library defines this for functions which it implements
41247 to always fail with ENOSYS. Some functions are actually named
41248 something starting with __ and the normal name is an alias. */
41249 #if defined __stub_$ac_func || defined __stub___$ac_func
41256 return $ac_func ();
41261 rm -f conftest.
$ac_objext conftest
$ac_exeext
41262 if { (ac_try
="$ac_link"
41263 case "(($ac_try" in
41264 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41265 *) ac_try_echo=$ac_try;;
41267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41268 (eval "$ac_link") 2>conftest.er1
41270 grep -v '^ *+' conftest.er1 >conftest.err
41272 cat conftest.err >&5
41273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41274 (exit $ac_status); } && {
41275 test -z "$ac_c_werror_flag" ||
41276 test ! -s conftest.err
41277 } && test -s conftest$ac_exeext &&
41278 $as_test_x conftest$ac_exeext; then
41279 eval "$as_ac_var=yes"
41281 echo "$as_me: failed program was:" >&5
41282 sed 's/^/| /' conftest.$ac_ext >&5
41284 eval "$as_ac_var=no"
41287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41288 conftest$ac_exeext conftest.$ac_ext
41290 ac_res=`eval echo '${'$as_ac_var'}'`
41291 { echo "$as_me:$LINENO: result: $ac_res" >&5
41292 echo "${ECHO_T}$ac_res" >&6; }
41293 if test `eval echo '${'$as_ac_var'}'` = yes; then
41294 cat >>confdefs.h <<_ACEOF
41295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41303 HAVE_SOME_SLEEP_FUNC=0
41304 if test "$USE_BEOS" = 1; then
41305 cat >>confdefs.h <<\_ACEOF
41306 #define HAVE_SLEEP 1
41309 HAVE_SOME_SLEEP_FUNC=1
41312 if test "$USE_DARWIN" = 1; then
41313 cat >>confdefs.h <<\_ACEOF
41314 #define HAVE_USLEEP 1
41317 HAVE_SOME_SLEEP_FUNC=1
41320 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41323 for ac_func in nanosleep
41325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41326 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41328 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41329 echo $ECHO_N "(cached) $ECHO_C" >&6
41331 cat >conftest.$ac_ext <<_ACEOF
41334 cat confdefs.h >>conftest.$ac_ext
41335 cat >>conftest.$ac_ext <<_ACEOF
41336 /* end confdefs.h. */
41337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41339 #define $ac_func innocuous_$ac_func
41341 /* System header to define __stub macros and hopefully few prototypes,
41342 which can conflict with char $ac_func (); below.
41343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41344 <limits.h> exists even on freestanding compilers. */
41347 # include <limits.h>
41349 # include <assert.h>
41354 /* Override any GCC internal prototype to avoid an error.
41355 Use char because int might match the return type of a GCC
41356 builtin and then its argument prototype would still apply. */
41361 /* The GNU C library defines this for functions which it implements
41362 to always fail with ENOSYS. Some functions are actually named
41363 something starting with __ and the normal name is an alias. */
41364 #if defined __stub_$ac_func || defined __stub___$ac_func
41371 return $ac_func ();
41376 rm -f conftest.$ac_objext conftest$ac_exeext
41377 if { (ac_try="$ac_link"
41378 case "(($ac_try" in
41379 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41380 *) ac_try_echo
=$ac_try;;
41382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41383 (eval "$ac_link") 2>conftest.er1
41385 grep -v '^ *+' conftest.er1
>conftest.err
41387 cat conftest.err
>&5
41388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41389 (exit $ac_status); } && {
41390 test -z "$ac_c_werror_flag" ||
41391 test ! -s conftest.err
41392 } && test -s conftest
$ac_exeext &&
41393 $as_test_x conftest
$ac_exeext; then
41394 eval "$as_ac_var=yes"
41396 echo "$as_me: failed program was:" >&5
41397 sed 's/^/| /' conftest.
$ac_ext >&5
41399 eval "$as_ac_var=no"
41402 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41403 conftest
$ac_exeext conftest.
$ac_ext
41405 ac_res
=`eval echo '${'$as_ac_var'}'`
41406 { echo "$as_me:$LINENO: result: $ac_res" >&5
41407 echo "${ECHO_T}$ac_res" >&6; }
41408 if test `eval echo '${'$as_ac_var'}'` = yes; then
41409 cat >>confdefs.h
<<_ACEOF
41410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41412 cat >>confdefs.h
<<\_ACEOF
41413 #define HAVE_NANOSLEEP 1
41418 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41419 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41420 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41421 echo $ECHO_N "(cached) $ECHO_C" >&6
41423 ac_check_lib_save_LIBS
=$LIBS
41424 LIBS
="-lposix4 $LIBS"
41425 cat >conftest.
$ac_ext <<_ACEOF
41428 cat confdefs.h
>>conftest.
$ac_ext
41429 cat >>conftest.
$ac_ext <<_ACEOF
41430 /* end confdefs.h. */
41432 /* Override any GCC internal prototype to avoid an error.
41433 Use char because int might match the return type of a GCC
41434 builtin and then its argument prototype would still apply. */
41442 return nanosleep ();
41447 rm -f conftest.
$ac_objext conftest
$ac_exeext
41448 if { (ac_try
="$ac_link"
41449 case "(($ac_try" in
41450 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41451 *) ac_try_echo=$ac_try;;
41453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41454 (eval "$ac_link") 2>conftest.er1
41456 grep -v '^ *+' conftest.er1 >conftest.err
41458 cat conftest.err >&5
41459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41460 (exit $ac_status); } && {
41461 test -z "$ac_c_werror_flag" ||
41462 test ! -s conftest.err
41463 } && test -s conftest$ac_exeext &&
41464 $as_test_x conftest$ac_exeext; then
41465 ac_cv_lib_posix4_nanosleep=yes
41467 echo "$as_me: failed program was:" >&5
41468 sed 's/^/| /' conftest.$ac_ext >&5
41470 ac_cv_lib_posix4_nanosleep=no
41473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41474 conftest$ac_exeext conftest.$ac_ext
41475 LIBS=$ac_check_lib_save_LIBS
41477 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41478 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41479 if test $ac_cv_lib_posix4_nanosleep = yes; then
41481 cat >>confdefs.h <<\_ACEOF
41482 #define HAVE_NANOSLEEP 1
41485 POSIX4_LINK=" -lposix4"
41490 for wx_func in usleep
41492 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41493 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41494 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41495 echo $ECHO_N "(cached) $ECHO_C" >&6
41498 cat >conftest.$ac_ext <<_ACEOF
41502 cat confdefs.h >>conftest.$ac_ext
41503 cat >>conftest.$ac_ext <<_ACEOF
41504 /* end confdefs.h. */
41507 $ac_includes_default
41523 rm -f conftest.$ac_objext conftest$ac_exeext
41524 if { (ac_try="$ac_link"
41525 case "(($ac_try" in
41526 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41527 *) ac_try_echo
=$ac_try;;
41529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41530 (eval "$ac_link") 2>conftest.er1
41532 grep -v '^ *+' conftest.er1
>conftest.err
41534 cat conftest.err
>&5
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); } && {
41537 test -z "$ac_c_werror_flag" ||
41538 test ! -s conftest.err
41539 } && test -s conftest
$ac_exeext &&
41540 $as_test_x conftest
$ac_exeext; then
41541 eval wx_cv_func_
$wx_func=yes
41543 echo "$as_me: failed program was:" >&5
41544 sed 's/^/| /' conftest.
$ac_ext >&5
41546 eval wx_cv_func_
$wx_func=no
41549 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41550 conftest
$ac_exeext conftest.
$ac_ext
41553 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41554 { echo "$as_me:$LINENO: result: $ac_res" >&5
41555 echo "${ECHO_T}$ac_res" >&6; }
41557 if eval test \
$wx_cv_func_$wx_func = yes
41559 cat >>confdefs.h
<<_ACEOF
41560 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41566 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41567 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41584 for wx_func
in uname
41586 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41587 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41588 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41589 echo $ECHO_N "(cached) $ECHO_C" >&6
41592 cat >conftest.
$ac_ext <<_ACEOF
41596 cat confdefs.h
>>conftest.
$ac_ext
41597 cat >>conftest.
$ac_ext <<_ACEOF
41598 /* end confdefs.h. */
41600 #include <sys/utsname.h>
41601 $ac_includes_default
41617 rm -f conftest.
$ac_objext conftest
$ac_exeext
41618 if { (ac_try
="$ac_link"
41619 case "(($ac_try" in
41620 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41621 *) ac_try_echo=$ac_try;;
41623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41624 (eval "$ac_link") 2>conftest.er1
41626 grep -v '^ *+' conftest.er1 >conftest.err
41628 cat conftest.err >&5
41629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41630 (exit $ac_status); } && {
41631 test -z "$ac_c_werror_flag" ||
41632 test ! -s conftest.err
41633 } && test -s conftest$ac_exeext &&
41634 $as_test_x conftest$ac_exeext; then
41635 eval wx_cv_func_$wx_func=yes
41637 echo "$as_me: failed program was:" >&5
41638 sed 's/^/| /' conftest.$ac_ext >&5
41640 eval wx_cv_func_$wx_func=no
41643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41644 conftest$ac_exeext conftest.$ac_ext
41647 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41648 { echo "$as_me:$LINENO: result: $ac_res" >&5
41649 echo "${ECHO_T}$ac_res" >&6; }
41651 if eval test \$wx_cv_func_$wx_func = yes
41653 cat >>confdefs.h <<_ACEOF
41654 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41664 if test "$wx_cv_func_uname" != yes; then
41666 for wx_func in gethostname
41668 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41669 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41670 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41671 echo $ECHO_N "(cached) $ECHO_C" >&6
41674 cat >conftest.$ac_ext <<_ACEOF
41678 cat confdefs.h >>conftest.$ac_ext
41679 cat >>conftest.$ac_ext <<_ACEOF
41680 /* end confdefs.h. */
41683 $ac_includes_default
41699 rm -f conftest.$ac_objext conftest$ac_exeext
41700 if { (ac_try="$ac_link"
41701 case "(($ac_try" in
41702 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41703 *) ac_try_echo
=$ac_try;;
41705 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41706 (eval "$ac_link") 2>conftest.er1
41708 grep -v '^ *+' conftest.er1
>conftest.err
41710 cat conftest.err
>&5
41711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41712 (exit $ac_status); } && {
41713 test -z "$ac_c_werror_flag" ||
41714 test ! -s conftest.err
41715 } && test -s conftest
$ac_exeext &&
41716 $as_test_x conftest
$ac_exeext; then
41717 eval wx_cv_func_
$wx_func=yes
41719 echo "$as_me: failed program was:" >&5
41720 sed 's/^/| /' conftest.
$ac_ext >&5
41722 eval wx_cv_func_
$wx_func=no
41725 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41726 conftest
$ac_exeext conftest.
$ac_ext
41729 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41730 { echo "$as_me:$LINENO: result: $ac_res" >&5
41731 echo "${ECHO_T}$ac_res" >&6; }
41733 if eval test \
$wx_cv_func_$wx_func = yes
41735 cat >>confdefs.h
<<_ACEOF
41736 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41749 for wx_func
in strtok_r
41751 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41752 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41753 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41754 echo $ECHO_N "(cached) $ECHO_C" >&6
41757 cat >conftest.
$ac_ext <<_ACEOF
41761 cat confdefs.h
>>conftest.
$ac_ext
41762 cat >>conftest.
$ac_ext <<_ACEOF
41763 /* end confdefs.h. */
41766 $ac_includes_default
41782 rm -f conftest.
$ac_objext conftest
$ac_exeext
41783 if { (ac_try
="$ac_link"
41784 case "(($ac_try" in
41785 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41786 *) ac_try_echo=$ac_try;;
41788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41789 (eval "$ac_link") 2>conftest.er1
41791 grep -v '^ *+' conftest.er1 >conftest.err
41793 cat conftest.err >&5
41794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41795 (exit $ac_status); } && {
41796 test -z "$ac_c_werror_flag" ||
41797 test ! -s conftest.err
41798 } && test -s conftest$ac_exeext &&
41799 $as_test_x conftest$ac_exeext; then
41800 eval wx_cv_func_$wx_func=yes
41802 echo "$as_me: failed program was:" >&5
41803 sed 's/^/| /' conftest.$ac_ext >&5
41805 eval wx_cv_func_$wx_func=no
41808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41809 conftest$ac_exeext conftest.$ac_ext
41812 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41813 { echo "$as_me:$LINENO: result: $ac_res" >&5
41814 echo "${ECHO_T}$ac_res" >&6; }
41816 if eval test \$wx_cv_func_$wx_func = yes
41818 cat >>confdefs.h <<_ACEOF
41819 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41832 for ac_func in inet_addr
41834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41835 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41837 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41838 echo $ECHO_N "(cached) $ECHO_C" >&6
41840 cat >conftest.$ac_ext <<_ACEOF
41843 cat confdefs.h >>conftest.$ac_ext
41844 cat >>conftest.$ac_ext <<_ACEOF
41845 /* end confdefs.h. */
41846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41848 #define $ac_func innocuous_$ac_func
41850 /* System header to define __stub macros and hopefully few prototypes,
41851 which can conflict with char $ac_func (); below.
41852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41853 <limits.h> exists even on freestanding compilers. */
41856 # include <limits.h>
41858 # include <assert.h>
41863 /* Override any GCC internal prototype to avoid an error.
41864 Use char because int might match the return type of a GCC
41865 builtin and then its argument prototype would still apply. */
41870 /* The GNU C library defines this for functions which it implements
41871 to always fail with ENOSYS. Some functions are actually named
41872 something starting with __ and the normal name is an alias. */
41873 #if defined __stub_$ac_func || defined __stub___$ac_func
41880 return $ac_func ();
41885 rm -f conftest.$ac_objext conftest$ac_exeext
41886 if { (ac_try="$ac_link"
41887 case "(($ac_try" in
41888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41889 *) ac_try_echo
=$ac_try;;
41891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41892 (eval "$ac_link") 2>conftest.er1
41894 grep -v '^ *+' conftest.er1
>conftest.err
41896 cat conftest.err
>&5
41897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41898 (exit $ac_status); } && {
41899 test -z "$ac_c_werror_flag" ||
41900 test ! -s conftest.err
41901 } && test -s conftest
$ac_exeext &&
41902 $as_test_x conftest
$ac_exeext; then
41903 eval "$as_ac_var=yes"
41905 echo "$as_me: failed program was:" >&5
41906 sed 's/^/| /' conftest.
$ac_ext >&5
41908 eval "$as_ac_var=no"
41911 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41912 conftest
$ac_exeext conftest.
$ac_ext
41914 ac_res
=`eval echo '${'$as_ac_var'}'`
41915 { echo "$as_me:$LINENO: result: $ac_res" >&5
41916 echo "${ECHO_T}$ac_res" >&6; }
41917 if test `eval echo '${'$as_ac_var'}'` = yes; then
41918 cat >>confdefs.h
<<_ACEOF
41919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41921 cat >>confdefs.h
<<\_ACEOF
41922 #define HAVE_INET_ADDR 1
41927 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41928 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41929 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41930 echo $ECHO_N "(cached) $ECHO_C" >&6
41932 ac_check_lib_save_LIBS
=$LIBS
41934 cat >conftest.
$ac_ext <<_ACEOF
41937 cat confdefs.h
>>conftest.
$ac_ext
41938 cat >>conftest.
$ac_ext <<_ACEOF
41939 /* end confdefs.h. */
41941 /* Override any GCC internal prototype to avoid an error.
41942 Use char because int might match the return type of a GCC
41943 builtin and then its argument prototype would still apply. */
41951 return inet_addr ();
41956 rm -f conftest.
$ac_objext conftest
$ac_exeext
41957 if { (ac_try
="$ac_link"
41958 case "(($ac_try" in
41959 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41960 *) ac_try_echo=$ac_try;;
41962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41963 (eval "$ac_link") 2>conftest.er1
41965 grep -v '^ *+' conftest.er1 >conftest.err
41967 cat conftest.err >&5
41968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41969 (exit $ac_status); } && {
41970 test -z "$ac_c_werror_flag" ||
41971 test ! -s conftest.err
41972 } && test -s conftest$ac_exeext &&
41973 $as_test_x conftest$ac_exeext; then
41974 ac_cv_lib_nsl_inet_addr=yes
41976 echo "$as_me: failed program was:" >&5
41977 sed 's/^/| /' conftest.$ac_ext >&5
41979 ac_cv_lib_nsl_inet_addr=no
41982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41983 conftest$ac_exeext conftest.$ac_ext
41984 LIBS=$ac_check_lib_save_LIBS
41986 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41987 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41988 if test $ac_cv_lib_nsl_inet_addr = yes; then
41992 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41993 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41994 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41995 echo $ECHO_N "(cached) $ECHO_C" >&6
41997 ac_check_lib_save_LIBS=$LIBS
41998 LIBS="-lresolv $LIBS"
41999 cat >conftest.$ac_ext <<_ACEOF
42002 cat confdefs.h >>conftest.$ac_ext
42003 cat >>conftest.$ac_ext <<_ACEOF
42004 /* end confdefs.h. */
42006 /* Override any GCC internal prototype to avoid an error.
42007 Use char because int might match the return type of a GCC
42008 builtin and then its argument prototype would still apply. */
42016 return inet_addr ();
42021 rm -f conftest.$ac_objext conftest$ac_exeext
42022 if { (ac_try="$ac_link"
42023 case "(($ac_try" in
42024 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42025 *) ac_try_echo
=$ac_try;;
42027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42028 (eval "$ac_link") 2>conftest.er1
42030 grep -v '^ *+' conftest.er1
>conftest.err
42032 cat conftest.err
>&5
42033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42034 (exit $ac_status); } && {
42035 test -z "$ac_c_werror_flag" ||
42036 test ! -s conftest.err
42037 } && test -s conftest
$ac_exeext &&
42038 $as_test_x conftest
$ac_exeext; then
42039 ac_cv_lib_resolv_inet_addr
=yes
42041 echo "$as_me: failed program was:" >&5
42042 sed 's/^/| /' conftest.
$ac_ext >&5
42044 ac_cv_lib_resolv_inet_addr
=no
42047 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42048 conftest
$ac_exeext conftest.
$ac_ext
42049 LIBS
=$ac_check_lib_save_LIBS
42051 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42052 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42053 if test $ac_cv_lib_resolv_inet_addr = yes; then
42057 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42058 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42059 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42060 echo $ECHO_N "(cached) $ECHO_C" >&6
42062 ac_check_lib_save_LIBS
=$LIBS
42063 LIBS
="-lsocket $LIBS"
42064 cat >conftest.
$ac_ext <<_ACEOF
42067 cat confdefs.h
>>conftest.
$ac_ext
42068 cat >>conftest.
$ac_ext <<_ACEOF
42069 /* end confdefs.h. */
42071 /* Override any GCC internal prototype to avoid an error.
42072 Use char because int might match the return type of a GCC
42073 builtin and then its argument prototype would still apply. */
42081 return inet_addr ();
42086 rm -f conftest.
$ac_objext conftest
$ac_exeext
42087 if { (ac_try
="$ac_link"
42088 case "(($ac_try" in
42089 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42090 *) ac_try_echo=$ac_try;;
42092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42093 (eval "$ac_link") 2>conftest.er1
42095 grep -v '^ *+' conftest.er1 >conftest.err
42097 cat conftest.err >&5
42098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42099 (exit $ac_status); } && {
42100 test -z "$ac_c_werror_flag" ||
42101 test ! -s conftest.err
42102 } && test -s conftest$ac_exeext &&
42103 $as_test_x conftest$ac_exeext; then
42104 ac_cv_lib_socket_inet_addr=yes
42106 echo "$as_me: failed program was:" >&5
42107 sed 's/^/| /' conftest.$ac_ext >&5
42109 ac_cv_lib_socket_inet_addr=no
42112 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42113 conftest$ac_exeext conftest.$ac_ext
42114 LIBS=$ac_check_lib_save_LIBS
42116 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42117 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42118 if test $ac_cv_lib_socket_inet_addr = yes; then
42138 for ac_func in inet_aton
42140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42141 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42143 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42144 echo $ECHO_N "(cached) $ECHO_C" >&6
42146 cat >conftest.$ac_ext <<_ACEOF
42149 cat confdefs.h >>conftest.$ac_ext
42150 cat >>conftest.$ac_ext <<_ACEOF
42151 /* end confdefs.h. */
42152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42154 #define $ac_func innocuous_$ac_func
42156 /* System header to define __stub macros and hopefully few prototypes,
42157 which can conflict with char $ac_func (); below.
42158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42159 <limits.h> exists even on freestanding compilers. */
42162 # include <limits.h>
42164 # include <assert.h>
42169 /* Override any GCC internal prototype to avoid an error.
42170 Use char because int might match the return type of a GCC
42171 builtin and then its argument prototype would still apply. */
42176 /* The GNU C library defines this for functions which it implements
42177 to always fail with ENOSYS. Some functions are actually named
42178 something starting with __ and the normal name is an alias. */
42179 #if defined __stub_$ac_func || defined __stub___$ac_func
42186 return $ac_func ();
42191 rm -f conftest.$ac_objext conftest$ac_exeext
42192 if { (ac_try="$ac_link"
42193 case "(($ac_try" in
42194 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42195 *) ac_try_echo
=$ac_try;;
42197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42198 (eval "$ac_link") 2>conftest.er1
42200 grep -v '^ *+' conftest.er1
>conftest.err
42202 cat conftest.err
>&5
42203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42204 (exit $ac_status); } && {
42205 test -z "$ac_c_werror_flag" ||
42206 test ! -s conftest.err
42207 } && test -s conftest
$ac_exeext &&
42208 $as_test_x conftest
$ac_exeext; then
42209 eval "$as_ac_var=yes"
42211 echo "$as_me: failed program was:" >&5
42212 sed 's/^/| /' conftest.
$ac_ext >&5
42214 eval "$as_ac_var=no"
42217 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42218 conftest
$ac_exeext conftest.
$ac_ext
42220 ac_res
=`eval echo '${'$as_ac_var'}'`
42221 { echo "$as_me:$LINENO: result: $ac_res" >&5
42222 echo "${ECHO_T}$ac_res" >&6; }
42223 if test `eval echo '${'$as_ac_var'}'` = yes; then
42224 cat >>confdefs.h
<<_ACEOF
42225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42227 cat >>confdefs.h
<<\_ACEOF
42228 #define HAVE_INET_ATON 1
42233 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42234 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42235 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42236 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42237 echo $ECHO_N "(cached) $ECHO_C" >&6
42239 ac_check_lib_save_LIBS
=$LIBS
42240 LIBS
="-l$INET_LINK $LIBS"
42241 cat >conftest.
$ac_ext <<_ACEOF
42244 cat confdefs.h
>>conftest.
$ac_ext
42245 cat >>conftest.
$ac_ext <<_ACEOF
42246 /* end confdefs.h. */
42248 /* Override any GCC internal prototype to avoid an error.
42249 Use char because int might match the return type of a GCC
42250 builtin and then its argument prototype would still apply. */
42258 return inet_aton ();
42263 rm -f conftest.
$ac_objext conftest
$ac_exeext
42264 if { (ac_try
="$ac_link"
42265 case "(($ac_try" in
42266 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42267 *) ac_try_echo=$ac_try;;
42269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42270 (eval "$ac_link") 2>conftest.er1
42272 grep -v '^ *+' conftest.er1 >conftest.err
42274 cat conftest.err >&5
42275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42276 (exit $ac_status); } && {
42277 test -z "$ac_c_werror_flag" ||
42278 test ! -s conftest.err
42279 } && test -s conftest$ac_exeext &&
42280 $as_test_x conftest$ac_exeext; then
42281 eval "$as_ac_Lib=yes"
42283 echo "$as_me: failed program was:" >&5
42284 sed 's/^/| /' conftest.$ac_ext >&5
42286 eval "$as_ac_Lib=no"
42289 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42290 conftest$ac_exeext conftest.$ac_ext
42291 LIBS=$ac_check_lib_save_LIBS
42293 ac_res=`eval echo '${'$as_ac_Lib'}'`
42294 { echo "$as_me:$LINENO: result: $ac_res" >&5
42295 echo "${ECHO_T}$ac_res" >&6; }
42296 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42297 cat >>confdefs.h <<\_ACEOF
42298 #define HAVE_INET_ATON 1
42308 if test "x$INET_LINK" != "x"; then
42309 cat >>confdefs.h <<\_ACEOF
42310 #define HAVE_INET_ADDR 1
42313 INET_LINK=" -l$INET_LINK"
42317 for wx_func in fdopen
42319 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42320 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42321 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42322 echo $ECHO_N "(cached) $ECHO_C" >&6
42325 cat >conftest.$ac_ext <<_ACEOF
42329 cat confdefs.h >>conftest.$ac_ext
42330 cat >>conftest.$ac_ext <<_ACEOF
42331 /* end confdefs.h. */
42334 $ac_includes_default
42350 rm -f conftest.$ac_objext conftest$ac_exeext
42351 if { (ac_try="$ac_link"
42352 case "(($ac_try" in
42353 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42354 *) ac_try_echo
=$ac_try;;
42356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42357 (eval "$ac_link") 2>conftest.er1
42359 grep -v '^ *+' conftest.er1
>conftest.err
42361 cat conftest.err
>&5
42362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42363 (exit $ac_status); } && {
42364 test -z "$ac_c_werror_flag" ||
42365 test ! -s conftest.err
42366 } && test -s conftest
$ac_exeext &&
42367 $as_test_x conftest
$ac_exeext; then
42368 eval wx_cv_func_
$wx_func=yes
42370 echo "$as_me: failed program was:" >&5
42371 sed 's/^/| /' conftest.
$ac_ext >&5
42373 eval wx_cv_func_
$wx_func=no
42376 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42377 conftest
$ac_exeext conftest.
$ac_ext
42380 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
42381 { echo "$as_me:$LINENO: result: $ac_res" >&5
42382 echo "${ECHO_T}$ac_res" >&6; }
42384 if eval test \
$wx_cv_func_$wx_func = yes
42386 cat >>confdefs.h
<<_ACEOF
42387 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42398 if test "$wxUSE_TARSTREAM" = "yes"; then
42400 for wx_func
in sysconf
42402 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42403 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42404 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42405 echo $ECHO_N "(cached) $ECHO_C" >&6
42408 cat >conftest.
$ac_ext <<_ACEOF
42412 cat confdefs.h
>>conftest.
$ac_ext
42413 cat >>conftest.
$ac_ext <<_ACEOF
42414 /* end confdefs.h. */
42417 $ac_includes_default
42433 rm -f conftest.
$ac_objext conftest
$ac_exeext
42434 if { (ac_try
="$ac_link"
42435 case "(($ac_try" in
42436 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42437 *) ac_try_echo=$ac_try;;
42439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42440 (eval "$ac_link") 2>conftest.er1
42442 grep -v '^ *+' conftest.er1 >conftest.err
42444 cat conftest.err >&5
42445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42446 (exit $ac_status); } && {
42447 test -z "$ac_c_werror_flag" ||
42448 test ! -s conftest.err
42449 } && test -s conftest$ac_exeext &&
42450 $as_test_x conftest$ac_exeext; then
42451 eval wx_cv_func_$wx_func=yes
42453 echo "$as_me: failed program was:" >&5
42454 sed 's/^/| /' conftest.$ac_ext >&5
42456 eval wx_cv_func_$wx_func=no
42459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42460 conftest$ac_exeext conftest.$ac_ext
42463 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42464 { echo "$as_me:$LINENO: result: $ac_res" >&5
42465 echo "${ECHO_T}$ac_res" >&6; }
42467 if eval test \$wx_cv_func_$wx_func = yes
42469 cat >>confdefs.h <<_ACEOF
42470 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42482 for wx_func in getpwuid_r
42484 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42485 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42486 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42487 echo $ECHO_N "(cached) $ECHO_C" >&6
42490 cat >conftest.$ac_ext <<_ACEOF
42494 cat confdefs.h >>conftest.$ac_ext
42495 cat >>conftest.$ac_ext <<_ACEOF
42496 /* end confdefs.h. */
42502 $ac_includes_default
42512 struct passwd pw, *ppw;
42514 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42522 rm -f conftest.$ac_objext conftest$ac_exeext
42523 if { (ac_try="$ac_link"
42524 case "(($ac_try" in
42525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42526 *) ac_try_echo
=$ac_try;;
42528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42529 (eval "$ac_link") 2>conftest.er1
42531 grep -v '^ *+' conftest.er1
>conftest.err
42533 cat conftest.err
>&5
42534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42535 (exit $ac_status); } && {
42536 test -z "$ac_c_werror_flag" ||
42537 test ! -s conftest.err
42538 } && test -s conftest
$ac_exeext &&
42539 $as_test_x conftest
$ac_exeext; then
42540 eval wx_cv_func_
$wx_func=yes
42542 echo "$as_me: failed program was:" >&5
42543 sed 's/^/| /' conftest.
$ac_ext >&5
42545 eval wx_cv_func_
$wx_func=no
42548 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42549 conftest
$ac_exeext conftest.
$ac_ext
42552 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
42553 { echo "$as_me:$LINENO: result: $ac_res" >&5
42554 echo "${ECHO_T}$ac_res" >&6; }
42556 if eval test \
$wx_cv_func_$wx_func = yes
42558 cat >>confdefs.h
<<_ACEOF
42559 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42571 for wx_func
in getgrgid_r
42573 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42574 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42575 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42576 echo $ECHO_N "(cached) $ECHO_C" >&6
42579 cat >conftest.
$ac_ext <<_ACEOF
42583 cat confdefs.h
>>conftest.
$ac_ext
42584 cat >>conftest.
$ac_ext <<_ACEOF
42585 /* end confdefs.h. */
42591 $ac_includes_default
42601 struct group grp, *pgrp;
42603 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42611 rm -f conftest.
$ac_objext conftest
$ac_exeext
42612 if { (ac_try
="$ac_link"
42613 case "(($ac_try" in
42614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42615 *) ac_try_echo=$ac_try;;
42617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42618 (eval "$ac_link") 2>conftest.er1
42620 grep -v '^ *+' conftest.er1 >conftest.err
42622 cat conftest.err >&5
42623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42624 (exit $ac_status); } && {
42625 test -z "$ac_c_werror_flag" ||
42626 test ! -s conftest.err
42627 } && test -s conftest$ac_exeext &&
42628 $as_test_x conftest$ac_exeext; then
42629 eval wx_cv_func_$wx_func=yes
42631 echo "$as_me: failed program was:" >&5
42632 sed 's/^/| /' conftest.$ac_ext >&5
42634 eval wx_cv_func_$wx_func=no
42637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42638 conftest$ac_exeext conftest.$ac_ext
42641 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42642 { echo "$as_me:$LINENO: result: $ac_res" >&5
42643 echo "${ECHO_T}$ac_res" >&6; }
42645 if eval test \$wx_cv_func_$wx_func = yes
42647 cat >>confdefs.h <<_ACEOF
42648 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42664 cat >confcache <<\_ACEOF
42665 # This file is a shell script that caches the results of configure
42666 # tests run on this system so they can be shared between configure
42667 # scripts and configure runs, see configure's option --config-cache.
42668 # It is not useful on other systems. If it contains results you don't
42669 # want to keep, you may remove or edit it.
42671 # config.status only pays attention to the cache file if you give it
42672 # the --recheck option to rerun configure.
42674 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
42675 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42676 # following values.
42680 # The following way of writing the cache mishandles newlines in values,
42681 # but we know of no workaround that is simple, portable, and efficient.
42682 # So, we kill variables containing newlines.
42683 # Ultrix sh set writes to stderr and can't be redirected directly,
42684 # and sets the high bit in the cache file unless we assign to the vars.
42686 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42687 eval ac_val
=\$
$ac_var
42691 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42692 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42695 _
| IFS
| as_nl
) ;; #(
42696 *) $as_unset $ac_var ;;
42702 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42703 *${as_nl}ac_space
=\
*)
42704 # `set' does not quote correctly, so add quotes (double-quote
42705 # substitution turns \\\\ into \\, and sed turns \\ into \).
42708 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42711 # `set' quotes correctly as required by POSIX, so do not add quotes.
42712 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42721 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42723 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42725 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
42726 if test -w "$cache_file"; then
42727 test "x$cache_file" != "x/dev/null" &&
42728 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42729 echo "$as_me: updating cache $cache_file" >&6;}
42730 cat confcache
>$cache_file
42732 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42733 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42739 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42745 if test "$wxUSE_THREADS" = "yes" ; then
42746 if test "$USE_BEOS" = 1; then
42747 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42748 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42753 if test "$wxUSE_THREADS" = "yes" ; then
42756 THREAD_OPTS
="-pthread"
42757 if test "x$SUNCXX" = xyes
; then
42758 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
42762 *-*-solaris2* | *-*-sunos4* )
42763 if test "x$GCC" = "xyes"; then
42764 THREAD_OPTS
="-pthreads $THREAD_OPTS"
42768 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
42770 *-*-darwin* | *-*-cygwin* )
42774 THREAD_OPTS
="pthreads"
42777 if test "x$GCC" = "xyes"; then
42778 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
42786 if test "x$GCC" = "xyes"; then
42796 if test "x$GCC" != "xyes"; then
42797 THREAD_OPTS
="-Ethread"
42804 THREAD_OPTS
="none pthread"
42808 THREAD_OPTS
="$THREAD_OPTS pthread none"
42813 for flag
in $THREAD_OPTS; do
42816 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42817 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42821 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42822 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42823 THREADS_CFLAGS
="$flag"
42827 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42828 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42829 THREADS_LINK
="-l$flag"
42834 save_CFLAGS
="$CFLAGS"
42835 LIBS
="$THREADS_LINK $LIBS"
42836 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
42838 cat >conftest.
$ac_ext <<_ACEOF
42841 cat confdefs.h
>>conftest.
$ac_ext
42842 cat >>conftest.
$ac_ext <<_ACEOF
42843 /* end confdefs.h. */
42844 #include <pthread.h>
42848 pthread_create(0,0,0,0);
42853 rm -f conftest.
$ac_objext conftest
$ac_exeext
42854 if { (ac_try
="$ac_link"
42855 case "(($ac_try" in
42856 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42857 *) ac_try_echo=$ac_try;;
42859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42860 (eval "$ac_link") 2>conftest.er1
42862 grep -v '^ *+' conftest.er1 >conftest.err
42864 cat conftest.err >&5
42865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42866 (exit $ac_status); } && {
42867 test -z "$ac_c_werror_flag" ||
42868 test ! -s conftest.err
42869 } && test -s conftest$ac_exeext &&
42870 $as_test_x conftest$ac_exeext; then
42873 echo "$as_me: failed program was:" >&5
42874 sed 's/^/| /' conftest.$ac_ext >&5
42879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42880 conftest$ac_exeext conftest.$ac_ext
42883 CFLAGS="$save_CFLAGS"
42885 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42886 echo "${ECHO_T}$THREADS_OK" >&6; }
42887 if test "x$THREADS_OK" = "xyes"; then
42895 if test "x$THREADS_OK" != "xyes"; then
42897 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
42898 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
42900 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
42901 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
42902 LIBS="$THREADS_LINK $LIBS"
42904 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42905 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42909 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
42910 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
42911 flag="-D_THREAD_SAFE"
42914 flag="-D_THREAD_SAFE"
42917 flag="-D_REENTRANT"
42918 if test "x$GCC" != "xyes"; then
42919 flag="$flag -D_RWSTD_MULTI_THREAD"
42922 *solaris* | alpha*-osf*)
42923 flag="-D_REENTRANT"
42926 { echo "$as_me:$LINENO: result: ${flag}" >&5
42927 echo "${ECHO_T}${flag}" >&6; }
42928 if test "x$flag" != xno; then
42929 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42932 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42936 if test "$wxUSE_THREADS" = "yes" ; then
42938 for ac_func in thr_setconcurrency
42940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42941 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42943 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42944 echo $ECHO_N "(cached) $ECHO_C" >&6
42946 cat >conftest.$ac_ext <<_ACEOF
42949 cat confdefs.h >>conftest.$ac_ext
42950 cat >>conftest.$ac_ext <<_ACEOF
42951 /* end confdefs.h. */
42952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42954 #define $ac_func innocuous_$ac_func
42956 /* System header to define __stub macros and hopefully few prototypes,
42957 which can conflict with char $ac_func (); below.
42958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42959 <limits.h> exists even on freestanding compilers. */
42962 # include <limits.h>
42964 # include <assert.h>
42969 /* Override any GCC internal prototype to avoid an error.
42970 Use char because int might match the return type of a GCC
42971 builtin and then its argument prototype would still apply. */
42976 /* The GNU C library defines this for functions which it implements
42977 to always fail with ENOSYS. Some functions are actually named
42978 something starting with __ and the normal name is an alias. */
42979 #if defined __stub_$ac_func || defined __stub___$ac_func
42986 return $ac_func ();
42991 rm -f conftest.$ac_objext conftest$ac_exeext
42992 if { (ac_try="$ac_link"
42993 case "(($ac_try" in
42994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42995 *) ac_try_echo
=$ac_try;;
42997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42998 (eval "$ac_link") 2>conftest.er1
43000 grep -v '^ *+' conftest.er1
>conftest.err
43002 cat conftest.err
>&5
43003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43004 (exit $ac_status); } && {
43005 test -z "$ac_c_werror_flag" ||
43006 test ! -s conftest.err
43007 } && test -s conftest
$ac_exeext &&
43008 $as_test_x conftest
$ac_exeext; then
43009 eval "$as_ac_var=yes"
43011 echo "$as_me: failed program was:" >&5
43012 sed 's/^/| /' conftest.
$ac_ext >&5
43014 eval "$as_ac_var=no"
43017 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43018 conftest
$ac_exeext conftest.
$ac_ext
43020 ac_res
=`eval echo '${'$as_ac_var'}'`
43021 { echo "$as_me:$LINENO: result: $ac_res" >&5
43022 echo "${ECHO_T}$ac_res" >&6; }
43023 if test `eval echo '${'$as_ac_var'}'` = yes; then
43024 cat >>confdefs.h
<<_ACEOF
43025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43032 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43033 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43034 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43035 echo $ECHO_N "(cached) $ECHO_C" >&6
43039 ac_cpp
='$CXXCPP $CPPFLAGS'
43040 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43041 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43042 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43044 cat >conftest.
$ac_ext <<_ACEOF
43047 cat confdefs.h
>>conftest.
$ac_ext
43048 cat >>conftest.
$ac_ext <<_ACEOF
43049 /* end confdefs.h. */
43050 #include <pthread.h>
43051 void ThreadCleanupFunc(void *p);
43058 pthread_cleanup_push(ThreadCleanupFunc, p);
43059 pthread_cleanup_pop(0);
43065 rm -f conftest.
$ac_objext
43066 if { (ac_try
="$ac_compile"
43067 case "(($ac_try" in
43068 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43069 *) ac_try_echo=$ac_try;;
43071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43072 (eval "$ac_compile") 2>conftest.er1
43074 grep -v '^ *+' conftest.er1 >conftest.err
43076 cat conftest.err >&5
43077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43078 (exit $ac_status); } && {
43079 test -z "$ac_cxx_werror_flag" ||
43080 test ! -s conftest.err
43081 } && test -s conftest.$ac_objext; then
43083 wx_cv_func_pthread_cleanup=yes
43086 echo "$as_me: failed program was:" >&5
43087 sed 's/^/| /' conftest.$ac_ext >&5
43090 wx_cv_func_pthread_cleanup=no
43095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43097 ac_cpp='$CPP $CPPFLAGS'
43098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43104 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43105 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43106 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43107 cat >>confdefs.h <<\_ACEOF
43108 #define wxHAVE_PTHREAD_CLEANUP 1
43114 for ac_header in sched.h
43116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43117 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43118 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43119 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43120 echo $ECHO_N "(cached) $ECHO_C" >&6
43122 cat >conftest.$ac_ext <<_ACEOF
43125 cat confdefs.h >>conftest.$ac_ext
43126 cat >>conftest.$ac_ext <<_ACEOF
43127 /* end confdefs.h. */
43128 $ac_includes_default
43130 #include <$ac_header>
43132 rm -f conftest.$ac_objext
43133 if { (ac_try="$ac_compile"
43134 case "(($ac_try" in
43135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43136 *) ac_try_echo
=$ac_try;;
43138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43139 (eval "$ac_compile") 2>conftest.er1
43141 grep -v '^ *+' conftest.er1
>conftest.err
43143 cat conftest.err
>&5
43144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43145 (exit $ac_status); } && {
43146 test -z "$ac_c_werror_flag" ||
43147 test ! -s conftest.err
43148 } && test -s conftest.
$ac_objext; then
43149 eval "$as_ac_Header=yes"
43151 echo "$as_me: failed program was:" >&5
43152 sed 's/^/| /' conftest.
$ac_ext >&5
43154 eval "$as_ac_Header=no"
43157 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43159 ac_res
=`eval echo '${'$as_ac_Header'}'`
43160 { echo "$as_me:$LINENO: result: $ac_res" >&5
43161 echo "${ECHO_T}$ac_res" >&6; }
43162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43163 cat >>confdefs.h
<<_ACEOF
43164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43171 if test "$ac_cv_header_sched_h" = "yes"; then
43172 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43173 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43174 if test "${ac_cv_func_sched_yield+set}" = set; then
43175 echo $ECHO_N "(cached) $ECHO_C" >&6
43177 cat >conftest.
$ac_ext <<_ACEOF
43180 cat confdefs.h
>>conftest.
$ac_ext
43181 cat >>conftest.
$ac_ext <<_ACEOF
43182 /* end confdefs.h. */
43183 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43185 #define sched_yield innocuous_sched_yield
43187 /* System header to define __stub macros and hopefully few prototypes,
43188 which can conflict with char sched_yield (); below.
43189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43190 <limits.h> exists even on freestanding compilers. */
43193 # include <limits.h>
43195 # include <assert.h>
43200 /* Override any GCC internal prototype to avoid an error.
43201 Use char because int might match the return type of a GCC
43202 builtin and then its argument prototype would still apply. */
43206 char sched_yield ();
43207 /* The GNU C library defines this for functions which it implements
43208 to always fail with ENOSYS. Some functions are actually named
43209 something starting with __ and the normal name is an alias. */
43210 #if defined __stub_sched_yield || defined __stub___sched_yield
43217 return sched_yield ();
43222 rm -f conftest.
$ac_objext conftest
$ac_exeext
43223 if { (ac_try
="$ac_link"
43224 case "(($ac_try" in
43225 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43226 *) ac_try_echo=$ac_try;;
43228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43229 (eval "$ac_link") 2>conftest.er1
43231 grep -v '^ *+' conftest.er1 >conftest.err
43233 cat conftest.err >&5
43234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43235 (exit $ac_status); } && {
43236 test -z "$ac_c_werror_flag" ||
43237 test ! -s conftest.err
43238 } && test -s conftest$ac_exeext &&
43239 $as_test_x conftest$ac_exeext; then
43240 ac_cv_func_sched_yield=yes
43242 echo "$as_me: failed program was:" >&5
43243 sed 's/^/| /' conftest.$ac_ext >&5
43245 ac_cv_func_sched_yield=no
43248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43249 conftest$ac_exeext conftest.$ac_ext
43251 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43252 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43253 if test $ac_cv_func_sched_yield = yes; then
43254 cat >>confdefs.h <<\_ACEOF
43255 #define HAVE_SCHED_YIELD 1
43260 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43261 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43262 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43263 echo $ECHO_N "(cached) $ECHO_C" >&6
43265 ac_check_lib_save_LIBS=$LIBS
43266 LIBS="-lposix4 $LIBS"
43267 cat >conftest.$ac_ext <<_ACEOF
43270 cat confdefs.h >>conftest.$ac_ext
43271 cat >>conftest.$ac_ext <<_ACEOF
43272 /* end confdefs.h. */
43274 /* Override any GCC internal prototype to avoid an error.
43275 Use char because int might match the return type of a GCC
43276 builtin and then its argument prototype would still apply. */
43280 char sched_yield ();
43284 return sched_yield ();
43289 rm -f conftest.$ac_objext conftest$ac_exeext
43290 if { (ac_try="$ac_link"
43291 case "(($ac_try" in
43292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43293 *) ac_try_echo
=$ac_try;;
43295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43296 (eval "$ac_link") 2>conftest.er1
43298 grep -v '^ *+' conftest.er1
>conftest.err
43300 cat conftest.err
>&5
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); } && {
43303 test -z "$ac_c_werror_flag" ||
43304 test ! -s conftest.err
43305 } && test -s conftest
$ac_exeext &&
43306 $as_test_x conftest
$ac_exeext; then
43307 ac_cv_lib_posix4_sched_yield
=yes
43309 echo "$as_me: failed program was:" >&5
43310 sed 's/^/| /' conftest.
$ac_ext >&5
43312 ac_cv_lib_posix4_sched_yield
=no
43315 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43316 conftest
$ac_exeext conftest.
$ac_ext
43317 LIBS
=$ac_check_lib_save_LIBS
43319 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43320 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43321 if test $ac_cv_lib_posix4_sched_yield = yes; then
43322 cat >>confdefs.h
<<\_ACEOF
43323 #define HAVE_SCHED_YIELD 1
43325 POSIX4_LINK
=" -lposix4"
43327 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43328 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43339 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43340 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43341 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
43342 echo $ECHO_N "(cached) $ECHO_C" >&6
43344 cat >conftest.
$ac_ext <<_ACEOF
43347 cat confdefs.h
>>conftest.
$ac_ext
43348 cat >>conftest.
$ac_ext <<_ACEOF
43349 /* end confdefs.h. */
43350 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43352 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43354 /* System header to define __stub macros and hopefully few prototypes,
43355 which can conflict with char pthread_attr_getschedpolicy (); below.
43356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43357 <limits.h> exists even on freestanding compilers. */
43360 # include <limits.h>
43362 # include <assert.h>
43365 #undef pthread_attr_getschedpolicy
43367 /* Override any GCC internal prototype to avoid an error.
43368 Use char because int might match the return type of a GCC
43369 builtin and then its argument prototype would still apply. */
43373 char pthread_attr_getschedpolicy ();
43374 /* The GNU C library defines this for functions which it implements
43375 to always fail with ENOSYS. Some functions are actually named
43376 something starting with __ and the normal name is an alias. */
43377 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43384 return pthread_attr_getschedpolicy ();
43389 rm -f conftest.
$ac_objext conftest
$ac_exeext
43390 if { (ac_try
="$ac_link"
43391 case "(($ac_try" in
43392 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43393 *) ac_try_echo=$ac_try;;
43395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43396 (eval "$ac_link") 2>conftest.er1
43398 grep -v '^ *+' conftest.er1 >conftest.err
43400 cat conftest.err >&5
43401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43402 (exit $ac_status); } && {
43403 test -z "$ac_c_werror_flag" ||
43404 test ! -s conftest.err
43405 } && test -s conftest$ac_exeext &&
43406 $as_test_x conftest$ac_exeext; then
43407 ac_cv_func_pthread_attr_getschedpolicy=yes
43409 echo "$as_me: failed program was:" >&5
43410 sed 's/^/| /' conftest.$ac_ext >&5
43412 ac_cv_func_pthread_attr_getschedpolicy=no
43415 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43416 conftest$ac_exeext conftest.$ac_ext
43418 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43419 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43420 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43421 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43422 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43423 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43424 echo $ECHO_N "(cached) $ECHO_C" >&6
43426 cat >conftest.$ac_ext <<_ACEOF
43429 cat confdefs.h >>conftest.$ac_ext
43430 cat >>conftest.$ac_ext <<_ACEOF
43431 /* end confdefs.h. */
43432 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43434 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43436 /* System header to define __stub macros and hopefully few prototypes,
43437 which can conflict with char pthread_attr_setschedparam (); below.
43438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43439 <limits.h> exists even on freestanding compilers. */
43442 # include <limits.h>
43444 # include <assert.h>
43447 #undef pthread_attr_setschedparam
43449 /* Override any GCC internal prototype to avoid an error.
43450 Use char because int might match the return type of a GCC
43451 builtin and then its argument prototype would still apply. */
43455 char pthread_attr_setschedparam ();
43456 /* The GNU C library defines this for functions which it implements
43457 to always fail with ENOSYS. Some functions are actually named
43458 something starting with __ and the normal name is an alias. */
43459 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43466 return pthread_attr_setschedparam ();
43471 rm -f conftest.$ac_objext conftest$ac_exeext
43472 if { (ac_try="$ac_link"
43473 case "(($ac_try" in
43474 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43475 *) ac_try_echo
=$ac_try;;
43477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43478 (eval "$ac_link") 2>conftest.er1
43480 grep -v '^ *+' conftest.er1
>conftest.err
43482 cat conftest.err
>&5
43483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43484 (exit $ac_status); } && {
43485 test -z "$ac_c_werror_flag" ||
43486 test ! -s conftest.err
43487 } && test -s conftest
$ac_exeext &&
43488 $as_test_x conftest
$ac_exeext; then
43489 ac_cv_func_pthread_attr_setschedparam
=yes
43491 echo "$as_me: failed program was:" >&5
43492 sed 's/^/| /' conftest.
$ac_ext >&5
43494 ac_cv_func_pthread_attr_setschedparam
=no
43497 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43498 conftest
$ac_exeext conftest.
$ac_ext
43500 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43501 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43502 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43503 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43504 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43505 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43506 echo $ECHO_N "(cached) $ECHO_C" >&6
43508 cat >conftest.
$ac_ext <<_ACEOF
43511 cat confdefs.h
>>conftest.
$ac_ext
43512 cat >>conftest.
$ac_ext <<_ACEOF
43513 /* end confdefs.h. */
43514 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43516 #define sched_get_priority_max innocuous_sched_get_priority_max
43518 /* System header to define __stub macros and hopefully few prototypes,
43519 which can conflict with char sched_get_priority_max (); below.
43520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43521 <limits.h> exists even on freestanding compilers. */
43524 # include <limits.h>
43526 # include <assert.h>
43529 #undef sched_get_priority_max
43531 /* Override any GCC internal prototype to avoid an error.
43532 Use char because int might match the return type of a GCC
43533 builtin and then its argument prototype would still apply. */
43537 char sched_get_priority_max ();
43538 /* The GNU C library defines this for functions which it implements
43539 to always fail with ENOSYS. Some functions are actually named
43540 something starting with __ and the normal name is an alias. */
43541 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43548 return sched_get_priority_max ();
43553 rm -f conftest.
$ac_objext conftest
$ac_exeext
43554 if { (ac_try
="$ac_link"
43555 case "(($ac_try" in
43556 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43557 *) ac_try_echo=$ac_try;;
43559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43560 (eval "$ac_link") 2>conftest.er1
43562 grep -v '^ *+' conftest.er1 >conftest.err
43564 cat conftest.err >&5
43565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43566 (exit $ac_status); } && {
43567 test -z "$ac_c_werror_flag" ||
43568 test ! -s conftest.err
43569 } && test -s conftest$ac_exeext &&
43570 $as_test_x conftest$ac_exeext; then
43571 ac_cv_func_sched_get_priority_max=yes
43573 echo "$as_me: failed program was:" >&5
43574 sed 's/^/| /' conftest.$ac_ext >&5
43576 ac_cv_func_sched_get_priority_max=no
43579 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43580 conftest$ac_exeext conftest.$ac_ext
43582 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43583 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43584 if test $ac_cv_func_sched_get_priority_max = yes; then
43587 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43588 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43589 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43590 echo $ECHO_N "(cached) $ECHO_C" >&6
43592 ac_check_lib_save_LIBS=$LIBS
43593 LIBS="-lposix4 $LIBS"
43594 cat >conftest.$ac_ext <<_ACEOF
43597 cat confdefs.h >>conftest.$ac_ext
43598 cat >>conftest.$ac_ext <<_ACEOF
43599 /* end confdefs.h. */
43601 /* Override any GCC internal prototype to avoid an error.
43602 Use char because int might match the return type of a GCC
43603 builtin and then its argument prototype would still apply. */
43607 char sched_get_priority_max ();
43611 return sched_get_priority_max ();
43616 rm -f conftest.$ac_objext conftest$ac_exeext
43617 if { (ac_try="$ac_link"
43618 case "(($ac_try" in
43619 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43620 *) ac_try_echo
=$ac_try;;
43622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43623 (eval "$ac_link") 2>conftest.er1
43625 grep -v '^ *+' conftest.er1
>conftest.err
43627 cat conftest.err
>&5
43628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43629 (exit $ac_status); } && {
43630 test -z "$ac_c_werror_flag" ||
43631 test ! -s conftest.err
43632 } && test -s conftest
$ac_exeext &&
43633 $as_test_x conftest
$ac_exeext; then
43634 ac_cv_lib_posix4_sched_get_priority_max
=yes
43636 echo "$as_me: failed program was:" >&5
43637 sed 's/^/| /' conftest.
$ac_ext >&5
43639 ac_cv_lib_posix4_sched_get_priority_max
=no
43642 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43643 conftest
$ac_exeext conftest.
$ac_ext
43644 LIBS
=$ac_check_lib_save_LIBS
43646 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43647 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43648 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43651 POSIX4_LINK
=" -lposix4"
43665 if test "$HAVE_PRIOR_FUNCS" = 1; then
43666 cat >>confdefs.h
<<\_ACEOF
43667 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43671 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43672 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43675 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43676 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43677 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43678 echo $ECHO_N "(cached) $ECHO_C" >&6
43680 cat >conftest.
$ac_ext <<_ACEOF
43683 cat confdefs.h
>>conftest.
$ac_ext
43684 cat >>conftest.
$ac_ext <<_ACEOF
43685 /* end confdefs.h. */
43686 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43688 #define pthread_cancel innocuous_pthread_cancel
43690 /* System header to define __stub macros and hopefully few prototypes,
43691 which can conflict with char pthread_cancel (); below.
43692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43693 <limits.h> exists even on freestanding compilers. */
43696 # include <limits.h>
43698 # include <assert.h>
43701 #undef pthread_cancel
43703 /* Override any GCC internal prototype to avoid an error.
43704 Use char because int might match the return type of a GCC
43705 builtin and then its argument prototype would still apply. */
43709 char pthread_cancel ();
43710 /* The GNU C library defines this for functions which it implements
43711 to always fail with ENOSYS. Some functions are actually named
43712 something starting with __ and the normal name is an alias. */
43713 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43720 return pthread_cancel ();
43725 rm -f conftest.
$ac_objext conftest
$ac_exeext
43726 if { (ac_try
="$ac_link"
43727 case "(($ac_try" in
43728 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43729 *) ac_try_echo=$ac_try;;
43731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43732 (eval "$ac_link") 2>conftest.er1
43734 grep -v '^ *+' conftest.er1 >conftest.err
43736 cat conftest.err >&5
43737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43738 (exit $ac_status); } && {
43739 test -z "$ac_c_werror_flag" ||
43740 test ! -s conftest.err
43741 } && test -s conftest$ac_exeext &&
43742 $as_test_x conftest$ac_exeext; then
43743 ac_cv_func_pthread_cancel=yes
43745 echo "$as_me: failed program was:" >&5
43746 sed 's/^/| /' conftest.$ac_ext >&5
43748 ac_cv_func_pthread_cancel=no
43751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43752 conftest$ac_exeext conftest.$ac_ext
43754 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43755 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43756 if test $ac_cv_func_pthread_cancel = yes; then
43757 cat >>confdefs.h <<\_ACEOF
43758 #define HAVE_PTHREAD_CANCEL 1
43762 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43763 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43767 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43768 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43769 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43770 echo $ECHO_N "(cached) $ECHO_C" >&6
43772 cat >conftest.$ac_ext <<_ACEOF
43775 cat confdefs.h >>conftest.$ac_ext
43776 cat >>conftest.$ac_ext <<_ACEOF
43777 /* end confdefs.h. */
43778 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43780 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43782 /* System header to define __stub macros and hopefully few prototypes,
43783 which can conflict with char pthread_mutex_timedlock (); below.
43784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43785 <limits.h> exists even on freestanding compilers. */
43788 # include <limits.h>
43790 # include <assert.h>
43793 #undef pthread_mutex_timedlock
43795 /* Override any GCC internal prototype to avoid an error.
43796 Use char because int might match the return type of a GCC
43797 builtin and then its argument prototype would still apply. */
43801 char pthread_mutex_timedlock ();
43802 /* The GNU C library defines this for functions which it implements
43803 to always fail with ENOSYS. Some functions are actually named
43804 something starting with __ and the normal name is an alias. */
43805 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43812 return pthread_mutex_timedlock ();
43817 rm -f conftest.$ac_objext conftest$ac_exeext
43818 if { (ac_try="$ac_link"
43819 case "(($ac_try" in
43820 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43821 *) ac_try_echo
=$ac_try;;
43823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43824 (eval "$ac_link") 2>conftest.er1
43826 grep -v '^ *+' conftest.er1
>conftest.err
43828 cat conftest.err
>&5
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); } && {
43831 test -z "$ac_c_werror_flag" ||
43832 test ! -s conftest.err
43833 } && test -s conftest
$ac_exeext &&
43834 $as_test_x conftest
$ac_exeext; then
43835 ac_cv_func_pthread_mutex_timedlock
=yes
43837 echo "$as_me: failed program was:" >&5
43838 sed 's/^/| /' conftest.
$ac_ext >&5
43840 ac_cv_func_pthread_mutex_timedlock
=no
43843 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43844 conftest
$ac_exeext conftest.
$ac_ext
43846 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43847 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43848 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43849 cat >>confdefs.h
<<\_ACEOF
43850 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43854 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43855 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43859 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43860 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43861 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43862 echo $ECHO_N "(cached) $ECHO_C" >&6
43864 cat >conftest.
$ac_ext <<_ACEOF
43867 cat confdefs.h
>>conftest.
$ac_ext
43868 cat >>conftest.
$ac_ext <<_ACEOF
43869 /* end confdefs.h. */
43870 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43872 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43874 /* System header to define __stub macros and hopefully few prototypes,
43875 which can conflict with char pthread_attr_setstacksize (); below.
43876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43877 <limits.h> exists even on freestanding compilers. */
43880 # include <limits.h>
43882 # include <assert.h>
43885 #undef pthread_attr_setstacksize
43887 /* Override any GCC internal prototype to avoid an error.
43888 Use char because int might match the return type of a GCC
43889 builtin and then its argument prototype would still apply. */
43893 char pthread_attr_setstacksize ();
43894 /* The GNU C library defines this for functions which it implements
43895 to always fail with ENOSYS. Some functions are actually named
43896 something starting with __ and the normal name is an alias. */
43897 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
43904 return pthread_attr_setstacksize ();
43909 rm -f conftest.
$ac_objext conftest
$ac_exeext
43910 if { (ac_try
="$ac_link"
43911 case "(($ac_try" in
43912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43913 *) ac_try_echo=$ac_try;;
43915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43916 (eval "$ac_link") 2>conftest.er1
43918 grep -v '^ *+' conftest.er1 >conftest.err
43920 cat conftest.err >&5
43921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43922 (exit $ac_status); } && {
43923 test -z "$ac_c_werror_flag" ||
43924 test ! -s conftest.err
43925 } && test -s conftest$ac_exeext &&
43926 $as_test_x conftest$ac_exeext; then
43927 ac_cv_func_pthread_attr_setstacksize=yes
43929 echo "$as_me: failed program was:" >&5
43930 sed 's/^/| /' conftest.$ac_ext >&5
43932 ac_cv_func_pthread_attr_setstacksize=no
43935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43936 conftest$ac_exeext conftest.$ac_ext
43938 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
43939 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
43940 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
43941 cat >>confdefs.h <<\_ACEOF
43942 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
43949 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
43950 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
43951 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
43952 echo $ECHO_N "(cached) $ECHO_C" >&6
43955 cat >conftest.$ac_ext <<_ACEOF
43958 cat confdefs.h >>conftest.$ac_ext
43959 cat >>conftest.$ac_ext <<_ACEOF
43960 /* end confdefs.h. */
43961 #include <pthread.h>
43966 pthread_mutexattr_t attr;
43967 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
43973 rm -f conftest.$ac_objext
43974 if { (ac_try="$ac_compile"
43975 case "(($ac_try" in
43976 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43977 *) ac_try_echo
=$ac_try;;
43979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43980 (eval "$ac_compile") 2>conftest.er1
43982 grep -v '^ *+' conftest.er1
>conftest.err
43984 cat conftest.err
>&5
43985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43986 (exit $ac_status); } && {
43987 test -z "$ac_c_werror_flag" ||
43988 test ! -s conftest.err
43989 } && test -s conftest.
$ac_objext; then
43990 wx_cv_type_pthread_mutexattr_t
=yes
43992 echo "$as_me: failed program was:" >&5
43993 sed 's/^/| /' conftest.
$ac_ext >&5
43995 wx_cv_type_pthread_mutexattr_t
=no
43999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44002 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44003 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44005 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44006 cat >>confdefs.h
<<\_ACEOF
44007 #define HAVE_PTHREAD_MUTEXATTR_T 1
44011 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44012 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44013 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44014 echo $ECHO_N "(cached) $ECHO_C" >&6
44017 cat >conftest.
$ac_ext <<_ACEOF
44020 cat confdefs.h
>>conftest.
$ac_ext
44021 cat >>conftest.
$ac_ext <<_ACEOF
44022 /* end confdefs.h. */
44023 #include <pthread.h>
44028 pthread_mutexattr_t attr;
44029 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44035 rm -f conftest.
$ac_objext
44036 if { (ac_try
="$ac_compile"
44037 case "(($ac_try" in
44038 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44039 *) ac_try_echo=$ac_try;;
44041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44042 (eval "$ac_compile") 2>conftest.er1
44044 grep -v '^ *+' conftest.er1 >conftest.err
44046 cat conftest.err >&5
44047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44048 (exit $ac_status); } && {
44049 test -z "$ac_c_werror_flag" ||
44050 test ! -s conftest.err
44051 } && test -s conftest.$ac_objext; then
44052 wx_cv_func_pthread_mutexattr_settype_decl=yes
44054 echo "$as_me: failed program was:" >&5
44055 sed 's/^/| /' conftest.$ac_ext >&5
44057 wx_cv_func_pthread_mutexattr_settype_decl=no
44061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44064 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44065 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44066 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44067 cat >>confdefs.h <<\_ACEOF
44068 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44073 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44074 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44075 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44076 echo $ECHO_N "(cached) $ECHO_C" >&6
44079 cat >conftest.$ac_ext <<_ACEOF
44082 cat confdefs.h >>conftest.$ac_ext
44083 cat >>conftest.$ac_ext <<_ACEOF
44084 /* end confdefs.h. */
44085 #include <pthread.h>
44090 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44096 rm -f conftest.$ac_objext
44097 if { (ac_try="$ac_compile"
44098 case "(($ac_try" in
44099 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44100 *) ac_try_echo
=$ac_try;;
44102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44103 (eval "$ac_compile") 2>conftest.er1
44105 grep -v '^ *+' conftest.er1
>conftest.err
44107 cat conftest.err
>&5
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); } && {
44110 test -z "$ac_c_werror_flag" ||
44111 test ! -s conftest.err
44112 } && test -s conftest.
$ac_objext; then
44114 wx_cv_type_pthread_rec_mutex_init
=yes
44117 echo "$as_me: failed program was:" >&5
44118 sed 's/^/| /' conftest.
$ac_ext >&5
44121 wx_cv_type_pthread_rec_mutex_init
=no
44126 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44129 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44130 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44131 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44132 cat >>confdefs.h
<<\_ACEOF
44133 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44137 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44138 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44142 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44143 if test "$USE_NETBSD" = 1; then
44144 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44145 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44146 wxUSE_COMPILER_TLS
=no
44148 wxUSE_COMPILER_TLS
=yes
44152 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44153 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44154 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44155 if test "${wx_cv_cc___thread+set}" = set; then
44156 echo $ECHO_N "(cached) $ECHO_C" >&6
44159 cat >conftest.
$ac_ext <<_ACEOF
44162 cat confdefs.h
>>conftest.
$ac_ext
44163 cat >>conftest.
$ac_ext <<_ACEOF
44164 /* end confdefs.h. */
44165 #include <pthread.h>
44170 static __thread int n = 0;
44171 static __thread int *p = 0;
44177 rm -f conftest.
$ac_objext
44178 if { (ac_try
="$ac_compile"
44179 case "(($ac_try" in
44180 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44181 *) ac_try_echo=$ac_try;;
44183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44184 (eval "$ac_compile") 2>conftest.er1
44186 grep -v '^ *+' conftest.er1 >conftest.err
44188 cat conftest.err >&5
44189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44190 (exit $ac_status); } && {
44191 test -z "$ac_c_werror_flag" ||
44192 test ! -s conftest.err
44193 } && test -s conftest.$ac_objext; then
44194 wx_cv_cc___thread=yes
44196 echo "$as_me: failed program was:" >&5
44197 sed 's/^/| /' conftest.$ac_ext >&5
44199 wx_cv_cc___thread=no
44203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44207 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44208 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44210 if test "$wx_cv_cc___thread" = "yes"; then
44216 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44217 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44219 if test "x$GCC" = "xyes" ; then
44221 if test -z "" ; then
44223 ax_gcc_option_test="int main()
44230 ax_gcc_option_test=""
44235 # Dump the test program to file
44236 cat <<EOF > conftest.c
44237 $ax_gcc_option_test
44240 # Dump back the file to the log, useful for debugging purposes
44241 { ac_try='cat conftest.c 1>&5'
44242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44243 (eval $ac_try) 2>&5
44245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44246 (exit $ac_status); }; }
44248 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
44249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44250 (eval $ac_try) 2>&5
44252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44253 (exit $ac_status); }; } ; then
44255 { echo "$as_me:$LINENO: result: yes" >&5
44256 echo "${ECHO_T}yes" >&6; }
44258 ax_gcc_version_option=yes
44263 { echo "$as_me:$LINENO: result: no" >&5
44264 echo "${ECHO_T}no" >&6; }
44266 ax_gcc_version_option=no
44274 { echo "$as_me:$LINENO: result: no gcc available" >&5
44275 echo "${ECHO_T}no gcc available" >&6; }
44280 if test "x$GXX" = "xyes"; then
44282 if test "x$ax_gxx_version_option" != "no"; then
44284 { echo "$as_me:$LINENO: checking gxx version" >&5
44285 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44286 if test "${ax_cv_gxx_version+set}" = set; then
44287 echo $ECHO_N "(cached) $ECHO_C" >&6
44290 ax_cv_gxx_version="`$CXX -dumpversion`"
44291 if test "x$ax_cv_gxx_version" = "x"; then
44293 ax_cv_gxx_version=""
44299 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44300 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44301 GXX_VERSION=$ax_cv_gxx_version
44310 if test -n "$ax_cv_gxx_version"; then
44311 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44312 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44313 case "$ax_cv_gxx_version" in
44315 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44316 echo "${ECHO_T}no, it's broken" >&6; }
44317 wx_cv_cc___thread=no
44320 { echo "$as_me:$LINENO: result: yes, it works" >&5
44321 echo "${ECHO_T}yes, it works" >&6; }
44327 if test "$wx_cv_cc___thread" = "yes"; then
44328 cat >>confdefs.h <<\_ACEOF
44329 #define HAVE___THREAD_KEYWORD 1
44337 if test "$wxUSE_THREADS" = "yes" ; then
44339 x86_64-*-mingw32* )
44342 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44343 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44344 if test "${wx_cv_cflags_mthread+set}" = set; then
44345 echo $ECHO_N "(cached) $ECHO_C" >&6
44348 CFLAGS_OLD="$CFLAGS"
44349 CFLAGS="-mthreads $CFLAGS"
44350 cat >conftest.$ac_ext <<_ACEOF
44353 cat confdefs.h >>conftest.$ac_ext
44354 cat >>conftest.$ac_ext <<_ACEOF
44355 /* end confdefs.h. */
44365 rm -f conftest.$ac_objext
44366 if { (ac_try="$ac_compile"
44367 case "(($ac_try" in
44368 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44369 *) ac_try_echo
=$ac_try;;
44371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44372 (eval "$ac_compile") 2>conftest.er1
44374 grep -v '^ *+' conftest.er1
>conftest.err
44376 cat conftest.err
>&5
44377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44378 (exit $ac_status); } && {
44379 test -z "$ac_c_werror_flag" ||
44380 test ! -s conftest.err
44381 } && test -s conftest.
$ac_objext; then
44382 wx_cv_cflags_mthread
=yes
44384 echo "$as_me: failed program was:" >&5
44385 sed 's/^/| /' conftest.
$ac_ext >&5
44387 wx_cv_cflags_mthread
=no
44391 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44395 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44396 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44398 if test "$wx_cv_cflags_mthread" = "yes"; then
44399 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
44400 LDFLAGS
="$LDFLAGS -mthreads"
44402 CFLAGS
="$CFLAGS_OLD"
44406 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44407 LDFLAGS
="$LDFLAGS -Zmt"
44413 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44414 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44415 if test "${ac_cv_func_localtime_r+set}" = set; then
44416 echo $ECHO_N "(cached) $ECHO_C" >&6
44418 cat >conftest.
$ac_ext <<_ACEOF
44421 cat confdefs.h
>>conftest.
$ac_ext
44422 cat >>conftest.
$ac_ext <<_ACEOF
44423 /* end confdefs.h. */
44424 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44426 #define localtime_r innocuous_localtime_r
44428 /* System header to define __stub macros and hopefully few prototypes,
44429 which can conflict with char localtime_r (); below.
44430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44431 <limits.h> exists even on freestanding compilers. */
44434 # include <limits.h>
44436 # include <assert.h>
44441 /* Override any GCC internal prototype to avoid an error.
44442 Use char because int might match the return type of a GCC
44443 builtin and then its argument prototype would still apply. */
44447 char localtime_r ();
44448 /* The GNU C library defines this for functions which it implements
44449 to always fail with ENOSYS. Some functions are actually named
44450 something starting with __ and the normal name is an alias. */
44451 #if defined __stub_localtime_r || defined __stub___localtime_r
44458 return localtime_r ();
44463 rm -f conftest.
$ac_objext conftest
$ac_exeext
44464 if { (ac_try
="$ac_link"
44465 case "(($ac_try" in
44466 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44467 *) ac_try_echo=$ac_try;;
44469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44470 (eval "$ac_link") 2>conftest.er1
44472 grep -v '^ *+' conftest.er1 >conftest.err
44474 cat conftest.err >&5
44475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44476 (exit $ac_status); } && {
44477 test -z "$ac_c_werror_flag" ||
44478 test ! -s conftest.err
44479 } && test -s conftest$ac_exeext &&
44480 $as_test_x conftest$ac_exeext; then
44481 ac_cv_func_localtime_r=yes
44483 echo "$as_me: failed program was:" >&5
44484 sed 's/^/| /' conftest.$ac_ext >&5
44486 ac_cv_func_localtime_r=no
44489 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44490 conftest$ac_exeext conftest.$ac_ext
44492 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
44493 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44494 if test $ac_cv_func_localtime_r = yes; then
44495 cat >>confdefs.h <<\_ACEOF
44496 #define HAVE_LOCALTIME_R 1
44501 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44502 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44503 if test "${ac_cv_func_gmtime_r+set}" = set; then
44504 echo $ECHO_N "(cached) $ECHO_C" >&6
44506 cat >conftest.$ac_ext <<_ACEOF
44509 cat confdefs.h >>conftest.$ac_ext
44510 cat >>conftest.$ac_ext <<_ACEOF
44511 /* end confdefs.h. */
44512 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44514 #define gmtime_r innocuous_gmtime_r
44516 /* System header to define __stub macros and hopefully few prototypes,
44517 which can conflict with char gmtime_r (); below.
44518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44519 <limits.h> exists even on freestanding compilers. */
44522 # include <limits.h>
44524 # include <assert.h>
44529 /* Override any GCC internal prototype to avoid an error.
44530 Use char because int might match the return type of a GCC
44531 builtin and then its argument prototype would still apply. */
44536 /* The GNU C library defines this for functions which it implements
44537 to always fail with ENOSYS. Some functions are actually named
44538 something starting with __ and the normal name is an alias. */
44539 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44546 return gmtime_r ();
44551 rm -f conftest.$ac_objext conftest$ac_exeext
44552 if { (ac_try="$ac_link"
44553 case "(($ac_try" in
44554 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44555 *) ac_try_echo
=$ac_try;;
44557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44558 (eval "$ac_link") 2>conftest.er1
44560 grep -v '^ *+' conftest.er1
>conftest.err
44562 cat conftest.err
>&5
44563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44564 (exit $ac_status); } && {
44565 test -z "$ac_c_werror_flag" ||
44566 test ! -s conftest.err
44567 } && test -s conftest
$ac_exeext &&
44568 $as_test_x conftest
$ac_exeext; then
44569 ac_cv_func_gmtime_r
=yes
44571 echo "$as_me: failed program was:" >&5
44572 sed 's/^/| /' conftest.
$ac_ext >&5
44574 ac_cv_func_gmtime_r
=no
44577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44578 conftest
$ac_exeext conftest.
$ac_ext
44580 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44581 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44582 if test $ac_cv_func_gmtime_r = yes; then
44583 cat >>confdefs.h
<<\_ACEOF
44584 #define HAVE_GMTIME_R 1
44593 ac_cpp
='$CPP $CPPFLAGS'
44594 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44595 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44596 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44598 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44599 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44601 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44602 echo $ECHO_N "(cached) $ECHO_C" >&6
44606 ################################################################
44608 ac_cv_func_which_gethostbyname_r
=unknown
44611 # ONE ARGUMENT (sanity check)
44614 # This should fail, as there is no variant of gethostbyname_r() that takes
44615 # a single argument. If it actually compiles, then we can assume that
44616 # netdb.h is not declaring the function, and the compiler is thereby
44617 # assuming an implicit prototype. In which case, we're out of luck.
44619 cat >conftest.
$ac_ext <<_ACEOF
44622 cat confdefs.h
>>conftest.
$ac_ext
44623 cat >>conftest.
$ac_ext <<_ACEOF
44624 /* end confdefs.h. */
44630 char *name = "www.gnu.org";
44631 (void)gethostbyname_r(name) /* ; */
44638 rm -f conftest.
$ac_objext
44639 if { (ac_try
="$ac_compile"
44640 case "(($ac_try" in
44641 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44642 *) ac_try_echo=$ac_try;;
44644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44645 (eval "$ac_compile") 2>conftest.er1
44647 grep -v '^ *+' conftest.er1 >conftest.err
44649 cat conftest.err >&5
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); } && {
44652 test -z "$ac_c_werror_flag" ||
44653 test ! -s conftest.err
44654 } && test -s conftest.$ac_objext; then
44655 ac_cv_func_which_gethostbyname_r=no
44658 echo "$as_me: failed program was:" >&5
44659 sed 's/^/| /' conftest.$ac_ext >&5
44664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44671 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44673 cat >conftest.$ac_ext <<_ACEOF
44676 cat confdefs.h >>conftest.$ac_ext
44677 cat >>conftest.$ac_ext <<_ACEOF
44678 /* end confdefs.h. */
44684 char *name = "www.gnu.org";
44685 struct hostent ret, *retp;
44689 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44696 rm -f conftest.$ac_objext
44697 if { (ac_try="$ac_compile"
44698 case "(($ac_try" in
44699 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44700 *) ac_try_echo
=$ac_try;;
44702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44703 (eval "$ac_compile") 2>conftest.er1
44705 grep -v '^ *+' conftest.er1
>conftest.err
44707 cat conftest.err
>&5
44708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44709 (exit $ac_status); } && {
44710 test -z "$ac_c_werror_flag" ||
44711 test ! -s conftest.err
44712 } && test -s conftest.
$ac_objext; then
44713 ac_cv_func_which_gethostbyname_r
=six
44716 echo "$as_me: failed program was:" >&5
44717 sed 's/^/| /' conftest.
$ac_ext >&5
44722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44731 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44733 cat >conftest.
$ac_ext <<_ACEOF
44736 cat confdefs.h
>>conftest.
$ac_ext
44737 cat >>conftest.
$ac_ext <<_ACEOF
44738 /* end confdefs.h. */
44744 char *name = "www.gnu.org";
44745 struct hostent ret;
44749 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44756 rm -f conftest.
$ac_objext
44757 if { (ac_try
="$ac_compile"
44758 case "(($ac_try" in
44759 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44760 *) ac_try_echo=$ac_try;;
44762 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44763 (eval "$ac_compile") 2>conftest.er1
44765 grep -v '^ *+' conftest.er1 >conftest.err
44767 cat conftest.err >&5
44768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44769 (exit $ac_status); } && {
44770 test -z "$ac_c_werror_flag" ||
44771 test ! -s conftest.err
44772 } && test -s conftest.$ac_objext; then
44773 ac_cv_func_which_gethostbyname_r=five
44776 echo "$as_me: failed program was:" >&5
44777 sed 's/^/| /' conftest.$ac_ext >&5
44782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44788 # (e.g. AIX, HP-UX, Tru64)
44791 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44793 cat >conftest.$ac_ext <<_ACEOF
44796 cat confdefs.h >>conftest.$ac_ext
44797 cat >>conftest.$ac_ext <<_ACEOF
44798 /* end confdefs.h. */
44804 char *name = "www.gnu.org";
44805 struct hostent ret;
44806 struct hostent_data data;
44807 (void)gethostbyname_r(name, &ret, &data) /* ; */
44814 rm -f conftest.$ac_objext
44815 if { (ac_try="$ac_compile"
44816 case "(($ac_try" in
44817 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44818 *) ac_try_echo
=$ac_try;;
44820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44821 (eval "$ac_compile") 2>conftest.er1
44823 grep -v '^ *+' conftest.er1
>conftest.err
44825 cat conftest.err
>&5
44826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44827 (exit $ac_status); } && {
44828 test -z "$ac_c_werror_flag" ||
44829 test ! -s conftest.err
44830 } && test -s conftest.
$ac_objext; then
44831 ac_cv_func_which_gethostbyname_r
=three
44834 echo "$as_me: failed program was:" >&5
44835 sed 's/^/| /' conftest.
$ac_ext >&5
44840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44844 ################################################################
44849 case "$ac_cv_func_which_gethostbyname_r" in
44851 { echo "$as_me:$LINENO: result: three" >&5
44852 echo "${ECHO_T}three" >&6; }
44853 cat >>confdefs.h
<<\_ACEOF
44854 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44860 { echo "$as_me:$LINENO: result: five" >&5
44861 echo "${ECHO_T}five" >&6; }
44862 cat >>confdefs.h
<<\_ACEOF
44863 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44869 { echo "$as_me:$LINENO: result: six" >&5
44870 echo "${ECHO_T}six" >&6; }
44871 cat >>confdefs.h
<<\_ACEOF
44872 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44878 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44879 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44883 { echo "$as_me:$LINENO: result: can't tell" >&5
44884 echo "${ECHO_T}can't tell" >&6; }
44888 { { echo "$as_me:$LINENO: error: internal error" >&5
44889 echo "$as_me: error: internal error" >&2;}
44890 { (exit 1); exit 1; }; }
44895 ac_cpp
='$CPP $CPPFLAGS'
44896 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44897 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44898 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44902 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
44903 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
44904 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
44905 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
44906 if test "${ac_cv_func_gethostbyname+set}" = set; then
44907 echo $ECHO_N "(cached) $ECHO_C" >&6
44909 cat >conftest.
$ac_ext <<_ACEOF
44912 cat confdefs.h
>>conftest.
$ac_ext
44913 cat >>conftest.
$ac_ext <<_ACEOF
44914 /* end confdefs.h. */
44915 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
44916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44917 #define gethostbyname innocuous_gethostbyname
44919 /* System header to define __stub macros and hopefully few prototypes,
44920 which can conflict with char gethostbyname (); below.
44921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44922 <limits.h> exists even on freestanding compilers. */
44925 # include <limits.h>
44927 # include <assert.h>
44930 #undef gethostbyname
44932 /* Override any GCC internal prototype to avoid an error.
44933 Use char because int might match the return type of a GCC
44934 builtin and then its argument prototype would still apply. */
44938 char gethostbyname ();
44939 /* The GNU C library defines this for functions which it implements
44940 to always fail with ENOSYS. Some functions are actually named
44941 something starting with __ and the normal name is an alias. */
44942 #if defined __stub_gethostbyname || defined __stub___gethostbyname
44949 return gethostbyname ();
44954 rm -f conftest.
$ac_objext conftest
$ac_exeext
44955 if { (ac_try
="$ac_link"
44956 case "(($ac_try" in
44957 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44958 *) ac_try_echo=$ac_try;;
44960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44961 (eval "$ac_link") 2>conftest.er1
44963 grep -v '^ *+' conftest.er1 >conftest.err
44965 cat conftest.err >&5
44966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44967 (exit $ac_status); } && {
44968 test -z "$ac_c_werror_flag" ||
44969 test ! -s conftest.err
44970 } && test -s conftest$ac_exeext &&
44971 $as_test_x conftest$ac_exeext; then
44972 ac_cv_func_gethostbyname=yes
44974 echo "$as_me: failed program was:" >&5
44975 sed 's/^/| /' conftest.$ac_ext >&5
44977 ac_cv_func_gethostbyname=no
44980 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44981 conftest$ac_exeext conftest.$ac_ext
44983 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
44984 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
44985 if test $ac_cv_func_gethostbyname = yes; then
44986 cat >>confdefs.h <<\_ACEOF
44987 #define HAVE_GETHOSTBYNAME 1
44994 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
44995 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
44996 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
44997 echo $ECHO_N "(cached) $ECHO_C" >&6
45001 ac_cpp='$CXXCPP $CPPFLAGS'
45002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45007 cat >conftest.$ac_ext <<_ACEOF
45010 cat confdefs.h >>conftest.$ac_ext
45011 cat >>conftest.$ac_ext <<_ACEOF
45012 /* end confdefs.h. */
45020 struct servent *se, *res;
45023 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45029 rm -f conftest.$ac_objext
45030 if { (ac_try="$ac_compile"
45031 case "(($ac_try" in
45032 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45033 *) ac_try_echo
=$ac_try;;
45035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45036 (eval "$ac_compile") 2>conftest.er1
45038 grep -v '^ *+' conftest.er1
>conftest.err
45040 cat conftest.err
>&5
45041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45042 (exit $ac_status); } && {
45043 test -z "$ac_cxx_werror_flag" ||
45044 test ! -s conftest.err
45045 } && test -s conftest.
$ac_objext; then
45046 ac_cv_func_which_getservbyname_r
=six
45048 echo "$as_me: failed program was:" >&5
45049 sed 's/^/| /' conftest.
$ac_ext >&5
45052 cat >conftest.
$ac_ext <<_ACEOF
45055 cat confdefs.h
>>conftest.
$ac_ext
45056 cat >>conftest.
$ac_ext <<_ACEOF
45057 /* end confdefs.h. */
45065 struct servent *se;
45068 (void) getservbyname_r(name, proto, se, buffer, buflen)
45074 rm -f conftest.
$ac_objext
45075 if { (ac_try
="$ac_compile"
45076 case "(($ac_try" in
45077 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45078 *) ac_try_echo=$ac_try;;
45080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45081 (eval "$ac_compile") 2>conftest.er1
45083 grep -v '^ *+' conftest.er1 >conftest.err
45085 cat conftest.err >&5
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); } && {
45088 test -z "$ac_cxx_werror_flag" ||
45089 test ! -s conftest.err
45090 } && test -s conftest.$ac_objext; then
45091 ac_cv_func_which_getservbyname_r=five
45093 echo "$as_me: failed program was:" >&5
45094 sed 's/^/| /' conftest.$ac_ext >&5
45097 cat >conftest.$ac_ext <<_ACEOF
45100 cat confdefs.h >>conftest.$ac_ext
45101 cat >>conftest.$ac_ext <<_ACEOF
45102 /* end confdefs.h. */
45110 struct servent *se;
45111 struct servent_data data;
45112 (void) getservbyname_r(name, proto, se, &data);
45118 rm -f conftest.$ac_objext
45119 if { (ac_try="$ac_compile"
45120 case "(($ac_try" in
45121 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45122 *) ac_try_echo
=$ac_try;;
45124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45125 (eval "$ac_compile") 2>conftest.er1
45127 grep -v '^ *+' conftest.er1
>conftest.err
45129 cat conftest.err
>&5
45130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45131 (exit $ac_status); } && {
45132 test -z "$ac_cxx_werror_flag" ||
45133 test ! -s conftest.err
45134 } && test -s conftest.
$ac_objext; then
45135 ac_cv_func_which_getservbyname_r
=four
45137 echo "$as_me: failed program was:" >&5
45138 sed 's/^/| /' conftest.
$ac_ext >&5
45140 ac_cv_func_which_getservbyname_r
=no
45144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45156 ac_cpp
='$CPP $CPPFLAGS'
45157 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45158 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45159 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45164 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45165 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45167 if test $ac_cv_func_which_getservbyname_r = six
; then
45168 cat >>confdefs.h
<<\_ACEOF
45169 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45172 elif test $ac_cv_func_which_getservbyname_r = five
; then
45173 cat >>confdefs.h
<<\_ACEOF
45174 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45177 elif test $ac_cv_func_which_getservbyname_r = four
; then
45178 cat >>confdefs.h
<<\_ACEOF
45179 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45185 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45186 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45188 for ac_func
in getservbyname
45190 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45193 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45194 echo $ECHO_N "(cached) $ECHO_C" >&6
45196 cat >conftest.
$ac_ext <<_ACEOF
45199 cat confdefs.h
>>conftest.
$ac_ext
45200 cat >>conftest.
$ac_ext <<_ACEOF
45201 /* end confdefs.h. */
45202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45204 #define $ac_func innocuous_$ac_func
45206 /* System header to define __stub macros and hopefully few prototypes,
45207 which can conflict with char $ac_func (); below.
45208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45209 <limits.h> exists even on freestanding compilers. */
45212 # include <limits.h>
45214 # include <assert.h>
45219 /* Override any GCC internal prototype to avoid an error.
45220 Use char because int might match the return type of a GCC
45221 builtin and then its argument prototype would still apply. */
45226 /* The GNU C library defines this for functions which it implements
45227 to always fail with ENOSYS. Some functions are actually named
45228 something starting with __ and the normal name is an alias. */
45229 #if defined __stub_$ac_func || defined __stub___$ac_func
45236 return $ac_func ();
45241 rm -f conftest.
$ac_objext conftest
$ac_exeext
45242 if { (ac_try
="$ac_link"
45243 case "(($ac_try" in
45244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45245 *) ac_try_echo=$ac_try;;
45247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45248 (eval "$ac_link") 2>conftest.er1
45250 grep -v '^ *+' conftest.er1 >conftest.err
45252 cat conftest.err >&5
45253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45254 (exit $ac_status); } && {
45255 test -z "$ac_c_werror_flag" ||
45256 test ! -s conftest.err
45257 } && test -s conftest$ac_exeext &&
45258 $as_test_x conftest$ac_exeext; then
45259 eval "$as_ac_var=yes"
45261 echo "$as_me: failed program was:" >&5
45262 sed 's/^/| /' conftest.$ac_ext >&5
45264 eval "$as_ac_var=no"
45267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45268 conftest$ac_exeext conftest.$ac_ext
45270 ac_res=`eval echo '${'$as_ac_var'}'`
45271 { echo "$as_me:$LINENO: result: $ac_res" >&5
45272 echo "${ECHO_T}$ac_res" >&6; }
45273 if test `eval echo '${'$as_ac_var'}'` = yes; then
45274 cat >>confdefs.h <<_ACEOF
45275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45277 cat >>confdefs.h <<\_ACEOF
45278 #define HAVE_GETSERVBYNAME 1
45286 if test "$wxUSE_THREADS" = "yes"; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_THREADS 1
45292 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
45294 if test "$wx_cv_func_strtok_r" = "yes"; then
45295 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45296 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45297 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45298 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45299 { echo "$as_me:$LINENO: result: yes" >&5
45300 echo "${ECHO_T}yes" >&6; }
45302 { echo "$as_me:$LINENO: result: no" >&5
45303 echo "${ECHO_T}no" >&6; }
45308 if test "$WXGTK2" = 1 ; then
45309 cat >>confdefs.h <<_ACEOF
45310 #define __WXGTK20__ $WXGTK2
45315 if test "$WXGTK127" = 1 ; then
45316 cat >>confdefs.h <<_ACEOF
45317 #define __WXGTK127__ $WXGTK127
45322 if test "$WXGPE" = 1 ; then
45323 cat >>confdefs.h <<_ACEOF
45324 #define __WXGPE__ $WXGPE
45330 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
45331 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45332 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45333 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45337 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45338 wxUSE_DEBUG_INFO=yes
45339 if test "$GCC" = yes; then
45340 DEBUG_CFLAGS="-ggdb"
45344 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45345 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45347 if test "$wxUSE_GTK" = 1 ; then
45348 if test "x$wxGTK_VERSION" = "x1" ; then
45349 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45351 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45356 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45357 cat >>confdefs.h <<\_ACEOF
45358 #define wxUSE_MEMORY_TRACING 1
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45365 cat >>confdefs.h <<\_ACEOF
45366 #define wxUSE_DEBUG_NEW_ALWAYS 1
45369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
45372 if test "$wxUSE_DMALLOC" = "yes" ; then
45373 DMALLOC_LIBS="-ldmallocthcxx"
45377 if test "$wxUSE_PROFILE" = "yes" ; then
45378 PROFILE_FLAGS=" -pg"
45381 if test "$GCC" = "yes" ; then
45382 if test "$wxUSE_NO_RTTI" = "yes" ; then
45383 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45385 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45386 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
45388 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45389 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
45394 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
45397 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
45403 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
45404 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45405 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45407 if test "$wxUSE_OPTIMISE" = "no" ; then
45408 if test "$GCC" = yes ; then
45409 OPTIMISE_CFLAGS="-O0"
45412 if test "$GCC" = yes ; then
45414 *-pc-os2_emx | *-pc-os2-emx )
45415 OPTIMISE_CFLAGS="-O2"
45418 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
45422 OPTIMISE_CFLAGS="-O"
45428 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45429 cat >>confdefs.h <<\_ACEOF
45430 #define WXWIN_COMPATIBILITY_2_6 1
45434 WXWIN_COMPATIBILITY_2_8="yes"
45437 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45438 cat >>confdefs.h <<\_ACEOF
45439 #define WXWIN_COMPATIBILITY_2_8 1
45445 if test "$wxUSE_GUI" = "yes"; then
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_GUI 1
45454 if test "$wxUSE_UNIX" = "yes"; then
45455 cat >>confdefs.h <<\_ACEOF
45456 #define wxUSE_UNIX 1
45462 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45466 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45467 if test "$USE_DOS" = 1; then
45471 for ac_func in dlopen
45473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45477 echo $ECHO_N "(cached) $ECHO_C" >&6
45479 cat >conftest.$ac_ext <<_ACEOF
45482 cat confdefs.h >>conftest.$ac_ext
45483 cat >>conftest.$ac_ext <<_ACEOF
45484 /* end confdefs.h. */
45485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45487 #define $ac_func innocuous_$ac_func
45489 /* System header to define __stub macros and hopefully few prototypes,
45490 which can conflict with char $ac_func (); below.
45491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45492 <limits.h> exists even on freestanding compilers. */
45495 # include <limits.h>
45497 # include <assert.h>
45502 /* Override any GCC internal prototype to avoid an error.
45503 Use char because int might match the return type of a GCC
45504 builtin and then its argument prototype would still apply. */
45509 /* The GNU C library defines this for functions which it implements
45510 to always fail with ENOSYS. Some functions are actually named
45511 something starting with __ and the normal name is an alias. */
45512 #if defined __stub_$ac_func || defined __stub___$ac_func
45519 return $ac_func ();
45524 rm -f conftest.$ac_objext conftest$ac_exeext
45525 if { (ac_try="$ac_link"
45526 case "(($ac_try" in
45527 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45528 *) ac_try_echo
=$ac_try;;
45530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45531 (eval "$ac_link") 2>conftest.er1
45533 grep -v '^ *+' conftest.er1
>conftest.err
45535 cat conftest.err
>&5
45536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45537 (exit $ac_status); } && {
45538 test -z "$ac_c_werror_flag" ||
45539 test ! -s conftest.err
45540 } && test -s conftest
$ac_exeext &&
45541 $as_test_x conftest
$ac_exeext; then
45542 eval "$as_ac_var=yes"
45544 echo "$as_me: failed program was:" >&5
45545 sed 's/^/| /' conftest.
$ac_ext >&5
45547 eval "$as_ac_var=no"
45550 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45551 conftest
$ac_exeext conftest.
$ac_ext
45553 ac_res
=`eval echo '${'$as_ac_var'}'`
45554 { echo "$as_me:$LINENO: result: $ac_res" >&5
45555 echo "${ECHO_T}$ac_res" >&6; }
45556 if test `eval echo '${'$as_ac_var'}'` = yes; then
45557 cat >>confdefs.h
<<_ACEOF
45558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45561 cat >>confdefs.h
<<\_ACEOF
45562 #define HAVE_DLOPEN 1
45569 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45570 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45571 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45572 echo $ECHO_N "(cached) $ECHO_C" >&6
45574 ac_check_lib_save_LIBS
=$LIBS
45576 cat >conftest.
$ac_ext <<_ACEOF
45579 cat confdefs.h
>>conftest.
$ac_ext
45580 cat >>conftest.
$ac_ext <<_ACEOF
45581 /* end confdefs.h. */
45583 /* Override any GCC internal prototype to avoid an error.
45584 Use char because int might match the return type of a GCC
45585 builtin and then its argument prototype would still apply. */
45598 rm -f conftest.
$ac_objext conftest
$ac_exeext
45599 if { (ac_try
="$ac_link"
45600 case "(($ac_try" in
45601 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45602 *) ac_try_echo=$ac_try;;
45604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45605 (eval "$ac_link") 2>conftest.er1
45607 grep -v '^ *+' conftest.er1 >conftest.err
45609 cat conftest.err >&5
45610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45611 (exit $ac_status); } && {
45612 test -z "$ac_c_werror_flag" ||
45613 test ! -s conftest.err
45614 } && test -s conftest$ac_exeext &&
45615 $as_test_x conftest$ac_exeext; then
45616 ac_cv_lib_dl_dlopen=yes
45618 echo "$as_me: failed program was:" >&5
45619 sed 's/^/| /' conftest.$ac_ext >&5
45621 ac_cv_lib_dl_dlopen=no
45624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45625 conftest$ac_exeext conftest.$ac_ext
45626 LIBS=$ac_check_lib_save_LIBS
45628 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45629 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45630 if test $ac_cv_lib_dl_dlopen = yes; then
45632 cat >>confdefs.h <<\_ACEOF
45633 #define HAVE_DLOPEN 1
45637 DL_LINK=" -ldl$DL_LINK"
45642 for ac_func in shl_load
45644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45645 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45647 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45648 echo $ECHO_N "(cached) $ECHO_C" >&6
45650 cat >conftest.$ac_ext <<_ACEOF
45653 cat confdefs.h >>conftest.$ac_ext
45654 cat >>conftest.$ac_ext <<_ACEOF
45655 /* end confdefs.h. */
45656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45658 #define $ac_func innocuous_$ac_func
45660 /* System header to define __stub macros and hopefully few prototypes,
45661 which can conflict with char $ac_func (); below.
45662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45663 <limits.h> exists even on freestanding compilers. */
45666 # include <limits.h>
45668 # include <assert.h>
45673 /* Override any GCC internal prototype to avoid an error.
45674 Use char because int might match the return type of a GCC
45675 builtin and then its argument prototype would still apply. */
45680 /* The GNU C library defines this for functions which it implements
45681 to always fail with ENOSYS. Some functions are actually named
45682 something starting with __ and the normal name is an alias. */
45683 #if defined __stub_$ac_func || defined __stub___$ac_func
45690 return $ac_func ();
45695 rm -f conftest.$ac_objext conftest$ac_exeext
45696 if { (ac_try="$ac_link"
45697 case "(($ac_try" in
45698 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45699 *) ac_try_echo
=$ac_try;;
45701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45702 (eval "$ac_link") 2>conftest.er1
45704 grep -v '^ *+' conftest.er1
>conftest.err
45706 cat conftest.err
>&5
45707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45708 (exit $ac_status); } && {
45709 test -z "$ac_c_werror_flag" ||
45710 test ! -s conftest.err
45711 } && test -s conftest
$ac_exeext &&
45712 $as_test_x conftest
$ac_exeext; then
45713 eval "$as_ac_var=yes"
45715 echo "$as_me: failed program was:" >&5
45716 sed 's/^/| /' conftest.
$ac_ext >&5
45718 eval "$as_ac_var=no"
45721 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45722 conftest
$ac_exeext conftest.
$ac_ext
45724 ac_res
=`eval echo '${'$as_ac_var'}'`
45725 { echo "$as_me:$LINENO: result: $ac_res" >&5
45726 echo "${ECHO_T}$ac_res" >&6; }
45727 if test `eval echo '${'$as_ac_var'}'` = yes; then
45728 cat >>confdefs.h
<<_ACEOF
45729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45732 cat >>confdefs.h
<<\_ACEOF
45733 #define HAVE_SHL_LOAD 1
45740 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45741 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45742 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45743 echo $ECHO_N "(cached) $ECHO_C" >&6
45745 ac_check_lib_save_LIBS
=$LIBS
45746 LIBS
="-lshl_load $LIBS"
45747 cat >conftest.
$ac_ext <<_ACEOF
45750 cat confdefs.h
>>conftest.
$ac_ext
45751 cat >>conftest.
$ac_ext <<_ACEOF
45752 /* end confdefs.h. */
45754 /* Override any GCC internal prototype to avoid an error.
45755 Use char because int might match the return type of a GCC
45756 builtin and then its argument prototype would still apply. */
45769 rm -f conftest.
$ac_objext conftest
$ac_exeext
45770 if { (ac_try
="$ac_link"
45771 case "(($ac_try" in
45772 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45773 *) ac_try_echo=$ac_try;;
45775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45776 (eval "$ac_link") 2>conftest.er1
45778 grep -v '^ *+' conftest.er1 >conftest.err
45780 cat conftest.err >&5
45781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45782 (exit $ac_status); } && {
45783 test -z "$ac_c_werror_flag" ||
45784 test ! -s conftest.err
45785 } && test -s conftest$ac_exeext &&
45786 $as_test_x conftest$ac_exeext; then
45787 ac_cv_lib_shl_load_dld=yes
45789 echo "$as_me: failed program was:" >&5
45790 sed 's/^/| /' conftest.$ac_ext >&5
45792 ac_cv_lib_shl_load_dld=no
45795 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45796 conftest$ac_exeext conftest.$ac_ext
45797 LIBS=$ac_check_lib_save_LIBS
45799 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45800 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45801 if test $ac_cv_lib_shl_load_dld = yes; then
45804 DL_LINK=" -ldld$DL_LINK"
45820 if test "$HAVE_DL_FUNCS" = 1; then
45822 for ac_func in dlerror
45824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45825 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45827 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45828 echo $ECHO_N "(cached) $ECHO_C" >&6
45830 cat >conftest.$ac_ext <<_ACEOF
45833 cat confdefs.h >>conftest.$ac_ext
45834 cat >>conftest.$ac_ext <<_ACEOF
45835 /* end confdefs.h. */
45836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45838 #define $ac_func innocuous_$ac_func
45840 /* System header to define __stub macros and hopefully few prototypes,
45841 which can conflict with char $ac_func (); below.
45842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45843 <limits.h> exists even on freestanding compilers. */
45846 # include <limits.h>
45848 # include <assert.h>
45853 /* Override any GCC internal prototype to avoid an error.
45854 Use char because int might match the return type of a GCC
45855 builtin and then its argument prototype would still apply. */
45860 /* The GNU C library defines this for functions which it implements
45861 to always fail with ENOSYS. Some functions are actually named
45862 something starting with __ and the normal name is an alias. */
45863 #if defined __stub_$ac_func || defined __stub___$ac_func
45870 return $ac_func ();
45875 rm -f conftest.$ac_objext conftest$ac_exeext
45876 if { (ac_try="$ac_link"
45877 case "(($ac_try" in
45878 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45879 *) ac_try_echo
=$ac_try;;
45881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45882 (eval "$ac_link") 2>conftest.er1
45884 grep -v '^ *+' conftest.er1
>conftest.err
45886 cat conftest.err
>&5
45887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45888 (exit $ac_status); } && {
45889 test -z "$ac_c_werror_flag" ||
45890 test ! -s conftest.err
45891 } && test -s conftest
$ac_exeext &&
45892 $as_test_x conftest
$ac_exeext; then
45893 eval "$as_ac_var=yes"
45895 echo "$as_me: failed program was:" >&5
45896 sed 's/^/| /' conftest.
$ac_ext >&5
45898 eval "$as_ac_var=no"
45901 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45902 conftest
$ac_exeext conftest.
$ac_ext
45904 ac_res
=`eval echo '${'$as_ac_var'}'`
45905 { echo "$as_me:$LINENO: result: $ac_res" >&5
45906 echo "${ECHO_T}$ac_res" >&6; }
45907 if test `eval echo '${'$as_ac_var'}'` = yes; then
45908 cat >>confdefs.h
<<_ACEOF
45909 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45911 cat >>confdefs.h
<<\_ACEOF
45912 #define HAVE_DLERROR 1
45917 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
45918 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
45919 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
45920 echo $ECHO_N "(cached) $ECHO_C" >&6
45922 ac_check_lib_save_LIBS
=$LIBS
45924 cat >conftest.
$ac_ext <<_ACEOF
45927 cat confdefs.h
>>conftest.
$ac_ext
45928 cat >>conftest.
$ac_ext <<_ACEOF
45929 /* end confdefs.h. */
45931 /* Override any GCC internal prototype to avoid an error.
45932 Use char because int might match the return type of a GCC
45933 builtin and then its argument prototype would still apply. */
45946 rm -f conftest.
$ac_objext conftest
$ac_exeext
45947 if { (ac_try
="$ac_link"
45948 case "(($ac_try" in
45949 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45950 *) ac_try_echo=$ac_try;;
45952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45953 (eval "$ac_link") 2>conftest.er1
45955 grep -v '^ *+' conftest.er1 >conftest.err
45957 cat conftest.err >&5
45958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45959 (exit $ac_status); } && {
45960 test -z "$ac_c_werror_flag" ||
45961 test ! -s conftest.err
45962 } && test -s conftest$ac_exeext &&
45963 $as_test_x conftest$ac_exeext; then
45964 ac_cv_lib_dl_dlerror=yes
45966 echo "$as_me: failed program was:" >&5
45967 sed 's/^/| /' conftest.$ac_ext >&5
45969 ac_cv_lib_dl_dlerror=no
45972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45973 conftest$ac_exeext conftest.$ac_ext
45974 LIBS=$ac_check_lib_save_LIBS
45976 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
45977 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
45978 if test $ac_cv_lib_dl_dlerror = yes; then
45979 cat >>confdefs.h <<\_ACEOF
45980 #define HAVE_DLERROR 1
45993 if test "$USE_DARWIN" = 1; then
45997 if test "$HAVE_DL_FUNCS" = 0; then
45998 if test "$HAVE_SHL_FUNCS" = 0; then
45999 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46000 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46001 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46002 wxUSE_DYNAMIC_LOADER=no
46003 wxUSE_DYNLIB_CLASS=no
46005 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46006 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46013 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46014 cat >>confdefs.h <<\_ACEOF
46015 #define wxUSE_DYNAMIC_LOADER 1
46019 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46020 cat >>confdefs.h <<\_ACEOF
46021 #define wxUSE_DYNLIB_CLASS 1
46028 if test "$wxUSE_PLUGINS" = "yes" ; then
46029 if test "$wxUSE_SHARED" = "no" ; then
46030 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46031 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46034 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46035 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46036 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46039 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46040 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46041 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46044 if test "$wxUSE_PLUGINS" = "yes" ; then
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_PLUGINS 1
46053 if test "$wxUSE_FSWATCHER" = "yes"; then
46054 if test "$wxUSE_MSW" != "1"; then
46055 if test "$wxUSE_UNIX" = "yes"; then
46057 for ac_header in sys/inotify.h
46059 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46060 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46061 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46062 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46063 echo $ECHO_N "(cached) $ECHO_C" >&6
46065 cat >conftest.$ac_ext <<_ACEOF
46068 cat confdefs.h >>conftest.$ac_ext
46069 cat >>conftest.$ac_ext <<_ACEOF
46070 /* end confdefs.h. */
46071 $ac_includes_default
46073 #include <$ac_header>
46075 rm -f conftest.$ac_objext
46076 if { (ac_try="$ac_compile"
46077 case "(($ac_try" in
46078 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46079 *) ac_try_echo
=$ac_try;;
46081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46082 (eval "$ac_compile") 2>conftest.er1
46084 grep -v '^ *+' conftest.er1
>conftest.err
46086 cat conftest.err
>&5
46087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46088 (exit $ac_status); } && {
46089 test -z "$ac_c_werror_flag" ||
46090 test ! -s conftest.err
46091 } && test -s conftest.
$ac_objext; then
46092 eval "$as_ac_Header=yes"
46094 echo "$as_me: failed program was:" >&5
46095 sed 's/^/| /' conftest.
$ac_ext >&5
46097 eval "$as_ac_Header=no"
46100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46102 ac_res
=`eval echo '${'$as_ac_Header'}'`
46103 { echo "$as_me:$LINENO: result: $ac_res" >&5
46104 echo "${ECHO_T}$ac_res" >&6; }
46105 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46106 cat >>confdefs.h
<<_ACEOF
46107 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46114 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46115 cat >>confdefs.h
<<\_ACEOF
46116 #define wxHAS_INOTIFY 1
46121 for ac_header
in sys
/event.h
46123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46124 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46126 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46127 echo $ECHO_N "(cached) $ECHO_C" >&6
46129 cat >conftest.
$ac_ext <<_ACEOF
46132 cat confdefs.h
>>conftest.
$ac_ext
46133 cat >>conftest.
$ac_ext <<_ACEOF
46134 /* end confdefs.h. */
46135 $ac_includes_default
46137 #include <$ac_header>
46139 rm -f conftest.
$ac_objext
46140 if { (ac_try
="$ac_compile"
46141 case "(($ac_try" in
46142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46143 *) ac_try_echo=$ac_try;;
46145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46146 (eval "$ac_compile") 2>conftest.er1
46148 grep -v '^ *+' conftest.er1 >conftest.err
46150 cat conftest.err >&5
46151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46152 (exit $ac_status); } && {
46153 test -z "$ac_c_werror_flag" ||
46154 test ! -s conftest.err
46155 } && test -s conftest.$ac_objext; then
46156 eval "$as_ac_Header=yes"
46158 echo "$as_me: failed program was:" >&5
46159 sed 's/^/| /' conftest.$ac_ext >&5
46161 eval "$as_ac_Header=no"
46164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 ac_res=`eval echo '${'$as_ac_Header'}'`
46167 { echo "$as_me:$LINENO: result: $ac_res" >&5
46168 echo "${ECHO_T}$ac_res" >&6; }
46169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46170 cat >>confdefs.h <<_ACEOF
46171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46178 if test "$ac_cv_header_sys_event_h" = "yes"; then
46179 cat >>confdefs.h <<\_ACEOF
46180 #define wxHAS_KQUEUE 1
46191 if test "$wxUSE_THREADS" != "yes"; then
46192 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46193 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46198 if test "$wxUSE_FSWATCHER" = "yes"; then
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_FSWATCHER 1
46203 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
46205 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46206 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46211 if test "$wxUSE_STL" = "yes"; then
46212 cat >>confdefs.h <<\_ACEOF
46213 #define wxUSE_STL 1
46218 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46219 cat >>confdefs.h <<\_ACEOF
46220 #define wxUSE_EXTENDED_RTTI 1
46225 if test "$wxUSE_ANY" = "yes"; then
46226 cat >>confdefs.h <<\_ACEOF
46227 #define wxUSE_ANY 1
46232 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46233 cat >>confdefs.h <<\_ACEOF
46234 #define wxUSE_APPLE_IEEE 1
46239 if test "$wxUSE_TIMER" = "yes"; then
46240 cat >>confdefs.h <<\_ACEOF
46241 #define wxUSE_TIMER 1
46246 if test "$USE_UNIX" = 1 ; then
46247 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46248 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46249 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46250 echo $ECHO_N "(cached) $ECHO_C" >&6
46253 cat >conftest.$ac_ext <<_ACEOF
46256 cat confdefs.h >>conftest.$ac_ext
46257 cat >>conftest.$ac_ext <<_ACEOF
46258 /* end confdefs.h. */
46260 #include <sys/ioctl.h>
46261 #include <sys/soundcard.h>
46267 ioctl(0, SNDCTL_DSP_SPEED, 0);
46273 rm -f conftest.$ac_objext conftest$ac_exeext
46274 if { (ac_try="$ac_link"
46275 case "(($ac_try" in
46276 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46277 *) ac_try_echo
=$ac_try;;
46279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46280 (eval "$ac_link") 2>conftest.er1
46282 grep -v '^ *+' conftest.er1
>conftest.err
46284 cat conftest.err
>&5
46285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46286 (exit $ac_status); } && {
46287 test -z "$ac_c_werror_flag" ||
46288 test ! -s conftest.err
46289 } && test -s conftest
$ac_exeext &&
46290 $as_test_x conftest
$ac_exeext; then
46291 ac_cv_header_sys_soundcard
=yes
46293 echo "$as_me: failed program was:" >&5
46294 sed 's/^/| /' conftest.
$ac_ext >&5
46298 LIBS
="$saveLibs -lossaudio"
46299 cat >conftest.
$ac_ext <<_ACEOF
46302 cat confdefs.h
>>conftest.
$ac_ext
46303 cat >>conftest.
$ac_ext <<_ACEOF
46304 /* end confdefs.h. */
46306 #include <sys/ioctl.h>
46307 #include <sys/soundcard.h>
46313 ioctl(0, SNDCTL_DSP_SPEED, 0);
46319 rm -f conftest.
$ac_objext conftest
$ac_exeext
46320 if { (ac_try
="$ac_link"
46321 case "(($ac_try" in
46322 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46323 *) ac_try_echo=$ac_try;;
46325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46326 (eval "$ac_link") 2>conftest.er1
46328 grep -v '^ *+' conftest.er1 >conftest.err
46330 cat conftest.err >&5
46331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46332 (exit $ac_status); } && {
46333 test -z "$ac_c_werror_flag" ||
46334 test ! -s conftest.err
46335 } && test -s conftest$ac_exeext &&
46336 $as_test_x conftest$ac_exeext; then
46337 ac_cv_header_sys_soundcard=yes
46339 echo "$as_me: failed program was:" >&5
46340 sed 's/^/| /' conftest.$ac_ext >&5
46344 ac_cv_header_sys_soundcard=no
46349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46350 conftest$ac_exeext conftest.$ac_ext
46355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46356 conftest$ac_exeext conftest.$ac_ext
46359 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46360 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46362 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46363 cat >>confdefs.h <<\_ACEOF
46364 #define HAVE_SYS_SOUNDCARD_H 1
46371 if test "$wxUSE_SOUND" = "yes"; then
46372 if test "$USE_UNIX" = 1 ; then
46373 if test "$wxUSE_LIBSDL" != "no"; then
46375 # Check whether --with-sdl-prefix was given.
46376 if test "${with_sdl_prefix+set}" = set; then
46377 withval=$with_sdl_prefix; sdl_prefix="$withval"
46383 # Check whether --with-sdl-exec-prefix was given.
46384 if test "${with_sdl_exec_prefix+set}" = set; then
46385 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
46390 # Check whether --enable-sdltest was given.
46391 if test "${enable_sdltest+set}" = set; then
46392 enableval=$enable_sdltest;
46398 if test x$sdl_exec_prefix != x ; then
46399 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
46400 if test x${SDL_CONFIG+set} != xset ; then
46401 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
46404 if test x$sdl_prefix != x ; then
46405 sdl_args="$sdl_args --prefix=$sdl_prefix"
46406 if test x${SDL_CONFIG+set} != xset ; then
46407 SDL_CONFIG=$sdl_prefix/bin/sdl-config
46411 if test "x$prefix" != xNONE; then
46412 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
46414 # Extract the first word of "sdl-config", so it can be a program name with args.
46415 set dummy sdl-config; ac_word=$2
46416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46418 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46419 echo $ECHO_N "(cached) $ECHO_C" >&6
46421 case $SDL_CONFIG in
46423 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
46426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46427 for as_dir in $PATH
46430 test -z "$as_dir" && as_dir=.
46431 for ac_exec_ext in '' $ac_executable_extensions; do
46432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46433 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46441 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
46445 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
46446 if test -n "$SDL_CONFIG"; then
46447 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46448 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46450 { echo "$as_me:$LINENO: result: no" >&5
46451 echo "${ECHO_T}no" >&6; }
46455 min_sdl_version=1.2.0
46456 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46457 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46459 if test "$SDL_CONFIG" = "no" ; then
46462 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
46463 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
46465 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
46466 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46467 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
46468 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46469 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
46470 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46471 if test "x$enable_sdltest" = "xyes" ; then
46472 ac_save_CFLAGS="$CFLAGS"
46473 ac_save_CXXFLAGS="$CXXFLAGS"
46474 ac_save_LIBS="$LIBS"
46475 CFLAGS="$CFLAGS $SDL_CFLAGS"
46476 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46477 LIBS="$LIBS $SDL_LIBS"
46479 if test "$cross_compiling" = yes; then
46480 echo $ac_n "cross compiling; assumed OK... $ac_c"
46482 cat >conftest.$ac_ext <<_ACEOF
46485 cat confdefs.h >>conftest.$ac_ext
46486 cat >>conftest.$ac_ext <<_ACEOF
46487 /* end confdefs.h. */
46490 #include <stdlib.h>
46491 #include <string.h>
46495 my_strdup (char *str)
46501 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46502 strcpy (new_str, str);
46510 int main (int argc, char *argv[])
46512 int major, minor, micro;
46515 /* This hangs on some systems (?)
46516 system ("touch conf.sdltest");
46518 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46520 /* HP/UX 9 (%@#!) writes to sscanf strings */
46521 tmp_version = my_strdup("$min_sdl_version");
46522 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
46523 printf("%s, bad version string\n", "$min_sdl_version");
46527 if (($sdl_major_version > major) ||
46528 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46529 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46535 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46536 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46537 printf("*** best to upgrade to the required version.\n");
46538 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46539 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46540 printf("*** config.cache before re-running configure\n");
46547 rm -f conftest$ac_exeext
46548 if { (ac_try="$ac_link"
46549 case "(($ac_try" in
46550 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46551 *) ac_try_echo
=$ac_try;;
46553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46554 (eval "$ac_link") 2>&5
46556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46557 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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_try") 2>&5
46565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46566 (exit $ac_status); }; }; then
46569 echo "$as_me: program exited with status $ac_status" >&5
46570 echo "$as_me: failed program was:" >&5
46571 sed 's/^/| /' conftest.$ac_ext >&5
46573 ( exit $ac_status )
46576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46580 CFLAGS="$ac_save_CFLAGS"
46581 CXXFLAGS="$ac_save_CXXFLAGS"
46582 LIBS="$ac_save_LIBS"
46585 if test "x$no_sdl" = x ; then
46586 { echo "$as_me:$LINENO: result: yes" >&5
46587 echo "${ECHO_T}yes" >&6; }
46589 EXTRALIBS_SDL="$SDL_LIBS"
46590 CFLAGS="$SDL_CFLAGS $CFLAGS"
46591 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
46592 cat >>confdefs.h <<\_ACEOF
46593 #define wxUSE_LIBSDL 1
46598 { echo "$as_me:$LINENO: result: no" >&5
46599 echo "${ECHO_T}no" >&6; }
46600 if test "$SDL_CONFIG" = "no" ; then
46601 echo "*** The sdl-config script installed by SDL could not be found"
46602 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46603 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46604 echo "*** full path to sdl-config."
46606 if test -f conf.sdltest ; then
46609 echo "*** Could not run SDL test program, checking why..."
46610 CFLAGS="$CFLAGS $SDL_CFLAGS"
46611 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
46612 LIBS="$LIBS $SDL_LIBS"
46613 cat >conftest.$ac_ext <<_ACEOF
46616 cat confdefs.h >>conftest.$ac_ext
46617 cat >>conftest.$ac_ext <<_ACEOF
46618 /* end confdefs.h. */
46623 int main(int argc, char *argv[])
46626 #define main K_and_R_C_main
46636 rm -f conftest.$ac_objext conftest$ac_exeext
46637 if { (ac_try="$ac_link"
46638 case "(($ac_try" in
46639 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46640 *) ac_try_echo
=$ac_try;;
46642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46643 (eval "$ac_link") 2>conftest.er1
46645 grep -v '^ *+' conftest.er1
>conftest.err
46647 cat conftest.err
>&5
46648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46649 (exit $ac_status); } && {
46650 test -z "$ac_c_werror_flag" ||
46651 test ! -s conftest.err
46652 } && test -s conftest
$ac_exeext &&
46653 $as_test_x conftest
$ac_exeext; then
46654 echo "*** The test program compiled, but did not run. This usually means"
46655 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46656 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46657 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46658 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46659 echo "*** is required on your system"
46661 echo "*** If you have an old version installed, it is best to remove it, although"
46662 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46664 echo "$as_me: failed program was:" >&5
46665 sed 's/^/| /' conftest.
$ac_ext >&5
46667 echo "*** The test program failed to compile or link. See the file config.log for the"
46668 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
46669 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46670 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46673 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46674 conftest
$ac_exeext conftest.
$ac_ext
46675 CFLAGS
="$ac_save_CFLAGS"
46676 CXXFLAGS
="$ac_save_CXXFLAGS"
46677 LIBS
="$ac_save_LIBS"
46688 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46695 if test "$wxUSE_SOUND" = "yes"; then
46696 cat >>confdefs.h
<<\_ACEOF
46697 #define wxUSE_SOUND 1
46700 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
46703 if test "$WXGTK2" = 1; then
46706 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46707 if test -n "$ac_tool_prefix"; then
46708 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46709 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
46710 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46712 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46713 echo $ECHO_N "(cached) $ECHO_C" >&6
46715 case $PKG_CONFIG in
46717 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
46720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46721 for as_dir
in $PATH
46724 test -z "$as_dir" && as_dir
=.
46725 for ac_exec_ext
in '' $ac_executable_extensions; do
46726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46727 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46738 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
46739 if test -n "$PKG_CONFIG"; then
46740 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46741 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46743 { echo "$as_me:$LINENO: result: no" >&5
46744 echo "${ECHO_T}no" >&6; }
46749 if test -z "$ac_cv_path_PKG_CONFIG"; then
46750 ac_pt_PKG_CONFIG
=$PKG_CONFIG
46751 # Extract the first word of "pkg-config", so it can be a program name with args.
46752 set dummy pkg
-config; ac_word
=$2
46753 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46755 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46756 echo $ECHO_N "(cached) $ECHO_C" >&6
46758 case $ac_pt_PKG_CONFIG in
46760 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46764 for as_dir
in $PATH
46767 test -z "$as_dir" && as_dir
=.
46768 for ac_exec_ext
in '' $ac_executable_extensions; do
46769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46770 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46781 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
46782 if test -n "$ac_pt_PKG_CONFIG"; then
46783 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46784 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46786 { echo "$as_me:$LINENO: result: no" >&5
46787 echo "${ECHO_T}no" >&6; }
46790 if test "x$ac_pt_PKG_CONFIG" = x
; then
46793 case $cross_compiling:$ac_tool_warned in
46795 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46796 whose name does not start with the host triplet. If you think this
46797 configuration is useful to you, please write to autoconf@gnu.org." >&5
46798 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46799 whose name does not start with the host triplet. If you think this
46800 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46801 ac_tool_warned
=yes ;;
46803 PKG_CONFIG
=$ac_pt_PKG_CONFIG
46806 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
46810 if test -n "$PKG_CONFIG"; then
46811 _pkg_min_version
=0.9.0
46812 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46813 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46814 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46815 { echo "$as_me:$LINENO: result: yes" >&5
46816 echo "${ECHO_T}yes" >&6; }
46818 { echo "$as_me:$LINENO: result: no" >&5
46819 echo "${ECHO_T}no" >&6; }
46825 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46827 if test "$wxUSE_GTKPRINT" = "yes" ; then
46831 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
46832 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
46834 if test -n "$PKG_CONFIG"; then
46835 if test -n "$GTKPRINT_CFLAGS"; then
46836 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
46838 if test -n "$PKG_CONFIG" && \
46839 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46840 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46843 (exit $ac_status); }; then
46844 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46852 if test -n "$PKG_CONFIG"; then
46853 if test -n "$GTKPRINT_LIBS"; then
46854 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
46856 if test -n "$PKG_CONFIG" && \
46857 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46858 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46861 (exit $ac_status); }; then
46862 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
46873 if test $pkg_failed = yes; then
46875 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46876 _pkg_short_errors_supported
=yes
46878 _pkg_short_errors_supported
=no
46880 if test $_pkg_short_errors_supported = yes; then
46881 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46883 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46885 # Put the nasty error message in config.log where it belongs
46886 echo "$GTKPRINT_PKG_ERRORS" >&5
46889 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46890 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46891 wxUSE_GTKPRINT
="no"
46894 elif test $pkg_failed = untried
; then
46896 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46897 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46898 wxUSE_GTKPRINT
="no"
46902 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
46903 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
46904 { echo "$as_me:$LINENO: result: yes" >&5
46905 echo "${ECHO_T}yes" >&6; }
46907 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
46908 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
46909 cat >>confdefs.h
<<\_ACEOF
46910 #define wxUSE_GTKPRINT 1
46917 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46921 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
46922 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
46924 if test -n "$PKG_CONFIG"; then
46925 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
46926 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
46928 if test -n "$PKG_CONFIG" && \
46929 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46930 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46933 (exit $ac_status); }; then
46934 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46942 if test -n "$PKG_CONFIG"; then
46943 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
46944 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
46946 if test -n "$PKG_CONFIG" && \
46947 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
46948 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
46950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46951 (exit $ac_status); }; then
46952 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
46963 if test $pkg_failed = yes; then
46965 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46966 _pkg_short_errors_supported
=yes
46968 _pkg_short_errors_supported
=no
46970 if test $_pkg_short_errors_supported = yes; then
46971 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46973 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
46975 # Put the nasty error message in config.log where it belongs
46976 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
46979 if test "$wxUSE_GTKPRINT" = yes; then
46980 { echo "$as_me:$LINENO: result: no" >&5
46981 echo "${ECHO_T}no" >&6; }
46983 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46984 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46986 wxUSE_LIBGNOMEPRINT
="no"
46989 elif test $pkg_failed = untried
; then
46991 if test "$wxUSE_GTKPRINT" = yes; then
46992 { echo "$as_me:$LINENO: result: no" >&5
46993 echo "${ECHO_T}no" >&6; }
46995 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
46996 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
46998 wxUSE_LIBGNOMEPRINT
="no"
47002 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47003 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47004 { echo "$as_me:$LINENO: result: yes" >&5
47005 echo "${ECHO_T}yes" >&6; }
47007 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47008 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47009 cat >>confdefs.h
<<\_ACEOF
47010 #define wxUSE_LIBGNOMEPRINT 1
47018 if test "$wxUSE_MIMETYPE" = "yes" ; then
47019 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47023 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47024 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47026 if test -n "$PKG_CONFIG"; then
47027 if test -n "$GNOMEVFS_CFLAGS"; then
47028 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
47030 if test -n "$PKG_CONFIG" && \
47031 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47032 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47035 (exit $ac_status); }; then
47036 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47044 if test -n "$PKG_CONFIG"; then
47045 if test -n "$GNOMEVFS_LIBS"; then
47046 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
47048 if test -n "$PKG_CONFIG" && \
47049 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47050 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47053 (exit $ac_status); }; then
47054 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
47065 if test $pkg_failed = yes; then
47067 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47068 _pkg_short_errors_supported
=yes
47070 _pkg_short_errors_supported
=no
47072 if test $_pkg_short_errors_supported = yes; then
47073 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47075 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47077 # Put the nasty error message in config.log where it belongs
47078 echo "$GNOMEVFS_PKG_ERRORS" >&5
47081 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47082 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47083 wxUSE_LIBGNOMEVFS
="no"
47086 elif test $pkg_failed = untried
; then
47088 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47089 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47090 wxUSE_LIBGNOMEVFS
="no"
47094 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
47095 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
47096 { echo "$as_me:$LINENO: result: yes" >&5
47097 echo "${ECHO_T}yes" >&6; }
47099 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
47100 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
47101 cat >>confdefs.h
<<\_ACEOF
47102 #define wxUSE_LIBGNOMEVFS 1
47110 if test "$wxUSE_LIBHILDON" = "yes" ; then
47113 { echo "$as_me:$LINENO: checking for HILDON" >&5
47114 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47116 if test -n "$PKG_CONFIG"; then
47117 if test -n "$HILDON_CFLAGS"; then
47118 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
47120 if test -n "$PKG_CONFIG" && \
47121 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47122 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125 (exit $ac_status); }; then
47126 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
47134 if test -n "$PKG_CONFIG"; then
47135 if test -n "$HILDON_LIBS"; then
47136 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
47138 if test -n "$PKG_CONFIG" && \
47139 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47140 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47143 (exit $ac_status); }; then
47144 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
47155 if test $pkg_failed = yes; then
47157 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47158 _pkg_short_errors_supported
=yes
47160 _pkg_short_errors_supported
=no
47162 if test $_pkg_short_errors_supported = yes; then
47163 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47165 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47167 # Put the nasty error message in config.log where it belongs
47168 echo "$HILDON_PKG_ERRORS" >&5
47171 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47172 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47173 wxUSE_LIBHILDON
="no"
47177 elif test $pkg_failed = untried
; then
47179 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47180 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47181 wxUSE_LIBHILDON
="no"
47186 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
47187 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
47188 { echo "$as_me:$LINENO: result: yes" >&5
47189 echo "${ECHO_T}yes" >&6; }
47191 EXTRALIBS_HILDON
="$HILDON_LIBS"
47192 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
47193 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
47194 cat >>confdefs.h
<<\_ACEOF
47195 #define wxUSE_LIBHILDON 1
47202 if test "$ac_hildon_lgpl" = 0 ; then
47205 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47206 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47208 if test -n "$PKG_CONFIG"; then
47209 if test -n "$HILDON2_CFLAGS"; then
47210 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
47212 if test -n "$PKG_CONFIG" && \
47213 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47214 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47217 (exit $ac_status); }; then
47218 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
47226 if test -n "$PKG_CONFIG"; then
47227 if test -n "$HILDON2_LIBS"; then
47228 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
47230 if test -n "$PKG_CONFIG" && \
47231 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47232 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47235 (exit $ac_status); }; then
47236 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
47247 if test $pkg_failed = yes; then
47249 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47250 _pkg_short_errors_supported
=yes
47252 _pkg_short_errors_supported
=no
47254 if test $_pkg_short_errors_supported = yes; then
47255 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47257 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47259 # Put the nasty error message in config.log where it belongs
47260 echo "$HILDON2_PKG_ERRORS" >&5
47263 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47264 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47265 wxUSE_LIBHILDON2
="no"
47268 elif test $pkg_failed = untried
; then
47270 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47271 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47272 wxUSE_LIBHILDON2
="no"
47276 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
47277 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
47278 { echo "$as_me:$LINENO: result: yes" >&5
47279 echo "${ECHO_T}yes" >&6; }
47281 EXTRALIBS_HILDON
="$HILDON2_LIBS"
47282 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
47283 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
47284 cat >>confdefs.h
<<\_ACEOF
47285 #define wxUSE_LIBHILDON2 1
47294 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47295 cat >>confdefs.h
<<\_ACEOF
47296 #define wxUSE_CMDLINE_PARSER 1
47301 if test "$wxUSE_STOPWATCH" = "yes"; then
47302 cat >>confdefs.h
<<\_ACEOF
47303 #define wxUSE_STOPWATCH 1
47308 if test "$wxUSE_DATETIME" = "yes"; then
47309 cat >>confdefs.h
<<\_ACEOF
47310 #define wxUSE_DATETIME 1
47315 if test "$wxUSE_FILE" = "yes"; then
47316 cat >>confdefs.h
<<\_ACEOF
47317 #define wxUSE_FILE 1
47322 if test "$wxUSE_FFILE" = "yes"; then
47323 cat >>confdefs.h
<<\_ACEOF
47324 #define wxUSE_FFILE 1
47329 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47330 if test "$wxUSE_STREAMS" != yes; then
47331 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47332 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47333 wxUSE_ARCHIVE_STREAMS
=no
47335 cat >>confdefs.h
<<\_ACEOF
47336 #define wxUSE_ARCHIVE_STREAMS 1
47342 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47343 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47344 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47345 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47346 elif test "$wxUSE_ZLIB" = "no"; then
47347 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47348 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47350 cat >>confdefs.h
<<\_ACEOF
47351 #define wxUSE_ZIPSTREAM 1
47357 if test "$wxUSE_TARSTREAM" = "yes"; then
47358 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47359 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47360 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47362 cat >>confdefs.h
<<\_ACEOF
47363 #define wxUSE_TARSTREAM 1
47369 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47370 cat >>confdefs.h
<<\_ACEOF
47371 #define wxUSE_FILE_HISTORY 1
47376 if test "$wxUSE_FILESYSTEM" = "yes"; then
47377 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
47378 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47379 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47380 wxUSE_FILESYSTEM
=no
47382 cat >>confdefs.h
<<\_ACEOF
47383 #define wxUSE_FILESYSTEM 1
47389 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47390 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47391 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47392 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47394 cat >>confdefs.h
<<\_ACEOF
47395 #define wxUSE_FS_ARCHIVE 1
47401 if test "$wxUSE_FS_ZIP" = "yes"; then
47402 if test "$wxUSE_FS_ARCHIVE" != yes; then
47403 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47404 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47406 cat >>confdefs.h
<<\_ACEOF
47407 #define wxUSE_FS_ZIP 1
47413 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47414 if test "$USE_UNIX" != 1; then
47415 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47416 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47417 wxUSE_ON_FATAL_EXCEPTION
=no
47419 cat >>confdefs.h
<<\_ACEOF
47420 #define wxUSE_ON_FATAL_EXCEPTION 1
47426 if test "$wxUSE_STACKWALKER" = "yes"; then
47427 cat >>confdefs.h
<<\_ACEOF
47428 #define wxUSE_STACKWALKER 1
47433 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47434 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47435 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47436 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47437 wxUSE_DEBUGREPORT
=no
47439 cat >>confdefs.h
<<\_ACEOF
47440 #define wxUSE_DEBUGREPORT 1
47443 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47444 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
47449 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47450 cat >>confdefs.h
<<\_ACEOF
47451 #define wxUSE_SNGLINST_CHECKER 1
47456 if test "$wxUSE_BUSYINFO" = "yes"; then
47457 cat >>confdefs.h
<<\_ACEOF
47458 #define wxUSE_BUSYINFO 1
47463 if test "$wxUSE_HOTKEY" = "yes"; then
47464 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47465 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47466 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47469 elif test "$wxUSE_HOTKEY" = "auto"; then
47470 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47474 if test "$wxUSE_HOTKEY" = "yes"; then
47475 cat >>confdefs.h
<<\_ACEOF
47476 #define wxUSE_HOTKEY 1
47481 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47482 cat >>confdefs.h
<<\_ACEOF
47483 #define wxUSE_STD_CONTAINERS 1
47488 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47489 cat >>confdefs.h
<<\_ACEOF
47490 #define wxUSE_STD_IOSTREAM 1
47495 if test "$wxUSE_STD_STRING" = "yes"; then
47496 cat >>confdefs.h
<<\_ACEOF
47497 #define wxUSE_STD_STRING 1
47502 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47503 cat >>confdefs.h
<<\_ACEOF
47504 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47509 if test "$wxUSE_STDPATHS" = "yes"; then
47510 cat >>confdefs.h
<<\_ACEOF
47511 #define wxUSE_STDPATHS 1
47516 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47517 cat >>confdefs.h
<<\_ACEOF
47518 #define wxUSE_TEXTBUFFER 1
47523 if test "$wxUSE_TEXTFILE" = "yes"; then
47524 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47525 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47526 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47528 cat >>confdefs.h
<<\_ACEOF
47529 #define wxUSE_TEXTFILE 1
47535 if test "$wxUSE_CONFIG" = "yes" ; then
47536 if test "$wxUSE_TEXTFILE" != "yes"; then
47537 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47538 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47540 cat >>confdefs.h
<<\_ACEOF
47541 #define wxUSE_CONFIG 1
47544 cat >>confdefs.h
<<\_ACEOF
47545 #define wxUSE_CONFIG_NATIVE 1
47548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
47552 if test "$wxUSE_INTL" = "yes" ; then
47553 if test "$wxUSE_FILE" != "yes"; then
47554 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47555 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47557 cat >>confdefs.h
<<\_ACEOF
47558 #define wxUSE_INTL 1
47561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
47562 GUIDIST
="$GUIDIST INTL_DIST"
47566 if test "$wxUSE_XLOCALE" = "yes" ; then
47567 cat >>confdefs.h
<<\_ACEOF
47568 #define wxUSE_XLOCALE 1
47571 { echo "$as_me:$LINENO: checking for locale_t" >&5
47572 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47573 if test "${ac_cv_type_locale_t+set}" = set; then
47574 echo $ECHO_N "(cached) $ECHO_C" >&6
47576 cat >conftest.
$ac_ext <<_ACEOF
47579 cat confdefs.h
>>conftest.
$ac_ext
47580 cat >>conftest.
$ac_ext <<_ACEOF
47581 /* end confdefs.h. */
47582 #include <xlocale.h>
47583 #include <locale.h>
47585 typedef locale_t ac__type_new_;
47589 if ((ac__type_new_ *) 0)
47591 if (sizeof (ac__type_new_))
47597 rm -f conftest.
$ac_objext
47598 if { (ac_try
="$ac_compile"
47599 case "(($ac_try" in
47600 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47601 *) ac_try_echo=$ac_try;;
47603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47604 (eval "$ac_compile") 2>conftest.er1
47606 grep -v '^ *+' conftest.er1 >conftest.err
47608 cat conftest.err >&5
47609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47610 (exit $ac_status); } && {
47611 test -z "$ac_c_werror_flag" ||
47612 test ! -s conftest.err
47613 } && test -s conftest.$ac_objext; then
47614 ac_cv_type_locale_t=yes
47616 echo "$as_me: failed program was:" >&5
47617 sed 's/^/| /' conftest.$ac_ext >&5
47619 ac_cv_type_locale_t=no
47622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47624 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47625 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47626 if test $ac_cv_type_locale_t = yes; then
47628 cat >>confdefs.h <<_ACEOF
47629 #define HAVE_LOCALE_T 1
47637 if test "$wxUSE_LOG" = "yes"; then
47638 cat >>confdefs.h <<\_ACEOF
47639 #define wxUSE_LOG 1
47643 if test "$wxUSE_LOGGUI" = "yes"; then
47644 cat >>confdefs.h <<\_ACEOF
47645 #define wxUSE_LOGGUI 1
47650 if test "$wxUSE_LOGWINDOW" = "yes"; then
47651 cat >>confdefs.h <<\_ACEOF
47652 #define wxUSE_LOGWINDOW 1
47657 if test "$wxUSE_LOGDIALOG" = "yes"; then
47658 cat >>confdefs.h <<\_ACEOF
47659 #define wxUSE_LOG_DIALOG 1
47664 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
47667 if test "$wxUSE_LONGLONG" = "yes"; then
47668 cat >>confdefs.h <<\_ACEOF
47669 #define wxUSE_LONGLONG 1
47674 if test "$wxUSE_GEOMETRY" = "yes"; then
47675 cat >>confdefs.h <<\_ACEOF
47676 #define wxUSE_GEOMETRY 1
47681 if test "$wxUSE_BASE64" = "yes"; then
47682 cat >>confdefs.h <<\_ACEOF
47683 #define wxUSE_BASE64 1
47688 if test "$wxUSE_STREAMS" = "yes" ; then
47689 cat >>confdefs.h <<\_ACEOF
47690 #define wxUSE_STREAMS 1
47695 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47696 cat >>confdefs.h <<\_ACEOF
47697 #define wxUSE_PRINTF_POS_PARAMS 1
47702 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47703 cat >>confdefs.h <<\_ACEOF
47704 #define wxUSE_OBJC_UNIQUIFYING 1
47710 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47711 cat >>confdefs.h <<\_ACEOF
47712 #define wxUSE_CONSOLE_EVENTLOOP 1
47716 if test "$wxUSE_UNIX" = "yes"; then
47717 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47718 cat >>confdefs.h <<\_ACEOF
47719 #define wxUSE_SELECT_DISPATCHER 1
47724 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47726 for ac_header in sys/epoll.h
47728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47729 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47731 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47732 echo $ECHO_N "(cached) $ECHO_C" >&6
47734 cat >conftest.$ac_ext <<_ACEOF
47737 cat confdefs.h >>conftest.$ac_ext
47738 cat >>conftest.$ac_ext <<_ACEOF
47739 /* end confdefs.h. */
47740 $ac_includes_default
47742 #include <$ac_header>
47744 rm -f conftest.$ac_objext
47745 if { (ac_try="$ac_compile"
47746 case "(($ac_try" in
47747 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47748 *) ac_try_echo
=$ac_try;;
47750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47751 (eval "$ac_compile") 2>conftest.er1
47753 grep -v '^ *+' conftest.er1
>conftest.err
47755 cat conftest.err
>&5
47756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47757 (exit $ac_status); } && {
47758 test -z "$ac_c_werror_flag" ||
47759 test ! -s conftest.err
47760 } && test -s conftest.
$ac_objext; then
47761 eval "$as_ac_Header=yes"
47763 echo "$as_me: failed program was:" >&5
47764 sed 's/^/| /' conftest.
$ac_ext >&5
47766 eval "$as_ac_Header=no"
47769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47771 ac_res
=`eval echo '${'$as_ac_Header'}'`
47772 { echo "$as_me:$LINENO: result: $ac_res" >&5
47773 echo "${ECHO_T}$ac_res" >&6; }
47774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47775 cat >>confdefs.h
<<_ACEOF
47776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47783 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
47784 cat >>confdefs.h
<<\_ACEOF
47785 #define wxUSE_EPOLL_DISPATCHER 1
47789 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
47790 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
47799 for ac_func
in gettimeofday ftime
47801 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47802 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47804 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47805 echo $ECHO_N "(cached) $ECHO_C" >&6
47807 cat >conftest.
$ac_ext <<_ACEOF
47810 cat confdefs.h
>>conftest.
$ac_ext
47811 cat >>conftest.
$ac_ext <<_ACEOF
47812 /* end confdefs.h. */
47813 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47814 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47815 #define $ac_func innocuous_$ac_func
47817 /* System header to define __stub macros and hopefully few prototypes,
47818 which can conflict with char $ac_func (); below.
47819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47820 <limits.h> exists even on freestanding compilers. */
47823 # include <limits.h>
47825 # include <assert.h>
47830 /* Override any GCC internal prototype to avoid an error.
47831 Use char because int might match the return type of a GCC
47832 builtin and then its argument prototype would still apply. */
47837 /* The GNU C library defines this for functions which it implements
47838 to always fail with ENOSYS. Some functions are actually named
47839 something starting with __ and the normal name is an alias. */
47840 #if defined __stub_$ac_func || defined __stub___$ac_func
47847 return $ac_func ();
47852 rm -f conftest.
$ac_objext conftest
$ac_exeext
47853 if { (ac_try
="$ac_link"
47854 case "(($ac_try" in
47855 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47856 *) ac_try_echo=$ac_try;;
47858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47859 (eval "$ac_link") 2>conftest.er1
47861 grep -v '^ *+' conftest.er1 >conftest.err
47863 cat conftest.err >&5
47864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47865 (exit $ac_status); } && {
47866 test -z "$ac_c_werror_flag" ||
47867 test ! -s conftest.err
47868 } && test -s conftest$ac_exeext &&
47869 $as_test_x conftest$ac_exeext; then
47870 eval "$as_ac_var=yes"
47872 echo "$as_me: failed program was:" >&5
47873 sed 's/^/| /' conftest.$ac_ext >&5
47875 eval "$as_ac_var=no"
47878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
47879 conftest$ac_exeext conftest.$ac_ext
47881 ac_res=`eval echo '${'$as_ac_var'}'`
47882 { echo "$as_me:$LINENO: result: $ac_res" >&5
47883 echo "${ECHO_T}$ac_res" >&6; }
47884 if test `eval echo '${'$as_ac_var'}'` = yes; then
47885 cat >>confdefs.h <<_ACEOF
47886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47893 if test "$ac_cv_func_gettimeofday" = "yes"; then
47894 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
47895 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
47896 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
47897 echo $ECHO_N "(cached) $ECHO_C" >&6
47900 cat >conftest.$ac_ext <<_ACEOF
47903 cat confdefs.h >>conftest.$ac_ext
47904 cat >>conftest.$ac_ext <<_ACEOF
47905 /* end confdefs.h. */
47907 #include <sys/time.h>
47908 #include <unistd.h>
47915 gettimeofday(&tv, NULL);
47921 rm -f conftest.$ac_objext
47922 if { (ac_try="$ac_compile"
47923 case "(($ac_try" in
47924 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47925 *) ac_try_echo
=$ac_try;;
47927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47928 (eval "$ac_compile") 2>conftest.er1
47930 grep -v '^ *+' conftest.er1
>conftest.err
47932 cat conftest.err
>&5
47933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47934 (exit $ac_status); } && {
47935 test -z "$ac_c_werror_flag" ||
47936 test ! -s conftest.err
47937 } && test -s conftest.
$ac_objext; then
47938 wx_cv_func_gettimeofday_has_2_args
=yes
47940 echo "$as_me: failed program was:" >&5
47941 sed 's/^/| /' conftest.
$ac_ext >&5
47943 cat >conftest.
$ac_ext <<_ACEOF
47946 cat confdefs.h
>>conftest.
$ac_ext
47947 cat >>conftest.
$ac_ext <<_ACEOF
47948 /* end confdefs.h. */
47950 #include <sys/time.h>
47951 #include <unistd.h>
47964 rm -f conftest.
$ac_objext
47965 if { (ac_try
="$ac_compile"
47966 case "(($ac_try" in
47967 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47968 *) ac_try_echo=$ac_try;;
47970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47971 (eval "$ac_compile") 2>conftest.er1
47973 grep -v '^ *+' conftest.er1 >conftest.err
47975 cat conftest.err >&5
47976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47977 (exit $ac_status); } && {
47978 test -z "$ac_c_werror_flag" ||
47979 test ! -s conftest.err
47980 } && test -s conftest.$ac_objext; then
47981 wx_cv_func_gettimeofday_has_2_args=no
47983 echo "$as_me: failed program was:" >&5
47984 sed 's/^/| /' conftest.$ac_ext >&5
47987 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
47988 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
47989 wx_cv_func_gettimeofday_has_2_args=unknown
47994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48001 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48002 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48004 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48005 cat >>confdefs.h <<\_ACEOF
48006 #define WX_GETTIMEOFDAY_NO_TZ 1
48012 if test "$wxUSE_DATETIME" = "yes"; then
48013 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48014 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48015 if test "${wx_cv_var_timezone+set}" = set; then
48016 echo $ECHO_N "(cached) $ECHO_C" >&6
48020 ac_cpp='$CXXCPP $CPPFLAGS'
48021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48025 cat >conftest.$ac_ext <<_ACEOF
48028 cat confdefs.h >>conftest.$ac_ext
48029 cat >>conftest.$ac_ext <<_ACEOF
48030 /* end confdefs.h. */
48045 rm -f conftest.$ac_objext
48046 if { (ac_try="$ac_compile"
48047 case "(($ac_try" in
48048 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48049 *) ac_try_echo
=$ac_try;;
48051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48052 (eval "$ac_compile") 2>conftest.er1
48054 grep -v '^ *+' conftest.er1
>conftest.err
48056 cat conftest.err
>&5
48057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48058 (exit $ac_status); } && {
48059 test -z "$ac_cxx_werror_flag" ||
48060 test ! -s conftest.err
48061 } && test -s conftest.
$ac_objext; then
48063 wx_cv_var_timezone
=timezone
48066 echo "$as_me: failed program was:" >&5
48067 sed 's/^/| /' conftest.
$ac_ext >&5
48070 cat >conftest.
$ac_ext <<_ACEOF
48073 cat confdefs.h
>>conftest.
$ac_ext
48074 cat >>conftest.
$ac_ext <<_ACEOF
48075 /* end confdefs.h. */
48090 rm -f conftest.
$ac_objext
48091 if { (ac_try
="$ac_compile"
48092 case "(($ac_try" in
48093 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48094 *) ac_try_echo=$ac_try;;
48096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48097 (eval "$ac_compile") 2>conftest.er1
48099 grep -v '^ *+' conftest.er1 >conftest.err
48101 cat conftest.err >&5
48102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48103 (exit $ac_status); } && {
48104 test -z "$ac_cxx_werror_flag" ||
48105 test ! -s conftest.err
48106 } && test -s conftest.$ac_objext; then
48108 wx_cv_var_timezone=_timezone
48111 echo "$as_me: failed program was:" >&5
48112 sed 's/^/| /' conftest.$ac_ext >&5
48115 cat >conftest.$ac_ext <<_ACEOF
48118 cat confdefs.h >>conftest.$ac_ext
48119 cat >>conftest.$ac_ext <<_ACEOF
48120 /* end confdefs.h. */
48135 rm -f conftest.$ac_objext
48136 if { (ac_try="$ac_compile"
48137 case "(($ac_try" in
48138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48139 *) ac_try_echo
=$ac_try;;
48141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48142 (eval "$ac_compile") 2>conftest.er1
48144 grep -v '^ *+' conftest.er1
>conftest.err
48146 cat conftest.err
>&5
48147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48148 (exit $ac_status); } && {
48149 test -z "$ac_cxx_werror_flag" ||
48150 test ! -s conftest.err
48151 } && test -s conftest.
$ac_objext; then
48153 wx_cv_var_timezone
=__timezone
48156 echo "$as_me: failed program was:" >&5
48157 sed 's/^/| /' conftest.
$ac_ext >&5
48160 if test "$USE_DOS" = 0 ; then
48161 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48162 echo "$as_me: WARNING: no timezone variable" >&2;}
48168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48180 ac_cpp
='$CPP $CPPFLAGS'
48181 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48182 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48183 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48188 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48189 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48191 if test "x$wx_cv_var_timezone" != x
; then
48192 cat >>confdefs.h
<<_ACEOF
48193 #define WX_TIMEZONE $wx_cv_var_timezone
48199 for ac_func
in localtime
48201 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48202 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48203 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48204 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48205 echo $ECHO_N "(cached) $ECHO_C" >&6
48207 cat >conftest.
$ac_ext <<_ACEOF
48210 cat confdefs.h
>>conftest.
$ac_ext
48211 cat >>conftest.
$ac_ext <<_ACEOF
48212 /* end confdefs.h. */
48213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48215 #define $ac_func innocuous_$ac_func
48217 /* System header to define __stub macros and hopefully few prototypes,
48218 which can conflict with char $ac_func (); below.
48219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48220 <limits.h> exists even on freestanding compilers. */
48223 # include <limits.h>
48225 # include <assert.h>
48230 /* Override any GCC internal prototype to avoid an error.
48231 Use char because int might match the return type of a GCC
48232 builtin and then its argument prototype would still apply. */
48237 /* The GNU C library defines this for functions which it implements
48238 to always fail with ENOSYS. Some functions are actually named
48239 something starting with __ and the normal name is an alias. */
48240 #if defined __stub_$ac_func || defined __stub___$ac_func
48247 return $ac_func ();
48252 rm -f conftest.
$ac_objext conftest
$ac_exeext
48253 if { (ac_try
="$ac_link"
48254 case "(($ac_try" in
48255 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48256 *) ac_try_echo=$ac_try;;
48258 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48259 (eval "$ac_link") 2>conftest.er1
48261 grep -v '^ *+' conftest.er1 >conftest.err
48263 cat conftest.err >&5
48264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48265 (exit $ac_status); } && {
48266 test -z "$ac_c_werror_flag" ||
48267 test ! -s conftest.err
48268 } && test -s conftest$ac_exeext &&
48269 $as_test_x conftest$ac_exeext; then
48270 eval "$as_ac_var=yes"
48272 echo "$as_me: failed program was:" >&5
48273 sed 's/^/| /' conftest.$ac_ext >&5
48275 eval "$as_ac_var=no"
48278 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48279 conftest$ac_exeext conftest.$ac_ext
48281 ac_res=`eval echo '${'$as_ac_var'}'`
48282 { echo "$as_me:$LINENO: result: $ac_res" >&5
48283 echo "${ECHO_T}$ac_res" >&6; }
48284 if test `eval echo '${'$as_ac_var'}'` = yes; then
48285 cat >>confdefs.h <<_ACEOF
48286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48293 if test "$ac_cv_func_localtime" = "yes"; then
48294 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48295 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48296 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48297 echo $ECHO_N "(cached) $ECHO_C" >&6
48300 cat >conftest.$ac_ext <<_ACEOF
48303 cat confdefs.h >>conftest.$ac_ext
48304 cat >>conftest.$ac_ext <<_ACEOF
48305 /* end confdefs.h. */
48320 rm -f conftest.$ac_objext
48321 if { (ac_try="$ac_compile"
48322 case "(($ac_try" in
48323 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48324 *) ac_try_echo
=$ac_try;;
48326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48327 (eval "$ac_compile") 2>conftest.er1
48329 grep -v '^ *+' conftest.er1
>conftest.err
48331 cat conftest.err
>&5
48332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48333 (exit $ac_status); } && {
48334 test -z "$ac_c_werror_flag" ||
48335 test ! -s conftest.err
48336 } && test -s conftest.
$ac_objext; then
48338 wx_cv_struct_tm_has_gmtoff
=yes
48341 echo "$as_me: failed program was:" >&5
48342 sed 's/^/| /' conftest.
$ac_ext >&5
48344 wx_cv_struct_tm_has_gmtoff
=no
48348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48351 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48352 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48355 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48356 cat >>confdefs.h
<<\_ACEOF
48357 #define WX_GMTOFF_IN_TM 1
48362 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
48366 if test "$wxUSE_SOCKETS" = "yes"; then
48367 if test "$TOOLKIT" != "MSW"; then
48368 { echo "$as_me:$LINENO: checking for socket" >&5
48369 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48370 if test "${ac_cv_func_socket+set}" = set; then
48371 echo $ECHO_N "(cached) $ECHO_C" >&6
48373 cat >conftest.
$ac_ext <<_ACEOF
48376 cat confdefs.h
>>conftest.
$ac_ext
48377 cat >>conftest.
$ac_ext <<_ACEOF
48378 /* end confdefs.h. */
48379 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48381 #define socket innocuous_socket
48383 /* System header to define __stub macros and hopefully few prototypes,
48384 which can conflict with char socket (); below.
48385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48386 <limits.h> exists even on freestanding compilers. */
48389 # include <limits.h>
48391 # include <assert.h>
48396 /* Override any GCC internal prototype to avoid an error.
48397 Use char because int might match the return type of a GCC
48398 builtin and then its argument prototype would still apply. */
48403 /* The GNU C library defines this for functions which it implements
48404 to always fail with ENOSYS. Some functions are actually named
48405 something starting with __ and the normal name is an alias. */
48406 #if defined __stub_socket || defined __stub___socket
48418 rm -f conftest.
$ac_objext conftest
$ac_exeext
48419 if { (ac_try
="$ac_link"
48420 case "(($ac_try" in
48421 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48422 *) ac_try_echo=$ac_try;;
48424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48425 (eval "$ac_link") 2>conftest.er1
48427 grep -v '^ *+' conftest.er1 >conftest.err
48429 cat conftest.err >&5
48430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48431 (exit $ac_status); } && {
48432 test -z "$ac_c_werror_flag" ||
48433 test ! -s conftest.err
48434 } && test -s conftest$ac_exeext &&
48435 $as_test_x conftest$ac_exeext; then
48436 ac_cv_func_socket=yes
48438 echo "$as_me: failed program was:" >&5
48439 sed 's/^/| /' conftest.$ac_ext >&5
48441 ac_cv_func_socket=no
48444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48445 conftest$ac_exeext conftest.$ac_ext
48447 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48448 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48449 if test $ac_cv_func_socket = yes; then
48453 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48454 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48455 if test "${ac_cv_lib_socket_socket+set}" = set; then
48456 echo $ECHO_N "(cached) $ECHO_C" >&6
48458 ac_check_lib_save_LIBS=$LIBS
48459 LIBS="-lsocket $LIBS"
48460 cat >conftest.$ac_ext <<_ACEOF
48463 cat confdefs.h >>conftest.$ac_ext
48464 cat >>conftest.$ac_ext <<_ACEOF
48465 /* end confdefs.h. */
48467 /* Override any GCC internal prototype to avoid an error.
48468 Use char because int might match the return type of a GCC
48469 builtin and then its argument prototype would still apply. */
48482 rm -f conftest.$ac_objext conftest$ac_exeext
48483 if { (ac_try="$ac_link"
48484 case "(($ac_try" in
48485 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48486 *) ac_try_echo
=$ac_try;;
48488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48489 (eval "$ac_link") 2>conftest.er1
48491 grep -v '^ *+' conftest.er1
>conftest.err
48493 cat conftest.err
>&5
48494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48495 (exit $ac_status); } && {
48496 test -z "$ac_c_werror_flag" ||
48497 test ! -s conftest.err
48498 } && test -s conftest
$ac_exeext &&
48499 $as_test_x conftest
$ac_exeext; then
48500 ac_cv_lib_socket_socket
=yes
48502 echo "$as_me: failed program was:" >&5
48503 sed 's/^/| /' conftest.
$ac_ext >&5
48505 ac_cv_lib_socket_socket
=no
48508 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
48509 conftest
$ac_exeext conftest.
$ac_ext
48510 LIBS
=$ac_check_lib_save_LIBS
48512 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48513 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48514 if test $ac_cv_lib_socket_socket = yes; then
48515 if test "$INET_LINK" != " -lsocket"; then
48516 INET_LINK
="$INET_LINK -lsocket"
48520 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48521 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48534 if test "$wxUSE_SOCKETS" = "yes" ; then
48535 if test "$TOOLKIT" != "MSW"; then
48536 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48537 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48538 if test "${wx_cv_type_getsockname3+set}" = set; then
48539 echo $ECHO_N "(cached) $ECHO_C" >&6
48543 ac_cpp
='$CXXCPP $CPPFLAGS'
48544 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48545 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48546 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48548 cat >conftest.
$ac_ext <<_ACEOF
48551 cat confdefs.h
>>conftest.
$ac_ext
48552 cat >>conftest.
$ac_ext <<_ACEOF
48553 /* end confdefs.h. */
48555 #include <sys/types.h>
48556 #include <sys/socket.h>
48563 getsockname(0, 0, &len);
48569 rm -f conftest.
$ac_objext
48570 if { (ac_try
="$ac_compile"
48571 case "(($ac_try" in
48572 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48573 *) ac_try_echo=$ac_try;;
48575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48576 (eval "$ac_compile") 2>conftest.er1
48578 grep -v '^ *+' conftest.er1 >conftest.err
48580 cat conftest.err >&5
48581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48582 (exit $ac_status); } && {
48583 test -z "$ac_cxx_werror_flag" ||
48584 test ! -s conftest.err
48585 } && test -s conftest.$ac_objext; then
48586 wx_cv_type_getsockname3=socklen_t
48588 echo "$as_me: failed program was:" >&5
48589 sed 's/^/| /' conftest.$ac_ext >&5
48592 CFLAGS_OLD="$CFLAGS"
48593 if test "$GCC" = yes ; then
48594 CFLAGS="-Werror $CFLAGS"
48597 cat >conftest.$ac_ext <<_ACEOF
48600 cat confdefs.h >>conftest.$ac_ext
48601 cat >>conftest.$ac_ext <<_ACEOF
48602 /* end confdefs.h. */
48604 #include <sys/types.h>
48605 #include <sys/socket.h>
48612 getsockname(0, 0, &len);
48618 rm -f conftest.$ac_objext
48619 if { (ac_try="$ac_compile"
48620 case "(($ac_try" in
48621 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48622 *) ac_try_echo
=$ac_try;;
48624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48625 (eval "$ac_compile") 2>conftest.er1
48627 grep -v '^ *+' conftest.er1
>conftest.err
48629 cat conftest.err
>&5
48630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48631 (exit $ac_status); } && {
48632 test -z "$ac_cxx_werror_flag" ||
48633 test ! -s conftest.err
48634 } && test -s conftest.
$ac_objext; then
48635 wx_cv_type_getsockname3
=size_t
48637 echo "$as_me: failed program was:" >&5
48638 sed 's/^/| /' conftest.
$ac_ext >&5
48640 cat >conftest.
$ac_ext <<_ACEOF
48643 cat confdefs.h
>>conftest.
$ac_ext
48644 cat >>conftest.
$ac_ext <<_ACEOF
48645 /* end confdefs.h. */
48647 #include <sys/types.h>
48648 #include <sys/socket.h>
48655 getsockname(0, 0, &len);
48661 rm -f conftest.
$ac_objext
48662 if { (ac_try
="$ac_compile"
48663 case "(($ac_try" in
48664 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48665 *) ac_try_echo=$ac_try;;
48667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48668 (eval "$ac_compile") 2>conftest.er1
48670 grep -v '^ *+' conftest.er1 >conftest.err
48672 cat conftest.err >&5
48673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48674 (exit $ac_status); } && {
48675 test -z "$ac_cxx_werror_flag" ||
48676 test ! -s conftest.err
48677 } && test -s conftest.$ac_objext; then
48678 wx_cv_type_getsockname3=int
48680 echo "$as_me: failed program was:" >&5
48681 sed 's/^/| /' conftest.$ac_ext >&5
48683 wx_cv_type_getsockname3=unknown
48687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48693 CFLAGS="$CFLAGS_OLD"
48698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48700 ac_cpp='$CPP $CPPFLAGS'
48701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48707 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48708 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48710 if test "$wx_cv_type_getsockname3" = "unknown"; then
48712 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48713 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48715 cat >>confdefs.h <<_ACEOF
48716 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48720 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48721 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48722 if test "${wx_cv_type_getsockopt5+set}" = set; then
48723 echo $ECHO_N "(cached) $ECHO_C" >&6
48727 ac_cpp='$CXXCPP $CPPFLAGS'
48728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48732 cat >conftest.$ac_ext <<_ACEOF
48735 cat confdefs.h >>conftest.$ac_ext
48736 cat >>conftest.$ac_ext <<_ACEOF
48737 /* end confdefs.h. */
48739 #include <sys/types.h>
48740 #include <sys/socket.h>
48747 getsockopt(0, 0, 0, 0, &len);
48753 rm -f conftest.$ac_objext
48754 if { (ac_try="$ac_compile"
48755 case "(($ac_try" in
48756 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48757 *) ac_try_echo
=$ac_try;;
48759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48760 (eval "$ac_compile") 2>conftest.er1
48762 grep -v '^ *+' conftest.er1
>conftest.err
48764 cat conftest.err
>&5
48765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48766 (exit $ac_status); } && {
48767 test -z "$ac_cxx_werror_flag" ||
48768 test ! -s conftest.err
48769 } && test -s conftest.
$ac_objext; then
48770 wx_cv_type_getsockopt5
=socklen_t
48772 echo "$as_me: failed program was:" >&5
48773 sed 's/^/| /' conftest.
$ac_ext >&5
48776 cat >conftest.
$ac_ext <<_ACEOF
48779 cat confdefs.h
>>conftest.
$ac_ext
48780 cat >>conftest.
$ac_ext <<_ACEOF
48781 /* end confdefs.h. */
48783 #include <sys/types.h>
48784 #include <sys/socket.h>
48791 getsockopt(0, 0, 0, 0, &len);
48797 rm -f conftest.
$ac_objext
48798 if { (ac_try
="$ac_compile"
48799 case "(($ac_try" in
48800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48801 *) ac_try_echo=$ac_try;;
48803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48804 (eval "$ac_compile") 2>conftest.er1
48806 grep -v '^ *+' conftest.er1 >conftest.err
48808 cat conftest.err >&5
48809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48810 (exit $ac_status); } && {
48811 test -z "$ac_cxx_werror_flag" ||
48812 test ! -s conftest.err
48813 } && test -s conftest.$ac_objext; then
48814 wx_cv_type_getsockopt5=size_t
48816 echo "$as_me: failed program was:" >&5
48817 sed 's/^/| /' conftest.$ac_ext >&5
48819 cat >conftest.$ac_ext <<_ACEOF
48822 cat confdefs.h >>conftest.$ac_ext
48823 cat >>conftest.$ac_ext <<_ACEOF
48824 /* end confdefs.h. */
48826 #include <sys/types.h>
48827 #include <sys/socket.h>
48834 getsockopt(0, 0, 0, 0, &len);
48840 rm -f conftest.$ac_objext
48841 if { (ac_try="$ac_compile"
48842 case "(($ac_try" in
48843 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48844 *) ac_try_echo
=$ac_try;;
48846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48847 (eval "$ac_compile") 2>conftest.er1
48849 grep -v '^ *+' conftest.er1
>conftest.err
48851 cat conftest.err
>&5
48852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48853 (exit $ac_status); } && {
48854 test -z "$ac_cxx_werror_flag" ||
48855 test ! -s conftest.err
48856 } && test -s conftest.
$ac_objext; then
48857 wx_cv_type_getsockopt5
=int
48859 echo "$as_me: failed program was:" >&5
48860 sed 's/^/| /' conftest.
$ac_ext >&5
48862 wx_cv_type_getsockopt5
=unknown
48866 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48877 ac_cpp
='$CPP $CPPFLAGS'
48878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48884 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
48885 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
48887 if test "$wx_cv_type_getsockopt5" = "unknown"; then
48889 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48890 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48892 cat >>confdefs.h
<<_ACEOF
48893 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
48900 if test "$wxUSE_SOCKETS" = "yes" ; then
48901 if test "$wxUSE_IPV6" = "yes"; then
48902 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
48903 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
48904 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
48905 echo $ECHO_N "(cached) $ECHO_C" >&6
48908 cat >conftest.
$ac_ext <<_ACEOF
48911 cat confdefs.h
>>conftest.
$ac_ext
48912 cat >>conftest.
$ac_ext <<_ACEOF
48913 /* end confdefs.h. */
48915 #include <sys/types.h>
48916 #include <sys/socket.h>
48917 #include <netinet/in.h>
48923 struct sockaddr_in6 sa6;
48929 rm -f conftest.
$ac_objext
48930 if { (ac_try
="$ac_compile"
48931 case "(($ac_try" in
48932 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48933 *) ac_try_echo=$ac_try;;
48935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48936 (eval "$ac_compile") 2>conftest.er1
48938 grep -v '^ *+' conftest.er1 >conftest.err
48940 cat conftest.err >&5
48941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48942 (exit $ac_status); } && {
48943 test -z "$ac_c_werror_flag" ||
48944 test ! -s conftest.err
48945 } && test -s conftest.$ac_objext; then
48946 wx_cv_type_sockaddr_in6=yes
48948 echo "$as_me: failed program was:" >&5
48949 sed 's/^/| /' conftest.$ac_ext >&5
48951 wx_cv_type_sockaddr_in6=no
48955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48959 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
48960 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
48962 if test "$wx_cv_type_sockaddr_in6"="yes"; then
48963 cat >>confdefs.h <<\_ACEOF
48964 #define wxUSE_IPV6 1
48968 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
48969 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
48973 cat >>confdefs.h <<\_ACEOF
48974 #define wxUSE_SOCKETS 1
48977 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
48980 if test "$wxUSE_PROTOCOL" = "yes"; then
48981 if test "$wxUSE_SOCKETS" != "yes"; then
48982 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
48983 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
48988 if test "$wxUSE_PROTOCOL" = "yes"; then
48989 cat >>confdefs.h <<\_ACEOF
48990 #define wxUSE_PROTOCOL 1
48994 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
48995 cat >>confdefs.h <<\_ACEOF
48996 #define wxUSE_PROTOCOL_HTTP 1
49000 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49001 cat >>confdefs.h <<\_ACEOF
49002 #define wxUSE_PROTOCOL_FTP 1
49006 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49007 cat >>confdefs.h <<\_ACEOF
49008 #define wxUSE_PROTOCOL_FILE 1
49013 if test "$wxUSE_FS_INET" = "yes"; then
49014 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49015 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49020 if test "$wxUSE_URL" = "yes"; then
49021 if test "$wxUSE_PROTOCOL" != "yes"; then
49022 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49023 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49026 if test "$wxUSE_URL" = "yes"; then
49027 cat >>confdefs.h <<\_ACEOF
49028 #define wxUSE_URL 1
49034 if test "$wxUSE_VARIANT" = "yes"; then
49035 cat >>confdefs.h <<\_ACEOF
49036 #define wxUSE_VARIANT 1
49041 if test "$wxUSE_FS_INET" = "yes"; then
49042 cat >>confdefs.h <<\_ACEOF
49043 #define wxUSE_FS_INET 1
49049 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49052 if test "$TOOLKIT" = "MSW"; then
49055 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49056 if test "$USE_DARWIN" = 1; then
49057 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49058 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49060 ac_cpp='$CXXCPP $CPPFLAGS'
49061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49065 cat >conftest.$ac_ext <<_ACEOF
49068 cat confdefs.h >>conftest.$ac_ext
49069 cat >>conftest.$ac_ext <<_ACEOF
49070 /* end confdefs.h. */
49071 #include <IOKit/hid/IOHIDLib.h>
49075 IOHIDQueueInterface *qi = NULL;
49076 IOHIDCallbackFunction cb = NULL;
49077 qi->setEventCallout(NULL, cb, NULL, NULL);
49082 rm -f conftest.$ac_objext
49083 if { (ac_try="$ac_compile"
49084 case "(($ac_try" in
49085 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49086 *) ac_try_echo
=$ac_try;;
49088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49089 (eval "$ac_compile") 2>conftest.er1
49091 grep -v '^ *+' conftest.er1
>conftest.err
49093 cat conftest.err
>&5
49094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49095 (exit $ac_status); } && {
49096 test -z "$ac_cxx_werror_flag" ||
49097 test ! -s conftest.err
49098 } && test -s conftest.
$ac_objext; then
49102 echo "$as_me: failed program was:" >&5
49103 sed 's/^/| /' conftest.
$ac_ext >&5
49108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49110 ac_cpp
='$CPP $CPPFLAGS'
49111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49115 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49116 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49121 for ac_header
in linux
/joystick.h
49123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49124 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49126 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49127 echo $ECHO_N "(cached) $ECHO_C" >&6
49129 cat >conftest.
$ac_ext <<_ACEOF
49132 cat confdefs.h
>>conftest.
$ac_ext
49133 cat >>conftest.
$ac_ext <<_ACEOF
49134 /* end confdefs.h. */
49135 $ac_includes_default
49137 #include <$ac_header>
49139 rm -f conftest.
$ac_objext
49140 if { (ac_try
="$ac_compile"
49141 case "(($ac_try" in
49142 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49143 *) ac_try_echo=$ac_try;;
49145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49146 (eval "$ac_compile") 2>conftest.er1
49148 grep -v '^ *+' conftest.er1 >conftest.err
49150 cat conftest.err >&5
49151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49152 (exit $ac_status); } && {
49153 test -z "$ac_c_werror_flag" ||
49154 test ! -s conftest.err
49155 } && test -s conftest.$ac_objext; then
49156 eval "$as_ac_Header=yes"
49158 echo "$as_me: failed program was:" >&5
49159 sed 's/^/| /' conftest.$ac_ext >&5
49161 eval "$as_ac_Header=no"
49164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49166 ac_res=`eval echo '${'$as_ac_Header'}'`
49167 { echo "$as_me:$LINENO: result: $ac_res" >&5
49168 echo "${ECHO_T}$ac_res" >&6; }
49169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49170 cat >>confdefs.h <<_ACEOF
49171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49180 if test "$wxUSE_JOYSTICK" = "yes"; then
49181 cat >>confdefs.h <<\_ACEOF
49182 #define wxUSE_JOYSTICK 1
49185 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
49187 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49188 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49194 if test "$wxUSE_FONTENUM" = "yes" ; then
49195 cat >>confdefs.h <<\_ACEOF
49196 #define wxUSE_FONTENUM 1
49201 if test "$wxUSE_FONTMAP" = "yes" ; then
49202 cat >>confdefs.h <<\_ACEOF
49203 #define wxUSE_FONTMAP 1
49208 if test "$wxUSE_UNICODE" = "yes" ; then
49209 cat >>confdefs.h <<\_ACEOF
49210 #define wxUSE_UNICODE 1
49214 if test "$USE_WIN32" != 1; then
49215 wxUSE_UNICODE_MSLU=no
49218 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49219 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49220 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49221 if test "${ac_cv_lib_unicows_main+set}" = set; then
49222 echo $ECHO_N "(cached) $ECHO_C" >&6
49224 ac_check_lib_save_LIBS=$LIBS
49225 LIBS="-lunicows $LIBS"
49226 cat >conftest.$ac_ext <<_ACEOF
49229 cat confdefs.h >>conftest.$ac_ext
49230 cat >>conftest.$ac_ext <<_ACEOF
49231 /* end confdefs.h. */
49242 rm -f conftest.$ac_objext conftest$ac_exeext
49243 if { (ac_try="$ac_link"
49244 case "(($ac_try" in
49245 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49246 *) ac_try_echo
=$ac_try;;
49248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49249 (eval "$ac_link") 2>conftest.er1
49251 grep -v '^ *+' conftest.er1
>conftest.err
49253 cat conftest.err
>&5
49254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49255 (exit $ac_status); } && {
49256 test -z "$ac_c_werror_flag" ||
49257 test ! -s conftest.err
49258 } && test -s conftest
$ac_exeext &&
49259 $as_test_x conftest
$ac_exeext; then
49260 ac_cv_lib_unicows_main
=yes
49262 echo "$as_me: failed program was:" >&5
49263 sed 's/^/| /' conftest.
$ac_ext >&5
49265 ac_cv_lib_unicows_main
=no
49268 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
49269 conftest
$ac_exeext conftest.
$ac_ext
49270 LIBS
=$ac_check_lib_save_LIBS
49272 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49273 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49274 if test $ac_cv_lib_unicows_main = yes; then
49276 cat >>confdefs.h
<<\_ACEOF
49277 #define wxUSE_UNICODE_MSLU 1
49283 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49284 Applications will only run on Windows NT/2000/XP!" >&5
49285 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49286 Applications will only run on Windows NT/2000/XP!" >&2;}
49287 wxUSE_UNICODE_MSLU
=no
49294 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49295 cat >>confdefs.h
<<\_ACEOF
49296 #define wxUSE_UNICODE_UTF8 1
49300 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49301 cat >>confdefs.h
<<\_ACEOF
49302 #define wxUSE_UTF8_LOCALE_ONLY 1
49309 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49310 cat >>confdefs.h
<<\_ACEOF
49311 #define wxUSE_CONSTRAINTS 1
49314 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
49317 if test "$wxUSE_MDI" = "yes"; then
49318 cat >>confdefs.h
<<\_ACEOF
49319 #define wxUSE_MDI 1
49323 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49324 cat >>confdefs.h
<<\_ACEOF
49325 #define wxUSE_MDI_ARCHITECTURE 1
49328 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
49332 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49333 cat >>confdefs.h
<<\_ACEOF
49334 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49337 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
49340 if test "$wxUSE_HELP" = "yes"; then
49341 cat >>confdefs.h
<<\_ACEOF
49342 #define wxUSE_HELP 1
49345 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
49347 if test "$wxUSE_MSW" = 1; then
49348 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49349 cat >>confdefs.h
<<\_ACEOF
49350 #define wxUSE_MS_HTML_HELP 1
49356 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49357 if test "$wxUSE_HTML" = "yes"; then
49358 cat >>confdefs.h
<<\_ACEOF
49359 #define wxUSE_WXHTML_HELP 1
49363 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49364 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49365 wxUSE_WXHTML_HELP
=no
49370 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49371 cat >>confdefs.h
<<\_ACEOF
49372 #define wxUSE_PRINTING_ARCHITECTURE 1
49375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
49378 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49379 cat >>confdefs.h
<<\_ACEOF
49380 #define wxUSE_POSTSCRIPT 1
49385 cat >>confdefs.h
<<\_ACEOF
49386 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49390 if test "$wxUSE_SVG" = "yes"; then
49391 cat >>confdefs.h
<<\_ACEOF
49392 #define wxUSE_SVG 1
49398 if test "$wxUSE_METAFILE" = "yes"; then
49399 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49400 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49401 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49404 elif test "$wxUSE_METAFILE" = "auto"; then
49405 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49410 if test "$wxUSE_METAFILE" = "yes"; then
49411 cat >>confdefs.h
<<\_ACEOF
49412 #define wxUSE_METAFILE 1
49415 if test "$wxUSE_MSW" = 1; then
49416 cat >>confdefs.h
<<\_ACEOF
49417 #define wxUSE_ENH_METAFILE 1
49424 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
49425 -o "$wxUSE_CLIPBOARD" = "yes" \
49426 -o "$wxUSE_OLE" = "yes" \
49427 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
49428 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49429 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49430 if test "${ac_cv_header_ole2_h+set}" = set; then
49431 echo $ECHO_N "(cached) $ECHO_C" >&6
49433 cat >conftest.
$ac_ext <<_ACEOF
49436 cat confdefs.h
>>conftest.
$ac_ext
49437 cat >>conftest.
$ac_ext <<_ACEOF
49438 /* end confdefs.h. */
49443 rm -f conftest.
$ac_objext
49444 if { (ac_try
="$ac_compile"
49445 case "(($ac_try" in
49446 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49447 *) ac_try_echo=$ac_try;;
49449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49450 (eval "$ac_compile") 2>conftest.er1
49452 grep -v '^ *+' conftest.er1 >conftest.err
49454 cat conftest.err >&5
49455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49456 (exit $ac_status); } && {
49457 test -z "$ac_c_werror_flag" ||
49458 test ! -s conftest.err
49459 } && test -s conftest.$ac_objext; then
49460 ac_cv_header_ole2_h=yes
49462 echo "$as_me: failed program was:" >&5
49463 sed 's/^/| /' conftest.$ac_ext >&5
49465 ac_cv_header_ole2_h=no
49468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49470 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49471 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49475 if test "$ac_cv_header_ole2_h" = "yes" ; then
49476 if test "$GCC" = yes ; then
49477 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49478 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49479 cat >conftest.$ac_ext <<_ACEOF
49482 cat confdefs.h >>conftest.$ac_ext
49483 cat >>conftest.$ac_ext <<_ACEOF
49484 /* end confdefs.h. */
49485 #include <windows.h>
49495 rm -f conftest.$ac_objext
49496 if { (ac_try="$ac_compile"
49497 case "(($ac_try" in
49498 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49499 *) ac_try_echo
=$ac_try;;
49501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49502 (eval "$ac_compile") 2>conftest.er1
49504 grep -v '^ *+' conftest.er1
>conftest.err
49506 cat conftest.err
>&5
49507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49508 (exit $ac_status); } && {
49509 test -z "$ac_c_werror_flag" ||
49510 test ! -s conftest.err
49511 } && test -s conftest.
$ac_objext; then
49512 { echo "$as_me:$LINENO: result: no" >&5
49513 echo "${ECHO_T}no" >&6; }
49515 echo "$as_me: failed program was:" >&5
49516 sed 's/^/| /' conftest.
$ac_ext >&5
49518 { echo "$as_me:$LINENO: result: yes" >&5
49519 echo "${ECHO_T}yes" >&6; }
49520 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49524 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49525 if test "$wxUSE_OLE" = "yes" ; then
49526 cat >>confdefs.h
<<\_ACEOF
49527 #define wxUSE_OLE 1
49530 cat >>confdefs.h
<<\_ACEOF
49531 #define wxUSE_OLE_AUTOMATION 1
49534 cat >>confdefs.h
<<\_ACEOF
49535 #define wxUSE_ACTIVEX 1
49538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
49542 if test "$wxUSE_DATAOBJ" = "yes" ; then
49543 cat >>confdefs.h
<<\_ACEOF
49544 #define wxUSE_DATAOBJ 1
49549 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49550 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49553 wxUSE_DRAG_AND_DROP
=no
49559 if test "$wxUSE_IPC" = "yes"; then
49560 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49561 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49562 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49566 if test "$wxUSE_IPC" = "yes"; then
49567 cat >>confdefs.h
<<\_ACEOF
49568 #define wxUSE_IPC 1
49571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
49575 if test "$wxUSE_DATAOBJ" = "yes"; then
49576 cat >>confdefs.h
<<\_ACEOF
49577 #define wxUSE_DATAOBJ 1
49581 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49582 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49584 wxUSE_DRAG_AND_DROP
=no
49587 if test "$wxUSE_CLIPBOARD" = "yes"; then
49588 if test "$wxUSE_DFB" = 1; then
49589 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49590 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49594 if test "$wxUSE_CLIPBOARD" = "yes"; then
49595 cat >>confdefs.h
<<\_ACEOF
49596 #define wxUSE_CLIPBOARD 1
49602 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49603 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
49604 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49605 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49606 wxUSE_DRAG_AND_DROP
=no
49609 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49610 cat >>confdefs.h
<<\_ACEOF
49611 #define wxUSE_DRAG_AND_DROP 1
49618 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
49622 if test "$wxUSE_CLIPBOARD" = "yes"; then
49623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
49626 if test "$wxUSE_SPLINES" = "yes" ; then
49627 cat >>confdefs.h
<<\_ACEOF
49628 #define wxUSE_SPLINES 1
49633 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49634 cat >>confdefs.h
<<\_ACEOF
49635 #define wxUSE_MOUSEWHEEL 1
49640 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49641 cat >>confdefs.h
<<\_ACEOF
49642 #define wxUSE_UIACTIONSIMULATOR 1
49645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
49648 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49649 cat >>confdefs.h
<<\_ACEOF
49650 #define wxUSE_DC_TRANSFORM_MATRIX 1
49657 if test "$wxUSE_CONTROLS" = "yes"; then
49661 if test "$wxUSE_MARKUP" = "yes"; then
49662 cat >>confdefs.h
<<\_ACEOF
49663 #define wxUSE_MARKUP 1
49668 if test "$wxUSE_ACCEL" = "yes"; then
49669 cat >>confdefs.h
<<\_ACEOF
49670 #define wxUSE_ACCEL 1
49676 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49677 cat >>confdefs.h
<<\_ACEOF
49678 #define wxUSE_ANIMATIONCTRL 1
49682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
49685 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49686 cat >>confdefs.h
<<\_ACEOF
49687 #define wxUSE_BANNERWINDOW 1
49692 if test "$wxUSE_BUTTON" = "yes"; then
49693 cat >>confdefs.h
<<\_ACEOF
49694 #define wxUSE_BUTTON 1
49700 if test "$wxUSE_BMPBUTTON" = "yes"; then
49701 cat >>confdefs.h
<<\_ACEOF
49702 #define wxUSE_BMPBUTTON 1
49708 if test "$wxUSE_CALCTRL" = "yes"; then
49709 cat >>confdefs.h
<<\_ACEOF
49710 #define wxUSE_CALENDARCTRL 1
49714 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
49717 if test "$wxUSE_CARET" = "yes"; then
49718 cat >>confdefs.h
<<\_ACEOF
49719 #define wxUSE_CARET 1
49723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
49726 if test "$wxUSE_COLLPANE" = "yes"; then
49727 cat >>confdefs.h
<<\_ACEOF
49728 #define wxUSE_COLLPANE 1
49732 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
49735 if test "$wxUSE_COMBOBOX" = "yes"; then
49736 cat >>confdefs.h
<<\_ACEOF
49737 #define wxUSE_COMBOBOX 1
49743 if test "$wxUSE_COMBOCTRL" = "yes"; then
49744 cat >>confdefs.h
<<\_ACEOF
49745 #define wxUSE_COMBOCTRL 1
49751 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
49752 cat >>confdefs.h
<<\_ACEOF
49753 #define wxUSE_COMMANDLINKBUTTON 1
49759 if test "$wxUSE_CHOICE" = "yes"; then
49760 cat >>confdefs.h
<<\_ACEOF
49761 #define wxUSE_CHOICE 1
49767 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49768 cat >>confdefs.h
<<\_ACEOF
49769 #define wxUSE_CHOICEBOOK 1
49775 if test "$wxUSE_CHECKBOX" = "yes"; then
49776 cat >>confdefs.h
<<\_ACEOF
49777 #define wxUSE_CHECKBOX 1
49783 if test "$wxUSE_CHECKLST" = "yes"; then
49784 cat >>confdefs.h
<<\_ACEOF
49785 #define wxUSE_CHECKLISTBOX 1
49791 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49792 cat >>confdefs.h
<<\_ACEOF
49793 #define wxUSE_COLOURPICKERCTRL 1
49799 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49800 cat >>confdefs.h
<<\_ACEOF
49801 #define wxUSE_DATEPICKCTRL 1
49807 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49808 cat >>confdefs.h
<<\_ACEOF
49809 #define wxUSE_DIRPICKERCTRL 1
49815 if test "$wxUSE_FILECTRL" = "yes"; then
49816 cat >>confdefs.h
<<\_ACEOF
49817 #define wxUSE_FILECTRL 1
49823 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49824 cat >>confdefs.h
<<\_ACEOF
49825 #define wxUSE_FILEPICKERCTRL 1
49831 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49832 cat >>confdefs.h
<<\_ACEOF
49833 #define wxUSE_FONTPICKERCTRL 1
49839 if test "$wxUSE_DISPLAY" = "yes"; then
49840 if test "$wxUSE_DFB" = 1; then
49841 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49842 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49845 cat >>confdefs.h
<<\_ACEOF
49846 #define wxUSE_DISPLAY 1
49849 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
49853 if test "$wxUSE_DETECT_SM" = "yes"; then
49854 cat >>confdefs.h
<<\_ACEOF
49855 #define wxUSE_DETECT_SM 1
49860 if test "$wxUSE_GAUGE" = "yes"; then
49861 cat >>confdefs.h
<<\_ACEOF
49862 #define wxUSE_GAUGE 1
49868 if test "$wxUSE_GRID" = "yes"; then
49869 cat >>confdefs.h
<<\_ACEOF
49870 #define wxUSE_GRID 1
49874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
49877 if test "$wxUSE_HEADERCTRL" = "yes"; then
49878 cat >>confdefs.h
<<\_ACEOF
49879 #define wxUSE_HEADERCTRL 1
49885 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
49886 cat >>confdefs.h
<<\_ACEOF
49887 #define wxUSE_HYPERLINKCTRL 1
49893 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
49894 cat >>confdefs.h
<<\_ACEOF
49895 #define wxUSE_BITMAPCOMBOBOX 1
49901 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
49902 cat >>confdefs.h
<<\_ACEOF
49903 #define wxUSE_DATAVIEWCTRL 1
49907 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
49910 if test "$wxUSE_IMAGLIST" = "yes"; then
49911 cat >>confdefs.h
<<\_ACEOF
49912 #define wxUSE_IMAGLIST 1
49917 if test "$wxUSE_INFOBAR" = "yes"; then
49918 cat >>confdefs.h
<<\_ACEOF
49919 #define wxUSE_INFOBAR 1
49924 if test "$wxUSE_LISTBOOK" = "yes"; then
49925 cat >>confdefs.h
<<\_ACEOF
49926 #define wxUSE_LISTBOOK 1
49932 if test "$wxUSE_LISTBOX" = "yes"; then
49933 cat >>confdefs.h
<<\_ACEOF
49934 #define wxUSE_LISTBOX 1
49940 if test "$wxUSE_LISTCTRL" = "yes"; then
49941 if test "$wxUSE_IMAGLIST" = "yes"; then
49942 cat >>confdefs.h
<<\_ACEOF
49943 #define wxUSE_LISTCTRL 1
49947 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
49949 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
49950 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
49954 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
49955 cat >>confdefs.h
<<\_ACEOF
49956 #define wxUSE_EDITABLELISTBOX 1
49962 if test "$wxUSE_NOTEBOOK" = "yes"; then
49963 cat >>confdefs.h
<<\_ACEOF
49964 #define wxUSE_NOTEBOOK 1
49968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
49971 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
49972 cat >>confdefs.h
<<\_ACEOF
49973 #define wxUSE_NOTIFICATION_MESSAGE 1
49978 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
49979 cat >>confdefs.h
<<\_ACEOF
49980 #define wxUSE_ODCOMBOBOX 1
49984 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
49987 if test "$wxUSE_RADIOBOX" = "yes"; then
49988 cat >>confdefs.h
<<\_ACEOF
49989 #define wxUSE_RADIOBOX 1
49995 if test "$wxUSE_RADIOBTN" = "yes"; then
49996 cat >>confdefs.h
<<\_ACEOF
49997 #define wxUSE_RADIOBTN 1
50003 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50004 cat >>confdefs.h
<<\_ACEOF
50005 #define wxUSE_REARRANGECTRL 1
50010 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50011 cat >>confdefs.h
<<\_ACEOF
50012 #define wxUSE_RICHMSGDLG 1
50017 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50018 cat >>confdefs.h
<<\_ACEOF
50019 #define wxUSE_RICHTOOLTIP 1
50024 if test "$wxUSE_SASH" = "yes"; then
50025 cat >>confdefs.h
<<\_ACEOF
50026 #define wxUSE_SASH 1
50029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
50032 if test "$wxUSE_SCROLLBAR" = "yes"; then
50033 cat >>confdefs.h
<<\_ACEOF
50034 #define wxUSE_SCROLLBAR 1
50038 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
50041 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50042 cat >>confdefs.h
<<\_ACEOF
50043 #define wxUSE_SEARCHCTRL 1
50049 if test "$wxUSE_SLIDER" = "yes"; then
50050 cat >>confdefs.h
<<\_ACEOF
50051 #define wxUSE_SLIDER 1
50057 if test "$wxUSE_SPINBTN" = "yes"; then
50058 cat >>confdefs.h
<<\_ACEOF
50059 #define wxUSE_SPINBTN 1
50065 if test "$wxUSE_SPINCTRL" = "yes"; then
50066 cat >>confdefs.h
<<\_ACEOF
50067 #define wxUSE_SPINCTRL 1
50073 if test "$wxUSE_SPLITTER" = "yes"; then
50074 cat >>confdefs.h
<<\_ACEOF
50075 #define wxUSE_SPLITTER 1
50078 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
50081 if test "$wxUSE_STATBMP" = "yes"; then
50082 cat >>confdefs.h
<<\_ACEOF
50083 #define wxUSE_STATBMP 1
50089 if test "$wxUSE_STATBOX" = "yes"; then
50090 cat >>confdefs.h
<<\_ACEOF
50091 #define wxUSE_STATBOX 1
50097 if test "$wxUSE_STATTEXT" = "yes"; then
50098 cat >>confdefs.h
<<\_ACEOF
50099 #define wxUSE_STATTEXT 1
50105 if test "$wxUSE_STATLINE" = "yes"; then
50106 cat >>confdefs.h
<<\_ACEOF
50107 #define wxUSE_STATLINE 1
50113 if test "$wxUSE_STATUSBAR" = "yes"; then
50114 cat >>confdefs.h
<<\_ACEOF
50115 #define wxUSE_NATIVE_STATUSBAR 1
50118 cat >>confdefs.h
<<\_ACEOF
50119 #define wxUSE_STATUSBAR 1
50124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
50127 if test "$wxUSE_TEXTCTRL" = "yes"; then
50128 cat >>confdefs.h
<<\_ACEOF
50129 #define wxUSE_TEXTCTRL 1
50133 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
50135 cat >>confdefs.h
<<\_ACEOF
50136 #define wxUSE_RICHEDIT 1
50139 cat >>confdefs.h
<<\_ACEOF
50140 #define wxUSE_RICHEDIT2 1
50145 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50146 cat >>confdefs.h
<<\_ACEOF
50147 #define wxUSE_TIMEPICKCTRL 1
50153 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50154 if test "$wxUSE_OLD_COCOA" = 1 ; then
50155 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50156 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50160 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50161 cat >>confdefs.h
<<\_ACEOF
50162 #define wxUSE_TOGGLEBTN 1
50169 if test "$wxUSE_TOOLBAR" = "yes"; then
50170 cat >>confdefs.h
<<\_ACEOF
50171 #define wxUSE_TOOLBAR 1
50176 if test "$wxUSE_UNIVERSAL" = "yes"; then
50177 wxUSE_TOOLBAR_NATIVE
="no"
50179 wxUSE_TOOLBAR_NATIVE
="yes"
50180 cat >>confdefs.h
<<\_ACEOF
50181 #define wxUSE_TOOLBAR_NATIVE 1
50186 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
50189 if test "$wxUSE_TOOLTIPS" = "yes"; then
50190 if test "$wxUSE_MOTIF" = 1; then
50191 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50192 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50194 if test "$wxUSE_UNIVERSAL" = "yes"; then
50195 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50196 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50198 cat >>confdefs.h
<<\_ACEOF
50199 #define wxUSE_TOOLTIPS 1
50206 if test "$wxUSE_TREEBOOK" = "yes"; then
50207 cat >>confdefs.h
<<\_ACEOF
50208 #define wxUSE_TREEBOOK 1
50214 if test "$wxUSE_TOOLBOOK" = "yes"; then
50215 cat >>confdefs.h
<<\_ACEOF
50216 #define wxUSE_TOOLBOOK 1
50222 if test "$wxUSE_TREECTRL" = "yes"; then
50223 if test "$wxUSE_IMAGLIST" = "yes"; then
50224 cat >>confdefs.h
<<\_ACEOF
50225 #define wxUSE_TREECTRL 1
50229 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
50231 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50232 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50236 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50237 cat >>confdefs.h
<<\_ACEOF
50238 #define wxUSE_TREELISTCTRL 1
50242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelist"
50245 if test "$wxUSE_POPUPWIN" = "yes"; then
50246 if test "$wxUSE_OLD_COCOA" = 1 ; then
50247 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50248 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50250 if test "$wxUSE_PM" = 1; then
50251 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50252 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50254 cat >>confdefs.h
<<\_ACEOF
50255 #define wxUSE_POPUPWIN 1
50258 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
50265 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50266 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
50267 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50268 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50270 cat >>confdefs.h
<<\_ACEOF
50271 #define wxUSE_DIALUP_MANAGER 1
50274 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
50278 if test "$wxUSE_TIPWINDOW" = "yes"; then
50279 if test "$wxUSE_PM" = 1; then
50280 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50281 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50283 cat >>confdefs.h
<<\_ACEOF
50284 #define wxUSE_TIPWINDOW 1
50290 if test "$USES_CONTROLS" = 1; then
50291 cat >>confdefs.h
<<\_ACEOF
50292 #define wxUSE_CONTROLS 1
50298 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50299 cat >>confdefs.h
<<\_ACEOF
50300 #define wxUSE_ACCESSIBILITY 1
50303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
50306 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50307 cat >>confdefs.h
<<\_ACEOF
50308 #define wxUSE_ARTPROVIDER_STD 1
50313 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50314 if test "$wxUSE_GTK" != 1; then
50315 if test "$wxUSE_LIBPNG" != no
-a \
50316 "$wxUSE_IMAGE" = yes -a \
50317 "$wxUSE_STREAMS" = yes; then
50318 wxUSE_ARTPROVIDER_TANGO
="yes"
50323 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50324 cat >>confdefs.h
<<\_ACEOF
50325 #define wxUSE_ARTPROVIDER_TANGO 1
50330 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50331 cat >>confdefs.h
<<\_ACEOF
50332 #define wxUSE_DRAGIMAGE 1
50335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
50338 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50339 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50340 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50341 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50343 cat >>confdefs.h
<<\_ACEOF
50344 #define wxUSE_EXCEPTIONS 1
50347 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
50352 if test "$wxUSE_HTML" = "yes"; then
50353 cat >>confdefs.h
<<\_ACEOF
50354 #define wxUSE_HTML 1
50358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50360 if test "$wxUSE_WEBKIT" = "yes"; then
50361 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50362 old_CPPFLAGS
="$CPPFLAGS"
50363 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
50364 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50365 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50366 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50367 echo $ECHO_N "(cached) $ECHO_C" >&6
50369 cat >conftest.
$ac_ext <<_ACEOF
50372 cat confdefs.h
>>conftest.
$ac_ext
50373 cat >>conftest.
$ac_ext <<_ACEOF
50374 /* end confdefs.h. */
50376 #include <Carbon/Carbon.h>
50377 #include <WebKit/WebKit.h>
50380 #include <WebKit/HIWebView.h>
50382 rm -f conftest.
$ac_objext
50383 if { (ac_try
="$ac_compile"
50384 case "(($ac_try" in
50385 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50386 *) ac_try_echo=$ac_try;;
50388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50389 (eval "$ac_compile") 2>conftest.er1
50391 grep -v '^ *+' conftest.er1 >conftest.err
50393 cat conftest.err >&5
50394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50395 (exit $ac_status); } && {
50396 test -z "$ac_c_werror_flag" ||
50397 test ! -s conftest.err
50398 } && test -s conftest.$ac_objext; then
50399 ac_cv_header_WebKit_HIWebView_h=yes
50401 echo "$as_me: failed program was:" >&5
50402 sed 's/^/| /' conftest.$ac_ext >&5
50404 ac_cv_header_WebKit_HIWebView_h=no
50407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50409 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50410 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50411 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50413 cat >>confdefs.h <<\_ACEOF
50414 #define wxUSE_WEBKIT 1
50417 WEBKIT_LINK="-framework WebKit"
50421 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50422 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50428 CPPFLAGS="$old_CPPFLAGS"
50429 elif test "$wxUSE_OLD_COCOA" = 1; then
50430 cat >>confdefs.h <<\_ACEOF
50431 #define wxUSE_WEBKIT 1
50437 if test "$wxUSE_WEBKIT" = "yes"; then
50438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
50443 if test "$wxUSE_XRC" = "yes"; then
50444 if test "$wxUSE_XML" != "yes"; then
50445 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50446 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50449 cat >>confdefs.h <<\_ACEOF
50450 #define wxUSE_XRC 1
50454 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
50459 if test "$wxUSE_AUI" = "yes"; then
50460 cat >>confdefs.h <<\_ACEOF
50461 #define wxUSE_AUI 1
50465 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
50469 if test "$wxUSE_PROPGRID" = "yes"; then
50470 cat >>confdefs.h <<\_ACEOF
50471 #define wxUSE_PROPGRID 1
50475 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
50479 if test "$wxUSE_RIBBON" = "yes"; then
50480 cat >>confdefs.h <<\_ACEOF
50481 #define wxUSE_RIBBON 1
50485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
50489 if test "$wxUSE_STC" = "yes"; then
50490 cat >>confdefs.h <<\_ACEOF
50491 #define wxUSE_STC 1
50495 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
50497 # Extract the first word of "python", so it can be a program name with args.
50498 set dummy python; ac_word=$2
50499 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50501 if test "${ac_cv_path_PYTHON+set}" = set; then
50502 echo $ECHO_N "(cached) $ECHO_C" >&6
50506 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
50509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50510 for as_dir in $PATH
50513 test -z "$as_dir" && as_dir=.
50514 for ac_exec_ext in '' $ac_executable_extensions; do
50515 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50516 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
50517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50527 PYTHON=$ac_cv_path_PYTHON
50528 if test -n "$PYTHON"; then
50529 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50530 echo "${ECHO_T}$PYTHON" >&6; }
50532 { echo "$as_me:$LINENO: result: no" >&5
50533 echo "${ECHO_T}no" >&6; }
50537 if test "x$PYTHON" = "x"; then
50543 if test "$wxUSE_MENUS" = "yes"; then
50544 cat >>confdefs.h <<\_ACEOF
50545 #define wxUSE_MENUS 1
50548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
50551 if test "$wxUSE_MIMETYPE" = "yes"; then
50552 cat >>confdefs.h <<\_ACEOF
50553 #define wxUSE_MIMETYPE 1
50558 if test "$wxUSE_MINIFRAME" = "yes"; then
50559 cat >>confdefs.h <<\_ACEOF
50560 #define wxUSE_MINIFRAME 1
50565 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50566 cat >>confdefs.h <<\_ACEOF
50567 #define wxUSE_SYSTEM_OPTIONS 1
50572 if test "$wxUSE_TASKBARICON" = "yes"; then
50573 cat >>confdefs.h <<\_ACEOF
50574 #define wxUSE_TASKBARICON 1
50577 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
50581 if test "$wxUSE_VALIDATORS" = "yes"; then
50582 cat >>confdefs.h <<\_ACEOF
50583 #define wxUSE_VALIDATORS 1
50586 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
50589 if test "$wxUSE_PALETTE" = "yes" ; then
50590 if test "$wxUSE_DFB" = 1; then
50591 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50592 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50595 cat >>confdefs.h <<\_ACEOF
50596 #define wxUSE_PALETTE 1
50602 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50603 LIBS=" -lunicows $LIBS"
50607 if test "$wxUSE_RICHTEXT" = "yes"; then
50608 cat >>confdefs.h <<\_ACEOF
50609 #define wxUSE_RICHTEXT 1
50613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
50616 if test "$wxUSE_WEBVIEW" = "yes"; then
50617 USE_WEBVIEW_WEBKIT=0
50618 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50619 if test "$wxUSE_GTK" = 1; then
50622 { echo "$as_me:$LINENO: checking for WEBKIT" >&5
50623 echo $ECHO_N "checking for WEBKIT... $ECHO_C" >&6; }
50625 if test -n "$PKG_CONFIG"; then
50626 if test -n "$WEBKIT_CFLAGS"; then
50627 pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
50629 if test -n "$PKG_CONFIG" && \
50630 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\"") >&5
50631 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
50633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50634 (exit $ac_status); }; then
50635 pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "webkit-1.0 >= 1.3.1" 2>/dev
/null
`
50643 if test -n "$PKG_CONFIG"; then
50644 if test -n "$WEBKIT_LIBS"; then
50645 pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
50647 if test -n "$PKG_CONFIG" && \
50648 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\"") >&5
50649 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
50651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652 (exit $ac_status); }; then
50653 pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "webkit-1.0 >= 1.3.1" 2>/dev
/null
`
50664 if test $pkg_failed = yes; then
50666 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50667 _pkg_short_errors_supported=yes
50669 _pkg_short_errors_supported=no
50671 if test $_pkg_short_errors_supported = yes; then
50672 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
50674 WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
50676 # Put the nasty error message in config.log where it belongs
50677 echo "$WEBKIT_PKG_ERRORS" >&5
50680 { echo "$as_me:$LINENO: WARNING: webkitgtk not found." >&5
50681 echo "$as_me: WARNING: webkitgtk not found." >&2;}
50683 elif test $pkg_failed = untried; then
50685 { echo "$as_me:$LINENO: WARNING: webkitgtk not found." >&5
50686 echo "$as_me: WARNING: webkitgtk not found." >&2;}
50689 WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
50690 WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
50691 { echo "$as_me:$LINENO: result: yes" >&5
50692 echo "${ECHO_T}yes" >&6; }
50694 USE_WEBVIEW_WEBKIT=1
50695 CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
50696 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
50699 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50700 old_CPPFLAGS="$CPPFLAGS"
50701 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50702 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50703 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50704 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50705 echo $ECHO_N "(cached) $ECHO_C" >&6
50707 cat >conftest.$ac_ext <<_ACEOF
50710 cat confdefs.h >>conftest.$ac_ext
50711 cat >>conftest.$ac_ext <<_ACEOF
50712 /* end confdefs.h. */
50714 #include <Carbon/Carbon.h>
50715 #include <WebKit/WebKit.h>
50718 #include <WebKit/HIWebView.h>
50720 rm -f conftest.$ac_objext
50721 if { (ac_try="$ac_compile"
50722 case "(($ac_try" in
50723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50724 *) ac_try_echo
=$ac_try;;
50726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50727 (eval "$ac_compile") 2>conftest.er1
50729 grep -v '^ *+' conftest.er1
>conftest.err
50731 cat conftest.err
>&5
50732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50733 (exit $ac_status); } && {
50734 test -z "$ac_c_werror_flag" ||
50735 test ! -s conftest.err
50736 } && test -s conftest.
$ac_objext; then
50737 ac_cv_header_WebKit_HIWebView_h
=yes
50739 echo "$as_me: failed program was:" >&5
50740 sed 's/^/| /' conftest.
$ac_ext >&5
50742 ac_cv_header_WebKit_HIWebView_h
=no
50745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50747 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50748 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50749 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50751 USE_WEBVIEW_WEBKIT
=1
50752 WEBKIT_LINK
="-framework WebKit"
50756 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
50757 echo "$as_me: WARNING: WebKit headers not found" >&2;}
50762 CPPFLAGS
="$old_CPPFLAGS"
50767 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
50768 if test "$USE_WEBVIEW_WEBKIT" = 1; then
50769 wxUSE_WEBVIEW
="yes"
50770 cat >>confdefs.h
<<\_ACEOF
50771 #define wxUSE_WEBVIEW_WEBKIT 1
50775 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
50776 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
50778 elif test "$wxUSE_MSW" = 1; then
50779 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
50780 wxUSE_WEBVIEW
="yes"
50781 cat >>confdefs.h
<<\_ACEOF
50782 #define wxUSE_WEBVIEW_IE 1
50789 if test "$wxUSE_WEBVIEW" = "yes"; then
50791 cat >>confdefs.h
<<\_ACEOF
50792 #define wxUSE_WEBVIEW 1
50795 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
50801 if test "$wxUSE_IMAGE" = "yes" ; then
50802 cat >>confdefs.h
<<\_ACEOF
50803 #define wxUSE_IMAGE 1
50807 if test "$wxUSE_GIF" = "yes" ; then
50808 cat >>confdefs.h
<<\_ACEOF
50809 #define wxUSE_GIF 1
50814 if test "$wxUSE_PCX" = "yes" ; then
50815 cat >>confdefs.h
<<\_ACEOF
50816 #define wxUSE_PCX 1
50821 if test "$wxUSE_TGA" = "yes" ; then
50822 cat >>confdefs.h
<<\_ACEOF
50823 #define wxUSE_TGA 1
50828 if test "$wxUSE_IFF" = "yes" ; then
50829 cat >>confdefs.h
<<\_ACEOF
50830 #define wxUSE_IFF 1
50835 if test "$wxUSE_PNM" = "yes" ; then
50836 cat >>confdefs.h
<<\_ACEOF
50837 #define wxUSE_PNM 1
50842 if test "$wxUSE_XPM" = "yes" ; then
50843 cat >>confdefs.h
<<\_ACEOF
50844 #define wxUSE_XPM 1
50849 if test "$wxUSE_ICO_CUR" = "yes" ; then
50850 cat >>confdefs.h
<<\_ACEOF
50851 #define wxUSE_ICO_CUR 1
50858 if test "$wxUSE_ABOUTDLG" = "yes"; then
50859 cat >>confdefs.h
<<\_ACEOF
50860 #define wxUSE_ABOUTDLG 1
50865 if test "$wxUSE_CHOICEDLG" = "yes"; then
50866 cat >>confdefs.h
<<\_ACEOF
50867 #define wxUSE_CHOICEDLG 1
50872 if test "$wxUSE_COLOURDLG" = "yes"; then
50873 cat >>confdefs.h
<<\_ACEOF
50874 #define wxUSE_COLOURDLG 1
50879 if test "$wxUSE_FILEDLG" = "yes"; then
50880 cat >>confdefs.h
<<\_ACEOF
50881 #define wxUSE_FILEDLG 1
50886 if test "$wxUSE_FINDREPLDLG" = "yes"; then
50887 cat >>confdefs.h
<<\_ACEOF
50888 #define wxUSE_FINDREPLDLG 1
50893 if test "$wxUSE_FONTDLG" = "yes"; then
50894 cat >>confdefs.h
<<\_ACEOF
50895 #define wxUSE_FONTDLG 1
50900 if test "$wxUSE_DIRDLG" = "yes"; then
50901 if test "$wxUSE_TREECTRL" != "yes"; then
50902 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
50903 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
50905 cat >>confdefs.h
<<\_ACEOF
50906 #define wxUSE_DIRDLG 1
50912 if test "$wxUSE_MSGDLG" = "yes"; then
50913 cat >>confdefs.h
<<\_ACEOF
50914 #define wxUSE_MSGDLG 1
50919 if test "$wxUSE_NUMBERDLG" = "yes"; then
50920 cat >>confdefs.h
<<\_ACEOF
50921 #define wxUSE_NUMBERDLG 1
50926 if test "$wxUSE_PROGRESSDLG" = "yes"; then
50927 cat >>confdefs.h
<<\_ACEOF
50928 #define wxUSE_PROGRESSDLG 1
50933 if test "$wxUSE_SPLASH" = "yes"; then
50934 cat >>confdefs.h
<<\_ACEOF
50935 #define wxUSE_SPLASH 1
50938 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
50941 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
50942 cat >>confdefs.h
<<\_ACEOF
50943 #define wxUSE_STARTUP_TIPS 1
50948 if test "$wxUSE_TEXTDLG" = "yes"; then
50949 cat >>confdefs.h
<<\_ACEOF
50950 #define wxUSE_TEXTDLG 1
50955 if test "$wxUSE_WIZARDDLG" = "yes"; then
50956 cat >>confdefs.h
<<\_ACEOF
50957 #define wxUSE_WIZARDDLG 1
50960 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
50964 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
50965 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
50966 cat >>confdefs.h
<<\_ACEOF
50967 #define wxUSE_OWNER_DRAWN 1
50974 if test "$wxUSE_MSW" = 1 ; then
50976 if test "$wxUSE_DC_CACHEING" = "yes"; then
50977 cat >>confdefs.h
<<\_ACEOF
50978 #define wxUSE_DC_CACHEING 1
50983 if test "$wxUSE_DIB" = "yes"; then
50984 cat >>confdefs.h
<<\_ACEOF
50985 #define wxUSE_WXDIB 1
50990 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
50991 cat >>confdefs.h
<<\_ACEOF
50992 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
50997 if test "$wxUSE_UXTHEME" = "yes"; then
50998 cat >>confdefs.h
<<\_ACEOF
50999 #define wxUSE_UXTHEME 1
51006 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51007 cat >>confdefs.h
<<\_ACEOF
51008 #define wxUSE_AUTOID_MANAGEMENT 1
51013 if test "$USE_WIN32" = 1 ; then
51014 if test "$wxUSE_INICONF" = "yes"; then
51015 cat >>confdefs.h
<<\_ACEOF
51016 #define wxUSE_INICONF 1
51021 if test "$wxUSE_REGKEY" = "yes"; then
51022 cat >>confdefs.h
<<\_ACEOF
51023 #define wxUSE_REGKEY 1
51030 if test "$wxUSE_MAC" = 1; then
51031 wxUSE_GRAPHICS_CONTEXT
="yes"
51034 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51036 if test "$wxUSE_MSW" = 1; then
51037 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51038 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51039 if test "${wx_cv_lib_gdiplus+set}" = set; then
51040 echo $ECHO_N "(cached) $ECHO_C" >&6
51044 ac_cpp
='$CXXCPP $CPPFLAGS'
51045 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51046 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51047 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51049 cat >conftest.
$ac_ext <<_ACEOF
51052 cat confdefs.h
>>conftest.
$ac_ext
51053 cat >>conftest.
$ac_ext <<_ACEOF
51054 /* end confdefs.h. */
51055 #include <windows.h>
51056 #include <gdiplus.h>
51061 using namespace Gdiplus;
51067 rm -f conftest.
$ac_objext
51068 if { (ac_try
="$ac_compile"
51069 case "(($ac_try" in
51070 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51071 *) ac_try_echo=$ac_try;;
51073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51074 (eval "$ac_compile") 2>conftest.er1
51076 grep -v '^ *+' conftest.er1 >conftest.err
51078 cat conftest.err >&5
51079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51080 (exit $ac_status); } && {
51081 test -z "$ac_cxx_werror_flag" ||
51082 test ! -s conftest.err
51083 } && test -s conftest.$ac_objext; then
51084 wx_cv_lib_gdiplus=yes
51086 echo "$as_me: failed program was:" >&5
51087 sed 's/^/| /' conftest.$ac_ext >&5
51089 wx_cv_lib_gdiplus=no
51093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51095 ac_cpp='$CPP $CPPFLAGS'
51096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51103 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51104 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51105 if test "$wx_cv_lib_gdiplus" = "yes"; then
51108 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51111 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51112 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51114 if test -n "$PKG_CONFIG"; then
51115 if test -n "$CAIRO_CFLAGS"; then
51116 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
51118 if test -n "$PKG_CONFIG" && \
51119 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51120 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51123 (exit $ac_status); }; then
51124 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
51132 if test -n "$PKG_CONFIG"; then
51133 if test -n "$CAIRO_LIBS"; then
51134 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
51136 if test -n "$PKG_CONFIG" && \
51137 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51138 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51141 (exit $ac_status); }; then
51142 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
51153 if test $pkg_failed = yes; then
51155 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51156 _pkg_short_errors_supported=yes
51158 _pkg_short_errors_supported=no
51160 if test $_pkg_short_errors_supported = yes; then
51161 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51163 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51165 # Put the nasty error message in config.log where it belongs
51166 echo "$CAIRO_PKG_ERRORS" >&5
51168 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51169 echo "$as_me: WARNING: Cairo library not found" >&2;}
51171 elif test $pkg_failed = untried; then
51172 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51173 echo "$as_me: WARNING: Cairo library not found" >&2;}
51176 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
51177 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
51178 { echo "$as_me:$LINENO: result: yes" >&5
51179 echo "${ECHO_T}yes" >&6; }
51182 if test "$wx_has_graphics" = 1; then
51184 LIBS="$LIBS $CAIRO_LIBS"
51186 for ac_func in cairo_push_group
51188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51189 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51191 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51192 echo $ECHO_N "(cached) $ECHO_C" >&6
51194 cat >conftest.$ac_ext <<_ACEOF
51197 cat confdefs.h >>conftest.$ac_ext
51198 cat >>conftest.$ac_ext <<_ACEOF
51199 /* end confdefs.h. */
51200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51202 #define $ac_func innocuous_$ac_func
51204 /* System header to define __stub macros and hopefully few prototypes,
51205 which can conflict with char $ac_func (); below.
51206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51207 <limits.h> exists even on freestanding compilers. */
51210 # include <limits.h>
51212 # include <assert.h>
51217 /* Override any GCC internal prototype to avoid an error.
51218 Use char because int might match the return type of a GCC
51219 builtin and then its argument prototype would still apply. */
51224 /* The GNU C library defines this for functions which it implements
51225 to always fail with ENOSYS. Some functions are actually named
51226 something starting with __ and the normal name is an alias. */
51227 #if defined __stub_$ac_func || defined __stub___$ac_func
51234 return $ac_func ();
51239 rm -f conftest.$ac_objext conftest$ac_exeext
51240 if { (ac_try="$ac_link"
51241 case "(($ac_try" in
51242 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51243 *) ac_try_echo
=$ac_try;;
51245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51246 (eval "$ac_link") 2>conftest.er1
51248 grep -v '^ *+' conftest.er1
>conftest.err
51250 cat conftest.err
>&5
51251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51252 (exit $ac_status); } && {
51253 test -z "$ac_c_werror_flag" ||
51254 test ! -s conftest.err
51255 } && test -s conftest
$ac_exeext &&
51256 $as_test_x conftest
$ac_exeext; then
51257 eval "$as_ac_var=yes"
51259 echo "$as_me: failed program was:" >&5
51260 sed 's/^/| /' conftest.
$ac_ext >&5
51262 eval "$as_ac_var=no"
51265 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
51266 conftest
$ac_exeext conftest.
$ac_ext
51268 ac_res
=`eval echo '${'$as_ac_var'}'`
51269 { echo "$as_me:$LINENO: result: $ac_res" >&5
51270 echo "${ECHO_T}$ac_res" >&6; }
51271 if test `eval echo '${'$as_ac_var'}'` = yes; then
51272 cat >>confdefs.h
<<_ACEOF
51273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51280 if test "$ac_cv_func_cairo_push_group" = "no"; then
51282 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51283 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51285 cat >>confdefs.h
<<\_ACEOF
51286 #define wxUSE_CAIRO 1
51290 if test "$wxUSE_GTK" != 1; then
51291 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
51292 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
51300 if test "$wx_has_graphics" = 1; then
51301 cat >>confdefs.h
<<\_ACEOF
51302 #define wxUSE_GRAPHICS_CONTEXT 1
51306 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51307 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51314 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51317 if test "$wxUSE_GTK" = 1; then
51318 wxUSE_GSTREAMER
="no"
51320 GST_VERSION_MAJOR
=0
51321 GST_VERSION_MINOR
=10
51322 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
51324 if test "$wxUSE_GSTREAMER8" = "no"; then
51327 { echo "$as_me:$LINENO: checking for GST" >&5
51328 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51330 if test -n "$PKG_CONFIG"; then
51331 if test -n "$GST_CFLAGS"; then
51332 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
51334 if test -n "$PKG_CONFIG" && \
51335 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51336 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51339 (exit $ac_status); }; then
51340 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51348 if test -n "$PKG_CONFIG"; then
51349 if test -n "$GST_LIBS"; then
51350 pkg_cv_GST_LIBS
="$GST_LIBS"
51352 if test -n "$PKG_CONFIG" && \
51353 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51354 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51357 (exit $ac_status); }; then
51358 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
51369 if test $pkg_failed = yes; then
51371 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51372 _pkg_short_errors_supported
=yes
51374 _pkg_short_errors_supported
=no
51376 if test $_pkg_short_errors_supported = yes; then
51377 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51379 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51381 # Put the nasty error message in config.log where it belongs
51382 echo "$GST_PKG_ERRORS" >&5
51385 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51386 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51387 GST_VERSION_MINOR
=8
51390 elif test $pkg_failed = untried
; then
51392 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51393 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51394 GST_VERSION_MINOR
=8
51398 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
51399 GST_LIBS
=$pkg_cv_GST_LIBS
51400 { echo "$as_me:$LINENO: result: yes" >&5
51401 echo "${ECHO_T}yes" >&6; }
51403 wxUSE_GSTREAMER
="yes"
51404 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51408 GST_VERSION_MINOR
=8
51411 if test $GST_VERSION_MINOR = "8"; then
51412 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
51415 { echo "$as_me:$LINENO: checking for GST" >&5
51416 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51418 if test -n "$PKG_CONFIG"; then
51419 if test -n "$GST_CFLAGS"; then
51420 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
51422 if test -n "$PKG_CONFIG" && \
51423 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51424 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51427 (exit $ac_status); }; then
51428 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51436 if test -n "$PKG_CONFIG"; then
51437 if test -n "$GST_LIBS"; then
51438 pkg_cv_GST_LIBS
="$GST_LIBS"
51440 if test -n "$PKG_CONFIG" && \
51441 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51442 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51445 (exit $ac_status); }; then
51446 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
51457 if test $pkg_failed = yes; then
51459 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51460 _pkg_short_errors_supported
=yes
51462 _pkg_short_errors_supported
=no
51464 if test $_pkg_short_errors_supported = yes; then
51465 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51467 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51469 # Put the nasty error message in config.log where it belongs
51470 echo "$GST_PKG_ERRORS" >&5
51473 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51474 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51476 elif test $pkg_failed = untried
; then
51478 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51479 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51482 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
51483 GST_LIBS
=$pkg_cv_GST_LIBS
51484 { echo "$as_me:$LINENO: result: yes" >&5
51485 echo "${ECHO_T}yes" >&6; }
51486 wxUSE_GSTREAMER
="yes"
51491 if test "$wxUSE_GSTREAMER" = "yes"; then
51492 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
51493 EXTRALIBS_MEDIA
="$GST_LIBS"
51495 cat >>confdefs.h
<<\_ACEOF
51496 #define wxUSE_GSTREAMER 1
51504 if test $USE_MEDIA = 1; then
51505 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
51506 cat >>confdefs.h
<<\_ACEOF
51507 #define wxUSE_MEDIACTRL 1
51511 if test "$wxUSE_MEDIACTRL" = "yes"; then
51512 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51513 echo "$as_me: error: GStreamer not available" >&2;}
51514 { (exit 1); exit 1; }; }
51516 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51517 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51523 if test "$cross_compiling" != "no"; then
51526 OSINFO
=`uname -s -r -m`
51527 OSINFO
="\"$OSINFO\""
51530 cat >>confdefs.h
<<_ACEOF
51531 #define WXWIN_OS_DESCRIPTION $OSINFO
51536 if test "x$prefix" != "xNONE"; then
51539 wxPREFIX
=$ac_default_prefix
51542 cat >>confdefs.h
<<_ACEOF
51543 #define wxINSTALL_PREFIX "$wxPREFIX"
51549 STD_BASE_LIBS
="base"
51551 BUILT_WX_LIBS
="base"
51552 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
51554 if test "$wxUSE_SOCKETS" = "yes" ; then
51555 STD_BASE_LIBS
="net $STD_BASE_LIBS"
51556 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
51558 if test "$wxUSE_XML" = "yes" ; then
51559 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
51560 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
51563 if test "$wxUSE_GUI" = "yes"; then
51564 STD_GUI_LIBS
="adv core"
51565 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
51567 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51568 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
51569 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
51571 if test "$wxUSE_HTML" = "yes" ; then
51572 STD_GUI_LIBS
="html $STD_GUI_LIBS"
51573 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
51575 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51576 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
51578 if test "$wxUSE_OPENGL" = "yes" ; then
51579 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
51581 if test "$wxUSE_AUI" = "yes" ; then
51582 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
51584 if test "$wxUSE_PROPGRID" = "yes" ; then
51585 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
51587 if test "$wxUSE_RIBBON" = "yes" ; then
51588 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
51590 if test "$wxUSE_RICHTEXT" = "yes" ; then
51591 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
51593 if test "$wxUSE_STC" = "yes" ; then
51594 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
51596 if test "$wxUSE_WEBVIEW" = "yes" ; then
51597 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
51598 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
51600 if test "$wxUSE_XRC" = "yes" ; then
51601 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
51602 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
51613 if test "$wxUSE_MAC" = 1 ; then
51614 if test "$USE_DARWIN" = 1; then
51615 if test "$wxUSE_OSX_IPHONE" = 1; then
51616 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51618 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
51622 if test "$wxUSE_OLD_COCOA" = 1 ; then
51623 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
51624 if test "$wxUSE_MEDIACTRL" = "yes"; then
51625 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
51628 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51629 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51632 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
51633 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51635 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51637 if test "$wxUSE_GUI" = "yes"; then
51640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51641 erase event exec font image minimal render \
51642 shaped svg taborder vscroll widgets wrapsizer"
51644 if test "$wxUSE_MONOLITHIC" != "yes"; then
51645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
51647 if test "$TOOLKIT" = "MSW"; then
51648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
51649 if test "$wxUSE_UNIVERSAL" != "yes"; then
51650 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51653 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51654 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
51657 SAMPLES_SUBDIRS
="console"
51658 if test "$wxUSE_SOCKETS" = "yes" ; then
51659 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
51661 if test "$wxUSE_IPC" = "yes" ; then
51662 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
51667 if test "x$INTELCC" = "xyes" ; then
51668 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
51669 elif test "$GCC" = yes ; then
51670 CWARNINGS
="-Wall -Wundef"
51673 if test "x$INTELCXX" = "xyes" ; then
51674 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51675 elif test "$GXX" = yes ; then
51676 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51677 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51678 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51679 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51680 echo $ECHO_N "(cached) $ECHO_C" >&6
51682 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
51685 ac_cpp
='$CXXCPP $CPPFLAGS'
51686 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51687 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51688 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51690 ac_save_CXXFLAGS
="$CXXFLAGS"
51691 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51692 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51693 cat >conftest.
$ac_ext <<_ACEOF
51696 cat confdefs.h
>>conftest.
$ac_ext
51697 cat >>conftest.
$ac_ext <<_ACEOF
51698 /* end confdefs.h. */
51708 rm -f conftest.
$ac_objext
51709 if { (ac_try
="$ac_compile"
51710 case "(($ac_try" in
51711 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51712 *) ac_try_echo=$ac_try;;
51714 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51715 (eval "$ac_compile") 2>conftest.er1
51717 grep -v '^ *+' conftest.er1 >conftest.err
51719 cat conftest.err >&5
51720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51721 (exit $ac_status); } && {
51722 test -z "$ac_cxx_werror_flag" ||
51723 test ! -s conftest.err
51724 } && test -s conftest.$ac_objext; then
51725 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
51727 echo "$as_me: failed program was:" >&5
51728 sed 's/^/| /' conftest.$ac_ext >&5
51733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51735 CXXFLAGS="$ac_save_CXXFLAGS"
51737 ac_cpp='$CPP $CPPFLAGS'
51738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51744 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
51745 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
51746 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
51750 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
51751 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
51752 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
51754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51755 (exit $ac_status); }
51756 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
51757 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
51759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51760 (exit $ac_status); }
51761 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
51767 if test "$wxUSE_MAC" = 1 ; then
51768 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
51773 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
51774 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
51777 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
51778 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
51779 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
51782 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
51783 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
51784 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
51785 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
51786 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
51788 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
51791 if test "x$MWCC" = "xyes"; then
51793 CC="$CC -cwd source -I-"
51794 CXX="$CXX -cwd source -I-"
51799 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
51800 EXTRALIBS_XML="$EXPAT_LINK"
51801 EXTRALIBS_HTML="$MSPACK_LINK"
51802 EXTRALIBS_MEDIA="$GST_LIBS"
51803 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
51804 if test "$wxUSE_GUI" = "yes"; then
51805 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
51807 if test "$wxUSE_OPENGL" = "yes"; then
51808 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
51811 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
51813 WXCONFIG_LIBS="$LIBS"
51815 if test "$wxUSE_REGEX" = "builtin" ; then
51816 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
51818 if test "$wxUSE_EXPAT" = "builtin" ; then
51819 wxconfig_3rdparty="expat $wxconfig_3rdparty"
51821 if test "$wxUSE_LIBTIFF" = "builtin" ; then
51822 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
51824 if test "$wxUSE_LIBJPEG" = "builtin" ; then
51825 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
51827 if test "$wxUSE_LIBPNG" = "builtin" ; then
51828 wxconfig_3rdparty="png $wxconfig_3rdparty"
51830 if test "$wxUSE_ZLIB" = "builtin" ; then
51831 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
51834 for i in $wxconfig_3rdparty ; do
51835 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
51839 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
51842 case "$wxUNIV_THEMES" in
51844 cat >>confdefs.h <<\_ACEOF
51845 #define wxUSE_ALL_THEMES 1
51851 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
51852 cat >>confdefs.h <<_ACEOF
51853 #define wxUSE_THEME_$t 1
51869 if test $wxUSE_MONOLITHIC = "yes" ; then
51875 if test $wxUSE_PLUGINS = "yes" ; then
51881 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51887 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
51919 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
51932 TOOLKIT_DESC="GTK+"
51933 if test "$WXGTK2" = 1; then
51934 TOOLKIT_DESC="$TOOLKIT_DESC 2"
51935 if test "$wxUSE_GTKPRINT" = "yes" ; then
51936 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
51938 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
51939 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
51941 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
51942 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
51944 if test "$wxUSE_LIBHILDON" = "yes"; then
51945 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
51947 if test "$wxUSE_LIBHILDON2" = "yes"; then
51948 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
51951 if test "$TOOLKIT_EXTRA" != ""; then
51952 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
51958 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
51962 TOOLKIT_DESC="base only"
51966 if test "$wxUSE_WINE" = "yes"; then
51967 BAKEFILE_FORCE_PLATFORM=win32
51970 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
51972 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
51973 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
51974 if test "${wx_cv_gcc_pch_bug+set}" = set; then
51975 echo $ECHO_N "(cached) $ECHO_C" >&6
51978 echo '#include <stdio.h>
51979 const wchar_t test_var[] = L"awidetest";' > conftest.h
51981 echo '#include "conftest.h"
51984 printf("%ls", test_var);
51988 wx_cv_gcc_pch_bug="pch not supported"
51990 if $CXX conftest.h >/dev/null 2>&1
51994 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
51996 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
51997 grep awidetest >/dev/null
51999 wx_cv_gcc_pch_bug=no
52001 wx_cv_gcc_pch_bug=yes
52006 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52009 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52010 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52012 if test "$wx_cv_gcc_pch_bug" = yes; then
52023 if test "x$BAKEFILE_HOST" = "x"; then
52024 if test "x${host}" = "x" ; then
52025 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52026 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52027 { (exit 1); exit 1; }; }
52030 BAKEFILE_HOST="${host}"
52033 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52035 if test -n "$ac_tool_prefix"; then
52036 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52037 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52038 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52040 if test "${ac_cv_prog_RANLIB+set}" = set; then
52041 echo $ECHO_N "(cached) $ECHO_C" >&6
52043 if test -n "$RANLIB"; then
52044 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52047 for as_dir in $PATH
52050 test -z "$as_dir" && as_dir=.
52051 for ac_exec_ext in '' $ac_executable_extensions; do
52052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52053 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52054 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52063 RANLIB=$ac_cv_prog_RANLIB
52064 if test -n "$RANLIB"; then
52065 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52066 echo "${ECHO_T}$RANLIB" >&6; }
52068 { echo "$as_me:$LINENO: result: no" >&5
52069 echo "${ECHO_T}no" >&6; }
52074 if test -z "$ac_cv_prog_RANLIB"; then
52075 ac_ct_RANLIB=$RANLIB
52076 # Extract the first word of "ranlib", so it can be a program name with args.
52077 set dummy ranlib; ac_word=$2
52078 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52080 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52081 echo $ECHO_N "(cached) $ECHO_C" >&6
52083 if test -n "$ac_ct_RANLIB"; then
52084 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52087 for as_dir in $PATH
52090 test -z "$as_dir" && as_dir=.
52091 for ac_exec_ext in '' $ac_executable_extensions; do
52092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52093 ac_cv_prog_ac_ct_RANLIB="ranlib"
52094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52103 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52104 if test -n "$ac_ct_RANLIB"; then
52105 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52106 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52108 { echo "$as_me:$LINENO: result: no" >&5
52109 echo "${ECHO_T}no" >&6; }
52112 if test "x$ac_ct_RANLIB" = x; then
52115 case $cross_compiling:$ac_tool_warned in
52117 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52118 whose name does not start with the host triplet. If you think this
52119 configuration is useful to you, please write to autoconf@gnu.org." >&5
52120 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52121 whose name does not start with the host triplet. If you think this
52122 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52123 ac_tool_warned=yes ;;
52125 RANLIB=$ac_ct_RANLIB
52128 RANLIB="$ac_cv_prog_RANLIB"
52131 # Find a good install program. We prefer a C program (faster),
52132 # so one script is as good as another. But avoid the broken or
52133 # incompatible versions:
52134 # SysV /etc/install, /usr/sbin/install
52135 # SunOS /usr/etc/install
52136 # IRIX /sbin/install
52138 # AmigaOS /C/install, which installs bootblocks on floppy discs
52139 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52140 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52141 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52142 # OS/2's system install, which has a completely different semantic
52143 # ./install, which can be erroneously created by make from ./install.sh.
52144 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52145 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52146 if test -z "$INSTALL"; then
52147 if test "${ac_cv_path_install+set}" = set; then
52148 echo $ECHO_N "(cached) $ECHO_C" >&6
52150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52151 for as_dir in $PATH
52154 test -z "$as_dir" && as_dir=.
52155 # Account for people who put trailing slashes in PATH elements.
52157 ./ | .// | /cC/* | \
52158 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52159 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52162 # OSF1 and SCO ODT 3.0 have their own names for install.
52163 # Don't use installbsd from OSF since it installs stuff as root
52165 for ac_prog in ginstall scoinst install; do
52166 for ac_exec_ext in '' $ac_executable_extensions; do
52167 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52168 if test $ac_prog = install &&
52169 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52170 # AIX install. It has an incompatible calling convention.
52172 elif test $ac_prog = install &&
52173 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52174 # program-specific install script used by HP pwplus--don't use.
52177 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52190 if test "${ac_cv_path_install+set}" = set; then
52191 INSTALL=$ac_cv_path_install
52193 # As a last resort, use the slow shell script. Don't cache a
52194 # value for INSTALL within a source directory, because that will
52195 # break other packages using the cache if that directory is
52196 # removed, or if the value is a relative name.
52197 INSTALL=$ac_install_sh
52200 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52201 echo "${ECHO_T}$INSTALL" >&6; }
52203 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52204 # It thinks the first close brace ends the variable substitution.
52205 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52207 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52209 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52211 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52212 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52214 if test "$LN_S" = "ln -s"; then
52215 { echo "$as_me:$LINENO: result: yes" >&5
52216 echo "${ECHO_T}yes" >&6; }
52218 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52219 echo "${ECHO_T}no, using $LN_S" >&6; }
52223 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52224 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52225 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52226 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52227 echo $ECHO_N "(cached) $ECHO_C" >&6
52229 cat >conftest.make <<\_ACEOF
52232 @echo '@@@%%%=$(MAKE)=@@@%%%'
52234 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52235 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52236 *@@@%%%=?*=@@@%%%*)
52237 eval ac_cv_prog_make_${ac_make}_set=yes;;
52239 eval ac_cv_prog_make_${ac_make}_set=no;;
52241 rm -f conftest.make
52243 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52244 { echo "$as_me:$LINENO: result: yes" >&5
52245 echo "${ECHO_T}yes" >&6; }
52248 { echo "$as_me:$LINENO: result: no" >&5
52249 echo "${ECHO_T}no" >&6; }
52250 SET_MAKE="MAKE=${MAKE-make}"
52255 if test "x$SUNCXX" = "xyes"; then
52257 AROPTIONS="-xar -o"
52259 elif test "x$SGICC" = "xyes"; then
52264 if test -n "$ac_tool_prefix"; then
52265 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52266 set dummy ${ac_tool_prefix}ar; ac_word=$2
52267 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52268 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52269 if test "${ac_cv_prog_AR+set}" = set; then
52270 echo $ECHO_N "(cached) $ECHO_C" >&6
52272 if test -n "$AR"; then
52273 ac_cv_prog_AR="$AR" # Let the user override the test.
52275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52276 for as_dir in $PATH
52279 test -z "$as_dir" && as_dir=.
52280 for ac_exec_ext in '' $ac_executable_extensions; do
52281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52282 ac_cv_prog_AR="${ac_tool_prefix}ar"
52283 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52293 if test -n "$AR"; then
52294 { echo "$as_me:$LINENO: result: $AR" >&5
52295 echo "${ECHO_T}$AR" >&6; }
52297 { echo "$as_me:$LINENO: result: no" >&5
52298 echo "${ECHO_T}no" >&6; }
52303 if test -z "$ac_cv_prog_AR"; then
52305 # Extract the first word of "ar", so it can be a program name with args.
52306 set dummy ar; ac_word=$2
52307 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52309 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52310 echo $ECHO_N "(cached) $ECHO_C" >&6
52312 if test -n "$ac_ct_AR"; then
52313 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52316 for as_dir in $PATH
52319 test -z "$as_dir" && as_dir=.
52320 for ac_exec_ext in '' $ac_executable_extensions; do
52321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52322 ac_cv_prog_ac_ct_AR="ar"
52323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52332 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52333 if test -n "$ac_ct_AR"; then
52334 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52335 echo "${ECHO_T}$ac_ct_AR" >&6; }
52337 { echo "$as_me:$LINENO: result: no" >&5
52338 echo "${ECHO_T}no" >&6; }
52341 if test "x$ac_ct_AR" = x; then
52344 case $cross_compiling:$ac_tool_warned in
52346 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52347 whose name does not start with the host triplet. If you think this
52348 configuration is useful to you, please write to autoconf@gnu.org." >&5
52349 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52350 whose name does not start with the host triplet. If you think this
52351 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52352 ac_tool_warned=yes ;;
52357 AR="$ac_cv_prog_AR"
52364 if test -n "$ac_tool_prefix"; then
52365 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52366 set dummy ${ac_tool_prefix}strip; ac_word=$2
52367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52369 if test "${ac_cv_prog_STRIP+set}" = set; then
52370 echo $ECHO_N "(cached) $ECHO_C" >&6
52372 if test -n "$STRIP"; then
52373 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52376 for as_dir in $PATH
52379 test -z "$as_dir" && as_dir=.
52380 for ac_exec_ext in '' $ac_executable_extensions; do
52381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52382 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52392 STRIP=$ac_cv_prog_STRIP
52393 if test -n "$STRIP"; then
52394 { echo "$as_me:$LINENO: result: $STRIP" >&5
52395 echo "${ECHO_T}$STRIP" >&6; }
52397 { echo "$as_me:$LINENO: result: no" >&5
52398 echo "${ECHO_T}no" >&6; }
52403 if test -z "$ac_cv_prog_STRIP"; then
52405 # Extract the first word of "strip", so it can be a program name with args.
52406 set dummy strip; ac_word=$2
52407 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52409 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52410 echo $ECHO_N "(cached) $ECHO_C" >&6
52412 if test -n "$ac_ct_STRIP"; then
52413 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52416 for as_dir in $PATH
52419 test -z "$as_dir" && as_dir=.
52420 for ac_exec_ext in '' $ac_executable_extensions; do
52421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52422 ac_cv_prog_ac_ct_STRIP="strip"
52423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52432 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52433 if test -n "$ac_ct_STRIP"; then
52434 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52435 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52437 { echo "$as_me:$LINENO: result: no" >&5
52438 echo "${ECHO_T}no" >&6; }
52441 if test "x$ac_ct_STRIP" = x; then
52444 case $cross_compiling:$ac_tool_warned in
52446 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52447 whose name does not start with the host triplet. If you think this
52448 configuration is useful to you, please write to autoconf@gnu.org." >&5
52449 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52450 whose name does not start with the host triplet. If you think this
52451 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52452 ac_tool_warned=yes ;;
52457 STRIP="$ac_cv_prog_STRIP"
52460 if test -n "$ac_tool_prefix"; then
52461 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52462 set dummy ${ac_tool_prefix}nm; ac_word=$2
52463 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52465 if test "${ac_cv_prog_NM+set}" = set; then
52466 echo $ECHO_N "(cached) $ECHO_C" >&6
52468 if test -n "$NM"; then
52469 ac_cv_prog_NM="$NM" # Let the user override the test.
52471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52472 for as_dir in $PATH
52475 test -z "$as_dir" && as_dir=.
52476 for ac_exec_ext in '' $ac_executable_extensions; do
52477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52478 ac_cv_prog_NM="${ac_tool_prefix}nm"
52479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52489 if test -n "$NM"; then
52490 { echo "$as_me:$LINENO: result: $NM" >&5
52491 echo "${ECHO_T}$NM" >&6; }
52493 { echo "$as_me:$LINENO: result: no" >&5
52494 echo "${ECHO_T}no" >&6; }
52499 if test -z "$ac_cv_prog_NM"; then
52501 # Extract the first word of "nm", so it can be a program name with args.
52502 set dummy nm; ac_word=$2
52503 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52505 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
52506 echo $ECHO_N "(cached) $ECHO_C" >&6
52508 if test -n "$ac_ct_NM"; then
52509 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
52511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52512 for as_dir in $PATH
52515 test -z "$as_dir" && as_dir=.
52516 for ac_exec_ext in '' $ac_executable_extensions; do
52517 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52518 ac_cv_prog_ac_ct_NM="nm"
52519 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52528 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52529 if test -n "$ac_ct_NM"; then
52530 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52531 echo "${ECHO_T}$ac_ct_NM" >&6; }
52533 { echo "$as_me:$LINENO: result: no" >&5
52534 echo "${ECHO_T}no" >&6; }
52537 if test "x$ac_ct_NM" = x; then
52540 case $cross_compiling:$ac_tool_warned in
52542 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52543 whose name does not start with the host triplet. If you think this
52544 configuration is useful to you, please write to autoconf@gnu.org." >&5
52545 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52546 whose name does not start with the host triplet. If you think this
52547 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52548 ac_tool_warned=yes ;;
52553 NM="$ac_cv_prog_NM"
52557 INSTALL_DIR="mkdir -p"
52561 case ${BAKEFILE_HOST} in
52562 *-*-cygwin* | *-*-mingw32* )
52563 LDFLAGS_GUI="-mwindows"
52569 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52570 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52571 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52572 echo $ECHO_N "(cached) $ECHO_C" >&6
52575 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52576 egrep -s GNU > /dev/null); then
52577 bakefile_cv_prog_makeisgnu="yes"
52579 bakefile_cv_prog_makeisgnu="no"
52583 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52584 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52586 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52603 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52604 case "${BAKEFILE_HOST}" in
52611 *-pc-os2_emx | *-pc-os2-emx )
52621 powerpc-apple-macos* )
52630 case "$BAKEFILE_FORCE_PLATFORM" in
52651 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52652 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52653 { (exit 1); exit 1; }; }
52668 # Check whether --enable-omf was given.
52669 if test "${enable_omf+set}" = set; then
52670 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52674 case "${BAKEFILE_HOST}" in
52676 if test "x$GCC" = "xyes"; then
52677 CFLAGS="$CFLAGS -fno-common"
52678 CXXFLAGS="$CXXFLAGS -fno-common"
52680 if test "x$XLCC" = "xyes"; then
52681 CFLAGS="$CFLAGS -qnocommon"
52682 CXXFLAGS="$CXXFLAGS -qnocommon"
52686 *-pc-os2_emx | *-pc-os2-emx )
52687 if test "x$bk_os2_use_omf" = "xyes" ; then
52690 LDFLAGS="-Zomf $LDFLAGS"
52691 CFLAGS="-Zomf $CFLAGS"
52692 CXXFLAGS="-Zomf $CXXFLAGS"
52700 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52706 SO_SUFFIX_MODULE="so"
52711 DLLPREFIX_MODULE=""
52715 case "${BAKEFILE_HOST}" in
52720 SO_SUFFIX_MODULE="sl"
52724 SO_SUFFIX_MODULE="a"
52728 SO_SUFFIX_MODULE="dll"
52729 DLLIMP_SUFFIX="dll.a"
52736 SO_SUFFIX_MODULE="dll"
52737 DLLIMP_SUFFIX="dll.a"
52747 *-pc-os2_emx | *-pc-os2-emx )
52749 SO_SUFFIX_MODULE="dll"
52750 DLLIMP_SUFFIX=$OS2_LIBEXT
52754 LIBEXT=".$OS2_LIBEXT"
52759 SO_SUFFIX_MODULE="bundle"
52763 if test "x$DLLIMP_SUFFIX" = "x" ; then
52764 DLLIMP_SUFFIX="$SO_SUFFIX"
52779 if test "x$GCC" = "xyes"; then
52783 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
52784 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
52787 case "${BAKEFILE_HOST}" in
52789 if test "x$GCC" != "xyes"; then
52790 LDFLAGS="$LDFLAGS -L/usr/lib"
52792 SHARED_LD_CC="${CC} -b -o"
52793 SHARED_LD_CXX="${CXX} -b -o"
52799 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
52801 elif test "x$SUNCXX" = "xyes"; then
52802 SHARED_LD_CC="${CC} -G -o"
52803 SHARED_LD_CXX="${CXX} -G -o"
52809 if test "x$SUNCXX" = xyes ; then
52810 SHARED_LD_CC="${CC} -G -o"
52811 SHARED_LD_CXX="${CXX} -G -o"
52819 cat <<EOF >shared-ld-sh
52821 #-----------------------------------------------------------------------------
52822 #-- Name: distrib/mac/shared-ld-sh
52823 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
52824 #-- Author: Gilles Depeyrot
52825 #-- Copyright: (c) 2002 Gilles Depeyrot
52826 #-- Licence: any use permitted
52827 #-----------------------------------------------------------------------------
52832 linking_flag="-dynamiclib"
52833 ldargs="-r -keep_private_externs -nostdlib"
52835 if test "x${D}CXX" = "x"; then
52839 while test ${D}# -gt 0; do
52846 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
52847 # collect these options and values
52848 args="${D}{args} ${D}1 ${D}2"
52853 # collect these options and values
52854 ldargs="${D}{ldargs} ${D}1 ${D}2"
52859 # collect these load args
52860 ldargs="${D}{ldargs} ${D}1"
52863 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
52864 # collect these options
52865 args="${D}{args} ${D}1"
52868 -dynamiclib|-bundle)
52869 linking_flag="${D}1"
52873 echo "shared-ld: unhandled option '${D}1'"
52877 *.o | *.a | *.dylib)
52878 # collect object files
52879 objects="${D}{objects} ${D}1"
52883 echo "shared-ld: unhandled argument '${D}1'"
52894 # Link one module containing all the others
52896 if test ${D}{verbose} = 1; then
52897 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
52899 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
52903 # Link the shared library from the single module created, but only if the
52904 # previous command didn't fail:
52906 if test ${D}{status} = 0; then
52907 if test ${D}{verbose} = 1; then
52908 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
52910 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
52915 # Remove intermediate module
52917 rm -f master.${D}${D}.o
52922 chmod +x shared-ld-sh
52924 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
52925 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
52928 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
52929 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
52930 if test "${bakefile_cv_gcc31+set}" = set; then
52931 echo $ECHO_N "(cached) $ECHO_C" >&6
52934 cat >conftest.$ac_ext <<_ACEOF
52937 cat confdefs.h >>conftest.$ac_ext
52938 cat >>conftest.$ac_ext <<_ACEOF
52939 /* end confdefs.h. */
52945 #if (__GNUC__ < 3) || \
52946 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
52954 rm -f conftest.$ac_objext
52955 if { (ac_try="$ac_compile"
52956 case "(($ac_try" in
52957 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
52958 *) ac_try_echo
=$ac_try;;
52960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
52961 (eval "$ac_compile") 2>conftest.er1
52963 grep -v '^ *+' conftest.er1
>conftest.err
52965 cat conftest.err
>&5
52966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52967 (exit $ac_status); } && {
52968 test -z "$ac_c_werror_flag" ||
52969 test ! -s conftest.err
52970 } && test -s conftest.
$ac_objext; then
52972 bakefile_cv_gcc31
=yes
52975 echo "$as_me: failed program was:" >&5
52976 sed 's/^/| /' conftest.
$ac_ext >&5
52979 bakefile_cv_gcc31
=no
52984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52987 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
52988 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
52989 if test "$bakefile_cv_gcc31" = "no"; then
52990 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
52991 SHARED_LD_CXX
="$SHARED_LD_CC"
52993 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
52994 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
52997 if test "x$GCC" == "xyes"; then
52998 PIC_FLAG
="-dynamic -fPIC"
53000 if test "x$XLCC" = "xyes"; then
53001 PIC_FLAG
="-dynamic -DPIC"
53006 if test "x$GCC" = "xyes"; then
53009 case "${BAKEFILE_HOST}" in
53011 LD_EXPFULL
="-Wl,-bexpfull"
53015 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
53016 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
53018 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53019 set dummy makeC
++SharedLib
; ac_word
=$2
53020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53022 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53023 echo $ECHO_N "(cached) $ECHO_C" >&6
53025 if test -n "$AIX_CXX_LD"; then
53026 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
53028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53029 for as_dir
in $PATH
53032 test -z "$as_dir" && as_dir
=.
53033 for ac_exec_ext
in '' $ac_executable_extensions; do
53034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53035 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
53036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53043 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
53046 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
53047 if test -n "$AIX_CXX_LD"; then
53048 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53049 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53051 { echo "$as_me:$LINENO: result: no" >&5
53052 echo "${ECHO_T}no" >&6; }
53056 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
53057 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
53062 SHARED_LD_CC
="${LD} -nostart -o"
53063 SHARED_LD_CXX
="${LD} -nostart -o"
53067 if test "x$GCC" != "xyes"; then
53072 *-*-cygwin* | *-*-mingw32* )
53074 SHARED_LD_CC
="\$(CC) -shared -o"
53075 SHARED_LD_CXX
="\$(CXX) -shared -o"
53079 *-pc-os2_emx | *-pc-os2-emx )
53080 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53081 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53085 cat <<EOF >dllar.sh
53088 # dllar - a tool to build both a .dll and an .a file
53089 # from a set of object (.o) files for EMX/OS2.
53091 # Written by Andrew Zabolotny, bit@freya.etu.ru
53092 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53094 # This script will accept a set of files on the command line.
53095 # All the public symbols from the .o files will be exported into
53096 # a .DEF file, then linker will be run (through gcc) against them to
53097 # build a shared library consisting of all given .o files. All libraries
53098 # (.a) will be first decompressed into component .o files then act as
53099 # described above. You can optionally give a description (-d "description")
53100 # which will be put into .DLL. To see the list of accepted options (as well
53101 # as command-line format) simply run this program without options. The .DLL
53102 # is built to be imported by name (there is no guarantee that new versions
53103 # of the library you build will have same ordinals for same symbols).
53105 # dllar is free software; you can redistribute it and/or modify
53106 # it under the terms of the GNU General Public License as published by
53107 # the Free Software Foundation; either version 2, or (at your option)
53108 # any later version.
53110 # dllar is distributed in the hope that it will be useful,
53111 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53112 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53113 # GNU General Public License for more details.
53115 # You should have received a copy of the GNU General Public License
53116 # along with dllar; see the file COPYING. If not, write to the Free
53117 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53120 # To successfuly run this program you will need:
53121 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53122 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53124 # (used to build the .dll)
53126 # (used to create .def file from .o files)
53128 # (used to create .a file from .def file)
53129 # - GNU text utilites (cat, sort, uniq)
53130 # used to process emxexp output
53131 # - GNU file utilities (mv, rm)
53133 # - lxlite (optional, see flag below)
53134 # (used for general .dll cleanup)
53141 # basnam, variant of basename, which does _not_ remove the path, _iff_
53142 # second argument (suffix to remove) is given
53146 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53149 echo ${D}1 | sed 's/'${D}2'${D}//'
53152 echo "error in basnam ${D}*"
53158 # Cleanup temporary files and output
53161 for i in ${D}inputFiles ; do
53164 rm -rf \`basnam ${D}i !\`
53171 # Kill result in case of failure as there is just to many stupid make/nmake
53172 # things out there which doesn't do this.
53173 if [ ${D}# -eq 0 ]; then
53174 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53178 # Print usage and exit script with rc=1.
53180 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53181 echo ' [-name-mangler-script script.sh]'
53182 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53183 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53184 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53185 echo ' [*.o] [*.a]'
53186 echo '*> "output_file" should have no extension.'
53187 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53188 echo ' The import library name is derived from this and is set to "name".a,'
53189 echo ' unless overridden by -import'
53190 echo '*> "importlib_name" should have no extension.'
53191 echo ' If it has the .o, or .a extension, it is automatically removed.'
53192 echo ' This name is used as the import library name and may be longer and'
53193 echo ' more descriptive than the DLL name which has to follow the old '
53194 echo ' 8.3 convention of FAT.'
53195 echo '*> "script.sh may be given to override the output_file name by a'
53196 echo ' different name. It is mainly useful if the regular make process'
53197 echo ' of some package does not take into account OS/2 restriction of'
53198 echo ' DLL name lengths. It takes the importlib name as input and is'
53199 echo ' supposed to procude a shorter name as output. The script should'
53200 echo ' expect to get importlib_name without extension and should produce'
53201 echo ' a (max.) 8 letter name without extension.'
53202 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53203 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53204 echo ' These flags will be put at the start of GCC command line.'
53205 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53206 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53207 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53208 echo ' If the last character of a symbol is "*", all symbols beginning'
53209 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53210 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53211 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53212 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53213 echo ' C runtime DLLs.'
53214 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53215 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53216 echo ' unchanged to GCC at the end of command line.'
53217 echo '*> If you create a DLL from a library and you do not specify -o,'
53218 echo ' the basename for DLL and import library will be set to library name,'
53219 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53220 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53221 echo ' library will be renamed into gcc_s.a.'
53224 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53225 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53230 # Execute a command.
53231 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53232 # @Uses Whatever CleanUp() uses.
53238 if [ ${D}rcCmd -ne 0 ]; then
53239 echo "command failed, exit code="${D}rcCmd
53254 CFLAGS="-s -Zcrtdll"
53256 EXPORT_BY_ORDINALS=0
53261 case ${D}curDirS in
53265 curDirS=${D}{curDirS}"/"
53268 # Parse commandline
53271 while [ ${D}1 ]; do
53274 EXPORT_BY_ORDINALS=1;
53284 -name-mangler-script)
53305 exclude_symbols=${D}{exclude_symbols}${D}1" "
53309 library_flags=${D}{library_flags}${D}1" "
53328 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53331 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53332 if [ ${D}omfLinking -eq 1 ]; then
53333 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53335 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53340 if [ ${D}libsToLink -ne 0 ]; then
53341 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53343 for file in ${D}1 ; do
53344 if [ -f ${D}file ]; then
53345 inputFiles="${D}{inputFiles} ${D}file"
53349 if [ ${D}found -eq 0 ]; then
53350 echo "ERROR: No file(s) found: "${D}1
53357 done # iterate cmdline words
53360 if [ -z "${D}inputFiles" ]; then
53361 echo "dllar: no input files"
53365 # Now extract all .o files from .a files
53367 for file in ${D}inputFiles ; do
53378 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53383 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53385 if [ ${D}? -ne 0 ]; then
53386 echo "Failed to create subdirectory ./${D}dirname"
53390 # Append '!' to indicate archive
53391 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53392 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53395 for subfile in ${D}dirname/*.o* ; do
53396 if [ -f ${D}subfile ]; then
53398 if [ -s ${D}subfile ]; then
53399 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53400 newInputFiles="${D}newInputFiles ${D}subfile"
53404 if [ ${D}found -eq 0 ]; then
53405 echo "WARNING: there are no files in archive \\'${D}file\\'"
53409 newInputFiles="${D}{newInputFiles} ${D}file"
53413 inputFiles="${D}newInputFiles"
53415 # Output filename(s).
53417 if [ -z ${D}outFile ]; then
53419 set outFile ${D}inputFiles; outFile=${D}2
53422 # If it is an archive, remove the '!' and the '_%' suffixes
53423 case ${D}outFile in
53425 outFile=\`basnam ${D}outFile _%!\`
53430 case ${D}outFile in
53432 outFile=\`basnam ${D}outFile .dll\`
53435 outFile=\`basnam ${D}outFile .DLL\`
53438 outFile=\`basnam ${D}outFile .o\`
53441 outFile=\`basnam ${D}outFile .obj\`
53444 outFile=\`basnam ${D}outFile .a\`
53447 outFile=\`basnam ${D}outFile .lib\`
53452 case ${D}outimpFile in
53454 outimpFile=\`basnam ${D}outimpFile .a\`
53457 outimpFile=\`basnam ${D}outimpFile .lib\`
53462 if [ -z ${D}outimpFile ]; then
53463 outimpFile=${D}outFile
53465 defFile="${D}{outFile}.def"
53466 arcFile="${D}{outimpFile}.a"
53467 arcFile2="${D}{outimpFile}.lib"
53469 #create ${D}dllFile as something matching 8.3 restrictions,
53470 if [ -z ${D}renameScript ] ; then
53471 dllFile="${D}outFile"
53473 dllFile=\`${D}renameScript ${D}outimpFile\`
53476 if [ ${D}do_backup -ne 0 ] ; then
53477 if [ -f ${D}arcFile ] ; then
53478 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53480 if [ -f ${D}arcFile2 ] ; then
53481 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53485 # Extract public symbols from all the object files.
53486 tmpdefFile=${D}{defFile}_%
53487 rm -f ${D}tmpdefFile
53488 for file in ${D}inputFiles ; do
53493 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53498 # Create the def file.
53500 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53501 dllFile="${D}{dllFile}.dll"
53502 if [ ! -z ${D}description ]; then
53503 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53505 echo "EXPORTS" >> ${D}defFile
53507 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53508 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53510 # Checks if the export is ok or not.
53511 for word in ${D}exclude_symbols; do
53512 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53513 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53517 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53518 sed "=" < ${D}tmpdefFile | \\
53522 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53524 ' > ${D}{tmpdefFile}%
53525 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53527 rm -f ${D}{tmpdefFile}%
53529 cat ${D}tmpdefFile >> ${D}defFile
53530 rm -f ${D}tmpdefFile
53532 # Do linking, create implib, and apply lxlite.
53534 for file in ${D}inputFiles ; do
53539 gccCmdl="${D}gccCmdl ${D}file"
53543 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53544 touch "${D}{outFile}.dll"
53546 doCommand "emximp -o ${D}arcFile ${D}defFile"
53547 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53549 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53552 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53554 doCommand "emxomf -s -l ${D}arcFile"
53564 powerpc
-apple-macos* | \
53565 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
53575 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53576 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53577 { (exit 1); exit 1; }; }
53580 if test "x$PIC_FLAG" != "x" ; then
53581 PIC_FLAG
="$PIC_FLAG -DPIC"
53584 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53585 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
53587 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53588 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
53603 USE_SOTWOSYMLINKS
=0
53607 case "${BAKEFILE_HOST}" in
53608 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53609 *-*-k*bsd
*-gnu | *-*-mirbsd* )
53610 if test "x$SUNCXX" = "xyes"; then
53613 SONAME_FLAG
="-Wl,-soname,"
53617 USE_SOTWOSYMLINKS
=1
53629 USE_SOTWOSYMLINKS
=1
53647 # Check whether --enable-dependency-tracking was given.
53648 if test "${enable_dependency_tracking+set}" = set; then
53649 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
53653 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53654 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53657 if test "x$bk_use_trackdeps" = "xno" ; then
53659 { echo "$as_me:$LINENO: result: disabled" >&5
53660 echo "${ECHO_T}disabled" >&6; }
53664 if test "x$GCC" = "xyes"; then
53666 case "${BAKEFILE_HOST}" in
53668 DEPSFLAG
="-no-cpp-precomp -MMD"
53674 { echo "$as_me:$LINENO: result: gcc" >&5
53675 echo "${ECHO_T}gcc" >&6; }
53676 elif test "x$MWCC" = "xyes"; then
53679 { echo "$as_me:$LINENO: result: mwcc" >&5
53680 echo "${ECHO_T}mwcc" >&6; }
53681 elif test "x$SUNCC" = "xyes"; then
53684 { echo "$as_me:$LINENO: result: Sun cc" >&5
53685 echo "${ECHO_T}Sun cc" >&6; }
53686 elif test "x$SGICC" = "xyes"; then
53689 { echo "$as_me:$LINENO: result: SGI cc" >&5
53690 echo "${ECHO_T}SGI cc" >&6; }
53691 elif test "x$HPCC" = "xyes"; then
53694 { echo "$as_me:$LINENO: result: HP cc" >&5
53695 echo "${ECHO_T}HP cc" >&6; }
53696 elif test "x$COMPAQCC" = "xyes"; then
53699 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53700 echo "${ECHO_T}Compaq cc" >&6; }
53703 { echo "$as_me:$LINENO: result: none" >&5
53704 echo "${ECHO_T}none" >&6; }
53707 if test $DEPS_TRACKING = 1 ; then
53713 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53714 # script. It is used to track C/C++ files dependencies in portable way.
53716 # Permission is given to use this file in any way.
53718 DEPSMODE=${DEPSMODE}
53719 DEPSFLAG="${DEPSFLAG}"
53722 if test ${D}DEPSMODE = gcc ; then
53723 ${D}* ${D}{DEPSFLAG}
53726 # determine location of created files:
53727 while test ${D}# -gt 0; do
53741 objfilebase=\`basename ${D}objfile\`
53742 builddir=\`dirname ${D}objfile\`
53743 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53744 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53745 depsdir=${D}builddir/${D}DEPSDIRBASE
53746 mkdir -p ${D}depsdir
53748 # if the compiler failed, we're done:
53749 if test ${D}{status} != 0 ; then
53754 # move created file to the location we want it in:
53755 if test -f ${D}depfile ; then
53756 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53759 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53760 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
53761 if test ! -f ${D}depfile ; then
53762 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
53763 depfile="${D}objfile.d"
53765 if test -f ${D}depfile ; then
53766 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53772 elif test ${D}DEPSMODE = mwcc ; then
53773 ${D}* || exit ${D}?
53774 # Run mwcc again with -MM and redirect into the dep file we want
53775 # NOTE: We can't use shift here because we need ${D}* to be valid
53777 for arg in ${D}* ; do
53778 if test "${D}prevarg" = "-o"; then
53792 objfilebase=\`basename ${D}objfile\`
53793 builddir=\`dirname ${D}objfile\`
53794 depsdir=${D}builddir/${D}DEPSDIRBASE
53795 mkdir -p ${D}depsdir
53797 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
53800 elif test ${D}DEPSMODE = unixcc; then
53801 ${D}* || exit ${D}?
53802 # Run compiler again with deps flag and redirect into the dep file.
53803 # It doesn't work if the '-o FILE' option is used, but without it the
53804 # dependency file will contain the wrong name for the object. So it is
53805 # removed from the command line, and the dep file is fixed with sed.
53807 while test ${D}# -gt 0; do
53814 eval arg${D}#=\\${D}1
53815 cmd="${D}cmd \\${D}arg${D}#"
53821 objfilebase=\`basename ${D}objfile\`
53822 builddir=\`dirname ${D}objfile\`
53823 depsdir=${D}builddir/${D}DEPSDIRBASE
53824 mkdir -p ${D}depsdir
53826 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
53836 BK_DEPS
="`pwd`/bk-deps"
53844 case ${BAKEFILE_HOST} in
53845 *-*-cygwin* | *-*-mingw32* )
53846 if test -n "$ac_tool_prefix"; then
53847 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
53848 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
53849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53851 if test "${ac_cv_prog_WINDRES+set}" = set; then
53852 echo $ECHO_N "(cached) $ECHO_C" >&6
53854 if test -n "$WINDRES"; then
53855 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
53857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53858 for as_dir
in $PATH
53861 test -z "$as_dir" && as_dir
=.
53862 for ac_exec_ext
in '' $ac_executable_extensions; do
53863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53864 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
53865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53874 WINDRES
=$ac_cv_prog_WINDRES
53875 if test -n "$WINDRES"; then
53876 { echo "$as_me:$LINENO: result: $WINDRES" >&5
53877 echo "${ECHO_T}$WINDRES" >&6; }
53879 { echo "$as_me:$LINENO: result: no" >&5
53880 echo "${ECHO_T}no" >&6; }
53885 if test -z "$ac_cv_prog_WINDRES"; then
53886 ac_ct_WINDRES
=$WINDRES
53887 # Extract the first word of "windres", so it can be a program name with args.
53888 set dummy windres
; ac_word
=$2
53889 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53891 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
53892 echo $ECHO_N "(cached) $ECHO_C" >&6
53894 if test -n "$ac_ct_WINDRES"; then
53895 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
53897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53898 for as_dir
in $PATH
53901 test -z "$as_dir" && as_dir
=.
53902 for ac_exec_ext
in '' $ac_executable_extensions; do
53903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53904 ac_cv_prog_ac_ct_WINDRES
="windres"
53905 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53914 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
53915 if test -n "$ac_ct_WINDRES"; then
53916 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
53917 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
53919 { echo "$as_me:$LINENO: result: no" >&5
53920 echo "${ECHO_T}no" >&6; }
53923 if test "x$ac_ct_WINDRES" = x
; then
53926 case $cross_compiling:$ac_tool_warned in
53928 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
53929 whose name does not start with the host triplet. If you think this
53930 configuration is useful to you, please write to autoconf@gnu.org." >&5
53931 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
53932 whose name does not start with the host triplet. If you think this
53933 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
53934 ac_tool_warned
=yes ;;
53936 WINDRES
=$ac_ct_WINDRES
53939 WINDRES
="$ac_cv_prog_WINDRES"
53944 *-*-darwin* | powerpc
-apple-macos* )
53945 # Extract the first word of "Rez", so it can be a program name with args.
53946 set dummy Rez
; ac_word
=$2
53947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53949 if test "${ac_cv_prog_REZ+set}" = set; then
53950 echo $ECHO_N "(cached) $ECHO_C" >&6
53952 if test -n "$REZ"; then
53953 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
53955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53956 for as_dir
in $PATH
53959 test -z "$as_dir" && as_dir
=.
53960 for ac_exec_ext
in '' $ac_executable_extensions; do
53961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53962 ac_cv_prog_REZ
="Rez"
53963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53970 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
53973 REZ
=$ac_cv_prog_REZ
53974 if test -n "$REZ"; then
53975 { echo "$as_me:$LINENO: result: $REZ" >&5
53976 echo "${ECHO_T}$REZ" >&6; }
53978 { echo "$as_me:$LINENO: result: no" >&5
53979 echo "${ECHO_T}no" >&6; }
53983 # Extract the first word of "SetFile", so it can be a program name with args.
53984 set dummy SetFile
; ac_word
=$2
53985 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53987 if test "${ac_cv_prog_SETFILE+set}" = set; then
53988 echo $ECHO_N "(cached) $ECHO_C" >&6
53990 if test -n "$SETFILE"; then
53991 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
53993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53994 for as_dir
in $PATH
53997 test -z "$as_dir" && as_dir
=.
53998 for ac_exec_ext
in '' $ac_executable_extensions; do
53999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54000 ac_cv_prog_SETFILE
="SetFile"
54001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54008 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
54011 SETFILE
=$ac_cv_prog_SETFILE
54012 if test -n "$SETFILE"; then
54013 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54014 echo "${ECHO_T}$SETFILE" >&6; }
54016 { echo "$as_me:$LINENO: result: no" >&5
54017 echo "${ECHO_T}no" >&6; }
54032 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
54035 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
54039 # Check whether --enable-precomp-headers was given.
54040 if test "${enable_precomp_headers+set}" = set; then
54041 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
54050 case ${BAKEFILE_HOST} in
54056 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54057 if test "x$GCC" = "xyes"; then
54058 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54059 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54060 cat >conftest.
$ac_ext <<_ACEOF
54063 cat confdefs.h
>>conftest.
$ac_ext
54064 cat >>conftest.
$ac_ext <<_ACEOF
54065 /* end confdefs.h. */
54071 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54072 There is no PCH support
54075 There is no PCH support
54077 #if (__GNUC__ == 3) && \
54078 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54079 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54080 ( defined(__INTEL_COMPILER) )
54081 There is no PCH support
54088 rm -f conftest.
$ac_objext
54089 if { (ac_try
="$ac_compile"
54090 case "(($ac_try" in
54091 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54092 *) ac_try_echo=$ac_try;;
54094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54095 (eval "$ac_compile") 2>conftest.er1
54097 grep -v '^ *+' conftest.er1 >conftest.err
54099 cat conftest.err >&5
54100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54101 (exit $ac_status); } && {
54102 test -z "$ac_c_werror_flag" ||
54103 test ! -s conftest.err
54104 } && test -s conftest.$ac_objext; then
54106 { echo "$as_me:$LINENO: result: yes" >&5
54107 echo "${ECHO_T}yes" >&6; }
54111 echo "$as_me: failed program was:" >&5
54112 sed 's/^/| /' conftest.$ac_ext >&5
54115 if test "$INTELCXX8" = "yes"; then
54116 { echo "$as_me:$LINENO: result: yes" >&5
54117 echo "${ECHO_T}yes" >&6; }
54119 if test "$INTELCXX10" = "yes"; then
54120 ICC_PCH_CREATE_SWITCH="-pch-create"
54121 ICC_PCH_USE_SWITCH="-pch-use"
54123 ICC_PCH_CREATE_SWITCH="-create-pch"
54124 ICC_PCH_USE_SWITCH="-use-pch"
54127 { echo "$as_me:$LINENO: result: no" >&5
54128 echo "${ECHO_T}no" >&6; }
54133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54134 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54138 cat <<EOF >bk-make-pch
54141 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54142 # script. It is used to generated precompiled headers.
54144 # Permission is given to use this file in any way.
54151 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
54156 while test ${D}{#} -gt 0; do
54160 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
54161 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54162 headerfile="${D}{incdir}/${D}{header}"
54165 -use-pch|-use_pch|-pch-use )
54170 if test ${D}add_to_cmdline = 1 ; then
54171 compiler="${D}{compiler} ${D}{1}"
54176 if test "x${D}{headerfile}" = "x" ; then
54177 echo "error: can't find header ${D}{header} in include paths" >&2
54179 if test -f ${D}{outfile} ; then
54180 rm -f ${D}{outfile}
54182 mkdir -p \`dirname ${D}{outfile
}\
`
54184 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
54185 mkdir -p ${D}{builddir}/.deps
54186 if test "x${GCC_PCH}" = "x1" ; then
54187 # can do this because gcc is >= 3.4:
54188 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54189 elif test "x${ICC_PCH}" = "x1" ; then
54190 filename=pch_gen-${D}${D}
54191 file=${D}{filename}.c
54192 dfile=${D}{filename}.d
54193 cat > ${D}file <<EOT
54194 #include "${D}header"
54196 # using -MF icc complains about differing command lines in creation/use
54197 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54198 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54199 rm -f ${D}file ${D}dfile ${D}{filename}.o
54205 chmod +x bk-make-pch
54206 BK_MAKE_PCH="`pwd`/bk-make-pch"
54217 COND_BUILD_DEBUG="#"
54218 if test "x$BUILD" = "xdebug" ; then
54219 COND_BUILD_DEBUG=""
54222 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54223 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54224 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54227 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54228 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54229 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54232 COND_BUILD_DEBUG_UNICODE_0="#"
54233 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54234 COND_BUILD_DEBUG_UNICODE_0=""
54237 COND_BUILD_DEBUG_UNICODE_1="#"
54238 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54239 COND_BUILD_DEBUG_UNICODE_1=""
54242 COND_BUILD_RELEASE="#"
54243 if test "x$BUILD" = "xrelease" ; then
54244 COND_BUILD_RELEASE=""
54247 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54248 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54249 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54252 COND_BUILD_RELEASE_UNICODE_0="#"
54253 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54254 COND_BUILD_RELEASE_UNICODE_0=""
54257 COND_BUILD_RELEASE_UNICODE_1="#"
54258 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54259 COND_BUILD_RELEASE_UNICODE_1=""
54262 COND_BUILD_debug="#"
54263 if test "x$BUILD" = "xdebug" ; then
54264 COND_BUILD_debug=""
54267 COND_BUILD_debug_DEBUG_FLAG_default="#"
54268 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54269 COND_BUILD_debug_DEBUG_FLAG_default=""
54272 COND_BUILD_debug_DEBUG_INFO_default="#"
54273 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54274 COND_BUILD_debug_DEBUG_INFO_default=""
54277 COND_BUILD_debug_UNICODE_0="#"
54278 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54279 COND_BUILD_debug_UNICODE_0=""
54282 COND_BUILD_debug_UNICODE_1="#"
54283 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54284 COND_BUILD_debug_UNICODE_1=""
54287 COND_BUILD_release="#"
54288 if test "x$BUILD" = "xrelease" ; then
54289 COND_BUILD_release=""
54292 COND_BUILD_release_DEBUG_INFO_default="#"
54293 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54294 COND_BUILD_release_DEBUG_INFO_default=""
54297 COND_BUILD_release_UNICODE_0="#"
54298 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54299 COND_BUILD_release_UNICODE_0=""
54302 COND_BUILD_release_UNICODE_1="#"
54303 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54304 COND_BUILD_release_UNICODE_1=""
54307 COND_DEBUG_FLAG_0="#"
54308 if test "x$DEBUG_FLAG" = "x0" ; then
54309 COND_DEBUG_FLAG_0=""
54312 COND_DEBUG_FLAG_1="#"
54313 if test "x$DEBUG_FLAG" = "x1" ; then
54314 COND_DEBUG_FLAG_1=""
54317 COND_DEBUG_INFO_0="#"
54318 if test "x$DEBUG_INFO" = "x0" ; then
54319 COND_DEBUG_INFO_0=""
54322 COND_DEBUG_INFO_1="#"
54323 if test "x$DEBUG_INFO" = "x1" ; then
54324 COND_DEBUG_INFO_1=""
54327 COND_DEPS_TRACKING_0="#"
54328 if test "x$DEPS_TRACKING" = "x0" ; then
54329 COND_DEPS_TRACKING_0=""
54332 COND_DEPS_TRACKING_1="#"
54333 if test "x$DEPS_TRACKING" = "x1" ; then
54334 COND_DEPS_TRACKING_1=""
54338 if test "x$GCC_PCH" = "x1" ; then
54343 if test "x$ICC_PCH" = "x1" ; then
54347 COND_MONOLITHIC_0="#"
54348 if test "x$MONOLITHIC" = "x0" ; then
54349 COND_MONOLITHIC_0=""
54352 COND_MONOLITHIC_0_SHARED_0="#"
54353 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54354 COND_MONOLITHIC_0_SHARED_0=""
54357 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54358 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54359 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54362 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54363 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54364 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54367 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54368 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54369 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54372 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54373 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54374 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54377 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54378 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54379 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54382 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54383 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54384 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54387 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54388 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54389 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54392 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54393 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54394 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54397 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54398 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54399 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54402 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54403 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54404 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54407 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54408 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54409 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54412 COND_MONOLITHIC_0_SHARED_1="#"
54413 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54414 COND_MONOLITHIC_0_SHARED_1=""
54417 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54418 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54419 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54422 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54423 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54424 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54427 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54428 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54429 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54432 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54433 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54434 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54437 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54438 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54439 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54442 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54443 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54444 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54447 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54448 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54449 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54452 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54453 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54454 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54457 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54458 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54459 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54462 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54463 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54464 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54467 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54468 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54469 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54472 COND_MONOLITHIC_0_USE_AUI_1="#"
54473 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54474 COND_MONOLITHIC_0_USE_AUI_1=""
54477 COND_MONOLITHIC_0_USE_GUI_1="#"
54478 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54479 COND_MONOLITHIC_0_USE_GUI_1=""
54482 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54483 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54484 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54487 COND_MONOLITHIC_0_USE_HTML_1="#"
54488 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54489 COND_MONOLITHIC_0_USE_HTML_1=""
54492 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54493 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54494 COND_MONOLITHIC_0_USE_MEDIA_1=""
54497 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54498 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54499 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54502 COND_MONOLITHIC_0_USE_QA_1="#"
54503 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54504 COND_MONOLITHIC_0_USE_QA_1=""
54507 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54508 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54509 COND_MONOLITHIC_0_USE_RIBBON_1=""
54512 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54513 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54514 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54517 COND_MONOLITHIC_0_USE_STC_1="#"
54518 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54519 COND_MONOLITHIC_0_USE_STC_1=""
54522 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54523 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54524 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54527 COND_MONOLITHIC_0_USE_XRC_1="#"
54528 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54529 COND_MONOLITHIC_0_USE_XRC_1=""
54532 COND_MONOLITHIC_1="#"
54533 if test "x$MONOLITHIC" = "x1" ; then
54534 COND_MONOLITHIC_1=""
54537 COND_MONOLITHIC_1_SHARED_0="#"
54538 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54539 COND_MONOLITHIC_1_SHARED_0=""
54542 COND_MONOLITHIC_1_SHARED_1="#"
54543 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54544 COND_MONOLITHIC_1_SHARED_1=""
54547 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54548 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54549 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54552 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54553 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54554 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54557 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54558 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54559 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54562 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54563 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54564 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54567 COND_PLATFORM_MACOSX_1="#"
54568 if test "x$PLATFORM_MACOSX" = "x1" ; then
54569 COND_PLATFORM_MACOSX_1=""
54572 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54573 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54574 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54577 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54578 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54579 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54582 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54583 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54584 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54587 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54588 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54589 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54592 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54593 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54594 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54597 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54598 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54599 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54602 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54603 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54604 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54607 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54608 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54609 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54612 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54613 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54614 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54617 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54618 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54619 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54622 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54623 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54624 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54627 COND_PLATFORM_MACOS_1="#"
54628 if test "x$PLATFORM_MACOS" = "x1" ; then
54629 COND_PLATFORM_MACOS_1=""
54632 COND_PLATFORM_MAC_0="#"
54633 if test "x$PLATFORM_MAC" = "x0" ; then
54634 COND_PLATFORM_MAC_0=""
54637 COND_PLATFORM_MAC_1="#"
54638 if test "x$PLATFORM_MAC" = "x1" ; then
54639 COND_PLATFORM_MAC_1=""
54642 COND_PLATFORM_MSDOS_0="#"
54643 if test "x$PLATFORM_MSDOS" = "x0" ; then
54644 COND_PLATFORM_MSDOS_0=""
54647 COND_PLATFORM_MSDOS_1="#"
54648 if test "x$PLATFORM_MSDOS" = "x1" ; then
54649 COND_PLATFORM_MSDOS_1=""
54652 COND_PLATFORM_OS2_1="#"
54653 if test "x$PLATFORM_OS2" = "x1" ; then
54654 COND_PLATFORM_OS2_1=""
54657 COND_PLATFORM_UNIX_0="#"
54658 if test "x$PLATFORM_UNIX" = "x0" ; then
54659 COND_PLATFORM_UNIX_0=""
54662 COND_PLATFORM_UNIX_1="#"
54663 if test "x$PLATFORM_UNIX" = "x1" ; then
54664 COND_PLATFORM_UNIX_1=""
54667 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54668 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54669 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54672 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54673 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54674 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54677 COND_PLATFORM_WIN32_0="#"
54678 if test "x$PLATFORM_WIN32" = "x0" ; then
54679 COND_PLATFORM_WIN32_0=""
54682 COND_PLATFORM_WIN32_1="#"
54683 if test "x$PLATFORM_WIN32" = "x1" ; then
54684 COND_PLATFORM_WIN32_1=""
54687 COND_PLATFORM_WIN32_1_SHARED_0="#"
54688 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54689 COND_PLATFORM_WIN32_1_SHARED_0=""
54693 if test "x$SHARED" = "x0" ; then
54697 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54698 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54699 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54702 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54703 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54704 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54707 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
54708 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
54709 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
54712 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
54713 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54714 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
54717 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
54718 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54719 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
54722 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
54723 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54724 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
54727 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
54728 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54729 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
54732 COND_SHARED_0_USE_STC_1="#"
54733 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54734 COND_SHARED_0_USE_STC_1=""
54737 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
54738 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
54739 COND_SHARED_0_wxUSE_EXPAT_builtin=""
54742 COND_SHARED_0_wxUSE_REGEX_builtin="#"
54743 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54744 COND_SHARED_0_wxUSE_REGEX_builtin=""
54747 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
54748 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54749 COND_SHARED_0_wxUSE_ZLIB_builtin=""
54753 if test "x$SHARED" = "x1" ; then
54757 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
54758 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54759 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
54763 if test "x$TOOLKIT" = "x" ; then
54767 COND_TOOLKIT_COCOA="#"
54768 if test "x$TOOLKIT" = "xCOCOA" ; then
54769 COND_TOOLKIT_COCOA=""
54772 COND_TOOLKIT_COCOA_USE_GUI_1="#"
54773 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
54774 COND_TOOLKIT_COCOA_USE_GUI_1=""
54777 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
54778 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54779 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
54782 COND_TOOLKIT_DFB="#"
54783 if test "x$TOOLKIT" = "xDFB" ; then
54784 COND_TOOLKIT_DFB=""
54787 COND_TOOLKIT_DFB_USE_GUI_1="#"
54788 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
54789 COND_TOOLKIT_DFB_USE_GUI_1=""
54792 COND_TOOLKIT_GTK="#"
54793 if test "x$TOOLKIT" = "xGTK" ; then
54794 COND_TOOLKIT_GTK=""
54797 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
54798 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
54799 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
54802 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
54803 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
54804 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
54807 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
54808 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
54809 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
54812 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
54813 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54814 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
54817 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
54818 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
54819 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
54822 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
54823 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54824 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
54827 COND_TOOLKIT_GTK_USE_GUI_1="#"
54828 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
54829 COND_TOOLKIT_GTK_USE_GUI_1=""
54832 COND_TOOLKIT_MAC="#"
54833 if test "x$TOOLKIT" = "xMAC" ; then
54834 COND_TOOLKIT_MAC=""
54837 COND_TOOLKIT_MOTIF="#"
54838 if test "x$TOOLKIT" = "xMOTIF" ; then
54839 COND_TOOLKIT_MOTIF=""
54842 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
54843 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
54844 COND_TOOLKIT_MOTIF_USE_GUI_1=""
54847 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
54848 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54849 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
54852 COND_TOOLKIT_MSW="#"
54853 if test "x$TOOLKIT" = "xMSW" ; then
54854 COND_TOOLKIT_MSW=""
54857 COND_TOOLKIT_MSW_USE_GUI_1="#"
54858 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
54859 COND_TOOLKIT_MSW_USE_GUI_1=""
54862 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
54863 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54864 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
54867 COND_TOOLKIT_MSW_WXUNIV_0="#"
54868 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54869 COND_TOOLKIT_MSW_WXUNIV_0=""
54872 COND_TOOLKIT_OSX_CARBON="#"
54873 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
54874 COND_TOOLKIT_OSX_CARBON=""
54877 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54878 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54879 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54882 COND_TOOLKIT_OSX_COCOA="#"
54883 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
54884 COND_TOOLKIT_OSX_COCOA=""
54887 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54888 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54889 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54892 COND_TOOLKIT_OSX_IPHONE="#"
54893 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
54894 COND_TOOLKIT_OSX_IPHONE=""
54897 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54898 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54899 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54902 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54903 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54904 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54907 COND_TOOLKIT_PM="#"
54908 if test "x$TOOLKIT" = "xPM" ; then
54912 COND_TOOLKIT_PM_USE_GUI_1="#"
54913 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
54914 COND_TOOLKIT_PM_USE_GUI_1=""
54917 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
54918 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54919 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
54922 COND_TOOLKIT_WINCE="#"
54923 if test "x$TOOLKIT" = "xWINCE" ; then
54924 COND_TOOLKIT_WINCE=""
54927 COND_TOOLKIT_WINCE_USE_GUI_1="#"
54928 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
54929 COND_TOOLKIT_WINCE_USE_GUI_1=""
54932 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
54933 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54934 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
54937 COND_TOOLKIT_WINCE_WXUNIV_0="#"
54938 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
54939 COND_TOOLKIT_WINCE_WXUNIV_0=""
54942 COND_TOOLKIT_X11="#"
54943 if test "x$TOOLKIT" = "xX11" ; then
54944 COND_TOOLKIT_X11=""
54947 COND_TOOLKIT_X11_USE_GUI_1="#"
54948 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
54949 COND_TOOLKIT_X11_USE_GUI_1=""
54953 if test "x$UNICODE" = "x1" ; then
54957 COND_USE_CAIRO_1="#"
54958 if test "x$USE_CAIRO" = "x1" ; then
54959 COND_USE_CAIRO_1=""
54962 COND_USE_EXCEPTIONS_0="#"
54963 if test "x$USE_EXCEPTIONS" = "x0" ; then
54964 COND_USE_EXCEPTIONS_0=""
54967 COND_USE_EXCEPTIONS_1="#"
54968 if test "x$USE_EXCEPTIONS" = "x1" ; then
54969 COND_USE_EXCEPTIONS_1=""
54973 if test "x$USE_GUI" = "x0" ; then
54978 if test "x$USE_GUI" = "x1" ; then
54982 COND_USE_GUI_1_USE_OPENGL_1="#"
54983 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54984 COND_USE_GUI_1_USE_OPENGL_1=""
54987 COND_USE_GUI_1_WXUNIV_0="#"
54988 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54989 COND_USE_GUI_1_WXUNIV_0=""
54992 COND_USE_GUI_1_WXUNIV_1="#"
54993 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
54994 COND_USE_GUI_1_WXUNIV_1=""
54997 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
54998 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54999 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55002 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55003 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55004 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55007 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55008 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55009 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55012 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55013 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55014 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55017 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55018 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55019 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55022 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55023 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55024 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55027 COND_USE_OPENGL_1="#"
55028 if test "x$USE_OPENGL" = "x1" ; then
55029 COND_USE_OPENGL_1=""
55033 if test "x$USE_PCH" = "x1" ; then
55037 COND_USE_PLUGINS_0="#"
55038 if test "x$USE_PLUGINS" = "x0" ; then
55039 COND_USE_PLUGINS_0=""
55042 COND_USE_RTTI_0="#"
55043 if test "x$USE_RTTI" = "x0" ; then
55047 COND_USE_RTTI_1="#"
55048 if test "x$USE_RTTI" = "x1" ; then
55052 COND_USE_SOTWOSYMLINKS_1="#"
55053 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55054 COND_USE_SOTWOSYMLINKS_1=""
55057 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55058 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55059 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55062 COND_USE_SOVERLINUX_1="#"
55063 if test "x$USE_SOVERLINUX" = "x1" ; then
55064 COND_USE_SOVERLINUX_1=""
55067 COND_USE_SOVERSION_0="#"
55068 if test "x$USE_SOVERSION" = "x0" ; then
55069 COND_USE_SOVERSION_0=""
55072 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55073 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55074 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55077 COND_USE_SOVERSOLARIS_1="#"
55078 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55079 COND_USE_SOVERSOLARIS_1=""
55083 if test "x$USE_STC" = "x1" ; then
55087 COND_USE_THREADS_0="#"
55088 if test "x$USE_THREADS" = "x0" ; then
55089 COND_USE_THREADS_0=""
55092 COND_USE_THREADS_1="#"
55093 if test "x$USE_THREADS" = "x1" ; then
55094 COND_USE_THREADS_1=""
55098 if test "x$USE_XRC" = "x1" ; then
55102 COND_WINDOWS_IMPLIB_1="#"
55103 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55104 COND_WINDOWS_IMPLIB_1=""
55107 COND_WITH_PLUGIN_SDL_1="#"
55108 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55109 COND_WITH_PLUGIN_SDL_1=""
55113 if test "x$WXUNIV" = "x0" ; then
55118 if test "x$WXUNIV" = "x1" ; then
55122 COND_WXUSE_EXPAT_BUILTIN="#"
55123 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55124 COND_WXUSE_EXPAT_BUILTIN=""
55127 COND_WXUSE_LIBJPEG_BUILTIN="#"
55128 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55129 COND_WXUSE_LIBJPEG_BUILTIN=""
55132 COND_WXUSE_LIBPNG_BUILTIN="#"
55133 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55134 COND_WXUSE_LIBPNG_BUILTIN=""
55137 COND_WXUSE_LIBTIFF_BUILTIN="#"
55138 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55139 COND_WXUSE_LIBTIFF_BUILTIN=""
55142 COND_WXUSE_REGEX_BUILTIN="#"
55143 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55144 COND_WXUSE_REGEX_BUILTIN=""
55147 COND_WXUSE_ZLIB_BUILTIN="#"
55148 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55149 COND_WXUSE_ZLIB_BUILTIN=""
55152 COND_wxUSE_EXPAT_builtin="#"
55153 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55154 COND_wxUSE_EXPAT_builtin=""
55157 COND_wxUSE_LIBJPEG_builtin="#"
55158 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55159 COND_wxUSE_LIBJPEG_builtin=""
55162 COND_wxUSE_LIBPNG_builtin="#"
55163 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55164 COND_wxUSE_LIBPNG_builtin=""
55167 COND_wxUSE_LIBTIFF_builtin="#"
55168 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55169 COND_wxUSE_LIBTIFF_builtin=""
55172 COND_wxUSE_REGEX_builtin="#"
55173 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55174 COND_wxUSE_REGEX_builtin=""
55177 COND_wxUSE_ZLIB_builtin="#"
55178 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55179 COND_wxUSE_ZLIB_builtin=""
55184 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55185 { { 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
55186 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;}
55187 { (exit 1); exit 1; }; }
55190 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55191 { { 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
55192 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;}
55193 { (exit 1); exit 1; }; }
55200 ?:* ) # Drive letter, considered as absolute.
55203 INSTALL=`pwd`/${INSTALL} ;;
55206 if test "$wxUSE_GUI" = "yes"; then
55208 if test "$wxUSE_MSW" = 1 ; then
55209 if test "x$WINDRES" = "x"; then
55210 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55211 echo "$as_me: error: Required windres program not found" >&2;}
55212 { (exit 1); exit 1; }; }
55218 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55219 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55220 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55222 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55224 # Extract the first word of "DeRez", so it can be a program name with args.
55225 set dummy DeRez; ac_word=$2
55226 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55228 if test "${ac_cv_prog_DEREZ+set}" = set; then
55229 echo $ECHO_N "(cached) $ECHO_C" >&6
55231 if test -n "$DEREZ"; then
55232 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55235 for as_dir in $PATH
55238 test -z "$as_dir" && as_dir=.
55239 for ac_exec_ext in '' $ac_executable_extensions; do
55240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55241 ac_cv_prog_DEREZ="DeRez"
55242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55249 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55252 DEREZ=$ac_cv_prog_DEREZ
55253 if test -n "$DEREZ"; then
55254 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55255 echo "${ECHO_T}$DEREZ" >&6; }
55257 { echo "$as_me:$LINENO: result: no" >&5
55258 echo "${ECHO_T}no" >&6; }
55263 MACSETFILE="\$(SETFILE)"
55265 if test "$wxUSE_OSX_CARBON" = 1; then
55266 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55268 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55270 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55271 RESCOMP="cat /dev/null \| $REZ"
55272 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55278 if test "$wxUSE_PM" = 1; then
55280 WXCONFIG_RESFLAGS="-ep"
55282 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55284 POSTLINK_COMMAND="@true"
55291 if test $GCC_PCH = 1
55293 if test "$wx_cv_gcc_pch_bug" = yes; then
55294 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55295 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55296 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55297 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55298 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55299 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55302 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55303 # the headers that benefit from precompilation are mostly C++ headers.
55304 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55305 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55306 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55310 if test "$wxUSE_MAC" = 1 ; then
55311 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55312 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55318 if test "$wxUSE_SHARED" = "yes"; then
55320 *-pc-os2_emx | *-pc-os2-emx )
55321 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55322 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55323 cp -p ${srcdir}/src/os2/dllnames.sh .
55324 cp -p ${srcdir}/src/os2/dllar.sh .
55328 if test "$wxUSE_OMF" = "yes"; then
55330 *-pc-os2_emx | *-pc-os2-emx )
55331 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55332 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55333 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55338 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55343 if test "$GCC" = yes; then
55344 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
55345 LIBS=`echo $LIBS | sed 's/-mt//g'`
55346 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
55351 if test "x$SUNCXX" = xyes; then
55352 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
55353 LIBS=`echo $LIBS | sed 's/-pthread//g'`
55354 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
55359 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55360 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55361 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55362 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55364 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55425 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55426 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55427 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55428 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55429 echo $ECHO_N "(cached) $ECHO_C" >&6
55431 cat >conftest.make <<\_ACEOF
55434 @echo '@@@%%%=$(MAKE)=@@@%%%'
55436 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55437 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
55438 *@@@%%%=?*=@@@%%%*)
55439 eval ac_cv_prog_make_${ac_make}_set=yes;;
55441 eval ac_cv_prog_make_${ac_make}_set=no;;
55443 rm -f conftest.make
55445 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55446 { echo "$as_me:$LINENO: result: yes" >&5
55447 echo "${ECHO_T}yes" >&6; }
55450 { echo "$as_me:$LINENO: result: no" >&5
55451 echo "${ECHO_T}no" >&6; }
55452 SET_MAKE="MAKE=${MAKE-make}"
55457 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55460 if test "$USE_WIN32" = 1; then
55461 ac_config_commands="$ac_config_commands rcdefs.h"
55465 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55468 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55471 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55474 if test "$wx_cv_version_script" = "yes"; then
55475 ac_config_files="$ac_config_files version-script"
55478 ac_config_files="$ac_config_files Makefile"
55481 ac_config_commands="$ac_config_commands wx-config"
55485 if test "$wxWITH_SUBDIRS" != "no"; then
55486 if test "$wxUSE_GUI" = "yes"; then
55487 SUBDIRS="samples demos utils"
55489 SUBDIRS="samples utils"
55494 # Check whether --with-cppunit-prefix was given.
55495 if test "${with_cppunit_prefix+set}" = set; then
55496 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55498 cppunit_config_prefix=""
55502 # Check whether --with-cppunit-exec-prefix was given.
55503 if test "${with_cppunit_exec_prefix+set}" = set; then
55504 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55506 cppunit_config_exec_prefix=""
55510 if test x$cppunit_config_exec_prefix != x ; then
55511 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55512 if test x${CPPUNIT_CONFIG+set} != xset ; then
55513 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55516 if test x$cppunit_config_prefix != x ; then
55517 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55518 if test x${CPPUNIT_CONFIG+set} != xset ; then
55519 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55523 # Extract the first word of "cppunit-config", so it can be a program name with args.
55524 set dummy cppunit-config; ac_word=$2
55525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55527 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55528 echo $ECHO_N "(cached) $ECHO_C" >&6
55530 case $CPPUNIT_CONFIG in
55532 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55536 for as_dir in $PATH
55539 test -z "$as_dir" && as_dir=.
55540 for ac_exec_ext in '' $ac_executable_extensions; do
55541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55542 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55550 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55554 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55555 if test -n "$CPPUNIT_CONFIG"; then
55556 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55557 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55559 { echo "$as_me:$LINENO: result: no" >&5
55560 echo "${ECHO_T}no" >&6; }
55564 cppunit_version_min=1.8.0
55566 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55567 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55569 if test "$CPPUNIT_CONFIG" = "no" ; then
55570 { echo "$as_me:$LINENO: result: no" >&5
55571 echo "${ECHO_T}no" >&6; }
55574 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55575 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55576 cppunit_version=`$CPPUNIT_CONFIG --version`
55578 cppunit_major_version=`echo $cppunit_version | \
55579 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55580 cppunit_minor_version=`echo $cppunit_version | \
55581 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55582 cppunit_micro_version=`echo $cppunit_version | \
55583 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55585 cppunit_major_min=`echo $cppunit_version_min | \
55586 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55587 cppunit_minor_min=`echo $cppunit_version_min | \
55588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55589 cppunit_micro_min=`echo $cppunit_version_min | \
55590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55592 cppunit_version_proper=`expr \
55593 $cppunit_major_version \
> $cppunit_major_min \
| \
55594 $cppunit_major_version \
= $cppunit_major_min \
& \
55595 $cppunit_minor_version \
> $cppunit_minor_min \
| \
55596 $cppunit_major_version \
= $cppunit_major_min \
& \
55597 $cppunit_minor_version \
= $cppunit_minor_min \
& \
55598 $cppunit_micro_version \
>= $cppunit_micro_min `
55600 if test "$cppunit_version_proper" = "1" ; then
55601 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55602 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55604 { echo "$as_me:$LINENO: result: no" >&5
55605 echo "${ECHO_T}no" >&6; }
55610 if test "x$no_cppunit" = x ; then
55611 SUBDIRS="$SUBDIRS tests"
55622 for subdir in $SUBDIRS; do
55623 if test -d ${srcdir}/${subdir} ; then
55624 if test "$wxUSE_GUI" = "yes"; then
55625 if test ${subdir} = "samples"; then
55626 makefiles="samples/Makefile.in $makefiles"
55627 for sample in $SAMPLES_SUBDIRS; do
55628 if test -d $srcdir/samples/$sample; then
55629 makefiles="samples/$sample/Makefile.in $makefiles"
55633 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55634 eval "disabled=\$$disabled_var"
55635 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
55636 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
55639 if test ${subdir} = "samples"; then
55640 makefiles="samples/Makefile.in $makefiles"
55641 for sample in `echo $SAMPLES_SUBDIRS`; do
55642 if test -d $srcdir/samples/$sample; then
55643 makefiles="samples/$sample/Makefile.in $makefiles"
55646 elif test ${subdir} = "utils"; then
55648 for util in ifacecheck ; do
55649 if test -d $srcdir/utils/$util ; then
55650 makefiles="utils/$util/src/Makefile.in \
55655 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
55659 for mkin in $makefiles ; do
55660 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55661 ac_config_files="$ac_config_files $mk"
55667 cat >confcache <<\_ACEOF
55668 # This file is a shell script that caches the results of configure
55669 # tests run on this system so they can be shared between configure
55670 # scripts and configure runs, see configure's option --config-cache.
55671 # It is not useful on other systems. If it contains results you don't
55672 # want to keep, you may remove or edit it.
55674 # config.status only pays attention to the cache file if you give it
55675 # the --recheck option to rerun configure.
55677 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
55678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55679 # following values.
55683 # The following way of writing the cache mishandles newlines in values,
55684 # but we know of no workaround that is simple, portable, and efficient.
55685 # So, we kill variables containing newlines.
55686 # Ultrix sh set writes to stderr and can't be redirected directly,
55687 # and sets the high bit in the cache file unless we assign to the vars.
55689 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55690 eval ac_val
=\$
$ac_var
55694 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55695 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55698 _
| IFS
| as_nl
) ;; #(
55699 *) $as_unset $ac_var ;;
55705 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55706 *${as_nl}ac_space
=\
*)
55707 # `set' does not quote correctly, so add quotes (double-quote
55708 # substitution turns \\\\ into \\, and sed turns \\ into \).
55711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55714 # `set' quotes correctly as required by POSIX, so do not add quotes.
55715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55726 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55728 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
55729 if test -w "$cache_file"; then
55730 test "x$cache_file" != "x/dev/null" &&
55731 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55732 echo "$as_me: updating cache $cache_file" >&6;}
55733 cat confcache
>$cache_file
55735 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55736 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55741 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
55742 # Let make expand exec_prefix.
55743 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
55745 DEFS
=-DHAVE_CONFIG_H
55749 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
55750 # 1. Remove the extension, and $U if already installed.
55751 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
55752 ac_i
=`echo "$ac_i" | sed "$ac_script"`
55753 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55754 # will be set to the directory where LIBOBJS objects are built.
55755 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55756 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
55758 LIBOBJS
=$ac_libobjs
55760 LTLIBOBJS
=$ac_ltlibobjs
55764 : ${CONFIG_STATUS=./config.status}
55765 ac_clean_files_save
=$ac_clean_files
55766 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
55767 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
55768 echo "$as_me: creating $CONFIG_STATUS" >&6;}
55769 cat >$CONFIG_STATUS <<_ACEOF
55771 # Generated by $as_me.
55772 # Run this file to recreate the current configuration.
55773 # Compiler output produced by configure, useful for debugging
55774 # configure, is in config.log if it exists.
55777 ac_cs_recheck=false
55779 SHELL=\${CONFIG_SHELL-$SHELL}
55782 cat >>$CONFIG_STATUS <<\_ACEOF
55783 ## --------------------- ##
55784 ## M4sh Initialization. ##
55785 ## --------------------- ##
55787 # Be more Bourne compatible
55788 DUALCASE
=1; export DUALCASE
# for MKS sh
55789 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
55792 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55793 # is contrary to our usage. Disable this feature.
55794 alias -g '${1+"$@"}'='"$@"'
55795 setopt NO_GLOB_SUBST
55797 case `(set -o) 2>/dev/null` in
55798 *posix
*) set -o posix
;;
55807 # Avoid depending upon Character Ranges.
55808 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
55809 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55810 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
55811 as_cr_digits
='0123456789'
55812 as_cr_alnum
=$as_cr_Letters$as_cr_digits
55814 # The user is always right.
55815 if test "${PATH_SEPARATOR+set}" != set; then
55816 echo "#! /bin/sh" >conf$$.sh
55817 echo "exit 0" >>conf$$.sh
55819 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55827 # Support unset when possible.
55828 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
55836 # We need space, tab and new line, in precisely that order. Quoting is
55837 # there to prevent editors from complaining about space-tab.
55838 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
55839 # splitting by setting IFS to empty value.)
55844 # Find who we are. Look in the path if we contain no directory separator.
55846 *[\\/]* ) as_myself
=$0 ;;
55847 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
55848 for as_dir
in $PATH
55851 test -z "$as_dir" && as_dir
=.
55852 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
55858 # We did not find ourselves, most probably we were run as `sh COMMAND'
55859 # in which case we are not to be found in the path.
55860 if test "x$as_myself" = x
; then
55863 if test ! -f "$as_myself"; then
55864 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
55865 { (exit 1); exit 1; }
55868 # Work around bugs in pre-3.0 UWIN ksh.
55869 for as_var
in ENV MAIL MAILPATH
55870 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
55878 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
55879 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
55880 LC_TELEPHONE LC_TIME
55882 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
55883 eval $as_var=C
; export $as_var
55885 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
55889 # Required to use basename.
55890 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
55891 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
55897 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
55898 as_basename
=basename
55904 # Name of the executable.
55905 as_me
=`$as_basename -- "$0" ||
55906 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
55907 X"$0" : 'X\(//\)$' \| \
55908 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
55910 sed '/^.*\/\([^/][^/]*\)\/*$/{
55929 as_lineno_1
=$LINENO
55930 as_lineno_2
=$LINENO
55931 test "x$as_lineno_1" != "x$as_lineno_2" &&
55932 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
55934 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
55935 # uniformly replaced by the line number. The first 'sed' inserts a
55936 # line-number line after each line using $LINENO; the second 'sed'
55937 # does the real work. The second script uses 'N' to pair each
55938 # line-number line with the line containing $LINENO, and appends
55939 # trailing '-' during substitution so that $LINENO is not a special
55940 # case at line end.
55941 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
55942 # scripts with optimization help from Paolo Bonzini. Blame Lee
55943 # E. McMahon (1931-1989) for sed's syntax. :-)
55955 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
55958 ' >$as_me.lineno
&&
55959 chmod +x
"$as_me.lineno" ||
55960 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
55961 { (exit 1); exit 1; }; }
55963 # Don't try to exec as it changes $[0], causing all sort of problems
55964 # (the dirname of $[0] is not the place where we might find the
55965 # original and so on. Autoconf is especially sensitive to this).
55966 .
"./$as_me.lineno"
55967 # Exit status is that of the last command.
55972 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
55978 ECHO_C
= ECHO_N
= ECHO_T
=
55979 case `echo -n x` in
55981 case `echo 'x\c'` in
55982 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
55989 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
55990 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
55996 rm -f conf$$ conf$$.exe conf$$.
file
55997 if test -d conf$$.dir
; then
55998 rm -f conf$$.dir
/conf$$.
file
56004 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
56006 # ... but there are two gotchas:
56007 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56008 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56009 # In both cases, we have to default to `cp -p'.
56010 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
56012 elif ln conf$$.
file conf$$
2>/dev
/null
; then
56017 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
56018 rmdir conf$$.dir
2>/dev
/null
56020 if mkdir -p .
2>/dev
/null
; then
56023 test -d .
/-p && rmdir .
/-p
56027 if test -x / >/dev
/null
2>&1; then
56028 as_test_x
='test -x'
56030 if ls -dL / >/dev
/null
2>&1; then
56037 if test -d "$1"; then
56043 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56044 ???[sx]*):;;*)false;;esac;fi
56048 as_executable_p
=$as_test_x
56050 # Sed expression to map a string onto a valid CPP name.
56051 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56053 # Sed expression to map a string onto a valid variable name.
56054 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56059 # Save the log message, to keep $[0] and so on meaningful, and to
56060 # report actual input values of CONFIG_FILES etc. instead of their
56061 # values after options handling.
56063 This file was extended by wxWidgets $as_me 2.9.4, which was
56064 generated by GNU Autoconf 2.61. Invocation command line was
56066 CONFIG_FILES = $CONFIG_FILES
56067 CONFIG_HEADERS = $CONFIG_HEADERS
56068 CONFIG_LINKS = $CONFIG_LINKS
56069 CONFIG_COMMANDS = $CONFIG_COMMANDS
56072 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56077 cat >>$CONFIG_STATUS <<_ACEOF
56078 # Files that config.status was made for.
56079 config_files="$ac_config_files"
56080 config_headers="$ac_config_headers"
56081 config_commands="$ac_config_commands"
56085 cat >>$CONFIG_STATUS <<\_ACEOF
56087 \`$as_me' instantiates files from templates according to the
56088 current configuration.
56090 Usage: $0 [OPTIONS] [FILE]...
56092 -h, --help print this help, then exit
56093 -V, --version print version number and configuration settings, then exit
56094 -q, --quiet do not print progress messages
56095 -d, --debug don't remove temporary files
56096 --recheck update $as_me by reconfiguring in the same conditions
56097 --file=FILE[:TEMPLATE]
56098 instantiate the configuration file FILE
56099 --header=FILE[:TEMPLATE]
56100 instantiate the configuration header FILE
56102 Configuration files:
56105 Configuration headers:
56108 Configuration commands:
56111 Report bugs to <bug-autoconf@gnu.org>."
56114 cat >>$CONFIG_STATUS <<_ACEOF
56116 wxWidgets config.status 2.9.4
56117 configured by $0, generated by GNU Autoconf 2.61,
56118 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56120 Copyright (C) 2006 Free Software Foundation, Inc.
56121 This config.status script is free software; the Free Software Foundation
56122 gives unlimited permission to copy, distribute and modify it."
56129 cat >>$CONFIG_STATUS <<\_ACEOF
56130 # If no file are specified by the user, then we need to provide default
56131 # value. By we need to know if files were specified by the user.
56137 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
56138 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
56149 # Handling of the options.
56150 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56152 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56153 echo "$ac_cs_version"; exit ;;
56154 --debug | --debu | --deb | --de | --d | -d )
56156 --file | --fil | --fi | --f )
56158 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
56159 ac_need_defaults
=false
;;
56160 --header | --heade | --head | --hea )
56162 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
56163 ac_need_defaults
=false
;;
56165 # Conflict between --help and --header
56166 { echo "$as_me: error: ambiguous option: $1
56167 Try \`$0 --help' for more information." >&2
56168 { (exit 1); exit 1; }; };;
56169 --help | --hel | -h )
56170 echo "$ac_cs_usage"; exit ;;
56171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56172 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56175 # This is an error.
56176 -*) { echo "$as_me: error: unrecognized option: $1
56177 Try \`$0 --help' for more information." >&2
56178 { (exit 1); exit 1; }; } ;;
56180 *) ac_config_targets
="$ac_config_targets $1"
56181 ac_need_defaults
=false
;;
56187 ac_configure_extra_args
=
56189 if $ac_cs_silent; then
56191 ac_configure_extra_args
="$ac_configure_extra_args --silent"
56195 cat >>$CONFIG_STATUS <<_ACEOF
56196 if \$ac_cs_recheck; then
56197 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56198 CONFIG_SHELL=$SHELL
56199 export CONFIG_SHELL
56200 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56204 cat >>$CONFIG_STATUS <<\_ACEOF
56208 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56209 ## Running $as_me. ##
56215 cat >>$CONFIG_STATUS <<_ACEOF
56221 infile="$srcdir/include/wx/msw/genrcdefs.h"
56222 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56225 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56226 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56227 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56233 cat >>$CONFIG_STATUS <<\_ACEOF
56235 # Handling of arguments.
56236 for ac_config_target
in $ac_config_targets
56238 case $ac_config_target in
56239 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56240 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
56241 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56242 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56243 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56244 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
56245 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
56246 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
56247 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
56249 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56250 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56251 { (exit 1); exit 1; }; };;
56256 # If the user did not use the arguments to specify the items to instantiate,
56257 # then the envvar interface is used. Set only those that are not.
56258 # We use the long form for the default assignment because of an extremely
56259 # bizarre bug on SunOS 4.1.3.
56260 if $ac_need_defaults; then
56261 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
56262 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
56263 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
56266 # Have a temporary directory for convenience. Make it in the build tree
56267 # simply because there is no reason against having it here, and in addition,
56268 # creating and moving files from /tmp can sometimes cause problems.
56269 # Hook for its removal unless debugging.
56270 # Note that there is a small window in which the directory will not be cleaned:
56271 # after its creation but before its name has been assigned to `$tmp'.
56275 trap 'exit_status=$?
56276 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56278 trap '{ (exit 1); exit 1; }' 1 2 13 15
56280 # Create a (secure) tmp directory for tmp files.
56283 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56284 test -n "$tmp" && test -d "$tmp"
56287 tmp
=.
/conf$$
-$RANDOM
56288 (umask 077 && mkdir "$tmp")
56291 echo "$me: cannot create a temporary directory in ." >&2
56292 { (exit 1); exit 1; }
56296 # Set up the sed scripts for CONFIG_FILES section.
56299 # No need to generate the scripts if there are no CONFIG_FILES.
56300 # This happens for instance when ./config.status config.h
56301 if test -n "$CONFIG_FILES"; then
56308 for ac_last_try
in false false false false false
:; do
56309 cat >conf$
$subs.
sed <<_ACEOF
56310 SHELL!$SHELL$ac_delim
56311 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56312 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56313 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56314 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56315 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56316 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56317 exec_prefix!$exec_prefix$ac_delim
56318 prefix!$prefix$ac_delim
56319 program_transform_name!$program_transform_name$ac_delim
56320 bindir!$bindir$ac_delim
56321 sbindir!$sbindir$ac_delim
56322 libexecdir!$libexecdir$ac_delim
56323 datarootdir!$datarootdir$ac_delim
56324 datadir!$datadir$ac_delim
56325 sysconfdir!$sysconfdir$ac_delim
56326 sharedstatedir!$sharedstatedir$ac_delim
56327 localstatedir!$localstatedir$ac_delim
56328 includedir!$includedir$ac_delim
56329 oldincludedir!$oldincludedir$ac_delim
56330 docdir!$docdir$ac_delim
56331 infodir!$infodir$ac_delim
56332 htmldir!$htmldir$ac_delim
56333 dvidir!$dvidir$ac_delim
56334 pdfdir!$pdfdir$ac_delim
56335 psdir!$psdir$ac_delim
56336 libdir!$libdir$ac_delim
56337 localedir!$localedir$ac_delim
56338 mandir!$mandir$ac_delim
56339 DEFS!$DEFS$ac_delim
56340 ECHO_C!$ECHO_C$ac_delim
56341 ECHO_N!$ECHO_N$ac_delim
56342 ECHO_T!$ECHO_T$ac_delim
56343 LIBS!$LIBS$ac_delim
56344 build_alias!$build_alias$ac_delim
56345 host_alias!$host_alias$ac_delim
56346 target_alias!$target_alias$ac_delim
56347 build!$build$ac_delim
56348 build_cpu!$build_cpu$ac_delim
56349 build_vendor!$build_vendor$ac_delim
56350 build_os!$build_os$ac_delim
56351 host!$host$ac_delim
56352 host_cpu!$host_cpu$ac_delim
56353 host_vendor!$host_vendor$ac_delim
56354 host_os!$host_os$ac_delim
56355 wx_top_builddir!$wx_top_builddir$ac_delim
56357 CFLAGS!$CFLAGS$ac_delim
56358 LDFLAGS!$LDFLAGS$ac_delim
56359 CPPFLAGS!$CPPFLAGS$ac_delim
56360 ac_ct_CC!$ac_ct_CC$ac_delim
56361 EXEEXT!$EXEEXT$ac_delim
56362 OBJEXT!$OBJEXT$ac_delim
56364 GREP!$GREP$ac_delim
56365 EGREP!$EGREP$ac_delim
56367 CXXFLAGS!$CXXFLAGS$ac_delim
56368 ac_ct_CXX!$ac_ct_CXX$ac_delim
56370 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56371 CXXCPP!$CXXCPP$ac_delim
56372 subdirs!$subdirs$ac_delim
56373 PKG_CONFIG!$PKG_CONFIG$ac_delim
56374 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56375 GTK_LIBS!$GTK_LIBS$ac_delim
56376 GTK_CONFIG!$GTK_CONFIG$ac_delim
56377 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56378 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56379 XMKMF!$XMKMF$ac_delim
56380 X_CFLAGS!$X_CFLAGS$ac_delim
56381 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56382 X_LIBS!$X_LIBS$ac_delim
56383 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56384 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56385 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56386 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56387 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56388 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56389 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56390 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56391 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56392 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56393 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56394 SM_CFLAGS!$SM_CFLAGS$ac_delim
56395 SM_LIBS!$SM_LIBS$ac_delim
56396 GL_CFLAGS!$GL_CFLAGS$ac_delim
56397 GL_LIBS!$GL_LIBS$ac_delim
56398 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56399 GLU_LIBS!$GLU_LIBS$ac_delim
56400 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56401 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56402 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56403 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56404 LIBICONV!$LIBICONV$ac_delim
56405 GXX_VERSION!$GXX_VERSION$ac_delim
56406 SDL_CONFIG!$SDL_CONFIG$ac_delim
56409 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56411 elif $ac_last_try; then
56412 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56413 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56414 { (exit 1); exit 1; }; }
56416 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56420 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56421 if test -n "$ac_eof"; then
56422 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56423 ac_eof
=`expr $ac_eof + 1`
56426 cat >>$CONFIG_STATUS <<_ACEOF
56427 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56428 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56431 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56432 s/^/s,@/; s/!/@,|#_!!_#|/
56435 s/'"$ac_delim"'$/,g/; t
56437 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56438 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56439 rm -f conf$
$subs.
sed
56440 cat >>$CONFIG_STATUS <<_ACEOF
56446 for ac_last_try
in false false false false false
:; do
56447 cat >conf$
$subs.
sed <<_ACEOF
56448 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56449 SDL_LIBS!$SDL_LIBS$ac_delim
56450 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56451 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56452 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56453 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56454 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56455 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56456 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56457 HILDON_LIBS!$HILDON_LIBS$ac_delim
56458 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56459 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56460 PYTHON!$PYTHON$ac_delim
56461 COND_PYTHON!$COND_PYTHON$ac_delim
56462 WEBKIT_CFLAGS!$WEBKIT_CFLAGS$ac_delim
56463 WEBKIT_LIBS!$WEBKIT_LIBS$ac_delim
56464 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56465 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56466 GST_CFLAGS!$GST_CFLAGS$ac_delim
56467 GST_LIBS!$GST_LIBS$ac_delim
56468 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56469 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56470 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56471 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56472 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56473 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56474 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56475 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56476 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56477 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56478 VENDOR!$VENDOR$ac_delim
56479 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56480 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56481 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56482 WXUNIV!$WXUNIV$ac_delim
56483 MONOLITHIC!$MONOLITHIC$ac_delim
56484 USE_PLUGINS!$USE_PLUGINS$ac_delim
56485 CXXWARNINGS!$CXXWARNINGS$ac_delim
56486 EXTRALIBS!$EXTRALIBS$ac_delim
56487 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56488 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56489 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56490 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56491 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56492 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56493 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56494 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56495 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56496 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56497 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56498 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56499 UNICODE!$UNICODE$ac_delim
56500 DEBUG_INFO!$DEBUG_INFO$ac_delim
56501 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56502 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56503 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56504 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56505 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56506 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56507 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56508 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56509 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56510 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56511 RANLIB!$RANLIB$ac_delim
56512 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56513 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56514 INSTALL_DATA!$INSTALL_DATA$ac_delim
56515 LN_S!$LN_S$ac_delim
56516 SET_MAKE!$SET_MAKE$ac_delim
56517 MAKE_SET!$MAKE_SET$ac_delim
56518 AROPTIONS!$AROPTIONS$ac_delim
56519 STRIP!$STRIP$ac_delim
56521 INSTALL_DIR!$INSTALL_DIR$ac_delim
56522 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56523 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56524 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56525 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56526 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56527 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56528 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56529 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56530 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56531 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56532 SO_SUFFIX!$SO_SUFFIX$ac_delim
56533 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56534 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56535 LIBPREFIX!$LIBPREFIX$ac_delim
56536 LIBEXT!$LIBEXT$ac_delim
56537 DLLPREFIX!$DLLPREFIX$ac_delim
56538 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56539 dlldir!$dlldir$ac_delim
56540 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56541 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56542 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56543 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56544 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56547 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56549 elif $ac_last_try; then
56550 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56551 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56552 { (exit 1); exit 1; }; }
56554 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56558 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56559 if test -n "$ac_eof"; then
56560 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56561 ac_eof
=`expr $ac_eof + 1`
56564 cat >>$CONFIG_STATUS <<_ACEOF
56565 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56566 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56569 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56570 s/^/s,@/; s/!/@,|#_!!_#|/
56573 s/'"$ac_delim"'$/,g/; t
56575 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56576 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56577 rm -f conf$
$subs.
sed
56578 cat >>$CONFIG_STATUS <<_ACEOF
56584 for ac_last_try
in false false false false false
:; do
56585 cat >conf$
$subs.
sed <<_ACEOF
56586 PIC_FLAG!$PIC_FLAG$ac_delim
56587 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56588 USE_SOVERSION!$USE_SOVERSION$ac_delim
56589 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56590 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56591 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56592 USE_MACVERSION!$USE_MACVERSION$ac_delim
56593 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56594 SONAME_FLAG!$SONAME_FLAG$ac_delim
56595 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56596 BK_DEPS!$BK_DEPS$ac_delim
56597 WINDRES!$WINDRES$ac_delim
56599 SETFILE!$SETFILE$ac_delim
56600 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56601 GCC_PCH!$GCC_PCH$ac_delim
56602 ICC_PCH!$ICC_PCH$ac_delim
56603 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56604 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56605 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56606 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56607 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56608 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56609 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56610 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56611 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56612 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56613 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56614 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56615 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56616 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56617 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56618 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56619 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56620 COND_BUILD_release!$COND_BUILD_release$ac_delim
56621 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56622 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56623 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56624 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56625 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56626 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56627 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56628 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56629 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56630 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56631 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56632 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56633 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56634 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56635 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56636 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56637 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56638 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56639 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56640 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56641 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56642 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56643 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56644 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56645 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56646 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56647 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56648 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56649 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56650 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56651 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56652 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56653 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56654 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56655 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56656 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56657 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56658 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56659 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56660 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56661 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56662 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56663 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56664 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56665 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56666 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56667 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56668 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56669 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56670 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56671 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56672 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56673 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56674 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56675 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56676 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56677 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56678 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56679 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56680 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
56681 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56682 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
56685 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56687 elif $ac_last_try; then
56688 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56689 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56690 { (exit 1); exit 1; }; }
56692 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56696 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56697 if test -n "$ac_eof"; then
56698 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56699 ac_eof
=`expr $ac_eof + 1`
56702 cat >>$CONFIG_STATUS <<_ACEOF
56703 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
56704 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56707 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56708 s/^/s,@/; s/!/@,|#_!!_#|/
56711 s/'"$ac_delim"'$/,g/; t
56713 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56714 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56715 rm -f conf$
$subs.
sed
56716 cat >>$CONFIG_STATUS <<_ACEOF
56722 for ac_last_try
in false false false false false
:; do
56723 cat >conf$
$subs.
sed <<_ACEOF
56724 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56725 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
56726 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
56727 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
56728 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
56729 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
56730 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
56731 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
56732 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
56733 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
56734 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
56735 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
56736 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
56737 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
56738 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
56739 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
56740 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
56741 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
56742 COND_SHARED_0!$COND_SHARED_0$ac_delim
56743 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
56744 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
56745 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
56746 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
56747 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56748 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56749 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56750 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
56751 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
56752 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
56753 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
56754 COND_SHARED_1!$COND_SHARED_1$ac_delim
56755 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
56756 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
56757 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
56758 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
56759 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
56760 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
56761 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
56762 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
56763 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
56764 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
56765 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
56766 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
56767 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
56768 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
56769 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
56770 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
56771 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
56772 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
56773 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
56774 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
56775 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
56776 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
56777 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
56778 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
56779 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56780 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
56781 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56782 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
56783 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56784 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56785 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
56786 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
56787 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
56788 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
56789 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
56790 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
56791 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
56792 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
56793 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
56794 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
56795 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
56796 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
56797 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
56798 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
56799 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
56800 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
56801 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
56802 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
56803 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
56804 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
56805 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
56806 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56807 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56808 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56809 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
56810 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
56811 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
56812 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
56813 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
56814 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
56815 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
56816 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
56817 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
56818 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
56819 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
56820 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
56823 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56825 elif $ac_last_try; then
56826 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56827 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56828 { (exit 1); exit 1; }; }
56830 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56834 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56835 if test -n "$ac_eof"; then
56836 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56837 ac_eof
=`expr $ac_eof + 1`
56840 cat >>$CONFIG_STATUS <<_ACEOF
56841 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
56842 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56845 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56846 s/^/s,@/; s/!/@,|#_!!_#|/
56849 s/'"$ac_delim"'$/,g/; t
56851 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56852 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56853 rm -f conf$
$subs.
sed
56854 cat >>$CONFIG_STATUS <<_ACEOF
56860 for ac_last_try
in false false false false false
:; do
56861 cat >conf$
$subs.
sed <<_ACEOF
56862 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
56863 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
56864 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
56865 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
56866 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
56867 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
56868 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
56869 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
56870 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
56871 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
56872 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
56873 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
56874 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
56875 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
56876 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
56877 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
56878 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
56879 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
56880 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
56881 DEREZ!$DEREZ$ac_delim
56882 SHARED!$SHARED$ac_delim
56883 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
56884 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
56885 USE_GUI!$USE_GUI$ac_delim
56886 AFMINSTALL!$AFMINSTALL$ac_delim
56887 WIN32INSTALL!$WIN32INSTALL$ac_delim
56888 TOOLKIT!$TOOLKIT$ac_delim
56889 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
56890 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
56891 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
56892 cross_compiling!$cross_compiling$ac_delim
56893 WIDGET_SET!$WIDGET_SET$ac_delim
56894 WX_RELEASE!$WX_RELEASE$ac_delim
56895 WX_VERSION!$WX_VERSION$ac_delim
56896 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
56897 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
56898 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
56899 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
56900 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
56901 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
56902 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
56903 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
56904 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
56905 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
56906 GUIDIST!$GUIDIST$ac_delim
56907 DISTDIR!$DISTDIR$ac_delim
56908 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
56909 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
56910 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
56911 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
56912 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
56913 RESCOMP!$RESCOMP$ac_delim
56914 RESFLAGS!$RESFLAGS$ac_delim
56915 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
56916 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
56917 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
56918 LIBWXMACRES!$LIBWXMACRES$ac_delim
56919 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
56920 MACSETFILE!$MACSETFILE$ac_delim
56922 DLLTOOL!$DLLTOOL$ac_delim
56923 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
56924 LIBOBJS!$LIBOBJS$ac_delim
56925 LTLIBOBJS!$LTLIBOBJS$ac_delim
56928 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
56930 elif $ac_last_try; then
56931 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56932 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56933 { (exit 1); exit 1; }; }
56935 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56939 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56940 if test -n "$ac_eof"; then
56941 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56942 ac_eof
=`expr $ac_eof + 1`
56945 cat >>$CONFIG_STATUS <<_ACEOF
56946 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
56947 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
56950 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56951 s/^/s,@/; s/!/@,|#_!!_#|/
56954 s/'"$ac_delim"'$/,g/; t
56956 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56957 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56958 rm -f conf$
$subs.
sed
56959 cat >>$CONFIG_STATUS <<_ACEOF
56966 # VPATH may cause trouble with some makes, so we remove $(srcdir),
56967 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
56968 # trailing colons and then remove the whole line if VPATH becomes empty
56969 # (actually we leave an empty line to preserve line numbers).
56970 if test "x$srcdir" = x.
; then
56971 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
56972 s/:*\$(srcdir):*/:/
56973 s/:*\${srcdir}:*/:/
56975 s/^\([^=]*=[ ]*\):*/\1/
56981 cat >>$CONFIG_STATUS <<\_ACEOF
56982 fi # test -n "$CONFIG_FILES"
56985 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
56988 :[FHLC
]) ac_mode
=$ac_tag; continue;;
56990 case $ac_mode$ac_tag in
56992 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
56993 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
56994 { (exit 1); exit 1; }; };;
56995 :[FH
]-) ac_tag
=-:-;;
56996 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
57013 -) ac_f
="$tmp/stdin";;
57014 *) # Look for the file first in the build tree, then in the source tree
57015 # (if the path is not absolute). The absolute path cannot be DOS-style,
57016 # because $ac_f cannot contain `:'.
57020 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
57022 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57023 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57024 { (exit 1); exit 1; }; };;
57026 ac_file_inputs
="$ac_file_inputs $ac_f"
57029 # Let's still pretend it is `configure' which instantiates (i.e., don't
57030 # use $as_me), people would be surprised to read:
57031 # /* config.h. Generated by config.status. */
57032 configure_input
="Generated from "`IFS=:
57033 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57034 if test x
"$ac_file" != x
-; then
57035 configure_input
="$ac_file. $configure_input"
57036 { echo "$as_me:$LINENO: creating $ac_file" >&5
57037 echo "$as_me: creating $ac_file" >&6;}
57041 *:-:* | *:-) cat >"$tmp/stdin";;
57046 ac_dir
=`$as_dirname -- "$ac_file" ||
57047 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57048 X"$ac_file" : 'X\(//\)[^/]' \| \
57049 X"$ac_file" : 'X\(//\)$' \| \
57050 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57052 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57056 /^X\(\/\/\)[^/].*/{
57071 -*) as_dir
=.
/$as_dir;;
57073 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57077 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57078 *) as_qdir
=$as_dir;;
57080 as_dirs
="'$as_qdir' $as_dirs"
57081 as_dir
=`$as_dirname -- "$as_dir" ||
57082 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57083 X"$as_dir" : 'X\(//\)[^/]' \| \
57084 X"$as_dir" : 'X\(//\)$' \| \
57085 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57091 /^X\(\/\/\)[^/].*/{
57104 test -d "$as_dir" && break
57106 test -z "$as_dirs" || eval "mkdir $as_dirs"
57107 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57108 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57109 { (exit 1); exit 1; }; }; }
57113 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57115 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57116 # A ".." for each directory in $ac_dir_suffix.
57117 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57118 case $ac_top_builddir_sub in
57119 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57120 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
57123 ac_abs_top_builddir
=$ac_pwd
57124 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
57125 # for backward compatibility:
57126 ac_top_builddir
=$ac_top_build_prefix
57129 .
) # We are building in place.
57131 ac_top_srcdir
=$ac_top_builddir_sub
57132 ac_abs_top_srcdir
=$ac_pwd ;;
57133 [\\/]* | ?
:[\\/]* ) # Absolute name.
57134 ac_srcdir
=$srcdir$ac_dir_suffix;
57135 ac_top_srcdir
=$srcdir
57136 ac_abs_top_srcdir
=$srcdir ;;
57137 *) # Relative name.
57138 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
57139 ac_top_srcdir
=$ac_top_build_prefix$srcdir
57140 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
57142 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
57152 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
57153 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
57157 cat >>$CONFIG_STATUS <<\_ACEOF
57158 # If the template does not know about datarootdir, expand it.
57159 # FIXME: This hack should be removed a few years after 2.60.
57160 ac_datarootdir_hack
=; ac_datarootdir_seen
=
57162 case `sed -n '/datarootdir/ {
57171 ' $ac_file_inputs` in
57172 *datarootdir
*) ac_datarootdir_seen
=yes;;
57173 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
57174 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57175 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57177 cat >>$CONFIG_STATUS <<_ACEOF
57178 ac_datarootdir_hack='
57179 s&@datadir@&$datadir&g
57180 s&@docdir@&$docdir&g
57181 s&@infodir@&$infodir&g
57182 s&@localedir@&$localedir&g
57183 s&@mandir@&$mandir&g
57184 s&\\\${datarootdir}&$datarootdir&g' ;;
57188 # Neutralize VPATH when `$srcdir' = `.'.
57189 # Shell code in configure.ac might set extrasub.
57190 # FIXME: do we really want to maintain this feature?
57191 cat >>$CONFIG_STATUS <<_ACEOF
57195 cat >>$CONFIG_STATUS <<\_ACEOF
57197 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
57198 s
&@configure_input@
&$configure_input&;t t
57199 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
57200 s
&@srcdir@
&$ac_srcdir&;t t
57201 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
57202 s
&@top_srcdir@
&$ac_top_srcdir&;t t
57203 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
57204 s
&@builddir@
&$ac_builddir&;t t
57205 s
&@abs_builddir@
&$ac_abs_builddir&;t t
57206 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
57207 s
&@INSTALL@
&$ac_INSTALL&;t t
57208 $ac_datarootdir_hack
57209 " $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
57211 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57212 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
57213 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
57214 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
57215 which seems to be undefined. Please make sure it is defined." >&5
57216 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
57217 which seems to be undefined. Please make sure it is defined." >&2;}
57221 -) cat "$tmp/out"; rm -f "$tmp/out";;
57222 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57231 # Transform confdefs.h into a sed script `conftest.defines', that
57232 # substitutes the proper values into config.h.in to produce config.h.
57233 rm -f conftest.defines conftest.
tail
57234 # First, append a space to every undef/define line, to ease matching.
57235 echo 's/$/ /' >conftest.defines
57236 # Then, protect against being on the right side of a sed subst, or in
57237 # an unquoted here document, in config.status. If some macros were
57238 # called several times there might be several #defines for the same
57239 # symbol, which is useless. But do not sort them, since the last
57240 # AC_DEFINE must be honored.
57241 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
57242 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57243 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57244 # PARAMS is the parameter list in the macro definition--in most cases, it's
57245 # just an empty string.
57246 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57247 ac_dB
='\\)[ (].*,\\1define\\2'
57255 s/^[ ]*#[ ]*define[ ][ ]*//
57260 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57261 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57262 ' >>conftest.defines
57264 # Remove the space that was appended to ease matching.
57265 # Then replace #undef with comments. This is necessary, for
57266 # example, in the case of _POSIX_SOURCE, which is predefined and required
57267 # on some systems where configure will not decide to define it.
57268 # (The regexp can be short, since the line contains either #define or #undef.)
57270 s,^[ #]*u.*,/* & */,' >>conftest.defines
57272 # Break up conftest.defines:
57273 ac_max_sed_lines
=50
57275 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57276 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57277 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57279 ac_in
='$ac_file_inputs'
57280 ac_out
='"$tmp/out1"'
57281 ac_nxt
='"$tmp/out2"'
57285 # Write a here document:
57286 cat >>$CONFIG_STATUS <<_ACEOF
57287 # First, check the format of the line:
57288 cat >"\$tmp/defines.sed" <<\\CEOF
57289 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57290 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57294 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
57296 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57297 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
57298 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
57299 grep . conftest.
tail >/dev
/null
|| break
57300 rm -f conftest.defines
57301 mv conftest.
tail conftest.defines
57303 rm -f conftest.defines conftest.
tail
57305 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57306 cat >>$CONFIG_STATUS <<\_ACEOF
57307 if test x
"$ac_file" != x
-; then
57308 echo "/* $configure_input */" >"$tmp/config.h"
57309 cat "$ac_result" >>"$tmp/config.h"
57310 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
57311 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57312 echo "$as_me: $ac_file is unchanged" >&6;}
57315 mv "$tmp/config.h" $ac_file
57318 echo "/* $configure_input */"
57324 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57325 echo "$as_me: executing $ac_file commands" >&6;}
57330 case $ac_file$ac_mode in
57332 mkdir -p $outdir &&
57333 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57335 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
57336 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
57337 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
57338 "wx-config":C
) rm -f wx
-config
57339 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
57346 { (exit 0); exit 0; }
57348 chmod +x
$CONFIG_STATUS
57349 ac_clean_files
=$ac_clean_files_save
57352 # configure is writing to config.log, and then calls config.status.
57353 # config.status does its own redirection, appending to config.log.
57354 # Unfortunately, on DOS this fails, as config.log is still kept open
57355 # by configure, so config.status won't be able to write to it; its
57356 # output is simply discarded. So we exec the FD to /dev/null,
57357 # effectively closing config.log, so it can be properly (re)opened and
57358 # appended to by config.status. When coming back to configure, we
57359 # need to make the FD available again.
57360 if test "$no_create" != yes; then
57362 ac_config_status_args
=
57363 test "$silent" = yes &&
57364 ac_config_status_args
="$ac_config_status_args --quiet"
57366 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
57368 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57369 # would make configure fail if this is the last instruction.
57370 $ac_cs_success || { (exit 1); exit 1; }
57374 # CONFIG_SUBDIRS section.
57376 if test "$no_recursion" != yes; then
57378 # Remove --cache-file and --srcdir arguments so they do not pile up.
57379 ac_sub_configure_args
=
57381 eval "set x $ac_configure_args"
57385 if test -n "$ac_prev"; then
57390 -cache-file | --cache-file | --cache-fil | --cache-fi \
57391 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57392 ac_prev
=cache_file
;;
57393 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57394 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57397 --config-cache | -C)
57399 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57401 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57403 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57405 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57409 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57411 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
57415 # Always prepend --prefix to ensure using the same prefix
57416 # in subdir configurations.
57417 ac_arg
="--prefix=$prefix"
57419 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57421 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
57424 if test "$silent" = yes; then
57425 ac_sub_configure_args
="--silent $ac_sub_configure_args"
57429 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
57431 # Do not complain, so a configure script can configure whichever
57432 # parts of a large source tree are present.
57433 test -d "$srcdir/$ac_dir" || continue
57435 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57436 echo "$as_me:$LINENO: $ac_msg" >&5
57440 -*) as_dir
=.
/$as_dir;;
57442 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57446 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57447 *) as_qdir
=$as_dir;;
57449 as_dirs
="'$as_qdir' $as_dirs"
57450 as_dir
=`$as_dirname -- "$as_dir" ||
57451 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57452 X"$as_dir" : 'X\(//\)[^/]' \| \
57453 X"$as_dir" : 'X\(//\)$' \| \
57454 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57460 /^X\(\/\/\)[^/].*/{
57473 test -d "$as_dir" && break
57475 test -z "$as_dirs" || eval "mkdir $as_dirs"
57476 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57477 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57478 { (exit 1); exit 1; }; }; }
57482 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57484 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57485 # A ".." for each directory in $ac_dir_suffix.
57486 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57487 case $ac_top_builddir_sub in
57488 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57489 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
57492 ac_abs_top_builddir
=$ac_pwd
57493 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
57494 # for backward compatibility:
57495 ac_top_builddir
=$ac_top_build_prefix
57498 .
) # We are building in place.
57500 ac_top_srcdir
=$ac_top_builddir_sub
57501 ac_abs_top_srcdir
=$ac_pwd ;;
57502 [\\/]* | ?
:[\\/]* ) # Absolute name.
57503 ac_srcdir
=$srcdir$ac_dir_suffix;
57504 ac_top_srcdir
=$srcdir
57505 ac_abs_top_srcdir
=$srcdir ;;
57506 *) # Relative name.
57507 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
57508 ac_top_srcdir
=$ac_top_build_prefix$srcdir
57509 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
57511 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
57516 # Check for guested configure; otherwise get Cygnus style configure.
57517 if test -f "$ac_srcdir/configure.gnu"; then
57518 ac_sub_configure
=$ac_srcdir/configure.gnu
57519 elif test -f "$ac_srcdir/configure"; then
57520 ac_sub_configure
=$ac_srcdir/configure
57521 elif test -f "$ac_srcdir/configure.in"; then
57522 # This should be Cygnus configure.
57523 ac_sub_configure
=$ac_aux_dir/configure
57525 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57526 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57530 # The recursion is here.
57531 if test -n "$ac_sub_configure"; then
57532 # Make the cache file name correct relative to the subdirectory.
57533 case $cache_file in
57534 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
57535 *) # Relative name.
57536 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
57539 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57540 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57541 # The eval makes quoting arguments work.
57542 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57543 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57544 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57545 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57546 { (exit 1); exit 1; }; }
57555 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57557 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57558 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57559 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57560 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57561 if test "$wxUSE_UNICODE" = "yes"; then
57562 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57563 echo " (using UTF-8)"
57565 echo " (using wchar_t)"
57571 echo " What level of wxWidgets compatibility should be enabled?"
57572 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57573 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57575 echo " Which libraries should wxWidgets use?"
57576 echo " STL ${wxUSE_STL}"
57577 echo " jpeg ${wxUSE_LIBJPEG-none}"
57578 echo " png ${wxUSE_LIBPNG-none}"
57579 echo " regex ${wxUSE_REGEX}"
57580 echo " tiff ${wxUSE_LIBTIFF-none}"
57581 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57582 echo " xpm ${wxUSE_LIBXPM-none}"
57584 echo " zlib ${wxUSE_ZLIB}"
57585 echo " expat ${wxUSE_EXPAT}"
57586 echo " libmspack ${wxUSE_LIBMSPACK}"
57587 echo " sdl ${wxUSE_LIBSDL}"