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
3041 DEFAULT_wxUSE_UNICODE_UTF8
=no
3042 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
3044 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
3045 DEFAULT_wxUSE_OPENGL
=auto
3046 DEFAULT_wxUSE_MEDIACTRL
=auto
3047 DEFAULT_wxUSE_COMPILER_TLS
=auto
3048 DEFAULT_wxUSE_HOTKEY
=auto
3049 DEFAULT_wxUSE_METAFILE
=auto
3051 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
3052 DEFAULT_wxUSE_MAC_ARCH
=no
3054 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3056 DEFAULT_wxUSE_GTK2
=yes
3058 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3064 enablestring
=disable
3066 if test -z "$defaultval"; then
3067 if test x
"$enablestring" = xdisable
; then
3074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3075 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3076 # Check whether --enable-gui was given.
3077 if test "${enable_gui+set}" = set; then
3078 enableval
=$enable_gui;
3079 if test "$enableval" = yes; then
3080 wx_cv_use_gui
='wxUSE_GUI=yes'
3082 wx_cv_use_gui
='wxUSE_GUI=no'
3087 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3092 eval "$wx_cv_use_gui"
3094 if test x"$enablestring" = xdisable; then
3095 if test $wxUSE_GUI = no; then
3104 { echo "$as_me:$LINENO: result: $result" >&5
3105 echo "${ECHO_T}$result" >&6; }
3110 if test -z "$defaultval"; then
3111 if test x"$enablestring" = xdisable; then
3118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3119 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3120 # Check whether --enable-monolithic was given.
3121 if test "${enable_monolithic+set}" = set; then
3122 enableval=$enable_monolithic;
3123 if test "$enableval" = yes; then
3124 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3126 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3131 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3136 eval "$wx_cv_use_monolithic"
3138 if test x"$enablestring" = xdisable; then
3139 if test $wxUSE_MONOLITHIC = no; then
3145 result=$wxUSE_MONOLITHIC
3148 { echo "$as_me:$LINENO: result
: $result" >&5
3149 echo "${ECHO_T}$result" >&6; }
3154 if test -z "$defaultval"; then
3155 if test x"$enablestring" = xdisable; then
3162 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3163 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3164 # Check whether --enable-plugins was given.
3165 if test "${enable_plugins+set}" = set; then
3166 enableval=$enable_plugins;
3167 if test "$enableval" = yes; then
3168 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3170 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3175 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3180 eval "$wx_cv_use_plugins"
3182 if test x
"$enablestring" = xdisable
; then
3183 if test $wxUSE_PLUGINS = no
; then
3189 result
=$wxUSE_PLUGINS
3192 { echo "$as_me:$LINENO: result: $result" >&5
3193 echo "${ECHO_T}$result" >&6; }
3197 defaultval
=$wxUSE_ALL_FEATURES
3198 if test -z "$defaultval"; then
3199 if test x
"$withstring" = xwithout
; then
3205 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3206 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3208 # Check whether --with-subdirs was given.
3209 if test "${with_subdirs+set}" = set; then
3210 withval
=$with_subdirs;
3211 if test "$withval" = yes; then
3212 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3214 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3219 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3224 eval "$wx_cv_use_subdirs"
3226 if test x"$withstring" = xwithout; then
3227 if test $wxWITH_SUBDIRS = yes; then
3233 result=$wxWITH_SUBDIRS
3236 { echo "$as_me:$LINENO: result: $result" >&5
3237 echo "${ECHO_T}$result" >&6; }
3240 # Check whether --with-flavour was given.
3241 if test "${with_flavour+set}" = set; then
3242 withval=$with_flavour; WX_FLAVOUR="$withval"
3248 if test -z "$defaultval"; then
3249 if test x"$enablestring" = xdisable; then
3256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3257 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3258 # Check whether --enable-official_build was given.
3259 if test "${enable_official_build+set}" = set; then
3260 enableval=$enable_official_build;
3261 if test "$enableval" = yes; then
3262 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3264 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3269 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3274 eval "$wx_cv_use_official_build"
3276 if test x"$enablestring" = xdisable; then
3277 if test $wxUSE_OFFICIAL_BUILD = no; then
3283 result=$wxUSE_OFFICIAL_BUILD
3286 { echo "$as_me:$LINENO: result
: $result" >&5
3287 echo "${ECHO_T}$result" >&6; }
3289 # Check whether --enable-vendor was given.
3290 if test "${enable_vendor+set}" = set; then
3291 enableval=$enable_vendor; VENDOR="$enableval"
3294 if test "x
$VENDOR" = "x
"; then
3299 enablestring=disable
3301 if test -z "$defaultval"; then
3302 if test x"$enablestring" = xdisable; then
3309 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3310 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3311 # Check whether --enable-all-features was given.
3312 if test "${enable_all_features+set}" = set; then
3313 enableval=$enable_all_features;
3314 if test "$enableval" = yes; then
3315 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3317 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3322 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3327 eval "$wx_cv_use_all_features"
3329 if test x
"$enablestring" = xdisable
; then
3330 if test $wxUSE_ALL_FEATURES = no
; then
3336 result
=$wxUSE_ALL_FEATURES
3339 { echo "$as_me:$LINENO: result: $result" >&5
3340 echo "${ECHO_T}$result" >&6; }
3343 if test "$wxUSE_ALL_FEATURES" = "no"; then
3344 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3345 DEFAULT_wxUSE_MEDIACTRL
=no
3349 if test "$wxUSE_GUI" = "yes"; then
3354 if test -z "$defaultval"; then
3355 if test x
"$enablestring" = xdisable
; then
3362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3363 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3364 # Check whether --enable-universal was given.
3365 if test "${enable_universal+set}" = set; then
3366 enableval
=$enable_universal;
3367 if test "$enableval" = yes; then
3368 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3370 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3375 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3380 eval "$wx_cv_use_universal"
3382 if test x"$enablestring" = xdisable; then
3383 if test $wxUSE_UNIVERSAL = no; then
3389 result=$wxUSE_UNIVERSAL
3392 { echo "$as_me:$LINENO: result: $result" >&5
3393 echo "${ECHO_T}$result" >&6; }
3395 if test "$wxUSE_UNIVERSAL" = "yes"; then
3397 # Check whether --with-themes was given.
3398 if test "${with_themes+set}" = set; then
3399 withval=$with_themes; wxUNIV_THEMES="$withval"
3405 # Check whether --with-gtk was given.
3406 if test "${with_gtk+set}" = set; then
3407 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3411 # Check whether --with-motif was given.
3412 if test "${with_motif+set}" = set; then
3413 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3417 # Check whether --with-osx_carbon was given.
3418 if test "${with_osx_carbon+set}" = set; then
3419 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3423 # Check whether --with-osx_cocoa was given.
3424 if test "${with_osx_cocoa+set}" = set; then
3425 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3429 # Check whether --with-osx_iphone was given.
3430 if test "${with_osx_iphone+set}" = set; then
3431 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3435 # Check whether --with-osx was given.
3436 if test "${with_osx+set}" = set; then
3437 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3441 # Check whether --with-carbon was given.
3442 if test "${with_carbon+set}" = set; then
3443 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3447 # Check whether --with-cocoa was given.
3448 if test "${with_cocoa+set}" = set; then
3449 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3453 # Check whether --with-iphone was given.
3454 if test "${with_iphone+set}" = set; then
3455 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3459 # Check whether --with-mac was given.
3460 if test "${with_mac+set}" = set; then
3461 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3465 # Check whether --with-old_cocoa was given.
3466 if test "${with_old_cocoa+set}" = set; then
3467 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3471 # Check whether --with-wine was given.
3472 if test "${with_wine+set}" = set; then
3473 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3477 # Check whether --with-msw was given.
3478 if test "${with_msw+set}" = set; then
3479 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3483 # Check whether --with-pm was given.
3484 if test "${with_pm+set}" = set; then
3485 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3489 # Check whether --with-directfb was given.
3490 if test "${with_directfb+set}" = set; then
3491 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3495 # Check whether --with-microwin was given.
3496 if test "${with_microwin+set}" = set; then
3497 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3501 # Check whether --with-x11 was given.
3502 if test "${with_x11+set}" = set; then
3503 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3509 if test -z "$defaultval"; then
3510 if test x"$enablestring" = xdisable; then
3517 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3518 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3519 # Check whether --enable-nanox was given.
3520 if test "${enable_nanox+set}" = set; then
3521 enableval=$enable_nanox;
3522 if test "$enableval" = yes; then
3523 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3525 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3530 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3535 eval "$wx_cv_use_nanox"
3537 if test x"$enablestring" = xdisable; then
3538 if test $wxUSE_NANOX = no; then
3547 { echo "$as_me:$LINENO: result
: $result" >&5
3548 echo "${ECHO_T}$result" >&6; }
3551 # Check whether --enable-gtk2 was given.
3552 if test "${enable_gtk2+set}" = set; then
3553 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3559 if test -z "$defaultval"; then
3560 if test x"$enablestring" = xdisable; then
3567 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3568 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3569 # Check whether --enable-gpe was given.
3570 if test "${enable_gpe+set}" = set; then
3571 enableval=$enable_gpe;
3572 if test "$enableval" = yes; then
3573 wx_cv_use_gpe='wxUSE_GPE=yes'
3575 wx_cv_use_gpe='wxUSE_GPE=no'
3580 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3585 eval "$wx_cv_use_gpe"
3587 if test x
"$enablestring" = xdisable
; then
3588 if test $wxUSE_GPE = no
; then
3597 { echo "$as_me:$LINENO: result: $result" >&5
3598 echo "${ECHO_T}$result" >&6; }
3602 { echo "$as_me:$LINENO: checking for toolkit" >&5
3603 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3607 # In Wine, we need to default to MSW, not GTK or MOTIF
3608 if test "$wxUSE_WINE" = "yes"; then
3609 DEFAULT_DEFAULT_wxUSE_GTK
=0
3610 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3611 DEFAULT_DEFAULT_wxUSE_MSW
=1
3618 if test "$wxUSE_GUI" = "yes"; then
3620 if test "$USE_BEOS" = 1; then
3621 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3622 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3623 { (exit 1); exit 1; }; }
3626 if test "$TOOLKIT_GIVEN" = 1; then
3627 for toolkit
in $ALL_TOOLKITS; do
3629 eval "value=\$${var}"
3630 if test "x$value" = "xno"; then
3632 elif test "x$value" != "x"; then
3636 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3637 eval "wx${toolkit}_VERSION=$value"
3641 for toolkit
in $ALL_TOOLKITS; do
3642 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3643 eval "wxUSE_$toolkit=\$${var}"
3647 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3648 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
3649 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3652 *-pc-os2_emx | *-pc-os2-emx )
3653 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3656 case "$NUM_TOOLKITS" in
3660 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3661 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3662 { (exit 1); exit 1; }; }
3665 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3666 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3667 { (exit 1); exit 1; }; }
3670 # to be removed when --disable-gtk2 isn't needed
3671 if test "x$wxUSE_GTK2" = "xyes"; then
3674 elif test "x$wxUSE_GTK2" = "xno"; then
3679 for toolkit
in $ALL_TOOLKITS; do
3681 eval "value=\$${var}"
3682 if test "$value" = 1; then
3683 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3684 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3685 echo "${ECHO_T}$toolkit_echo" >&6; }
3689 if test "x$host_alias" != "x"; then
3690 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3691 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3693 { echo "$as_me:$LINENO: result: base only" >&5
3694 echo "${ECHO_T}base only" >&6; }
3699 if test "$wxUSE_OSX_CARBON" = 1 \
3700 -o "$wxUSE_OSX_COCOA" = 1 \
3701 -o "$wxUSE_OSX_IPHONE" = 1; then
3707 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3708 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3710 # Check whether --with-libpng was given.
3711 if test "${with_libpng+set}" = set; then
3712 withval
=$with_libpng;
3713 if test "$withval" = yes; then
3714 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3715 elif test "$withval" = no
; then
3716 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3717 elif test "$withval" = sys
; then
3718 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3719 elif test "$withval" = builtin; then
3720 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3722 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3723 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3724 { (exit 1); exit 1; }; }
3729 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3734 eval "$wx_cv_use_libpng"
3736 if test "$wxUSE_LIBPNG" = yes; then
3737 { echo "$as_me:$LINENO: result: yes" >&5
3738 echo "${ECHO_T}yes" >&6; }
3739 elif test "$wxUSE_LIBPNG" = no; then
3740 { echo "$as_me:$LINENO: result: no" >&5
3741 echo "${ECHO_T}no" >&6; }
3742 elif test "$wxUSE_LIBPNG" = sys; then
3743 { echo "$as_me:$LINENO: result: system version" >&5
3744 echo "${ECHO_T}system version" >&6; }
3745 elif test "$wxUSE_LIBPNG" = builtin; then
3746 { echo "$as_me:$LINENO: result: builtin version" >&5
3747 echo "${ECHO_T}builtin version" >&6; }
3749 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3750 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3751 { (exit 1); exit 1; }; }
3755 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3756 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3758 # Check whether --with-libjpeg was given.
3759 if test "${with_libjpeg+set}" = set; then
3760 withval=$with_libjpeg;
3761 if test "$withval" = yes; then
3762 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3763 elif test "$withval" = no; then
3764 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3765 elif test "$withval" = sys; then
3766 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3767 elif test "$withval" = builtin; then
3768 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3770 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3771 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3772 { (exit 1); exit 1; }; }
3777 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3782 eval "$wx_cv_use_libjpeg"
3784 if test "$wxUSE_LIBJPEG" = yes; then
3785 { echo "$as_me:$LINENO: result
: yes" >&5
3786 echo "${ECHO_T}yes" >&6; }
3787 elif test "$wxUSE_LIBJPEG" = no; then
3788 { echo "$as_me:$LINENO: result
: no
" >&5
3789 echo "${ECHO_T}no
" >&6; }
3790 elif test "$wxUSE_LIBJPEG" = sys; then
3791 { echo "$as_me:$LINENO: result
: system version
" >&5
3792 echo "${ECHO_T}system version
" >&6; }
3793 elif test "$wxUSE_LIBJPEG" = builtin; then
3794 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3795 echo "${ECHO_T}builtin version
" >&6; }
3797 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3798 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3799 { (exit 1); exit 1; }; }
3803 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3804 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3806 # Check whether --with-libtiff was given.
3807 if test "${with_libtiff+set}" = set; then
3808 withval=$with_libtiff;
3809 if test "$withval" = yes; then
3810 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3811 elif test "$withval" = no; then
3812 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3813 elif test "$withval" = sys; then
3814 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3815 elif test "$withval" = builtin; then
3816 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3818 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3819 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3820 { (exit 1); exit 1; }; }
3825 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3830 eval "$wx_cv_use_libtiff"
3832 if test "$wxUSE_LIBTIFF" = yes; then
3833 { echo "$as_me:$LINENO: result: yes" >&5
3834 echo "${ECHO_T}yes" >&6; }
3835 elif test "$wxUSE_LIBTIFF" = no
; then
3836 { echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6; }
3838 elif test "$wxUSE_LIBTIFF" = sys
; then
3839 { echo "$as_me:$LINENO: result: system version" >&5
3840 echo "${ECHO_T}system version" >&6; }
3841 elif test "$wxUSE_LIBTIFF" = builtin; then
3842 { echo "$as_me:$LINENO: result: builtin version" >&5
3843 echo "${ECHO_T}builtin version" >&6; }
3845 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3846 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3847 { (exit 1); exit 1; }; }
3851 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3852 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3854 # Check whether --with-libxpm was given.
3855 if test "${with_libxpm+set}" = set; then
3856 withval
=$with_libxpm;
3857 if test "$withval" = yes; then
3858 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3859 elif test "$withval" = no
; then
3860 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3861 elif test "$withval" = sys
; then
3862 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3863 elif test "$withval" = builtin; then
3864 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3866 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3867 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3868 { (exit 1); exit 1; }; }
3873 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3878 eval "$wx_cv_use_libxpm"
3880 if test "$wxUSE_LIBXPM" = yes; then
3881 { echo "$as_me:$LINENO: result: yes" >&5
3882 echo "${ECHO_T}yes" >&6; }
3883 elif test "$wxUSE_LIBXPM" = no; then
3884 { echo "$as_me:$LINENO: result: no" >&5
3885 echo "${ECHO_T}no" >&6; }
3886 elif test "$wxUSE_LIBXPM" = sys; then
3887 { echo "$as_me:$LINENO: result: system version" >&5
3888 echo "${ECHO_T}system version" >&6; }
3889 elif test "$wxUSE_LIBXPM" = builtin; then
3890 { echo "$as_me:$LINENO: result: builtin version" >&5
3891 echo "${ECHO_T}builtin version" >&6; }
3893 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3894 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3895 { (exit 1); exit 1; }; }
3900 defaultval=$wxUSE_ALL_FEATURES
3901 if test -z "$defaultval"; then
3902 if test x"$withstring" = xwithout; then
3908 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3909 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3911 # Check whether --with-libiconv was given.
3912 if test "${with_libiconv+set}" = set; then
3913 withval=$with_libiconv;
3914 if test "$withval" = yes; then
3915 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3917 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3922 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3927 eval "$wx_cv_use_libiconv"
3929 if test x"$withstring" = xwithout; then
3930 if test $wxUSE_LIBICONV = yes; then
3936 result=$wxUSE_LIBICONV
3939 { echo "$as_me:$LINENO: result
: $result" >&5
3940 echo "${ECHO_T}$result" >&6; }
3944 defaultval=$wxUSE_ALL_FEATURES
3945 if test -z "$defaultval"; then
3946 if test x"$withstring" = xwithout; then
3952 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3953 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3955 # Check whether --with-libmspack was given.
3956 if test "${with_libmspack+set}" = set; then
3957 withval=$with_libmspack;
3958 if test "$withval" = yes; then
3959 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3961 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3966 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3971 eval "$wx_cv_use_libmspack"
3973 if test x
"$withstring" = xwithout
; then
3974 if test $wxUSE_LIBMSPACK = yes; then
3980 result
=$wxUSE_LIBMSPACK
3983 { echo "$as_me:$LINENO: result: $result" >&5
3984 echo "${ECHO_T}$result" >&6; }
3988 defaultval
=$wxUSE_ALL_FEATURES
3989 if test -z "$defaultval"; then
3990 if test x
"$withstring" = xwithout
; then
3996 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3997 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3999 # Check whether --with-gtkprint was given.
4000 if test "${with_gtkprint+set}" = set; then
4001 withval
=$with_gtkprint;
4002 if test "$withval" = yes; then
4003 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
4005 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
4010 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
4015 eval "$wx_cv_use_gtkprint"
4017 if test x"$withstring" = xwithout; then
4018 if test $wxUSE_GTKPRINT = yes; then
4024 result=$wxUSE_GTKPRINT
4027 { echo "$as_me:$LINENO: result: $result" >&5
4028 echo "${ECHO_T}$result" >&6; }
4032 defaultval=$wxUSE_ALL_FEATURES
4033 if test -z "$defaultval"; then
4034 if test x"$withstring" = xwithout; then
4040 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4041 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4043 # Check whether --with-gnomeprint was given.
4044 if test "${with_gnomeprint+set}" = set; then
4045 withval=$with_gnomeprint;
4046 if test "$withval" = yes; then
4047 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4049 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4054 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4059 eval "$wx_cv_use_gnomeprint"
4061 if test x"$withstring" = xwithout; then
4062 if test $wxUSE_LIBGNOMEPRINT = yes; then
4068 result=$wxUSE_LIBGNOMEPRINT
4071 { echo "$as_me:$LINENO: result
: $result" >&5
4072 echo "${ECHO_T}$result" >&6; }
4076 defaultval=$wxUSE_ALL_FEATURES
4077 if test -z "$defaultval"; then
4078 if test x"$withstring" = xwithout; then
4084 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4085 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4087 # Check whether --with-gnomevfs was given.
4088 if test "${with_gnomevfs+set}" = set; then
4089 withval=$with_gnomevfs;
4090 if test "$withval" = yes; then
4091 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4093 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4098 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4103 eval "$wx_cv_use_gnomevfs"
4105 if test x
"$withstring" = xwithout
; then
4106 if test $wxUSE_LIBGNOMEVFS = yes; then
4112 result
=$wxUSE_LIBGNOMEVFS
4115 { echo "$as_me:$LINENO: result: $result" >&5
4116 echo "${ECHO_T}$result" >&6; }
4120 defaultval
=$wxUSE_ALL_FEATURES
4121 if test -z "$defaultval"; then
4122 if test x
"$withstring" = xwithout
; then
4128 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4129 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4131 # Check whether --with-hildon was given.
4132 if test "${with_hildon+set}" = set; then
4133 withval
=$with_hildon;
4134 if test "$withval" = yes; then
4135 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4137 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4142 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4147 eval "$wx_cv_use_hildon"
4149 if test x"$withstring" = xwithout; then
4150 if test $wxUSE_LIBHILDON = yes; then
4156 result=$wxUSE_LIBHILDON
4159 { echo "$as_me:$LINENO: result: $result" >&5
4160 echo "${ECHO_T}$result" >&6; }
4164 defaultval=$wxUSE_ALL_FEATURES
4165 if test -z "$defaultval"; then
4166 if test x"$withstring" = xwithout; then
4172 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4173 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4175 # Check whether --with-opengl was given.
4176 if test "${with_opengl+set}" = set; then
4177 withval=$with_opengl;
4178 if test "$withval" = yes; then
4179 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4181 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4186 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4191 eval "$wx_cv_use_opengl"
4193 if test x"$withstring" = xwithout; then
4194 if test $wxUSE_OPENGL = yes; then
4200 result=$wxUSE_OPENGL
4203 { echo "$as_me:$LINENO: result
: $result" >&5
4204 echo "${ECHO_T}$result" >&6; }
4211 defaultval=$wxUSE_ALL_FEATURES
4212 if test -z "$defaultval"; then
4213 if test x"$withstring" = xwithout; then
4219 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4220 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4222 # Check whether --with-dmalloc was given.
4223 if test "${with_dmalloc+set}" = set; then
4224 withval=$with_dmalloc;
4225 if test "$withval" = yes; then
4226 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4228 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4233 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4238 eval "$wx_cv_use_dmalloc"
4240 if test x
"$withstring" = xwithout
; then
4241 if test $wxUSE_DMALLOC = yes; then
4247 result
=$wxUSE_DMALLOC
4250 { echo "$as_me:$LINENO: result: $result" >&5
4251 echo "${ECHO_T}$result" >&6; }
4255 defaultval
=$wxUSE_ALL_FEATURES
4256 if test -z "$defaultval"; then
4257 if test x
"$withstring" = xwithout
; then
4263 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4264 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4266 # Check whether --with-sdl was given.
4267 if test "${with_sdl+set}" = set; then
4269 if test "$withval" = yes; then
4270 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4272 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4277 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4282 eval "$wx_cv_use_sdl"
4284 if test x"$withstring" = xwithout; then
4285 if test $wxUSE_LIBSDL = yes; then
4291 result=$wxUSE_LIBSDL
4294 { echo "$as_me:$LINENO: result: $result" >&5
4295 echo "${ECHO_T}$result" >&6; }
4298 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4299 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4301 # Check whether --with-regex was given.
4302 if test "${with_regex+set}" = set; then
4303 withval=$with_regex;
4304 if test "$withval" = yes; then
4305 wx_cv_use_regex='wxUSE_REGEX
=yes'
4306 elif test "$withval" = no; then
4307 wx_cv_use_regex='wxUSE_REGEX
=no
'
4308 elif test "$withval" = sys; then
4309 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4310 elif test "$withval" = builtin; then
4311 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4313 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4314 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4315 { (exit 1); exit 1; }; }
4320 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4325 eval "$wx_cv_use_regex"
4327 if test "$wxUSE_REGEX" = yes; then
4328 { echo "$as_me:$LINENO: result
: yes" >&5
4329 echo "${ECHO_T}yes" >&6; }
4330 elif test "$wxUSE_REGEX" = no; then
4331 { echo "$as_me:$LINENO: result
: no
" >&5
4332 echo "${ECHO_T}no
" >&6; }
4333 elif test "$wxUSE_REGEX" = sys; then
4334 { echo "$as_me:$LINENO: result
: system version
" >&5
4335 echo "${ECHO_T}system version
" >&6; }
4336 elif test "$wxUSE_REGEX" = builtin; then
4337 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4338 echo "${ECHO_T}builtin version
" >&6; }
4340 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4341 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4342 { (exit 1); exit 1; }; }
4346 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4347 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4349 # Check whether --with-zlib was given.
4350 if test "${with_zlib+set}" = set; then
4352 if test "$withval" = yes; then
4353 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4354 elif test "$withval" = no; then
4355 wx_cv_use_zlib='wxUSE_ZLIB=no'
4356 elif test "$withval" = sys; then
4357 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4358 elif test "$withval" = builtin; then
4359 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4361 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4362 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4363 { (exit 1); exit 1; }; }
4368 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4373 eval "$wx_cv_use_zlib"
4375 if test "$wxUSE_ZLIB" = yes; then
4376 { echo "$as_me:$LINENO: result: yes" >&5
4377 echo "${ECHO_T}yes" >&6; }
4378 elif test "$wxUSE_ZLIB" = no
; then
4379 { echo "$as_me:$LINENO: result: no" >&5
4380 echo "${ECHO_T}no" >&6; }
4381 elif test "$wxUSE_ZLIB" = sys
; then
4382 { echo "$as_me:$LINENO: result: system version" >&5
4383 echo "${ECHO_T}system version" >&6; }
4384 elif test "$wxUSE_ZLIB" = builtin; then
4385 { echo "$as_me:$LINENO: result: builtin version" >&5
4386 echo "${ECHO_T}builtin version" >&6; }
4388 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4389 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4390 { (exit 1); exit 1; }; }
4394 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4395 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4397 # Check whether --with-expat was given.
4398 if test "${with_expat+set}" = set; then
4399 withval
=$with_expat;
4400 if test "$withval" = yes; then
4401 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4402 elif test "$withval" = no
; then
4403 wx_cv_use_expat
='wxUSE_EXPAT=no'
4404 elif test "$withval" = sys
; then
4405 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4406 elif test "$withval" = builtin; then
4407 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4409 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4410 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4411 { (exit 1); exit 1; }; }
4416 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4421 eval "$wx_cv_use_expat"
4423 if test "$wxUSE_EXPAT" = yes; then
4424 { echo "$as_me:$LINENO: result: yes" >&5
4425 echo "${ECHO_T}yes" >&6; }
4426 elif test "$wxUSE_EXPAT" = no; then
4427 { echo "$as_me:$LINENO: result: no" >&5
4428 echo "${ECHO_T}no" >&6; }
4429 elif test "$wxUSE_EXPAT" = sys; then
4430 { echo "$as_me:$LINENO: result: system version" >&5
4431 echo "${ECHO_T}system version" >&6; }
4432 elif test "$wxUSE_EXPAT" = builtin; then
4433 { echo "$as_me:$LINENO: result: builtin version" >&5
4434 echo "${ECHO_T}builtin version" >&6; }
4436 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4437 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4438 { (exit 1); exit 1; }; }
4442 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4443 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4445 # Check whether --with-macosx-sdk was given.
4446 if test "${with_macosx_sdk+set}" = set; then
4447 withval=$with_macosx_sdk;
4448 wxUSE_MACOSX_SDK=$withval
4449 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4453 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4454 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4456 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4457 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4459 # Check whether --with-macosx-version-min was given.
4460 if test "${with_macosx_version_min+set}" = set; then
4461 withval=$with_macosx_version_min;
4462 wxUSE_MACOSX_VERSION_MIN=$withval
4463 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4467 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4468 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4471 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4472 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4473 # Check whether --enable-debug was given.
4474 if test "${enable_debug+set}" = set; then
4475 enableval=$enable_debug;
4476 if test "$enableval" = yes; then
4478 elif test "$enableval" = no; then
4480 elif test "$enableval" = max; then
4482 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4484 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4485 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4486 { (exit 1); exit 1; }; }
4494 { echo "$as_me:$LINENO: result: ${enable_debug-default}" >&5
4495 echo "${ECHO_T}${enable_debug-default}" >&6; }
4497 case "$wxUSE_DEBUG" in
4499 DEFAULT_wxUSE_DEBUG_FLAG=yes
4500 DEFAULT_wxUSE_DEBUG_INFO=yes
4502 DEFAULT_wxUSE_OPTIMISE=no
4506 DEFAULT_wxUSE_DEBUG_FLAG=no
4507 DEFAULT_wxUSE_DEBUG_INFO=no
4511 DEFAULT_wxUSE_DEBUG_FLAG=yes
4512 DEFAULT_wxUSE_DEBUG_INFO=no
4517 enablestring=disable
4519 if test -z "$defaultval"; then
4520 if test x"$enablestring" = xdisable; then
4527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4528 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4529 # Check whether --enable-debug_flag was given.
4530 if test "${enable_debug_flag+set}" = set; then
4531 enableval=$enable_debug_flag;
4532 if test "$enableval" = yes; then
4533 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4535 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4540 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4545 eval "$wx_cv_use_debug_flag"
4547 if test x"$enablestring" = xdisable; then
4548 if test $wxUSE_DEBUG_FLAG = no; then
4554 result=$wxUSE_DEBUG_FLAG
4557 { echo "$as_me:$LINENO: result
: $result" >&5
4558 echo "${ECHO_T}$result" >&6; }
4563 if test -z "$defaultval"; then
4564 if test x"$enablestring" = xdisable; then
4571 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4572 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4573 # Check whether --enable-debug_info was given.
4574 if test "${enable_debug_info+set}" = set; then
4575 enableval=$enable_debug_info;
4576 if test "$enableval" = yes; then
4577 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4579 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4584 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4589 eval "$wx_cv_use_debug_info"
4591 if test x
"$enablestring" = xdisable
; then
4592 if test $wxUSE_DEBUG_INFO = no
; then
4598 result
=$wxUSE_DEBUG_INFO
4601 { echo "$as_me:$LINENO: result: $result" >&5
4602 echo "${ECHO_T}$result" >&6; }
4609 if test -z "$defaultval"; then
4610 if test x
"$enablestring" = xdisable
; then
4617 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4618 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4619 # Check whether --enable-debug_gdb was given.
4620 if test "${enable_debug_gdb+set}" = set; then
4621 enableval
=$enable_debug_gdb;
4622 if test "$enableval" = yes; then
4623 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4625 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4630 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4635 eval "$wx_cv_use_debug_gdb"
4637 if test x"$enablestring" = xdisable; then
4638 if test $wxUSE_DEBUG_GDB = no; then
4644 result=$wxUSE_DEBUG_GDB
4647 { echo "$as_me:$LINENO: result: $result" >&5
4648 echo "${ECHO_T}$result" >&6; }
4653 if test -z "$defaultval"; then
4654 if test x"$enablestring" = xdisable; then
4661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4662 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4663 # Check whether --enable-debug_cntxt was given.
4664 if test "${enable_debug_cntxt+set}" = set; then
4665 enableval=$enable_debug_cntxt;
4666 if test "$enableval" = yes; then
4667 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4669 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4674 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4679 eval "$wx_cv_use_debug_cntxt"
4681 if test x"$enablestring" = xdisable; then
4682 if test $wxUSE_DEBUG_CONTEXT = no; then
4688 result=$wxUSE_DEBUG_CONTEXT
4691 { echo "$as_me:$LINENO: result
: $result" >&5
4692 echo "${ECHO_T}$result" >&6; }
4697 if test -z "$defaultval"; then
4698 if test x"$enablestring" = xdisable; then
4705 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4706 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4707 # Check whether --enable-mem_tracing was given.
4708 if test "${enable_mem_tracing+set}" = set; then
4709 enableval=$enable_mem_tracing;
4710 if test "$enableval" = yes; then
4711 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4713 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4718 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4723 eval "$wx_cv_use_mem_tracing"
4725 if test x
"$enablestring" = xdisable
; then
4726 if test $wxUSE_MEM_TRACING = no
; then
4732 result
=$wxUSE_MEM_TRACING
4735 { echo "$as_me:$LINENO: result: $result" >&5
4736 echo "${ECHO_T}$result" >&6; }
4741 enablestring
=disable
4743 if test -z "$defaultval"; then
4744 if test x
"$enablestring" = xdisable
; then
4751 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4752 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4753 # Check whether --enable-shared was given.
4754 if test "${enable_shared+set}" = set; then
4755 enableval
=$enable_shared;
4756 if test "$enableval" = yes; then
4757 wx_cv_use_shared
='wxUSE_SHARED=yes'
4759 wx_cv_use_shared
='wxUSE_SHARED=no'
4764 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4769 eval "$wx_cv_use_shared"
4771 if test x"$enablestring" = xdisable; then
4772 if test $wxUSE_SHARED = no; then
4778 result=$wxUSE_SHARED
4781 { echo "$as_me:$LINENO: result: $result" >&5
4782 echo "${ECHO_T}$result" >&6; }
4787 if test -z "$defaultval"; then
4788 if test x"$enablestring" = xdisable; then
4795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4796 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4797 # Check whether --enable-stl was given.
4798 if test "${enable_stl+set}" = set; then
4799 enableval=$enable_stl;
4800 if test "$enableval" = yes; then
4801 wx_cv_use_stl='wxUSE_STL
=yes'
4803 wx_cv_use_stl='wxUSE_STL
=no
'
4808 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4813 eval "$wx_cv_use_stl"
4815 if test x"$enablestring" = xdisable; then
4816 if test $wxUSE_STL = no; then
4825 { echo "$as_me:$LINENO: result
: $result" >&5
4826 echo "${ECHO_T}$result" >&6; }
4828 if test "$wxUSE_STL" = "yes"; then
4829 DEFAULT_wxUSE_STD_CONTAINERS=yes
4830 DEFAULT_wxUSE_STD_IOSTREAM=yes
4831 DEFAULT_wxUSE_STD_STRING=yes
4836 if test -z "$defaultval"; then
4837 if test x"$enablestring" = xdisable; then
4844 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_containers" >&5
4845 echo $ECHO_N "checking
for --${enablestring:-enable}-std_containers...
$ECHO_C" >&6; }
4846 # Check whether --enable-std_containers was given.
4847 if test "${enable_std_containers+set}" = set; then
4848 enableval=$enable_std_containers;
4849 if test "$enableval" = yes; then
4850 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4852 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4857 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4862 eval "$wx_cv_use_std_containers"
4864 if test x
"$enablestring" = xdisable
; then
4865 if test $wxUSE_STD_CONTAINERS = no
; then
4871 result
=$wxUSE_STD_CONTAINERS
4874 { echo "$as_me:$LINENO: result: $result" >&5
4875 echo "${ECHO_T}$result" >&6; }
4880 if test -z "$defaultval"; then
4881 if test x
"$enablestring" = xdisable
; then
4888 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4889 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4890 # Check whether --enable-std_iostreams was given.
4891 if test "${enable_std_iostreams+set}" = set; then
4892 enableval
=$enable_std_iostreams;
4893 if test "$enableval" = yes; then
4894 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4896 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4901 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4906 eval "$wx_cv_use_std_iostreams"
4908 if test x"$enablestring" = xdisable; then
4909 if test $wxUSE_STD_IOSTREAM = no; then
4915 result=$wxUSE_STD_IOSTREAM
4918 { echo "$as_me:$LINENO: result: $result" >&5
4919 echo "${ECHO_T}$result" >&6; }
4924 if test -z "$defaultval"; then
4925 if test x"$enablestring" = xdisable; then
4932 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4933 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4934 # Check whether --enable-std_string was given.
4935 if test "${enable_std_string+set}" = set; then
4936 enableval=$enable_std_string;
4937 if test "$enableval" = yes; then
4938 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
4940 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
4945 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4950 eval "$wx_cv_use_std_string"
4952 if test x"$enablestring" = xdisable; then
4953 if test $wxUSE_STD_STRING = no; then
4959 result=$wxUSE_STD_STRING
4962 { echo "$as_me:$LINENO: result
: $result" >&5
4963 echo "${ECHO_T}$result" >&6; }
4968 if test -z "$defaultval"; then
4969 if test x"$enablestring" = xdisable; then
4976 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4977 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
$ECHO_C" >&6; }
4978 # Check whether --enable-std_string_conv_in_wxstring was given.
4979 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4980 enableval=$enable_std_string_conv_in_wxstring;
4981 if test "$enableval" = yes; then
4982 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4984 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4989 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4994 eval "$wx_cv_use_std_string_conv_in_wxstring"
4996 if test x
"$enablestring" = xdisable
; then
4997 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
5003 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
5006 { echo "$as_me:$LINENO: result: $result" >&5
5007 echo "${ECHO_T}$result" >&6; }
5010 enablestring
=disable
5012 if test -z "$defaultval"; then
5013 if test x
"$enablestring" = xdisable
; then
5020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
5021 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
5022 # Check whether --enable-unicode was given.
5023 if test "${enable_unicode+set}" = set; then
5024 enableval
=$enable_unicode;
5025 if test "$enableval" = yes; then
5026 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
5028 wx_cv_use_unicode
='wxUSE_UNICODE=no'
5033 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5038 eval "$wx_cv_use_unicode"
5040 if test x"$enablestring" = xdisable; then
5041 if test $wxUSE_UNICODE = no; then
5047 result=$wxUSE_UNICODE
5050 { echo "$as_me:$LINENO: result: $result" >&5
5051 echo "${ECHO_T}$result" >&6; }
5056 if test -z "$defaultval"; then
5057 if test x"$enablestring" = xdisable; then
5064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5065 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5066 # Check whether --enable-mslu was given.
5067 if test "${enable_mslu+set}" = set; then
5068 enableval=$enable_mslu;
5069 if test "$enableval" = yes; then
5070 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5072 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5077 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5082 eval "$wx_cv_use_mslu"
5084 if test x"$enablestring" = xdisable; then
5085 if test $wxUSE_UNICODE_MSLU = no; then
5091 result=$wxUSE_UNICODE_MSLU
5094 { echo "$as_me:$LINENO: result
: $result" >&5
5095 echo "${ECHO_T}$result" >&6; }
5099 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5100 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5101 # Check whether --enable-utf8 was given.
5102 if test "${enable_utf8+set}" = set; then
5103 enableval=$enable_utf8;
5104 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5108 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5113 eval "$wx_cv_use_utf8"
5115 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5116 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5121 if test -z "$defaultval"; then
5122 if test x"$enablestring" = xdisable; then
5129 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5130 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5131 # Check whether --enable-utf8only was given.
5132 if test "${enable_utf8only+set}" = set; then
5133 enableval=$enable_utf8only;
5134 if test "$enableval" = yes; then
5135 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5137 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5142 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5147 eval "$wx_cv_use_utf8only"
5149 if test x
"$enablestring" = xdisable
; then
5150 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
5156 result
=$wxUSE_UNICODE_UTF8_LOCALE
5159 { echo "$as_me:$LINENO: result: $result" >&5
5160 echo "${ECHO_T}$result" >&6; }
5165 if test -z "$defaultval"; then
5166 if test x
"$enablestring" = xdisable
; then
5173 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5174 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5175 # Check whether --enable-extended_rtti was given.
5176 if test "${enable_extended_rtti+set}" = set; then
5177 enableval
=$enable_extended_rtti;
5178 if test "$enableval" = yes; then
5179 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5181 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5186 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5191 eval "$wx_cv_use_extended_rtti"
5193 if test x"$enablestring" = xdisable; then
5194 if test $wxUSE_EXTENDED_RTTI = no; then
5200 result=$wxUSE_EXTENDED_RTTI
5203 { echo "$as_me:$LINENO: result: $result" >&5
5204 echo "${ECHO_T}$result" >&6; }
5206 if test "$USE_OS2" = 1; then
5207 DEFAULT_wxUSE_OMF=no
5211 if test -z "$defaultval"; then
5212 if test x"$enablestring" = xdisable; then
5219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5221 # Check whether --enable-omf was given.
5222 if test "${enable_omf+set}" = set; then
5223 enableval=$enable_omf;
5224 if test "$enableval" = yes; then
5225 wx_cv_use_omf='wxUSE_OMF
=yes'
5227 wx_cv_use_omf='wxUSE_OMF
=no
'
5232 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5237 eval "$wx_cv_use_omf"
5239 if test x"$enablestring" = xdisable; then
5240 if test $wxUSE_OMF = no; then
5249 { echo "$as_me:$LINENO: result
: $result" >&5
5250 echo "${ECHO_T}$result" >&6; }
5255 enablestring=disable
5257 if test -z "$defaultval"; then
5258 if test x"$enablestring" = xdisable; then
5265 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
5266 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
5267 # Check whether --enable-optimise was given.
5268 if test "${enable_optimise+set}" = set; then
5269 enableval=$enable_optimise;
5270 if test "$enableval" = yes; then
5271 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5273 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5278 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5283 eval "$wx_cv_use_optimise"
5285 if test x
"$enablestring" = xdisable
; then
5286 if test $wxUSE_OPTIMISE = no
; then
5292 result
=$wxUSE_OPTIMISE
5295 { echo "$as_me:$LINENO: result: $result" >&5
5296 echo "${ECHO_T}$result" >&6; }
5302 if test -z "$defaultval"; then
5303 if test x
"$enablestring" = xdisable
; then
5310 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5311 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5312 # Check whether --enable-profile was given.
5313 if test "${enable_profile+set}" = set; then
5314 enableval
=$enable_profile;
5315 if test "$enableval" = yes; then
5316 wx_cv_use_profile
='wxUSE_PROFILE=yes'
5318 wx_cv_use_profile
='wxUSE_PROFILE=no'
5323 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5328 eval "$wx_cv_use_profile"
5330 if test x"$enablestring" = xdisable; then
5331 if test $wxUSE_PROFILE = no; then
5337 result=$wxUSE_PROFILE
5340 { echo "$as_me:$LINENO: result: $result" >&5
5341 echo "${ECHO_T}$result" >&6; }
5346 if test -z "$defaultval"; then
5347 if test x"$enablestring" = xdisable; then
5354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5355 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5356 # Check whether --enable-no_rtti was given.
5357 if test "${enable_no_rtti+set}" = set; then
5358 enableval=$enable_no_rtti;
5359 if test "$enableval" = yes; then
5360 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
5362 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
5367 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5372 eval "$wx_cv_use_no_rtti"
5374 if test x"$enablestring" = xdisable; then
5375 if test $wxUSE_NO_RTTI = no; then
5381 result=$wxUSE_NO_RTTI
5384 { echo "$as_me:$LINENO: result
: $result" >&5
5385 echo "${ECHO_T}$result" >&6; }
5390 if test -z "$defaultval"; then
5391 if test x"$enablestring" = xdisable; then
5398 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_exceptions" >&5
5399 echo $ECHO_N "checking
for --${enablestring:-enable}-no_exceptions...
$ECHO_C" >&6; }
5400 # Check whether --enable-no_exceptions was given.
5401 if test "${enable_no_exceptions+set}" = set; then
5402 enableval=$enable_no_exceptions;
5403 if test "$enableval" = yes; then
5404 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5406 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5411 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5416 eval "$wx_cv_use_no_exceptions"
5418 if test x
"$enablestring" = xdisable
; then
5419 if test $wxUSE_NO_EXCEPTIONS = no
; then
5425 result
=$wxUSE_NO_EXCEPTIONS
5428 { echo "$as_me:$LINENO: result: $result" >&5
5429 echo "${ECHO_T}$result" >&6; }
5434 if test -z "$defaultval"; then
5435 if test x
"$enablestring" = xdisable
; then
5442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5443 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5444 # Check whether --enable-permissive was given.
5445 if test "${enable_permissive+set}" = set; then
5446 enableval
=$enable_permissive;
5447 if test "$enableval" = yes; then
5448 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
5450 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
5455 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5460 eval "$wx_cv_use_permissive"
5462 if test x"$enablestring" = xdisable; then
5463 if test $wxUSE_PERMISSIVE = no; then
5469 result=$wxUSE_PERMISSIVE
5472 { echo "$as_me:$LINENO: result: $result" >&5
5473 echo "${ECHO_T}$result" >&6; }
5478 if test -z "$defaultval"; then
5479 if test x"$enablestring" = xdisable; then
5486 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5487 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5488 # Check whether --enable-no_deps was given.
5489 if test "${enable_no_deps+set}" = set; then
5490 enableval=$enable_no_deps;
5491 if test "$enableval" = yes; then
5492 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
5494 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
5499 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5504 eval "$wx_cv_use_no_deps"
5506 if test x"$enablestring" = xdisable; then
5507 if test $wxUSE_NO_DEPS = no; then
5513 result=$wxUSE_NO_DEPS
5516 { echo "$as_me:$LINENO: result
: $result" >&5
5517 echo "${ECHO_T}$result" >&6; }
5520 enablestring=disable
5522 if test -z "$defaultval"; then
5523 if test x"$enablestring" = xdisable; then
5530 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-vararg_macros" >&5
5531 echo $ECHO_N "checking
for --${enablestring:-enable}-vararg_macros...
$ECHO_C" >&6; }
5532 # Check whether --enable-vararg_macros was given.
5533 if test "${enable_vararg_macros+set}" = set; then
5534 enableval=$enable_vararg_macros;
5535 if test "$enableval" = yes; then
5536 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5538 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5543 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5548 eval "$wx_cv_use_vararg_macros"
5550 if test x
"$enablestring" = xdisable
; then
5551 if test $wxUSE_VARARG_MACROS = no
; then
5557 result
=$wxUSE_VARARG_MACROS
5560 { echo "$as_me:$LINENO: result: $result" >&5
5561 echo "${ECHO_T}$result" >&6; }
5566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5567 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5568 # Check whether --enable-universal_binary was given.
5569 if test "${enable_universal_binary+set}" = set; then
5570 enableval
=$enable_universal_binary;
5571 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
5575 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5580 eval "$wx_cv_use_universal_binary"
5582 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5583 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5589 # Check whether --enable-macosx_arch was given.
5590 if test "${enable_macosx_arch+set}" = set; then
5591 enableval
=$enable_macosx_arch;
5592 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
5596 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5601 eval "$wx_cv_use_macosx_arch"
5603 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5604 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5610 if test -z "$defaultval"; then
5611 if test x
"$enablestring" = xdisable
; then
5618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5619 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5620 # Check whether --enable-compat26 was given.
5621 if test "${enable_compat26+set}" = set; then
5622 enableval
=$enable_compat26;
5623 if test "$enableval" = yes; then
5624 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
5626 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
5631 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5636 eval "$wx_cv_use_compat26"
5638 if test x"$enablestring" = xdisable; then
5639 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5645 result=$WXWIN_COMPATIBILITY_2_6
5648 { echo "$as_me:$LINENO: result: $result" >&5
5649 echo "${ECHO_T}$result" >&6; }
5652 enablestring=disable
5654 if test -z "$defaultval"; then
5655 if test x"$enablestring" = xdisable; then
5662 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5664 # Check whether --enable-compat28 was given.
5665 if test "${enable_compat28+set}" = set; then
5666 enableval=$enable_compat28;
5667 if test "$enableval" = yes; then
5668 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
5670 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
5675 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5680 eval "$wx_cv_use_compat28"
5682 if test x"$enablestring" = xdisable; then
5683 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5689 result=$WXWIN_COMPATIBILITY_2_8
5692 { echo "$as_me:$LINENO: result
: $result" >&5
5693 echo "${ECHO_T}$result" >&6; }
5697 enablestring=disable
5699 if test -z "$defaultval"; then
5700 if test x"$enablestring" = xdisable; then
5707 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rpath" >&5
5708 echo $ECHO_N "checking
for --${enablestring:-enable}-rpath...
$ECHO_C" >&6; }
5709 # Check whether --enable-rpath was given.
5710 if test "${enable_rpath+set}" = set; then
5711 enableval=$enable_rpath;
5712 if test "$enableval" = yes; then
5713 wx_cv_use_rpath='wxUSE_RPATH=yes'
5715 wx_cv_use_rpath='wxUSE_RPATH=no'
5720 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5725 eval "$wx_cv_use_rpath"
5727 if test x
"$enablestring" = xdisable
; then
5728 if test $wxUSE_RPATH = no
; then
5737 { echo "$as_me:$LINENO: result: $result" >&5
5738 echo "${ECHO_T}$result" >&6; }
5744 if test -z "$defaultval"; then
5745 if test x
"$enablestring" = xdisable
; then
5752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5753 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5754 # Check whether --enable-objc_uniquifying was given.
5755 if test "${enable_objc_uniquifying+set}" = set; then
5756 enableval
=$enable_objc_uniquifying;
5757 if test "$enableval" = yes; then
5758 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
5760 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
5765 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5770 eval "$wx_cv_use_objc_uniquifying"
5772 if test x"$enablestring" = xdisable; then
5773 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5779 result=$wxUSE_OBJC_UNIQUIFYING
5782 { echo "$as_me:$LINENO: result: $result" >&5
5783 echo "${ECHO_T}$result" >&6; }
5787 enablestring=disable
5789 if test -z "$defaultval"; then
5790 if test x"$enablestring" = xdisable; then
5797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5798 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5799 # Check whether --enable-visibility was given.
5800 if test "${enable_visibility+set}" = set; then
5801 enableval=$enable_visibility;
5802 if test "$enableval" = yes; then
5803 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
5805 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
5810 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5815 eval "$wx_cv_use_visibility"
5817 if test x"$enablestring" = xdisable; then
5818 if test $wxUSE_VISIBILITY = no; then
5824 result=$wxUSE_VISIBILITY
5827 { echo "$as_me:$LINENO: result
: $result" >&5
5828 echo "${ECHO_T}$result" >&6; }
5831 enablestring=disable
5833 if test -z "$defaultval"; then
5834 if test x"$enablestring" = xdisable; then
5841 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tls" >&5
5842 echo $ECHO_N "checking
for --${enablestring:-enable}-tls...
$ECHO_C" >&6; }
5843 # Check whether --enable-tls was given.
5844 if test "${enable_tls+set}" = set; then
5845 enableval=$enable_tls;
5846 if test "$enableval" = yes; then
5847 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5849 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5854 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5859 eval "$wx_cv_use_tls"
5861 if test x
"$enablestring" = xdisable
; then
5862 if test $wxUSE_COMPILER_TLS = no
; then
5868 result
=$wxUSE_COMPILER_TLS
5871 { echo "$as_me:$LINENO: result: $result" >&5
5872 echo "${ECHO_T}$result" >&6; }
5878 defaultval
=$wxUSE_ALL_FEATURES
5879 if test -z "$defaultval"; then
5880 if test x
"$enablestring" = xdisable
; then
5887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5888 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5889 # Check whether --enable-intl was given.
5890 if test "${enable_intl+set}" = set; then
5891 enableval
=$enable_intl;
5892 if test "$enableval" = yes; then
5893 wx_cv_use_intl
='wxUSE_INTL=yes'
5895 wx_cv_use_intl
='wxUSE_INTL=no'
5900 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5905 eval "$wx_cv_use_intl"
5907 if test x"$enablestring" = xdisable; then
5908 if test $wxUSE_INTL = no; then
5917 { echo "$as_me:$LINENO: result: $result" >&5
5918 echo "${ECHO_T}$result" >&6; }
5922 defaultval=$wxUSE_ALL_FEATURES
5923 if test -z "$defaultval"; then
5924 if test x"$enablestring" = xdisable; then
5931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5932 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5933 # Check whether --enable-xlocale was given.
5934 if test "${enable_xlocale+set}" = set; then
5935 enableval=$enable_xlocale;
5936 if test "$enableval" = yes; then
5937 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
5939 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
5944 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5949 eval "$wx_cv_use_xlocale"
5951 if test x"$enablestring" = xdisable; then
5952 if test $wxUSE_XLOCALE = no; then
5958 result=$wxUSE_XLOCALE
5961 { echo "$as_me:$LINENO: result
: $result" >&5
5962 echo "${ECHO_T}$result" >&6; }
5966 defaultval=$wxUSE_ALL_FEATURES
5967 if test -z "$defaultval"; then
5968 if test x"$enablestring" = xdisable; then
5975 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-config" >&5
5976 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5977 # Check whether --enable-config was given.
5978 if test "${enable_config+set}" = set; then
5979 enableval=$enable_config;
5980 if test "$enableval" = yes; then
5981 wx_cv_use_config='wxUSE_CONFIG=yes'
5983 wx_cv_use_config='wxUSE_CONFIG=no'
5988 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5993 eval "$wx_cv_use_config"
5995 if test x
"$enablestring" = xdisable
; then
5996 if test $wxUSE_CONFIG = no
; then
6002 result
=$wxUSE_CONFIG
6005 { echo "$as_me:$LINENO: result: $result" >&5
6006 echo "${ECHO_T}$result" >&6; }
6011 defaultval
=$wxUSE_ALL_FEATURES
6012 if test -z "$defaultval"; then
6013 if test x
"$enablestring" = xdisable
; then
6020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
6022 # Check whether --enable-protocols was given.
6023 if test "${enable_protocols+set}" = set; then
6024 enableval
=$enable_protocols;
6025 if test "$enableval" = yes; then
6026 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
6028 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
6033 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6038 eval "$wx_cv_use_protocols"
6040 if test x"$enablestring" = xdisable; then
6041 if test $wxUSE_PROTOCOL = no; then
6047 result=$wxUSE_PROTOCOL
6050 { echo "$as_me:$LINENO: result: $result" >&5
6051 echo "${ECHO_T}$result" >&6; }
6055 defaultval=$wxUSE_ALL_FEATURES
6056 if test -z "$defaultval"; then
6057 if test x"$enablestring" = xdisable; then
6064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6065 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6066 # Check whether --enable-ftp was given.
6067 if test "${enable_ftp+set}" = set; then
6068 enableval=$enable_ftp;
6069 if test "$enableval" = yes; then
6070 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
6072 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
6077 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6082 eval "$wx_cv_use_ftp"
6084 if test x"$enablestring" = xdisable; then
6085 if test $wxUSE_PROTOCOL_FTP = no; then
6091 result=$wxUSE_PROTOCOL_FTP
6094 { echo "$as_me:$LINENO: result
: $result" >&5
6095 echo "${ECHO_T}$result" >&6; }
6099 defaultval=$wxUSE_ALL_FEATURES
6100 if test -z "$defaultval"; then
6101 if test x"$enablestring" = xdisable; then
6108 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
6109 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
6110 # Check whether --enable-http was given.
6111 if test "${enable_http+set}" = set; then
6112 enableval=$enable_http;
6113 if test "$enableval" = yes; then
6114 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6116 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6121 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6126 eval "$wx_cv_use_http"
6128 if test x
"$enablestring" = xdisable
; then
6129 if test $wxUSE_PROTOCOL_HTTP = no
; then
6135 result
=$wxUSE_PROTOCOL_HTTP
6138 { echo "$as_me:$LINENO: result: $result" >&5
6139 echo "${ECHO_T}$result" >&6; }
6143 defaultval
=$wxUSE_ALL_FEATURES
6144 if test -z "$defaultval"; then
6145 if test x
"$enablestring" = xdisable
; then
6152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6153 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6154 # Check whether --enable-fileproto was given.
6155 if test "${enable_fileproto+set}" = set; then
6156 enableval
=$enable_fileproto;
6157 if test "$enableval" = yes; then
6158 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
6160 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
6165 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6170 eval "$wx_cv_use_fileproto"
6172 if test x"$enablestring" = xdisable; then
6173 if test $wxUSE_PROTOCOL_FILE = no; then
6179 result=$wxUSE_PROTOCOL_FILE
6182 { echo "$as_me:$LINENO: result: $result" >&5
6183 echo "${ECHO_T}$result" >&6; }
6187 defaultval=$wxUSE_ALL_FEATURES
6188 if test -z "$defaultval"; then
6189 if test x"$enablestring" = xdisable; then
6196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6197 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6198 # Check whether --enable-sockets was given.
6199 if test "${enable_sockets+set}" = set; then
6200 enableval=$enable_sockets;
6201 if test "$enableval" = yes; then
6202 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
6204 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
6209 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6214 eval "$wx_cv_use_sockets"
6216 if test x"$enablestring" = xdisable; then
6217 if test $wxUSE_SOCKETS = no; then
6223 result=$wxUSE_SOCKETS
6226 { echo "$as_me:$LINENO: result
: $result" >&5
6227 echo "${ECHO_T}$result" >&6; }
6231 defaultval=$wxUSE_ALL_FEATURES
6232 if test -z "$defaultval"; then
6233 if test x"$enablestring" = xdisable; then
6240 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
6241 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
6242 # Check whether --enable-ipv6 was given.
6243 if test "${enable_ipv6+set}" = set; then
6244 enableval=$enable_ipv6;
6245 if test "$enableval" = yes; then
6246 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6248 wx_cv_use_ipv6='wxUSE_IPV6=no'
6253 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6258 eval "$wx_cv_use_ipv6"
6260 if test x
"$enablestring" = xdisable
; then
6261 if test $wxUSE_IPV6 = no
; then
6270 { echo "$as_me:$LINENO: result: $result" >&5
6271 echo "${ECHO_T}$result" >&6; }
6275 defaultval
=$wxUSE_ALL_FEATURES
6276 if test -z "$defaultval"; then
6277 if test x
"$enablestring" = xdisable
; then
6284 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6285 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6286 # Check whether --enable-ole was given.
6287 if test "${enable_ole+set}" = set; then
6288 enableval
=$enable_ole;
6289 if test "$enableval" = yes; then
6290 wx_cv_use_ole
='wxUSE_OLE=yes'
6292 wx_cv_use_ole
='wxUSE_OLE=no'
6297 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6302 eval "$wx_cv_use_ole"
6304 if test x"$enablestring" = xdisable; then
6305 if test $wxUSE_OLE = no; then
6314 { echo "$as_me:$LINENO: result: $result" >&5
6315 echo "${ECHO_T}$result" >&6; }
6319 defaultval=$wxUSE_ALL_FEATURES
6320 if test -z "$defaultval"; then
6321 if test x"$enablestring" = xdisable; then
6328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6329 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6330 # Check whether --enable-dataobj was given.
6331 if test "${enable_dataobj+set}" = set; then
6332 enableval=$enable_dataobj;
6333 if test "$enableval" = yes; then
6334 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
6336 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
6341 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6346 eval "$wx_cv_use_dataobj"
6348 if test x"$enablestring" = xdisable; then
6349 if test $wxUSE_DATAOBJ = no; then
6355 result=$wxUSE_DATAOBJ
6358 { echo "$as_me:$LINENO: result
: $result" >&5
6359 echo "${ECHO_T}$result" >&6; }
6364 defaultval=$wxUSE_ALL_FEATURES
6365 if test -z "$defaultval"; then
6366 if test x"$enablestring" = xdisable; then
6373 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipc" >&5
6374 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6375 # Check whether --enable-ipc was given.
6376 if test "${enable_ipc+set}" = set; then
6377 enableval=$enable_ipc;
6378 if test "$enableval" = yes; then
6379 wx_cv_use_ipc='wxUSE_IPC=yes'
6381 wx_cv_use_ipc='wxUSE_IPC=no'
6386 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6391 eval "$wx_cv_use_ipc"
6393 if test x
"$enablestring" = xdisable
; then
6394 if test $wxUSE_IPC = no
; then
6403 { echo "$as_me:$LINENO: result: $result" >&5
6404 echo "${ECHO_T}$result" >&6; }
6409 defaultval
=$wxUSE_ALL_FEATURES
6410 if test -z "$defaultval"; then
6411 if test x
"$enablestring" = xdisable
; then
6418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6419 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6420 # Check whether --enable-baseevtloop was given.
6421 if test "${enable_baseevtloop+set}" = set; then
6422 enableval
=$enable_baseevtloop;
6423 if test "$enableval" = yes; then
6424 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6426 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6431 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6436 eval "$wx_cv_use_baseevtloop"
6438 if test x"$enablestring" = xdisable; then
6439 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6445 result=$wxUSE_CONSOLE_EVENTLOOP
6448 { echo "$as_me:$LINENO: result: $result" >&5
6449 echo "${ECHO_T}$result" >&6; }
6453 defaultval=$wxUSE_ALL_FEATURES
6454 if test -z "$defaultval"; then
6455 if test x"$enablestring" = xdisable; then
6462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6463 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6464 # Check whether --enable-epollloop was given.
6465 if test "${enable_epollloop+set}" = set; then
6466 enableval=$enable_epollloop;
6467 if test "$enableval" = yes; then
6468 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6470 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6475 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6480 eval "$wx_cv_use_epollloop"
6482 if test x"$enablestring" = xdisable; then
6483 if test $wxUSE_EPOLL_DISPATCHER = no; then
6489 result=$wxUSE_EPOLL_DISPATCHER
6492 { echo "$as_me:$LINENO: result
: $result" >&5
6493 echo "${ECHO_T}$result" >&6; }
6497 defaultval=$wxUSE_ALL_FEATURES
6498 if test -z "$defaultval"; then
6499 if test x"$enablestring" = xdisable; then
6506 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-selectloop" >&5
6507 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6508 # Check whether --enable-selectloop was given.
6509 if test "${enable_selectloop+set}" = set; then
6510 enableval=$enable_selectloop;
6511 if test "$enableval" = yes; then
6512 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6514 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6519 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6524 eval "$wx_cv_use_selectloop"
6526 if test x
"$enablestring" = xdisable
; then
6527 if test $wxUSE_SELECT_DISPATCHER = no
; then
6533 result
=$wxUSE_SELECT_DISPATCHER
6536 { echo "$as_me:$LINENO: result: $result" >&5
6537 echo "${ECHO_T}$result" >&6; }
6542 defaultval
=$wxUSE_ALL_FEATURES
6543 if test -z "$defaultval"; then
6544 if test x
"$enablestring" = xdisable
; then
6551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6553 # Check whether --enable-any was given.
6554 if test "${enable_any+set}" = set; then
6555 enableval
=$enable_any;
6556 if test "$enableval" = yes; then
6557 wx_cv_use_any
='wxUSE_ANY=yes'
6559 wx_cv_use_any
='wxUSE_ANY=no'
6564 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6569 eval "$wx_cv_use_any"
6571 if test x"$enablestring" = xdisable; then
6572 if test $wxUSE_ANY = no; then
6581 { echo "$as_me:$LINENO: result: $result" >&5
6582 echo "${ECHO_T}$result" >&6; }
6586 defaultval=$wxUSE_ALL_FEATURES
6587 if test -z "$defaultval"; then
6588 if test x"$enablestring" = xdisable; then
6595 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6596 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6597 # Check whether --enable-apple_ieee was given.
6598 if test "${enable_apple_ieee+set}" = set; then
6599 enableval=$enable_apple_ieee;
6600 if test "$enableval" = yes; then
6601 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6603 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6608 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6613 eval "$wx_cv_use_apple_ieee"
6615 if test x"$enablestring" = xdisable; then
6616 if test $wxUSE_APPLE_IEEE = no; then
6622 result=$wxUSE_APPLE_IEEE
6625 { echo "$as_me:$LINENO: result
: $result" >&5
6626 echo "${ECHO_T}$result" >&6; }
6630 defaultval=$wxUSE_ALL_FEATURES
6631 if test -z "$defaultval"; then
6632 if test x"$enablestring" = xdisable; then
6639 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6640 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6641 # Check whether --enable-arcstream was given.
6642 if test "${enable_arcstream+set}" = set; then
6643 enableval=$enable_arcstream;
6644 if test "$enableval" = yes; then
6645 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6647 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6652 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6657 eval "$wx_cv_use_arcstream"
6659 if test x
"$enablestring" = xdisable
; then
6660 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6666 result
=$wxUSE_ARCHIVE_STREAMS
6669 { echo "$as_me:$LINENO: result: $result" >&5
6670 echo "${ECHO_T}$result" >&6; }
6674 defaultval
=$wxUSE_ALL_FEATURES
6675 if test -z "$defaultval"; then
6676 if test x
"$enablestring" = xdisable
; then
6683 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6684 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6685 # Check whether --enable-base64 was given.
6686 if test "${enable_base64+set}" = set; then
6687 enableval
=$enable_base64;
6688 if test "$enableval" = yes; then
6689 wx_cv_use_base64
='wxUSE_BASE64=yes'
6691 wx_cv_use_base64
='wxUSE_BASE64=no'
6696 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6701 eval "$wx_cv_use_base64"
6703 if test x"$enablestring" = xdisable; then
6704 if test $wxUSE_BASE64 = no; then
6710 result=$wxUSE_BASE64
6713 { echo "$as_me:$LINENO: result: $result" >&5
6714 echo "${ECHO_T}$result" >&6; }
6718 defaultval=$wxUSE_ALL_FEATURES
6719 if test -z "$defaultval"; then
6720 if test x"$enablestring" = xdisable; then
6727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6728 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6729 # Check whether --enable-backtrace was given.
6730 if test "${enable_backtrace+set}" = set; then
6731 enableval=$enable_backtrace;
6732 if test "$enableval" = yes; then
6733 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6735 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6740 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6745 eval "$wx_cv_use_backtrace"
6747 if test x"$enablestring" = xdisable; then
6748 if test $wxUSE_STACKWALKER = no; then
6754 result=$wxUSE_STACKWALKER
6757 { echo "$as_me:$LINENO: result
: $result" >&5
6758 echo "${ECHO_T}$result" >&6; }
6762 defaultval=$wxUSE_ALL_FEATURES
6763 if test -z "$defaultval"; then
6764 if test x"$enablestring" = xdisable; then
6771 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6772 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6773 # Check whether --enable-catch_segvs was given.
6774 if test "${enable_catch_segvs+set}" = set; then
6775 enableval=$enable_catch_segvs;
6776 if test "$enableval" = yes; then
6777 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6779 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6784 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6789 eval "$wx_cv_use_catch_segvs"
6791 if test x
"$enablestring" = xdisable
; then
6792 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6798 result
=$wxUSE_ON_FATAL_EXCEPTION
6801 { echo "$as_me:$LINENO: result: $result" >&5
6802 echo "${ECHO_T}$result" >&6; }
6806 defaultval
=$wxUSE_ALL_FEATURES
6807 if test -z "$defaultval"; then
6808 if test x
"$enablestring" = xdisable
; then
6815 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6816 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6817 # Check whether --enable-cmdline was given.
6818 if test "${enable_cmdline+set}" = set; then
6819 enableval
=$enable_cmdline;
6820 if test "$enableval" = yes; then
6821 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6823 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6828 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6833 eval "$wx_cv_use_cmdline"
6835 if test x"$enablestring" = xdisable; then
6836 if test $wxUSE_CMDLINE_PARSER = no; then
6842 result=$wxUSE_CMDLINE_PARSER
6845 { echo "$as_me:$LINENO: result: $result" >&5
6846 echo "${ECHO_T}$result" >&6; }
6850 defaultval=$wxUSE_ALL_FEATURES
6851 if test -z "$defaultval"; then
6852 if test x"$enablestring" = xdisable; then
6859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6861 # Check whether --enable-datetime was given.
6862 if test "${enable_datetime+set}" = set; then
6863 enableval=$enable_datetime;
6864 if test "$enableval" = yes; then
6865 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6867 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6872 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6877 eval "$wx_cv_use_datetime"
6879 if test x"$enablestring" = xdisable; then
6880 if test $wxUSE_DATETIME = no; then
6886 result=$wxUSE_DATETIME
6889 { echo "$as_me:$LINENO: result
: $result" >&5
6890 echo "${ECHO_T}$result" >&6; }
6894 defaultval=$wxUSE_ALL_FEATURES
6895 if test -z "$defaultval"; then
6896 if test x"$enablestring" = xdisable; then
6903 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6904 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6905 # Check whether --enable-debugreport was given.
6906 if test "${enable_debugreport+set}" = set; then
6907 enableval=$enable_debugreport;
6908 if test "$enableval" = yes; then
6909 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6911 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6916 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6921 eval "$wx_cv_use_debugreport"
6923 if test x
"$enablestring" = xdisable
; then
6924 if test $wxUSE_DEBUGREPORT = no
; then
6930 result
=$wxUSE_DEBUGREPORT
6933 { echo "$as_me:$LINENO: result: $result" >&5
6934 echo "${ECHO_T}$result" >&6; }
6938 defaultval
=$wxUSE_ALL_FEATURES
6939 if test -z "$defaultval"; then
6940 if test x
"$enablestring" = xdisable
; then
6947 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6948 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6949 # Check whether --enable-dialupman was given.
6950 if test "${enable_dialupman+set}" = set; then
6951 enableval
=$enable_dialupman;
6952 if test "$enableval" = yes; then
6953 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6955 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6960 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6965 eval "$wx_cv_use_dialupman"
6967 if test x"$enablestring" = xdisable; then
6968 if test $wxUSE_DIALUP_MANAGER = no; then
6974 result=$wxUSE_DIALUP_MANAGER
6977 { echo "$as_me:$LINENO: result: $result" >&5
6978 echo "${ECHO_T}$result" >&6; }
6982 defaultval=$wxUSE_ALL_FEATURES
6983 if test -z "$defaultval"; then
6984 if test x"$enablestring" = xdisable; then
6991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6992 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6993 # Check whether --enable-dynlib was given.
6994 if test "${enable_dynlib+set}" = set; then
6995 enableval=$enable_dynlib;
6996 if test "$enableval" = yes; then
6997 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6999 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
7004 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
7009 eval "$wx_cv_use_dynlib"
7011 if test x"$enablestring" = xdisable; then
7012 if test $wxUSE_DYNLIB_CLASS = no; then
7018 result=$wxUSE_DYNLIB_CLASS
7021 { echo "$as_me:$LINENO: result
: $result" >&5
7022 echo "${ECHO_T}$result" >&6; }
7026 defaultval=$wxUSE_ALL_FEATURES
7027 if test -z "$defaultval"; then
7028 if test x"$enablestring" = xdisable; then
7035 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7036 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7037 # Check whether --enable-dynamicloader was given.
7038 if test "${enable_dynamicloader+set}" = set; then
7039 enableval=$enable_dynamicloader;
7040 if test "$enableval" = yes; then
7041 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7043 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7048 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7053 eval "$wx_cv_use_dynamicloader"
7055 if test x
"$enablestring" = xdisable
; then
7056 if test $wxUSE_DYNAMIC_LOADER = no
; then
7062 result
=$wxUSE_DYNAMIC_LOADER
7065 { echo "$as_me:$LINENO: result: $result" >&5
7066 echo "${ECHO_T}$result" >&6; }
7070 defaultval
=$wxUSE_ALL_FEATURES
7071 if test -z "$defaultval"; then
7072 if test x
"$enablestring" = xdisable
; then
7079 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7080 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7081 # Check whether --enable-exceptions was given.
7082 if test "${enable_exceptions+set}" = set; then
7083 enableval
=$enable_exceptions;
7084 if test "$enableval" = yes; then
7085 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7087 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7092 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7097 eval "$wx_cv_use_exceptions"
7099 if test x"$enablestring" = xdisable; then
7100 if test $wxUSE_EXCEPTIONS = no; then
7106 result=$wxUSE_EXCEPTIONS
7109 { echo "$as_me:$LINENO: result: $result" >&5
7110 echo "${ECHO_T}$result" >&6; }
7114 defaultval=$wxUSE_ALL_FEATURES
7115 if test -z "$defaultval"; then
7116 if test x"$enablestring" = xdisable; then
7123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7124 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7125 # Check whether --enable-ffile was given.
7126 if test "${enable_ffile+set}" = set; then
7127 enableval=$enable_ffile;
7128 if test "$enableval" = yes; then
7129 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7131 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7136 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7141 eval "$wx_cv_use_ffile"
7143 if test x"$enablestring" = xdisable; then
7144 if test $wxUSE_FFILE = no; then
7153 { echo "$as_me:$LINENO: result
: $result" >&5
7154 echo "${ECHO_T}$result" >&6; }
7158 defaultval=$wxUSE_ALL_FEATURES
7159 if test -z "$defaultval"; then
7160 if test x"$enablestring" = xdisable; then
7167 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7168 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7169 # Check whether --enable-file was given.
7170 if test "${enable_file+set}" = set; then
7171 enableval=$enable_file;
7172 if test "$enableval" = yes; then
7173 wx_cv_use_file='wxUSE_FILE=yes'
7175 wx_cv_use_file='wxUSE_FILE=no'
7180 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7185 eval "$wx_cv_use_file"
7187 if test x
"$enablestring" = xdisable
; then
7188 if test $wxUSE_FILE = no
; then
7197 { echo "$as_me:$LINENO: result: $result" >&5
7198 echo "${ECHO_T}$result" >&6; }
7202 defaultval
=$wxUSE_ALL_FEATURES
7203 if test -z "$defaultval"; then
7204 if test x
"$enablestring" = xdisable
; then
7211 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7212 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7213 # Check whether --enable-filehistory was given.
7214 if test "${enable_filehistory+set}" = set; then
7215 enableval
=$enable_filehistory;
7216 if test "$enableval" = yes; then
7217 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
7219 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
7224 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7229 eval "$wx_cv_use_filehistory"
7231 if test x"$enablestring" = xdisable; then
7232 if test $wxUSE_FILE_HISTORY = no; then
7238 result=$wxUSE_FILE_HISTORY
7241 { echo "$as_me:$LINENO: result: $result" >&5
7242 echo "${ECHO_T}$result" >&6; }
7246 defaultval=$wxUSE_ALL_FEATURES
7247 if test -z "$defaultval"; then
7248 if test x"$enablestring" = xdisable; then
7255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7256 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7257 # Check whether --enable-filesystem was given.
7258 if test "${enable_filesystem+set}" = set; then
7259 enableval=$enable_filesystem;
7260 if test "$enableval" = yes; then
7261 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7263 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7268 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7273 eval "$wx_cv_use_filesystem"
7275 if test x"$enablestring" = xdisable; then
7276 if test $wxUSE_FILESYSTEM = no; then
7282 result=$wxUSE_FILESYSTEM
7285 { echo "$as_me:$LINENO: result
: $result" >&5
7286 echo "${ECHO_T}$result" >&6; }
7290 defaultval=$wxUSE_ALL_FEATURES
7291 if test -z "$defaultval"; then
7292 if test x"$enablestring" = xdisable; then
7299 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7300 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7301 # Check whether --enable-fontenum was given.
7302 if test "${enable_fontenum+set}" = set; then
7303 enableval=$enable_fontenum;
7304 if test "$enableval" = yes; then
7305 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7307 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7312 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7317 eval "$wx_cv_use_fontenum"
7319 if test x
"$enablestring" = xdisable
; then
7320 if test $wxUSE_FONTENUM = no
; then
7326 result
=$wxUSE_FONTENUM
7329 { echo "$as_me:$LINENO: result: $result" >&5
7330 echo "${ECHO_T}$result" >&6; }
7334 defaultval
=$wxUSE_ALL_FEATURES
7335 if test -z "$defaultval"; then
7336 if test x
"$enablestring" = xdisable
; then
7343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7344 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7345 # Check whether --enable-fontmap was given.
7346 if test "${enable_fontmap+set}" = set; then
7347 enableval
=$enable_fontmap;
7348 if test "$enableval" = yes; then
7349 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7351 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7356 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7361 eval "$wx_cv_use_fontmap"
7363 if test x"$enablestring" = xdisable; then
7364 if test $wxUSE_FONTMAP = no; then
7370 result=$wxUSE_FONTMAP
7373 { echo "$as_me:$LINENO: result: $result" >&5
7374 echo "${ECHO_T}$result" >&6; }
7378 defaultval=$wxUSE_ALL_FEATURES
7379 if test -z "$defaultval"; then
7380 if test x"$enablestring" = xdisable; then
7387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7388 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7389 # Check whether --enable-fs_archive was given.
7390 if test "${enable_fs_archive+set}" = set; then
7391 enableval=$enable_fs_archive;
7392 if test "$enableval" = yes; then
7393 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7395 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7400 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7405 eval "$wx_cv_use_fs_archive"
7407 if test x"$enablestring" = xdisable; then
7408 if test $wxUSE_FS_ARCHIVE = no; then
7414 result=$wxUSE_FS_ARCHIVE
7417 { echo "$as_me:$LINENO: result
: $result" >&5
7418 echo "${ECHO_T}$result" >&6; }
7422 defaultval=$wxUSE_ALL_FEATURES
7423 if test -z "$defaultval"; then
7424 if test x"$enablestring" = xdisable; then
7431 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7432 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7433 # Check whether --enable-fs_inet was given.
7434 if test "${enable_fs_inet+set}" = set; then
7435 enableval=$enable_fs_inet;
7436 if test "$enableval" = yes; then
7437 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7439 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7444 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7449 eval "$wx_cv_use_fs_inet"
7451 if test x
"$enablestring" = xdisable
; then
7452 if test $wxUSE_FS_INET = no
; then
7458 result
=$wxUSE_FS_INET
7461 { echo "$as_me:$LINENO: result: $result" >&5
7462 echo "${ECHO_T}$result" >&6; }
7466 defaultval
=$wxUSE_ALL_FEATURES
7467 if test -z "$defaultval"; then
7468 if test x
"$enablestring" = xdisable
; then
7475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7476 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7477 # Check whether --enable-fs_zip was given.
7478 if test "${enable_fs_zip+set}" = set; then
7479 enableval
=$enable_fs_zip;
7480 if test "$enableval" = yes; then
7481 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7483 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7488 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7493 eval "$wx_cv_use_fs_zip"
7495 if test x"$enablestring" = xdisable; then
7496 if test $wxUSE_FS_ZIP = no; then
7502 result=$wxUSE_FS_ZIP
7505 { echo "$as_me:$LINENO: result: $result" >&5
7506 echo "${ECHO_T}$result" >&6; }
7510 defaultval=$wxUSE_ALL_FEATURES
7511 if test -z "$defaultval"; then
7512 if test x"$enablestring" = xdisable; then
7519 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7520 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7521 # Check whether --enable-fswatcher was given.
7522 if test "${enable_fswatcher+set}" = set; then
7523 enableval=$enable_fswatcher;
7524 if test "$enableval" = yes; then
7525 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7527 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7532 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7537 eval "$wx_cv_use_fswatcher"
7539 if test x"$enablestring" = xdisable; then
7540 if test $wxUSE_FSWATCHER = no; then
7546 result=$wxUSE_FSWATCHER
7549 { echo "$as_me:$LINENO: result
: $result" >&5
7550 echo "${ECHO_T}$result" >&6; }
7554 defaultval=$wxUSE_ALL_FEATURES
7555 if test -z "$defaultval"; then
7556 if test x"$enablestring" = xdisable; then
7563 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7564 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7565 # Check whether --enable-geometry was given.
7566 if test "${enable_geometry+set}" = set; then
7567 enableval=$enable_geometry;
7568 if test "$enableval" = yes; then
7569 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7571 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7576 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7581 eval "$wx_cv_use_geometry"
7583 if test x
"$enablestring" = xdisable
; then
7584 if test $wxUSE_GEOMETRY = no
; then
7590 result
=$wxUSE_GEOMETRY
7593 { echo "$as_me:$LINENO: result: $result" >&5
7594 echo "${ECHO_T}$result" >&6; }
7598 defaultval
=$wxUSE_ALL_FEATURES
7599 if test -z "$defaultval"; then
7600 if test x
"$enablestring" = xdisable
; then
7607 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7608 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7609 # Check whether --enable-log was given.
7610 if test "${enable_log+set}" = set; then
7611 enableval
=$enable_log;
7612 if test "$enableval" = yes; then
7613 wx_cv_use_log
='wxUSE_LOG=yes'
7615 wx_cv_use_log
='wxUSE_LOG=no'
7620 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7625 eval "$wx_cv_use_log"
7627 if test x"$enablestring" = xdisable; then
7628 if test $wxUSE_LOG = no; then
7637 { echo "$as_me:$LINENO: result: $result" >&5
7638 echo "${ECHO_T}$result" >&6; }
7642 defaultval=$wxUSE_ALL_FEATURES
7643 if test -z "$defaultval"; then
7644 if test x"$enablestring" = xdisable; then
7651 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7652 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7653 # Check whether --enable-longlong was given.
7654 if test "${enable_longlong+set}" = set; then
7655 enableval=$enable_longlong;
7656 if test "$enableval" = yes; then
7657 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7659 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7664 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7669 eval "$wx_cv_use_longlong"
7671 if test x"$enablestring" = xdisable; then
7672 if test $wxUSE_LONGLONG = no; then
7678 result=$wxUSE_LONGLONG
7681 { echo "$as_me:$LINENO: result
: $result" >&5
7682 echo "${ECHO_T}$result" >&6; }
7686 defaultval=$wxUSE_ALL_FEATURES
7687 if test -z "$defaultval"; then
7688 if test x"$enablestring" = xdisable; then
7695 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7696 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7697 # Check whether --enable-mimetype was given.
7698 if test "${enable_mimetype+set}" = set; then
7699 enableval=$enable_mimetype;
7700 if test "$enableval" = yes; then
7701 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7703 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7708 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7713 eval "$wx_cv_use_mimetype"
7715 if test x
"$enablestring" = xdisable
; then
7716 if test $wxUSE_MIMETYPE = no
; then
7722 result
=$wxUSE_MIMETYPE
7725 { echo "$as_me:$LINENO: result: $result" >&5
7726 echo "${ECHO_T}$result" >&6; }
7730 defaultval
=$wxUSE_ALL_FEATURES
7731 if test -z "$defaultval"; then
7732 if test x
"$enablestring" = xdisable
; then
7739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7740 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7741 # Check whether --enable-printfposparam was given.
7742 if test "${enable_printfposparam+set}" = set; then
7743 enableval
=$enable_printfposparam;
7744 if test "$enableval" = yes; then
7745 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7747 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7752 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7757 eval "$wx_cv_use_printfposparam"
7759 if test x"$enablestring" = xdisable; then
7760 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7766 result=$wxUSE_PRINTF_POS_PARAMS
7769 { echo "$as_me:$LINENO: result: $result" >&5
7770 echo "${ECHO_T}$result" >&6; }
7774 defaultval=$wxUSE_ALL_FEATURES
7775 if test -z "$defaultval"; then
7776 if test x"$enablestring" = xdisable; then
7783 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7784 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7785 # Check whether --enable-snglinst was given.
7786 if test "${enable_snglinst+set}" = set; then
7787 enableval=$enable_snglinst;
7788 if test "$enableval" = yes; then
7789 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7791 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7796 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7801 eval "$wx_cv_use_snglinst"
7803 if test x"$enablestring" = xdisable; then
7804 if test $wxUSE_SNGLINST_CHECKER = no; then
7810 result=$wxUSE_SNGLINST_CHECKER
7813 { echo "$as_me:$LINENO: result
: $result" >&5
7814 echo "${ECHO_T}$result" >&6; }
7818 defaultval=$wxUSE_ALL_FEATURES
7819 if test -z "$defaultval"; then
7820 if test x"$enablestring" = xdisable; then
7827 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7828 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7829 # Check whether --enable-sound was given.
7830 if test "${enable_sound+set}" = set; then
7831 enableval=$enable_sound;
7832 if test "$enableval" = yes; then
7833 wx_cv_use_sound='wxUSE_SOUND=yes'
7835 wx_cv_use_sound='wxUSE_SOUND=no'
7840 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7845 eval "$wx_cv_use_sound"
7847 if test x
"$enablestring" = xdisable
; then
7848 if test $wxUSE_SOUND = no
; then
7857 { echo "$as_me:$LINENO: result: $result" >&5
7858 echo "${ECHO_T}$result" >&6; }
7862 defaultval
=$wxUSE_ALL_FEATURES
7863 if test -z "$defaultval"; then
7864 if test x
"$enablestring" = xdisable
; then
7871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7873 # Check whether --enable-stdpaths was given.
7874 if test "${enable_stdpaths+set}" = set; then
7875 enableval
=$enable_stdpaths;
7876 if test "$enableval" = yes; then
7877 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7879 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7884 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7889 eval "$wx_cv_use_stdpaths"
7891 if test x"$enablestring" = xdisable; then
7892 if test $wxUSE_STDPATHS = no; then
7898 result=$wxUSE_STDPATHS
7901 { echo "$as_me:$LINENO: result: $result" >&5
7902 echo "${ECHO_T}$result" >&6; }
7906 defaultval=$wxUSE_ALL_FEATURES
7907 if test -z "$defaultval"; then
7908 if test x"$enablestring" = xdisable; then
7915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7917 # Check whether --enable-stopwatch was given.
7918 if test "${enable_stopwatch+set}" = set; then
7919 enableval=$enable_stopwatch;
7920 if test "$enableval" = yes; then
7921 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7923 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7928 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7933 eval "$wx_cv_use_stopwatch"
7935 if test x"$enablestring" = xdisable; then
7936 if test $wxUSE_STOPWATCH = no; then
7942 result=$wxUSE_STOPWATCH
7945 { echo "$as_me:$LINENO: result
: $result" >&5
7946 echo "${ECHO_T}$result" >&6; }
7950 defaultval=$wxUSE_ALL_FEATURES
7951 if test -z "$defaultval"; then
7952 if test x"$enablestring" = xdisable; then
7959 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7960 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7961 # Check whether --enable-streams was given.
7962 if test "${enable_streams+set}" = set; then
7963 enableval=$enable_streams;
7964 if test "$enableval" = yes; then
7965 wx_cv_use_streams='wxUSE_STREAMS=yes'
7967 wx_cv_use_streams='wxUSE_STREAMS=no'
7972 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7977 eval "$wx_cv_use_streams"
7979 if test x
"$enablestring" = xdisable
; then
7980 if test $wxUSE_STREAMS = no
; then
7986 result
=$wxUSE_STREAMS
7989 { echo "$as_me:$LINENO: result: $result" >&5
7990 echo "${ECHO_T}$result" >&6; }
7994 defaultval
=$wxUSE_ALL_FEATURES
7995 if test -z "$defaultval"; then
7996 if test x
"$enablestring" = xdisable
; then
8003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
8004 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
8005 # Check whether --enable-sysoptions was given.
8006 if test "${enable_sysoptions+set}" = set; then
8007 enableval
=$enable_sysoptions;
8008 if test "$enableval" = yes; then
8009 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
8011 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
8016 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
8021 eval "$wx_cv_use_sysoptions"
8023 if test x"$enablestring" = xdisable; then
8024 if test $wxUSE_SYSTEM_OPTIONS = no; then
8030 result=$wxUSE_SYSTEM_OPTIONS
8033 { echo "$as_me:$LINENO: result: $result" >&5
8034 echo "${ECHO_T}$result" >&6; }
8038 defaultval=$wxUSE_ALL_FEATURES
8039 if test -z "$defaultval"; then
8040 if test x"$enablestring" = xdisable; then
8047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8048 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8049 # Check whether --enable-tarstream was given.
8050 if test "${enable_tarstream+set}" = set; then
8051 enableval=$enable_tarstream;
8052 if test "$enableval" = yes; then
8053 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
8055 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
8060 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8065 eval "$wx_cv_use_tarstream"
8067 if test x"$enablestring" = xdisable; then
8068 if test $wxUSE_TARSTREAM = no; then
8074 result=$wxUSE_TARSTREAM
8077 { echo "$as_me:$LINENO: result
: $result" >&5
8078 echo "${ECHO_T}$result" >&6; }
8082 defaultval=$wxUSE_ALL_FEATURES
8083 if test -z "$defaultval"; then
8084 if test x"$enablestring" = xdisable; then
8091 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
8092 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
8093 # Check whether --enable-textbuf was given.
8094 if test "${enable_textbuf+set}" = set; then
8095 enableval=$enable_textbuf;
8096 if test "$enableval" = yes; then
8097 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8099 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8104 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8109 eval "$wx_cv_use_textbuf"
8111 if test x
"$enablestring" = xdisable
; then
8112 if test $wxUSE_TEXTBUFFER = no
; then
8118 result
=$wxUSE_TEXTBUFFER
8121 { echo "$as_me:$LINENO: result: $result" >&5
8122 echo "${ECHO_T}$result" >&6; }
8126 defaultval
=$wxUSE_ALL_FEATURES
8127 if test -z "$defaultval"; then
8128 if test x
"$enablestring" = xdisable
; then
8135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8136 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8137 # Check whether --enable-textfile was given.
8138 if test "${enable_textfile+set}" = set; then
8139 enableval
=$enable_textfile;
8140 if test "$enableval" = yes; then
8141 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
8143 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
8148 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8153 eval "$wx_cv_use_textfile"
8155 if test x"$enablestring" = xdisable; then
8156 if test $wxUSE_TEXTFILE = no; then
8162 result=$wxUSE_TEXTFILE
8165 { echo "$as_me:$LINENO: result: $result" >&5
8166 echo "${ECHO_T}$result" >&6; }
8170 defaultval=$wxUSE_ALL_FEATURES
8171 if test -z "$defaultval"; then
8172 if test x"$enablestring" = xdisable; then
8179 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8180 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8181 # Check whether --enable-timer was given.
8182 if test "${enable_timer+set}" = set; then
8183 enableval=$enable_timer;
8184 if test "$enableval" = yes; then
8185 wx_cv_use_timer='wxUSE_TIMER
=yes'
8187 wx_cv_use_timer='wxUSE_TIMER
=no
'
8192 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8197 eval "$wx_cv_use_timer"
8199 if test x"$enablestring" = xdisable; then
8200 if test $wxUSE_TIMER = no; then
8209 { echo "$as_me:$LINENO: result
: $result" >&5
8210 echo "${ECHO_T}$result" >&6; }
8214 defaultval=$wxUSE_ALL_FEATURES
8215 if test -z "$defaultval"; then
8216 if test x"$enablestring" = xdisable; then
8223 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
8224 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
8225 # Check whether --enable-variant was given.
8226 if test "${enable_variant+set}" = set; then
8227 enableval=$enable_variant;
8228 if test "$enableval" = yes; then
8229 wx_cv_use_variant='wxUSE_VARIANT=yes'
8231 wx_cv_use_variant='wxUSE_VARIANT=no'
8236 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8241 eval "$wx_cv_use_variant"
8243 if test x
"$enablestring" = xdisable
; then
8244 if test $wxUSE_VARIANT = no
; then
8250 result
=$wxUSE_VARIANT
8253 { echo "$as_me:$LINENO: result: $result" >&5
8254 echo "${ECHO_T}$result" >&6; }
8258 defaultval
=$wxUSE_ALL_FEATURES
8259 if test -z "$defaultval"; then
8260 if test x
"$enablestring" = xdisable
; then
8267 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8268 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8269 # Check whether --enable-zipstream was given.
8270 if test "${enable_zipstream+set}" = set; then
8271 enableval
=$enable_zipstream;
8272 if test "$enableval" = yes; then
8273 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8275 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8280 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8285 eval "$wx_cv_use_zipstream"
8287 if test x"$enablestring" = xdisable; then
8288 if test $wxUSE_ZIPSTREAM = no; then
8294 result=$wxUSE_ZIPSTREAM
8297 { echo "$as_me:$LINENO: result: $result" >&5
8298 echo "${ECHO_T}$result" >&6; }
8303 defaultval=$wxUSE_ALL_FEATURES
8304 if test -z "$defaultval"; then
8305 if test x"$enablestring" = xdisable; then
8312 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8313 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8314 # Check whether --enable-url was given.
8315 if test "${enable_url+set}" = set; then
8316 enableval=$enable_url;
8317 if test "$enableval" = yes; then
8318 wx_cv_use_url='wxUSE_URL
=yes'
8320 wx_cv_use_url='wxUSE_URL
=no
'
8325 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8330 eval "$wx_cv_use_url"
8332 if test x"$enablestring" = xdisable; then
8333 if test $wxUSE_URL = no; then
8342 { echo "$as_me:$LINENO: result
: $result" >&5
8343 echo "${ECHO_T}$result" >&6; }
8347 defaultval=$wxUSE_ALL_FEATURES
8348 if test -z "$defaultval"; then
8349 if test x"$enablestring" = xdisable; then
8356 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8357 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8358 # Check whether --enable-protocol was given.
8359 if test "${enable_protocol+set}" = set; then
8360 enableval=$enable_protocol;
8361 if test "$enableval" = yes; then
8362 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8364 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8369 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8374 eval "$wx_cv_use_protocol"
8376 if test x
"$enablestring" = xdisable
; then
8377 if test $wxUSE_PROTOCOL = no
; then
8383 result
=$wxUSE_PROTOCOL
8386 { echo "$as_me:$LINENO: result: $result" >&5
8387 echo "${ECHO_T}$result" >&6; }
8391 defaultval
=$wxUSE_ALL_FEATURES
8392 if test -z "$defaultval"; then
8393 if test x
"$enablestring" = xdisable
; then
8400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8401 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8402 # Check whether --enable-protocol_http was given.
8403 if test "${enable_protocol_http+set}" = set; then
8404 enableval
=$enable_protocol_http;
8405 if test "$enableval" = yes; then
8406 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8408 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8413 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8418 eval "$wx_cv_use_protocol_http"
8420 if test x"$enablestring" = xdisable; then
8421 if test $wxUSE_PROTOCOL_HTTP = no; then
8427 result=$wxUSE_PROTOCOL_HTTP
8430 { echo "$as_me:$LINENO: result: $result" >&5
8431 echo "${ECHO_T}$result" >&6; }
8435 defaultval=$wxUSE_ALL_FEATURES
8436 if test -z "$defaultval"; then
8437 if test x"$enablestring" = xdisable; then
8444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8445 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8446 # Check whether --enable-protocol_ftp was given.
8447 if test "${enable_protocol_ftp+set}" = set; then
8448 enableval=$enable_protocol_ftp;
8449 if test "$enableval" = yes; then
8450 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8452 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8457 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8462 eval "$wx_cv_use_protocol_ftp"
8464 if test x"$enablestring" = xdisable; then
8465 if test $wxUSE_PROTOCOL_FTP = no; then
8471 result=$wxUSE_PROTOCOL_FTP
8474 { echo "$as_me:$LINENO: result
: $result" >&5
8475 echo "${ECHO_T}$result" >&6; }
8479 defaultval=$wxUSE_ALL_FEATURES
8480 if test -z "$defaultval"; then
8481 if test x"$enablestring" = xdisable; then
8488 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8489 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8490 # Check whether --enable-protocol_file was given.
8491 if test "${enable_protocol_file+set}" = set; then
8492 enableval=$enable_protocol_file;
8493 if test "$enableval" = yes; then
8494 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8496 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8501 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8506 eval "$wx_cv_use_protocol_file"
8508 if test x
"$enablestring" = xdisable
; then
8509 if test $wxUSE_PROTOCOL_FILE = no
; then
8515 result
=$wxUSE_PROTOCOL_FILE
8518 { echo "$as_me:$LINENO: result: $result" >&5
8519 echo "${ECHO_T}$result" >&6; }
8524 defaultval
=$wxUSE_ALL_FEATURES
8525 if test -z "$defaultval"; then
8526 if test x
"$enablestring" = xdisable
; then
8533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8534 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8535 # Check whether --enable-threads was given.
8536 if test "${enable_threads+set}" = set; then
8537 enableval
=$enable_threads;
8538 if test "$enableval" = yes; then
8539 wx_cv_use_threads
='wxUSE_THREADS=yes'
8541 wx_cv_use_threads
='wxUSE_THREADS=no'
8546 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8551 eval "$wx_cv_use_threads"
8553 if test x"$enablestring" = xdisable; then
8554 if test $wxUSE_THREADS = no; then
8560 result=$wxUSE_THREADS
8563 { echo "$as_me:$LINENO: result: $result" >&5
8564 echo "${ECHO_T}$result" >&6; }
8570 if test -z "$defaultval"; then
8571 if test x"$enablestring" = xdisable; then
8578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8579 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8580 # Check whether --enable-iniconf was given.
8581 if test "${enable_iniconf+set}" = set; then
8582 enableval=$enable_iniconf;
8583 if test "$enableval" = yes; then
8584 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8586 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8591 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8596 eval "$wx_cv_use_iniconf"
8598 if test x"$enablestring" = xdisable; then
8599 if test $wxUSE_INICONF = no; then
8605 result=$wxUSE_INICONF
8608 { echo "$as_me:$LINENO: result
: $result" >&5
8609 echo "${ECHO_T}$result" >&6; }
8613 defaultval=$wxUSE_ALL_FEATURES
8614 if test -z "$defaultval"; then
8615 if test x"$enablestring" = xdisable; then
8622 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8623 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8624 # Check whether --enable-regkey was given.
8625 if test "${enable_regkey+set}" = set; then
8626 enableval=$enable_regkey;
8627 if test "$enableval" = yes; then
8628 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8630 wx_cv_use_regkey='wxUSE_REGKEY=no'
8635 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8640 eval "$wx_cv_use_regkey"
8642 if test x
"$enablestring" = xdisable
; then
8643 if test $wxUSE_REGKEY = no
; then
8649 result
=$wxUSE_REGKEY
8652 { echo "$as_me:$LINENO: result: $result" >&5
8653 echo "${ECHO_T}$result" >&6; }
8656 if test "$wxUSE_GUI" = "yes"; then
8661 defaultval
=$wxUSE_ALL_FEATURES
8662 if test -z "$defaultval"; then
8663 if test x
"$enablestring" = xdisable
; then
8670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8671 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8672 # Check whether --enable-docview was given.
8673 if test "${enable_docview+set}" = set; then
8674 enableval
=$enable_docview;
8675 if test "$enableval" = yes; then
8676 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8678 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8683 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8688 eval "$wx_cv_use_docview"
8690 if test x"$enablestring" = xdisable; then
8691 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8697 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8700 { echo "$as_me:$LINENO: result: $result" >&5
8701 echo "${ECHO_T}$result" >&6; }
8705 defaultval=$wxUSE_ALL_FEATURES
8706 if test -z "$defaultval"; then
8707 if test x"$enablestring" = xdisable; then
8714 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8715 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8716 # Check whether --enable-help was given.
8717 if test "${enable_help+set}" = set; then
8718 enableval=$enable_help;
8719 if test "$enableval" = yes; then
8720 wx_cv_use_help='wxUSE_HELP
=yes'
8722 wx_cv_use_help='wxUSE_HELP
=no
'
8727 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8732 eval "$wx_cv_use_help"
8734 if test x"$enablestring" = xdisable; then
8735 if test $wxUSE_HELP = no; then
8744 { echo "$as_me:$LINENO: result
: $result" >&5
8745 echo "${ECHO_T}$result" >&6; }
8749 defaultval=$wxUSE_ALL_FEATURES
8750 if test -z "$defaultval"; then
8751 if test x"$enablestring" = xdisable; then
8758 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8759 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8760 # Check whether --enable-mshtmlhelp was given.
8761 if test "${enable_mshtmlhelp+set}" = set; then
8762 enableval=$enable_mshtmlhelp;
8763 if test "$enableval" = yes; then
8764 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8766 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8771 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8776 eval "$wx_cv_use_mshtmlhelp"
8778 if test x
"$enablestring" = xdisable
; then
8779 if test $wxUSE_MS_HTML_HELP = no
; then
8785 result
=$wxUSE_MS_HTML_HELP
8788 { echo "$as_me:$LINENO: result: $result" >&5
8789 echo "${ECHO_T}$result" >&6; }
8793 defaultval
=$wxUSE_ALL_FEATURES
8794 if test -z "$defaultval"; then
8795 if test x
"$enablestring" = xdisable
; then
8802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8803 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8804 # Check whether --enable-html was given.
8805 if test "${enable_html+set}" = set; then
8806 enableval
=$enable_html;
8807 if test "$enableval" = yes; then
8808 wx_cv_use_html
='wxUSE_HTML=yes'
8810 wx_cv_use_html
='wxUSE_HTML=no'
8815 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8820 eval "$wx_cv_use_html"
8822 if test x"$enablestring" = xdisable; then
8823 if test $wxUSE_HTML = no; then
8832 { echo "$as_me:$LINENO: result: $result" >&5
8833 echo "${ECHO_T}$result" >&6; }
8837 defaultval=$wxUSE_ALL_FEATURES
8838 if test -z "$defaultval"; then
8839 if test x"$enablestring" = xdisable; then
8846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8847 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8848 # Check whether --enable-htmlhelp was given.
8849 if test "${enable_htmlhelp+set}" = set; then
8850 enableval=$enable_htmlhelp;
8851 if test "$enableval" = yes; then
8852 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8854 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8859 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8864 eval "$wx_cv_use_htmlhelp"
8866 if test x"$enablestring" = xdisable; then
8867 if test $wxUSE_WXHTML_HELP = no; then
8873 result=$wxUSE_WXHTML_HELP
8876 { echo "$as_me:$LINENO: result
: $result" >&5
8877 echo "${ECHO_T}$result" >&6; }
8881 defaultval=$wxUSE_ALL_FEATURES
8882 if test -z "$defaultval"; then
8883 if test x"$enablestring" = xdisable; then
8890 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8891 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8892 # Check whether --enable-xrc was given.
8893 if test "${enable_xrc+set}" = set; then
8894 enableval=$enable_xrc;
8895 if test "$enableval" = yes; then
8896 wx_cv_use_xrc='wxUSE_XRC=yes'
8898 wx_cv_use_xrc='wxUSE_XRC=no'
8903 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8908 eval "$wx_cv_use_xrc"
8910 if test x
"$enablestring" = xdisable
; then
8911 if test $wxUSE_XRC = no
; then
8920 { echo "$as_me:$LINENO: result: $result" >&5
8921 echo "${ECHO_T}$result" >&6; }
8925 defaultval
=$wxUSE_ALL_FEATURES
8926 if test -z "$defaultval"; then
8927 if test x
"$enablestring" = xdisable
; then
8934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8935 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8936 # Check whether --enable-aui was given.
8937 if test "${enable_aui+set}" = set; then
8938 enableval
=$enable_aui;
8939 if test "$enableval" = yes; then
8940 wx_cv_use_aui
='wxUSE_AUI=yes'
8942 wx_cv_use_aui
='wxUSE_AUI=no'
8947 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8952 eval "$wx_cv_use_aui"
8954 if test x"$enablestring" = xdisable; then
8955 if test $wxUSE_AUI = no; then
8964 { echo "$as_me:$LINENO: result: $result" >&5
8965 echo "${ECHO_T}$result" >&6; }
8969 defaultval=$wxUSE_ALL_FEATURES
8970 if test -z "$defaultval"; then
8971 if test x"$enablestring" = xdisable; then
8978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8980 # Check whether --enable-propgrid was given.
8981 if test "${enable_propgrid+set}" = set; then
8982 enableval=$enable_propgrid;
8983 if test "$enableval" = yes; then
8984 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8986 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8991 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8996 eval "$wx_cv_use_propgrid"
8998 if test x"$enablestring" = xdisable; then
8999 if test $wxUSE_PROPGRID = no; then
9005 result=$wxUSE_PROPGRID
9008 { echo "$as_me:$LINENO: result
: $result" >&5
9009 echo "${ECHO_T}$result" >&6; }
9013 defaultval=$wxUSE_ALL_FEATURES
9014 if test -z "$defaultval"; then
9015 if test x"$enablestring" = xdisable; then
9022 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
9023 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
9024 # Check whether --enable-ribbon was given.
9025 if test "${enable_ribbon+set}" = set; then
9026 enableval=$enable_ribbon;
9027 if test "$enableval" = yes; then
9028 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
9030 wx_cv_use_ribbon='wxUSE_RIBBON=no'
9035 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9040 eval "$wx_cv_use_ribbon"
9042 if test x
"$enablestring" = xdisable
; then
9043 if test $wxUSE_RIBBON = no
; then
9049 result
=$wxUSE_RIBBON
9052 { echo "$as_me:$LINENO: result: $result" >&5
9053 echo "${ECHO_T}$result" >&6; }
9057 defaultval
=$wxUSE_ALL_FEATURES
9058 if test -z "$defaultval"; then
9059 if test x
"$enablestring" = xdisable
; then
9066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9067 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9068 # Check whether --enable-stc was given.
9069 if test "${enable_stc+set}" = set; then
9070 enableval
=$enable_stc;
9071 if test "$enableval" = yes; then
9072 wx_cv_use_stc
='wxUSE_STC=yes'
9074 wx_cv_use_stc
='wxUSE_STC=no'
9079 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9084 eval "$wx_cv_use_stc"
9086 if test x"$enablestring" = xdisable; then
9087 if test $wxUSE_STC = no; then
9096 { echo "$as_me:$LINENO: result: $result" >&5
9097 echo "${ECHO_T}$result" >&6; }
9101 defaultval=$wxUSE_ALL_FEATURES
9102 if test -z "$defaultval"; then
9103 if test x"$enablestring" = xdisable; then
9110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9111 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9112 # Check whether --enable-constraints was given.
9113 if test "${enable_constraints+set}" = set; then
9114 enableval=$enable_constraints;
9115 if test "$enableval" = yes; then
9116 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
9118 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
9123 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9128 eval "$wx_cv_use_constraints"
9130 if test x"$enablestring" = xdisable; then
9131 if test $wxUSE_CONSTRAINTS = no; then
9137 result=$wxUSE_CONSTRAINTS
9140 { echo "$as_me:$LINENO: result
: $result" >&5
9141 echo "${ECHO_T}$result" >&6; }
9145 defaultval=$wxUSE_ALL_FEATURES
9146 if test -z "$defaultval"; then
9147 if test x"$enablestring" = xdisable; then
9154 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
9155 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
9156 # Check whether --enable-loggui was given.
9157 if test "${enable_loggui+set}" = set; then
9158 enableval=$enable_loggui;
9159 if test "$enableval" = yes; then
9160 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9162 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9167 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9172 eval "$wx_cv_use_loggui"
9174 if test x
"$enablestring" = xdisable
; then
9175 if test $wxUSE_LOGGUI = no
; then
9181 result
=$wxUSE_LOGGUI
9184 { echo "$as_me:$LINENO: result: $result" >&5
9185 echo "${ECHO_T}$result" >&6; }
9189 defaultval
=$wxUSE_ALL_FEATURES
9190 if test -z "$defaultval"; then
9191 if test x
"$enablestring" = xdisable
; then
9198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9199 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9200 # Check whether --enable-logwin was given.
9201 if test "${enable_logwin+set}" = set; then
9202 enableval
=$enable_logwin;
9203 if test "$enableval" = yes; then
9204 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
9206 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
9211 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9216 eval "$wx_cv_use_logwin"
9218 if test x"$enablestring" = xdisable; then
9219 if test $wxUSE_LOGWINDOW = no; then
9225 result=$wxUSE_LOGWINDOW
9228 { echo "$as_me:$LINENO: result: $result" >&5
9229 echo "${ECHO_T}$result" >&6; }
9233 defaultval=$wxUSE_ALL_FEATURES
9234 if test -z "$defaultval"; then
9235 if test x"$enablestring" = xdisable; then
9242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9243 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9244 # Check whether --enable-logdialog was given.
9245 if test "${enable_logdialog+set}" = set; then
9246 enableval=$enable_logdialog;
9247 if test "$enableval" = yes; then
9248 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9250 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9255 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9260 eval "$wx_cv_use_logdialog"
9262 if test x"$enablestring" = xdisable; then
9263 if test $wxUSE_LOGDIALOG = no; then
9269 result=$wxUSE_LOGDIALOG
9272 { echo "$as_me:$LINENO: result
: $result" >&5
9273 echo "${ECHO_T}$result" >&6; }
9277 defaultval=$wxUSE_ALL_FEATURES
9278 if test -z "$defaultval"; then
9279 if test x"$enablestring" = xdisable; then
9286 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9287 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9288 # Check whether --enable-mdi was given.
9289 if test "${enable_mdi+set}" = set; then
9290 enableval=$enable_mdi;
9291 if test "$enableval" = yes; then
9292 wx_cv_use_mdi='wxUSE_MDI=yes'
9294 wx_cv_use_mdi='wxUSE_MDI=no'
9299 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9304 eval "$wx_cv_use_mdi"
9306 if test x
"$enablestring" = xdisable
; then
9307 if test $wxUSE_MDI = no
; then
9316 { echo "$as_me:$LINENO: result: $result" >&5
9317 echo "${ECHO_T}$result" >&6; }
9321 defaultval
=$wxUSE_ALL_FEATURES
9322 if test -z "$defaultval"; then
9323 if test x
"$enablestring" = xdisable
; then
9330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9331 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9332 # Check whether --enable-mdidoc was given.
9333 if test "${enable_mdidoc+set}" = set; then
9334 enableval
=$enable_mdidoc;
9335 if test "$enableval" = yes; then
9336 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9338 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9343 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9348 eval "$wx_cv_use_mdidoc"
9350 if test x"$enablestring" = xdisable; then
9351 if test $wxUSE_MDI_ARCHITECTURE = no; then
9357 result=$wxUSE_MDI_ARCHITECTURE
9360 { echo "$as_me:$LINENO: result: $result" >&5
9361 echo "${ECHO_T}$result" >&6; }
9365 defaultval=$wxUSE_ALL_FEATURES
9366 if test -z "$defaultval"; then
9367 if test x"$enablestring" = xdisable; then
9374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9375 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9376 # Check whether --enable-mediactrl was given.
9377 if test "${enable_mediactrl+set}" = set; then
9378 enableval=$enable_mediactrl;
9379 if test "$enableval" = yes; then
9380 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9382 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9387 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9392 eval "$wx_cv_use_mediactrl"
9394 if test x"$enablestring" = xdisable; then
9395 if test $wxUSE_MEDIACTRL = no; then
9401 result=$wxUSE_MEDIACTRL
9404 { echo "$as_me:$LINENO: result
: $result" >&5
9405 echo "${ECHO_T}$result" >&6; }
9409 defaultval=$wxUSE_ALL_FEATURES
9410 if test -z "$defaultval"; then
9411 if test x"$enablestring" = xdisable; then
9418 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9419 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9420 # Check whether --enable-gstreamer8 was given.
9421 if test "${enable_gstreamer8+set}" = set; then
9422 enableval=$enable_gstreamer8;
9423 if test "$enableval" = yes; then
9424 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9426 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9431 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9436 eval "$wx_cv_use_gstreamer8"
9438 if test x
"$enablestring" = xdisable
; then
9439 if test $wxUSE_GSTREAMER8 = no
; then
9445 result
=$wxUSE_GSTREAMER8
9448 { echo "$as_me:$LINENO: result: $result" >&5
9449 echo "${ECHO_T}$result" >&6; }
9453 defaultval
=$wxUSE_ALL_FEATURES
9454 if test -z "$defaultval"; then
9455 if test x
"$enablestring" = xdisable
; then
9462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9463 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9464 # Check whether --enable-richtext was given.
9465 if test "${enable_richtext+set}" = set; then
9466 enableval
=$enable_richtext;
9467 if test "$enableval" = yes; then
9468 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
9470 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
9475 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9480 eval "$wx_cv_use_richtext"
9482 if test x"$enablestring" = xdisable; then
9483 if test $wxUSE_RICHTEXT = no; then
9489 result=$wxUSE_RICHTEXT
9492 { echo "$as_me:$LINENO: result: $result" >&5
9493 echo "${ECHO_T}$result" >&6; }
9497 defaultval=$wxUSE_ALL_FEATURES
9498 if test -z "$defaultval"; then
9499 if test x"$enablestring" = xdisable; then
9506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9507 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9508 # Check whether --enable-postscript was given.
9509 if test "${enable_postscript+set}" = set; then
9510 enableval=$enable_postscript;
9511 if test "$enableval" = yes; then
9512 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9514 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9519 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9524 eval "$wx_cv_use_postscript"
9526 if test x"$enablestring" = xdisable; then
9527 if test $wxUSE_POSTSCRIPT = no; then
9533 result=$wxUSE_POSTSCRIPT
9536 { echo "$as_me:$LINENO: result
: $result" >&5
9537 echo "${ECHO_T}$result" >&6; }
9541 defaultval=$wxUSE_ALL_FEATURES
9542 if test -z "$defaultval"; then
9543 if test x"$enablestring" = xdisable; then
9550 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
9551 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
9552 # Check whether --enable-printarch was given.
9553 if test "${enable_printarch+set}" = set; then
9554 enableval=$enable_printarch;
9555 if test "$enableval" = yes; then
9556 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9558 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9563 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9568 eval "$wx_cv_use_printarch"
9570 if test x
"$enablestring" = xdisable
; then
9571 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
9577 result
=$wxUSE_PRINTING_ARCHITECTURE
9580 { echo "$as_me:$LINENO: result: $result" >&5
9581 echo "${ECHO_T}$result" >&6; }
9585 defaultval
=$wxUSE_ALL_FEATURES
9586 if test -z "$defaultval"; then
9587 if test x
"$enablestring" = xdisable
; then
9594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9595 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9596 # Check whether --enable-svg was given.
9597 if test "${enable_svg+set}" = set; then
9598 enableval
=$enable_svg;
9599 if test "$enableval" = yes; then
9600 wx_cv_use_svg
='wxUSE_SVG=yes'
9602 wx_cv_use_svg
='wxUSE_SVG=no'
9607 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9612 eval "$wx_cv_use_svg"
9614 if test x"$enablestring" = xdisable; then
9615 if test $wxUSE_SVG = no; then
9624 { echo "$as_me:$LINENO: result: $result" >&5
9625 echo "${ECHO_T}$result" >&6; }
9629 defaultval=$wxUSE_ALL_FEATURES
9630 if test -z "$defaultval"; then
9631 if test x"$enablestring" = xdisable; then
9638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9639 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9640 # Check whether --enable-webkit was given.
9641 if test "${enable_webkit+set}" = set; then
9642 enableval=$enable_webkit;
9643 if test "$enableval" = yes; then
9644 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9646 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9651 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9656 eval "$wx_cv_use_webkit"
9658 if test x"$enablestring" = xdisable; then
9659 if test $wxUSE_WEBKIT = no; then
9665 result=$wxUSE_WEBKIT
9668 { echo "$as_me:$LINENO: result
: $result" >&5
9669 echo "${ECHO_T}$result" >&6; }
9673 defaultval=$wxUSE_ALL_FEATURES
9674 if test -z "$defaultval"; then
9675 if test x"$enablestring" = xdisable; then
9682 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webview" >&5
9683 echo $ECHO_N "checking
for --${enablestring:-enable}-webview...
$ECHO_C" >&6; }
9684 # Check whether --enable-webview was given.
9685 if test "${enable_webview+set}" = set; then
9686 enableval=$enable_webview;
9687 if test "$enableval" = yes; then
9688 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9690 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9695 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9700 eval "$wx_cv_use_webview"
9702 if test x
"$enablestring" = xdisable
; then
9703 if test $wxUSE_WEBVIEW = no
; then
9709 result
=$wxUSE_WEBVIEW
9712 { echo "$as_me:$LINENO: result: $result" >&5
9713 echo "${ECHO_T}$result" >&6; }
9716 if test "$wxUSE_MAC" != 1; then
9719 defaultval
=$wxUSE_ALL_FEATURES
9720 if test -z "$defaultval"; then
9721 if test x
"$enablestring" = xdisable
; then
9728 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9729 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9730 # Check whether --enable-graphics_ctx was given.
9731 if test "${enable_graphics_ctx+set}" = set; then
9732 enableval
=$enable_graphics_ctx;
9733 if test "$enableval" = yes; then
9734 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9736 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9741 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9746 eval "$wx_cv_use_graphics_ctx"
9748 if test x"$enablestring" = xdisable; then
9749 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9755 result=$wxUSE_GRAPHICS_CONTEXT
9758 { echo "$as_me:$LINENO: result: $result" >&5
9759 echo "${ECHO_T}$result" >&6; }
9766 defaultval=$wxUSE_ALL_FEATURES
9767 if test -z "$defaultval"; then
9768 if test x"$enablestring" = xdisable; then
9775 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9776 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9777 # Check whether --enable-clipboard was given.
9778 if test "${enable_clipboard+set}" = set; then
9779 enableval=$enable_clipboard;
9780 if test "$enableval" = yes; then
9781 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9783 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9788 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9793 eval "$wx_cv_use_clipboard"
9795 if test x"$enablestring" = xdisable; then
9796 if test $wxUSE_CLIPBOARD = no; then
9802 result=$wxUSE_CLIPBOARD
9805 { echo "$as_me:$LINENO: result
: $result" >&5
9806 echo "${ECHO_T}$result" >&6; }
9810 defaultval=$wxUSE_ALL_FEATURES
9811 if test -z "$defaultval"; then
9812 if test x"$enablestring" = xdisable; then
9819 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9820 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9821 # Check whether --enable-dnd was given.
9822 if test "${enable_dnd+set}" = set; then
9823 enableval=$enable_dnd;
9824 if test "$enableval" = yes; then
9825 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9827 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9832 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9837 eval "$wx_cv_use_dnd"
9839 if test x
"$enablestring" = xdisable
; then
9840 if test $wxUSE_DRAG_AND_DROP = no
; then
9846 result
=$wxUSE_DRAG_AND_DROP
9849 { echo "$as_me:$LINENO: result: $result" >&5
9850 echo "${ECHO_T}$result" >&6; }
9854 DEFAULT_wxUSE_CONTROLS
=none
9856 enablestring
=disable
9858 if test -z "$defaultval"; then
9859 if test x
"$enablestring" = xdisable
; then
9866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9867 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9868 # Check whether --enable-controls was given.
9869 if test "${enable_controls+set}" = set; then
9870 enableval
=$enable_controls;
9871 if test "$enableval" = yes; then
9872 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9874 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9879 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9884 eval "$wx_cv_use_controls"
9886 if test x"$enablestring" = xdisable; then
9887 if test $wxUSE_CONTROLS = no; then
9893 result=$wxUSE_CONTROLS
9896 { echo "$as_me:$LINENO: result: $result" >&5
9897 echo "${ECHO_T}$result" >&6; }
9900 if test "$wxUSE_CONTROLS" = "no"; then
9901 DEFAULT_wxUSE_ACCEL=no
9902 DEFAULT_wxUSE_ANIMATIONCTRL=no
9903 DEFAULT_wxUSE_BANNERWINDOW=no
9904 DEFAULT_wxUSE_BMPBUTTON=no
9905 DEFAULT_wxUSE_BUTTON=no
9906 DEFAULT_wxUSE_CALCTRL=no
9907 DEFAULT_wxUSE_CARET=no
9908 DEFAULT_wxUSE_CHECKBOX=no
9909 DEFAULT_wxUSE_CHECKLISTBOX=no
9910 DEFAULT_wxUSE_CHOICE=no
9911 DEFAULT_wxUSE_CHOICEBOOK=no
9912 DEFAULT_wxUSE_COLLPANE=no
9913 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9914 DEFAULT_wxUSE_COMBOBOX=no
9915 DEFAULT_wxUSE_COMBOBOX=no
9916 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9917 DEFAULT_wxUSE_DATAVIEWCTRL=no
9918 DEFAULT_wxUSE_DATEPICKCTRL=no
9919 DEFAULT_wxUSE_DETECT_SM=no
9920 DEFAULT_wxUSE_DIRPICKERCTRL=no
9921 DEFAULT_wxUSE_DISPLAY=no
9922 DEFAULT_wxUSE_FILECTRL=no
9923 DEFAULT_wxUSE_FILEPICKERCTRL=no
9924 DEFAULT_wxUSE_FONTPICKERCTRL=no
9925 DEFAULT_wxUSE_GAUGE=no
9926 DEFAULT_wxUSE_GRID=no
9927 DEFAULT_wxUSE_HEADERCTRL=no
9928 DEFAULT_wxUSE_HYPERLINKCTRL=no
9929 DEFAULT_wxUSE_IMAGLIST=no
9930 DEFAULT_wxUSE_LISTBOOK=no
9931 DEFAULT_wxUSE_LISTBOX=no
9932 DEFAULT_wxUSE_LISTCTRL=no
9933 DEFAULT_wxUSE_MARKUP=no
9934 DEFAULT_wxUSE_NOTEBOOK=no
9935 DEFAULT_wxUSE_POPUPWIN=no
9936 DEFAULT_wxUSE_RADIOBOX=no
9937 DEFAULT_wxUSE_RADIOBTN=no
9938 DEFAULT_wxUSE_RICHMSGDLG=no
9939 DEFAULT_wxUSE_RICHTOOLTIP=no
9940 DEFAULT_wxUSE_REARRANGECTRL=no
9941 DEFAULT_wxUSE_SASH=no
9942 DEFAULT_wxUSE_SCROLLBAR=no
9943 DEFAULT_wxUSE_SEARCHCTRL=no
9944 DEFAULT_wxUSE_SLIDER=no
9945 DEFAULT_wxUSE_SPINBTN=no
9946 DEFAULT_wxUSE_SPINCTRL=no
9947 DEFAULT_wxUSE_SPLITTER=no
9948 DEFAULT_wxUSE_STATBMP=no
9949 DEFAULT_wxUSE_STATBOX=no
9950 DEFAULT_wxUSE_STATLINE=no
9951 DEFAULT_wxUSE_STATUSBAR=no
9952 DEFAULT_wxUSE_TIMEPICKCTRL=no
9953 DEFAULT_wxUSE_TIPWINDOW=no
9954 DEFAULT_wxUSE_TOGGLEBTN=no
9955 DEFAULT_wxUSE_TOOLBAR=no
9956 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9957 DEFAULT_wxUSE_TOOLBOOK=no
9958 DEFAULT_wxUSE_TOOLTIPS=no
9959 DEFAULT_wxUSE_TREEBOOK=no
9960 DEFAULT_wxUSE_TREECTRL=no
9961 DEFAULT_wxUSE_TREELISTCTRL=no
9966 defaultval=$wxUSE_ALL_FEATURES
9967 if test -z "$defaultval"; then
9968 if test x"$enablestring" = xdisable; then
9975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9976 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9977 # Check whether --enable-markup was given.
9978 if test "${enable_markup+set}" = set; then
9979 enableval=$enable_markup;
9980 if test "$enableval" = yes; then
9981 wx_cv_use_markup='wxUSE_MARKUP
=yes'
9983 wx_cv_use_markup='wxUSE_MARKUP
=no
'
9988 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9993 eval "$wx_cv_use_markup"
9995 if test x"$enablestring" = xdisable; then
9996 if test $wxUSE_MARKUP = no; then
10002 result=$wxUSE_MARKUP
10005 { echo "$as_me:$LINENO: result
: $result" >&5
10006 echo "${ECHO_T}$result" >&6; }
10011 defaultval=$wxUSE_ALL_FEATURES
10012 if test -z "$defaultval"; then
10013 if test x"$enablestring" = xdisable; then
10020 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
10021 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
10022 # Check whether --enable-accel was given.
10023 if test "${enable_accel+set}" = set; then
10024 enableval=$enable_accel;
10025 if test "$enableval" = yes; then
10026 wx_cv_use_accel='wxUSE_ACCEL=yes'
10028 wx_cv_use_accel='wxUSE_ACCEL=no'
10033 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10038 eval "$wx_cv_use_accel"
10040 if test x
"$enablestring" = xdisable
; then
10041 if test $wxUSE_ACCEL = no
; then
10047 result
=$wxUSE_ACCEL
10050 { echo "$as_me:$LINENO: result: $result" >&5
10051 echo "${ECHO_T}$result" >&6; }
10055 defaultval
=$wxUSE_ALL_FEATURES
10056 if test -z "$defaultval"; then
10057 if test x
"$enablestring" = xdisable
; then
10064 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10065 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10066 # Check whether --enable-animatectrl was given.
10067 if test "${enable_animatectrl+set}" = set; then
10068 enableval
=$enable_animatectrl;
10069 if test "$enableval" = yes; then
10070 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
10072 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
10077 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10082 eval "$wx_cv_use_animatectrl"
10084 if test x"$enablestring" = xdisable; then
10085 if test $wxUSE_ANIMATIONCTRL = no; then
10091 result=$wxUSE_ANIMATIONCTRL
10094 { echo "$as_me:$LINENO: result: $result" >&5
10095 echo "${ECHO_T}$result" >&6; }
10099 defaultval=$wxUSE_ALL_FEATURES
10100 if test -z "$defaultval"; then
10101 if test x"$enablestring" = xdisable; then
10108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10109 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10110 # Check whether --enable-bannerwindow was given.
10111 if test "${enable_bannerwindow+set}" = set; then
10112 enableval=$enable_bannerwindow;
10113 if test "$enableval" = yes; then
10114 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
10116 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
10121 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10126 eval "$wx_cv_use_bannerwindow"
10128 if test x"$enablestring" = xdisable; then
10129 if test $wxUSE_BANNERWINDOW = no; then
10135 result=$wxUSE_BANNERWINDOW
10138 { echo "$as_me:$LINENO: result
: $result" >&5
10139 echo "${ECHO_T}$result" >&6; }
10143 defaultval=$wxUSE_ALL_FEATURES
10144 if test -z "$defaultval"; then
10145 if test x"$enablestring" = xdisable; then
10152 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-artstd" >&5
10153 echo $ECHO_N "checking
for --${enablestring:-enable}-artstd...
$ECHO_C" >&6; }
10154 # Check whether --enable-artstd was given.
10155 if test "${enable_artstd+set}" = set; then
10156 enableval=$enable_artstd;
10157 if test "$enableval" = yes; then
10158 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10160 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10165 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10170 eval "$wx_cv_use_artstd"
10172 if test x
"$enablestring" = xdisable
; then
10173 if test $wxUSE_ARTPROVIDER_STD = no
; then
10179 result
=$wxUSE_ARTPROVIDER_STD
10182 { echo "$as_me:$LINENO: result: $result" >&5
10183 echo "${ECHO_T}$result" >&6; }
10187 defaultval
=$wxUSE_ALL_FEATURES
10188 if test -z "$defaultval"; then
10189 if test x
"$enablestring" = xdisable
; then
10196 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10198 # Check whether --enable-arttango was given.
10199 if test "${enable_arttango+set}" = set; then
10200 enableval
=$enable_arttango;
10201 if test "$enableval" = yes; then
10202 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
10204 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
10209 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10214 eval "$wx_cv_use_arttango"
10216 if test x"$enablestring" = xdisable; then
10217 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10223 result=$wxUSE_ARTPROVIDER_TANGO
10226 { echo "$as_me:$LINENO: result: $result" >&5
10227 echo "${ECHO_T}$result" >&6; }
10231 defaultval=$wxUSE_ALL_FEATURES
10232 if test -z "$defaultval"; then
10233 if test x"$enablestring" = xdisable; then
10240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10241 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10242 # Check whether --enable-bmpbutton was given.
10243 if test "${enable_bmpbutton+set}" = set; then
10244 enableval=$enable_bmpbutton;
10245 if test "$enableval" = yes; then
10246 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
10248 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
10253 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10258 eval "$wx_cv_use_bmpbutton"
10260 if test x"$enablestring" = xdisable; then
10261 if test $wxUSE_BMPBUTTON = no; then
10267 result=$wxUSE_BMPBUTTON
10270 { echo "$as_me:$LINENO: result
: $result" >&5
10271 echo "${ECHO_T}$result" >&6; }
10275 defaultval=$wxUSE_ALL_FEATURES
10276 if test -z "$defaultval"; then
10277 if test x"$enablestring" = xdisable; then
10284 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
10285 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
10286 # Check whether --enable-bmpcombobox was given.
10287 if test "${enable_bmpcombobox+set}" = set; then
10288 enableval=$enable_bmpcombobox;
10289 if test "$enableval" = yes; then
10290 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10292 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10297 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10302 eval "$wx_cv_use_bmpcombobox"
10304 if test x
"$enablestring" = xdisable
; then
10305 if test $wxUSE_BITMAPCOMBOBOX = no
; then
10311 result
=$wxUSE_BITMAPCOMBOBOX
10314 { echo "$as_me:$LINENO: result: $result" >&5
10315 echo "${ECHO_T}$result" >&6; }
10319 defaultval
=$wxUSE_ALL_FEATURES
10320 if test -z "$defaultval"; then
10321 if test x
"$enablestring" = xdisable
; then
10328 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10330 # Check whether --enable-button was given.
10331 if test "${enable_button+set}" = set; then
10332 enableval
=$enable_button;
10333 if test "$enableval" = yes; then
10334 wx_cv_use_button
='wxUSE_BUTTON=yes'
10336 wx_cv_use_button
='wxUSE_BUTTON=no'
10341 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10346 eval "$wx_cv_use_button"
10348 if test x"$enablestring" = xdisable; then
10349 if test $wxUSE_BUTTON = no; then
10355 result=$wxUSE_BUTTON
10358 { echo "$as_me:$LINENO: result: $result" >&5
10359 echo "${ECHO_T}$result" >&6; }
10363 defaultval=$wxUSE_ALL_FEATURES
10364 if test -z "$defaultval"; then
10365 if test x"$enablestring" = xdisable; then
10372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10373 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10374 # Check whether --enable-calendar was given.
10375 if test "${enable_calendar+set}" = set; then
10376 enableval=$enable_calendar;
10377 if test "$enableval" = yes; then
10378 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10380 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10385 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10390 eval "$wx_cv_use_calendar"
10392 if test x"$enablestring" = xdisable; then
10393 if test $wxUSE_CALCTRL = no; then
10399 result=$wxUSE_CALCTRL
10402 { echo "$as_me:$LINENO: result
: $result" >&5
10403 echo "${ECHO_T}$result" >&6; }
10407 defaultval=$wxUSE_ALL_FEATURES
10408 if test -z "$defaultval"; then
10409 if test x"$enablestring" = xdisable; then
10416 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10417 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10418 # Check whether --enable-caret was given.
10419 if test "${enable_caret+set}" = set; then
10420 enableval=$enable_caret;
10421 if test "$enableval" = yes; then
10422 wx_cv_use_caret='wxUSE_CARET=yes'
10424 wx_cv_use_caret='wxUSE_CARET=no'
10429 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10434 eval "$wx_cv_use_caret"
10436 if test x
"$enablestring" = xdisable
; then
10437 if test $wxUSE_CARET = no
; then
10443 result
=$wxUSE_CARET
10446 { echo "$as_me:$LINENO: result: $result" >&5
10447 echo "${ECHO_T}$result" >&6; }
10451 defaultval
=$wxUSE_ALL_FEATURES
10452 if test -z "$defaultval"; then
10453 if test x
"$enablestring" = xdisable
; then
10460 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10461 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10462 # Check whether --enable-checkbox was given.
10463 if test "${enable_checkbox+set}" = set; then
10464 enableval
=$enable_checkbox;
10465 if test "$enableval" = yes; then
10466 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10468 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10473 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10478 eval "$wx_cv_use_checkbox"
10480 if test x"$enablestring" = xdisable; then
10481 if test $wxUSE_CHECKBOX = no; then
10487 result=$wxUSE_CHECKBOX
10490 { echo "$as_me:$LINENO: result: $result" >&5
10491 echo "${ECHO_T}$result" >&6; }
10495 defaultval=$wxUSE_ALL_FEATURES
10496 if test -z "$defaultval"; then
10497 if test x"$enablestring" = xdisable; then
10504 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10505 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10506 # Check whether --enable-checklst was given.
10507 if test "${enable_checklst+set}" = set; then
10508 enableval=$enable_checklst;
10509 if test "$enableval" = yes; then
10510 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10512 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10517 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10522 eval "$wx_cv_use_checklst"
10524 if test x"$enablestring" = xdisable; then
10525 if test $wxUSE_CHECKLST = no; then
10531 result=$wxUSE_CHECKLST
10534 { echo "$as_me:$LINENO: result
: $result" >&5
10535 echo "${ECHO_T}$result" >&6; }
10539 defaultval=$wxUSE_ALL_FEATURES
10540 if test -z "$defaultval"; then
10541 if test x"$enablestring" = xdisable; then
10548 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10549 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10550 # Check whether --enable-choice was given.
10551 if test "${enable_choice+set}" = set; then
10552 enableval=$enable_choice;
10553 if test "$enableval" = yes; then
10554 wx_cv_use_choice='wxUSE_CHOICE=yes'
10556 wx_cv_use_choice='wxUSE_CHOICE=no'
10561 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10566 eval "$wx_cv_use_choice"
10568 if test x
"$enablestring" = xdisable
; then
10569 if test $wxUSE_CHOICE = no
; then
10575 result
=$wxUSE_CHOICE
10578 { echo "$as_me:$LINENO: result: $result" >&5
10579 echo "${ECHO_T}$result" >&6; }
10583 defaultval
=$wxUSE_ALL_FEATURES
10584 if test -z "$defaultval"; then
10585 if test x
"$enablestring" = xdisable
; then
10592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10593 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10594 # Check whether --enable-choicebook was given.
10595 if test "${enable_choicebook+set}" = set; then
10596 enableval
=$enable_choicebook;
10597 if test "$enableval" = yes; then
10598 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10600 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10605 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10610 eval "$wx_cv_use_choicebook"
10612 if test x"$enablestring" = xdisable; then
10613 if test $wxUSE_CHOICEBOOK = no; then
10619 result=$wxUSE_CHOICEBOOK
10622 { echo "$as_me:$LINENO: result: $result" >&5
10623 echo "${ECHO_T}$result" >&6; }
10627 defaultval=$wxUSE_ALL_FEATURES
10628 if test -z "$defaultval"; then
10629 if test x"$enablestring" = xdisable; then
10636 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10637 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10638 # Check whether --enable-collpane was given.
10639 if test "${enable_collpane+set}" = set; then
10640 enableval=$enable_collpane;
10641 if test "$enableval" = yes; then
10642 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10644 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10649 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10654 eval "$wx_cv_use_collpane"
10656 if test x"$enablestring" = xdisable; then
10657 if test $wxUSE_COLLPANE = no; then
10663 result=$wxUSE_COLLPANE
10666 { echo "$as_me:$LINENO: result
: $result" >&5
10667 echo "${ECHO_T}$result" >&6; }
10671 defaultval=$wxUSE_ALL_FEATURES
10672 if test -z "$defaultval"; then
10673 if test x"$enablestring" = xdisable; then
10680 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10681 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10682 # Check whether --enable-colourpicker was given.
10683 if test "${enable_colourpicker+set}" = set; then
10684 enableval=$enable_colourpicker;
10685 if test "$enableval" = yes; then
10686 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10688 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10693 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10698 eval "$wx_cv_use_colourpicker"
10700 if test x
"$enablestring" = xdisable
; then
10701 if test $wxUSE_COLOURPICKERCTRL = no
; then
10707 result
=$wxUSE_COLOURPICKERCTRL
10710 { echo "$as_me:$LINENO: result: $result" >&5
10711 echo "${ECHO_T}$result" >&6; }
10715 defaultval
=$wxUSE_ALL_FEATURES
10716 if test -z "$defaultval"; then
10717 if test x
"$enablestring" = xdisable
; then
10724 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10725 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10726 # Check whether --enable-combobox was given.
10727 if test "${enable_combobox+set}" = set; then
10728 enableval
=$enable_combobox;
10729 if test "$enableval" = yes; then
10730 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10732 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10737 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10742 eval "$wx_cv_use_combobox"
10744 if test x"$enablestring" = xdisable; then
10745 if test $wxUSE_COMBOBOX = no; then
10751 result=$wxUSE_COMBOBOX
10754 { echo "$as_me:$LINENO: result: $result" >&5
10755 echo "${ECHO_T}$result" >&6; }
10759 defaultval=$wxUSE_ALL_FEATURES
10760 if test -z "$defaultval"; then
10761 if test x"$enablestring" = xdisable; then
10768 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10769 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10770 # Check whether --enable-comboctrl was given.
10771 if test "${enable_comboctrl+set}" = set; then
10772 enableval=$enable_comboctrl;
10773 if test "$enableval" = yes; then
10774 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10776 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10781 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10786 eval "$wx_cv_use_comboctrl"
10788 if test x"$enablestring" = xdisable; then
10789 if test $wxUSE_COMBOCTRL = no; then
10795 result=$wxUSE_COMBOCTRL
10798 { echo "$as_me:$LINENO: result
: $result" >&5
10799 echo "${ECHO_T}$result" >&6; }
10803 defaultval=$wxUSE_ALL_FEATURES
10804 if test -z "$defaultval"; then
10805 if test x"$enablestring" = xdisable; then
10812 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
10813 echo $ECHO_N "checking
for --${enablestring:-enable}-commandlinkbutton...
$ECHO_C" >&6; }
10814 # Check whether --enable-commandlinkbutton was given.
10815 if test "${enable_commandlinkbutton+set}" = set; then
10816 enableval=$enable_commandlinkbutton;
10817 if test "$enableval" = yes; then
10818 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10820 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10825 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10830 eval "$wx_cv_use_commandlinkbutton"
10832 if test x
"$enablestring" = xdisable
; then
10833 if test $wxUSE_COMMANDLINKBUTTON = no
; then
10839 result
=$wxUSE_COMMANDLINKBUTTON
10842 { echo "$as_me:$LINENO: result: $result" >&5
10843 echo "${ECHO_T}$result" >&6; }
10847 defaultval
=$wxUSE_ALL_FEATURES
10848 if test -z "$defaultval"; then
10849 if test x
"$enablestring" = xdisable
; then
10856 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10858 # Check whether --enable-dataviewctrl was given.
10859 if test "${enable_dataviewctrl+set}" = set; then
10860 enableval
=$enable_dataviewctrl;
10861 if test "$enableval" = yes; then
10862 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10864 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10869 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10874 eval "$wx_cv_use_dataviewctrl"
10876 if test x"$enablestring" = xdisable; then
10877 if test $wxUSE_DATAVIEWCTRL = no; then
10883 result=$wxUSE_DATAVIEWCTRL
10886 { echo "$as_me:$LINENO: result: $result" >&5
10887 echo "${ECHO_T}$result" >&6; }
10891 defaultval=$wxUSE_ALL_FEATURES
10892 if test -z "$defaultval"; then
10893 if test x"$enablestring" = xdisable; then
10900 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10901 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10902 # Check whether --enable-datepick was given.
10903 if test "${enable_datepick+set}" = set; then
10904 enableval=$enable_datepick;
10905 if test "$enableval" = yes; then
10906 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10908 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10913 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10918 eval "$wx_cv_use_datepick"
10920 if test x"$enablestring" = xdisable; then
10921 if test $wxUSE_DATEPICKCTRL = no; then
10927 result=$wxUSE_DATEPICKCTRL
10930 { echo "$as_me:$LINENO: result
: $result" >&5
10931 echo "${ECHO_T}$result" >&6; }
10935 defaultval=$wxUSE_ALL_FEATURES
10936 if test -z "$defaultval"; then
10937 if test x"$enablestring" = xdisable; then
10944 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10945 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10946 # Check whether --enable-detect_sm was given.
10947 if test "${enable_detect_sm+set}" = set; then
10948 enableval=$enable_detect_sm;
10949 if test "$enableval" = yes; then
10950 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10952 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10957 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10962 eval "$wx_cv_use_detect_sm"
10964 if test x
"$enablestring" = xdisable
; then
10965 if test $wxUSE_DETECT_SM = no
; then
10971 result
=$wxUSE_DETECT_SM
10974 { echo "$as_me:$LINENO: result: $result" >&5
10975 echo "${ECHO_T}$result" >&6; }
10979 defaultval
=$wxUSE_ALL_FEATURES
10980 if test -z "$defaultval"; then
10981 if test x
"$enablestring" = xdisable
; then
10988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10989 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10990 # Check whether --enable-dirpicker was given.
10991 if test "${enable_dirpicker+set}" = set; then
10992 enableval
=$enable_dirpicker;
10993 if test "$enableval" = yes; then
10994 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10996 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
11001 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
11006 eval "$wx_cv_use_dirpicker"
11008 if test x"$enablestring" = xdisable; then
11009 if test $wxUSE_DIRPICKERCTRL = no; then
11015 result=$wxUSE_DIRPICKERCTRL
11018 { echo "$as_me:$LINENO: result: $result" >&5
11019 echo "${ECHO_T}$result" >&6; }
11023 defaultval=$wxUSE_ALL_FEATURES
11024 if test -z "$defaultval"; then
11025 if test x"$enablestring" = xdisable; then
11032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
11033 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
11034 # Check whether --enable-display was given.
11035 if test "${enable_display+set}" = set; then
11036 enableval=$enable_display;
11037 if test "$enableval" = yes; then
11038 wx_cv_use_display='wxUSE_DISPLAY
=yes'
11040 wx_cv_use_display='wxUSE_DISPLAY
=no
'
11045 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11050 eval "$wx_cv_use_display"
11052 if test x"$enablestring" = xdisable; then
11053 if test $wxUSE_DISPLAY = no; then
11059 result=$wxUSE_DISPLAY
11062 { echo "$as_me:$LINENO: result
: $result" >&5
11063 echo "${ECHO_T}$result" >&6; }
11067 defaultval=$wxUSE_ALL_FEATURES
11068 if test -z "$defaultval"; then
11069 if test x"$enablestring" = xdisable; then
11076 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
11077 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
11078 # Check whether --enable-editablebox was given.
11079 if test "${enable_editablebox+set}" = set; then
11080 enableval=$enable_editablebox;
11081 if test "$enableval" = yes; then
11082 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11084 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11089 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11094 eval "$wx_cv_use_editablebox"
11096 if test x
"$enablestring" = xdisable
; then
11097 if test $wxUSE_EDITABLELISTBOX = no
; then
11103 result
=$wxUSE_EDITABLELISTBOX
11106 { echo "$as_me:$LINENO: result: $result" >&5
11107 echo "${ECHO_T}$result" >&6; }
11111 defaultval
=$wxUSE_ALL_FEATURES
11112 if test -z "$defaultval"; then
11113 if test x
"$enablestring" = xdisable
; then
11120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11121 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11122 # Check whether --enable-filectrl was given.
11123 if test "${enable_filectrl+set}" = set; then
11124 enableval
=$enable_filectrl;
11125 if test "$enableval" = yes; then
11126 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
11128 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
11133 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11138 eval "$wx_cv_use_filectrl"
11140 if test x"$enablestring" = xdisable; then
11141 if test $wxUSE_FILECTRL = no; then
11147 result=$wxUSE_FILECTRL
11150 { echo "$as_me:$LINENO: result: $result" >&5
11151 echo "${ECHO_T}$result" >&6; }
11155 defaultval=$wxUSE_ALL_FEATURES
11156 if test -z "$defaultval"; then
11157 if test x"$enablestring" = xdisable; then
11164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11165 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11166 # Check whether --enable-filepicker was given.
11167 if test "${enable_filepicker+set}" = set; then
11168 enableval=$enable_filepicker;
11169 if test "$enableval" = yes; then
11170 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
11172 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
11177 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11182 eval "$wx_cv_use_filepicker"
11184 if test x"$enablestring" = xdisable; then
11185 if test $wxUSE_FILEPICKERCTRL = no; then
11191 result=$wxUSE_FILEPICKERCTRL
11194 { echo "$as_me:$LINENO: result
: $result" >&5
11195 echo "${ECHO_T}$result" >&6; }
11199 defaultval=$wxUSE_ALL_FEATURES
11200 if test -z "$defaultval"; then
11201 if test x"$enablestring" = xdisable; then
11208 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
11209 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
11210 # Check whether --enable-fontpicker was given.
11211 if test "${enable_fontpicker+set}" = set; then
11212 enableval=$enable_fontpicker;
11213 if test "$enableval" = yes; then
11214 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11216 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11221 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11226 eval "$wx_cv_use_fontpicker"
11228 if test x
"$enablestring" = xdisable
; then
11229 if test $wxUSE_FONTPICKERCTRL = no
; then
11235 result
=$wxUSE_FONTPICKERCTRL
11238 { echo "$as_me:$LINENO: result: $result" >&5
11239 echo "${ECHO_T}$result" >&6; }
11243 defaultval
=$wxUSE_ALL_FEATURES
11244 if test -z "$defaultval"; then
11245 if test x
"$enablestring" = xdisable
; then
11252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11253 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11254 # Check whether --enable-gauge was given.
11255 if test "${enable_gauge+set}" = set; then
11256 enableval
=$enable_gauge;
11257 if test "$enableval" = yes; then
11258 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
11260 wx_cv_use_gauge
='wxUSE_GAUGE=no'
11265 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11270 eval "$wx_cv_use_gauge"
11272 if test x"$enablestring" = xdisable; then
11273 if test $wxUSE_GAUGE = no; then
11279 result=$wxUSE_GAUGE
11282 { echo "$as_me:$LINENO: result: $result" >&5
11283 echo "${ECHO_T}$result" >&6; }
11287 defaultval=$wxUSE_ALL_FEATURES
11288 if test -z "$defaultval"; then
11289 if test x"$enablestring" = xdisable; then
11296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11297 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11298 # Check whether --enable-grid was given.
11299 if test "${enable_grid+set}" = set; then
11300 enableval=$enable_grid;
11301 if test "$enableval" = yes; then
11302 wx_cv_use_grid='wxUSE_GRID
=yes'
11304 wx_cv_use_grid='wxUSE_GRID
=no
'
11309 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11314 eval "$wx_cv_use_grid"
11316 if test x"$enablestring" = xdisable; then
11317 if test $wxUSE_GRID = no; then
11326 { echo "$as_me:$LINENO: result
: $result" >&5
11327 echo "${ECHO_T}$result" >&6; }
11331 defaultval=$wxUSE_ALL_FEATURES
11332 if test -z "$defaultval"; then
11333 if test x"$enablestring" = xdisable; then
11340 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
11341 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
11342 # Check whether --enable-headerctrl was given.
11343 if test "${enable_headerctrl+set}" = set; then
11344 enableval=$enable_headerctrl;
11345 if test "$enableval" = yes; then
11346 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11348 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11353 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11358 eval "$wx_cv_use_headerctrl"
11360 if test x
"$enablestring" = xdisable
; then
11361 if test $wxUSE_HEADERCTRL = no
; then
11367 result
=$wxUSE_HEADERCTRL
11370 { echo "$as_me:$LINENO: result: $result" >&5
11371 echo "${ECHO_T}$result" >&6; }
11375 defaultval
=$wxUSE_ALL_FEATURES
11376 if test -z "$defaultval"; then
11377 if test x
"$enablestring" = xdisable
; then
11384 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11385 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11386 # Check whether --enable-hyperlink was given.
11387 if test "${enable_hyperlink+set}" = set; then
11388 enableval
=$enable_hyperlink;
11389 if test "$enableval" = yes; then
11390 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
11392 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
11397 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11402 eval "$wx_cv_use_hyperlink"
11404 if test x"$enablestring" = xdisable; then
11405 if test $wxUSE_HYPERLINKCTRL = no; then
11411 result=$wxUSE_HYPERLINKCTRL
11414 { echo "$as_me:$LINENO: result: $result" >&5
11415 echo "${ECHO_T}$result" >&6; }
11419 defaultval=$wxUSE_ALL_FEATURES
11420 if test -z "$defaultval"; then
11421 if test x"$enablestring" = xdisable; then
11428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11429 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11430 # Check whether --enable-imaglist was given.
11431 if test "${enable_imaglist+set}" = set; then
11432 enableval=$enable_imaglist;
11433 if test "$enableval" = yes; then
11434 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
11436 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
11441 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11446 eval "$wx_cv_use_imaglist"
11448 if test x"$enablestring" = xdisable; then
11449 if test $wxUSE_IMAGLIST = no; then
11455 result=$wxUSE_IMAGLIST
11458 { echo "$as_me:$LINENO: result
: $result" >&5
11459 echo "${ECHO_T}$result" >&6; }
11463 defaultval=$wxUSE_ALL_FEATURES
11464 if test -z "$defaultval"; then
11465 if test x"$enablestring" = xdisable; then
11472 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
11473 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
11474 # Check whether --enable-infobar was given.
11475 if test "${enable_infobar+set}" = set; then
11476 enableval=$enable_infobar;
11477 if test "$enableval" = yes; then
11478 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11480 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11485 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11490 eval "$wx_cv_use_infobar"
11492 if test x
"$enablestring" = xdisable
; then
11493 if test $wxUSE_INFOBAR = no
; then
11499 result
=$wxUSE_INFOBAR
11502 { echo "$as_me:$LINENO: result: $result" >&5
11503 echo "${ECHO_T}$result" >&6; }
11507 defaultval
=$wxUSE_ALL_FEATURES
11508 if test -z "$defaultval"; then
11509 if test x
"$enablestring" = xdisable
; then
11516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11517 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11518 # Check whether --enable-listbook was given.
11519 if test "${enable_listbook+set}" = set; then
11520 enableval
=$enable_listbook;
11521 if test "$enableval" = yes; then
11522 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11524 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11529 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11534 eval "$wx_cv_use_listbook"
11536 if test x"$enablestring" = xdisable; then
11537 if test $wxUSE_LISTBOOK = no; then
11543 result=$wxUSE_LISTBOOK
11546 { echo "$as_me:$LINENO: result: $result" >&5
11547 echo "${ECHO_T}$result" >&6; }
11551 defaultval=$wxUSE_ALL_FEATURES
11552 if test -z "$defaultval"; then
11553 if test x"$enablestring" = xdisable; then
11560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11561 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11562 # Check whether --enable-listbox was given.
11563 if test "${enable_listbox+set}" = set; then
11564 enableval=$enable_listbox;
11565 if test "$enableval" = yes; then
11566 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11568 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11573 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11578 eval "$wx_cv_use_listbox"
11580 if test x"$enablestring" = xdisable; then
11581 if test $wxUSE_LISTBOX = no; then
11587 result=$wxUSE_LISTBOX
11590 { echo "$as_me:$LINENO: result
: $result" >&5
11591 echo "${ECHO_T}$result" >&6; }
11595 defaultval=$wxUSE_ALL_FEATURES
11596 if test -z "$defaultval"; then
11597 if test x"$enablestring" = xdisable; then
11604 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11605 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11606 # Check whether --enable-listctrl was given.
11607 if test "${enable_listctrl+set}" = set; then
11608 enableval=$enable_listctrl;
11609 if test "$enableval" = yes; then
11610 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11612 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11617 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11622 eval "$wx_cv_use_listctrl"
11624 if test x
"$enablestring" = xdisable
; then
11625 if test $wxUSE_LISTCTRL = no
; then
11631 result
=$wxUSE_LISTCTRL
11634 { echo "$as_me:$LINENO: result: $result" >&5
11635 echo "${ECHO_T}$result" >&6; }
11639 defaultval
=$wxUSE_ALL_FEATURES
11640 if test -z "$defaultval"; then
11641 if test x
"$enablestring" = xdisable
; then
11648 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11649 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11650 # Check whether --enable-notebook was given.
11651 if test "${enable_notebook+set}" = set; then
11652 enableval
=$enable_notebook;
11653 if test "$enableval" = yes; then
11654 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11656 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11661 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11666 eval "$wx_cv_use_notebook"
11668 if test x"$enablestring" = xdisable; then
11669 if test $wxUSE_NOTEBOOK = no; then
11675 result=$wxUSE_NOTEBOOK
11678 { echo "$as_me:$LINENO: result: $result" >&5
11679 echo "${ECHO_T}$result" >&6; }
11683 defaultval=$wxUSE_ALL_FEATURES
11684 if test -z "$defaultval"; then
11685 if test x"$enablestring" = xdisable; then
11692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11693 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11694 # Check whether --enable-notifmsg was given.
11695 if test "${enable_notifmsg+set}" = set; then
11696 enableval=$enable_notifmsg;
11697 if test "$enableval" = yes; then
11698 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11700 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11705 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11710 eval "$wx_cv_use_notifmsg"
11712 if test x"$enablestring" = xdisable; then
11713 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11719 result=$wxUSE_NOTIFICATION_MESSAGE
11722 { echo "$as_me:$LINENO: result
: $result" >&5
11723 echo "${ECHO_T}$result" >&6; }
11727 defaultval=$wxUSE_ALL_FEATURES
11728 if test -z "$defaultval"; then
11729 if test x"$enablestring" = xdisable; then
11736 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11737 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11738 # Check whether --enable-odcombobox was given.
11739 if test "${enable_odcombobox+set}" = set; then
11740 enableval=$enable_odcombobox;
11741 if test "$enableval" = yes; then
11742 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11744 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11749 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11754 eval "$wx_cv_use_odcombobox"
11756 if test x
"$enablestring" = xdisable
; then
11757 if test $wxUSE_ODCOMBOBOX = no
; then
11763 result
=$wxUSE_ODCOMBOBOX
11766 { echo "$as_me:$LINENO: result: $result" >&5
11767 echo "${ECHO_T}$result" >&6; }
11771 defaultval
=$wxUSE_ALL_FEATURES
11772 if test -z "$defaultval"; then
11773 if test x
"$enablestring" = xdisable
; then
11780 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11781 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11782 # Check whether --enable-popupwin was given.
11783 if test "${enable_popupwin+set}" = set; then
11784 enableval
=$enable_popupwin;
11785 if test "$enableval" = yes; then
11786 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11788 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11793 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11798 eval "$wx_cv_use_popupwin"
11800 if test x"$enablestring" = xdisable; then
11801 if test $wxUSE_POPUPWIN = no; then
11807 result=$wxUSE_POPUPWIN
11810 { echo "$as_me:$LINENO: result: $result" >&5
11811 echo "${ECHO_T}$result" >&6; }
11815 defaultval=$wxUSE_ALL_FEATURES
11816 if test -z "$defaultval"; then
11817 if test x"$enablestring" = xdisable; then
11824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11825 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11826 # Check whether --enable-radiobox was given.
11827 if test "${enable_radiobox+set}" = set; then
11828 enableval=$enable_radiobox;
11829 if test "$enableval" = yes; then
11830 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11832 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11837 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11842 eval "$wx_cv_use_radiobox"
11844 if test x"$enablestring" = xdisable; then
11845 if test $wxUSE_RADIOBOX = no; then
11851 result=$wxUSE_RADIOBOX
11854 { echo "$as_me:$LINENO: result
: $result" >&5
11855 echo "${ECHO_T}$result" >&6; }
11859 defaultval=$wxUSE_ALL_FEATURES
11860 if test -z "$defaultval"; then
11861 if test x"$enablestring" = xdisable; then
11868 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11869 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11870 # Check whether --enable-radiobtn was given.
11871 if test "${enable_radiobtn+set}" = set; then
11872 enableval=$enable_radiobtn;
11873 if test "$enableval" = yes; then
11874 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11876 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11881 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11886 eval "$wx_cv_use_radiobtn"
11888 if test x
"$enablestring" = xdisable
; then
11889 if test $wxUSE_RADIOBTN = no
; then
11895 result
=$wxUSE_RADIOBTN
11898 { echo "$as_me:$LINENO: result: $result" >&5
11899 echo "${ECHO_T}$result" >&6; }
11903 defaultval
=$wxUSE_ALL_FEATURES
11904 if test -z "$defaultval"; then
11905 if test x
"$enablestring" = xdisable
; then
11912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11913 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11914 # Check whether --enable-richmsgdlg was given.
11915 if test "${enable_richmsgdlg+set}" = set; then
11916 enableval
=$enable_richmsgdlg;
11917 if test "$enableval" = yes; then
11918 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
11920 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
11925 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11930 eval "$wx_cv_use_richmsgdlg"
11932 if test x"$enablestring" = xdisable; then
11933 if test $wxUSE_RICHMSGDLG = no; then
11939 result=$wxUSE_RICHMSGDLG
11942 { echo "$as_me:$LINENO: result: $result" >&5
11943 echo "${ECHO_T}$result" >&6; }
11947 defaultval=$wxUSE_ALL_FEATURES
11948 if test -z "$defaultval"; then
11949 if test x"$enablestring" = xdisable; then
11956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtooltip" >&5
11957 echo $ECHO_N "checking for --${enablestring:-enable}-richtooltip... $ECHO_C" >&6; }
11958 # Check whether --enable-richtooltip was given.
11959 if test "${enable_richtooltip+set}" = set; then
11960 enableval=$enable_richtooltip;
11961 if test "$enableval" = yes; then
11962 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=yes'
11964 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=no
'
11969 wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP
=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
11974 eval "$wx_cv_use_richtooltip"
11976 if test x"$enablestring" = xdisable; then
11977 if test $wxUSE_RICHTOOLTIP = no; then
11983 result=$wxUSE_RICHTOOLTIP
11986 { echo "$as_me:$LINENO: result
: $result" >&5
11987 echo "${ECHO_T}$result" >&6; }
11991 defaultval=$wxUSE_ALL_FEATURES
11992 if test -z "$defaultval"; then
11993 if test x"$enablestring" = xdisable; then
12000 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rearrangectrl" >&5
12001 echo $ECHO_N "checking
for --${enablestring:-enable}-rearrangectrl...
$ECHO_C" >&6; }
12002 # Check whether --enable-rearrangectrl was given.
12003 if test "${enable_rearrangectrl+set}" = set; then
12004 enableval=$enable_rearrangectrl;
12005 if test "$enableval" = yes; then
12006 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
12008 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
12013 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
12018 eval "$wx_cv_use_rearrangectrl"
12020 if test x
"$enablestring" = xdisable
; then
12021 if test $wxUSE_REARRANGECTRL = no
; then
12027 result
=$wxUSE_REARRANGECTRL
12030 { echo "$as_me:$LINENO: result: $result" >&5
12031 echo "${ECHO_T}$result" >&6; }
12035 defaultval
=$wxUSE_ALL_FEATURES
12036 if test -z "$defaultval"; then
12037 if test x
"$enablestring" = xdisable
; then
12044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
12045 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
12046 # Check whether --enable-sash was given.
12047 if test "${enable_sash+set}" = set; then
12048 enableval
=$enable_sash;
12049 if test "$enableval" = yes; then
12050 wx_cv_use_sash
='wxUSE_SASH=yes'
12052 wx_cv_use_sash
='wxUSE_SASH=no'
12057 wx_cv_use_sash
='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
12062 eval "$wx_cv_use_sash"
12064 if test x"$enablestring" = xdisable; then
12065 if test $wxUSE_SASH = no; then
12074 { echo "$as_me:$LINENO: result: $result" >&5
12075 echo "${ECHO_T}$result" >&6; }
12079 defaultval=$wxUSE_ALL_FEATURES
12080 if test -z "$defaultval"; then
12081 if test x"$enablestring" = xdisable; then
12088 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12089 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12090 # Check whether --enable-scrollbar was given.
12091 if test "${enable_scrollbar+set}" = set; then
12092 enableval=$enable_scrollbar;
12093 if test "$enableval" = yes; then
12094 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=yes'
12096 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=no
'
12101 wx_cv_use_scrollbar='wxUSE_SCROLLBAR
=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12106 eval "$wx_cv_use_scrollbar"
12108 if test x"$enablestring" = xdisable; then
12109 if test $wxUSE_SCROLLBAR = no; then
12115 result=$wxUSE_SCROLLBAR
12118 { echo "$as_me:$LINENO: result
: $result" >&5
12119 echo "${ECHO_T}$result" >&6; }
12123 defaultval=$wxUSE_ALL_FEATURES
12124 if test -z "$defaultval"; then
12125 if test x"$enablestring" = xdisable; then
12132 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-searchctrl" >&5
12133 echo $ECHO_N "checking
for --${enablestring:-enable}-searchctrl...
$ECHO_C" >&6; }
12134 # Check whether --enable-searchctrl was given.
12135 if test "${enable_searchctrl+set}" = set; then
12136 enableval=$enable_searchctrl;
12137 if test "$enableval" = yes; then
12138 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
12140 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
12145 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12150 eval "$wx_cv_use_searchctrl"
12152 if test x
"$enablestring" = xdisable
; then
12153 if test $wxUSE_SEARCHCTRL = no
; then
12159 result
=$wxUSE_SEARCHCTRL
12162 { echo "$as_me:$LINENO: result: $result" >&5
12163 echo "${ECHO_T}$result" >&6; }
12167 defaultval
=$wxUSE_ALL_FEATURES
12168 if test -z "$defaultval"; then
12169 if test x
"$enablestring" = xdisable
; then
12176 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
12177 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
12178 # Check whether --enable-slider was given.
12179 if test "${enable_slider+set}" = set; then
12180 enableval
=$enable_slider;
12181 if test "$enableval" = yes; then
12182 wx_cv_use_slider
='wxUSE_SLIDER=yes'
12184 wx_cv_use_slider
='wxUSE_SLIDER=no'
12189 wx_cv_use_slider
='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12194 eval "$wx_cv_use_slider"
12196 if test x"$enablestring" = xdisable; then
12197 if test $wxUSE_SLIDER = no; then
12203 result=$wxUSE_SLIDER
12206 { echo "$as_me:$LINENO: result: $result" >&5
12207 echo "${ECHO_T}$result" >&6; }
12211 defaultval=$wxUSE_ALL_FEATURES
12212 if test -z "$defaultval"; then
12213 if test x"$enablestring" = xdisable; then
12220 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12221 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12222 # Check whether --enable-spinbtn was given.
12223 if test "${enable_spinbtn+set}" = set; then
12224 enableval=$enable_spinbtn;
12225 if test "$enableval" = yes; then
12226 wx_cv_use_spinbtn='wxUSE_SPINBTN
=yes'
12228 wx_cv_use_spinbtn='wxUSE_SPINBTN
=no
'
12233 wx_cv_use_spinbtn='wxUSE_SPINBTN
=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12238 eval "$wx_cv_use_spinbtn"
12240 if test x"$enablestring" = xdisable; then
12241 if test $wxUSE_SPINBTN = no; then
12247 result=$wxUSE_SPINBTN
12250 { echo "$as_me:$LINENO: result
: $result" >&5
12251 echo "${ECHO_T}$result" >&6; }
12255 defaultval=$wxUSE_ALL_FEATURES
12256 if test -z "$defaultval"; then
12257 if test x"$enablestring" = xdisable; then
12264 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-spinctrl" >&5
12265 echo $ECHO_N "checking
for --${enablestring:-enable}-spinctrl...
$ECHO_C" >&6; }
12266 # Check whether --enable-spinctrl was given.
12267 if test "${enable_spinctrl+set}" = set; then
12268 enableval=$enable_spinctrl;
12269 if test "$enableval" = yes; then
12270 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
12272 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
12277 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12282 eval "$wx_cv_use_spinctrl"
12284 if test x
"$enablestring" = xdisable
; then
12285 if test $wxUSE_SPINCTRL = no
; then
12291 result
=$wxUSE_SPINCTRL
12294 { echo "$as_me:$LINENO: result: $result" >&5
12295 echo "${ECHO_T}$result" >&6; }
12299 defaultval
=$wxUSE_ALL_FEATURES
12300 if test -z "$defaultval"; then
12301 if test x
"$enablestring" = xdisable
; then
12308 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
12309 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
12310 # Check whether --enable-splitter was given.
12311 if test "${enable_splitter+set}" = set; then
12312 enableval
=$enable_splitter;
12313 if test "$enableval" = yes; then
12314 wx_cv_use_splitter
='wxUSE_SPLITTER=yes'
12316 wx_cv_use_splitter
='wxUSE_SPLITTER=no'
12321 wx_cv_use_splitter
='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12326 eval "$wx_cv_use_splitter"
12328 if test x"$enablestring" = xdisable; then
12329 if test $wxUSE_SPLITTER = no; then
12335 result=$wxUSE_SPLITTER
12338 { echo "$as_me:$LINENO: result: $result" >&5
12339 echo "${ECHO_T}$result" >&6; }
12343 defaultval=$wxUSE_ALL_FEATURES
12344 if test -z "$defaultval"; then
12345 if test x"$enablestring" = xdisable; then
12352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12353 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12354 # Check whether --enable-statbmp was given.
12355 if test "${enable_statbmp+set}" = set; then
12356 enableval=$enable_statbmp;
12357 if test "$enableval" = yes; then
12358 wx_cv_use_statbmp='wxUSE_STATBMP
=yes'
12360 wx_cv_use_statbmp='wxUSE_STATBMP
=no
'
12365 wx_cv_use_statbmp='wxUSE_STATBMP
=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12370 eval "$wx_cv_use_statbmp"
12372 if test x"$enablestring" = xdisable; then
12373 if test $wxUSE_STATBMP = no; then
12379 result=$wxUSE_STATBMP
12382 { echo "$as_me:$LINENO: result
: $result" >&5
12383 echo "${ECHO_T}$result" >&6; }
12387 defaultval=$wxUSE_ALL_FEATURES
12388 if test -z "$defaultval"; then
12389 if test x"$enablestring" = xdisable; then
12396 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statbox" >&5
12397 echo $ECHO_N "checking
for --${enablestring:-enable}-statbox...
$ECHO_C" >&6; }
12398 # Check whether --enable-statbox was given.
12399 if test "${enable_statbox+set}" = set; then
12400 enableval=$enable_statbox;
12401 if test "$enableval" = yes; then
12402 wx_cv_use_statbox='wxUSE_STATBOX=yes'
12404 wx_cv_use_statbox='wxUSE_STATBOX=no'
12409 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12414 eval "$wx_cv_use_statbox"
12416 if test x
"$enablestring" = xdisable
; then
12417 if test $wxUSE_STATBOX = no
; then
12423 result
=$wxUSE_STATBOX
12426 { echo "$as_me:$LINENO: result: $result" >&5
12427 echo "${ECHO_T}$result" >&6; }
12431 defaultval
=$wxUSE_ALL_FEATURES
12432 if test -z "$defaultval"; then
12433 if test x
"$enablestring" = xdisable
; then
12440 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
12441 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
12442 # Check whether --enable-statline was given.
12443 if test "${enable_statline+set}" = set; then
12444 enableval
=$enable_statline;
12445 if test "$enableval" = yes; then
12446 wx_cv_use_statline
='wxUSE_STATLINE=yes'
12448 wx_cv_use_statline
='wxUSE_STATLINE=no'
12453 wx_cv_use_statline
='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12458 eval "$wx_cv_use_statline"
12460 if test x"$enablestring" = xdisable; then
12461 if test $wxUSE_STATLINE = no; then
12467 result=$wxUSE_STATLINE
12470 { echo "$as_me:$LINENO: result: $result" >&5
12471 echo "${ECHO_T}$result" >&6; }
12475 defaultval=$wxUSE_ALL_FEATURES
12476 if test -z "$defaultval"; then
12477 if test x"$enablestring" = xdisable; then
12484 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12485 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12486 # Check whether --enable-stattext was given.
12487 if test "${enable_stattext+set}" = set; then
12488 enableval=$enable_stattext;
12489 if test "$enableval" = yes; then
12490 wx_cv_use_stattext='wxUSE_STATTEXT
=yes'
12492 wx_cv_use_stattext='wxUSE_STATTEXT
=no
'
12497 wx_cv_use_stattext='wxUSE_STATTEXT
=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12502 eval "$wx_cv_use_stattext"
12504 if test x"$enablestring" = xdisable; then
12505 if test $wxUSE_STATTEXT = no; then
12511 result=$wxUSE_STATTEXT
12514 { echo "$as_me:$LINENO: result
: $result" >&5
12515 echo "${ECHO_T}$result" >&6; }
12519 defaultval=$wxUSE_ALL_FEATURES
12520 if test -z "$defaultval"; then
12521 if test x"$enablestring" = xdisable; then
12528 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statusbar" >&5
12529 echo $ECHO_N "checking
for --${enablestring:-enable}-statusbar...
$ECHO_C" >&6; }
12530 # Check whether --enable-statusbar was given.
12531 if test "${enable_statusbar+set}" = set; then
12532 enableval=$enable_statusbar;
12533 if test "$enableval" = yes; then
12534 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
12536 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
12541 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12546 eval "$wx_cv_use_statusbar"
12548 if test x
"$enablestring" = xdisable
; then
12549 if test $wxUSE_STATUSBAR = no
; then
12555 result
=$wxUSE_STATUSBAR
12558 { echo "$as_me:$LINENO: result: $result" >&5
12559 echo "${ECHO_T}$result" >&6; }
12563 defaultval
=$wxUSE_ALL_FEATURES
12564 if test -z "$defaultval"; then
12565 if test x
"$enablestring" = xdisable
; then
12572 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
12573 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
12574 # Check whether --enable-taskbaricon was given.
12575 if test "${enable_taskbaricon+set}" = set; then
12576 enableval
=$enable_taskbaricon;
12577 if test "$enableval" = yes; then
12578 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=yes'
12580 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=no'
12585 wx_cv_use_taskbaricon
='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12590 eval "$wx_cv_use_taskbaricon"
12592 if test x"$enablestring" = xdisable; then
12593 if test $wxUSE_TASKBARICON = no; then
12599 result=$wxUSE_TASKBARICON
12602 { echo "$as_me:$LINENO: result: $result" >&5
12603 echo "${ECHO_T}$result" >&6; }
12607 defaultval=$wxUSE_ALL_FEATURES
12608 if test -z "$defaultval"; then
12609 if test x"$enablestring" = xdisable; then
12616 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12617 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12618 # Check whether --enable-tbarnative was given.
12619 if test "${enable_tbarnative+set}" = set; then
12620 enableval=$enable_tbarnative;
12621 if test "$enableval" = yes; then
12622 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=yes'
12624 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=no
'
12629 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE
=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12634 eval "$wx_cv_use_tbarnative"
12636 if test x"$enablestring" = xdisable; then
12637 if test $wxUSE_TOOLBAR_NATIVE = no; then
12643 result=$wxUSE_TOOLBAR_NATIVE
12646 { echo "$as_me:$LINENO: result
: $result" >&5
12647 echo "${ECHO_T}$result" >&6; }
12651 defaultval=$wxUSE_ALL_FEATURES
12652 if test -z "$defaultval"; then
12653 if test x"$enablestring" = xdisable; then
12660 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textctrl" >&5
12661 echo $ECHO_N "checking
for --${enablestring:-enable}-textctrl...
$ECHO_C" >&6; }
12662 # Check whether --enable-textctrl was given.
12663 if test "${enable_textctrl+set}" = set; then
12664 enableval=$enable_textctrl;
12665 if test "$enableval" = yes; then
12666 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
12668 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
12673 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12678 eval "$wx_cv_use_textctrl"
12680 if test x
"$enablestring" = xdisable
; then
12681 if test $wxUSE_TEXTCTRL = no
; then
12687 result
=$wxUSE_TEXTCTRL
12690 { echo "$as_me:$LINENO: result: $result" >&5
12691 echo "${ECHO_T}$result" >&6; }
12695 defaultval
=$wxUSE_ALL_FEATURES
12696 if test -z "$defaultval"; then
12697 if test x
"$enablestring" = xdisable
; then
12704 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
12705 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
12706 # Check whether --enable-datepick was given.
12707 if test "${enable_datepick+set}" = set; then
12708 enableval
=$enable_datepick;
12709 if test "$enableval" = yes; then
12710 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=yes'
12712 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=no'
12717 wx_cv_use_datepick
='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12722 eval "$wx_cv_use_datepick"
12724 if test x"$enablestring" = xdisable; then
12725 if test $wxUSE_TIMEPICKCTRL = no; then
12731 result=$wxUSE_TIMEPICKCTRL
12734 { echo "$as_me:$LINENO: result: $result" >&5
12735 echo "${ECHO_T}$result" >&6; }
12739 defaultval=$wxUSE_ALL_FEATURES
12740 if test -z "$defaultval"; then
12741 if test x"$enablestring" = xdisable; then
12748 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12749 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12750 # Check whether --enable-tipwindow was given.
12751 if test "${enable_tipwindow+set}" = set; then
12752 enableval=$enable_tipwindow;
12753 if test "$enableval" = yes; then
12754 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=yes'
12756 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=no
'
12761 wx_cv_use_tipwindow='wxUSE_TIPWINDOW
=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12766 eval "$wx_cv_use_tipwindow"
12768 if test x"$enablestring" = xdisable; then
12769 if test $wxUSE_TIPWINDOW = no; then
12775 result=$wxUSE_TIPWINDOW
12778 { echo "$as_me:$LINENO: result
: $result" >&5
12779 echo "${ECHO_T}$result" >&6; }
12783 defaultval=$wxUSE_ALL_FEATURES
12784 if test -z "$defaultval"; then
12785 if test x"$enablestring" = xdisable; then
12792 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-togglebtn" >&5
12793 echo $ECHO_N "checking
for --${enablestring:-enable}-togglebtn...
$ECHO_C" >&6; }
12794 # Check whether --enable-togglebtn was given.
12795 if test "${enable_togglebtn+set}" = set; then
12796 enableval=$enable_togglebtn;
12797 if test "$enableval" = yes; then
12798 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
12800 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
12805 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12810 eval "$wx_cv_use_togglebtn"
12812 if test x
"$enablestring" = xdisable
; then
12813 if test $wxUSE_TOGGLEBTN = no
; then
12819 result
=$wxUSE_TOGGLEBTN
12822 { echo "$as_me:$LINENO: result: $result" >&5
12823 echo "${ECHO_T}$result" >&6; }
12827 defaultval
=$wxUSE_ALL_FEATURES
12828 if test -z "$defaultval"; then
12829 if test x
"$enablestring" = xdisable
; then
12836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
12837 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
12838 # Check whether --enable-toolbar was given.
12839 if test "${enable_toolbar+set}" = set; then
12840 enableval
=$enable_toolbar;
12841 if test "$enableval" = yes; then
12842 wx_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
12844 wx_cv_use_toolbar
='wxUSE_TOOLBAR=no'
12849 wx_cv_use_toolbar
='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12854 eval "$wx_cv_use_toolbar"
12856 if test x"$enablestring" = xdisable; then
12857 if test $wxUSE_TOOLBAR = no; then
12863 result=$wxUSE_TOOLBAR
12866 { echo "$as_me:$LINENO: result: $result" >&5
12867 echo "${ECHO_T}$result" >&6; }
12871 defaultval=$wxUSE_ALL_FEATURES
12872 if test -z "$defaultval"; then
12873 if test x"$enablestring" = xdisable; then
12880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12881 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12882 # Check whether --enable-toolbook was given.
12883 if test "${enable_toolbook+set}" = set; then
12884 enableval=$enable_toolbook;
12885 if test "$enableval" = yes; then
12886 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=yes'
12888 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=no
'
12893 wx_cv_use_toolbook='wxUSE_TOOLBOOK
=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12898 eval "$wx_cv_use_toolbook"
12900 if test x"$enablestring" = xdisable; then
12901 if test $wxUSE_TOOLBOOK = no; then
12907 result=$wxUSE_TOOLBOOK
12910 { echo "$as_me:$LINENO: result
: $result" >&5
12911 echo "${ECHO_T}$result" >&6; }
12915 defaultval=$wxUSE_ALL_FEATURES
12916 if test -z "$defaultval"; then
12917 if test x"$enablestring" = xdisable; then
12924 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treebook" >&5
12925 echo $ECHO_N "checking
for --${enablestring:-enable}-treebook...
$ECHO_C" >&6; }
12926 # Check whether --enable-treebook was given.
12927 if test "${enable_treebook+set}" = set; then
12928 enableval=$enable_treebook;
12929 if test "$enableval" = yes; then
12930 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
12932 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
12937 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12942 eval "$wx_cv_use_treebook"
12944 if test x
"$enablestring" = xdisable
; then
12945 if test $wxUSE_TREEBOOK = no
; then
12951 result
=$wxUSE_TREEBOOK
12954 { echo "$as_me:$LINENO: result: $result" >&5
12955 echo "${ECHO_T}$result" >&6; }
12959 defaultval
=$wxUSE_ALL_FEATURES
12960 if test -z "$defaultval"; then
12961 if test x
"$enablestring" = xdisable
; then
12968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
12969 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
12970 # Check whether --enable-treectrl was given.
12971 if test "${enable_treectrl+set}" = set; then
12972 enableval
=$enable_treectrl;
12973 if test "$enableval" = yes; then
12974 wx_cv_use_treectrl
='wxUSE_TREECTRL=yes'
12976 wx_cv_use_treectrl
='wxUSE_TREECTRL=no'
12981 wx_cv_use_treectrl
='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12986 eval "$wx_cv_use_treectrl"
12988 if test x"$enablestring" = xdisable; then
12989 if test $wxUSE_TREECTRL = no; then
12995 result=$wxUSE_TREECTRL
12998 { echo "$as_me:$LINENO: result: $result" >&5
12999 echo "${ECHO_T}$result" >&6; }
13003 defaultval=$wxUSE_ALL_FEATURES
13004 if test -z "$defaultval"; then
13005 if test x"$enablestring" = xdisable; then
13012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
13013 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
13014 # Check whether --enable-treelist was given.
13015 if test "${enable_treelist+set}" = set; then
13016 enableval=$enable_treelist;
13017 if test "$enableval" = yes; then
13018 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=yes'
13020 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=no
'
13025 wx_cv_use_treelist='wxUSE_TREELISTCTRL
=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
13030 eval "$wx_cv_use_treelist"
13032 if test x"$enablestring" = xdisable; then
13033 if test $wxUSE_TREELISTCTRL = no; then
13039 result=$wxUSE_TREELISTCTRL
13042 { echo "$as_me:$LINENO: result
: $result" >&5
13043 echo "${ECHO_T}$result" >&6; }
13049 defaultval=$wxUSE_ALL_FEATURES
13050 if test -z "$defaultval"; then
13051 if test x"$enablestring" = xdisable; then
13058 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commondlg" >&5
13059 echo $ECHO_N "checking
for --${enablestring:-enable}-commondlg...
$ECHO_C" >&6; }
13060 # Check whether --enable-commondlg was given.
13061 if test "${enable_commondlg+set}" = set; then
13062 enableval=$enable_commondlg;
13063 if test "$enableval" = yes; then
13064 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
13066 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
13071 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
13076 eval "$wx_cv_use_commondlg"
13078 if test x
"$enablestring" = xdisable
; then
13079 if test $wxUSE_COMMONDLGS = no
; then
13085 result
=$wxUSE_COMMONDLGS
13088 { echo "$as_me:$LINENO: result: $result" >&5
13089 echo "${ECHO_T}$result" >&6; }
13093 defaultval
=$wxUSE_ALL_FEATURES
13094 if test -z "$defaultval"; then
13095 if test x
"$enablestring" = xdisable
; then
13102 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
13103 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
13104 # Check whether --enable-aboutdlg was given.
13105 if test "${enable_aboutdlg+set}" = set; then
13106 enableval
=$enable_aboutdlg;
13107 if test "$enableval" = yes; then
13108 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=yes'
13110 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=no'
13115 wx_cv_use_aboutdlg
='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13120 eval "$wx_cv_use_aboutdlg"
13122 if test x"$enablestring" = xdisable; then
13123 if test $wxUSE_ABOUTDLG = no; then
13129 result=$wxUSE_ABOUTDLG
13132 { echo "$as_me:$LINENO: result: $result" >&5
13133 echo "${ECHO_T}$result" >&6; }
13137 defaultval=$wxUSE_ALL_FEATURES
13138 if test -z "$defaultval"; then
13139 if test x"$enablestring" = xdisable; then
13146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13147 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13148 # Check whether --enable-choicedlg was given.
13149 if test "${enable_choicedlg+set}" = set; then
13150 enableval=$enable_choicedlg;
13151 if test "$enableval" = yes; then
13152 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=yes'
13154 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=no
'
13159 wx_cv_use_choicedlg='wxUSE_CHOICEDLG
=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13164 eval "$wx_cv_use_choicedlg"
13166 if test x"$enablestring" = xdisable; then
13167 if test $wxUSE_CHOICEDLG = no; then
13173 result=$wxUSE_CHOICEDLG
13176 { echo "$as_me:$LINENO: result
: $result" >&5
13177 echo "${ECHO_T}$result" >&6; }
13181 defaultval=$wxUSE_ALL_FEATURES
13182 if test -z "$defaultval"; then
13183 if test x"$enablestring" = xdisable; then
13190 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-coldlg" >&5
13191 echo $ECHO_N "checking
for --${enablestring:-enable}-coldlg...
$ECHO_C" >&6; }
13192 # Check whether --enable-coldlg was given.
13193 if test "${enable_coldlg+set}" = set; then
13194 enableval=$enable_coldlg;
13195 if test "$enableval" = yes; then
13196 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
13198 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
13203 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13208 eval "$wx_cv_use_coldlg"
13210 if test x
"$enablestring" = xdisable
; then
13211 if test $wxUSE_COLOURDLG = no
; then
13217 result
=$wxUSE_COLOURDLG
13220 { echo "$as_me:$LINENO: result: $result" >&5
13221 echo "${ECHO_T}$result" >&6; }
13225 defaultval
=$wxUSE_ALL_FEATURES
13226 if test -z "$defaultval"; then
13227 if test x
"$enablestring" = xdisable
; then
13234 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
13235 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
13236 # Check whether --enable-filedlg was given.
13237 if test "${enable_filedlg+set}" = set; then
13238 enableval
=$enable_filedlg;
13239 if test "$enableval" = yes; then
13240 wx_cv_use_filedlg
='wxUSE_FILEDLG=yes'
13242 wx_cv_use_filedlg
='wxUSE_FILEDLG=no'
13247 wx_cv_use_filedlg
='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13252 eval "$wx_cv_use_filedlg"
13254 if test x"$enablestring" = xdisable; then
13255 if test $wxUSE_FILEDLG = no; then
13261 result=$wxUSE_FILEDLG
13264 { echo "$as_me:$LINENO: result: $result" >&5
13265 echo "${ECHO_T}$result" >&6; }
13269 defaultval=$wxUSE_ALL_FEATURES
13270 if test -z "$defaultval"; then
13271 if test x"$enablestring" = xdisable; then
13278 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13279 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13280 # Check whether --enable-finddlg was given.
13281 if test "${enable_finddlg+set}" = set; then
13282 enableval=$enable_finddlg;
13283 if test "$enableval" = yes; then
13284 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=yes'
13286 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=no
'
13291 wx_cv_use_finddlg='wxUSE_FINDREPLDLG
=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13296 eval "$wx_cv_use_finddlg"
13298 if test x"$enablestring" = xdisable; then
13299 if test $wxUSE_FINDREPLDLG = no; then
13305 result=$wxUSE_FINDREPLDLG
13308 { echo "$as_me:$LINENO: result
: $result" >&5
13309 echo "${ECHO_T}$result" >&6; }
13313 defaultval=$wxUSE_ALL_FEATURES
13314 if test -z "$defaultval"; then
13315 if test x"$enablestring" = xdisable; then
13322 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontdlg" >&5
13323 echo $ECHO_N "checking
for --${enablestring:-enable}-fontdlg...
$ECHO_C" >&6; }
13324 # Check whether --enable-fontdlg was given.
13325 if test "${enable_fontdlg+set}" = set; then
13326 enableval=$enable_fontdlg;
13327 if test "$enableval" = yes; then
13328 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
13330 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
13335 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13340 eval "$wx_cv_use_fontdlg"
13342 if test x
"$enablestring" = xdisable
; then
13343 if test $wxUSE_FONTDLG = no
; then
13349 result
=$wxUSE_FONTDLG
13352 { echo "$as_me:$LINENO: result: $result" >&5
13353 echo "${ECHO_T}$result" >&6; }
13357 defaultval
=$wxUSE_ALL_FEATURES
13358 if test -z "$defaultval"; then
13359 if test x
"$enablestring" = xdisable
; then
13366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
13367 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
13368 # Check whether --enable-dirdlg was given.
13369 if test "${enable_dirdlg+set}" = set; then
13370 enableval
=$enable_dirdlg;
13371 if test "$enableval" = yes; then
13372 wx_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
13374 wx_cv_use_dirdlg
='wxUSE_DIRDLG=no'
13379 wx_cv_use_dirdlg
='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13384 eval "$wx_cv_use_dirdlg"
13386 if test x"$enablestring" = xdisable; then
13387 if test $wxUSE_DIRDLG = no; then
13393 result=$wxUSE_DIRDLG
13396 { echo "$as_me:$LINENO: result: $result" >&5
13397 echo "${ECHO_T}$result" >&6; }
13401 defaultval=$wxUSE_ALL_FEATURES
13402 if test -z "$defaultval"; then
13403 if test x"$enablestring" = xdisable; then
13410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13411 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13412 # Check whether --enable-msgdlg was given.
13413 if test "${enable_msgdlg+set}" = set; then
13414 enableval=$enable_msgdlg;
13415 if test "$enableval" = yes; then
13416 wx_cv_use_msgdlg='wxUSE_MSGDLG
=yes'
13418 wx_cv_use_msgdlg='wxUSE_MSGDLG
=no
'
13423 wx_cv_use_msgdlg='wxUSE_MSGDLG
=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13428 eval "$wx_cv_use_msgdlg"
13430 if test x"$enablestring" = xdisable; then
13431 if test $wxUSE_MSGDLG = no; then
13437 result=$wxUSE_MSGDLG
13440 { echo "$as_me:$LINENO: result
: $result" >&5
13441 echo "${ECHO_T}$result" >&6; }
13445 defaultval=$wxUSE_ALL_FEATURES
13446 if test -z "$defaultval"; then
13447 if test x"$enablestring" = xdisable; then
13454 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-numberdlg" >&5
13455 echo $ECHO_N "checking
for --${enablestring:-enable}-numberdlg...
$ECHO_C" >&6; }
13456 # Check whether --enable-numberdlg was given.
13457 if test "${enable_numberdlg+set}" = set; then
13458 enableval=$enable_numberdlg;
13459 if test "$enableval" = yes; then
13460 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
13462 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
13467 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13472 eval "$wx_cv_use_numberdlg"
13474 if test x
"$enablestring" = xdisable
; then
13475 if test $wxUSE_NUMBERDLG = no
; then
13481 result
=$wxUSE_NUMBERDLG
13484 { echo "$as_me:$LINENO: result: $result" >&5
13485 echo "${ECHO_T}$result" >&6; }
13489 defaultval
=$wxUSE_ALL_FEATURES
13490 if test -z "$defaultval"; then
13491 if test x
"$enablestring" = xdisable
; then
13498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
13499 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
13500 # Check whether --enable-splash was given.
13501 if test "${enable_splash+set}" = set; then
13502 enableval
=$enable_splash;
13503 if test "$enableval" = yes; then
13504 wx_cv_use_splash
='wxUSE_SPLASH=yes'
13506 wx_cv_use_splash
='wxUSE_SPLASH=no'
13511 wx_cv_use_splash
='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13516 eval "$wx_cv_use_splash"
13518 if test x"$enablestring" = xdisable; then
13519 if test $wxUSE_SPLASH = no; then
13525 result=$wxUSE_SPLASH
13528 { echo "$as_me:$LINENO: result: $result" >&5
13529 echo "${ECHO_T}$result" >&6; }
13533 defaultval=$wxUSE_ALL_FEATURES
13534 if test -z "$defaultval"; then
13535 if test x"$enablestring" = xdisable; then
13542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13543 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13544 # Check whether --enable-textdlg was given.
13545 if test "${enable_textdlg+set}" = set; then
13546 enableval=$enable_textdlg;
13547 if test "$enableval" = yes; then
13548 wx_cv_use_textdlg='wxUSE_TEXTDLG
=yes'
13550 wx_cv_use_textdlg='wxUSE_TEXTDLG
=no
'
13555 wx_cv_use_textdlg='wxUSE_TEXTDLG
=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13560 eval "$wx_cv_use_textdlg"
13562 if test x"$enablestring" = xdisable; then
13563 if test $wxUSE_TEXTDLG = no; then
13569 result=$wxUSE_TEXTDLG
13572 { echo "$as_me:$LINENO: result
: $result" >&5
13573 echo "${ECHO_T}$result" >&6; }
13577 defaultval=$wxUSE_ALL_FEATURES
13578 if test -z "$defaultval"; then
13579 if test x"$enablestring" = xdisable; then
13586 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tipdlg" >&5
13587 echo $ECHO_N "checking
for --${enablestring:-enable}-tipdlg...
$ECHO_C" >&6; }
13588 # Check whether --enable-tipdlg was given.
13589 if test "${enable_tipdlg+set}" = set; then
13590 enableval=$enable_tipdlg;
13591 if test "$enableval" = yes; then
13592 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
13594 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
13599 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13604 eval "$wx_cv_use_tipdlg"
13606 if test x
"$enablestring" = xdisable
; then
13607 if test $wxUSE_STARTUP_TIPS = no
; then
13613 result
=$wxUSE_STARTUP_TIPS
13616 { echo "$as_me:$LINENO: result: $result" >&5
13617 echo "${ECHO_T}$result" >&6; }
13621 defaultval
=$wxUSE_ALL_FEATURES
13622 if test -z "$defaultval"; then
13623 if test x
"$enablestring" = xdisable
; then
13630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
13631 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
13632 # Check whether --enable-progressdlg was given.
13633 if test "${enable_progressdlg+set}" = set; then
13634 enableval
=$enable_progressdlg;
13635 if test "$enableval" = yes; then
13636 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
13638 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
13643 wx_cv_use_progressdlg
='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13648 eval "$wx_cv_use_progressdlg"
13650 if test x"$enablestring" = xdisable; then
13651 if test $wxUSE_PROGRESSDLG = no; then
13657 result=$wxUSE_PROGRESSDLG
13660 { echo "$as_me:$LINENO: result: $result" >&5
13661 echo "${ECHO_T}$result" >&6; }
13665 defaultval=$wxUSE_ALL_FEATURES
13666 if test -z "$defaultval"; then
13667 if test x"$enablestring" = xdisable; then
13674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13675 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13676 # Check whether --enable-wizarddlg was given.
13677 if test "${enable_wizarddlg+set}" = set; then
13678 enableval=$enable_wizarddlg;
13679 if test "$enableval" = yes; then
13680 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=yes'
13682 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=no
'
13687 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG
=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13692 eval "$wx_cv_use_wizarddlg"
13694 if test x"$enablestring" = xdisable; then
13695 if test $wxUSE_WIZARDDLG = no; then
13701 result=$wxUSE_WIZARDDLG
13704 { echo "$as_me:$LINENO: result
: $result" >&5
13705 echo "${ECHO_T}$result" >&6; }
13711 defaultval=$wxUSE_ALL_FEATURES
13712 if test -z "$defaultval"; then
13713 if test x"$enablestring" = xdisable; then
13720 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-menus" >&5
13721 echo $ECHO_N "checking
for --${enablestring:-enable}-menus...
$ECHO_C" >&6; }
13722 # Check whether --enable-menus was given.
13723 if test "${enable_menus+set}" = set; then
13724 enableval=$enable_menus;
13725 if test "$enableval" = yes; then
13726 wx_cv_use_menus='wxUSE_MENUS=yes'
13728 wx_cv_use_menus='wxUSE_MENUS=no'
13733 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13738 eval "$wx_cv_use_menus"
13740 if test x
"$enablestring" = xdisable
; then
13741 if test $wxUSE_MENUS = no
; then
13747 result
=$wxUSE_MENUS
13750 { echo "$as_me:$LINENO: result: $result" >&5
13751 echo "${ECHO_T}$result" >&6; }
13755 defaultval
=$wxUSE_ALL_FEATURES
13756 if test -z "$defaultval"; then
13757 if test x
"$enablestring" = xdisable
; then
13764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
13765 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
13766 # Check whether --enable-miniframe was given.
13767 if test "${enable_miniframe+set}" = set; then
13768 enableval
=$enable_miniframe;
13769 if test "$enableval" = yes; then
13770 wx_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
13772 wx_cv_use_miniframe
='wxUSE_MINIFRAME=no'
13777 wx_cv_use_miniframe
='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13782 eval "$wx_cv_use_miniframe"
13784 if test x"$enablestring" = xdisable; then
13785 if test $wxUSE_MINIFRAME = no; then
13791 result=$wxUSE_MINIFRAME
13794 { echo "$as_me:$LINENO: result: $result" >&5
13795 echo "${ECHO_T}$result" >&6; }
13799 defaultval=$wxUSE_ALL_FEATURES
13800 if test -z "$defaultval"; then
13801 if test x"$enablestring" = xdisable; then
13808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13809 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13810 # Check whether --enable-tooltips was given.
13811 if test "${enable_tooltips+set}" = set; then
13812 enableval=$enable_tooltips;
13813 if test "$enableval" = yes; then
13814 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=yes'
13816 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=no
'
13821 wx_cv_use_tooltips='wxUSE_TOOLTIPS
=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13826 eval "$wx_cv_use_tooltips"
13828 if test x"$enablestring" = xdisable; then
13829 if test $wxUSE_TOOLTIPS = no; then
13835 result=$wxUSE_TOOLTIPS
13838 { echo "$as_me:$LINENO: result
: $result" >&5
13839 echo "${ECHO_T}$result" >&6; }
13843 defaultval=$wxUSE_ALL_FEATURES
13844 if test -z "$defaultval"; then
13845 if test x"$enablestring" = xdisable; then
13852 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splines" >&5
13853 echo $ECHO_N "checking
for --${enablestring:-enable}-splines...
$ECHO_C" >&6; }
13854 # Check whether --enable-splines was given.
13855 if test "${enable_splines+set}" = set; then
13856 enableval=$enable_splines;
13857 if test "$enableval" = yes; then
13858 wx_cv_use_splines='wxUSE_SPLINES=yes'
13860 wx_cv_use_splines='wxUSE_SPLINES=no'
13865 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13870 eval "$wx_cv_use_splines"
13872 if test x
"$enablestring" = xdisable
; then
13873 if test $wxUSE_SPLINES = no
; then
13879 result
=$wxUSE_SPLINES
13882 { echo "$as_me:$LINENO: result: $result" >&5
13883 echo "${ECHO_T}$result" >&6; }
13887 defaultval
=$wxUSE_ALL_FEATURES
13888 if test -z "$defaultval"; then
13889 if test x
"$enablestring" = xdisable
; then
13896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
13897 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
13898 # Check whether --enable-mousewheel was given.
13899 if test "${enable_mousewheel+set}" = set; then
13900 enableval
=$enable_mousewheel;
13901 if test "$enableval" = yes; then
13902 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=yes'
13904 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=no'
13909 wx_cv_use_mousewheel
='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13914 eval "$wx_cv_use_mousewheel"
13916 if test x"$enablestring" = xdisable; then
13917 if test $wxUSE_MOUSEWHEEL = no; then
13923 result=$wxUSE_MOUSEWHEEL
13926 { echo "$as_me:$LINENO: result: $result" >&5
13927 echo "${ECHO_T}$result" >&6; }
13931 defaultval=$wxUSE_ALL_FEATURES
13932 if test -z "$defaultval"; then
13933 if test x"$enablestring" = xdisable; then
13940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13941 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13942 # Check whether --enable-validators was given.
13943 if test "${enable_validators+set}" = set; then
13944 enableval=$enable_validators;
13945 if test "$enableval" = yes; then
13946 wx_cv_use_validators='wxUSE_VALIDATORS
=yes'
13948 wx_cv_use_validators='wxUSE_VALIDATORS
=no
'
13953 wx_cv_use_validators='wxUSE_VALIDATORS
=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13958 eval "$wx_cv_use_validators"
13960 if test x"$enablestring" = xdisable; then
13961 if test $wxUSE_VALIDATORS = no; then
13967 result=$wxUSE_VALIDATORS
13970 { echo "$as_me:$LINENO: result
: $result" >&5
13971 echo "${ECHO_T}$result" >&6; }
13975 defaultval=$wxUSE_ALL_FEATURES
13976 if test -z "$defaultval"; then
13977 if test x"$enablestring" = xdisable; then
13984 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-busyinfo" >&5
13985 echo $ECHO_N "checking
for --${enablestring:-enable}-busyinfo...
$ECHO_C" >&6; }
13986 # Check whether --enable-busyinfo was given.
13987 if test "${enable_busyinfo+set}" = set; then
13988 enableval=$enable_busyinfo;
13989 if test "$enableval" = yes; then
13990 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13992 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13997 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
14002 eval "$wx_cv_use_busyinfo"
14004 if test x
"$enablestring" = xdisable
; then
14005 if test $wxUSE_BUSYINFO = no
; then
14011 result
=$wxUSE_BUSYINFO
14014 { echo "$as_me:$LINENO: result: $result" >&5
14015 echo "${ECHO_T}$result" >&6; }
14019 defaultval
=$wxUSE_ALL_FEATURES
14020 if test -z "$defaultval"; then
14021 if test x
"$enablestring" = xdisable
; then
14028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hotkey" >&5
14029 echo $ECHO_N "checking for --${enablestring:-enable}-hotkey... $ECHO_C" >&6; }
14030 # Check whether --enable-hotkey was given.
14031 if test "${enable_hotkey+set}" = set; then
14032 enableval
=$enable_hotkey;
14033 if test "$enableval" = yes; then
14034 wx_cv_use_hotkey
='wxUSE_HOTKEY=yes'
14036 wx_cv_use_hotkey
='wxUSE_HOTKEY=no'
14041 wx_cv_use_hotkey
='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
14046 eval "$wx_cv_use_hotkey"
14048 if test x"$enablestring" = xdisable; then
14049 if test $wxUSE_HOTKEY = no; then
14055 result=$wxUSE_HOTKEY
14058 { echo "$as_me:$LINENO: result: $result" >&5
14059 echo "${ECHO_T}$result" >&6; }
14063 defaultval=$wxUSE_ALL_FEATURES
14064 if test -z "$defaultval"; then
14065 if test x"$enablestring" = xdisable; then
14072 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
14073 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
14074 # Check whether --enable-joystick was given.
14075 if test "${enable_joystick+set}" = set; then
14076 enableval=$enable_joystick;
14077 if test "$enableval" = yes; then
14078 wx_cv_use_joystick='wxUSE_JOYSTICK
=yes'
14080 wx_cv_use_joystick='wxUSE_JOYSTICK
=no
'
14085 wx_cv_use_joystick='wxUSE_JOYSTICK
=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14090 eval "$wx_cv_use_joystick"
14092 if test x"$enablestring" = xdisable; then
14093 if test $wxUSE_JOYSTICK = no; then
14099 result=$wxUSE_JOYSTICK
14102 { echo "$as_me:$LINENO: result
: $result" >&5
14103 echo "${ECHO_T}$result" >&6; }
14107 defaultval=$wxUSE_ALL_FEATURES
14108 if test -z "$defaultval"; then
14109 if test x"$enablestring" = xdisable; then
14116 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-metafile" >&5
14117 echo $ECHO_N "checking
for --${enablestring:-enable}-metafile...
$ECHO_C" >&6; }
14118 # Check whether --enable-metafile was given.
14119 if test "${enable_metafile+set}" = set; then
14120 enableval=$enable_metafile;
14121 if test "$enableval" = yes; then
14122 wx_cv_use_metafile='wxUSE_METAFILE=yes'
14124 wx_cv_use_metafile='wxUSE_METAFILE=no'
14129 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14134 eval "$wx_cv_use_metafile"
14136 if test x
"$enablestring" = xdisable
; then
14137 if test $wxUSE_METAFILE = no
; then
14143 result
=$wxUSE_METAFILE
14146 { echo "$as_me:$LINENO: result: $result" >&5
14147 echo "${ECHO_T}$result" >&6; }
14151 defaultval
=$wxUSE_ALL_FEATURES
14152 if test -z "$defaultval"; then
14153 if test x
"$enablestring" = xdisable
; then
14160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
14161 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
14162 # Check whether --enable-dragimage was given.
14163 if test "${enable_dragimage+set}" = set; then
14164 enableval
=$enable_dragimage;
14165 if test "$enableval" = yes; then
14166 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
14168 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
14173 wx_cv_use_dragimage
='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14178 eval "$wx_cv_use_dragimage"
14180 if test x"$enablestring" = xdisable; then
14181 if test $wxUSE_DRAGIMAGE = no; then
14187 result=$wxUSE_DRAGIMAGE
14190 { echo "$as_me:$LINENO: result: $result" >&5
14191 echo "${ECHO_T}$result" >&6; }
14195 defaultval=$wxUSE_ALL_FEATURES
14196 if test -z "$defaultval"; then
14197 if test x"$enablestring" = xdisable; then
14204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14205 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14206 # Check whether --enable-accessibility was given.
14207 if test "${enable_accessibility+set}" = set; then
14208 enableval=$enable_accessibility;
14209 if test "$enableval" = yes; then
14210 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=yes'
14212 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=no
'
14217 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY
=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14222 eval "$wx_cv_use_accessibility"
14224 if test x"$enablestring" = xdisable; then
14225 if test $wxUSE_ACCESSIBILITY = no; then
14231 result=$wxUSE_ACCESSIBILITY
14234 { echo "$as_me:$LINENO: result
: $result" >&5
14235 echo "${ECHO_T}$result" >&6; }
14239 defaultval=$wxUSE_ALL_FEATURES
14240 if test -z "$defaultval"; then
14241 if test x"$enablestring" = xdisable; then
14248 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uiactionsim" >&5
14249 echo $ECHO_N "checking
for --${enablestring:-enable}-uiactionsim...
$ECHO_C" >&6; }
14250 # Check whether --enable-uiactionsim was given.
14251 if test "${enable_uiactionsim+set}" = set; then
14252 enableval=$enable_uiactionsim;
14253 if test "$enableval" = yes; then
14254 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
14256 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
14261 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14266 eval "$wx_cv_use_uiactionsim"
14268 if test x
"$enablestring" = xdisable
; then
14269 if test $wxUSE_UIACTIONSIMULATOR = no
; then
14275 result
=$wxUSE_UIACTIONSIMULATOR
14278 { echo "$as_me:$LINENO: result: $result" >&5
14279 echo "${ECHO_T}$result" >&6; }
14283 defaultval
=$wxUSE_ALL_FEATURES
14284 if test -z "$defaultval"; then
14285 if test x
"$enablestring" = xdisable
; then
14292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dctransform" >&5
14293 echo $ECHO_N "checking for --${enablestring:-enable}-dctransform... $ECHO_C" >&6; }
14294 # Check whether --enable-dctransform was given.
14295 if test "${enable_dctransform+set}" = set; then
14296 enableval
=$enable_dctransform;
14297 if test "$enableval" = yes; then
14298 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=yes'
14300 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=no'
14305 wx_cv_use_dctransform
='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14310 eval "$wx_cv_use_dctransform"
14312 if test x"$enablestring" = xdisable; then
14313 if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
14319 result=$wxUSE_DC_TRANSFORM_MATRIX
14322 { echo "$as_me:$LINENO: result: $result" >&5
14323 echo "${ECHO_T}$result" >&6; }
14327 defaultval=$wxUSE_ALL_FEATURES
14328 if test -z "$defaultval"; then
14329 if test x"$enablestring" = xdisable; then
14336 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14337 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14338 # Check whether --enable-webviewwebkit was given.
14339 if test "${enable_webviewwebkit+set}" = set; then
14340 enableval=$enable_webviewwebkit;
14341 if test "$enableval" = yes; then
14342 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=yes'
14344 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=no
'
14349 wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT
=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14354 eval "$wx_cv_use_webviewwebkit"
14356 if test x"$enablestring" = xdisable; then
14357 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14363 result=$wxUSE_WEBVIEW_WEBKIT
14366 { echo "$as_me:$LINENO: result
: $result" >&5
14367 echo "${ECHO_T}$result" >&6; }
14373 defaultval=$wxUSE_ALL_FEATURES
14374 if test -z "$defaultval"; then
14375 if test x"$enablestring" = xdisable; then
14382 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-palette" >&5
14383 echo $ECHO_N "checking
for --${enablestring:-enable}-palette...
$ECHO_C" >&6; }
14384 # Check whether --enable-palette was given.
14385 if test "${enable_palette+set}" = set; then
14386 enableval=$enable_palette;
14387 if test "$enableval" = yes; then
14388 wx_cv_use_palette='wxUSE_PALETTE=yes'
14390 wx_cv_use_palette='wxUSE_PALETTE=no'
14395 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14400 eval "$wx_cv_use_palette"
14402 if test x
"$enablestring" = xdisable
; then
14403 if test $wxUSE_PALETTE = no
; then
14409 result
=$wxUSE_PALETTE
14412 { echo "$as_me:$LINENO: result: $result" >&5
14413 echo "${ECHO_T}$result" >&6; }
14417 defaultval
=$wxUSE_ALL_FEATURES
14418 if test -z "$defaultval"; then
14419 if test x
"$enablestring" = xdisable
; then
14426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
14427 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
14428 # Check whether --enable-image was given.
14429 if test "${enable_image+set}" = set; then
14430 enableval
=$enable_image;
14431 if test "$enableval" = yes; then
14432 wx_cv_use_image
='wxUSE_IMAGE=yes'
14434 wx_cv_use_image
='wxUSE_IMAGE=no'
14439 wx_cv_use_image
='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14444 eval "$wx_cv_use_image"
14446 if test x"$enablestring" = xdisable; then
14447 if test $wxUSE_IMAGE = no; then
14453 result=$wxUSE_IMAGE
14456 { echo "$as_me:$LINENO: result: $result" >&5
14457 echo "${ECHO_T}$result" >&6; }
14461 defaultval=$wxUSE_ALL_FEATURES
14462 if test -z "$defaultval"; then
14463 if test x"$enablestring" = xdisable; then
14470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14471 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14472 # Check whether --enable-gif was given.
14473 if test "${enable_gif+set}" = set; then
14474 enableval=$enable_gif;
14475 if test "$enableval" = yes; then
14476 wx_cv_use_gif='wxUSE_GIF
=yes'
14478 wx_cv_use_gif='wxUSE_GIF
=no
'
14483 wx_cv_use_gif='wxUSE_GIF
=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14488 eval "$wx_cv_use_gif"
14490 if test x"$enablestring" = xdisable; then
14491 if test $wxUSE_GIF = no; then
14500 { echo "$as_me:$LINENO: result
: $result" >&5
14501 echo "${ECHO_T}$result" >&6; }
14505 defaultval=$wxUSE_ALL_FEATURES
14506 if test -z "$defaultval"; then
14507 if test x"$enablestring" = xdisable; then
14514 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pcx" >&5
14515 echo $ECHO_N "checking
for --${enablestring:-enable}-pcx...
$ECHO_C" >&6; }
14516 # Check whether --enable-pcx was given.
14517 if test "${enable_pcx+set}" = set; then
14518 enableval=$enable_pcx;
14519 if test "$enableval" = yes; then
14520 wx_cv_use_pcx='wxUSE_PCX=yes'
14522 wx_cv_use_pcx='wxUSE_PCX=no'
14527 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14532 eval "$wx_cv_use_pcx"
14534 if test x
"$enablestring" = xdisable
; then
14535 if test $wxUSE_PCX = no
; then
14544 { echo "$as_me:$LINENO: result: $result" >&5
14545 echo "${ECHO_T}$result" >&6; }
14549 defaultval
=$wxUSE_ALL_FEATURES
14550 if test -z "$defaultval"; then
14551 if test x
"$enablestring" = xdisable
; then
14558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
14559 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
14560 # Check whether --enable-tga was given.
14561 if test "${enable_tga+set}" = set; then
14562 enableval
=$enable_tga;
14563 if test "$enableval" = yes; then
14564 wx_cv_use_tga
='wxUSE_TGA=yes'
14566 wx_cv_use_tga
='wxUSE_TGA=no'
14571 wx_cv_use_tga
='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14576 eval "$wx_cv_use_tga"
14578 if test x"$enablestring" = xdisable; then
14579 if test $wxUSE_TGA = no; then
14588 { echo "$as_me:$LINENO: result: $result" >&5
14589 echo "${ECHO_T}$result" >&6; }
14593 defaultval=$wxUSE_ALL_FEATURES
14594 if test -z "$defaultval"; then
14595 if test x"$enablestring" = xdisable; then
14602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14603 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14604 # Check whether --enable-iff was given.
14605 if test "${enable_iff+set}" = set; then
14606 enableval=$enable_iff;
14607 if test "$enableval" = yes; then
14608 wx_cv_use_iff='wxUSE_IFF
=yes'
14610 wx_cv_use_iff='wxUSE_IFF
=no
'
14615 wx_cv_use_iff='wxUSE_IFF
=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14620 eval "$wx_cv_use_iff"
14622 if test x"$enablestring" = xdisable; then
14623 if test $wxUSE_IFF = no; then
14632 { echo "$as_me:$LINENO: result
: $result" >&5
14633 echo "${ECHO_T}$result" >&6; }
14637 defaultval=$wxUSE_ALL_FEATURES
14638 if test -z "$defaultval"; then
14639 if test x"$enablestring" = xdisable; then
14646 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-pnm" >&5
14647 echo $ECHO_N "checking
for --${enablestring:-enable}-pnm...
$ECHO_C" >&6; }
14648 # Check whether --enable-pnm was given.
14649 if test "${enable_pnm+set}" = set; then
14650 enableval=$enable_pnm;
14651 if test "$enableval" = yes; then
14652 wx_cv_use_pnm='wxUSE_PNM=yes'
14654 wx_cv_use_pnm='wxUSE_PNM=no'
14659 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14664 eval "$wx_cv_use_pnm"
14666 if test x
"$enablestring" = xdisable
; then
14667 if test $wxUSE_PNM = no
; then
14676 { echo "$as_me:$LINENO: result: $result" >&5
14677 echo "${ECHO_T}$result" >&6; }
14681 defaultval
=$wxUSE_ALL_FEATURES
14682 if test -z "$defaultval"; then
14683 if test x
"$enablestring" = xdisable
; then
14690 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
14691 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
14692 # Check whether --enable-xpm was given.
14693 if test "${enable_xpm+set}" = set; then
14694 enableval
=$enable_xpm;
14695 if test "$enableval" = yes; then
14696 wx_cv_use_xpm
='wxUSE_XPM=yes'
14698 wx_cv_use_xpm
='wxUSE_XPM=no'
14703 wx_cv_use_xpm
='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14708 eval "$wx_cv_use_xpm"
14710 if test x"$enablestring" = xdisable; then
14711 if test $wxUSE_XPM = no; then
14720 { echo "$as_me:$LINENO: result: $result" >&5
14721 echo "${ECHO_T}$result" >&6; }
14725 defaultval=$wxUSE_ALL_FEATURES
14726 if test -z "$defaultval"; then
14727 if test x"$enablestring" = xdisable; then
14734 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14735 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14736 # Check whether --enable-ico_cur was given.
14737 if test "${enable_ico_cur+set}" = set; then
14738 enableval=$enable_ico_cur;
14739 if test "$enableval" = yes; then
14740 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=yes'
14742 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=no
'
14747 wx_cv_use_ico_cur='wxUSE_ICO_CUR
=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14752 eval "$wx_cv_use_ico_cur"
14754 if test x"$enablestring" = xdisable; then
14755 if test $wxUSE_ICO_CUR = no; then
14761 result=$wxUSE_ICO_CUR
14764 { echo "$as_me:$LINENO: result
: $result" >&5
14765 echo "${ECHO_T}$result" >&6; }
14771 defaultval=$wxUSE_ALL_FEATURES
14772 if test -z "$defaultval"; then
14773 if test x"$enablestring" = xdisable; then
14780 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dccache" >&5
14781 echo $ECHO_N "checking
for --${enablestring:-enable}-dccache...
$ECHO_C" >&6; }
14782 # Check whether --enable-dccache was given.
14783 if test "${enable_dccache+set}" = set; then
14784 enableval=$enable_dccache;
14785 if test "$enableval" = yes; then
14786 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
14788 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
14793 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14798 eval "$wx_cv_use_dccache"
14800 if test x
"$enablestring" = xdisable
; then
14801 if test $wxUSE_DC_CACHEING = no
; then
14807 result
=$wxUSE_DC_CACHEING
14810 { echo "$as_me:$LINENO: result: $result" >&5
14811 echo "${ECHO_T}$result" >&6; }
14815 defaultval
=$wxUSE_ALL_FEATURES
14816 if test -z "$defaultval"; then
14817 if test x
"$enablestring" = xdisable
; then
14824 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
14825 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
14826 # Check whether --enable-ps-in-msw was given.
14827 if test "${enable_ps_in_msw+set}" = set; then
14828 enableval
=$enable_ps_in_msw;
14829 if test "$enableval" = yes; then
14830 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14832 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14837 wx_cv_use_ps_in_msw
='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14842 eval "$wx_cv_use_ps_in_msw"
14844 if test x"$enablestring" = xdisable; then
14845 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
14851 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14854 { echo "$as_me:$LINENO: result: $result" >&5
14855 echo "${ECHO_T}$result" >&6; }
14859 defaultval=$wxUSE_ALL_FEATURES
14860 if test -z "$defaultval"; then
14861 if test x"$enablestring" = xdisable; then
14868 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14869 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14870 # Check whether --enable-ownerdrawn was given.
14871 if test "${enable_ownerdrawn+set}" = set; then
14872 enableval=$enable_ownerdrawn;
14873 if test "$enableval" = yes; then
14874 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=yes'
14876 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=no
'
14881 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN
=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14886 eval "$wx_cv_use_ownerdrawn"
14888 if test x"$enablestring" = xdisable; then
14889 if test $wxUSE_OWNER_DRAWN = no; then
14895 result=$wxUSE_OWNER_DRAWN
14898 { echo "$as_me:$LINENO: result
: $result" >&5
14899 echo "${ECHO_T}$result" >&6; }
14903 defaultval=$wxUSE_ALL_FEATURES
14904 if test -z "$defaultval"; then
14905 if test x"$enablestring" = xdisable; then
14912 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-uxtheme" >&5
14913 echo $ECHO_N "checking
for --${enablestring:-enable}-uxtheme...
$ECHO_C" >&6; }
14914 # Check whether --enable-uxtheme was given.
14915 if test "${enable_uxtheme+set}" = set; then
14916 enableval=$enable_uxtheme;
14917 if test "$enableval" = yes; then
14918 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
14920 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
14925 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14930 eval "$wx_cv_use_uxtheme"
14932 if test x
"$enablestring" = xdisable
; then
14933 if test $wxUSE_UXTHEME = no
; then
14939 result
=$wxUSE_UXTHEME
14942 { echo "$as_me:$LINENO: result: $result" >&5
14943 echo "${ECHO_T}$result" >&6; }
14947 defaultval
=$wxUSE_ALL_FEATURES
14948 if test -z "$defaultval"; then
14949 if test x
"$enablestring" = xdisable
; then
14956 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
14957 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
14958 # Check whether --enable-wxdib was given.
14959 if test "${enable_wxdib+set}" = set; then
14960 enableval
=$enable_wxdib;
14961 if test "$enableval" = yes; then
14962 wx_cv_use_wxdib
='wxUSE_DIB=yes'
14964 wx_cv_use_wxdib
='wxUSE_DIB=no'
14969 wx_cv_use_wxdib
='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14974 eval "$wx_cv_use_wxdib"
14976 if test x"$enablestring" = xdisable; then
14977 if test $wxUSE_DIB = no; then
14986 { echo "$as_me:$LINENO: result: $result" >&5
14987 echo "${ECHO_T}$result" >&6; }
14991 defaultval=$wxUSE_ALL_FEATURES
14992 if test -z "$defaultval"; then
14993 if test x"$enablestring" = xdisable; then
15000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
15001 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
15002 # Check whether --enable-webviewie was given.
15003 if test "${enable_webviewie+set}" = set; then
15004 enableval=$enable_webviewie;
15005 if test "$enableval" = yes; then
15006 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=yes'
15008 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=no
'
15013 wx_cv_use_webviewie='wxUSE_WEBVIEW_IE
=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
15018 eval "$wx_cv_use_webviewie"
15020 if test x"$enablestring" = xdisable; then
15021 if test $wxUSE_WEBVIEW_IE = no; then
15027 result=$wxUSE_WEBVIEW_IE
15030 { echo "$as_me:$LINENO: result
: $result" >&5
15031 echo "${ECHO_T}$result" >&6; }
15034 if test "$wxUSE_MSW" != 1; then
15035 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
15040 defaultval=$wxUSE_ALL_FEATURES
15041 if test -z "$defaultval"; then
15042 if test x"$enablestring" = xdisable; then
15049 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-autoidman" >&5
15050 echo $ECHO_N "checking
for --${enablestring:-enable}-autoidman...
$ECHO_C" >&6; }
15051 # Check whether --enable-autoidman was given.
15052 if test "${enable_autoidman+set}" = set; then
15053 enableval=$enable_autoidman;
15054 if test "$enableval" = yes; then
15055 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
15057 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
15062 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
15067 eval "$wx_cv_use_autoidman"
15069 if test x
"$enablestring" = xdisable
; then
15070 if test $wxUSE_AUTOID_MANAGEMENT = no
; then
15076 result
=$wxUSE_AUTOID_MANAGEMENT
15079 { echo "$as_me:$LINENO: result: $result" >&5
15080 echo "${ECHO_T}$result" >&6; }
15086 cat >confcache
<<\_ACEOF
15087 # This file is a shell script that caches the results of configure
15088 # tests run on this system so they can be shared between configure
15089 # scripts and configure runs, see configure's option --config-cache.
15090 # It is not useful on other systems. If it contains results you don't
15091 # want to keep, you may remove or edit it.
15093 # config.status only pays attention to the cache file if you give it
15094 # the --recheck option to rerun configure.
15096 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15097 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15098 # following values.
15102 # The following way of writing the cache mishandles newlines in values,
15103 # but we know of no workaround that is simple, portable, and efficient.
15104 # So, we kill variables containing newlines.
15105 # Ultrix sh set writes to stderr and can't be redirected directly,
15106 # and sets the high bit in the cache file unless we assign to the vars.
15108 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15109 eval ac_val
=\$
$ac_var
15113 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
15114 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
15117 _
| IFS
| as_nl
) ;; #(
15118 *) $as_unset $ac_var ;;
15124 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15125 *${as_nl}ac_space
=\
*)
15126 # `set' does not quote correctly, so add quotes (double-quote
15127 # substitution turns \\\\ into \\, and sed turns \\ into \).
15130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15133 # `set' quotes correctly as required by POSIX, so do not add quotes.
15134 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15143 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15145 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15147 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15148 if test -w "$cache_file"; then
15149 test "x$cache_file" != "x/dev/null" &&
15150 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
15151 echo "$as_me: updating cache $cache_file" >&6;}
15152 cat confcache
>$cache_file
15154 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15155 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15162 ac_cpp
='$CPP $CPPFLAGS'
15163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15166 if test -n "$ac_tool_prefix"; then
15167 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15168 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
15169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15171 if test "${ac_cv_prog_CC+set}" = set; then
15172 echo $ECHO_N "(cached) $ECHO_C" >&6
15174 if test -n "$CC"; then
15175 ac_cv_prog_CC
="$CC" # Let the user override the test.
15177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15178 for as_dir
in $PATH
15181 test -z "$as_dir" && as_dir
=.
15182 for ac_exec_ext
in '' $ac_executable_extensions; do
15183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15184 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
15185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15195 if test -n "$CC"; then
15196 { echo "$as_me:$LINENO: result: $CC" >&5
15197 echo "${ECHO_T}$CC" >&6; }
15199 { echo "$as_me:$LINENO: result: no" >&5
15200 echo "${ECHO_T}no" >&6; }
15205 if test -z "$ac_cv_prog_CC"; then
15207 # Extract the first word of "gcc", so it can be a program name with args.
15208 set dummy gcc
; ac_word
=$2
15209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15211 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15214 if test -n "$ac_ct_CC"; then
15215 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15218 for as_dir
in $PATH
15221 test -z "$as_dir" && as_dir
=.
15222 for ac_exec_ext
in '' $ac_executable_extensions; do
15223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15224 ac_cv_prog_ac_ct_CC
="gcc"
15225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15234 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15235 if test -n "$ac_ct_CC"; then
15236 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15237 echo "${ECHO_T}$ac_ct_CC" >&6; }
15239 { echo "$as_me:$LINENO: result: no" >&5
15240 echo "${ECHO_T}no" >&6; }
15243 if test "x$ac_ct_CC" = x
; then
15246 case $cross_compiling:$ac_tool_warned in
15248 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15249 whose name does not start with the host triplet. If you think this
15250 configuration is useful to you, please write to autoconf@gnu.org." >&5
15251 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15252 whose name does not start with the host triplet. If you think this
15253 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15254 ac_tool_warned
=yes ;;
15259 CC
="$ac_cv_prog_CC"
15262 if test -z "$CC"; then
15263 if test -n "$ac_tool_prefix"; then
15264 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
15265 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
15266 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15267 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15268 if test "${ac_cv_prog_CC+set}" = set; then
15269 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 if test -n "$CC"; then
15272 ac_cv_prog_CC
="$CC" # Let the user override the test.
15274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15275 for as_dir
in $PATH
15278 test -z "$as_dir" && as_dir
=.
15279 for ac_exec_ext
in '' $ac_executable_extensions; do
15280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15281 ac_cv_prog_CC
="${ac_tool_prefix}cc"
15282 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15292 if test -n "$CC"; then
15293 { echo "$as_me:$LINENO: result: $CC" >&5
15294 echo "${ECHO_T}$CC" >&6; }
15296 { echo "$as_me:$LINENO: result: no" >&5
15297 echo "${ECHO_T}no" >&6; }
15303 if test -z "$CC"; then
15304 # Extract the first word of "cc", so it can be a program name with args.
15305 set dummy cc
; ac_word
=$2
15306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15308 if test "${ac_cv_prog_CC+set}" = set; then
15309 echo $ECHO_N "(cached) $ECHO_C" >&6
15311 if test -n "$CC"; then
15312 ac_cv_prog_CC
="$CC" # Let the user override the test.
15314 ac_prog_rejected
=no
15315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15316 for as_dir
in $PATH
15319 test -z "$as_dir" && as_dir
=.
15320 for ac_exec_ext
in '' $ac_executable_extensions; do
15321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15322 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
15323 ac_prog_rejected
=yes
15327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15334 if test $ac_prog_rejected = yes; then
15335 # We found a bogon in the path, so make sure we never use it.
15336 set dummy
$ac_cv_prog_CC
15338 if test $# != 0; then
15339 # We chose a different compiler from the bogus one.
15340 # However, it has the same basename, so the bogon will be chosen
15341 # first if we set CC to just the basename; use the full file name.
15343 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
15349 if test -n "$CC"; then
15350 { echo "$as_me:$LINENO: result: $CC" >&5
15351 echo "${ECHO_T}$CC" >&6; }
15353 { echo "$as_me:$LINENO: result: no" >&5
15354 echo "${ECHO_T}no" >&6; }
15359 if test -z "$CC"; then
15360 if test -n "$ac_tool_prefix"; then
15361 for ac_prog
in cl.exe
15363 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15364 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
15365 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15366 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15367 if test "${ac_cv_prog_CC+set}" = set; then
15368 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 if test -n "$CC"; then
15371 ac_cv_prog_CC
="$CC" # Let the user override the test.
15373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15374 for as_dir
in $PATH
15377 test -z "$as_dir" && as_dir
=.
15378 for ac_exec_ext
in '' $ac_executable_extensions; do
15379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15380 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
15381 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15391 if test -n "$CC"; then
15392 { echo "$as_me:$LINENO: result: $CC" >&5
15393 echo "${ECHO_T}$CC" >&6; }
15395 { echo "$as_me:$LINENO: result: no" >&5
15396 echo "${ECHO_T}no" >&6; }
15400 test -n "$CC" && break
15403 if test -z "$CC"; then
15405 for ac_prog
in cl.exe
15407 # Extract the first word of "$ac_prog", so it can be a program name with args.
15408 set dummy
$ac_prog; ac_word
=$2
15409 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15411 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15412 echo $ECHO_N "(cached) $ECHO_C" >&6
15414 if test -n "$ac_ct_CC"; then
15415 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
15417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15418 for as_dir
in $PATH
15421 test -z "$as_dir" && as_dir
=.
15422 for ac_exec_ext
in '' $ac_executable_extensions; do
15423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15424 ac_cv_prog_ac_ct_CC
="$ac_prog"
15425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15434 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
15435 if test -n "$ac_ct_CC"; then
15436 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
15437 echo "${ECHO_T}$ac_ct_CC" >&6; }
15439 { echo "$as_me:$LINENO: result: no" >&5
15440 echo "${ECHO_T}no" >&6; }
15444 test -n "$ac_ct_CC" && break
15447 if test "x$ac_ct_CC" = x
; then
15450 case $cross_compiling:$ac_tool_warned in
15452 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15453 whose name does not start with the host triplet. If you think this
15454 configuration is useful to you, please write to autoconf@gnu.org." >&5
15455 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15456 whose name does not start with the host triplet. If you think this
15457 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15458 ac_tool_warned
=yes ;;
15467 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
15468 See \`config.log' for more details." >&5
15469 echo "$as_me: error: no acceptable C compiler found in \$PATH
15470 See \`config.log' for more details." >&2;}
15471 { (exit 1); exit 1; }; }
15473 # Provide some information about the compiler.
15474 echo "$as_me:$LINENO: checking for C compiler version" >&5
15475 ac_compiler
=`set X $ac_compile; echo $2`
15476 { (ac_try
="$ac_compiler --version >&5"
15477 case "(($ac_try" in
15478 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15479 *) ac_try_echo=$ac_try;;
15481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15482 (eval "$ac_compiler --version >&5") 2>&5
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); }
15486 { (ac_try="$ac_compiler -v >&5"
15487 case "(($ac_try" in
15488 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15489 *) ac_try_echo
=$ac_try;;
15491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15492 (eval "$ac_compiler -v >&5") 2>&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); }
15496 { (ac_try
="$ac_compiler -V >&5"
15497 case "(($ac_try" in
15498 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15499 *) ac_try_echo=$ac_try;;
15501 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15502 (eval "$ac_compiler -V >&5") 2>&5
15504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15505 (exit $ac_status); }
15507 cat >conftest.$ac_ext <<_ACEOF
15510 cat confdefs.h >>conftest.$ac_ext
15511 cat >>conftest.$ac_ext <<_ACEOF
15512 /* end confdefs.h. */
15522 ac_clean_files_save=$ac_clean_files
15523 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15524 # Try to create an executable without -o first, disregard a.out.
15525 # It will help us diagnose broken compilers, and finding out an intuition
15527 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15528 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15529 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
15531 # List of possible output files, starting from the most likely.
15532 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
15533 # only as a last resort. b.out is created by i960 compilers.
15534 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
15536 # The IRIX 6 linker writes into existing files which may not be
15537 # executable, retaining their permissions. Remove them first so a
15538 # subsequent execution test works.
15540 for ac_file in $ac_files
15543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
15544 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
15549 if { (ac_try="$ac_link_default"
15550 case "(($ac_try" in
15551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15552 *) ac_try_echo=$ac_try;;
15554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15555 (eval "$ac_link_default") 2>&5
15557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15558 (exit $ac_status); }; then
15559 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
15560 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
15561 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15562 # so that the user can short-circuit this test for compilers unknown to
15564 for ac_file
in $ac_files ''
15566 test -f "$ac_file" || continue
15568 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
)
15571 # We found the default executable, but exeext='' is most
15575 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
15577 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15579 # We set ac_cv_exeext here because the later test for it is not
15580 # safe: cross compilers may not add the suffix if given an `-o'
15581 # argument, so we may need to know it at that point already.
15582 # Even if this section looks crufty: it has the advantage of
15583 # actually working.
15589 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
15595 { echo "$as_me:$LINENO: result: $ac_file" >&5
15596 echo "${ECHO_T}$ac_file" >&6; }
15597 if test -z "$ac_file"; then
15598 echo "$as_me: failed program was:" >&5
15599 sed 's/^/| /' conftest.
$ac_ext >&5
15601 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15602 See \`config.log' for more details." >&5
15603 echo "$as_me: error: C compiler cannot create executables
15604 See \`config.log' for more details." >&2;}
15605 { (exit 77); exit 77; }; }
15608 ac_exeext
=$ac_cv_exeext
15610 # Check that the compiler produces executables we can run. If not, either
15611 # the compiler is broken, or we cross compile.
15612 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15613 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15614 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15615 # If not cross compiling, check that we can run a simple program.
15616 if test "$cross_compiling" != yes; then
15617 if { ac_try
='./$ac_file'
15618 { (case "(($ac_try" in
15619 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15620 *) ac_try_echo=$ac_try;;
15622 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15623 (eval "$ac_try") 2>&5
15625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15626 (exit $ac_status); }; }; then
15629 if test "$cross_compiling" = maybe; then
15630 cross_compiling=yes
15632 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15633 If you meant to cross compile, use \`--host'.
15634 See \`config.log' for more details.
" >&5
15635 echo "$as_me: error
: cannot run C compiled programs.
15636 If you meant to cross compile
, use \
`--host'.
15637 See \`config.log
' for more details." >&2;}
15638 { (exit 1); exit 1; }; }
15642 { echo "$as_me:$LINENO: result: yes" >&5
15643 echo "${ECHO_T}yes" >&6; }
15645 rm -f a.out a.exe conftest$ac_cv_exeext b.out
15646 ac_clean_files=$ac_clean_files_save
15647 # Check that the compiler produces executables we can run. If not, either
15648 # the compiler is broken, or we cross compile.
15649 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15650 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15651 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15652 echo "${ECHO_T}$cross_compiling" >&6; }
15654 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15655 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15656 if { (ac_try="$ac_link"
15657 case "(($ac_try" in
15658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15659 *) ac_try_echo=$ac_try;;
15661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15662 (eval "$ac_link") 2>&5
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; then
15666 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
15667 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
15668 # work properly (i.e., refer to `conftest.exe
'), while it won't with
15670 for ac_file
in conftest.exe conftest conftest.
*; do
15671 test -f "$ac_file" || continue
15673 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15674 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15680 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15681 See \`config.log' for more details." >&5
15682 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15683 See \`config.log' for more details." >&2;}
15684 { (exit 1); exit 1; }; }
15687 rm -f conftest
$ac_cv_exeext
15688 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15689 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15691 rm -f conftest.
$ac_ext
15692 EXEEXT
=$ac_cv_exeext
15694 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15695 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15696 if test "${ac_cv_objext+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15699 cat >conftest.
$ac_ext <<_ACEOF
15702 cat confdefs.h
>>conftest.
$ac_ext
15703 cat >>conftest.
$ac_ext <<_ACEOF
15704 /* end confdefs.h. */
15714 rm -f conftest.o conftest.obj
15715 if { (ac_try
="$ac_compile"
15716 case "(($ac_try" in
15717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15718 *) ac_try_echo=$ac_try;;
15720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15721 (eval "$ac_compile") 2>&5
15723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15724 (exit $ac_status); }; then
15725 for ac_file in conftest.o conftest.obj conftest.*; do
15726 test -f "$ac_file" || continue;
15728 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15729 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15734 echo "$as_me: failed program was:" >&5
15735 sed 's/^/| /' conftest.$ac_ext >&5
15737 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15738 See \`config.log
' for more details." >&5
15739 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15740 See \`config.log' for more details.
" >&2;}
15741 { (exit 1); exit 1; }; }
15744 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15746 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15747 echo "${ECHO_T}$ac_cv_objext" >&6; }
15748 OBJEXT=$ac_cv_objext
15750 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15751 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15752 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15753 echo $ECHO_N "(cached
) $ECHO_C" >&6
15755 cat >conftest.$ac_ext <<_ACEOF
15758 cat confdefs.h >>conftest.$ac_ext
15759 cat >>conftest.$ac_ext <<_ACEOF
15760 /* end confdefs.h. */
15773 rm -f conftest.$ac_objext
15774 if { (ac_try="$ac_compile"
15775 case "(($ac_try" in
15776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15777 *) ac_try_echo=$ac_try;;
15779 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15780 (eval "$ac_compile") 2>conftest.er1
15782 grep -v '^ *+' conftest.er1 >conftest.err
15784 cat conftest.err >&5
15785 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15786 (exit $ac_status); } && {
15787 test -z "$ac_c_werror_flag" ||
15788 test ! -s conftest.err
15789 } && test -s conftest.$ac_objext; then
15790 ac_compiler_gnu=yes
15792 echo "$as_me: failed program was
:" >&5
15793 sed 's/^/| /' conftest.$ac_ext >&5
15798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15799 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15802 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15803 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15804 GCC=`test $ac_compiler_gnu = yes && echo yes`
15805 ac_test_CFLAGS=${CFLAGS+set}
15806 ac_save_CFLAGS=$CFLAGS
15807 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15808 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15809 if test "${ac_cv_prog_cc_g+set}" = set; then
15810 echo $ECHO_N "(cached
) $ECHO_C" >&6
15812 ac_save_c_werror_flag=$ac_c_werror_flag
15813 ac_c_werror_flag=yes
15816 cat >conftest.$ac_ext <<_ACEOF
15819 cat confdefs.h >>conftest.$ac_ext
15820 cat >>conftest.$ac_ext <<_ACEOF
15821 /* end confdefs.h. */
15831 rm -f conftest.$ac_objext
15832 if { (ac_try="$ac_compile"
15833 case "(($ac_try" in
15834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15835 *) ac_try_echo=$ac_try;;
15837 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15838 (eval "$ac_compile") 2>conftest.er1
15840 grep -v '^ *+' conftest.er1 >conftest.err
15842 cat conftest.err >&5
15843 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15844 (exit $ac_status); } && {
15845 test -z "$ac_c_werror_flag" ||
15846 test ! -s conftest.err
15847 } && test -s conftest.$ac_objext; then
15848 ac_cv_prog_cc_g=yes
15850 echo "$as_me: failed program was
:" >&5
15851 sed 's/^/| /' conftest.$ac_ext >&5
15854 cat >conftest.$ac_ext <<_ACEOF
15857 cat confdefs.h >>conftest.$ac_ext
15858 cat >>conftest.$ac_ext <<_ACEOF
15859 /* end confdefs.h. */
15869 rm -f conftest.$ac_objext
15870 if { (ac_try="$ac_compile"
15871 case "(($ac_try" in
15872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15873 *) ac_try_echo=$ac_try;;
15875 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15876 (eval "$ac_compile") 2>conftest.er1
15878 grep -v '^ *+' conftest.er1 >conftest.err
15880 cat conftest.err >&5
15881 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15882 (exit $ac_status); } && {
15883 test -z "$ac_c_werror_flag" ||
15884 test ! -s conftest.err
15885 } && test -s conftest.$ac_objext; then
15888 echo "$as_me: failed program was
:" >&5
15889 sed 's/^/| /' conftest.$ac_ext >&5
15891 ac_c_werror_flag=$ac_save_c_werror_flag
15893 cat >conftest.$ac_ext <<_ACEOF
15896 cat confdefs.h >>conftest.$ac_ext
15897 cat >>conftest.$ac_ext <<_ACEOF
15898 /* end confdefs.h. */
15908 rm -f conftest.$ac_objext
15909 if { (ac_try="$ac_compile"
15910 case "(($ac_try" in
15911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15912 *) ac_try_echo=$ac_try;;
15914 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15915 (eval "$ac_compile") 2>conftest.er1
15917 grep -v '^ *+' conftest.er1 >conftest.err
15919 cat conftest.err >&5
15920 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15921 (exit $ac_status); } && {
15922 test -z "$ac_c_werror_flag" ||
15923 test ! -s conftest.err
15924 } && test -s conftest.$ac_objext; then
15925 ac_cv_prog_cc_g=yes
15927 echo "$as_me: failed program was
:" >&5
15928 sed 's/^/| /' conftest.$ac_ext >&5
15933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15940 ac_c_werror_flag=$ac_save_c_werror_flag
15942 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15943 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15944 if test "$ac_test_CFLAGS" = set; then
15945 CFLAGS=$ac_save_CFLAGS
15946 elif test $ac_cv_prog_cc_g = yes; then
15947 if test "$GCC" = yes; then
15953 if test "$GCC" = yes; then
15959 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15960 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15961 if test "${ac_cv_prog_cc_c89+set}" = set; then
15962 echo $ECHO_N "(cached
) $ECHO_C" >&6
15964 ac_cv_prog_cc_c89=no
15966 cat >conftest.$ac_ext <<_ACEOF
15969 cat confdefs.h >>conftest.$ac_ext
15970 cat >>conftest.$ac_ext <<_ACEOF
15971 /* end confdefs.h. */
15972 #include <stdarg.h>
15974 #include <sys/types.h>
15975 #include <sys/stat.h>
15976 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15977 struct buf { int x; };
15978 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15979 static char *e (p, i)
15985 static char *f (char * (*g) (char **, int), char **p, ...)
15990 s = g (p, va_arg (v,int));
15995 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15996 function prototypes and stuff, but not '\xHH' hex character constants.
15997 These don't provoke an error unfortunately, instead are silently treated
15998 as 'x'. The following induces an error, until -std is added to get
15999 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
16000 array size at least. It's necessary to write '\x00'==0 to get something
16001 that's true only with -std. */
16002 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
16004 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
16005 inside strings and character constants. */
16007 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
16009 int test (int i, double x);
16010 struct s1 {int (*f) (int a);};
16011 struct s2 {int (*f) (double a);};
16012 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
16018 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
16023 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
16024 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
16026 CC="$ac_save_CC $ac_arg"
16027 rm -f conftest.$ac_objext
16028 if { (ac_try="$ac_compile"
16029 case "(($ac_try" in
16030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16031 *) ac_try_echo=$ac_try;;
16033 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16034 (eval "$ac_compile") 2>conftest.er1
16036 grep -v '^ *+' conftest.er1 >conftest.err
16038 cat conftest.err >&5
16039 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16040 (exit $ac_status); } && {
16041 test -z "$ac_c_werror_flag" ||
16042 test ! -s conftest.err
16043 } && test -s conftest.$ac_objext; then
16044 ac_cv_prog_cc_c89=$ac_arg
16046 echo "$as_me: failed program was
:" >&5
16047 sed 's/^/| /' conftest.$ac_ext >&5
16052 rm -f core conftest.err conftest.$ac_objext
16053 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
16055 rm -f conftest.$ac_ext
16060 case "x
$ac_cv_prog_cc_c89" in
16062 { echo "$as_me:$LINENO: result
: none needed
" >&5
16063 echo "${ECHO_T}none needed
" >&6; } ;;
16065 { echo "$as_me:$LINENO: result
: unsupported
" >&5
16066 echo "${ECHO_T}unsupported
" >&6; } ;;
16068 CC="$CC $ac_cv_prog_cc_c89"
16069 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
16070 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
16075 ac_cpp='$CPP $CPPFLAGS'
16076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16088 ac_cpp='$CPP $CPPFLAGS'
16089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16093 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
16094 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
16095 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16096 echo $ECHO_N "(cached
) $ECHO_C" >&6
16098 cat >conftest.$ac_ext <<_ACEOF
16101 cat confdefs.h >>conftest.$ac_ext
16102 cat >>conftest.$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16109 #ifndef __INTEL_COMPILER
16117 rm -f conftest.$ac_objext
16118 if { (ac_try="$ac_compile"
16119 case "(($ac_try" in
16120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16121 *) ac_try_echo=$ac_try;;
16123 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16124 (eval "$ac_compile") 2>conftest.er1
16126 grep -v '^ *+' conftest.er1 >conftest.err
16128 cat conftest.err >&5
16129 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16130 (exit $ac_status); } && {
16131 test -z "$ac_c_werror_flag" ||
16132 test ! -s conftest.err
16133 } && test -s conftest.$ac_objext; then
16134 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16136 echo "$as_me: failed program was
:" >&5
16137 sed 's/^/| /' conftest.$ac_ext >&5
16139 bakefile_cv_c_compiler___INTEL_COMPILER=no
16143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16147 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16148 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16149 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16155 ac_cpp='$CPP $CPPFLAGS'
16156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16163 if test "$INTELCC" = "yes"; then
16167 ac_cpp='$CPP $CPPFLAGS'
16168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16172 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
16173 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
16174 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16175 echo $ECHO_N "(cached
) $ECHO_C" >&6
16177 cat >conftest.$ac_ext <<_ACEOF
16180 cat confdefs.h >>conftest.$ac_ext
16181 cat >>conftest.$ac_ext <<_ACEOF
16182 /* end confdefs.h. */
16188 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16196 rm -f conftest.$ac_objext
16197 if { (ac_try="$ac_compile"
16198 case "(($ac_try" in
16199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16200 *) ac_try_echo=$ac_try;;
16202 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16203 (eval "$ac_compile") 2>conftest.er1
16205 grep -v '^ *+' conftest.er1 >conftest.err
16207 cat conftest.err >&5
16208 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16209 (exit $ac_status); } && {
16210 test -z "$ac_c_werror_flag" ||
16211 test ! -s conftest.err
16212 } && test -s conftest.$ac_objext; then
16213 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16215 echo "$as_me: failed program was
:" >&5
16216 sed 's/^/| /' conftest.$ac_ext >&5
16218 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16226 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16227 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16228 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
16234 ac_cpp='$CPP $CPPFLAGS'
16235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16244 ac_cpp='$CPP $CPPFLAGS'
16245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16249 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
16250 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
16251 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16252 echo $ECHO_N "(cached
) $ECHO_C" >&6
16254 cat >conftest.$ac_ext <<_ACEOF
16257 cat confdefs.h >>conftest.$ac_ext
16258 cat >>conftest.$ac_ext <<_ACEOF
16259 /* end confdefs.h. */
16265 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16273 rm -f conftest.$ac_objext
16274 if { (ac_try="$ac_compile"
16275 case "(($ac_try" in
16276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16277 *) ac_try_echo=$ac_try;;
16279 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16280 (eval "$ac_compile") 2>conftest.er1
16282 grep -v '^ *+' conftest.er1 >conftest.err
16284 cat conftest.err >&5
16285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16286 (exit $ac_status); } && {
16287 test -z "$ac_c_werror_flag" ||
16288 test ! -s conftest.err
16289 } && test -s conftest.$ac_objext; then
16290 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16292 echo "$as_me: failed program was
:" >&5
16293 sed 's/^/| /' conftest.$ac_ext >&5
16295 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16303 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16304 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16305 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
16311 ac_cpp='$CPP $CPPFLAGS'
16312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16320 if test "x
$GCC" != "xyes
"; then
16321 if test "xCC
" = "xC
"; then
16322 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16323 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16324 if test "${bakefile_cv_c_exto+set}" = set; then
16325 echo $ECHO_N "(cached
) $ECHO_C" >&6
16327 cat >conftest.$ac_ext <<_ACEOF
16330 cat confdefs.h >>conftest.$ac_ext
16331 cat >>conftest.$ac_ext <<_ACEOF
16332 /* end confdefs.h. */
16342 rm -f conftest.$ac_objext conftest.$ac_ext.o
16343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16344 (eval $ac_compile) 2>&5
16346 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16347 (exit $ac_status); }; then
16348 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16350 conftest.$ac_ext.o)
16351 bakefile_cv_c_exto="-ext o
"
16358 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16359 See \
`config.log' for more details." >&5
16360 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16361 See \`config.log
' for more details." >&2;}
16362 { (exit 1); exit 1; }; }
16366 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16369 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16370 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16371 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16372 if test "c" = "c"; then
16373 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16375 if test "c" = "cxx"; then
16376 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16380 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16381 unset ac_cv_prog_cc_g
16382 ac_test_CFLAGS=${CFLAGS+set}
16383 ac_save_CFLAGS=$CFLAGS
16384 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16385 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16386 if test "${ac_cv_prog_cc_g+set}" = set; then
16387 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 ac_save_c_werror_flag=$ac_c_werror_flag
16390 ac_c_werror_flag=yes
16393 cat >conftest.$ac_ext <<_ACEOF
16396 cat confdefs.h >>conftest.$ac_ext
16397 cat >>conftest.$ac_ext <<_ACEOF
16398 /* end confdefs.h. */
16408 rm -f conftest.$ac_objext
16409 if { (ac_try="$ac_compile"
16410 case "(($ac_try" in
16411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16412 *) ac_try_echo=$ac_try;;
16414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16415 (eval "$ac_compile") 2>conftest.er1
16417 grep -v '^
*+' conftest.er1 >conftest.err
16419 cat conftest.err >&5
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); } && {
16422 test -z "$ac_c_werror_flag" ||
16423 test ! -s conftest.err
16424 } && test -s conftest.$ac_objext; then
16425 ac_cv_prog_cc_g=yes
16427 echo "$as_me: failed program was:" >&5
16428 sed 's
/^
/| /' conftest.$ac_ext >&5
16431 cat >conftest.$ac_ext <<_ACEOF
16434 cat confdefs.h >>conftest.$ac_ext
16435 cat >>conftest.$ac_ext <<_ACEOF
16436 /* end confdefs.h. */
16446 rm -f conftest.$ac_objext
16447 if { (ac_try="$ac_compile"
16448 case "(($ac_try" in
16449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16450 *) ac_try_echo=$ac_try;;
16452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16453 (eval "$ac_compile") 2>conftest.er1
16455 grep -v '^
*+' conftest.er1 >conftest.err
16457 cat conftest.err >&5
16458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459 (exit $ac_status); } && {
16460 test -z "$ac_c_werror_flag" ||
16461 test ! -s conftest.err
16462 } && test -s conftest.$ac_objext; then
16465 echo "$as_me: failed program was:" >&5
16466 sed 's
/^
/| /' conftest.$ac_ext >&5
16468 ac_c_werror_flag=$ac_save_c_werror_flag
16470 cat >conftest.$ac_ext <<_ACEOF
16473 cat confdefs.h >>conftest.$ac_ext
16474 cat >>conftest.$ac_ext <<_ACEOF
16475 /* end confdefs.h. */
16485 rm -f conftest.$ac_objext
16486 if { (ac_try="$ac_compile"
16487 case "(($ac_try" in
16488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16489 *) ac_try_echo=$ac_try;;
16491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16492 (eval "$ac_compile") 2>conftest.er1
16494 grep -v '^
*+' conftest.er1 >conftest.err
16496 cat conftest.err >&5
16497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16498 (exit $ac_status); } && {
16499 test -z "$ac_c_werror_flag" ||
16500 test ! -s conftest.err
16501 } && test -s conftest.$ac_objext; then
16502 ac_cv_prog_cc_g=yes
16504 echo "$as_me: failed program was:" >&5
16505 sed 's
/^
/| /' conftest.$ac_ext >&5
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16517 ac_c_werror_flag=$ac_save_c_werror_flag
16519 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16520 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16521 if test "$ac_test_CFLAGS" = set; then
16522 CFLAGS=$ac_save_CFLAGS
16523 elif test $ac_cv_prog_cc_g = yes; then
16524 if test "$GCC" = yes; then
16530 if test "$GCC" = yes; then
16544 ac_cpp='$CPP $CPPFLAGS'
16545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16546 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16549 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16550 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16551 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16552 echo $ECHO_N "(cached) $ECHO_C" >&6
16554 cat >conftest.$ac_ext <<_ACEOF
16557 cat confdefs.h >>conftest.$ac_ext
16558 cat >>conftest.$ac_ext <<_ACEOF
16559 /* end confdefs.h. */
16573 rm -f conftest.$ac_objext
16574 if { (ac_try="$ac_compile"
16575 case "(($ac_try" in
16576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16577 *) ac_try_echo=$ac_try;;
16579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16580 (eval "$ac_compile") 2>conftest.er1
16582 grep -v '^
*+' conftest.er1 >conftest.err
16584 cat conftest.err >&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } && {
16587 test -z "$ac_c_werror_flag" ||
16588 test ! -s conftest.err
16589 } && test -s conftest.$ac_objext; then
16590 bakefile_cv_c_compiler___xlC__=yes
16592 echo "$as_me: failed program was:" >&5
16593 sed 's
/^
/| /' conftest.$ac_ext >&5
16595 bakefile_cv_c_compiler___xlC__=no
16599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16603 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16604 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16605 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16611 ac_cpp='$CPP $CPPFLAGS'
16612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16613 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16624 ac_cpp='$CPP $CPPFLAGS'
16625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16626 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16629 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16630 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16631 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16632 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 cat >conftest.$ac_ext <<_ACEOF
16637 cat confdefs.h >>conftest.$ac_ext
16638 cat >>conftest.$ac_ext <<_ACEOF
16639 /* end confdefs.h. */
16653 rm -f conftest.$ac_objext
16654 if { (ac_try="$ac_compile"
16655 case "(($ac_try" in
16656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16657 *) ac_try_echo=$ac_try;;
16659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16660 (eval "$ac_compile") 2>conftest.er1
16662 grep -v '^
*+' conftest.er1 >conftest.err
16664 cat conftest.err >&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); } && {
16667 test -z "$ac_c_werror_flag" ||
16668 test ! -s conftest.err
16669 } && test -s conftest.$ac_objext; then
16670 bakefile_cv_c_compiler___MWERKS__=yes
16672 echo "$as_me: failed program was:" >&5
16673 sed 's
/^
/| /' conftest.$ac_ext >&5
16675 bakefile_cv_c_compiler___MWERKS__=no
16679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16683 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16684 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16685 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16691 ac_cpp='$CPP $CPPFLAGS'
16692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16693 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16698 if test "$MWCC" != "yes"; then
16702 ac_cpp='$CPP $CPPFLAGS'
16703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16704 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16707 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16708 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16709 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16710 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 cat >conftest.$ac_ext <<_ACEOF
16715 cat confdefs.h >>conftest.$ac_ext
16716 cat >>conftest.$ac_ext <<_ACEOF
16717 /* end confdefs.h. */
16731 rm -f conftest.$ac_objext
16732 if { (ac_try="$ac_compile"
16733 case "(($ac_try" in
16734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16735 *) ac_try_echo=$ac_try;;
16737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16738 (eval "$ac_compile") 2>conftest.er1
16740 grep -v '^
*+' conftest.er1 >conftest.err
16742 cat conftest.err >&5
16743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16744 (exit $ac_status); } && {
16745 test -z "$ac_c_werror_flag" ||
16746 test ! -s conftest.err
16747 } && test -s conftest.$ac_objext; then
16748 bakefile_cv_c_compiler___xlC__=yes
16750 echo "$as_me: failed program was:" >&5
16751 sed 's
/^
/| /' conftest.$ac_ext >&5
16753 bakefile_cv_c_compiler___xlC__=no
16757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16761 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16762 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16763 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16769 ac_cpp='$CPP $CPPFLAGS'
16770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16771 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16783 ac_cpp='$CPP $CPPFLAGS'
16784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16785 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16788 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
16789 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16790 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
16791 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 cat >conftest.$ac_ext <<_ACEOF
16796 cat confdefs.h >>conftest.$ac_ext
16797 cat >>conftest.$ac_ext <<_ACEOF
16798 /* end confdefs.h. */
16804 #ifndef _SGI_COMPILER_VERSION
16812 rm -f conftest.$ac_objext
16813 if { (ac_try="$ac_compile"
16814 case "(($ac_try" in
16815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16816 *) ac_try_echo=$ac_try;;
16818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16819 (eval "$ac_compile") 2>conftest.er1
16821 grep -v '^
*+' conftest.er1 >conftest.err
16823 cat conftest.err >&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } && {
16826 test -z "$ac_c_werror_flag" ||
16827 test ! -s conftest.err
16828 } && test -s conftest.$ac_objext; then
16829 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
16831 echo "$as_me: failed program was:" >&5
16832 sed 's
/^
/| /' conftest.$ac_ext >&5
16834 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16842 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16843 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16844 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16850 ac_cpp='$CPP $CPPFLAGS'
16851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16852 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16860 if test "$INTELCC" != "yes"; then
16864 ac_cpp='$CPP $CPPFLAGS'
16865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16866 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16869 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
16870 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16871 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
16872 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 cat >conftest.$ac_ext <<_ACEOF
16877 cat confdefs.h >>conftest.$ac_ext
16878 cat >>conftest.$ac_ext <<_ACEOF
16879 /* end confdefs.h. */
16893 rm -f conftest.$ac_objext
16894 if { (ac_try="$ac_compile"
16895 case "(($ac_try" in
16896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16897 *) ac_try_echo=$ac_try;;
16899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16900 (eval "$ac_compile") 2>conftest.er1
16902 grep -v '^
*+' conftest.er1 >conftest.err
16904 cat conftest.err >&5
16905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16906 (exit $ac_status); } && {
16907 test -z "$ac_c_werror_flag" ||
16908 test ! -s conftest.err
16909 } && test -s conftest.$ac_objext; then
16910 bakefile_cv_c_compiler___SUNPRO_C=yes
16912 echo "$as_me: failed program was:" >&5
16913 sed 's
/^
/| /' conftest.$ac_ext >&5
16915 bakefile_cv_c_compiler___SUNPRO_C=no
16919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16923 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16924 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16925 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
16931 ac_cpp='$CPP $CPPFLAGS'
16932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16933 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16945 ac_cpp='$CPP $CPPFLAGS'
16946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16947 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16950 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
16951 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16952 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
16953 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 cat >conftest.$ac_ext <<_ACEOF
16958 cat confdefs.h >>conftest.$ac_ext
16959 cat >>conftest.$ac_ext <<_ACEOF
16960 /* end confdefs.h. */
16974 rm -f conftest.$ac_objext
16975 if { (ac_try="$ac_compile"
16976 case "(($ac_try" in
16977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16978 *) ac_try_echo=$ac_try;;
16980 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16981 (eval "$ac_compile") 2>conftest.er1
16983 grep -v '^
*+' conftest.er1 >conftest.err
16985 cat conftest.err >&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } && {
16988 test -z "$ac_c_werror_flag" ||
16989 test ! -s conftest.err
16990 } && test -s conftest.$ac_objext; then
16991 bakefile_cv_c_compiler___HP_cc=yes
16993 echo "$as_me: failed program was:" >&5
16994 sed 's
/^
/| /' conftest.$ac_ext >&5
16996 bakefile_cv_c_compiler___HP_cc=no
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
17005 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
17006 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
17012 ac_cpp='$CPP $CPPFLAGS'
17013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17014 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17025 ac_cpp='$CPP $CPPFLAGS'
17026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17027 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17030 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
17031 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
17032 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
17033 echo $ECHO_N "(cached) $ECHO_C" >&6
17035 cat >conftest.$ac_ext <<_ACEOF
17038 cat confdefs.h >>conftest.$ac_ext
17039 cat >>conftest.$ac_ext <<_ACEOF
17040 /* end confdefs.h. */
17054 rm -f conftest.$ac_objext
17055 if { (ac_try="$ac_compile"
17056 case "(($ac_try" in
17057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17058 *) ac_try_echo=$ac_try;;
17060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17061 (eval "$ac_compile") 2>conftest.er1
17063 grep -v '^
*+' conftest.er1 >conftest.err
17065 cat conftest.err >&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); } && {
17068 test -z "$ac_c_werror_flag" ||
17069 test ! -s conftest.err
17070 } && test -s conftest.$ac_objext; then
17071 bakefile_cv_c_compiler___DECC=yes
17073 echo "$as_me: failed program was:" >&5
17074 sed 's
/^
/| /' conftest.$ac_ext >&5
17076 bakefile_cv_c_compiler___DECC=no
17080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17084 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17085 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17086 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17092 ac_cpp='$CPP $CPPFLAGS'
17093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17094 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17105 ac_cpp='$CPP $CPPFLAGS'
17106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17107 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17110 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17111 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17112 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17113 echo $ECHO_N "(cached) $ECHO_C" >&6
17115 cat >conftest.$ac_ext <<_ACEOF
17118 cat confdefs.h >>conftest.$ac_ext
17119 cat >>conftest.$ac_ext <<_ACEOF
17120 /* end confdefs.h. */
17134 rm -f conftest.$ac_objext
17135 if { (ac_try="$ac_compile"
17136 case "(($ac_try" in
17137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17138 *) ac_try_echo=$ac_try;;
17140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17141 (eval "$ac_compile") 2>conftest.er1
17143 grep -v '^
*+' conftest.er1 >conftest.err
17145 cat conftest.err >&5
17146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17147 (exit $ac_status); } && {
17148 test -z "$ac_c_werror_flag" ||
17149 test ! -s conftest.err
17150 } && test -s conftest.$ac_objext; then
17151 bakefile_cv_c_compiler___SUNPRO_C=yes
17153 echo "$as_me: failed program was:" >&5
17154 sed 's
/^
/| /' conftest.$ac_ext >&5
17156 bakefile_cv_c_compiler___SUNPRO_C=no
17160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17164 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17165 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17166 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17172 ac_cpp='$CPP $CPPFLAGS'
17173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17174 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17186 ac_cpp='$CPP $CPPFLAGS'
17187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17188 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17190 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17191 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17192 # On Suns, sometimes $CPP names a directory.
17193 if test -n "$CPP" && test -d "$CPP"; then
17196 if test -z "$CPP"; then
17197 if test "${ac_cv_prog_CPP+set}" = set; then
17198 echo $ECHO_N "(cached) $ECHO_C" >&6
17200 # Double quotes because CPP needs to be expanded
17201 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17203 ac_preproc_ok=false
17204 for ac_c_preproc_warn_flag in '' yes
17206 # Use a header file that comes with gcc, so configuring glibc
17207 # with a fresh cross-compiler works.
17208 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17209 # <limits.h> exists even on freestanding compilers.
17210 # On the NeXT, cc -E runs the code through the compiler's parser
,
17211 # not just through cpp. "Syntax error" is here to catch this case.
17212 cat >conftest.
$ac_ext <<_ACEOF
17215 cat confdefs.h
>>conftest.
$ac_ext
17216 cat >>conftest.
$ac_ext <<_ACEOF
17217 /* end confdefs.h. */
17219 # include <limits.h>
17221 # include <assert.h>
17225 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17226 case "(($ac_try" in
17227 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17228 *) ac_try_echo=$ac_try;;
17230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17231 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17233 grep -v '^ *+' conftest.er1 >conftest.err
17235 cat conftest.err >&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); } >/dev/null && {
17238 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17239 test ! -s conftest.err
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.$ac_ext >&5
17246 # Broken: fails on valid input.
17250 rm -f conftest.err conftest.$ac_ext
17252 # OK, works on sane cases. Now check whether nonexistent headers
17253 # can be detected and how.
17254 cat >conftest.$ac_ext <<_ACEOF
17257 cat confdefs.h >>conftest.$ac_ext
17258 cat >>conftest.$ac_ext <<_ACEOF
17259 /* end confdefs.h. */
17260 #include <ac_nonexistent.h>
17262 if { (ac_try="$ac_cpp conftest.$ac_ext"
17263 case "(($ac_try" in
17264 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17265 *) ac_try_echo
=$ac_try;;
17267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17268 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17270 grep -v '^ *+' conftest.er1
>conftest.err
17272 cat conftest.err
>&5
17273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274 (exit $ac_status); } >/dev
/null
&& {
17275 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17276 test ! -s conftest.err
17278 # Broken: success on invalid input.
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.
$ac_ext >&5
17284 # Passes both tests.
17289 rm -f conftest.err conftest.
$ac_ext
17292 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17293 rm -f conftest.err conftest.
$ac_ext
17294 if $ac_preproc_ok; then
17299 ac_cv_prog_CPP
=$CPP
17302 CPP
=$ac_cv_prog_CPP
17304 ac_cv_prog_CPP
=$CPP
17306 { echo "$as_me:$LINENO: result: $CPP" >&5
17307 echo "${ECHO_T}$CPP" >&6; }
17308 ac_preproc_ok
=false
17309 for ac_c_preproc_warn_flag
in '' yes
17311 # Use a header file that comes with gcc, so configuring glibc
17312 # with a fresh cross-compiler works.
17313 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17314 # <limits.h> exists even on freestanding compilers.
17315 # On the NeXT, cc -E runs the code through the compiler's parser,
17316 # not just through cpp. "Syntax error" is here to catch this case.
17317 cat >conftest.
$ac_ext <<_ACEOF
17320 cat confdefs.h
>>conftest.
$ac_ext
17321 cat >>conftest.
$ac_ext <<_ACEOF
17322 /* end confdefs.h. */
17324 # include <limits.h>
17326 # include <assert.h>
17330 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17331 case "(($ac_try" in
17332 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17336 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17338 grep -v '^ *+' conftest.er1 >conftest.err
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } >/dev/null && {
17343 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17344 test ! -s conftest.err
17348 echo "$as_me: failed program was:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17351 # Broken: fails on valid input.
17355 rm -f conftest.err conftest.$ac_ext
17357 # OK, works on sane cases. Now check whether nonexistent headers
17358 # can be detected and how.
17359 cat >conftest.$ac_ext <<_ACEOF
17362 cat confdefs.h >>conftest.$ac_ext
17363 cat >>conftest.$ac_ext <<_ACEOF
17364 /* end confdefs.h. */
17365 #include <ac_nonexistent.h>
17367 if { (ac_try="$ac_cpp conftest.$ac_ext"
17368 case "(($ac_try" in
17369 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17370 *) ac_try_echo
=$ac_try;;
17372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17373 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17375 grep -v '^ *+' conftest.er1
>conftest.err
17377 cat conftest.err
>&5
17378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17379 (exit $ac_status); } >/dev
/null
&& {
17380 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17381 test ! -s conftest.err
17383 # Broken: success on invalid input.
17386 echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.
$ac_ext >&5
17389 # Passes both tests.
17394 rm -f conftest.err conftest.
$ac_ext
17397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17398 rm -f conftest.err conftest.
$ac_ext
17399 if $ac_preproc_ok; then
17402 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17403 See \`config.log' for more details." >&5
17404 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17405 See \`config.log' for more details." >&2;}
17406 { (exit 1); exit 1; }; }
17410 ac_cpp
='$CPP $CPPFLAGS'
17411 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17412 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17413 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17416 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17417 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17418 if test "${ac_cv_path_GREP+set}" = set; then
17419 echo $ECHO_N "(cached) $ECHO_C" >&6
17421 # Extract the first word of "grep ggrep" to use in msg output
17422 if test -z "$GREP"; then
17423 set dummy
grep ggrep
; ac_prog_name
=$2
17424 if test "${ac_cv_path_GREP+set}" = set; then
17425 echo $ECHO_N "(cached) $ECHO_C" >&6
17427 ac_path_GREP_found
=false
17428 # Loop through the user's path and test for each of PROGNAME-LIST
17429 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17430 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17433 test -z "$as_dir" && as_dir
=.
17434 for ac_prog
in grep ggrep
; do
17435 for ac_exec_ext
in '' $ac_executable_extensions; do
17436 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17437 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17438 # Check for GNU ac_path_GREP and select it if it is found.
17439 # Check for GNU $ac_path_GREP
17440 case `"$ac_path_GREP" --version 2>&1` in
17442 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17445 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17448 cat "conftest.in" "conftest.in" >"conftest.tmp"
17449 mv "conftest.tmp" "conftest.in"
17450 cp "conftest.in" "conftest.nl"
17451 echo 'GREP' >> "conftest.nl"
17452 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17453 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17454 ac_count
=`expr $ac_count + 1`
17455 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17456 # Best one so far, save it but keep looking for a better one
17457 ac_cv_path_GREP
="$ac_path_GREP"
17458 ac_path_GREP_max
=$ac_count
17460 # 10*(2^10) chars as input seems more than enough
17461 test $ac_count -gt 10 && break
17463 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17467 $ac_path_GREP_found && break 3
17477 GREP
="$ac_cv_path_GREP"
17478 if test -z "$GREP"; then
17479 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17480 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17481 { (exit 1); exit 1; }; }
17485 ac_cv_path_GREP
=$GREP
17490 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17491 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17492 GREP
="$ac_cv_path_GREP"
17495 { echo "$as_me:$LINENO: checking for egrep" >&5
17496 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17497 if test "${ac_cv_path_EGREP+set}" = set; then
17498 echo $ECHO_N "(cached) $ECHO_C" >&6
17500 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17501 then ac_cv_path_EGREP
="$GREP -E"
17503 # Extract the first word of "egrep" to use in msg output
17504 if test -z "$EGREP"; then
17505 set dummy
egrep; ac_prog_name
=$2
17506 if test "${ac_cv_path_EGREP+set}" = set; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17509 ac_path_EGREP_found
=false
17510 # Loop through the user's path and test for each of PROGNAME-LIST
17511 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17512 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17515 test -z "$as_dir" && as_dir
=.
17516 for ac_prog
in egrep; do
17517 for ac_exec_ext
in '' $ac_executable_extensions; do
17518 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17519 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17520 # Check for GNU ac_path_EGREP and select it if it is found.
17521 # Check for GNU $ac_path_EGREP
17522 case `"$ac_path_EGREP" --version 2>&1` in
17524 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17527 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17530 cat "conftest.in" "conftest.in" >"conftest.tmp"
17531 mv "conftest.tmp" "conftest.in"
17532 cp "conftest.in" "conftest.nl"
17533 echo 'EGREP' >> "conftest.nl"
17534 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17535 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17536 ac_count
=`expr $ac_count + 1`
17537 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17538 # Best one so far, save it but keep looking for a better one
17539 ac_cv_path_EGREP
="$ac_path_EGREP"
17540 ac_path_EGREP_max
=$ac_count
17542 # 10*(2^10) chars as input seems more than enough
17543 test $ac_count -gt 10 && break
17545 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17549 $ac_path_EGREP_found && break 3
17559 EGREP
="$ac_cv_path_EGREP"
17560 if test -z "$EGREP"; then
17561 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17562 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17563 { (exit 1); exit 1; }; }
17567 ac_cv_path_EGREP
=$EGREP
17573 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17574 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17575 EGREP
="$ac_cv_path_EGREP"
17578 if test $ac_cv_c_compiler_gnu = yes; then
17579 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17580 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17581 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17582 echo $ECHO_N "(cached) $ECHO_C" >&6
17584 ac_pattern
="Autoconf.*'x'"
17585 cat >conftest.
$ac_ext <<_ACEOF
17588 cat confdefs.h
>>conftest.
$ac_ext
17589 cat >>conftest.
$ac_ext <<_ACEOF
17590 /* end confdefs.h. */
17594 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17595 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17596 ac_cv_prog_gcc_traditional
=yes
17598 ac_cv_prog_gcc_traditional
=no
17603 if test $ac_cv_prog_gcc_traditional = no
; then
17604 cat >conftest.
$ac_ext <<_ACEOF
17607 cat confdefs.h
>>conftest.
$ac_ext
17608 cat >>conftest.
$ac_ext <<_ACEOF
17609 /* end confdefs.h. */
17610 #include <termio.h>
17613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17614 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17615 ac_cv_prog_gcc_traditional
=yes
17621 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17622 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17623 if test $ac_cv_prog_gcc_traditional = yes; then
17624 CC
="$CC -traditional"
17629 CXXFLAGS
=${CXXFLAGS:=}
17631 ac_cpp
='$CXXCPP $CPPFLAGS'
17632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17635 if test -z "$CXX"; then
17636 if test -n "$CCC"; then
17639 if test -n "$ac_tool_prefix"; then
17640 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17642 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17643 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17644 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17646 if test "${ac_cv_prog_CXX+set}" = set; then
17647 echo $ECHO_N "(cached) $ECHO_C" >&6
17649 if test -n "$CXX"; then
17650 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17653 for as_dir
in $PATH
17656 test -z "$as_dir" && as_dir
=.
17657 for ac_exec_ext
in '' $ac_executable_extensions; do
17658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17659 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17669 CXX
=$ac_cv_prog_CXX
17670 if test -n "$CXX"; then
17671 { echo "$as_me:$LINENO: result: $CXX" >&5
17672 echo "${ECHO_T}$CXX" >&6; }
17674 { echo "$as_me:$LINENO: result: no" >&5
17675 echo "${ECHO_T}no" >&6; }
17679 test -n "$CXX" && break
17682 if test -z "$CXX"; then
17684 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17686 # Extract the first word of "$ac_prog", so it can be a program name with args.
17687 set dummy
$ac_prog; ac_word
=$2
17688 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17690 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 if test -n "$ac_ct_CXX"; then
17694 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17697 for as_dir
in $PATH
17700 test -z "$as_dir" && as_dir
=.
17701 for ac_exec_ext
in '' $ac_executable_extensions; do
17702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17703 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17713 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17714 if test -n "$ac_ct_CXX"; then
17715 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17716 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17718 { echo "$as_me:$LINENO: result: no" >&5
17719 echo "${ECHO_T}no" >&6; }
17723 test -n "$ac_ct_CXX" && break
17726 if test "x$ac_ct_CXX" = x
; then
17729 case $cross_compiling:$ac_tool_warned in
17731 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17732 whose name does not start with the host triplet. If you think this
17733 configuration is useful to you, please write to autoconf@gnu.org." >&5
17734 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17735 whose name does not start with the host triplet. If you think this
17736 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17737 ac_tool_warned
=yes ;;
17745 # Provide some information about the compiler.
17746 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17747 ac_compiler
=`set X $ac_compile; echo $2`
17748 { (ac_try
="$ac_compiler --version >&5"
17749 case "(($ac_try" in
17750 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17751 *) ac_try_echo=$ac_try;;
17753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17754 (eval "$ac_compiler --version >&5") 2>&5
17756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17757 (exit $ac_status); }
17758 { (ac_try="$ac_compiler -v >&5"
17759 case "(($ac_try" in
17760 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17761 *) ac_try_echo
=$ac_try;;
17763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17764 (eval "$ac_compiler -v >&5") 2>&5
17766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17767 (exit $ac_status); }
17768 { (ac_try
="$ac_compiler -V >&5"
17769 case "(($ac_try" in
17770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17771 *) ac_try_echo=$ac_try;;
17773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17774 (eval "$ac_compiler -V >&5") 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }
17779 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17780 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17781 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17782 echo $ECHO_N "(cached) $ECHO_C" >&6
17784 cat >conftest.$ac_ext <<_ACEOF
17787 cat confdefs.h >>conftest.$ac_ext
17788 cat >>conftest.$ac_ext <<_ACEOF
17789 /* end confdefs.h. */
17802 rm -f conftest.$ac_objext
17803 if { (ac_try="$ac_compile"
17804 case "(($ac_try" in
17805 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17806 *) ac_try_echo
=$ac_try;;
17808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17809 (eval "$ac_compile") 2>conftest.er1
17811 grep -v '^ *+' conftest.er1
>conftest.err
17813 cat conftest.err
>&5
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); } && {
17816 test -z "$ac_cxx_werror_flag" ||
17817 test ! -s conftest.err
17818 } && test -s conftest.
$ac_objext; then
17819 ac_compiler_gnu
=yes
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.
$ac_ext >&5
17827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17828 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17831 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17832 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17833 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17834 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17835 ac_save_CXXFLAGS
=$CXXFLAGS
17836 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17837 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17838 if test "${ac_cv_prog_cxx_g+set}" = set; then
17839 echo $ECHO_N "(cached) $ECHO_C" >&6
17841 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17842 ac_cxx_werror_flag
=yes
17843 ac_cv_prog_cxx_g
=no
17845 cat >conftest.
$ac_ext <<_ACEOF
17848 cat confdefs.h
>>conftest.
$ac_ext
17849 cat >>conftest.
$ac_ext <<_ACEOF
17850 /* end confdefs.h. */
17860 rm -f conftest.
$ac_objext
17861 if { (ac_try
="$ac_compile"
17862 case "(($ac_try" in
17863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17864 *) ac_try_echo=$ac_try;;
17866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17867 (eval "$ac_compile") 2>conftest.er1
17869 grep -v '^ *+' conftest.er1 >conftest.err
17871 cat conftest.err >&5
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); } && {
17874 test -z "$ac_cxx_werror_flag" ||
17875 test ! -s conftest.err
17876 } && test -s conftest.$ac_objext; then
17877 ac_cv_prog_cxx_g=yes
17879 echo "$as_me: failed program was:" >&5
17880 sed 's/^/| /' conftest.$ac_ext >&5
17883 cat >conftest.$ac_ext <<_ACEOF
17886 cat confdefs.h >>conftest.$ac_ext
17887 cat >>conftest.$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17898 rm -f conftest.$ac_objext
17899 if { (ac_try="$ac_compile"
17900 case "(($ac_try" in
17901 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17902 *) ac_try_echo
=$ac_try;;
17904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17905 (eval "$ac_compile") 2>conftest.er1
17907 grep -v '^ *+' conftest.er1
>conftest.err
17909 cat conftest.err
>&5
17910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17911 (exit $ac_status); } && {
17912 test -z "$ac_cxx_werror_flag" ||
17913 test ! -s conftest.err
17914 } && test -s conftest.
$ac_objext; then
17917 echo "$as_me: failed program was:" >&5
17918 sed 's/^/| /' conftest.
$ac_ext >&5
17920 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17922 cat >conftest.
$ac_ext <<_ACEOF
17925 cat confdefs.h
>>conftest.
$ac_ext
17926 cat >>conftest.
$ac_ext <<_ACEOF
17927 /* end confdefs.h. */
17937 rm -f conftest.
$ac_objext
17938 if { (ac_try
="$ac_compile"
17939 case "(($ac_try" in
17940 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17941 *) ac_try_echo=$ac_try;;
17943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17944 (eval "$ac_compile") 2>conftest.er1
17946 grep -v '^ *+' conftest.er1 >conftest.err
17948 cat conftest.err >&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } && {
17951 test -z "$ac_cxx_werror_flag" ||
17952 test ! -s conftest.err
17953 } && test -s conftest.$ac_objext; then
17954 ac_cv_prog_cxx_g=yes
17956 echo "$as_me: failed program was:" >&5
17957 sed 's/^/| /' conftest.$ac_ext >&5
17962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17969 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17971 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17972 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17973 if test "$ac_test_CXXFLAGS" = set; then
17974 CXXFLAGS=$ac_save_CXXFLAGS
17975 elif test $ac_cv_prog_cxx_g = yes; then
17976 if test "$GXX" = yes; then
17982 if test "$GXX" = yes; then
17989 ac_cpp='$CPP $CPPFLAGS'
17990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18002 ac_cpp='$CXXCPP $CPPFLAGS'
18003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18007 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
18008 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
18009 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
18010 echo $ECHO_N "(cached) $ECHO_C" >&6
18012 cat >conftest.$ac_ext <<_ACEOF
18015 cat confdefs.h >>conftest.$ac_ext
18016 cat >>conftest.$ac_ext <<_ACEOF
18017 /* end confdefs.h. */
18023 #ifndef __INTEL_COMPILER
18031 rm -f conftest.$ac_objext
18032 if { (ac_try="$ac_compile"
18033 case "(($ac_try" in
18034 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18035 *) ac_try_echo
=$ac_try;;
18037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18038 (eval "$ac_compile") 2>conftest.er1
18040 grep -v '^ *+' conftest.er1
>conftest.err
18042 cat conftest.err
>&5
18043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18044 (exit $ac_status); } && {
18045 test -z "$ac_cxx_werror_flag" ||
18046 test ! -s conftest.err
18047 } && test -s conftest.
$ac_objext; then
18048 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
18050 echo "$as_me: failed program was:" >&5
18051 sed 's/^/| /' conftest.
$ac_ext >&5
18053 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
18057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18061 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
18062 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
18063 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
18069 ac_cpp
='$CPP $CPPFLAGS'
18070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18077 if test "$INTELCXX" = "yes"; then
18081 ac_cpp
='$CXXCPP $CPPFLAGS'
18082 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18083 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18084 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18086 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18087 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18088 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18089 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 cat >conftest.
$ac_ext <<_ACEOF
18094 cat confdefs.h
>>conftest.
$ac_ext
18095 cat >>conftest.
$ac_ext <<_ACEOF
18096 /* end confdefs.h. */
18102 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18110 rm -f conftest.
$ac_objext
18111 if { (ac_try
="$ac_compile"
18112 case "(($ac_try" in
18113 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18114 *) ac_try_echo=$ac_try;;
18116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18117 (eval "$ac_compile") 2>conftest.er1
18119 grep -v '^ *+' conftest.er1 >conftest.err
18121 cat conftest.err >&5
18122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18123 (exit $ac_status); } && {
18124 test -z "$ac_cxx_werror_flag" ||
18125 test ! -s conftest.err
18126 } && test -s conftest.$ac_objext; then
18127 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18129 echo "$as_me: failed program was:" >&5
18130 sed 's/^/| /' conftest.$ac_ext >&5
18132 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18140 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18141 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18142 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18148 ac_cpp='$CPP $CPPFLAGS'
18149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18158 ac_cpp='$CXXCPP $CPPFLAGS'
18159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18163 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18164 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18165 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18166 echo $ECHO_N "(cached) $ECHO_C" >&6
18168 cat >conftest.$ac_ext <<_ACEOF
18171 cat confdefs.h >>conftest.$ac_ext
18172 cat >>conftest.$ac_ext <<_ACEOF
18173 /* end confdefs.h. */
18179 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18187 rm -f conftest.$ac_objext
18188 if { (ac_try="$ac_compile"
18189 case "(($ac_try" in
18190 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18191 *) ac_try_echo
=$ac_try;;
18193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18194 (eval "$ac_compile") 2>conftest.er1
18196 grep -v '^ *+' conftest.er1
>conftest.err
18198 cat conftest.err
>&5
18199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18200 (exit $ac_status); } && {
18201 test -z "$ac_cxx_werror_flag" ||
18202 test ! -s conftest.err
18203 } && test -s conftest.
$ac_objext; then
18204 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
18206 echo "$as_me: failed program was:" >&5
18207 sed 's/^/| /' conftest.
$ac_ext >&5
18209 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
18213 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18217 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18218 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18219 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18225 ac_cpp
='$CPP $CPPFLAGS'
18226 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18227 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18228 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18234 if test "x$GCXX" != "xyes"; then
18235 if test "xCXX" = "xC"; then
18236 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18237 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18238 if test "${bakefile_cv_c_exto+set}" = set; then
18239 echo $ECHO_N "(cached) $ECHO_C" >&6
18241 cat >conftest.
$ac_ext <<_ACEOF
18244 cat confdefs.h
>>conftest.
$ac_ext
18245 cat >>conftest.
$ac_ext <<_ACEOF
18246 /* end confdefs.h. */
18256 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18258 (eval $ac_compile) 2>&5
18260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18261 (exit $ac_status); }; then
18262 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18264 conftest.
$ac_ext.o
)
18265 bakefile_cv_c_exto
="-ext o"
18272 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18273 See \`config.log' for more details." >&5
18274 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18275 See \`config.log' for more details." >&2;}
18276 { (exit 1); exit 1; }; }
18280 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18283 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18284 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18285 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18286 if test "c" = "c"; then
18287 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18289 if test "c" = "cxx"; then
18290 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18294 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18295 unset ac_cv_prog_cc_g
18296 ac_test_CFLAGS
=${CFLAGS+set}
18297 ac_save_CFLAGS
=$CFLAGS
18298 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18299 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18300 if test "${ac_cv_prog_cc_g+set}" = set; then
18301 echo $ECHO_N "(cached) $ECHO_C" >&6
18303 ac_save_c_werror_flag
=$ac_c_werror_flag
18304 ac_c_werror_flag
=yes
18307 cat >conftest.
$ac_ext <<_ACEOF
18310 cat confdefs.h
>>conftest.
$ac_ext
18311 cat >>conftest.
$ac_ext <<_ACEOF
18312 /* end confdefs.h. */
18322 rm -f conftest.
$ac_objext
18323 if { (ac_try
="$ac_compile"
18324 case "(($ac_try" in
18325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18326 *) ac_try_echo=$ac_try;;
18328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18329 (eval "$ac_compile") 2>conftest.er1
18331 grep -v '^ *+' conftest.er1 >conftest.err
18333 cat conftest.err >&5
18334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18335 (exit $ac_status); } && {
18336 test -z "$ac_c_werror_flag" ||
18337 test ! -s conftest.err
18338 } && test -s conftest.$ac_objext; then
18339 ac_cv_prog_cc_g=yes
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18345 cat >conftest.$ac_ext <<_ACEOF
18348 cat confdefs.h >>conftest.$ac_ext
18349 cat >>conftest.$ac_ext <<_ACEOF
18350 /* end confdefs.h. */
18360 rm -f conftest.$ac_objext
18361 if { (ac_try="$ac_compile"
18362 case "(($ac_try" in
18363 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18364 *) ac_try_echo
=$ac_try;;
18366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18367 (eval "$ac_compile") 2>conftest.er1
18369 grep -v '^ *+' conftest.er1
>conftest.err
18371 cat conftest.err
>&5
18372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18373 (exit $ac_status); } && {
18374 test -z "$ac_c_werror_flag" ||
18375 test ! -s conftest.err
18376 } && test -s conftest.
$ac_objext; then
18379 echo "$as_me: failed program was:" >&5
18380 sed 's/^/| /' conftest.
$ac_ext >&5
18382 ac_c_werror_flag
=$ac_save_c_werror_flag
18384 cat >conftest.
$ac_ext <<_ACEOF
18387 cat confdefs.h
>>conftest.
$ac_ext
18388 cat >>conftest.
$ac_ext <<_ACEOF
18389 /* end confdefs.h. */
18399 rm -f conftest.
$ac_objext
18400 if { (ac_try
="$ac_compile"
18401 case "(($ac_try" in
18402 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18403 *) ac_try_echo=$ac_try;;
18405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18406 (eval "$ac_compile") 2>conftest.er1
18408 grep -v '^ *+' conftest.er1 >conftest.err
18410 cat conftest.err >&5
18411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18412 (exit $ac_status); } && {
18413 test -z "$ac_c_werror_flag" ||
18414 test ! -s conftest.err
18415 } && test -s conftest.$ac_objext; then
18416 ac_cv_prog_cc_g=yes
18418 echo "$as_me: failed program was:" >&5
18419 sed 's/^/| /' conftest.$ac_ext >&5
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18431 ac_c_werror_flag=$ac_save_c_werror_flag
18433 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18434 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18435 if test "$ac_test_CFLAGS" = set; then
18436 CFLAGS=$ac_save_CFLAGS
18437 elif test $ac_cv_prog_cc_g = yes; then
18438 if test "$GCC" = yes; then
18444 if test "$GCC" = yes; then
18458 ac_cpp='$CXXCPP $CPPFLAGS'
18459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18463 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18464 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18465 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18466 echo $ECHO_N "(cached) $ECHO_C" >&6
18468 cat >conftest.$ac_ext <<_ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18487 rm -f conftest.$ac_objext
18488 if { (ac_try="$ac_compile"
18489 case "(($ac_try" in
18490 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18491 *) ac_try_echo
=$ac_try;;
18493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18494 (eval "$ac_compile") 2>conftest.er1
18496 grep -v '^ *+' conftest.er1
>conftest.err
18498 cat conftest.err
>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); } && {
18501 test -z "$ac_cxx_werror_flag" ||
18502 test ! -s conftest.err
18503 } && test -s conftest.
$ac_objext; then
18504 bakefile_cv_cxx_compiler___xlC__
=yes
18506 echo "$as_me: failed program was:" >&5
18507 sed 's/^/| /' conftest.
$ac_ext >&5
18509 bakefile_cv_cxx_compiler___xlC__
=no
18513 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18517 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18518 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18519 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18525 ac_cpp
='$CPP $CPPFLAGS'
18526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18538 ac_cpp
='$CXXCPP $CPPFLAGS'
18539 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18540 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18541 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18543 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18544 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18545 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18546 echo $ECHO_N "(cached) $ECHO_C" >&6
18548 cat >conftest.
$ac_ext <<_ACEOF
18551 cat confdefs.h
>>conftest.
$ac_ext
18552 cat >>conftest.
$ac_ext <<_ACEOF
18553 /* end confdefs.h. */
18567 rm -f conftest.
$ac_objext
18568 if { (ac_try
="$ac_compile"
18569 case "(($ac_try" in
18570 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18571 *) ac_try_echo=$ac_try;;
18573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18574 (eval "$ac_compile") 2>conftest.er1
18576 grep -v '^ *+' conftest.er1 >conftest.err
18578 cat conftest.err >&5
18579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18580 (exit $ac_status); } && {
18581 test -z "$ac_cxx_werror_flag" ||
18582 test ! -s conftest.err
18583 } && test -s conftest.$ac_objext; then
18584 bakefile_cv_cxx_compiler___MWERKS__=yes
18586 echo "$as_me: failed program was:" >&5
18587 sed 's/^/| /' conftest.$ac_ext >&5
18589 bakefile_cv_cxx_compiler___MWERKS__=no
18593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18597 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18598 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18599 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18605 ac_cpp='$CPP $CPPFLAGS'
18606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18612 if test "$MWCXX" != "yes"; then
18616 ac_cpp='$CXXCPP $CPPFLAGS'
18617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18621 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18622 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18623 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18624 echo $ECHO_N "(cached) $ECHO_C" >&6
18626 cat >conftest.$ac_ext <<_ACEOF
18629 cat confdefs.h >>conftest.$ac_ext
18630 cat >>conftest.$ac_ext <<_ACEOF
18631 /* end confdefs.h. */
18645 rm -f conftest.$ac_objext
18646 if { (ac_try="$ac_compile"
18647 case "(($ac_try" in
18648 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18649 *) ac_try_echo
=$ac_try;;
18651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18652 (eval "$ac_compile") 2>conftest.er1
18654 grep -v '^ *+' conftest.er1
>conftest.err
18656 cat conftest.err
>&5
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); } && {
18659 test -z "$ac_cxx_werror_flag" ||
18660 test ! -s conftest.err
18661 } && test -s conftest.
$ac_objext; then
18662 bakefile_cv_cxx_compiler___xlC__
=yes
18664 echo "$as_me: failed program was:" >&5
18665 sed 's/^/| /' conftest.
$ac_ext >&5
18667 bakefile_cv_cxx_compiler___xlC__
=no
18671 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18675 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18676 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18677 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18683 ac_cpp
='$CPP $CPPFLAGS'
18684 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18685 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18686 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18697 ac_cpp
='$CXXCPP $CPPFLAGS'
18698 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18699 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18700 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18702 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
18703 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18704 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 cat >conftest.
$ac_ext <<_ACEOF
18710 cat confdefs.h
>>conftest.
$ac_ext
18711 cat >>conftest.
$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18718 #ifndef _SGI_COMPILER_VERSION
18726 rm -f conftest.
$ac_objext
18727 if { (ac_try
="$ac_compile"
18728 case "(($ac_try" in
18729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18730 *) ac_try_echo=$ac_try;;
18732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18733 (eval "$ac_compile") 2>conftest.er1
18735 grep -v '^ *+' conftest.er1 >conftest.err
18737 cat conftest.err >&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } && {
18740 test -z "$ac_cxx_werror_flag" ||
18741 test ! -s conftest.err
18742 } && test -s conftest.$ac_objext; then
18743 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.$ac_ext >&5
18748 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18756 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18757 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18758 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
18764 ac_cpp='$CPP $CPPFLAGS'
18765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18774 if test "$INTELCXX" != "yes"; then
18778 ac_cpp='$CXXCPP $CPPFLAGS'
18779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18783 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18784 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18785 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18786 echo $ECHO_N "(cached) $ECHO_C" >&6
18788 cat >conftest.$ac_ext <<_ACEOF
18791 cat confdefs.h >>conftest.$ac_ext
18792 cat >>conftest.$ac_ext <<_ACEOF
18793 /* end confdefs.h. */
18799 #ifndef __SUNPRO_CC
18807 rm -f conftest.$ac_objext
18808 if { (ac_try="$ac_compile"
18809 case "(($ac_try" in
18810 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18811 *) ac_try_echo
=$ac_try;;
18813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18814 (eval "$ac_compile") 2>conftest.er1
18816 grep -v '^ *+' conftest.er1
>conftest.err
18818 cat conftest.err
>&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); } && {
18821 test -z "$ac_cxx_werror_flag" ||
18822 test ! -s conftest.err
18823 } && test -s conftest.
$ac_objext; then
18824 bakefile_cv_cxx_compiler___SUNPRO_CC
=yes
18826 echo "$as_me: failed program was:" >&5
18827 sed 's/^/| /' conftest.
$ac_ext >&5
18829 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18837 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18838 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18839 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
18845 ac_cpp
='$CPP $CPPFLAGS'
18846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18859 ac_cpp
='$CXXCPP $CPPFLAGS'
18860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18864 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
18865 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18866 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
18867 echo $ECHO_N "(cached) $ECHO_C" >&6
18869 cat >conftest.
$ac_ext <<_ACEOF
18872 cat confdefs.h
>>conftest.
$ac_ext
18873 cat >>conftest.
$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18888 rm -f conftest.
$ac_objext
18889 if { (ac_try
="$ac_compile"
18890 case "(($ac_try" in
18891 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18892 *) ac_try_echo=$ac_try;;
18894 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18895 (eval "$ac_compile") 2>conftest.er1
18897 grep -v '^ *+' conftest.er1 >conftest.err
18899 cat conftest.err >&5
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); } && {
18902 test -z "$ac_cxx_werror_flag" ||
18903 test ! -s conftest.err
18904 } && test -s conftest.$ac_objext; then
18905 bakefile_cv_cxx_compiler___HP_aCC=yes
18907 echo "$as_me: failed program was:" >&5
18908 sed 's/^/| /' conftest.$ac_ext >&5
18910 bakefile_cv_cxx_compiler___HP_aCC=no
18914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18918 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18919 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18920 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
18926 ac_cpp='$CPP $CPPFLAGS'
18927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18939 ac_cpp='$CXXCPP $CPPFLAGS'
18940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18944 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18945 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18946 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18949 cat >conftest.$ac_ext <<_ACEOF
18952 cat confdefs.h >>conftest.$ac_ext
18953 cat >>conftest.$ac_ext <<_ACEOF
18954 /* end confdefs.h. */
18968 rm -f conftest.$ac_objext
18969 if { (ac_try="$ac_compile"
18970 case "(($ac_try" in
18971 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18972 *) ac_try_echo
=$ac_try;;
18974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18975 (eval "$ac_compile") 2>conftest.er1
18977 grep -v '^ *+' conftest.er1
>conftest.err
18979 cat conftest.err
>&5
18980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18981 (exit $ac_status); } && {
18982 test -z "$ac_cxx_werror_flag" ||
18983 test ! -s conftest.err
18984 } && test -s conftest.
$ac_objext; then
18985 bakefile_cv_cxx_compiler___DECCXX
=yes
18987 echo "$as_me: failed program was:" >&5
18988 sed 's/^/| /' conftest.
$ac_ext >&5
18990 bakefile_cv_cxx_compiler___DECCXX
=no
18994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18998 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18999 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
19000 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
19006 ac_cpp
='$CPP $CPPFLAGS'
19007 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19008 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19009 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19019 ac_cpp
='$CXXCPP $CPPFLAGS'
19020 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19021 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19022 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19024 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
19025 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
19026 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
19027 echo $ECHO_N "(cached) $ECHO_C" >&6
19029 cat >conftest.
$ac_ext <<_ACEOF
19032 cat confdefs.h
>>conftest.
$ac_ext
19033 cat >>conftest.
$ac_ext <<_ACEOF
19034 /* end confdefs.h. */
19040 #ifndef __SUNPRO_CC
19048 rm -f conftest.
$ac_objext
19049 if { (ac_try
="$ac_compile"
19050 case "(($ac_try" in
19051 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19052 *) ac_try_echo=$ac_try;;
19054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19055 (eval "$ac_compile") 2>conftest.er1
19057 grep -v '^ *+' conftest.er1 >conftest.err
19059 cat conftest.err >&5
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); } && {
19062 test -z "$ac_cxx_werror_flag" ||
19063 test ! -s conftest.err
19064 } && test -s conftest.$ac_objext; then
19065 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
19067 echo "$as_me: failed program was:" >&5
19068 sed 's/^/| /' conftest.$ac_ext >&5
19070 bakefile_cv_cxx_compiler___SUNPRO_CC=no
19074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19078 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
19079 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
19080 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19086 ac_cpp='$CPP $CPPFLAGS'
19087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19099 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19100 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19101 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19102 { (exit 1); exit 1; }; }
19105 if test "x$SUNCXX" != xyes; then
19106 if test -n "$ac_tool_prefix"; then
19107 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19108 set dummy ${ac_tool_prefix}ar; ac_word=$2
19109 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19111 if test "${ac_cv_prog_AR+set}" = set; then
19112 echo $ECHO_N "(cached) $ECHO_C" >&6
19114 if test -n "$AR"; then
19115 ac_cv_prog_AR="$AR" # Let the user override the test.
19117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19118 for as_dir in $PATH
19121 test -z "$as_dir" && as_dir=.
19122 for ac_exec_ext in '' $ac_executable_extensions; do
19123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19124 ac_cv_prog_AR="${ac_tool_prefix}ar"
19125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19135 if test -n "$AR"; then
19136 { echo "$as_me:$LINENO: result: $AR" >&5
19137 echo "${ECHO_T}$AR" >&6; }
19139 { echo "$as_me:$LINENO: result: no" >&5
19140 echo "${ECHO_T}no" >&6; }
19145 if test -z "$ac_cv_prog_AR"; then
19147 # Extract the first word of "ar", so it can be a program name with args.
19148 set dummy ar; ac_word=$2
19149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19151 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19152 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 if test -n "$ac_ct_AR"; then
19155 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19158 for as_dir in $PATH
19161 test -z "$as_dir" && as_dir=.
19162 for ac_exec_ext in '' $ac_executable_extensions; do
19163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19164 ac_cv_prog_ac_ct_AR="ar"
19165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19174 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19175 if test -n "$ac_ct_AR"; then
19176 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19177 echo "${ECHO_T}$ac_ct_AR" >&6; }
19179 { echo "$as_me:$LINENO: result: no" >&5
19180 echo "${ECHO_T}no" >&6; }
19183 if test "x$ac_ct_AR" = x; then
19186 case $cross_compiling:$ac_tool_warned in
19188 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19189 whose name does not start with the host triplet. If you think this
19190 configuration is useful to you, please write to autoconf@gnu.org." >&5
19191 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19192 whose name does not start with the host triplet. If you think this
19193 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19194 ac_tool_warned=yes ;;
19199 AR="$ac_cv_prog_AR"
19202 if test "x$AR" = "x" ; then
19203 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19204 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19205 { (exit 1); exit 1; }; }
19210 if test "$wxUSE_MAC" = 1; then
19212 retest_macosx_linking=no
19216 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19217 if test "x$wxUSE_MAC_ARCH" != xno; then
19218 { echo "$as_me:$LINENO: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
19219 echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
19222 if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
19223 OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
19224 else OSX_ARCH_OPTS="ppc,i386"
19225 if test "$wxUSE_OSX_COCOA" = 1; then
19226 OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
19230 { echo "$as_me:$LINENO: checking for architectures to use in universal binary" >&5
19231 echo $ECHO_N "checking for architectures to use in universal binary... $ECHO_C" >&6; }
19232 { echo "$as_me:$LINENO: result: $OSX_ARCH_OPTS" >&5
19233 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19235 retest_macosx_linking=yes
19237 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
19238 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
19241 if test "x$wxUSE_MAC_ARCH" != xno; then
19242 OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
19246 if test "x$OSX_ARCH_OPTS" != "x"; then
19247 OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
19249 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19250 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19251 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19252 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19253 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19256 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
19258 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
19259 # TODO: Search for most recent SDK and use it.
19260 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
19264 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19265 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
19266 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
19267 if ! test -d "$wxUSE_MACOSX_SDK"; then
19268 { { echo "$as_me:$LINENO: error: not found
19269 See \`config.log
' for more details." >&5
19270 echo "$as_me: error: not found
19271 See \`config.log' for more details.
" >&2;}
19272 { (exit 1); exit 1; }; }
19274 { echo "$as_me:$LINENO: result
: exists
" >&5
19275 echo "${ECHO_T}exists
" >&6; }
19277 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19278 retest_macosx_linking=yes
19281 if test "x
$wxUSE_MACOSX_VERSION_MIN" = "xno
"; then
19282 wxUSE_MACOSX_VERSION_MIN=
19283 elif test "x
$wxUSE_MACOSX_VERSION_MIN" = "xyes
"; then
19284 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
19285 { echo "$as_me:$LINENO: checking SDK deployment version
" >&5
19286 echo $ECHO_N "checking SDK deployment version...
$ECHO_C" >&6; }
19288 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/'`
19290 # If that failed, try again with the new key
19291 if test "x
$MACOSX_SDK_PLIST_VERSION_MIN" == "x
"; then
19293 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/'`
19297 if test "x
$MACOSX_SDK_PLIST_VERSION_MIN" != "x
"; then
19298 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19299 { echo "$as_me:$LINENO: result
: $wxUSE_MACOSX_VERSION_MIN" >&5
19300 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19302 { echo "$as_me:$LINENO: WARNING
: Could not determine deployment target from SDKSettings.plist
" >&5
19303 echo "$as_me: WARNING
: Could not determine deployment target from SDKSettings.plist
" >&2;}
19304 wxUSE_MACOSX_VERSION_MIN=
19307 wxUSE_MACOSX_VERSION_MIN=
19309 elif test "x
$wxUSE_MACOSX_VERSION_MIN" = "x
"; then
19310 for ac_prog in sw_vers
19312 # Extract the first word of "$ac_prog", so it can be a program name with args.
19313 set dummy $ac_prog; ac_word=$2
19314 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
19315 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
19316 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19317 echo $ECHO_N "(cached
) $ECHO_C" >&6
19319 if test -n "$OSX_SW_VERS"; then
19320 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19323 for as_dir in $PATH
19326 test -z "$as_dir" && as_dir=.
19327 for ac_exec_ext in '' $ac_executable_extensions; do
19328 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19329 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19330 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
19339 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19340 if test -n "$OSX_SW_VERS"; then
19341 { echo "$as_me:$LINENO: result
: $OSX_SW_VERS" >&5
19342 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19344 { echo "$as_me:$LINENO: result
: no
" >&5
19345 echo "${ECHO_T}no
" >&6; }
19349 test -n "$OSX_SW_VERS" && break
19352 if test "$OSX_SW_VERS" != ""; then
19353 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19355 { echo "$as_me:$LINENO: WARNING
: Assuming OS X
10.4, use
--with-macosx-version-min to override.
" >&5
19356 echo "$as_me: WARNING
: Assuming OS X
10.4, use
--with-macosx-version-min to override.
" >&2;}
19360 case "$OSX_VERSION" in
19362 wxUSE_MACOSX_VERSION_MIN=10.4
19366 if test "$wxUSE_OSX_CARBON" = 1; then
19367 # otherwise configure stops on leopard for universal_binary
19368 wxUSE_MACOSX_VERSION_MIN=10.4
19370 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19371 wxUSE_MACOSX_VERSION_MIN=10.5
19378 if test "x
$wxUSE_MACOSX_VERSION_MIN" == "x10.4
"; then
19382 if test "$wxUSE_OSX_CARBON" = 1; then
19386 if test "x
$NEEDS_GCC40" == "xyes
"; then
19387 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19388 # and wants 10.4 compatible code, then 'downgrade' to 4.0
19389 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19390 if test "x
$CC" = "xgcc
"; then
19391 CCVERSION=`$CC --version | grep 4.[2-9].`
19392 if test "x
$CCVERSION" != "x
"; then
19393 echo "$as_me:$LINENO: WARNING
: gcc
>= 4.2 cannot compile
10.4 compatible code. Using gcc
4.0 instead.
"
19398 if test "x
$CXX" = "xg
++"; then
19399 CCVERSION=`$CXX --version | grep 4.[2-9].`
19400 if test "x
$CCVERSION" != "x
"; then
19406 if test "x
$MACOSX_SDK_OPTS" != "x
"; then
19407 eval "CC
=\"$CC $MACOSX_SDK_OPTS\""
19408 eval "CXX
=\"$CXX $MACOSX_SDK_OPTS\""
19409 eval "LD
=\"$LD $MACOSX_SDK_OPTS\""
19412 if test "x
$wxUSE_MACOSX_VERSION_MIN" != "x
"; then
19413 if test "$wxUSE_OSX_IPHONE" = 1; then
19414 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19416 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19418 eval "CC
=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19419 eval "CXX
=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19420 eval "LD
=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19421 retest_macosx_linking=yes
19424 if test "x
$retest_macosx_linking" = "xyes
"; then
19426 ac_cpp='$CPP $CPPFLAGS'
19427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19431 { echo "$as_me:$LINENO: checking
if C compiler works with SDK
/version options
" >&5
19432 echo $ECHO_N "checking
if C compiler works with SDK
/version options...
$ECHO_C" >&6; }
19433 cat >conftest.$ac_ext <<_ACEOF
19436 cat confdefs.h >>conftest.$ac_ext
19437 cat >>conftest.$ac_ext <<_ACEOF
19438 /* end confdefs.h. */
19448 rm -f conftest.$ac_objext conftest$ac_exeext
19449 if { (ac_try="$ac_link"
19450 case "(($ac_try" in
19451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19452 *) ac_try_echo=$ac_try;;
19454 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19455 (eval "$ac_link") 2>conftest.er1
19457 grep -v '^ *+' conftest.er1 >conftest.err
19459 cat conftest.err >&5
19460 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19461 (exit $ac_status); } && {
19462 test -z "$ac_c_werror_flag" ||
19463 test ! -s conftest.err
19464 } && test -s conftest$ac_exeext &&
19465 $as_test_x conftest$ac_exeext; then
19466 { echo "$as_me:$LINENO: result
: yes" >&5
19467 echo "${ECHO_T}yes" >&6; }
19469 echo "$as_me: failed program was
:" >&5
19470 sed 's/^/| /' conftest.$ac_ext >&5
19472 { { echo "$as_me:$LINENO: error
: no. Try a different SDK
19473 See \
`config.log' for more details." >&5
19474 echo "$as_me: error: no. Try a different SDK
19475 See \`config.log
' for more details." >&2;}
19476 { (exit 1); exit 1; }; }; exit 1
19479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19480 conftest$ac_exeext conftest.$ac_ext
19482 ac_cpp='$CPP $CPPFLAGS'
19483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19484 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19489 ac_cpp='$CXXCPP $CPPFLAGS'
19490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19491 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19494 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19495 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19496 cat >conftest.$ac_ext <<_ACEOF
19499 cat confdefs.h >>conftest.$ac_ext
19500 cat >>conftest.$ac_ext <<_ACEOF
19501 /* end confdefs.h. */
19511 rm -f conftest.$ac_objext conftest$ac_exeext
19512 if { (ac_try="$ac_link"
19513 case "(($ac_try" in
19514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19515 *) ac_try_echo=$ac_try;;
19517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19518 (eval "$ac_link") 2>conftest.er1
19520 grep -v '^
*+' conftest.er1 >conftest.err
19522 cat conftest.err >&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } && {
19525 test -z "$ac_cxx_werror_flag" ||
19526 test ! -s conftest.err
19527 } && test -s conftest$ac_exeext &&
19528 $as_test_x conftest$ac_exeext; then
19529 { echo "$as_me:$LINENO: result: yes" >&5
19530 echo "${ECHO_T}yes" >&6; }
19532 echo "$as_me: failed program was:" >&5
19533 sed 's
/^
/| /' conftest.$ac_ext >&5
19535 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19536 See \`config.log' for more details.
" >&5
19537 echo "$as_me: error
: no. Try a different SDK
19538 See \
`config.log' for more details." >&2;}
19539 { (exit 1); exit 1; }; }; exit 1
19542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19543 conftest$ac_exeext conftest.$ac_ext
19545 ac_cpp='$CPP $CPPFLAGS'
19546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19556 INSTALL_PROGRAM="cp -fp"
19557 INSTALL_DATA="cp -fp"
19564 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
19565 cat >>confdefs.h <<\_ACEOF
19566 #define _GNU_SOURCE 1
19570 GNU_SOURCE_FLAG="-D_GNU_SOURCE"
19571 CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
19574 if test "x$USE_AIX" = "x1"; then
19575 if test "x$XLCXX" = "xyes"; then
19576 CXXFLAGS="-qunique $CXXFLAGS"
19579 CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
19583 powerpc-*-darwin* )
19584 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19585 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19586 cat >conftest.$ac_ext <<_ACEOF
19589 cat confdefs.h >>conftest.$ac_ext
19590 cat >>conftest.$ac_ext <<_ACEOF
19591 /* end confdefs.h. */
19596 #ifndef __POWERPC__
19597 choke me for lack of PowerPC
19604 rm -f conftest.$ac_objext
19605 if { (ac_try="$ac_compile"
19606 case "(($ac_try" in
19607 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19608 *) ac_try_echo
=$ac_try;;
19610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19611 (eval "$ac_compile") 2>conftest.er1
19613 grep -v '^ *+' conftest.er1
>conftest.err
19615 cat conftest.err
>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); } && {
19618 test -z "$ac_c_werror_flag" ||
19619 test ! -s conftest.err
19620 } && test -s conftest.
$ac_objext; then
19621 { echo "$as_me:$LINENO: result: yes" >&5
19622 echo "${ECHO_T}yes" >&6; }
19624 echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.
$ac_ext >&5
19627 { echo "$as_me:$LINENO: result: no" >&5
19628 echo "${ECHO_T}no" >&6; }
19629 cat >>confdefs.h
<<\_ACEOF
19630 #define __POWERPC__ 1
19636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19642 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19643 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19644 cat >conftest.
$ac_ext <<_ACEOF
19647 cat confdefs.h
>>conftest.
$ac_ext
19648 cat >>conftest.
$ac_ext <<_ACEOF
19649 /* end confdefs.h. */
19650 #include <CoreFoundation/CFBase.h>
19660 rm -f conftest.
$ac_objext
19661 if { (ac_try
="$ac_compile"
19662 case "(($ac_try" in
19663 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19664 *) ac_try_echo=$ac_try;;
19666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19667 (eval "$ac_compile") 2>conftest.er1
19669 grep -v '^ *+' conftest.er1 >conftest.err
19671 cat conftest.err >&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); } && {
19674 test -z "$ac_c_werror_flag" ||
19675 test ! -s conftest.err
19676 } && test -s conftest.$ac_objext; then
19677 { echo "$as_me:$LINENO: result: yes" >&5
19678 echo "${ECHO_T}yes" >&6; }
19680 echo "$as_me: failed program was:" >&5
19681 sed 's/^/| /' conftest.$ac_ext >&5
19683 { echo "$as_me:$LINENO: result: no" >&5
19684 echo "${ECHO_T}no" >&6; }
19685 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19686 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19687 cat >conftest.$ac_ext <<_ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 #define __CF_USE_FRAMEWORK_INCLUDES__
19694 #include <CoreFoundation/CFBase.h>
19704 rm -f conftest.$ac_objext
19705 if { (ac_try="$ac_compile"
19706 case "(($ac_try" in
19707 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19708 *) ac_try_echo
=$ac_try;;
19710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19711 (eval "$ac_compile") 2>conftest.er1
19713 grep -v '^ *+' conftest.er1
>conftest.err
19715 cat conftest.err
>&5
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); } && {
19718 test -z "$ac_c_werror_flag" ||
19719 test ! -s conftest.err
19720 } && test -s conftest.
$ac_objext; then
19721 { echo "$as_me:$LINENO: result: yes" >&5
19722 echo "${ECHO_T}yes" >&6; }
19723 CPPFLAGS
="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19725 echo "$as_me: failed program was:" >&5
19726 sed 's/^/| /' conftest.
$ac_ext >&5
19728 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19729 See \`config.log' for more details." >&5
19730 echo "$as_me: error: no. CoreFoundation not available.
19731 See \`config.log' for more details." >&2;}
19732 { (exit 1); exit 1; }; }
19736 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19746 doesnt_want_win32
=0
19749 if test "$wxUSE_MSW" = 1 ; then
19752 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
19753 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
19754 if test "${wx_cv_nocygwin+set}" = set; then
19755 echo $ECHO_N "(cached) $ECHO_C" >&6
19758 cat >conftest.
$ac_ext <<_ACEOF
19761 cat confdefs.h
>>conftest.
$ac_ext
19762 cat >>conftest.
$ac_ext <<_ACEOF
19763 /* end confdefs.h. */
19777 rm -f conftest.
$ac_objext
19778 if { (ac_try
="$ac_compile"
19779 case "(($ac_try" in
19780 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19781 *) ac_try_echo=$ac_try;;
19783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19784 (eval "$ac_compile") 2>conftest.er1
19786 grep -v '^ *+' conftest.er1 >conftest.err
19788 cat conftest.err >&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); } && {
19791 test -z "$ac_c_werror_flag" ||
19792 test ! -s conftest.err
19793 } && test -s conftest.$ac_objext; then
19796 echo "$as_me: failed program was:" >&5
19797 sed 's/^/| /' conftest.$ac_ext >&5
19803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19807 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
19808 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19810 if test "$wx_cv_nocygwin" = "yes"; then
19813 doesnt_want_win32=1
19816 if test "$wants_win32" = 1 ; then
19817 BAKEFILE_FORCE_PLATFORM=win32
19825 if test "$wxUSE_WINE" = "yes"; then
19827 LDFLAGS_GUI="-mwindows"
19830 if test "$wants_win32" = 1 ; then
19833 cat >>confdefs.h <<\_ACEOF
19834 #define __WIN32__ 1
19837 cat >>confdefs.h <<\_ACEOF
19838 #define __WIN95__ 1
19841 cat >>confdefs.h <<\_ACEOF
19842 #define __WINDOWS__ 1
19845 cat >>confdefs.h <<\_ACEOF
19846 #define __GNUWIN32__ 1
19849 cat >>confdefs.h <<\_ACEOF
19854 if test "$doesnt_want_win32" = 1 ; then
19859 if test "$USE_UNIX" = 1 ; then
19861 cat >>confdefs.h <<\_ACEOF
19868 *-pc-os2_emx | *-pc-os2-emx )
19869 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19870 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
19871 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
19872 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 ac_check_lib_save_LIBS=$LIBS
19876 LIBS="-lcExt $LIBS"
19877 cat >conftest.$ac_ext <<_ACEOF
19880 cat confdefs.h >>conftest.$ac_ext
19881 cat >>conftest.$ac_ext <<_ACEOF
19882 /* end confdefs.h. */
19884 /* Override any GCC internal prototype to avoid an error.
19885 Use char because int might match the return type of a GCC
19886 builtin and then its argument prototype would still apply. */
19899 rm -f conftest.$ac_objext conftest$ac_exeext
19900 if { (ac_try="$ac_link"
19901 case "(($ac_try" in
19902 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19903 *) ac_try_echo
=$ac_try;;
19905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19906 (eval "$ac_link") 2>conftest.er1
19908 grep -v '^ *+' conftest.er1
>conftest.err
19910 cat conftest.err
>&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } && {
19913 test -z "$ac_c_werror_flag" ||
19914 test ! -s conftest.err
19915 } && test -s conftest
$ac_exeext &&
19916 $as_test_x conftest
$ac_exeext; then
19917 ac_cv_lib_cExt_drand48
=yes
19919 echo "$as_me: failed program was:" >&5
19920 sed 's/^/| /' conftest.
$ac_ext >&5
19922 ac_cv_lib_cExt_drand48
=no
19925 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19926 conftest
$ac_exeext conftest.
$ac_ext
19927 LIBS
=$ac_check_lib_save_LIBS
19929 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
19930 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19931 if test $ac_cv_lib_cExt_drand48 = yes; then
19932 LIBS
="$LIBS -lcExt"
19936 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
19938 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
19939 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
19940 if test "${wx_cv_gccversion+set}" = set; then
19941 echo $ECHO_N "(cached) $ECHO_C" >&6
19944 if test "$cross_compiling" = yes; then
19945 wx_cv_gccversion
="EMX2"
19948 cat >conftest.
$ac_ext <<_ACEOF
19951 cat confdefs.h
>>conftest.
$ac_ext
19952 cat >>conftest.
$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19959 FILE *f=fopen("conftestval", "w");
19964 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19966 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19976 rm -f conftest
$ac_exeext
19977 if { (ac_try
="$ac_link"
19978 case "(($ac_try" in
19979 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19980 *) ac_try_echo=$ac_try;;
19982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19983 (eval "$ac_link") 2>&5
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19987 { (case "(($ac_try" in
19988 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19989 *) ac_try_echo
=$ac_try;;
19991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19992 (eval "$ac_try") 2>&5
19994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995 (exit $ac_status); }; }; then
19996 wx_cv_gccversion
=`cat conftestval`
19998 echo "$as_me: program exited with status $ac_status" >&5
19999 echo "$as_me: failed program was:" >&5
20000 sed 's/^/| /' conftest.
$ac_ext >&5
20002 ( exit $ac_status )
20003 wx_cv_gccversion
="EMX2"
20005 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
20011 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
20012 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
20013 if test "$wx_cv_gccversion" = "EMX2"; then
20014 LIBS
="$LIBS -lstdcpp"
20015 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20017 if test "$wx_cv_gccversion" = "EMX3"; then
20018 LIBS
="$LIBS -lstdcxx -lgcc"
20019 LDFLAGS
="$LDFLAGS -Zsysv-signals"
20021 LIBS
="$LIBS -lstdc++"
20024 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
20025 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
20026 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
20033 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
20034 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
20035 if test "${ac_cv_string_strcasecmp+set}" = set; then
20036 echo $ECHO_N "(cached) $ECHO_C" >&6
20039 cat >conftest.
$ac_ext <<_ACEOF
20042 cat confdefs.h
>>conftest.
$ac_ext
20043 cat >>conftest.
$ac_ext <<_ACEOF
20044 /* end confdefs.h. */
20046 #include <string.h>
20052 strcasecmp("foo", "bar");
20058 rm -f conftest.
$ac_objext conftest
$ac_exeext
20059 if { (ac_try
="$ac_link"
20060 case "(($ac_try" in
20061 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20062 *) ac_try_echo=$ac_try;;
20064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20065 (eval "$ac_link") 2>conftest.er1
20067 grep -v '^ *+' conftest.er1 >conftest.err
20069 cat conftest.err >&5
20070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20071 (exit $ac_status); } && {
20072 test -z "$ac_c_werror_flag" ||
20073 test ! -s conftest.err
20074 } && test -s conftest$ac_exeext &&
20075 $as_test_x conftest$ac_exeext; then
20076 ac_cv_string_strcasecmp=yes
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20081 ac_cv_string_strcasecmp=no
20085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20086 conftest$ac_exeext conftest.$ac_ext
20089 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
20090 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20092 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
20093 cat >>confdefs.h <<\_ACEOF
20094 #define HAVE_STRCASECMP_IN_STRING_H 1
20098 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
20099 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
20100 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20101 echo $ECHO_N "(cached) $ECHO_C" >&6
20104 cat >conftest.$ac_ext <<_ACEOF
20107 cat confdefs.h >>conftest.$ac_ext
20108 cat >>conftest.$ac_ext <<_ACEOF
20109 /* end confdefs.h. */
20111 #include <strings.h>
20117 strcasecmp("foo", "bar");
20123 rm -f conftest.$ac_objext conftest$ac_exeext
20124 if { (ac_try="$ac_link"
20125 case "(($ac_try" in
20126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20127 *) ac_try_echo
=$ac_try;;
20129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20130 (eval "$ac_link") 2>conftest.er1
20132 grep -v '^ *+' conftest.er1
>conftest.err
20134 cat conftest.err
>&5
20135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20136 (exit $ac_status); } && {
20137 test -z "$ac_c_werror_flag" ||
20138 test ! -s conftest.err
20139 } && test -s conftest
$ac_exeext &&
20140 $as_test_x conftest
$ac_exeext; then
20141 ac_cv_strings_strcasecmp
=yes
20143 echo "$as_me: failed program was:" >&5
20144 sed 's/^/| /' conftest.
$ac_ext >&5
20146 ac_cv_strings_strcasecmp
=no
20150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20151 conftest
$ac_exeext conftest.
$ac_ext
20154 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
20155 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20157 if test x
"$ac_cv_strings_strcasecmp" = "xyes"; then
20158 cat >>confdefs.h
<<\_ACEOF
20159 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20163 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
20164 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
20165 { (exit 1); exit 1; }; }
20173 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
20174 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
20175 if test "${ac_cv_header_stdc+set}" = set; then
20176 echo $ECHO_N "(cached) $ECHO_C" >&6
20178 cat >conftest.
$ac_ext <<_ACEOF
20181 cat confdefs.h
>>conftest.
$ac_ext
20182 cat >>conftest.
$ac_ext <<_ACEOF
20183 /* end confdefs.h. */
20184 #include <stdlib.h>
20185 #include <stdarg.h>
20186 #include <string.h>
20197 rm -f conftest.
$ac_objext
20198 if { (ac_try
="$ac_compile"
20199 case "(($ac_try" in
20200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20201 *) ac_try_echo=$ac_try;;
20203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20204 (eval "$ac_compile") 2>conftest.er1
20206 grep -v '^ *+' conftest.er1 >conftest.err
20208 cat conftest.err >&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); } && {
20211 test -z "$ac_c_werror_flag" ||
20212 test ! -s conftest.err
20213 } && test -s conftest.$ac_objext; then
20214 ac_cv_header_stdc=yes
20216 echo "$as_me: failed program was:" >&5
20217 sed 's/^/| /' conftest.$ac_ext >&5
20219 ac_cv_header_stdc=no
20222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20224 if test $ac_cv_header_stdc = yes; then
20225 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20226 cat >conftest.$ac_ext <<_ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 #include <string.h>
20235 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20236 $EGREP "memchr" >/dev/null 2>&1; then
20239 ac_cv_header_stdc=no
20245 if test $ac_cv_header_stdc = yes; then
20246 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20247 cat >conftest.$ac_ext <<_ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 #include <stdlib.h>
20256 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20257 $EGREP "free" >/dev/null 2>&1; then
20260 ac_cv_header_stdc=no
20266 if test $ac_cv_header_stdc = yes; then
20267 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20268 if test "$cross_compiling" = yes; then
20271 cat >conftest.$ac_ext <<_ACEOF
20274 cat confdefs.h >>conftest.$ac_ext
20275 cat >>conftest.$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20278 #include <stdlib.h>
20279 #if ((' ' & 0x0FF) == 0x020)
20280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20283 # define ISLOWER(c) \
20284 (('a' <= (c) && (c) <= 'i') \
20285 || ('j' <= (c) && (c) <= 'r') \
20286 || ('s' <= (c) && (c) <= 'z'))
20287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20295 for (i = 0; i < 256; i++)
20296 if (XOR (islower (i), ISLOWER (i))
20297 || toupper (i) != TOUPPER (i))
20302 rm -f conftest$ac_exeext
20303 if { (ac_try="$ac_link"
20304 case "(($ac_try" in
20305 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20306 *) ac_try_echo
=$ac_try;;
20308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20309 (eval "$ac_link") 2>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
20313 { (case "(($ac_try" in
20314 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20315 *) ac_try_echo=$ac_try;;
20317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20318 (eval "$ac_try") 2>&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); }; }; then
20324 echo "$as_me: program exited with status $ac_status" >&5
20325 echo "$as_me: failed program was:" >&5
20326 sed 's/^/| /' conftest.$ac_ext >&5
20328 ( exit $ac_status )
20329 ac_cv_header_stdc=no
20331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20337 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
20338 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20339 if test $ac_cv_header_stdc = yes; then
20341 cat >>confdefs.h <<\_ACEOF
20342 #define STDC_HEADERS 1
20347 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20357 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20358 inttypes.h stdint.h unistd.h
20360 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20361 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20362 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20363 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20364 echo $ECHO_N "(cached) $ECHO_C" >&6
20366 cat >conftest.$ac_ext <<_ACEOF
20369 cat confdefs.h >>conftest.$ac_ext
20370 cat >>conftest.$ac_ext <<_ACEOF
20371 /* end confdefs.h. */
20372 $ac_includes_default
20374 #include <$ac_header>
20376 rm -f conftest.$ac_objext
20377 if { (ac_try="$ac_compile"
20378 case "(($ac_try" in
20379 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20380 *) ac_try_echo
=$ac_try;;
20382 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20383 (eval "$ac_compile") 2>conftest.er1
20385 grep -v '^ *+' conftest.er1
>conftest.err
20387 cat conftest.err
>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); } && {
20390 test -z "$ac_c_werror_flag" ||
20391 test ! -s conftest.err
20392 } && test -s conftest.
$ac_objext; then
20393 eval "$as_ac_Header=yes"
20395 echo "$as_me: failed program was:" >&5
20396 sed 's/^/| /' conftest.
$ac_ext >&5
20398 eval "$as_ac_Header=no"
20401 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20403 ac_res
=`eval echo '${'$as_ac_Header'}'`
20404 { echo "$as_me:$LINENO: result: $ac_res" >&5
20405 echo "${ECHO_T}$ac_res" >&6; }
20406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20407 cat >>confdefs.h
<<_ACEOF
20408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20418 for ac_header
in langinfo.h wchar.h
20420 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20421 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20423 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20424 echo $ECHO_N "(cached) $ECHO_C" >&6
20426 cat >conftest.
$ac_ext <<_ACEOF
20429 cat confdefs.h
>>conftest.
$ac_ext
20430 cat >>conftest.
$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20432 $ac_includes_default
20434 #include <$ac_header>
20436 rm -f conftest.
$ac_objext
20437 if { (ac_try
="$ac_compile"
20438 case "(($ac_try" in
20439 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20440 *) ac_try_echo=$ac_try;;
20442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20443 (eval "$ac_compile") 2>conftest.er1
20445 grep -v '^ *+' conftest.er1 >conftest.err
20447 cat conftest.err >&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } && {
20450 test -z "$ac_c_werror_flag" ||
20451 test ! -s conftest.err
20452 } && test -s conftest.$ac_objext; then
20453 eval "$as_ac_Header=yes"
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.$ac_ext >&5
20458 eval "$as_ac_Header=no"
20461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20463 ac_res=`eval echo '${'$as_ac_Header'}'`
20464 { echo "$as_me:$LINENO: result: $ac_res" >&5
20465 echo "${ECHO_T}$ac_res" >&6; }
20466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20467 cat >>confdefs.h <<_ACEOF
20468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20476 if test "$ac_cv_header_wchar_h" != "yes"; then
20478 for ac_header in wcstr.h
20480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20481 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20483 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20484 echo $ECHO_N "(cached) $ECHO_C" >&6
20486 cat >conftest.$ac_ext <<_ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 $ac_includes_default
20494 #include <$ac_header>
20496 rm -f conftest.$ac_objext
20497 if { (ac_try="$ac_compile"
20498 case "(($ac_try" in
20499 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20500 *) ac_try_echo
=$ac_try;;
20502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20503 (eval "$ac_compile") 2>conftest.er1
20505 grep -v '^ *+' conftest.er1
>conftest.err
20507 cat conftest.err
>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } && {
20510 test -z "$ac_c_werror_flag" ||
20511 test ! -s conftest.err
20512 } && test -s conftest.
$ac_objext; then
20513 eval "$as_ac_Header=yes"
20515 echo "$as_me: failed program was:" >&5
20516 sed 's/^/| /' conftest.
$ac_ext >&5
20518 eval "$as_ac_Header=no"
20521 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20523 ac_res
=`eval echo '${'$as_ac_Header'}'`
20524 { echo "$as_me:$LINENO: result: $ac_res" >&5
20525 echo "${ECHO_T}$ac_res" >&6; }
20526 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20527 cat >>confdefs.h
<<_ACEOF
20528 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20538 *-pc-os2_emx | *-pc-os2-emx )
20539 if test $ac_cv_header_langinfo_h = "yes" \
20540 -a \
( "$wx_cv_gccversion" = "EMX2" \
20541 -o "$wx_cv_gccversion" = "EMX3" \
20542 -o "$wx_cv_gccversion" = "Innotek5" \
); then
20543 LIBS
="$LIBS -lintl"
20548 if test "$USE_UNIX" = 1 ; then
20550 for ac_header
in sys
/select.h
20552 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20553 { echo "$as_me:$LINENO: checking for $ac_header" >&5
20554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
20555 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
20556 echo $ECHO_N "(cached) $ECHO_C" >&6
20558 cat >conftest.
$ac_ext <<_ACEOF
20561 cat confdefs.h
>>conftest.
$ac_ext
20562 cat >>conftest.
$ac_ext <<_ACEOF
20563 /* end confdefs.h. */
20564 $ac_includes_default
20566 #include <$ac_header>
20568 rm -f conftest.
$ac_objext
20569 if { (ac_try
="$ac_compile"
20570 case "(($ac_try" in
20571 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20572 *) ac_try_echo=$ac_try;;
20574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20575 (eval "$ac_compile") 2>conftest.er1
20577 grep -v '^ *+' conftest.er1 >conftest.err
20579 cat conftest.err >&5
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); } && {
20582 test -z "$ac_c_werror_flag" ||
20583 test ! -s conftest.err
20584 } && test -s conftest.$ac_objext; then
20585 eval "$as_ac_Header=yes"
20587 echo "$as_me: failed program was:" >&5
20588 sed 's/^/| /' conftest.$ac_ext >&5
20590 eval "$as_ac_Header=no"
20593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20595 ac_res=`eval echo '${'$as_ac_Header'}'`
20596 { echo "$as_me:$LINENO: result: $ac_res" >&5
20597 echo "${ECHO_T}$ac_res" >&6; }
20598 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20599 cat >>confdefs.h <<_ACEOF
20600 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20610 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20611 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
20612 if test "${ac_cv_c_const+set}" = set; then
20613 echo $ECHO_N "(cached) $ECHO_C" >&6
20615 cat >conftest.$ac_ext <<_ACEOF
20618 cat confdefs.h >>conftest.$ac_ext
20619 cat >>conftest.$ac_ext <<_ACEOF
20620 /* end confdefs.h. */
20625 /* FIXME: Include the comments suggested by Paul. */
20626 #ifndef __cplusplus
20627 /* Ultrix mips cc rejects this. */
20628 typedef int charset[2];
20630 /* SunOS 4.1.1 cc rejects this. */
20631 char const *const *pcpcc;
20633 /* NEC SVR4.0.2 mips cc rejects this. */
20634 struct point {int x, y;};
20635 static struct point const zero = {0,0};
20636 /* AIX XL C 1.02.0.0 rejects this.
20637 It does not let you subtract one const X* pointer from another in
20638 an arm of an if-expression whose if-part is not a constant
20640 const char *g = "string";
20641 pcpcc = &g + (g ? g-g : 0);
20642 /* HPUX 7.0 cc rejects these. */
20644 ppc = (char**) pcpcc;
20645 pcpcc = (char const *const *) ppc;
20646 { /* SCO 3.2v4 cc rejects this. */
20648 char const *s = 0 ? (char *) 0 : (char const *) 0;
20653 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20654 int x[] = {25, 17};
20655 const int *foo = &x[0];
20658 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20659 typedef const int *iptr;
20663 { /* AIX XL C 1.02.0.0 rejects this saying
20664 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20665 struct s { int j; const int *ap[3]; };
20666 struct s *b; b->j = 5;
20668 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20669 const int foo = 10;
20670 if (!foo) return 0;
20672 return !cs[0] && !zero.x;
20679 rm -f conftest.$ac_objext
20680 if { (ac_try="$ac_compile"
20681 case "(($ac_try" in
20682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20683 *) ac_try_echo
=$ac_try;;
20685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20686 (eval "$ac_compile") 2>conftest.er1
20688 grep -v '^ *+' conftest.er1
>conftest.err
20690 cat conftest.err
>&5
20691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20692 (exit $ac_status); } && {
20693 test -z "$ac_c_werror_flag" ||
20694 test ! -s conftest.err
20695 } && test -s conftest.
$ac_objext; then
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.
$ac_ext >&5
20704 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20706 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20707 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20708 if test $ac_cv_c_const = no
; then
20710 cat >>confdefs.h
<<\_ACEOF
20716 { echo "$as_me:$LINENO: checking for inline" >&5
20717 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
20718 if test "${ac_cv_c_inline+set}" = set; then
20719 echo $ECHO_N "(cached) $ECHO_C" >&6
20722 for ac_kw
in inline __inline__ __inline
; do
20723 cat >conftest.
$ac_ext <<_ACEOF
20726 cat confdefs.h
>>conftest.
$ac_ext
20727 cat >>conftest.
$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729 #ifndef __cplusplus
20731 static $ac_kw foo_t static_foo () {return 0; }
20732 $ac_kw foo_t foo () {return 0; }
20736 rm -f conftest.
$ac_objext
20737 if { (ac_try
="$ac_compile"
20738 case "(($ac_try" in
20739 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20740 *) ac_try_echo=$ac_try;;
20742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20743 (eval "$ac_compile") 2>conftest.er1
20745 grep -v '^ *+' conftest.er1 >conftest.err
20747 cat conftest.err >&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); } && {
20750 test -z "$ac_c_werror_flag" ||
20751 test ! -s conftest.err
20752 } && test -s conftest.$ac_objext; then
20753 ac_cv_c_inline=$ac_kw
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20762 test "$ac_cv_c_inline" != no && break
20766 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20767 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20770 case $ac_cv_c_inline in
20773 case $ac_cv_c_inline in
20775 *) ac_val=$ac_cv_c_inline;;
20777 cat >>confdefs.h <<_ACEOF
20778 #ifndef __cplusplus
20779 #define inline $ac_val
20786 { echo "$as_me:$LINENO: checking for short" >&5
20787 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
20788 if test "${ac_cv_type_short+set}" = set; then
20789 echo $ECHO_N "(cached) $ECHO_C" >&6
20791 cat >conftest.$ac_ext <<_ACEOF
20794 cat confdefs.h >>conftest.$ac_ext
20795 cat >>conftest.$ac_ext <<_ACEOF
20796 /* end confdefs.h. */
20797 $ac_includes_default
20798 typedef short ac__type_new_;
20802 if ((ac__type_new_ *) 0)
20804 if (sizeof (ac__type_new_))
20810 rm -f conftest.$ac_objext
20811 if { (ac_try="$ac_compile"
20812 case "(($ac_try" in
20813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20814 *) ac_try_echo
=$ac_try;;
20816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20817 (eval "$ac_compile") 2>conftest.er1
20819 grep -v '^ *+' conftest.er1
>conftest.err
20821 cat conftest.err
>&5
20822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20823 (exit $ac_status); } && {
20824 test -z "$ac_c_werror_flag" ||
20825 test ! -s conftest.err
20826 } && test -s conftest.
$ac_objext; then
20827 ac_cv_type_short
=yes
20829 echo "$as_me: failed program was:" >&5
20830 sed 's/^/| /' conftest.
$ac_ext >&5
20832 ac_cv_type_short
=no
20835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20837 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
20838 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20840 # The cast to long int works around a bug in the HP C Compiler
20841 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20842 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20843 # This bug is HP SR number 8606223364.
20844 { echo "$as_me:$LINENO: checking size of short" >&5
20845 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
20846 if test "${ac_cv_sizeof_short+set}" = set; then
20847 echo $ECHO_N "(cached) $ECHO_C" >&6
20849 if test "$cross_compiling" = yes; then
20850 # Depending upon the size, compute the lo and hi bounds.
20851 cat >conftest.
$ac_ext <<_ACEOF
20854 cat confdefs.h
>>conftest.
$ac_ext
20855 cat >>conftest.
$ac_ext <<_ACEOF
20856 /* end confdefs.h. */
20857 $ac_includes_default
20858 typedef short ac__type_sizeof_;
20862 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20869 rm -f conftest.
$ac_objext
20870 if { (ac_try
="$ac_compile"
20871 case "(($ac_try" in
20872 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20873 *) ac_try_echo=$ac_try;;
20875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20876 (eval "$ac_compile") 2>conftest.er1
20878 grep -v '^ *+' conftest.er1 >conftest.err
20880 cat conftest.err >&5
20881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20882 (exit $ac_status); } && {
20883 test -z "$ac_c_werror_flag" ||
20884 test ! -s conftest.err
20885 } && test -s conftest.$ac_objext; then
20888 cat >conftest.$ac_ext <<_ACEOF
20891 cat confdefs.h >>conftest.$ac_ext
20892 cat >>conftest.$ac_ext <<_ACEOF
20893 /* end confdefs.h. */
20894 $ac_includes_default
20895 typedef short ac__type_sizeof_;
20899 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20906 rm -f conftest.$ac_objext
20907 if { (ac_try="$ac_compile"
20908 case "(($ac_try" in
20909 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
20910 *) ac_try_echo
=$ac_try;;
20912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20913 (eval "$ac_compile") 2>conftest.er1
20915 grep -v '^ *+' conftest.er1
>conftest.err
20917 cat conftest.err
>&5
20918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20919 (exit $ac_status); } && {
20920 test -z "$ac_c_werror_flag" ||
20921 test ! -s conftest.err
20922 } && test -s conftest.
$ac_objext; then
20923 ac_hi
=$ac_mid; break
20925 echo "$as_me: failed program was:" >&5
20926 sed 's/^/| /' conftest.
$ac_ext >&5
20928 ac_lo
=`expr $ac_mid + 1`
20929 if test $ac_lo -le $ac_mid; then
20933 ac_mid
=`expr 2 '*' $ac_mid + 1`
20936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20939 echo "$as_me: failed program was:" >&5
20940 sed 's/^/| /' conftest.
$ac_ext >&5
20942 cat >conftest.
$ac_ext <<_ACEOF
20945 cat confdefs.h
>>conftest.
$ac_ext
20946 cat >>conftest.
$ac_ext <<_ACEOF
20947 /* end confdefs.h. */
20948 $ac_includes_default
20949 typedef short ac__type_sizeof_;
20953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20960 rm -f conftest.
$ac_objext
20961 if { (ac_try
="$ac_compile"
20962 case "(($ac_try" in
20963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
20964 *) ac_try_echo=$ac_try;;
20966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20967 (eval "$ac_compile") 2>conftest.er1
20969 grep -v '^ *+' conftest.er1 >conftest.err
20971 cat conftest.err >&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } && {
20974 test -z "$ac_c_werror_flag" ||
20975 test ! -s conftest.err
20976 } && test -s conftest.$ac_objext; then
20979 cat >conftest.$ac_ext <<_ACEOF
20982 cat confdefs.h >>conftest.$ac_ext
20983 cat >>conftest.$ac_ext <<_ACEOF
20984 /* end confdefs.h. */
20985 $ac_includes_default
20986 typedef short ac__type_sizeof_;
20990 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20997 rm -f conftest.$ac_objext
20998 if { (ac_try="$ac_compile"
20999 case "(($ac_try" in
21000 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21001 *) ac_try_echo
=$ac_try;;
21003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21004 (eval "$ac_compile") 2>conftest.er1
21006 grep -v '^ *+' conftest.er1
>conftest.err
21008 cat conftest.err
>&5
21009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21010 (exit $ac_status); } && {
21011 test -z "$ac_c_werror_flag" ||
21012 test ! -s conftest.err
21013 } && test -s conftest.
$ac_objext; then
21014 ac_lo
=$ac_mid; break
21016 echo "$as_me: failed program was:" >&5
21017 sed 's/^/| /' conftest.
$ac_ext >&5
21019 ac_hi
=`expr '(' $ac_mid ')' - 1`
21020 if test $ac_mid -le $ac_hi; then
21024 ac_mid
=`expr 2 '*' $ac_mid`
21027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.
$ac_ext >&5
21036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21040 # Binary search between lo and hi bounds.
21041 while test "x$ac_lo" != "x$ac_hi"; do
21042 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21043 cat >conftest.
$ac_ext <<_ACEOF
21046 cat confdefs.h
>>conftest.
$ac_ext
21047 cat >>conftest.
$ac_ext <<_ACEOF
21048 /* end confdefs.h. */
21049 $ac_includes_default
21050 typedef short ac__type_sizeof_;
21054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21061 rm -f conftest.
$ac_objext
21062 if { (ac_try
="$ac_compile"
21063 case "(($ac_try" in
21064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21065 *) ac_try_echo=$ac_try;;
21067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21068 (eval "$ac_compile") 2>conftest.er1
21070 grep -v '^ *+' conftest.er1 >conftest.err
21072 cat conftest.err >&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); } && {
21075 test -z "$ac_c_werror_flag" ||
21076 test ! -s conftest.err
21077 } && test -s conftest.$ac_objext; then
21080 echo "$as_me: failed program was:" >&5
21081 sed 's/^/| /' conftest.$ac_ext >&5
21083 ac_lo=`expr '(' $ac_mid ')' + 1`
21086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21089 ?*) ac_cv_sizeof_short=$ac_lo;;
21090 '') if test "$ac_cv_type_short" = yes; then
21091 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21092 See \`config.log
' for more details." >&5
21093 echo "$as_me: error: cannot compute sizeof (short)
21094 See \`config.log' for more details.
" >&2;}
21095 { (exit 77); exit 77; }; }
21097 ac_cv_sizeof_short=0
21101 cat >conftest.$ac_ext <<_ACEOF
21104 cat confdefs.h >>conftest.$ac_ext
21105 cat >>conftest.$ac_ext <<_ACEOF
21106 /* end confdefs.h. */
21107 $ac_includes_default
21108 typedef short ac__type_sizeof_;
21109 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21110 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21112 #include <stdlib.h>
21117 FILE *f = fopen ("conftest.val
", "w
");
21120 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21122 long int i = longval ();
21123 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21125 fprintf (f, "%ld
\n", i);
21129 unsigned long int i = ulongval ();
21130 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21132 fprintf (f, "%lu
\n", i);
21134 return ferror (f) || fclose (f) != 0;
21140 rm -f conftest$ac_exeext
21141 if { (ac_try="$ac_link"
21142 case "(($ac_try" in
21143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21144 *) ac_try_echo=$ac_try;;
21146 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21147 (eval "$ac_link") 2>&5
21149 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21150 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21151 { (case "(($ac_try" in
21152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21153 *) ac_try_echo=$ac_try;;
21155 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21156 (eval "$ac_try") 2>&5
21158 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21159 (exit $ac_status); }; }; then
21160 ac_cv_sizeof_short=`cat conftest.val`
21162 echo "$as_me: program exited with status
$ac_status" >&5
21163 echo "$as_me: failed program was
:" >&5
21164 sed 's/^/| /' conftest.$ac_ext >&5
21166 ( exit $ac_status )
21167 if test "$ac_cv_type_short" = yes; then
21168 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
21169 See \
`config.log' for more details." >&5
21170 echo "$as_me: error: cannot compute sizeof (short)
21171 See \`config.log
' for more details." >&2;}
21172 { (exit 77); exit 77; }; }
21174 ac_cv_sizeof_short=0
21177 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21181 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21182 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21186 cat >>confdefs.h <<_ACEOF
21187 #define SIZEOF_SHORT $ac_cv_sizeof_short
21191 { echo "$as_me:$LINENO: checking for void *" >&5
21192 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21193 if test "${ac_cv_type_void_p+set}" = set; then
21194 echo $ECHO_N "(cached) $ECHO_C" >&6
21196 cat >conftest.$ac_ext <<_ACEOF
21199 cat confdefs.h >>conftest.$ac_ext
21200 cat >>conftest.$ac_ext <<_ACEOF
21201 /* end confdefs.h. */
21202 $ac_includes_default
21203 typedef void * ac__type_new_;
21207 if ((ac__type_new_ *) 0)
21209 if (sizeof (ac__type_new_))
21215 rm -f conftest.$ac_objext
21216 if { (ac_try="$ac_compile"
21217 case "(($ac_try" in
21218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21219 *) ac_try_echo=$ac_try;;
21221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21222 (eval "$ac_compile") 2>conftest.er1
21224 grep -v '^
*+' conftest.er1 >conftest.err
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } && {
21229 test -z "$ac_c_werror_flag" ||
21230 test ! -s conftest.err
21231 } && test -s conftest.$ac_objext; then
21232 ac_cv_type_void_p=yes
21234 echo "$as_me: failed program was:" >&5
21235 sed 's
/^
/| /' conftest.$ac_ext >&5
21237 ac_cv_type_void_p=no
21240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21242 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21243 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21245 # The cast to long int works around a bug in the HP C Compiler
21246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21248 # This bug is HP SR number 8606223364.
21249 { echo "$as_me:$LINENO: checking size of void *" >&5
21250 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21251 if test "${ac_cv_sizeof_void_p+set}" = set; then
21252 echo $ECHO_N "(cached) $ECHO_C" >&6
21254 if test "$cross_compiling" = yes; then
21255 # Depending upon the size, compute the lo and hi bounds.
21256 cat >conftest.
$ac_ext <<_ACEOF
21259 cat confdefs.h
>>conftest.
$ac_ext
21260 cat >>conftest.
$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21262 $ac_includes_default
21263 typedef void * ac__type_sizeof_;
21267 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21274 rm -f conftest.
$ac_objext
21275 if { (ac_try
="$ac_compile"
21276 case "(($ac_try" in
21277 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21278 *) ac_try_echo=$ac_try;;
21280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21281 (eval "$ac_compile") 2>conftest.er1
21283 grep -v '^ *+' conftest.er1 >conftest.err
21285 cat conftest.err >&5
21286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287 (exit $ac_status); } && {
21288 test -z "$ac_c_werror_flag" ||
21289 test ! -s conftest.err
21290 } && test -s conftest.$ac_objext; then
21293 cat >conftest.$ac_ext <<_ACEOF
21296 cat confdefs.h >>conftest.$ac_ext
21297 cat >>conftest.$ac_ext <<_ACEOF
21298 /* end confdefs.h. */
21299 $ac_includes_default
21300 typedef void * ac__type_sizeof_;
21304 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21311 rm -f conftest.$ac_objext
21312 if { (ac_try="$ac_compile"
21313 case "(($ac_try" in
21314 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21315 *) ac_try_echo
=$ac_try;;
21317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21318 (eval "$ac_compile") 2>conftest.er1
21320 grep -v '^ *+' conftest.er1
>conftest.err
21322 cat conftest.err
>&5
21323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21324 (exit $ac_status); } && {
21325 test -z "$ac_c_werror_flag" ||
21326 test ! -s conftest.err
21327 } && test -s conftest.
$ac_objext; then
21328 ac_hi
=$ac_mid; break
21330 echo "$as_me: failed program was:" >&5
21331 sed 's/^/| /' conftest.
$ac_ext >&5
21333 ac_lo
=`expr $ac_mid + 1`
21334 if test $ac_lo -le $ac_mid; then
21338 ac_mid
=`expr 2 '*' $ac_mid + 1`
21341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21344 echo "$as_me: failed program was:" >&5
21345 sed 's/^/| /' conftest.
$ac_ext >&5
21347 cat >conftest.
$ac_ext <<_ACEOF
21350 cat confdefs.h
>>conftest.
$ac_ext
21351 cat >>conftest.
$ac_ext <<_ACEOF
21352 /* end confdefs.h. */
21353 $ac_includes_default
21354 typedef void * ac__type_sizeof_;
21358 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21365 rm -f conftest.
$ac_objext
21366 if { (ac_try
="$ac_compile"
21367 case "(($ac_try" in
21368 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21369 *) ac_try_echo=$ac_try;;
21371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21372 (eval "$ac_compile") 2>conftest.er1
21374 grep -v '^ *+' conftest.er1 >conftest.err
21376 cat conftest.err >&5
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); } && {
21379 test -z "$ac_c_werror_flag" ||
21380 test ! -s conftest.err
21381 } && test -s conftest.$ac_objext; then
21384 cat >conftest.$ac_ext <<_ACEOF
21387 cat confdefs.h >>conftest.$ac_ext
21388 cat >>conftest.$ac_ext <<_ACEOF
21389 /* end confdefs.h. */
21390 $ac_includes_default
21391 typedef void * ac__type_sizeof_;
21395 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21402 rm -f conftest.$ac_objext
21403 if { (ac_try="$ac_compile"
21404 case "(($ac_try" in
21405 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21406 *) ac_try_echo
=$ac_try;;
21408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21409 (eval "$ac_compile") 2>conftest.er1
21411 grep -v '^ *+' conftest.er1
>conftest.err
21413 cat conftest.err
>&5
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); } && {
21416 test -z "$ac_c_werror_flag" ||
21417 test ! -s conftest.err
21418 } && test -s conftest.
$ac_objext; then
21419 ac_lo
=$ac_mid; break
21421 echo "$as_me: failed program was:" >&5
21422 sed 's/^/| /' conftest.
$ac_ext >&5
21424 ac_hi
=`expr '(' $ac_mid ')' - 1`
21425 if test $ac_mid -le $ac_hi; then
21429 ac_mid
=`expr 2 '*' $ac_mid`
21432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.
$ac_ext >&5
21441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21445 # Binary search between lo and hi bounds.
21446 while test "x$ac_lo" != "x$ac_hi"; do
21447 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21448 cat >conftest.
$ac_ext <<_ACEOF
21451 cat confdefs.h
>>conftest.
$ac_ext
21452 cat >>conftest.
$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454 $ac_includes_default
21455 typedef void * ac__type_sizeof_;
21459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21466 rm -f conftest.
$ac_objext
21467 if { (ac_try
="$ac_compile"
21468 case "(($ac_try" in
21469 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21470 *) ac_try_echo=$ac_try;;
21472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21473 (eval "$ac_compile") 2>conftest.er1
21475 grep -v '^ *+' conftest.er1 >conftest.err
21477 cat conftest.err >&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); } && {
21480 test -z "$ac_c_werror_flag" ||
21481 test ! -s conftest.err
21482 } && test -s conftest.$ac_objext; then
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.$ac_ext >&5
21488 ac_lo=`expr '(' $ac_mid ')' + 1`
21491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21494 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21495 '') if test "$ac_cv_type_void_p" = yes; then
21496 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21497 See \`config.log
' for more details." >&5
21498 echo "$as_me: error: cannot compute sizeof (void *)
21499 See \`config.log' for more details.
" >&2;}
21500 { (exit 77); exit 77; }; }
21502 ac_cv_sizeof_void_p=0
21506 cat >conftest.$ac_ext <<_ACEOF
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 $ac_includes_default
21513 typedef void * ac__type_sizeof_;
21514 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21515 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21517 #include <stdlib.h>
21522 FILE *f = fopen ("conftest.val
", "w
");
21525 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21527 long int i = longval ();
21528 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21530 fprintf (f, "%ld
\n", i);
21534 unsigned long int i = ulongval ();
21535 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21537 fprintf (f, "%lu
\n", i);
21539 return ferror (f) || fclose (f) != 0;
21545 rm -f conftest$ac_exeext
21546 if { (ac_try="$ac_link"
21547 case "(($ac_try" in
21548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21549 *) ac_try_echo=$ac_try;;
21551 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21552 (eval "$ac_link") 2>&5
21554 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21555 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21556 { (case "(($ac_try" in
21557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21560 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_try") 2>&5
21563 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21564 (exit $ac_status); }; }; then
21565 ac_cv_sizeof_void_p=`cat conftest.val`
21567 echo "$as_me: program exited with status
$ac_status" >&5
21568 echo "$as_me: failed program was
:" >&5
21569 sed 's/^/| /' conftest.$ac_ext >&5
21571 ( exit $ac_status )
21572 if test "$ac_cv_type_void_p" = yes; then
21573 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21574 See \
`config.log' for more details." >&5
21575 echo "$as_me: error: cannot compute sizeof (void *)
21576 See \`config.log
' for more details." >&2;}
21577 { (exit 77); exit 77; }; }
21579 ac_cv_sizeof_void_p=0
21582 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21586 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21587 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21591 cat >>confdefs.h <<_ACEOF
21592 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21596 { echo "$as_me:$LINENO: checking for int" >&5
21597 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21598 if test "${ac_cv_type_int+set}" = set; then
21599 echo $ECHO_N "(cached) $ECHO_C" >&6
21601 cat >conftest.$ac_ext <<_ACEOF
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21607 $ac_includes_default
21608 typedef int ac__type_new_;
21612 if ((ac__type_new_ *) 0)
21614 if (sizeof (ac__type_new_))
21620 rm -f conftest.$ac_objext
21621 if { (ac_try="$ac_compile"
21622 case "(($ac_try" in
21623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21624 *) ac_try_echo=$ac_try;;
21626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21627 (eval "$ac_compile") 2>conftest.er1
21629 grep -v '^
*+' conftest.er1 >conftest.err
21631 cat conftest.err >&5
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); } && {
21634 test -z "$ac_c_werror_flag" ||
21635 test ! -s conftest.err
21636 } && test -s conftest.$ac_objext; then
21639 echo "$as_me: failed program was:" >&5
21640 sed 's
/^
/| /' conftest.$ac_ext >&5
21645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21647 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21648 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21650 # The cast to long int works around a bug in the HP C Compiler
21651 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21652 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21653 # This bug is HP SR number 8606223364.
21654 { echo "$as_me:$LINENO: checking size of int" >&5
21655 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21656 if test "${ac_cv_sizeof_int+set}" = set; then
21657 echo $ECHO_N "(cached) $ECHO_C" >&6
21659 if test "$cross_compiling" = yes; then
21660 # Depending upon the size, compute the lo and hi bounds.
21661 cat >conftest.
$ac_ext <<_ACEOF
21664 cat confdefs.h
>>conftest.
$ac_ext
21665 cat >>conftest.
$ac_ext <<_ACEOF
21666 /* end confdefs.h. */
21667 $ac_includes_default
21668 typedef int ac__type_sizeof_;
21672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21679 rm -f conftest.
$ac_objext
21680 if { (ac_try
="$ac_compile"
21681 case "(($ac_try" in
21682 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21683 *) ac_try_echo=$ac_try;;
21685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21686 (eval "$ac_compile") 2>conftest.er1
21688 grep -v '^ *+' conftest.er1 >conftest.err
21690 cat conftest.err >&5
21691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); } && {
21693 test -z "$ac_c_werror_flag" ||
21694 test ! -s conftest.err
21695 } && test -s conftest.$ac_objext; then
21698 cat >conftest.$ac_ext <<_ACEOF
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h. */
21704 $ac_includes_default
21705 typedef int ac__type_sizeof_;
21709 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21716 rm -f conftest.$ac_objext
21717 if { (ac_try="$ac_compile"
21718 case "(($ac_try" in
21719 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21720 *) ac_try_echo
=$ac_try;;
21722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21723 (eval "$ac_compile") 2>conftest.er1
21725 grep -v '^ *+' conftest.er1
>conftest.err
21727 cat conftest.err
>&5
21728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21729 (exit $ac_status); } && {
21730 test -z "$ac_c_werror_flag" ||
21731 test ! -s conftest.err
21732 } && test -s conftest.
$ac_objext; then
21733 ac_hi
=$ac_mid; break
21735 echo "$as_me: failed program was:" >&5
21736 sed 's/^/| /' conftest.
$ac_ext >&5
21738 ac_lo
=`expr $ac_mid + 1`
21739 if test $ac_lo -le $ac_mid; then
21743 ac_mid
=`expr 2 '*' $ac_mid + 1`
21746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21749 echo "$as_me: failed program was:" >&5
21750 sed 's/^/| /' conftest.
$ac_ext >&5
21752 cat >conftest.
$ac_ext <<_ACEOF
21755 cat confdefs.h
>>conftest.
$ac_ext
21756 cat >>conftest.
$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21758 $ac_includes_default
21759 typedef int ac__type_sizeof_;
21763 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21770 rm -f conftest.
$ac_objext
21771 if { (ac_try
="$ac_compile"
21772 case "(($ac_try" in
21773 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21774 *) ac_try_echo=$ac_try;;
21776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21777 (eval "$ac_compile") 2>conftest.er1
21779 grep -v '^ *+' conftest.er1 >conftest.err
21781 cat conftest.err >&5
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); } && {
21784 test -z "$ac_c_werror_flag" ||
21785 test ! -s conftest.err
21786 } && test -s conftest.$ac_objext; then
21789 cat >conftest.$ac_ext <<_ACEOF
21792 cat confdefs.h >>conftest.$ac_ext
21793 cat >>conftest.$ac_ext <<_ACEOF
21794 /* end confdefs.h. */
21795 $ac_includes_default
21796 typedef int ac__type_sizeof_;
21800 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21807 rm -f conftest.$ac_objext
21808 if { (ac_try="$ac_compile"
21809 case "(($ac_try" in
21810 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21811 *) ac_try_echo
=$ac_try;;
21813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21814 (eval "$ac_compile") 2>conftest.er1
21816 grep -v '^ *+' conftest.er1
>conftest.err
21818 cat conftest.err
>&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); } && {
21821 test -z "$ac_c_werror_flag" ||
21822 test ! -s conftest.err
21823 } && test -s conftest.
$ac_objext; then
21824 ac_lo
=$ac_mid; break
21826 echo "$as_me: failed program was:" >&5
21827 sed 's/^/| /' conftest.
$ac_ext >&5
21829 ac_hi
=`expr '(' $ac_mid ')' - 1`
21830 if test $ac_mid -le $ac_hi; then
21834 ac_mid
=`expr 2 '*' $ac_mid`
21837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21840 echo "$as_me: failed program was:" >&5
21841 sed 's/^/| /' conftest.
$ac_ext >&5
21846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21850 # Binary search between lo and hi bounds.
21851 while test "x$ac_lo" != "x$ac_hi"; do
21852 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21853 cat >conftest.
$ac_ext <<_ACEOF
21856 cat confdefs.h
>>conftest.
$ac_ext
21857 cat >>conftest.
$ac_ext <<_ACEOF
21858 /* end confdefs.h. */
21859 $ac_includes_default
21860 typedef int ac__type_sizeof_;
21864 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21871 rm -f conftest.
$ac_objext
21872 if { (ac_try
="$ac_compile"
21873 case "(($ac_try" in
21874 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21875 *) ac_try_echo=$ac_try;;
21877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21878 (eval "$ac_compile") 2>conftest.er1
21880 grep -v '^ *+' conftest.er1 >conftest.err
21882 cat conftest.err >&5
21883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21884 (exit $ac_status); } && {
21885 test -z "$ac_c_werror_flag" ||
21886 test ! -s conftest.err
21887 } && test -s conftest.$ac_objext; then
21890 echo "$as_me: failed program was:" >&5
21891 sed 's/^/| /' conftest.$ac_ext >&5
21893 ac_lo=`expr '(' $ac_mid ')' + 1`
21896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21899 ?*) ac_cv_sizeof_int=$ac_lo;;
21900 '') if test "$ac_cv_type_int" = yes; then
21901 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21902 See \`config.log
' for more details." >&5
21903 echo "$as_me: error: cannot compute sizeof (int)
21904 See \`config.log' for more details.
" >&2;}
21905 { (exit 77); exit 77; }; }
21911 cat >conftest.$ac_ext <<_ACEOF
21914 cat confdefs.h >>conftest.$ac_ext
21915 cat >>conftest.$ac_ext <<_ACEOF
21916 /* end confdefs.h. */
21917 $ac_includes_default
21918 typedef int ac__type_sizeof_;
21919 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21920 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21922 #include <stdlib.h>
21927 FILE *f = fopen ("conftest.val
", "w
");
21930 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21932 long int i = longval ();
21933 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21935 fprintf (f, "%ld
\n", i);
21939 unsigned long int i = ulongval ();
21940 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21942 fprintf (f, "%lu
\n", i);
21944 return ferror (f) || fclose (f) != 0;
21950 rm -f conftest$ac_exeext
21951 if { (ac_try="$ac_link"
21952 case "(($ac_try" in
21953 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21954 *) ac_try_echo=$ac_try;;
21956 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21957 (eval "$ac_link") 2>&5
21959 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21960 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21961 { (case "(($ac_try" in
21962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21963 *) ac_try_echo=$ac_try;;
21965 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21966 (eval "$ac_try") 2>&5
21968 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21969 (exit $ac_status); }; }; then
21970 ac_cv_sizeof_int=`cat conftest.val`
21972 echo "$as_me: program exited with status
$ac_status" >&5
21973 echo "$as_me: failed program was
:" >&5
21974 sed 's/^/| /' conftest.$ac_ext >&5
21976 ( exit $ac_status )
21977 if test "$ac_cv_type_int" = yes; then
21978 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21979 See \
`config.log' for more details." >&5
21980 echo "$as_me: error: cannot compute sizeof (int)
21981 See \`config.log
' for more details." >&2;}
21982 { (exit 77); exit 77; }; }
21987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21991 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21992 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21996 cat >>confdefs.h <<_ACEOF
21997 #define SIZEOF_INT $ac_cv_sizeof_int
22001 { echo "$as_me:$LINENO: checking for long" >&5
22002 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
22003 if test "${ac_cv_type_long+set}" = set; then
22004 echo $ECHO_N "(cached) $ECHO_C" >&6
22006 cat >conftest.$ac_ext <<_ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012 $ac_includes_default
22013 typedef long ac__type_new_;
22017 if ((ac__type_new_ *) 0)
22019 if (sizeof (ac__type_new_))
22025 rm -f conftest.$ac_objext
22026 if { (ac_try="$ac_compile"
22027 case "(($ac_try" in
22028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22029 *) ac_try_echo=$ac_try;;
22031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22032 (eval "$ac_compile") 2>conftest.er1
22034 grep -v '^
*+' conftest.er1 >conftest.err
22036 cat conftest.err >&5
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); } && {
22039 test -z "$ac_c_werror_flag" ||
22040 test ! -s conftest.err
22041 } && test -s conftest.$ac_objext; then
22042 ac_cv_type_long=yes
22044 echo "$as_me: failed program was:" >&5
22045 sed 's
/^
/| /' conftest.$ac_ext >&5
22050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22052 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
22053 echo "${ECHO_T}$ac_cv_type_long" >&6; }
22055 # The cast to long int works around a bug in the HP C Compiler
22056 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22057 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22058 # This bug is HP SR number 8606223364.
22059 { echo "$as_me:$LINENO: checking size of long" >&5
22060 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
22061 if test "${ac_cv_sizeof_long+set}" = set; then
22062 echo $ECHO_N "(cached) $ECHO_C" >&6
22064 if test "$cross_compiling" = yes; then
22065 # Depending upon the size, compute the lo and hi bounds.
22066 cat >conftest.
$ac_ext <<_ACEOF
22069 cat confdefs.h
>>conftest.
$ac_ext
22070 cat >>conftest.
$ac_ext <<_ACEOF
22071 /* end confdefs.h. */
22072 $ac_includes_default
22073 typedef long ac__type_sizeof_;
22077 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22084 rm -f conftest.
$ac_objext
22085 if { (ac_try
="$ac_compile"
22086 case "(($ac_try" in
22087 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22088 *) ac_try_echo=$ac_try;;
22090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22091 (eval "$ac_compile") 2>conftest.er1
22093 grep -v '^ *+' conftest.er1 >conftest.err
22095 cat conftest.err >&5
22096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22097 (exit $ac_status); } && {
22098 test -z "$ac_c_werror_flag" ||
22099 test ! -s conftest.err
22100 } && test -s conftest.$ac_objext; then
22103 cat >conftest.$ac_ext <<_ACEOF
22106 cat confdefs.h >>conftest.$ac_ext
22107 cat >>conftest.$ac_ext <<_ACEOF
22108 /* end confdefs.h. */
22109 $ac_includes_default
22110 typedef long ac__type_sizeof_;
22114 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22121 rm -f conftest.$ac_objext
22122 if { (ac_try="$ac_compile"
22123 case "(($ac_try" in
22124 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22125 *) ac_try_echo
=$ac_try;;
22127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22128 (eval "$ac_compile") 2>conftest.er1
22130 grep -v '^ *+' conftest.er1
>conftest.err
22132 cat conftest.err
>&5
22133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22134 (exit $ac_status); } && {
22135 test -z "$ac_c_werror_flag" ||
22136 test ! -s conftest.err
22137 } && test -s conftest.
$ac_objext; then
22138 ac_hi
=$ac_mid; break
22140 echo "$as_me: failed program was:" >&5
22141 sed 's/^/| /' conftest.
$ac_ext >&5
22143 ac_lo
=`expr $ac_mid + 1`
22144 if test $ac_lo -le $ac_mid; then
22148 ac_mid
=`expr 2 '*' $ac_mid + 1`
22151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22154 echo "$as_me: failed program was:" >&5
22155 sed 's/^/| /' conftest.
$ac_ext >&5
22157 cat >conftest.
$ac_ext <<_ACEOF
22160 cat confdefs.h
>>conftest.
$ac_ext
22161 cat >>conftest.
$ac_ext <<_ACEOF
22162 /* end confdefs.h. */
22163 $ac_includes_default
22164 typedef long ac__type_sizeof_;
22168 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22175 rm -f conftest.
$ac_objext
22176 if { (ac_try
="$ac_compile"
22177 case "(($ac_try" in
22178 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22179 *) ac_try_echo=$ac_try;;
22181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22182 (eval "$ac_compile") 2>conftest.er1
22184 grep -v '^ *+' conftest.er1 >conftest.err
22186 cat conftest.err >&5
22187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22188 (exit $ac_status); } && {
22189 test -z "$ac_c_werror_flag" ||
22190 test ! -s conftest.err
22191 } && test -s conftest.$ac_objext; then
22194 cat >conftest.$ac_ext <<_ACEOF
22197 cat confdefs.h >>conftest.$ac_ext
22198 cat >>conftest.$ac_ext <<_ACEOF
22199 /* end confdefs.h. */
22200 $ac_includes_default
22201 typedef long ac__type_sizeof_;
22205 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22212 rm -f conftest.$ac_objext
22213 if { (ac_try="$ac_compile"
22214 case "(($ac_try" in
22215 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22216 *) ac_try_echo
=$ac_try;;
22218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22219 (eval "$ac_compile") 2>conftest.er1
22221 grep -v '^ *+' conftest.er1
>conftest.err
22223 cat conftest.err
>&5
22224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22225 (exit $ac_status); } && {
22226 test -z "$ac_c_werror_flag" ||
22227 test ! -s conftest.err
22228 } && test -s conftest.
$ac_objext; then
22229 ac_lo
=$ac_mid; break
22231 echo "$as_me: failed program was:" >&5
22232 sed 's/^/| /' conftest.
$ac_ext >&5
22234 ac_hi
=`expr '(' $ac_mid ')' - 1`
22235 if test $ac_mid -le $ac_hi; then
22239 ac_mid
=`expr 2 '*' $ac_mid`
22242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.
$ac_ext >&5
22251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22255 # Binary search between lo and hi bounds.
22256 while test "x$ac_lo" != "x$ac_hi"; do
22257 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22258 cat >conftest.
$ac_ext <<_ACEOF
22261 cat confdefs.h
>>conftest.
$ac_ext
22262 cat >>conftest.
$ac_ext <<_ACEOF
22263 /* end confdefs.h. */
22264 $ac_includes_default
22265 typedef long ac__type_sizeof_;
22269 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22276 rm -f conftest.
$ac_objext
22277 if { (ac_try
="$ac_compile"
22278 case "(($ac_try" in
22279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22280 *) ac_try_echo=$ac_try;;
22282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22283 (eval "$ac_compile") 2>conftest.er1
22285 grep -v '^ *+' conftest.er1 >conftest.err
22287 cat conftest.err >&5
22288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22289 (exit $ac_status); } && {
22290 test -z "$ac_c_werror_flag" ||
22291 test ! -s conftest.err
22292 } && test -s conftest.$ac_objext; then
22295 echo "$as_me: failed program was:" >&5
22296 sed 's/^/| /' conftest.$ac_ext >&5
22298 ac_lo=`expr '(' $ac_mid ')' + 1`
22301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22304 ?*) ac_cv_sizeof_long=$ac_lo;;
22305 '') if test "$ac_cv_type_long" = yes; then
22306 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22307 See \`config.log
' for more details." >&5
22308 echo "$as_me: error: cannot compute sizeof (long)
22309 See \`config.log' for more details.
" >&2;}
22310 { (exit 77); exit 77; }; }
22312 ac_cv_sizeof_long=0
22316 cat >conftest.$ac_ext <<_ACEOF
22319 cat confdefs.h >>conftest.$ac_ext
22320 cat >>conftest.$ac_ext <<_ACEOF
22321 /* end confdefs.h. */
22322 $ac_includes_default
22323 typedef long ac__type_sizeof_;
22324 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22325 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22327 #include <stdlib.h>
22332 FILE *f = fopen ("conftest.val
", "w
");
22335 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22337 long int i = longval ();
22338 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22340 fprintf (f, "%ld
\n", i);
22344 unsigned long int i = ulongval ();
22345 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22347 fprintf (f, "%lu
\n", i);
22349 return ferror (f) || fclose (f) != 0;
22355 rm -f conftest$ac_exeext
22356 if { (ac_try="$ac_link"
22357 case "(($ac_try" in
22358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22359 *) ac_try_echo=$ac_try;;
22361 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22362 (eval "$ac_link") 2>&5
22364 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22365 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22366 { (case "(($ac_try" in
22367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22368 *) ac_try_echo=$ac_try;;
22370 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22371 (eval "$ac_try") 2>&5
22373 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22374 (exit $ac_status); }; }; then
22375 ac_cv_sizeof_long=`cat conftest.val`
22377 echo "$as_me: program exited with status
$ac_status" >&5
22378 echo "$as_me: failed program was
:" >&5
22379 sed 's/^/| /' conftest.$ac_ext >&5
22381 ( exit $ac_status )
22382 if test "$ac_cv_type_long" = yes; then
22383 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22384 See \
`config.log' for more details." >&5
22385 echo "$as_me: error: cannot compute sizeof (long)
22386 See \`config.log
' for more details." >&2;}
22387 { (exit 77); exit 77; }; }
22389 ac_cv_sizeof_long=0
22392 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22396 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22397 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22401 cat >>confdefs.h <<_ACEOF
22402 #define SIZEOF_LONG $ac_cv_sizeof_long
22406 { echo "$as_me:$LINENO: checking for size_t" >&5
22407 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22408 if test "${ac_cv_type_size_t+set}" = set; then
22409 echo $ECHO_N "(cached) $ECHO_C" >&6
22411 cat >conftest.$ac_ext <<_ACEOF
22414 cat confdefs.h >>conftest.$ac_ext
22415 cat >>conftest.$ac_ext <<_ACEOF
22416 /* end confdefs.h. */
22417 $ac_includes_default
22418 typedef size_t ac__type_new_;
22422 if ((ac__type_new_ *) 0)
22424 if (sizeof (ac__type_new_))
22430 rm -f conftest.$ac_objext
22431 if { (ac_try="$ac_compile"
22432 case "(($ac_try" in
22433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22434 *) ac_try_echo=$ac_try;;
22436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22437 (eval "$ac_compile") 2>conftest.er1
22439 grep -v '^
*+' conftest.er1 >conftest.err
22441 cat conftest.err >&5
22442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22443 (exit $ac_status); } && {
22444 test -z "$ac_c_werror_flag" ||
22445 test ! -s conftest.err
22446 } && test -s conftest.$ac_objext; then
22447 ac_cv_type_size_t=yes
22449 echo "$as_me: failed program was:" >&5
22450 sed 's
/^
/| /' conftest.$ac_ext >&5
22452 ac_cv_type_size_t=no
22455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22457 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22458 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22460 # The cast to long int works around a bug in the HP C Compiler
22461 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22462 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22463 # This bug is HP SR number 8606223364.
22464 { echo "$as_me:$LINENO: checking size of size_t" >&5
22465 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22466 if test "${ac_cv_sizeof_size_t+set}" = set; then
22467 echo $ECHO_N "(cached) $ECHO_C" >&6
22469 if test "$cross_compiling" = yes; then
22470 # Depending upon the size, compute the lo and hi bounds.
22471 cat >conftest.
$ac_ext <<_ACEOF
22474 cat confdefs.h
>>conftest.
$ac_ext
22475 cat >>conftest.
$ac_ext <<_ACEOF
22476 /* end confdefs.h. */
22477 $ac_includes_default
22478 typedef size_t ac__type_sizeof_;
22482 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22489 rm -f conftest.
$ac_objext
22490 if { (ac_try
="$ac_compile"
22491 case "(($ac_try" in
22492 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22493 *) ac_try_echo=$ac_try;;
22495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22496 (eval "$ac_compile") 2>conftest.er1
22498 grep -v '^ *+' conftest.er1 >conftest.err
22500 cat conftest.err >&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); } && {
22503 test -z "$ac_c_werror_flag" ||
22504 test ! -s conftest.err
22505 } && test -s conftest.$ac_objext; then
22508 cat >conftest.$ac_ext <<_ACEOF
22511 cat confdefs.h >>conftest.$ac_ext
22512 cat >>conftest.$ac_ext <<_ACEOF
22513 /* end confdefs.h. */
22514 $ac_includes_default
22515 typedef size_t ac__type_sizeof_;
22519 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22526 rm -f conftest.$ac_objext
22527 if { (ac_try="$ac_compile"
22528 case "(($ac_try" in
22529 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22530 *) ac_try_echo
=$ac_try;;
22532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22533 (eval "$ac_compile") 2>conftest.er1
22535 grep -v '^ *+' conftest.er1
>conftest.err
22537 cat conftest.err
>&5
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } && {
22540 test -z "$ac_c_werror_flag" ||
22541 test ! -s conftest.err
22542 } && test -s conftest.
$ac_objext; then
22543 ac_hi
=$ac_mid; break
22545 echo "$as_me: failed program was:" >&5
22546 sed 's/^/| /' conftest.
$ac_ext >&5
22548 ac_lo
=`expr $ac_mid + 1`
22549 if test $ac_lo -le $ac_mid; then
22553 ac_mid
=`expr 2 '*' $ac_mid + 1`
22556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22559 echo "$as_me: failed program was:" >&5
22560 sed 's/^/| /' conftest.
$ac_ext >&5
22562 cat >conftest.
$ac_ext <<_ACEOF
22565 cat confdefs.h
>>conftest.
$ac_ext
22566 cat >>conftest.
$ac_ext <<_ACEOF
22567 /* end confdefs.h. */
22568 $ac_includes_default
22569 typedef size_t ac__type_sizeof_;
22573 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22580 rm -f conftest.
$ac_objext
22581 if { (ac_try
="$ac_compile"
22582 case "(($ac_try" in
22583 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22584 *) ac_try_echo=$ac_try;;
22586 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22587 (eval "$ac_compile") 2>conftest.er1
22589 grep -v '^ *+' conftest.er1 >conftest.err
22591 cat conftest.err >&5
22592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593 (exit $ac_status); } && {
22594 test -z "$ac_c_werror_flag" ||
22595 test ! -s conftest.err
22596 } && test -s conftest.$ac_objext; then
22599 cat >conftest.$ac_ext <<_ACEOF
22602 cat confdefs.h >>conftest.$ac_ext
22603 cat >>conftest.$ac_ext <<_ACEOF
22604 /* end confdefs.h. */
22605 $ac_includes_default
22606 typedef size_t ac__type_sizeof_;
22610 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22617 rm -f conftest.$ac_objext
22618 if { (ac_try="$ac_compile"
22619 case "(($ac_try" in
22620 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22621 *) ac_try_echo
=$ac_try;;
22623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22624 (eval "$ac_compile") 2>conftest.er1
22626 grep -v '^ *+' conftest.er1
>conftest.err
22628 cat conftest.err
>&5
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); } && {
22631 test -z "$ac_c_werror_flag" ||
22632 test ! -s conftest.err
22633 } && test -s conftest.
$ac_objext; then
22634 ac_lo
=$ac_mid; break
22636 echo "$as_me: failed program was:" >&5
22637 sed 's/^/| /' conftest.
$ac_ext >&5
22639 ac_hi
=`expr '(' $ac_mid ')' - 1`
22640 if test $ac_mid -le $ac_hi; then
22644 ac_mid
=`expr 2 '*' $ac_mid`
22647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22650 echo "$as_me: failed program was:" >&5
22651 sed 's/^/| /' conftest.
$ac_ext >&5
22656 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22660 # Binary search between lo and hi bounds.
22661 while test "x$ac_lo" != "x$ac_hi"; do
22662 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22663 cat >conftest.
$ac_ext <<_ACEOF
22666 cat confdefs.h
>>conftest.
$ac_ext
22667 cat >>conftest.
$ac_ext <<_ACEOF
22668 /* end confdefs.h. */
22669 $ac_includes_default
22670 typedef size_t ac__type_sizeof_;
22674 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22681 rm -f conftest.
$ac_objext
22682 if { (ac_try
="$ac_compile"
22683 case "(($ac_try" in
22684 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22685 *) ac_try_echo=$ac_try;;
22687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22688 (eval "$ac_compile") 2>conftest.er1
22690 grep -v '^ *+' conftest.er1 >conftest.err
22692 cat conftest.err >&5
22693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22694 (exit $ac_status); } && {
22695 test -z "$ac_c_werror_flag" ||
22696 test ! -s conftest.err
22697 } && test -s conftest.$ac_objext; then
22700 echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.$ac_ext >&5
22703 ac_lo=`expr '(' $ac_mid ')' + 1`
22706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22709 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22710 '') if test "$ac_cv_type_size_t" = yes; then
22711 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22712 See \`config.log
' for more details." >&5
22713 echo "$as_me: error: cannot compute sizeof (size_t)
22714 See \`config.log' for more details.
" >&2;}
22715 { (exit 77); exit 77; }; }
22717 ac_cv_sizeof_size_t=0
22721 cat >conftest.$ac_ext <<_ACEOF
22724 cat confdefs.h >>conftest.$ac_ext
22725 cat >>conftest.$ac_ext <<_ACEOF
22726 /* end confdefs.h. */
22727 $ac_includes_default
22728 typedef size_t ac__type_sizeof_;
22729 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22730 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22732 #include <stdlib.h>
22737 FILE *f = fopen ("conftest.val
", "w
");
22740 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22742 long int i = longval ();
22743 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22745 fprintf (f, "%ld
\n", i);
22749 unsigned long int i = ulongval ();
22750 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22752 fprintf (f, "%lu
\n", i);
22754 return ferror (f) || fclose (f) != 0;
22760 rm -f conftest$ac_exeext
22761 if { (ac_try="$ac_link"
22762 case "(($ac_try" in
22763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22764 *) ac_try_echo=$ac_try;;
22766 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22767 (eval "$ac_link") 2>&5
22769 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22770 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22771 { (case "(($ac_try" in
22772 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22773 *) ac_try_echo=$ac_try;;
22775 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22776 (eval "$ac_try") 2>&5
22778 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22779 (exit $ac_status); }; }; then
22780 ac_cv_sizeof_size_t=`cat conftest.val`
22782 echo "$as_me: program exited with status
$ac_status" >&5
22783 echo "$as_me: failed program was
:" >&5
22784 sed 's/^/| /' conftest.$ac_ext >&5
22786 ( exit $ac_status )
22787 if test "$ac_cv_type_size_t" = yes; then
22788 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22789 See \
`config.log' for more details." >&5
22790 echo "$as_me: error: cannot compute sizeof (size_t)
22791 See \`config.log
' for more details." >&2;}
22792 { (exit 77); exit 77; }; }
22794 ac_cv_sizeof_size_t=0
22797 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22801 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22802 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22806 cat >>confdefs.h <<_ACEOF
22807 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22814 { echo "$as_me:$LINENO: checking for long long" >&5
22815 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22816 if test "${ac_cv_type_long_long+set}" = set; then
22817 echo $ECHO_N "(cached) $ECHO_C" >&6
22819 cat >conftest.$ac_ext <<_ACEOF
22822 cat confdefs.h >>conftest.$ac_ext
22823 cat >>conftest.$ac_ext <<_ACEOF
22824 /* end confdefs.h. */
22825 $ac_includes_default
22826 typedef long long ac__type_new_;
22830 if ((ac__type_new_ *) 0)
22832 if (sizeof (ac__type_new_))
22838 rm -f conftest.$ac_objext
22839 if { (ac_try="$ac_compile"
22840 case "(($ac_try" in
22841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22842 *) ac_try_echo=$ac_try;;
22844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22845 (eval "$ac_compile") 2>conftest.er1
22847 grep -v '^
*+' conftest.er1 >conftest.err
22849 cat conftest.err >&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); } && {
22852 test -z "$ac_c_werror_flag" ||
22853 test ! -s conftest.err
22854 } && test -s conftest.$ac_objext; then
22855 ac_cv_type_long_long=yes
22857 echo "$as_me: failed program was:" >&5
22858 sed 's
/^
/| /' conftest.$ac_ext >&5
22860 ac_cv_type_long_long=no
22863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22865 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22866 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22868 # The cast to long int works around a bug in the HP C Compiler
22869 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22870 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22871 # This bug is HP SR number 8606223364.
22872 { echo "$as_me:$LINENO: checking size of long long" >&5
22873 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22874 if test "${ac_cv_sizeof_long_long+set}" = set; then
22875 echo $ECHO_N "(cached) $ECHO_C" >&6
22877 if test "$cross_compiling" = yes; then
22878 # Depending upon the size, compute the lo and hi bounds.
22879 cat >conftest.
$ac_ext <<_ACEOF
22882 cat confdefs.h
>>conftest.
$ac_ext
22883 cat >>conftest.
$ac_ext <<_ACEOF
22884 /* end confdefs.h. */
22885 $ac_includes_default
22886 typedef long long ac__type_sizeof_;
22890 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22897 rm -f conftest.
$ac_objext
22898 if { (ac_try
="$ac_compile"
22899 case "(($ac_try" in
22900 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22901 *) ac_try_echo=$ac_try;;
22903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22904 (eval "$ac_compile") 2>conftest.er1
22906 grep -v '^ *+' conftest.er1 >conftest.err
22908 cat conftest.err >&5
22909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22910 (exit $ac_status); } && {
22911 test -z "$ac_c_werror_flag" ||
22912 test ! -s conftest.err
22913 } && test -s conftest.$ac_objext; then
22916 cat >conftest.$ac_ext <<_ACEOF
22919 cat confdefs.h >>conftest.$ac_ext
22920 cat >>conftest.$ac_ext <<_ACEOF
22921 /* end confdefs.h. */
22922 $ac_includes_default
22923 typedef long long ac__type_sizeof_;
22927 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22934 rm -f conftest.$ac_objext
22935 if { (ac_try="$ac_compile"
22936 case "(($ac_try" in
22937 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22938 *) ac_try_echo
=$ac_try;;
22940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22941 (eval "$ac_compile") 2>conftest.er1
22943 grep -v '^ *+' conftest.er1
>conftest.err
22945 cat conftest.err
>&5
22946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22947 (exit $ac_status); } && {
22948 test -z "$ac_c_werror_flag" ||
22949 test ! -s conftest.err
22950 } && test -s conftest.
$ac_objext; then
22951 ac_hi
=$ac_mid; break
22953 echo "$as_me: failed program was:" >&5
22954 sed 's/^/| /' conftest.
$ac_ext >&5
22956 ac_lo
=`expr $ac_mid + 1`
22957 if test $ac_lo -le $ac_mid; then
22961 ac_mid
=`expr 2 '*' $ac_mid + 1`
22964 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22967 echo "$as_me: failed program was:" >&5
22968 sed 's/^/| /' conftest.
$ac_ext >&5
22970 cat >conftest.
$ac_ext <<_ACEOF
22973 cat confdefs.h
>>conftest.
$ac_ext
22974 cat >>conftest.
$ac_ext <<_ACEOF
22975 /* end confdefs.h. */
22976 $ac_includes_default
22977 typedef long long ac__type_sizeof_;
22981 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22988 rm -f conftest.
$ac_objext
22989 if { (ac_try
="$ac_compile"
22990 case "(($ac_try" in
22991 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22992 *) ac_try_echo=$ac_try;;
22994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22995 (eval "$ac_compile") 2>conftest.er1
22997 grep -v '^ *+' conftest.er1 >conftest.err
22999 cat conftest.err >&5
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); } && {
23002 test -z "$ac_c_werror_flag" ||
23003 test ! -s conftest.err
23004 } && test -s conftest.$ac_objext; then
23007 cat >conftest.$ac_ext <<_ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23013 $ac_includes_default
23014 typedef long long ac__type_sizeof_;
23018 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23025 rm -f conftest.$ac_objext
23026 if { (ac_try="$ac_compile"
23027 case "(($ac_try" in
23028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23029 *) ac_try_echo
=$ac_try;;
23031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23032 (eval "$ac_compile") 2>conftest.er1
23034 grep -v '^ *+' conftest.er1
>conftest.err
23036 cat conftest.err
>&5
23037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23038 (exit $ac_status); } && {
23039 test -z "$ac_c_werror_flag" ||
23040 test ! -s conftest.err
23041 } && test -s conftest.
$ac_objext; then
23042 ac_lo
=$ac_mid; break
23044 echo "$as_me: failed program was:" >&5
23045 sed 's/^/| /' conftest.
$ac_ext >&5
23047 ac_hi
=`expr '(' $ac_mid ')' - 1`
23048 if test $ac_mid -le $ac_hi; then
23052 ac_mid
=`expr 2 '*' $ac_mid`
23055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23058 echo "$as_me: failed program was:" >&5
23059 sed 's/^/| /' conftest.
$ac_ext >&5
23064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23068 # Binary search between lo and hi bounds.
23069 while test "x$ac_lo" != "x$ac_hi"; do
23070 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23071 cat >conftest.
$ac_ext <<_ACEOF
23074 cat confdefs.h
>>conftest.
$ac_ext
23075 cat >>conftest.
$ac_ext <<_ACEOF
23076 /* end confdefs.h. */
23077 $ac_includes_default
23078 typedef long long ac__type_sizeof_;
23082 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23089 rm -f conftest.
$ac_objext
23090 if { (ac_try
="$ac_compile"
23091 case "(($ac_try" in
23092 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23093 *) ac_try_echo=$ac_try;;
23095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23096 (eval "$ac_compile") 2>conftest.er1
23098 grep -v '^ *+' conftest.er1 >conftest.err
23100 cat conftest.err >&5
23101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23102 (exit $ac_status); } && {
23103 test -z "$ac_c_werror_flag" ||
23104 test ! -s conftest.err
23105 } && test -s conftest.$ac_objext; then
23108 echo "$as_me: failed program was:" >&5
23109 sed 's/^/| /' conftest.$ac_ext >&5
23111 ac_lo=`expr '(' $ac_mid ')' + 1`
23114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23117 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23118 '') if test "$ac_cv_type_long_long" = yes; then
23119 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23120 See \`config.log
' for more details." >&5
23121 echo "$as_me: error: cannot compute sizeof (long long)
23122 See \`config.log' for more details.
" >&2;}
23123 { (exit 77); exit 77; }; }
23125 ac_cv_sizeof_long_long=0
23129 cat >conftest.$ac_ext <<_ACEOF
23132 cat confdefs.h >>conftest.$ac_ext
23133 cat >>conftest.$ac_ext <<_ACEOF
23134 /* end confdefs.h. */
23135 $ac_includes_default
23136 typedef long long ac__type_sizeof_;
23137 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23138 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23140 #include <stdlib.h>
23145 FILE *f = fopen ("conftest.val
", "w
");
23148 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23150 long int i = longval ();
23151 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23153 fprintf (f, "%ld
\n", i);
23157 unsigned long int i = ulongval ();
23158 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23160 fprintf (f, "%lu
\n", i);
23162 return ferror (f) || fclose (f) != 0;
23168 rm -f conftest$ac_exeext
23169 if { (ac_try="$ac_link"
23170 case "(($ac_try" in
23171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23172 *) ac_try_echo=$ac_try;;
23174 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23175 (eval "$ac_link") 2>&5
23177 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23179 { (case "(($ac_try" in
23180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23181 *) ac_try_echo=$ac_try;;
23183 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23184 (eval "$ac_try") 2>&5
23186 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23187 (exit $ac_status); }; }; then
23188 ac_cv_sizeof_long_long=`cat conftest.val`
23190 echo "$as_me: program exited with status
$ac_status" >&5
23191 echo "$as_me: failed program was
:" >&5
23192 sed 's/^/| /' conftest.$ac_ext >&5
23194 ( exit $ac_status )
23195 if test "$ac_cv_type_long_long" = yes; then
23196 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23197 See \
`config.log' for more details." >&5
23198 echo "$as_me: error: cannot compute sizeof (long long)
23199 See \`config.log
' for more details." >&2;}
23200 { (exit 77); exit 77; }; }
23202 ac_cv_sizeof_long_long=0
23205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23209 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23210 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23214 cat >>confdefs.h <<_ACEOF
23215 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23221 { echo "$as_me:$LINENO: checking for long long" >&5
23222 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23223 if test "${ac_cv_type_long_long+set}" = set; then
23224 echo $ECHO_N "(cached) $ECHO_C" >&6
23226 cat >conftest.$ac_ext <<_ACEOF
23229 cat confdefs.h >>conftest.$ac_ext
23230 cat >>conftest.$ac_ext <<_ACEOF
23231 /* end confdefs.h. */
23232 $ac_includes_default
23233 typedef long long ac__type_new_;
23237 if ((ac__type_new_ *) 0)
23239 if (sizeof (ac__type_new_))
23245 rm -f conftest.$ac_objext
23246 if { (ac_try="$ac_compile"
23247 case "(($ac_try" in
23248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23249 *) ac_try_echo=$ac_try;;
23251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23252 (eval "$ac_compile") 2>conftest.er1
23254 grep -v '^
*+' conftest.er1 >conftest.err
23256 cat conftest.err >&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } && {
23259 test -z "$ac_c_werror_flag" ||
23260 test ! -s conftest.err
23261 } && test -s conftest.$ac_objext; then
23262 ac_cv_type_long_long=yes
23264 echo "$as_me: failed program was:" >&5
23265 sed 's
/^
/| /' conftest.$ac_ext >&5
23267 ac_cv_type_long_long=no
23270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23272 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23273 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23275 # The cast to long int works around a bug in the HP C Compiler
23276 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23277 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23278 # This bug is HP SR number 8606223364.
23279 { echo "$as_me:$LINENO: checking size of long long" >&5
23280 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23281 if test "${ac_cv_sizeof_long_long+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23284 if test "$cross_compiling" = yes; then
23285 # Depending upon the size, compute the lo and hi bounds.
23286 cat >conftest.
$ac_ext <<_ACEOF
23289 cat confdefs.h
>>conftest.
$ac_ext
23290 cat >>conftest.
$ac_ext <<_ACEOF
23291 /* end confdefs.h. */
23292 $ac_includes_default
23293 typedef long long ac__type_sizeof_;
23297 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23304 rm -f conftest.
$ac_objext
23305 if { (ac_try
="$ac_compile"
23306 case "(($ac_try" in
23307 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23308 *) ac_try_echo=$ac_try;;
23310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23311 (eval "$ac_compile") 2>conftest.er1
23313 grep -v '^ *+' conftest.er1 >conftest.err
23315 cat conftest.err >&5
23316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23317 (exit $ac_status); } && {
23318 test -z "$ac_c_werror_flag" ||
23319 test ! -s conftest.err
23320 } && test -s conftest.$ac_objext; then
23323 cat >conftest.$ac_ext <<_ACEOF
23326 cat confdefs.h >>conftest.$ac_ext
23327 cat >>conftest.$ac_ext <<_ACEOF
23328 /* end confdefs.h. */
23329 $ac_includes_default
23330 typedef long long ac__type_sizeof_;
23334 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23341 rm -f conftest.$ac_objext
23342 if { (ac_try="$ac_compile"
23343 case "(($ac_try" in
23344 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23345 *) ac_try_echo
=$ac_try;;
23347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23348 (eval "$ac_compile") 2>conftest.er1
23350 grep -v '^ *+' conftest.er1
>conftest.err
23352 cat conftest.err
>&5
23353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23354 (exit $ac_status); } && {
23355 test -z "$ac_c_werror_flag" ||
23356 test ! -s conftest.err
23357 } && test -s conftest.
$ac_objext; then
23358 ac_hi
=$ac_mid; break
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.
$ac_ext >&5
23363 ac_lo
=`expr $ac_mid + 1`
23364 if test $ac_lo -le $ac_mid; then
23368 ac_mid
=`expr 2 '*' $ac_mid + 1`
23371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.
$ac_ext >&5
23377 cat >conftest.
$ac_ext <<_ACEOF
23380 cat confdefs.h
>>conftest.
$ac_ext
23381 cat >>conftest.
$ac_ext <<_ACEOF
23382 /* end confdefs.h. */
23383 $ac_includes_default
23384 typedef long long ac__type_sizeof_;
23388 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23395 rm -f conftest.
$ac_objext
23396 if { (ac_try
="$ac_compile"
23397 case "(($ac_try" in
23398 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23399 *) ac_try_echo=$ac_try;;
23401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23402 (eval "$ac_compile") 2>conftest.er1
23404 grep -v '^ *+' conftest.er1 >conftest.err
23406 cat conftest.err >&5
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } && {
23409 test -z "$ac_c_werror_flag" ||
23410 test ! -s conftest.err
23411 } && test -s conftest.$ac_objext; then
23414 cat >conftest.$ac_ext <<_ACEOF
23417 cat confdefs.h >>conftest.$ac_ext
23418 cat >>conftest.$ac_ext <<_ACEOF
23419 /* end confdefs.h. */
23420 $ac_includes_default
23421 typedef long long ac__type_sizeof_;
23425 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23432 rm -f conftest.$ac_objext
23433 if { (ac_try="$ac_compile"
23434 case "(($ac_try" in
23435 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23436 *) ac_try_echo
=$ac_try;;
23438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23439 (eval "$ac_compile") 2>conftest.er1
23441 grep -v '^ *+' conftest.er1
>conftest.err
23443 cat conftest.err
>&5
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } && {
23446 test -z "$ac_c_werror_flag" ||
23447 test ! -s conftest.err
23448 } && test -s conftest.
$ac_objext; then
23449 ac_lo
=$ac_mid; break
23451 echo "$as_me: failed program was:" >&5
23452 sed 's/^/| /' conftest.
$ac_ext >&5
23454 ac_hi
=`expr '(' $ac_mid ')' - 1`
23455 if test $ac_mid -le $ac_hi; then
23459 ac_mid
=`expr 2 '*' $ac_mid`
23462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23465 echo "$as_me: failed program was:" >&5
23466 sed 's/^/| /' conftest.
$ac_ext >&5
23471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23475 # Binary search between lo and hi bounds.
23476 while test "x$ac_lo" != "x$ac_hi"; do
23477 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23478 cat >conftest.
$ac_ext <<_ACEOF
23481 cat confdefs.h
>>conftest.
$ac_ext
23482 cat >>conftest.
$ac_ext <<_ACEOF
23483 /* end confdefs.h. */
23484 $ac_includes_default
23485 typedef long long ac__type_sizeof_;
23489 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23496 rm -f conftest.
$ac_objext
23497 if { (ac_try
="$ac_compile"
23498 case "(($ac_try" in
23499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23500 *) ac_try_echo=$ac_try;;
23502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23503 (eval "$ac_compile") 2>conftest.er1
23505 grep -v '^ *+' conftest.er1 >conftest.err
23507 cat conftest.err >&5
23508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23509 (exit $ac_status); } && {
23510 test -z "$ac_c_werror_flag" ||
23511 test ! -s conftest.err
23512 } && test -s conftest.$ac_objext; then
23515 echo "$as_me: failed program was:" >&5
23516 sed 's/^/| /' conftest.$ac_ext >&5
23518 ac_lo=`expr '(' $ac_mid ')' + 1`
23521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23524 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23525 '') if test "$ac_cv_type_long_long" = yes; then
23526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23527 See \`config.log
' for more details." >&5
23528 echo "$as_me: error: cannot compute sizeof (long long)
23529 See \`config.log' for more details.
" >&2;}
23530 { (exit 77); exit 77; }; }
23532 ac_cv_sizeof_long_long=0
23536 cat >conftest.$ac_ext <<_ACEOF
23539 cat confdefs.h >>conftest.$ac_ext
23540 cat >>conftest.$ac_ext <<_ACEOF
23541 /* end confdefs.h. */
23542 $ac_includes_default
23543 typedef long long ac__type_sizeof_;
23544 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23545 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23547 #include <stdlib.h>
23552 FILE *f = fopen ("conftest.val
", "w
");
23555 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23557 long int i = longval ();
23558 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23560 fprintf (f, "%ld
\n", i);
23564 unsigned long int i = ulongval ();
23565 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23567 fprintf (f, "%lu
\n", i);
23569 return ferror (f) || fclose (f) != 0;
23575 rm -f conftest$ac_exeext
23576 if { (ac_try="$ac_link"
23577 case "(($ac_try" in
23578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23579 *) ac_try_echo=$ac_try;;
23581 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23582 (eval "$ac_link") 2>&5
23584 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23585 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23586 { (case "(($ac_try" in
23587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23588 *) ac_try_echo=$ac_try;;
23590 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23591 (eval "$ac_try") 2>&5
23593 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23594 (exit $ac_status); }; }; then
23595 ac_cv_sizeof_long_long=`cat conftest.val`
23597 echo "$as_me: program exited with status
$ac_status" >&5
23598 echo "$as_me: failed program was
:" >&5
23599 sed 's/^/| /' conftest.$ac_ext >&5
23601 ( exit $ac_status )
23602 if test "$ac_cv_type_long_long" = yes; then
23603 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23604 See \
`config.log' for more details." >&5
23605 echo "$as_me: error: cannot compute sizeof (long long)
23606 See \`config.log
' for more details." >&2;}
23607 { (exit 77); exit 77; }; }
23609 ac_cv_sizeof_long_long=0
23612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23616 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23617 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23621 cat >>confdefs.h <<_ACEOF
23622 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23626 if test "$ac_cv_sizeof_long_long" != 0; then
23627 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23631 { echo "$as_me:$LINENO: checking for long long" >&5
23632 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23633 if test "${ac_cv_type_long_long+set}" = set; then
23634 echo $ECHO_N "(cached) $ECHO_C" >&6
23636 cat >conftest.$ac_ext <<_ACEOF
23639 cat confdefs.h >>conftest.$ac_ext
23640 cat >>conftest.$ac_ext <<_ACEOF
23641 /* end confdefs.h. */
23642 $ac_includes_default
23643 typedef long long ac__type_new_;
23647 if ((ac__type_new_ *) 0)
23649 if (sizeof (ac__type_new_))
23655 rm -f conftest.$ac_objext
23656 if { (ac_try="$ac_compile"
23657 case "(($ac_try" in
23658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23659 *) ac_try_echo=$ac_try;;
23661 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23662 (eval "$ac_compile") 2>conftest.er1
23664 grep -v '^
*+' conftest.er1 >conftest.err
23666 cat conftest.err >&5
23667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668 (exit $ac_status); } && {
23669 test -z "$ac_c_werror_flag" ||
23670 test ! -s conftest.err
23671 } && test -s conftest.$ac_objext; then
23672 ac_cv_type_long_long=yes
23674 echo "$as_me: failed program was:" >&5
23675 sed 's
/^
/| /' conftest.$ac_ext >&5
23677 ac_cv_type_long_long=no
23680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23682 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23683 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23685 # The cast to long int works around a bug in the HP C Compiler
23686 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23687 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23688 # This bug is HP SR number 8606223364.
23689 { echo "$as_me:$LINENO: checking size of long long" >&5
23690 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23691 if test "${ac_cv_sizeof_long_long+set}" = set; then
23692 echo $ECHO_N "(cached) $ECHO_C" >&6
23694 if test "$cross_compiling" = yes; then
23695 # Depending upon the size, compute the lo and hi bounds.
23696 cat >conftest.
$ac_ext <<_ACEOF
23699 cat confdefs.h
>>conftest.
$ac_ext
23700 cat >>conftest.
$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 $ac_includes_default
23703 typedef long long ac__type_sizeof_;
23707 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23714 rm -f conftest.
$ac_objext
23715 if { (ac_try
="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23723 grep -v '^ *+' conftest.er1 >conftest.err
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_c_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23733 cat >conftest.$ac_ext <<_ACEOF
23736 cat confdefs.h >>conftest.$ac_ext
23737 cat >>conftest.$ac_ext <<_ACEOF
23738 /* end confdefs.h. */
23739 $ac_includes_default
23740 typedef long long ac__type_sizeof_;
23744 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23751 rm -f conftest.$ac_objext
23752 if { (ac_try="$ac_compile"
23753 case "(($ac_try" in
23754 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23755 *) ac_try_echo
=$ac_try;;
23757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23758 (eval "$ac_compile") 2>conftest.er1
23760 grep -v '^ *+' conftest.er1
>conftest.err
23762 cat conftest.err
>&5
23763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23764 (exit $ac_status); } && {
23765 test -z "$ac_c_werror_flag" ||
23766 test ! -s conftest.err
23767 } && test -s conftest.
$ac_objext; then
23768 ac_hi
=$ac_mid; break
23770 echo "$as_me: failed program was:" >&5
23771 sed 's/^/| /' conftest.
$ac_ext >&5
23773 ac_lo
=`expr $ac_mid + 1`
23774 if test $ac_lo -le $ac_mid; then
23778 ac_mid
=`expr 2 '*' $ac_mid + 1`
23781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23784 echo "$as_me: failed program was:" >&5
23785 sed 's/^/| /' conftest.
$ac_ext >&5
23787 cat >conftest.
$ac_ext <<_ACEOF
23790 cat confdefs.h
>>conftest.
$ac_ext
23791 cat >>conftest.
$ac_ext <<_ACEOF
23792 /* end confdefs.h. */
23793 $ac_includes_default
23794 typedef long long ac__type_sizeof_;
23798 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23805 rm -f conftest.
$ac_objext
23806 if { (ac_try
="$ac_compile"
23807 case "(($ac_try" in
23808 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23809 *) ac_try_echo=$ac_try;;
23811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23812 (eval "$ac_compile") 2>conftest.er1
23814 grep -v '^ *+' conftest.er1 >conftest.err
23816 cat conftest.err >&5
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); } && {
23819 test -z "$ac_c_werror_flag" ||
23820 test ! -s conftest.err
23821 } && test -s conftest.$ac_objext; then
23824 cat >conftest.$ac_ext <<_ACEOF
23827 cat confdefs.h >>conftest.$ac_ext
23828 cat >>conftest.$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23830 $ac_includes_default
23831 typedef long long ac__type_sizeof_;
23835 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23842 rm -f conftest.$ac_objext
23843 if { (ac_try="$ac_compile"
23844 case "(($ac_try" in
23845 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23846 *) ac_try_echo
=$ac_try;;
23848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23849 (eval "$ac_compile") 2>conftest.er1
23851 grep -v '^ *+' conftest.er1
>conftest.err
23853 cat conftest.err
>&5
23854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23855 (exit $ac_status); } && {
23856 test -z "$ac_c_werror_flag" ||
23857 test ! -s conftest.err
23858 } && test -s conftest.
$ac_objext; then
23859 ac_lo
=$ac_mid; break
23861 echo "$as_me: failed program was:" >&5
23862 sed 's/^/| /' conftest.
$ac_ext >&5
23864 ac_hi
=`expr '(' $ac_mid ')' - 1`
23865 if test $ac_mid -le $ac_hi; then
23869 ac_mid
=`expr 2 '*' $ac_mid`
23872 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23875 echo "$as_me: failed program was:" >&5
23876 sed 's/^/| /' conftest.
$ac_ext >&5
23881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23885 # Binary search between lo and hi bounds.
23886 while test "x$ac_lo" != "x$ac_hi"; do
23887 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23888 cat >conftest.
$ac_ext <<_ACEOF
23891 cat confdefs.h
>>conftest.
$ac_ext
23892 cat >>conftest.
$ac_ext <<_ACEOF
23893 /* end confdefs.h. */
23894 $ac_includes_default
23895 typedef long long ac__type_sizeof_;
23899 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23906 rm -f conftest.
$ac_objext
23907 if { (ac_try
="$ac_compile"
23908 case "(($ac_try" in
23909 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23910 *) ac_try_echo=$ac_try;;
23912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23913 (eval "$ac_compile") 2>conftest.er1
23915 grep -v '^ *+' conftest.er1 >conftest.err
23917 cat conftest.err >&5
23918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23919 (exit $ac_status); } && {
23920 test -z "$ac_c_werror_flag" ||
23921 test ! -s conftest.err
23922 } && test -s conftest.$ac_objext; then
23925 echo "$as_me: failed program was:" >&5
23926 sed 's/^/| /' conftest.$ac_ext >&5
23928 ac_lo=`expr '(' $ac_mid ')' + 1`
23931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23934 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23935 '') if test "$ac_cv_type_long_long" = yes; then
23936 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23937 See \`config.log
' for more details." >&5
23938 echo "$as_me: error: cannot compute sizeof (long long)
23939 See \`config.log' for more details.
" >&2;}
23940 { (exit 77); exit 77; }; }
23942 ac_cv_sizeof_long_long=0
23946 cat >conftest.$ac_ext <<_ACEOF
23949 cat confdefs.h >>conftest.$ac_ext
23950 cat >>conftest.$ac_ext <<_ACEOF
23951 /* end confdefs.h. */
23952 $ac_includes_default
23953 typedef long long ac__type_sizeof_;
23954 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23955 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23957 #include <stdlib.h>
23962 FILE *f = fopen ("conftest.val
", "w
");
23965 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23967 long int i = longval ();
23968 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23970 fprintf (f, "%ld
\n", i);
23974 unsigned long int i = ulongval ();
23975 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23977 fprintf (f, "%lu
\n", i);
23979 return ferror (f) || fclose (f) != 0;
23985 rm -f conftest$ac_exeext
23986 if { (ac_try="$ac_link"
23987 case "(($ac_try" in
23988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23989 *) ac_try_echo=$ac_try;;
23991 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23992 (eval "$ac_link") 2>&5
23994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23995 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23996 { (case "(($ac_try" in
23997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23998 *) ac_try_echo=$ac_try;;
24000 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24001 (eval "$ac_try") 2>&5
24003 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24004 (exit $ac_status); }; }; then
24005 ac_cv_sizeof_long_long=`cat conftest.val`
24007 echo "$as_me: program exited with status
$ac_status" >&5
24008 echo "$as_me: failed program was
:" >&5
24009 sed 's/^/| /' conftest.$ac_ext >&5
24011 ( exit $ac_status )
24012 if test "$ac_cv_type_long_long" = yes; then
24013 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
24014 See \
`config.log' for more details." >&5
24015 echo "$as_me: error: cannot compute sizeof (long long)
24016 See \`config.log
' for more details." >&2;}
24017 { (exit 77); exit 77; }; }
24019 ac_cv_sizeof_long_long=0
24022 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24026 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
24027 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
24031 cat >>confdefs.h <<_ACEOF
24032 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
24038 { echo "$as_me:$LINENO: checking for wchar_t" >&5
24039 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
24040 if test "${ac_cv_type_wchar_t+set}" = set; then
24041 echo $ECHO_N "(cached) $ECHO_C" >&6
24043 cat >conftest.$ac_ext <<_ACEOF
24046 cat confdefs.h >>conftest.$ac_ext
24047 cat >>conftest.$ac_ext <<_ACEOF
24048 /* end confdefs.h. */
24050 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24051 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24052 # error "fake wchar_t"
24054 #ifdef HAVE_WCHAR_H
24056 # include <stddef.h>
24058 # include <wchar.h>
24060 #ifdef HAVE_STDLIB_H
24061 # include <stdlib.h>
24067 typedef wchar_t ac__type_new_
;
24071 if ((ac__type_new_
*) 0)
24073 if (sizeof
(ac__type_new_
))
24079 rm -f conftest.
$ac_objext
24080 if { (ac_try
="$ac_compile"
24081 case "(($ac_try" in
24082 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24083 *) ac_try_echo=$ac_try;;
24085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24086 (eval "$ac_compile") 2>conftest.er1
24088 grep -v '^ *+' conftest.er1 >conftest.err
24090 cat conftest.err >&5
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); } && {
24093 test -z "$ac_c_werror_flag" ||
24094 test ! -s conftest.err
24095 } && test -s conftest.$ac_objext; then
24096 ac_cv_type_wchar_t=yes
24098 echo "$as_me: failed program was:" >&5
24099 sed 's/^/| /' conftest.$ac_ext >&5
24101 ac_cv_type_wchar_t=no
24104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24106 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24107 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24109 # The cast to long int works around a bug in the HP C Compiler
24110 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24111 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
24112 # This bug is HP SR number 8606223364.
24113 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24114 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24115 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24116 echo $ECHO_N "(cached) $ECHO_C" >&6
24118 if test "$cross_compiling" = yes; then
24119 # Depending upon the size, compute the lo and hi bounds.
24120 cat >conftest.$ac_ext <<_ACEOF
24123 cat confdefs.h >>conftest.$ac_ext
24124 cat >>conftest.$ac_ext <<_ACEOF
24125 /* end confdefs.h. */
24127 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24128 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24129 # error "fake wchar_t"
24131 #ifdef HAVE_WCHAR_H
24133 # include <stddef.h>
24135 # include <wchar.h>
24137 #ifdef HAVE_STDLIB_H
24138 # include <stdlib.h>
24144 typedef wchar_t ac__type_sizeof_
;
24148 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24155 rm -f conftest.
$ac_objext
24156 if { (ac_try
="$ac_compile"
24157 case "(($ac_try" in
24158 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24159 *) ac_try_echo=$ac_try;;
24161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24162 (eval "$ac_compile") 2>conftest.er1
24164 grep -v '^ *+' conftest.er1 >conftest.err
24166 cat conftest.err >&5
24167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24168 (exit $ac_status); } && {
24169 test -z "$ac_c_werror_flag" ||
24170 test ! -s conftest.err
24171 } && test -s conftest.$ac_objext; then
24174 cat >conftest.$ac_ext <<_ACEOF
24177 cat confdefs.h >>conftest.$ac_ext
24178 cat >>conftest.$ac_ext <<_ACEOF
24179 /* end confdefs.h. */
24181 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24182 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24183 # error "fake wchar_t"
24185 #ifdef HAVE_WCHAR_H
24187 # include <stddef.h>
24189 # include <wchar.h>
24191 #ifdef HAVE_STDLIB_H
24192 # include <stdlib.h>
24198 typedef wchar_t ac__type_sizeof_;
24202 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24209 rm -f conftest.$ac_objext
24210 if { (ac_try="$ac_compile"
24211 case "(($ac_try" in
24212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24213 *) ac_try_echo
=$ac_try;;
24215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24216 (eval "$ac_compile") 2>conftest.er1
24218 grep -v '^ *+' conftest.er1
>conftest.err
24220 cat conftest.err
>&5
24221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24222 (exit $ac_status); } && {
24223 test -z "$ac_c_werror_flag" ||
24224 test ! -s conftest.err
24225 } && test -s conftest.
$ac_objext; then
24226 ac_hi
=$ac_mid; break
24228 echo "$as_me: failed program was:" >&5
24229 sed 's/^/| /' conftest.
$ac_ext >&5
24231 ac_lo
=`expr $ac_mid + 1`
24232 if test $ac_lo -le $ac_mid; then
24236 ac_mid
=`expr 2 '*' $ac_mid + 1`
24239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24242 echo "$as_me: failed program was:" >&5
24243 sed 's/^/| /' conftest.
$ac_ext >&5
24245 cat >conftest.
$ac_ext <<_ACEOF
24248 cat confdefs.h
>>conftest.
$ac_ext
24249 cat >>conftest.
$ac_ext <<_ACEOF
24250 /* end confdefs.h. */
24252 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24253 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24254 # error "fake wchar_t"
24256 #ifdef HAVE_WCHAR_H
24258 # include <stddef.h>
24260 # include <wchar.h>
24262 #ifdef HAVE_STDLIB_H
24263 # include <stdlib.h>
24269 typedef wchar_t ac__type_sizeof_;
24273 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24280 rm -f conftest.
$ac_objext
24281 if { (ac_try
="$ac_compile"
24282 case "(($ac_try" in
24283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24284 *) ac_try_echo=$ac_try;;
24286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24287 (eval "$ac_compile") 2>conftest.er1
24289 grep -v '^ *+' conftest.er1 >conftest.err
24291 cat conftest.err >&5
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); } && {
24294 test -z "$ac_c_werror_flag" ||
24295 test ! -s conftest.err
24296 } && test -s conftest.$ac_objext; then
24299 cat >conftest.$ac_ext <<_ACEOF
24302 cat confdefs.h >>conftest.$ac_ext
24303 cat >>conftest.$ac_ext <<_ACEOF
24304 /* end confdefs.h. */
24306 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24307 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24308 # error "fake wchar_t"
24310 #ifdef HAVE_WCHAR_H
24312 # include <stddef.h>
24314 # include <wchar.h>
24316 #ifdef HAVE_STDLIB_H
24317 # include <stdlib.h>
24323 typedef wchar_t ac__type_sizeof_;
24327 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24334 rm -f conftest.$ac_objext
24335 if { (ac_try="$ac_compile"
24336 case "(($ac_try" in
24337 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24338 *) ac_try_echo
=$ac_try;;
24340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24341 (eval "$ac_compile") 2>conftest.er1
24343 grep -v '^ *+' conftest.er1
>conftest.err
24345 cat conftest.err
>&5
24346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24347 (exit $ac_status); } && {
24348 test -z "$ac_c_werror_flag" ||
24349 test ! -s conftest.err
24350 } && test -s conftest.
$ac_objext; then
24351 ac_lo
=$ac_mid; break
24353 echo "$as_me: failed program was:" >&5
24354 sed 's/^/| /' conftest.
$ac_ext >&5
24356 ac_hi
=`expr '(' $ac_mid ')' - 1`
24357 if test $ac_mid -le $ac_hi; then
24361 ac_mid
=`expr 2 '*' $ac_mid`
24364 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24367 echo "$as_me: failed program was:" >&5
24368 sed 's/^/| /' conftest.
$ac_ext >&5
24373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24377 # Binary search between lo and hi bounds.
24378 while test "x$ac_lo" != "x$ac_hi"; do
24379 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24380 cat >conftest.
$ac_ext <<_ACEOF
24383 cat confdefs.h
>>conftest.
$ac_ext
24384 cat >>conftest.
$ac_ext <<_ACEOF
24385 /* end confdefs.h. */
24387 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24388 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24389 # error "fake wchar_t"
24391 #ifdef HAVE_WCHAR_H
24393 # include <stddef.h>
24395 # include <wchar.h>
24397 #ifdef HAVE_STDLIB_H
24398 # include <stdlib.h>
24404 typedef wchar_t ac__type_sizeof_;
24408 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24415 rm -f conftest.
$ac_objext
24416 if { (ac_try
="$ac_compile"
24417 case "(($ac_try" in
24418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24419 *) ac_try_echo=$ac_try;;
24421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24422 (eval "$ac_compile") 2>conftest.er1
24424 grep -v '^ *+' conftest.er1 >conftest.err
24426 cat conftest.err >&5
24427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24428 (exit $ac_status); } && {
24429 test -z "$ac_c_werror_flag" ||
24430 test ! -s conftest.err
24431 } && test -s conftest.$ac_objext; then
24434 echo "$as_me: failed program was:" >&5
24435 sed 's/^/| /' conftest.$ac_ext >&5
24437 ac_lo=`expr '(' $ac_mid ')' + 1`
24440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24443 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24444 '') if test "$ac_cv_type_wchar_t" = yes; then
24445 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24446 See \`config.log
' for more details." >&5
24447 echo "$as_me: error: cannot compute sizeof (wchar_t)
24448 See \`config.log' for more details.
" >&2;}
24449 { (exit 77); exit 77; }; }
24451 ac_cv_sizeof_wchar_t=0
24455 cat >conftest.$ac_ext <<_ACEOF
24458 cat confdefs.h >>conftest.$ac_ext
24459 cat >>conftest.$ac_ext <<_ACEOF
24460 /* end confdefs.h. */
24462 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24463 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24464 # error "fake wchar_t
"
24466 #ifdef HAVE_WCHAR_H
24468 # include <stddef.h>
24470 # include <wchar.h>
24472 #ifdef HAVE_STDLIB_H
24473 # include <stdlib.h>
24479 typedef wchar_t ac__type_sizeof_;
24480 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24481 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24483 #include <stdlib.h>
24488 FILE *f = fopen ("conftest.val
", "w
");
24491 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24493 long int i = longval ();
24494 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24496 fprintf (f, "%ld
\n", i);
24500 unsigned long int i = ulongval ();
24501 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24503 fprintf (f, "%lu
\n", i);
24505 return ferror (f) || fclose (f) != 0;
24511 rm -f conftest$ac_exeext
24512 if { (ac_try="$ac_link"
24513 case "(($ac_try" in
24514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24515 *) ac_try_echo=$ac_try;;
24517 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24518 (eval "$ac_link") 2>&5
24520 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24521 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24522 { (case "(($ac_try" in
24523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24524 *) ac_try_echo=$ac_try;;
24526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24527 (eval "$ac_try") 2>&5
24529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24530 (exit $ac_status); }; }; then
24531 ac_cv_sizeof_wchar_t=`cat conftest.val`
24533 echo "$as_me: program exited with status
$ac_status" >&5
24534 echo "$as_me: failed program was
:" >&5
24535 sed 's/^/| /' conftest.$ac_ext >&5
24537 ( exit $ac_status )
24538 if test "$ac_cv_type_wchar_t" = yes; then
24539 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24540 See \
`config.log' for more details." >&5
24541 echo "$as_me: error: cannot compute sizeof (wchar_t)
24542 See \`config.log
' for more details." >&2;}
24543 { (exit 77); exit 77; }; }
24545 ac_cv_sizeof_wchar_t=0
24548 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24552 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24553 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24557 cat >>confdefs.h <<_ACEOF
24558 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24562 if test "$ac_cv_sizeof_wchar_t" = 0; then
24563 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24564 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24565 { (exit 1); exit 1; }; }
24567 cat >>confdefs.h <<\_ACEOF
24568 #define wxUSE_WCHAR_T 1
24572 { echo "$as_me:$LINENO: checking for va_copy" >&5
24573 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24574 if test "${wx_cv_func_va_copy+set}" = set; then
24575 echo $ECHO_N "(cached) $ECHO_C" >&6
24579 ac_cpp='$CXXCPP $CPPFLAGS'
24580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24581 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24584 cat >conftest.$ac_ext <<_ACEOF
24588 cat confdefs.h >>conftest.$ac_ext
24589 cat >>conftest.$ac_ext <<_ACEOF
24590 /* end confdefs.h. */
24592 #include <stdarg.h>
24593 void foo(char *f, ...)
24608 rm -f conftest.$ac_objext conftest$ac_exeext
24609 if { (ac_try="$ac_link"
24610 case "(($ac_try" in
24611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24612 *) ac_try_echo=$ac_try;;
24614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24615 (eval "$ac_link") 2>conftest.er1
24617 grep -v '^
*+' conftest.er1 >conftest.err
24619 cat conftest.err >&5
24620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24621 (exit $ac_status); } && {
24622 test -z "$ac_cxx_werror_flag" ||
24623 test ! -s conftest.err
24624 } && test -s conftest$ac_exeext &&
24625 $as_test_x conftest$ac_exeext; then
24626 wx_cv_func_va_copy=yes
24628 echo "$as_me: failed program was:" >&5
24629 sed 's
/^
/| /' conftest.$ac_ext >&5
24631 wx_cv_func_va_copy=no
24635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24636 conftest$ac_exeext conftest.$ac_ext
24638 ac_cpp='$CPP $CPPFLAGS'
24639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24640 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24646 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24647 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24649 if test $wx_cv_func_va_copy = "yes"; then
24650 cat >>confdefs.h <<\_ACEOF
24651 #define HAVE_VA_COPY 1
24655 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24656 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24657 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24658 echo $ECHO_N "(cached) $ECHO_C" >&6
24661 if test "$cross_compiling" = yes; then
24662 wx_cv_type_va_list_lvalue=yes
24665 cat >conftest.$ac_ext <<_ACEOF
24669 cat confdefs.h >>conftest.$ac_ext
24670 cat >>conftest.$ac_ext <<_ACEOF
24671 /* end confdefs.h. */
24673 #include <stdarg.h>
24674 int foo(char *f, ...)
24679 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24687 return foo("hi", 17);
24691 rm -f conftest$ac_exeext
24692 if { (ac_try="$ac_link"
24693 case "(($ac_try" in
24694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24695 *) ac_try_echo=$ac_try;;
24697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24698 (eval "$ac_link") 2>&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24702 { (case "(($ac_try" in
24703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24704 *) ac_try_echo=$ac_try;;
24706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24707 (eval "$ac_try") 2>&5
24709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24710 (exit $ac_status); }; }; then
24711 wx_cv_type_va_list_lvalue=yes
24713 echo "$as_me: program exited with status $ac_status" >&5
24714 echo "$as_me: failed program was:" >&5
24715 sed 's
/^
/| /' conftest.$ac_ext >&5
24717 ( exit $ac_status )
24718 wx_cv_type_va_list_lvalue=no
24720 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24727 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24728 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24730 if test $wx_cv_type_va_list_lvalue != "yes"; then
24731 cat >>confdefs.h <<\_ACEOF
24732 #define VA_LIST_IS_ARRAY 1
24738 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24740 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24741 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24742 if test "${wx_cv_have_variadic_macros+set}" = set; then
24743 echo $ECHO_N "(cached) $ECHO_C" >&6
24747 ac_cpp='$CXXCPP $CPPFLAGS'
24748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24749 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24752 cat >conftest.$ac_ext <<_ACEOF
24756 cat confdefs.h >>conftest.$ac_ext
24757 cat >>conftest.$ac_ext <<_ACEOF
24758 /* end confdefs.h. */
24761 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24767 test("%s %d %p", "test", 1, 0);
24774 rm -f conftest.$ac_objext
24775 if { (ac_try="$ac_compile"
24776 case "(($ac_try" in
24777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24778 *) ac_try_echo=$ac_try;;
24780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24781 (eval "$ac_compile") 2>conftest.er1
24783 grep -v '^
*+' conftest.er1 >conftest.err
24785 cat conftest.err >&5
24786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24787 (exit $ac_status); } && {
24788 test -z "$ac_cxx_werror_flag" ||
24789 test ! -s conftest.err
24790 } && test -s conftest.$ac_objext; then
24791 wx_cv_have_variadic_macros=yes
24793 echo "$as_me: failed program was:" >&5
24794 sed 's
/^
/| /' conftest.$ac_ext >&5
24796 wx_cv_have_variadic_macros=no
24800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24802 ac_cpp='$CPP $CPPFLAGS'
24803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24804 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24810 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24811 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24813 if test $wx_cv_have_variadic_macros = "yes"; then
24814 cat >>confdefs.h <<\_ACEOF
24815 #define HAVE_VARIADIC_MACROS 1
24822 LARGEFILE_CPPFLAGS=
24823 # Check whether --enable-largefile was given.
24824 if test "${enable_largefile+set}" = set; then
24825 enableval=$enable_largefile;
24828 if test "$enable_largefile" != no; then
24831 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24832 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24833 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24834 echo $ECHO_N "(cached) $ECHO_C" >&6
24837 cat >conftest.$ac_ext <<_ACEOF
24840 cat confdefs.h >>conftest.$ac_ext
24841 cat >>conftest.$ac_ext <<_ACEOF
24842 /* end confdefs.h. */
24843 #define _FILE_OFFSET_BITS 64
24844 #include <sys/types.h>
24849 unsigned int field: sizeof(off_t) == 8;
24856 rm -f conftest.$ac_objext
24857 if { (ac_try="$ac_compile"
24858 case "(($ac_try" in
24859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24860 *) ac_try_echo=$ac_try;;
24862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24863 (eval "$ac_compile") 2>conftest.er1
24865 grep -v '^
*+' conftest.er1 >conftest.err
24867 cat conftest.err >&5
24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); } && {
24870 test -z "$ac_c_werror_flag" ||
24871 test ! -s conftest.err
24872 } && test -s conftest.$ac_objext; then
24873 ac_cv_sys_file_offset_bits=64
24875 echo "$as_me: failed program was:" >&5
24876 sed 's
/^
/| /' conftest.$ac_ext >&5
24878 ac_cv_sys_file_offset_bits=no
24881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24885 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24886 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24888 if test "$ac_cv_sys_file_offset_bits" != no; then
24890 cat >>confdefs.h <<_ACEOF
24891 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24896 if test "x$wx_largefile" != "xyes"; then
24898 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24899 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24900 if test "${ac_cv_sys_large_files+set}" = set; then
24901 echo $ECHO_N "(cached) $ECHO_C" >&6
24904 cat >conftest.$ac_ext <<_ACEOF
24907 cat confdefs.h >>conftest.$ac_ext
24908 cat >>conftest.$ac_ext <<_ACEOF
24909 /* end confdefs.h. */
24910 #define _LARGE_FILES 1
24911 #include <sys/types.h>
24916 unsigned int field: sizeof(off_t) == 8;
24923 rm -f conftest.$ac_objext
24924 if { (ac_try="$ac_compile"
24925 case "(($ac_try" in
24926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24927 *) ac_try_echo=$ac_try;;
24929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24930 (eval "$ac_compile") 2>conftest.er1
24932 grep -v '^
*+' conftest.er1 >conftest.err
24934 cat conftest.err >&5
24935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24936 (exit $ac_status); } && {
24937 test -z "$ac_c_werror_flag" ||
24938 test ! -s conftest.err
24939 } && test -s conftest.$ac_objext; then
24940 ac_cv_sys_large_files=1
24942 echo "$as_me: failed program was:" >&5
24943 sed 's
/^
/| /' conftest.$ac_ext >&5
24945 ac_cv_sys_large_files=no
24948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24952 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24953 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24955 if test "$ac_cv_sys_large_files" != no; then
24957 cat >>confdefs.h <<_ACEOF
24958 #define _LARGE_FILES $ac_cv_sys_large_files
24965 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24966 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24967 if test "x$wx_largefile" = "xyes"; then
24968 cat >>confdefs.h <<\_ACEOF
24969 #define HAVE_LARGEFILE_SUPPORT 1
24973 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24974 echo "${ECHO_T}$wx_largefile" >&6; }
24977 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24978 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24979 elif test "$ac_cv_sys_large_files" = 1; then
24980 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24983 if test -n "$LARGEFILE_CPPFLAGS"; then
24984 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24986 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24987 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24988 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24989 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24990 echo $ECHO_N "(cached) $ECHO_C" >&6
24994 ac_cpp='$CXXCPP $CPPFLAGS'
24995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24996 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24999 cat >conftest.$ac_ext <<_ACEOF
25002 cat confdefs.h >>conftest.$ac_ext
25003 cat >>conftest.$ac_ext <<_ACEOF
25004 /* end confdefs.h. */
25010 #ifndef __STDC_EXT__
25018 rm -f conftest.$ac_objext
25019 if { (ac_try="$ac_compile"
25020 case "(($ac_try" in
25021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_compile") 2>conftest.er1
25027 grep -v '^
*+' conftest.er1 >conftest.err
25029 cat conftest.err >&5
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); } && {
25032 test -z "$ac_cxx_werror_flag" ||
25033 test ! -s conftest.err
25034 } && test -s conftest.$ac_objext; then
25035 wx_cv_STDC_EXT_required=no
25037 echo "$as_me: failed program was:" >&5
25038 sed 's
/^
/| /' conftest.$ac_ext >&5
25040 wx_cv_STDC_EXT_required=yes
25044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25046 ac_cpp='$CPP $CPPFLAGS'
25047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25048 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25054 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
25055 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
25056 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
25057 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
25063 ac_cpp='$CXXCPP $CPPFLAGS'
25064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25065 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25068 old_CPPFLAGS="$CPPFLAGS"
25069 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
25070 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
25071 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
25072 if test "${ac_cv_sys_largefile_source+set}" = set; then
25073 echo $ECHO_N "(cached) $ECHO_C" >&6
25076 cat >conftest.$ac_ext <<_ACEOF
25079 cat confdefs.h >>conftest.$ac_ext
25080 cat >>conftest.$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25082 #include <sys/types.h> /* for off_t */
25087 int (*fp) (FILE *, off_t, int) = fseeko;
25088 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25093 rm -f conftest.$ac_objext conftest$ac_exeext
25094 if { (ac_try="$ac_link"
25095 case "(($ac_try" in
25096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25097 *) ac_try_echo=$ac_try;;
25099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25100 (eval "$ac_link") 2>conftest.er1
25102 grep -v '^
*+' conftest.er1 >conftest.err
25104 cat conftest.err >&5
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); } && {
25107 test -z "$ac_cxx_werror_flag" ||
25108 test ! -s conftest.err
25109 } && test -s conftest$ac_exeext &&
25110 $as_test_x conftest$ac_exeext; then
25111 ac_cv_sys_largefile_source=no; break
25113 echo "$as_me: failed program was:" >&5
25114 sed 's
/^
/| /' conftest.$ac_ext >&5
25119 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25120 conftest$ac_exeext conftest.$ac_ext
25121 cat >conftest.$ac_ext <<_ACEOF
25124 cat confdefs.h >>conftest.$ac_ext
25125 cat >>conftest.$ac_ext <<_ACEOF
25126 /* end confdefs.h. */
25127 #define _LARGEFILE_SOURCE 1
25128 #include <sys/types.h> /* for off_t */
25133 int (*fp) (FILE *, off_t, int) = fseeko;
25134 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25139 rm -f conftest.$ac_objext conftest$ac_exeext
25140 if { (ac_try="$ac_link"
25141 case "(($ac_try" in
25142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25143 *) ac_try_echo=$ac_try;;
25145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25146 (eval "$ac_link") 2>conftest.er1
25148 grep -v '^
*+' conftest.er1 >conftest.err
25150 cat conftest.err >&5
25151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25152 (exit $ac_status); } && {
25153 test -z "$ac_cxx_werror_flag" ||
25154 test ! -s conftest.err
25155 } && test -s conftest$ac_exeext &&
25156 $as_test_x conftest$ac_exeext; then
25157 ac_cv_sys_largefile_source=1; break
25159 echo "$as_me: failed program was:" >&5
25160 sed 's
/^
/| /' conftest.$ac_ext >&5
25165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25166 conftest$ac_exeext conftest.$ac_ext
25167 ac_cv_sys_largefile_source=unknown
25171 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25172 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25173 case $ac_cv_sys_largefile_source in #(
25176 cat >>confdefs.h <<_ACEOF
25177 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25183 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25184 # in glibc 2.1.3, but that breaks too many other things.
25185 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25186 if test $ac_cv_sys_largefile_source != unknown; then
25188 cat >>confdefs.h <<\_ACEOF
25189 #define HAVE_FSEEKO 1
25194 CPPFLAGS="$old_CPPFLAGS"
25196 ac_cpp='$CPP $CPPFLAGS'
25197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25198 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25201 if test "$ac_cv_sys_largefile_source" != no; then
25202 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25205 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25206 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25207 if test "${ac_cv_c_bigendian+set}" = set; then
25208 echo $ECHO_N "(cached) $ECHO_C" >&6
25210 ac_cv_c_bigendian=unknown
25211 # See if sys/param.h defines the BYTE_ORDER macro.
25212 cat >conftest.$ac_ext <<_ACEOF
25215 cat confdefs.h >>conftest.$ac_ext
25216 cat >>conftest.$ac_ext <<_ACEOF
25217 /* end confdefs.h. */
25218 #include <sys/types.h>
25219 #include <sys/param.h>
25224 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25225 bogus endian macros
25231 rm -f conftest.$ac_objext
25232 if { (ac_try="$ac_compile"
25233 case "(($ac_try" in
25234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25235 *) ac_try_echo=$ac_try;;
25237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25238 (eval "$ac_compile") 2>conftest.er1
25240 grep -v '^
*+' conftest.er1 >conftest.err
25242 cat conftest.err >&5
25243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244 (exit $ac_status); } && {
25245 test -z "$ac_c_werror_flag" ||
25246 test ! -s conftest.err
25247 } && test -s conftest.$ac_objext; then
25248 # It does; now see whether it defined to BIG_ENDIAN or not.
25249 cat >conftest.$ac_ext <<_ACEOF
25252 cat confdefs.h >>conftest.$ac_ext
25253 cat >>conftest.$ac_ext <<_ACEOF
25254 /* end confdefs.h. */
25255 #include <sys/types.h>
25256 #include <sys/param.h>
25261 #if BYTE_ORDER != BIG_ENDIAN
25268 rm -f conftest.$ac_objext
25269 if { (ac_try="$ac_compile"
25270 case "(($ac_try" in
25271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25272 *) ac_try_echo=$ac_try;;
25274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25275 (eval "$ac_compile") 2>conftest.er1
25277 grep -v '^
*+' conftest.er1 >conftest.err
25279 cat conftest.err >&5
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); } && {
25282 test -z "$ac_c_werror_flag" ||
25283 test ! -s conftest.err
25284 } && test -s conftest.$ac_objext; then
25285 ac_cv_c_bigendian=yes
25287 echo "$as_me: failed program was:" >&5
25288 sed 's
/^
/| /' conftest.$ac_ext >&5
25290 ac_cv_c_bigendian=no
25293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25295 echo "$as_me: failed program was:" >&5
25296 sed 's
/^
/| /' conftest.$ac_ext >&5
25301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25302 if test $ac_cv_c_bigendian = unknown; then
25303 if test "$cross_compiling" = yes; then
25304 ac_cv_c_bigendian=unknown
25306 cat >conftest.$ac_ext <<_ACEOF
25309 cat confdefs.h >>conftest.$ac_ext
25310 cat >>conftest.$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25313 /* Are we little or big endian? From Harbison&Steele. */
25317 char c[sizeof (long)];
25320 exit (u.c[sizeof (long) - 1] == 1);
25323 rm -f conftest$ac_exeext
25324 if { (ac_try="$ac_link"
25325 case "(($ac_try" in
25326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25327 *) ac_try_echo=$ac_try;;
25329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25330 (eval "$ac_link") 2>&5
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25334 { (case "(($ac_try" in
25335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25336 *) ac_try_echo=$ac_try;;
25338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25339 (eval "$ac_try") 2>&5
25341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25342 (exit $ac_status); }; }; then
25343 ac_cv_c_bigendian=no
25345 echo "$as_me: program exited with status $ac_status" >&5
25346 echo "$as_me: failed program was:" >&5
25347 sed 's
/^
/| /' conftest.$ac_ext >&5
25349 ( exit $ac_status )
25350 ac_cv_c_bigendian=yes
25352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25358 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25359 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25360 if test $ac_cv_c_bigendian = unknown; then
25361 { 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
25362 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;}
25364 if test $ac_cv_c_bigendian = yes; then
25365 cat >>confdefs.h <<\_ACEOF
25366 #define WORDS_BIGENDIAN 1
25375 ac_cpp='$CXXCPP $CPPFLAGS'
25376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25377 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25382 for ac_header in iostream
25384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25385 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25387 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25388 echo $ECHO_N "(cached) $ECHO_C" >&6
25390 cat >conftest.$ac_ext <<_ACEOF
25393 cat confdefs.h >>conftest.$ac_ext
25394 cat >>conftest.$ac_ext <<_ACEOF
25395 /* end confdefs.h. */
25398 #include <$ac_header>
25400 rm -f conftest.$ac_objext
25401 if { (ac_try="$ac_compile"
25402 case "(($ac_try" in
25403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25404 *) ac_try_echo=$ac_try;;
25406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25407 (eval "$ac_compile") 2>conftest.er1
25409 grep -v '^
*+' conftest.er1 >conftest.err
25411 cat conftest.err >&5
25412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25413 (exit $ac_status); } && {
25414 test -z "$ac_cxx_werror_flag" ||
25415 test ! -s conftest.err
25416 } && test -s conftest.$ac_objext; then
25417 eval "$as_ac_Header=yes"
25419 echo "$as_me: failed program was:" >&5
25420 sed 's
/^
/| /' conftest.$ac_ext >&5
25422 eval "$as_ac_Header=no"
25425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25427 ac_res=`eval echo '${'$as_ac_Header'}'`
25428 { echo "$as_me:$LINENO: result: $ac_res" >&5
25429 echo "${ECHO_T}$ac_res" >&6; }
25430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25431 cat >>confdefs.h <<_ACEOF
25432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25440 if test "$ac_cv_header_iostream" = "yes" ; then
25443 cat >>confdefs.h <<\_ACEOF
25444 #define wxUSE_IOSTREAMH 1
25450 ac_cpp='$CPP $CPPFLAGS'
25451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25452 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25458 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25459 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25460 if test "${wx_cv_explicit+set}" = set; then
25461 echo $ECHO_N "(cached) $ECHO_C" >&6
25466 ac_cpp='$CXXCPP $CPPFLAGS'
25467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25468 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25472 cat >conftest.$ac_ext <<_ACEOF
25475 cat confdefs.h >>conftest.$ac_ext
25476 cat >>conftest.$ac_ext <<_ACEOF
25477 /* end confdefs.h. */
25479 class Foo { public: explicit Foo(int) {} };
25491 rm -f conftest.$ac_objext
25492 if { (ac_try="$ac_compile"
25493 case "(($ac_try" in
25494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25495 *) ac_try_echo=$ac_try;;
25497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25498 (eval "$ac_compile") 2>conftest.er1
25500 grep -v '^
*+' conftest.er1 >conftest.err
25502 cat conftest.err >&5
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); } && {
25505 test -z "$ac_cxx_werror_flag" ||
25506 test ! -s conftest.err
25507 } && test -s conftest.$ac_objext; then
25509 cat >conftest.$ac_ext <<_ACEOF
25512 cat confdefs.h >>conftest.$ac_ext
25513 cat >>conftest.$ac_ext <<_ACEOF
25514 /* end confdefs.h. */
25516 class Foo { public: explicit Foo(int) {} };
25517 static void TakeFoo(const Foo& foo) { }
25530 rm -f conftest.$ac_objext
25531 if { (ac_try="$ac_compile"
25532 case "(($ac_try" in
25533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25534 *) ac_try_echo=$ac_try;;
25536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25537 (eval "$ac_compile") 2>conftest.er1
25539 grep -v '^
*+' conftest.er1 >conftest.err
25541 cat conftest.err >&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } && {
25544 test -z "$ac_cxx_werror_flag" ||
25545 test ! -s conftest.err
25546 } && test -s conftest.$ac_objext; then
25549 echo "$as_me: failed program was:" >&5
25550 sed 's
/^
/| /' conftest.$ac_ext >&5
25556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25559 echo "$as_me: failed program was:" >&5
25560 sed 's
/^
/| /' conftest.$ac_ext >&5
25566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25569 ac_cpp='$CPP $CPPFLAGS'
25570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25571 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25576 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25577 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25579 if test "$wx_cv_explicit" = "yes"; then
25580 cat >>confdefs.h <<\_ACEOF
25581 #define HAVE_EXPLICIT 1
25587 if test "x$SUNCXX" = xyes; then
25588 CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
25591 if test "x$SUNCC" = xyes; then
25592 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25595 if test "x$SGICC" = "xyes"; then
25596 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25597 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25598 if test "${wx_cv_prog_sgicc744+set}" = set; then
25599 echo $ECHO_N "(cached) $ECHO_C" >&6
25602 cat >conftest.$ac_ext <<_ACEOF
25605 cat confdefs.h >>conftest.$ac_ext
25606 cat >>conftest.$ac_ext <<_ACEOF
25607 /* end confdefs.h. */
25613 #if _SGI_COMPILER_VERSION >= 744
25614 chock me: mipsPro is 7.4.4 or later
25621 rm -f conftest.$ac_objext
25622 if { (ac_try="$ac_compile"
25623 case "(($ac_try" in
25624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25625 *) ac_try_echo=$ac_try;;
25627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25628 (eval "$ac_compile") 2>conftest.er1
25630 grep -v '^
*+' conftest.er1 >conftest.err
25632 cat conftest.err >&5
25633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25634 (exit $ac_status); } && {
25635 test -z "$ac_c_werror_flag" ||
25636 test ! -s conftest.err
25637 } && test -s conftest.$ac_objext; then
25638 wx_cv_prog_sgicc744=no
25640 echo "$as_me: failed program was:" >&5
25641 sed 's
/^
/| /' conftest.$ac_ext >&5
25643 wx_cv_prog_sgicc744=yes
25647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25651 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25652 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25654 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25655 CFLAGS="-woff 3970 $CFLAGS"
25658 if test "x$SGICXX" = "xyes"; then
25659 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25660 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25661 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25662 echo $ECHO_N "(cached) $ECHO_C" >&6
25666 ac_cpp='$CXXCPP $CPPFLAGS'
25667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25668 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25671 cat >conftest.$ac_ext <<_ACEOF
25674 cat confdefs.h >>conftest.$ac_ext
25675 cat >>conftest.$ac_ext <<_ACEOF
25676 /* end confdefs.h. */
25682 #if _SGI_COMPILER_VERSION >= 744
25683 chock me: mipsPro is 7.4.4 or later
25690 rm -f conftest.$ac_objext
25691 if { (ac_try="$ac_compile"
25692 case "(($ac_try" in
25693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25694 *) ac_try_echo=$ac_try;;
25696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25697 (eval "$ac_compile") 2>conftest.er1
25699 grep -v '^
*+' conftest.er1 >conftest.err
25701 cat conftest.err >&5
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); } && {
25704 test -z "$ac_cxx_werror_flag" ||
25705 test ! -s conftest.err
25706 } && test -s conftest.$ac_objext; then
25707 wx_cv_prog_sgicxx744=no
25709 echo "$as_me: failed program was:" >&5
25710 sed 's
/^
/| /' conftest.$ac_ext >&5
25712 wx_cv_prog_sgicxx744=yes
25716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25718 ac_cpp='$CPP $CPPFLAGS'
25719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25720 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25726 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25727 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25729 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25730 CXXFLAGS="-woff 3970 $CXXFLAGS"
25734 if test "x$HPCC" = "xyes"; then
25735 CFLAGS="+W 2011,2450 $CFLAGS"
25737 if test "x$HPCXX" = "xyes"; then
25738 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25741 if test "x$COMPAQCXX" = "xyes"; then
25742 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25746 ac_cpp='$CXXCPP $CPPFLAGS'
25747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25748 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25752 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25753 if test "$wxUSE_UNICODE" = "yes"; then
25754 std_string="std::wstring"
25755 char_type="wchar_t"
25757 std_string="std::string"
25761 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25762 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25763 if test "${wx_cv_class_stdstring+set}" = set; then
25764 echo $ECHO_N "(cached) $ECHO_C" >&6
25767 cat >conftest.$ac_ext <<_ACEOF
25770 cat confdefs.h >>conftest.$ac_ext
25771 cat >>conftest.$ac_ext <<_ACEOF
25772 /* end confdefs.h. */
25782 rm -f conftest.$ac_objext
25783 if { (ac_try="$ac_compile"
25784 case "(($ac_try" in
25785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25786 *) ac_try_echo=$ac_try;;
25788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25789 (eval "$ac_compile") 2>conftest.er1
25791 grep -v '^
*+' conftest.er1 >conftest.err
25793 cat conftest.err >&5
25794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25795 (exit $ac_status); } && {
25796 test -z "$ac_cxx_werror_flag" ||
25797 test ! -s conftest.err
25798 } && test -s conftest.$ac_objext; then
25799 wx_cv_class_stdstring=yes
25801 echo "$as_me: failed program was:" >&5
25802 sed 's
/^
/| /' conftest.$ac_ext >&5
25804 wx_cv_class_stdstring=no
25808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25812 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25813 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25815 if test "$wx_cv_class_stdstring" = yes; then
25816 if test "$wxUSE_UNICODE" = "yes"; then
25817 cat >>confdefs.h <<\_ACEOF
25818 #define HAVE_STD_WSTRING 1
25823 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25824 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25825 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25826 echo $ECHO_N "(cached) $ECHO_C" >&6
25829 cat >conftest.$ac_ext <<_ACEOF
25832 cat confdefs.h >>conftest.$ac_ext
25833 cat >>conftest.$ac_ext <<_ACEOF
25834 /* end confdefs.h. */
25836 #ifdef HAVE_WCHAR_H
25838 # include <stddef.h>
25840 # include <wchar.h>
25842 #ifdef HAVE_STDLIB_H
25843 # include <stdlib.h>
25851 std::basic_string<$char_type> foo;
25852 const $char_type* dummy = foo.c_str();
25857 rm -f conftest.$ac_objext
25858 if { (ac_try="$ac_compile"
25859 case "(($ac_try" in
25860 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25861 *) ac_try_echo=$ac_try;;
25863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25864 (eval "$ac_compile") 2>conftest.er1
25866 grep -v '^
*+' conftest.er1 >conftest.err
25868 cat conftest.err >&5
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); } && {
25871 test -z "$ac_cxx_werror_flag" ||
25872 test ! -s conftest.err
25873 } && test -s conftest.$ac_objext; then
25874 wx_cv_class_stdbasicstring=yes
25876 echo "$as_me: failed program was:" >&5
25877 sed 's
/^
/| /' conftest.$ac_ext >&5
25879 wx_cv_class_stdbasicstring=no
25883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25887 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25888 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25890 if test "$wx_cv_class_stdbasicstring" != yes; then
25891 if test "$wxUSE_STL" = "yes"; then
25892 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25893 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25894 { (exit 1); exit 1; }; }
25895 elif test "$wxUSE_STD_STRING" = "yes"; then
25896 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25897 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25898 { (exit 1); exit 1; }; }
25900 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25901 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25902 wxUSE_STD_STRING=no
25908 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25909 { echo "$as_me:$LINENO: checking for std::istream" >&5
25910 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25911 if test "${ac_cv_type_std__istream+set}" = set; then
25912 echo $ECHO_N "(cached) $ECHO_C" >&6
25914 cat >conftest.$ac_ext <<_ACEOF
25917 cat confdefs.h >>conftest.$ac_ext
25918 cat >>conftest.$ac_ext <<_ACEOF
25919 /* end confdefs.h. */
25920 #include <iostream>
25922 typedef std::istream ac__type_new_;
25926 if ((ac__type_new_ *) 0)
25928 if (sizeof (ac__type_new_))
25934 rm -f conftest.$ac_objext
25935 if { (ac_try="$ac_compile"
25936 case "(($ac_try" in
25937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25938 *) ac_try_echo=$ac_try;;
25940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25941 (eval "$ac_compile") 2>conftest.er1
25943 grep -v '^
*+' conftest.er1 >conftest.err
25945 cat conftest.err >&5
25946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25947 (exit $ac_status); } && {
25948 test -z "$ac_cxx_werror_flag" ||
25949 test ! -s conftest.err
25950 } && test -s conftest.$ac_objext; then
25951 ac_cv_type_std__istream=yes
25953 echo "$as_me: failed program was:" >&5
25954 sed 's
/^
/| /' conftest.$ac_ext >&5
25956 ac_cv_type_std__istream=no
25959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25961 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25962 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25963 if test $ac_cv_type_std__istream = yes; then
25965 cat >>confdefs.h <<_ACEOF
25966 #define HAVE_STD__ISTREAM 1
25971 wxUSE_STD_IOSTREAM=no
25973 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25974 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25975 if test "${ac_cv_type_std__ostream+set}" = set; then
25976 echo $ECHO_N "(cached) $ECHO_C" >&6
25978 cat >conftest.$ac_ext <<_ACEOF
25981 cat confdefs.h >>conftest.$ac_ext
25982 cat >>conftest.$ac_ext <<_ACEOF
25983 /* end confdefs.h. */
25984 #include <iostream>
25986 typedef std::ostream ac__type_new_;
25990 if ((ac__type_new_ *) 0)
25992 if (sizeof (ac__type_new_))
25998 rm -f conftest.$ac_objext
25999 if { (ac_try="$ac_compile"
26000 case "(($ac_try" in
26001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26002 *) ac_try_echo=$ac_try;;
26004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26005 (eval "$ac_compile") 2>conftest.er1
26007 grep -v '^
*+' conftest.er1 >conftest.err
26009 cat conftest.err >&5
26010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26011 (exit $ac_status); } && {
26012 test -z "$ac_cxx_werror_flag" ||
26013 test ! -s conftest.err
26014 } && test -s conftest.$ac_objext; then
26015 ac_cv_type_std__ostream=yes
26017 echo "$as_me: failed program was:" >&5
26018 sed 's
/^
/| /' conftest.$ac_ext >&5
26020 ac_cv_type_std__ostream=no
26023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26025 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
26026 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
26027 if test $ac_cv_type_std__ostream = yes; then
26029 cat >>confdefs.h <<_ACEOF
26030 #define HAVE_STD__OSTREAM 1
26035 wxUSE_STD_IOSTREAM=no
26039 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
26040 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
26041 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
26042 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
26043 { (exit 1); exit 1; }; }
26045 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
26046 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
26051 if test "$wxUSE_STL" = "yes"; then
26052 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
26053 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
26054 if test "${wx_cv_lib_stl+set}" = set; then
26055 echo $ECHO_N "(cached) $ECHO_C" >&6
26057 cat >conftest.$ac_ext <<_ACEOF
26060 cat confdefs.h >>conftest.$ac_ext
26061 cat >>conftest.$ac_ext <<_ACEOF
26062 /* end confdefs.h. */
26064 #include <functional>
26065 #include <algorithm>
26071 std::vector<int> moo;
26072 std::list<int> foo;
26073 std::vector<int>::iterator it =
26074 std::find_if(moo.begin(), moo.end(),
26075 std::bind2nd(std::less<int>(), 3));
26080 rm -f conftest.$ac_objext
26081 if { (ac_try="$ac_compile"
26082 case "(($ac_try" in
26083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26084 *) ac_try_echo=$ac_try;;
26086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26087 (eval "$ac_compile") 2>conftest.er1
26089 grep -v '^
*+' conftest.er1 >conftest.err
26091 cat conftest.err >&5
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); } && {
26094 test -z "$ac_cxx_werror_flag" ||
26095 test ! -s conftest.err
26096 } && test -s conftest.$ac_objext; then
26099 echo "$as_me: failed program was:" >&5
26100 sed 's
/^
/| /' conftest.$ac_ext >&5
26106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26109 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26110 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26112 if test "$wx_cv_lib_stl" != yes; then
26113 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
26114 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
26115 { (exit 1); exit 1; }; }
26118 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26119 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26120 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26121 echo $ECHO_N "(cached) $ECHO_C" >&6
26123 cat >conftest.$ac_ext <<_ACEOF
26126 cat confdefs.h >>conftest.$ac_ext
26127 cat >>conftest.$ac_ext <<_ACEOF
26128 /* end confdefs.h. */
26133 std::string foo, bar;
26135 foo.compare(1, 1, bar);
26136 foo.compare(1, 1, bar, 1, 1);
26138 foo.compare(1, 1, "");
26139 foo.compare(1, 1, "", 2);
26144 rm -f conftest.$ac_objext
26145 if { (ac_try="$ac_compile"
26146 case "(($ac_try" in
26147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26148 *) ac_try_echo=$ac_try;;
26150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26151 (eval "$ac_compile") 2>conftest.er1
26153 grep -v '^
*+' conftest.er1 >conftest.err
26155 cat conftest.err >&5
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); } && {
26158 test -z "$ac_cxx_werror_flag" ||
26159 test ! -s conftest.err
26160 } && test -s conftest.$ac_objext; then
26161 wx_cv_func_stdstring_compare=yes
26163 echo "$as_me: failed program was:" >&5
26164 sed 's
/^
/| /' conftest.$ac_ext >&5
26166 wx_cv_func_stdstring_compare=no
26170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26173 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26174 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26176 if test "$wx_cv_func_stdstring_compare" = yes; then
26177 cat >>confdefs.h <<\_ACEOF
26178 #define HAVE_STD_STRING_COMPARE 1
26183 if test "$wx_cv_class_gnuhashmapset" = yes; then
26184 cat >>confdefs.h <<\_ACEOF
26185 #define HAVE_EXT_HASH_MAP 1
26188 cat >>confdefs.h <<\_ACEOF
26189 #define HAVE_GNU_CXX_HASH_MAP 1
26194 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26195 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26196 if test "${ac_cv_header_unordered_map+set}" = set; then
26197 echo $ECHO_N "(cached) $ECHO_C" >&6
26199 cat >conftest.$ac_ext <<_ACEOF
26202 cat confdefs.h >>conftest.$ac_ext
26203 cat >>conftest.$ac_ext <<_ACEOF
26204 /* end confdefs.h. */
26208 #include <unordered_map>
26210 rm -f conftest.$ac_objext
26211 if { (ac_try="$ac_compile"
26212 case "(($ac_try" in
26213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26214 *) ac_try_echo=$ac_try;;
26216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26217 (eval "$ac_compile") 2>conftest.er1
26219 grep -v '^
*+' conftest.er1 >conftest.err
26221 cat conftest.err >&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); } && {
26224 test -z "$ac_cxx_werror_flag" ||
26225 test ! -s conftest.err
26226 } && test -s conftest.$ac_objext; then
26227 ac_cv_header_unordered_map=yes
26229 echo "$as_me: failed program was:" >&5
26230 sed 's
/^
/| /' conftest.$ac_ext >&5
26232 ac_cv_header_unordered_map=no
26235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26237 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26238 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26239 if test $ac_cv_header_unordered_map = yes; then
26240 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26241 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26242 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26243 echo $ECHO_N "(cached) $ECHO_C" >&6
26245 cat >conftest.$ac_ext <<_ACEOF
26248 cat confdefs.h >>conftest.$ac_ext
26249 cat >>conftest.$ac_ext <<_ACEOF
26250 /* end confdefs.h. */
26251 #include <unordered_map>
26252 #include <unordered_set>
26256 std::unordered_map<double*, char*> test1;
26257 std::unordered_set<char*> test2;
26262 rm -f conftest.$ac_objext
26263 if { (ac_try="$ac_compile"
26264 case "(($ac_try" in
26265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26266 *) ac_try_echo=$ac_try;;
26268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26269 (eval "$ac_compile") 2>conftest.er1
26271 grep -v '^
*+' conftest.er1 >conftest.err
26273 cat conftest.err >&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); } && {
26276 test -z "$ac_cxx_werror_flag" ||
26277 test ! -s conftest.err
26278 } && test -s conftest.$ac_objext; then
26279 wx_cv_class_stdunorderedmapset=yes
26281 echo "$as_me: failed program was:" >&5
26282 sed 's
/^
/| /' conftest.$ac_ext >&5
26284 wx_cv_class_stdunorderedmapset=no
26287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26291 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26292 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26297 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26298 cat >>confdefs.h <<\_ACEOF
26299 #define HAVE_STD_UNORDERED_MAP 1
26302 cat >>confdefs.h <<\_ACEOF
26303 #define HAVE_STD_UNORDERED_SET 1
26307 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26308 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26309 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26310 echo $ECHO_N "(cached) $ECHO_C" >&6
26312 cat >conftest.$ac_ext <<_ACEOF
26315 cat confdefs.h >>conftest.$ac_ext
26316 cat >>conftest.$ac_ext <<_ACEOF
26317 /* end confdefs.h. */
26321 #include <tr1/unordered_map>
26323 rm -f conftest.$ac_objext
26324 if { (ac_try="$ac_compile"
26325 case "(($ac_try" in
26326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26327 *) ac_try_echo=$ac_try;;
26329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26330 (eval "$ac_compile") 2>conftest.er1
26332 grep -v '^
*+' conftest.er1 >conftest.err
26334 cat conftest.err >&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } && {
26337 test -z "$ac_cxx_werror_flag" ||
26338 test ! -s conftest.err
26339 } && test -s conftest.$ac_objext; then
26340 ac_cv_header_tr1_unordered_map=yes
26342 echo "$as_me: failed program was:" >&5
26343 sed 's
/^
/| /' conftest.$ac_ext >&5
26345 ac_cv_header_tr1_unordered_map=no
26348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26350 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26351 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26352 if test $ac_cv_header_tr1_unordered_map = yes; then
26353 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26354 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26355 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26356 echo $ECHO_N "(cached) $ECHO_C" >&6
26358 cat >conftest.$ac_ext <<_ACEOF
26361 cat confdefs.h >>conftest.$ac_ext
26362 cat >>conftest.$ac_ext <<_ACEOF
26363 /* end confdefs.h. */
26364 #include <tr1/unordered_map>
26365 #include <tr1/unordered_set>
26369 std::tr1::unordered_map<double*, char*> test1;
26370 std::tr1::unordered_set<char*> test2;
26371 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26372 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
26378 rm -f conftest.
$ac_objext
26379 if { (ac_try
="$ac_compile"
26380 case "(($ac_try" in
26381 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26382 *) ac_try_echo=$ac_try;;
26384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26385 (eval "$ac_compile") 2>conftest.er1
26387 grep -v '^ *+' conftest.er1 >conftest.err
26389 cat conftest.err >&5
26390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26391 (exit $ac_status); } && {
26392 test -z "$ac_cxx_werror_flag" ||
26393 test ! -s conftest.err
26394 } && test -s conftest.$ac_objext; then
26395 wx_cv_class_tr1unorderedmapset=yes
26397 echo "$as_me: failed program was:" >&5
26398 sed 's/^/| /' conftest.$ac_ext >&5
26400 wx_cv_class_tr1unorderedmapset=no
26403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26407 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26408 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26413 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26414 cat >>confdefs.h <<\_ACEOF
26415 #define HAVE_TR1_UNORDERED_MAP 1
26418 cat >>confdefs.h <<\_ACEOF
26419 #define HAVE_TR1_UNORDERED_SET 1
26423 { echo "$as_me:$LINENO: checking for hash_map" >&5
26424 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26425 if test "${ac_cv_header_hash_map+set}" = set; then
26426 echo $ECHO_N "(cached) $ECHO_C" >&6
26428 cat >conftest.$ac_ext <<_ACEOF
26431 cat confdefs.h >>conftest.$ac_ext
26432 cat >>conftest.$ac_ext <<_ACEOF
26433 /* end confdefs.h. */
26437 #include <hash_map>
26439 rm -f conftest.$ac_objext
26440 if { (ac_try="$ac_compile"
26441 case "(($ac_try" in
26442 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26443 *) ac_try_echo
=$ac_try;;
26445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26446 (eval "$ac_compile") 2>conftest.er1
26448 grep -v '^ *+' conftest.er1
>conftest.err
26450 cat conftest.err
>&5
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); } && {
26453 test -z "$ac_cxx_werror_flag" ||
26454 test ! -s conftest.err
26455 } && test -s conftest.
$ac_objext; then
26456 ac_cv_header_hash_map
=yes
26458 echo "$as_me: failed program was:" >&5
26459 sed 's/^/| /' conftest.
$ac_ext >&5
26461 ac_cv_header_hash_map
=no
26464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26466 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26467 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26468 if test $ac_cv_header_hash_map = yes; then
26469 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26470 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26471 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26472 echo $ECHO_N "(cached) $ECHO_C" >&6
26474 cat >conftest.
$ac_ext <<_ACEOF
26477 cat confdefs.h
>>conftest.
$ac_ext
26478 cat >>conftest.
$ac_ext <<_ACEOF
26479 /* end confdefs.h. */
26480 #include <hash_map>
26481 #include <hash_set>
26485 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26486 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26491 rm -f conftest.
$ac_objext
26492 if { (ac_try
="$ac_compile"
26493 case "(($ac_try" in
26494 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26495 *) ac_try_echo=$ac_try;;
26497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26498 (eval "$ac_compile") 2>conftest.er1
26500 grep -v '^ *+' conftest.er1 >conftest.err
26502 cat conftest.err >&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } && {
26505 test -z "$ac_cxx_werror_flag" ||
26506 test ! -s conftest.err
26507 } && test -s conftest.$ac_objext; then
26508 wx_cv_class_stdhashmapset=yes
26510 echo "$as_me: failed program was:" >&5
26511 sed 's/^/| /' conftest.$ac_ext >&5
26513 wx_cv_class_stdhashmapset=no
26516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26520 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26521 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26526 if test "$wx_cv_class_stdhashmapset" = yes; then
26527 cat >>confdefs.h <<\_ACEOF
26528 #define HAVE_HASH_MAP 1
26531 cat >>confdefs.h <<\_ACEOF
26532 #define HAVE_STD_HASH_MAP 1
26537 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26538 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26539 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26542 cat >conftest.$ac_ext <<_ACEOF
26545 cat confdefs.h >>conftest.$ac_ext
26546 cat >>conftest.$ac_ext <<_ACEOF
26547 /* end confdefs.h. */
26551 #include <ext/hash_map>
26553 rm -f conftest.$ac_objext
26554 if { (ac_try="$ac_compile"
26555 case "(($ac_try" in
26556 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26557 *) ac_try_echo
=$ac_try;;
26559 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26560 (eval "$ac_compile") 2>conftest.er1
26562 grep -v '^ *+' conftest.er1
>conftest.err
26564 cat conftest.err
>&5
26565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26566 (exit $ac_status); } && {
26567 test -z "$ac_cxx_werror_flag" ||
26568 test ! -s conftest.err
26569 } && test -s conftest.
$ac_objext; then
26570 ac_cv_header_ext_hash_map
=yes
26572 echo "$as_me: failed program was:" >&5
26573 sed 's/^/| /' conftest.
$ac_ext >&5
26575 ac_cv_header_ext_hash_map
=no
26578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26580 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26581 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26582 if test $ac_cv_header_ext_hash_map = yes; then
26583 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26584 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26585 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26586 echo $ECHO_N "(cached) $ECHO_C" >&6
26588 cat >conftest.
$ac_ext <<_ACEOF
26591 cat confdefs.h
>>conftest.
$ac_ext
26592 cat >>conftest.
$ac_ext <<_ACEOF
26593 /* end confdefs.h. */
26594 #include <ext/hash_map>
26595 #include <ext/hash_set>
26599 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26600 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26605 rm -f conftest.
$ac_objext
26606 if { (ac_try
="$ac_compile"
26607 case "(($ac_try" in
26608 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26609 *) ac_try_echo=$ac_try;;
26611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26612 (eval "$ac_compile") 2>conftest.er1
26614 grep -v '^ *+' conftest.er1 >conftest.err
26616 cat conftest.err >&5
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); } && {
26619 test -z "$ac_cxx_werror_flag" ||
26620 test ! -s conftest.err
26621 } && test -s conftest.$ac_objext; then
26622 wx_cv_class_gnuhashmapset=yes
26624 echo "$as_me: failed program was:" >&5
26625 sed 's/^/| /' conftest.$ac_ext >&5
26627 wx_cv_class_gnuhashmapset=no
26630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26634 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26635 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26645 ac_cpp='$CXXCPP $CPPFLAGS'
26646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26649 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26650 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26651 if test -z "$CXXCPP"; then
26652 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26653 echo $ECHO_N "(cached) $ECHO_C" >&6
26655 # Double quotes because CXXCPP needs to be expanded
26656 for CXXCPP in "$CXX -E" "/lib/cpp"
26658 ac_preproc_ok=false
26659 for ac_cxx_preproc_warn_flag in '' yes
26661 # Use a header file that comes with gcc, so configuring glibc
26662 # with a fresh cross-compiler works.
26663 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26664 # <limits.h> exists even on freestanding compilers.
26665 # On the NeXT, cc -E runs the code through the compiler's parser,
26666 # not just through cpp. "Syntax error" is here to catch this case.
26667 cat >conftest.$ac_ext <<_ACEOF
26670 cat confdefs.h >>conftest.$ac_ext
26671 cat >>conftest.$ac_ext <<_ACEOF
26672 /* end confdefs.h. */
26674 # include <limits.h>
26676 # include <assert.h>
26680 if { (ac_try="$ac_cpp conftest.$ac_ext"
26681 case "(($ac_try" in
26682 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26683 *) ac_try_echo
=$ac_try;;
26685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26686 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26688 grep -v '^ *+' conftest.er1
>conftest.err
26690 cat conftest.err
>&5
26691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26692 (exit $ac_status); } >/dev
/null
&& {
26693 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26694 test ! -s conftest.err
26698 echo "$as_me: failed program was:" >&5
26699 sed 's/^/| /' conftest.
$ac_ext >&5
26701 # Broken: fails on valid input.
26705 rm -f conftest.err conftest.
$ac_ext
26707 # OK, works on sane cases. Now check whether nonexistent headers
26708 # can be detected and how.
26709 cat >conftest.
$ac_ext <<_ACEOF
26712 cat confdefs.h
>>conftest.
$ac_ext
26713 cat >>conftest.
$ac_ext <<_ACEOF
26714 /* end confdefs.h. */
26715 #include <ac_nonexistent.h>
26717 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26718 case "(($ac_try" in
26719 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26720 *) ac_try_echo=$ac_try;;
26722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26723 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26725 grep -v '^ *+' conftest.er1 >conftest.err
26727 cat conftest.err >&5
26728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26729 (exit $ac_status); } >/dev/null && {
26730 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26731 test ! -s conftest.err
26733 # Broken: success on invalid input.
26736 echo "$as_me: failed program was:" >&5
26737 sed 's/^/| /' conftest.$ac_ext >&5
26739 # Passes both tests.
26744 rm -f conftest.err conftest.$ac_ext
26747 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26748 rm -f conftest.err conftest.
$ac_ext
26749 if $ac_preproc_ok; then
26754 ac_cv_prog_CXXCPP
=$CXXCPP
26757 CXXCPP
=$ac_cv_prog_CXXCPP
26759 ac_cv_prog_CXXCPP
=$CXXCPP
26761 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26762 echo "${ECHO_T}$CXXCPP" >&6; }
26763 ac_preproc_ok
=false
26764 for ac_cxx_preproc_warn_flag
in '' yes
26766 # Use a header file that comes with gcc, so configuring glibc
26767 # with a fresh cross-compiler works.
26768 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26769 # <limits.h> exists even on freestanding compilers.
26770 # On the NeXT, cc -E runs the code through the compiler's parser,
26771 # not just through cpp. "Syntax error" is here to catch this case.
26772 cat >conftest.
$ac_ext <<_ACEOF
26775 cat confdefs.h
>>conftest.
$ac_ext
26776 cat >>conftest.
$ac_ext <<_ACEOF
26777 /* end confdefs.h. */
26779 # include <limits.h>
26781 # include <assert.h>
26785 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26786 case "(($ac_try" in
26787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26788 *) ac_try_echo=$ac_try;;
26790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26791 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26793 grep -v '^ *+' conftest.er1 >conftest.err
26795 cat conftest.err >&5
26796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26797 (exit $ac_status); } >/dev/null && {
26798 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26799 test ! -s conftest.err
26803 echo "$as_me: failed program was:" >&5
26804 sed 's/^/| /' conftest.$ac_ext >&5
26806 # Broken: fails on valid input.
26810 rm -f conftest.err conftest.$ac_ext
26812 # OK, works on sane cases. Now check whether nonexistent headers
26813 # can be detected and how.
26814 cat >conftest.$ac_ext <<_ACEOF
26817 cat confdefs.h >>conftest.$ac_ext
26818 cat >>conftest.$ac_ext <<_ACEOF
26819 /* end confdefs.h. */
26820 #include <ac_nonexistent.h>
26822 if { (ac_try="$ac_cpp conftest.$ac_ext"
26823 case "(($ac_try" in
26824 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26825 *) ac_try_echo
=$ac_try;;
26827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26828 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26830 grep -v '^ *+' conftest.er1
>conftest.err
26832 cat conftest.err
>&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); } >/dev
/null
&& {
26835 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26836 test ! -s conftest.err
26838 # Broken: success on invalid input.
26841 echo "$as_me: failed program was:" >&5
26842 sed 's/^/| /' conftest.
$ac_ext >&5
26844 # Passes both tests.
26849 rm -f conftest.err conftest.
$ac_ext
26852 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26853 rm -f conftest.err conftest.
$ac_ext
26854 if $ac_preproc_ok; then
26857 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26858 See \`config.log' for more details." >&5
26859 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26860 See \`config.log' for more details." >&2;}
26861 { (exit 1); exit 1; }; }
26865 ac_cpp
='$CXXCPP $CPPFLAGS'
26866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26873 for ac_header
in type_traits tr
1/type_traits
26875 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26876 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26877 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26879 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26880 echo $ECHO_N "(cached) $ECHO_C" >&6
26882 ac_res
=`eval echo '${'$as_ac_Header'}'`
26883 { echo "$as_me:$LINENO: result: $ac_res" >&5
26884 echo "${ECHO_T}$ac_res" >&6; }
26886 # Is the header compilable?
26887 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26888 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26889 cat >conftest.
$ac_ext <<_ACEOF
26892 cat confdefs.h
>>conftest.
$ac_ext
26893 cat >>conftest.
$ac_ext <<_ACEOF
26894 /* end confdefs.h. */
26895 $ac_includes_default
26896 #include <$ac_header>
26898 rm -f conftest.
$ac_objext
26899 if { (ac_try
="$ac_compile"
26900 case "(($ac_try" in
26901 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26902 *) ac_try_echo=$ac_try;;
26904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26905 (eval "$ac_compile") 2>conftest.er1
26907 grep -v '^ *+' conftest.er1 >conftest.err
26909 cat conftest.err >&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); } && {
26912 test -z "$ac_cxx_werror_flag" ||
26913 test ! -s conftest.err
26914 } && test -s conftest.$ac_objext; then
26915 ac_header_compiler=yes
26917 echo "$as_me: failed program was:" >&5
26918 sed 's/^/| /' conftest.$ac_ext >&5
26920 ac_header_compiler=no
26923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26924 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26925 echo "${ECHO_T}$ac_header_compiler" >&6; }
26927 # Is the header present?
26928 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26929 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26930 cat >conftest.$ac_ext <<_ACEOF
26933 cat confdefs.h >>conftest.$ac_ext
26934 cat >>conftest.$ac_ext <<_ACEOF
26935 /* end confdefs.h. */
26936 #include <$ac_header>
26938 if { (ac_try="$ac_cpp conftest.$ac_ext"
26939 case "(($ac_try" in
26940 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26941 *) ac_try_echo
=$ac_try;;
26943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26944 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26946 grep -v '^ *+' conftest.er1
>conftest.err
26948 cat conftest.err
>&5
26949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26950 (exit $ac_status); } >/dev
/null
&& {
26951 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26952 test ! -s conftest.err
26954 ac_header_preproc
=yes
26956 echo "$as_me: failed program was:" >&5
26957 sed 's/^/| /' conftest.
$ac_ext >&5
26959 ac_header_preproc
=no
26962 rm -f conftest.err conftest.
$ac_ext
26963 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26964 echo "${ECHO_T}$ac_header_preproc" >&6; }
26966 # So? What about this header?
26967 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26973 ac_header_preproc
=yes
26976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26989 ## ----------------------------------------- ##
26990 ## Report this to wx-dev@lists.wxwidgets.org ##
26991 ## ----------------------------------------- ##
26993 ) | sed "s/^/$as_me: WARNING: /" >&2
26996 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26998 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26999 echo $ECHO_N "(cached) $ECHO_C" >&6
27001 eval "$as_ac_Header=\$ac_header_preproc"
27003 ac_res
=`eval echo '${'$as_ac_Header'}'`
27004 { echo "$as_me:$LINENO: result: $ac_res" >&5
27005 echo "${ECHO_T}$ac_res" >&6; }
27008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27009 cat >>confdefs.h
<<_ACEOF
27010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27020 if test -n "$GCC"; then
27021 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
27022 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
27023 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
27024 echo $ECHO_N "(cached) $ECHO_C" >&6
27027 cat >conftest.
$ac_ext <<_ACEOF
27030 cat confdefs.h
>>conftest.
$ac_ext
27031 cat >>conftest.
$ac_ext <<_ACEOF
27032 /* end confdefs.h. */
27038 unsigned int value=0;
27039 /* wxAtomicInc doesn't use return value here */
27040 __sync_fetch_and_add(&value, 2);
27041 __sync_sub_and_fetch(&value, 1);
27042 /* but wxAtomicDec does, so mimic that: */
27043 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
27049 rm -f conftest.
$ac_objext conftest
$ac_exeext
27050 if { (ac_try
="$ac_link"
27051 case "(($ac_try" in
27052 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27053 *) ac_try_echo=$ac_try;;
27055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27056 (eval "$ac_link") 2>conftest.er1
27058 grep -v '^ *+' conftest.er1 >conftest.err
27060 cat conftest.err >&5
27061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27062 (exit $ac_status); } && {
27063 test -z "$ac_cxx_werror_flag" ||
27064 test ! -s conftest.err
27065 } && test -s conftest$ac_exeext &&
27066 $as_test_x conftest$ac_exeext; then
27067 wx_cv_cc_gcc_atomic_builtins=yes
27069 echo "$as_me: failed program was:" >&5
27070 sed 's/^/| /' conftest.$ac_ext >&5
27072 wx_cv_cc_gcc_atomic_builtins=no
27075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27076 conftest$ac_exeext conftest.$ac_ext
27080 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
27081 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
27082 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
27083 cat >>confdefs.h <<\_ACEOF
27084 #define HAVE_GCC_ATOMIC_BUILTINS 1
27092 ac_cpp='$CPP $CPPFLAGS'
27093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27100 /usr/local/include \
27101 /usr/local/X11/include \
27102 /usr/local/include/X11 \
27103 /usr/local/X11R7/include \
27104 /usr/local/X11R6/include \
27105 /usr/local/include/X11R7 \
27106 /usr/local/include/X11R6 \
27108 /usr/Motif-2.1/include \
27109 /usr/Motif-1.2/include \
27110 /usr/include/Motif1.2 \
27113 /usr/openwin/include \
27117 /usr/X11R7/include \
27118 /usr/X11R6/include \
27119 /usr/X11R6.4/include \
27121 /usr/include/X11R7 \
27122 /usr/include/X11R6 \
27127 /usr/XFree86/include/X11 \
27130 /usr/local/X1R5/include \
27131 /usr/local/include/X11R5 \
27132 /usr/X11R5/include \
27133 /usr/include/X11R5 \
27135 /usr/local/X11R4/include \
27136 /usr/local/include/X11R4 \
27137 /usr/X11R4/include \
27138 /usr/include/X11R4 \
27140 /usr/openwin/share/include"
27142 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27143 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27147 if test "${wx_cv_std_libpath+set}" = set; then
27148 echo $ECHO_N "(cached) $ECHO_C" >&6
27151 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27152 for e in a so sl dylib dll.a; do
27154 if test -f $libc; then
27157 cat >conftest.$ac_ext <<_ACEOF
27161 cat confdefs.h >>conftest.$ac_ext
27162 cat >>conftest.$ac_ext <<_ACEOF
27163 /* end confdefs.h. */
27164 int main() { return 0; }
27167 rm -f conftest.$ac_objext conftest$ac_exeext
27168 if { (ac_try="$ac_link"
27169 case "(($ac_try" in
27170 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27171 *) ac_try_echo
=$ac_try;;
27173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27174 (eval "$ac_link") 2>conftest.er1
27176 grep -v '^ *+' conftest.er1
>conftest.err
27178 cat conftest.err
>&5
27179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27180 (exit $ac_status); } && {
27181 test -z "$ac_c_werror_flag" ||
27182 test ! -s conftest.err
27183 } && test -s conftest
$ac_exeext &&
27184 $as_test_x conftest
$ac_exeext; then
27185 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
27187 echo "$as_me: failed program was:" >&5
27188 sed 's/^/| /' conftest.
$ac_ext >&5
27193 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27194 conftest
$ac_exeext conftest.
$ac_ext
27196 if test "x$wx_cv_std_libpath" != "x"; then
27209 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27210 wx_cv_std_libpath
="lib/64"
27215 if test "$ac_cv_sizeof_void_p" = 8; then
27216 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27217 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
27218 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27219 wx_cv_std_libpath
="lib64"
27224 if test -d '/usr/lib/i386-linux-gnu'; then
27225 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
27230 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27231 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
27236 if test -z "$wx_cv_std_libpath"; then
27237 wx_cv_std_libpath
="lib"
27240 if test -z "$wx_cv_std_libfullpath"; then
27241 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
27245 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27246 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27248 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27250 if test "$build" != "$host" -a "$GCC" = yes; then
27251 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
27252 cross_root
=`dirname $cross_root`
27253 cross_root
=`dirname $cross_root`
27255 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27256 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27257 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
27259 if test -z "$PKG_CONFIG_PATH"; then
27260 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27261 export PKG_CONFIG_PATH
27264 if test -z "$x_includes" -o "$x_includes" = NONE
; then
27267 for ac_dir
in $SEARCH_INCLUDE /usr
/include
27269 if test -f "$ac_dir/X11/Intrinsic.h"; then
27270 ac_find_includes
=$ac_dir
27275 x_includes
=$ac_find_includes
27277 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
27280 for ac_dir
in $SEARCH_LIB
27282 for ac_extension
in a so sl dylib dll.a
; do
27283 if test -f "$ac_dir/libXt.$ac_extension"; then
27284 ac_find_libraries
=$ac_dir
27290 x_libraries
=$ac_find_libraries
27296 cat >confcache
<<\_ACEOF
27297 # This file is a shell script that caches the results of configure
27298 # tests run on this system so they can be shared between configure
27299 # scripts and configure runs, see configure's option --config-cache.
27300 # It is not useful on other systems. If it contains results you don't
27301 # want to keep, you may remove or edit it.
27303 # config.status only pays attention to the cache file if you give it
27304 # the --recheck option to rerun configure.
27306 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27307 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27308 # following values.
27312 # The following way of writing the cache mishandles newlines in values,
27313 # but we know of no workaround that is simple, portable, and efficient.
27314 # So, we kill variables containing newlines.
27315 # Ultrix sh set writes to stderr and can't be redirected directly,
27316 # and sets the high bit in the cache file unless we assign to the vars.
27318 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27319 eval ac_val
=\$
$ac_var
27323 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27324 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27327 _
| IFS
| as_nl
) ;; #(
27328 *) $as_unset $ac_var ;;
27334 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27335 *${as_nl}ac_space
=\
*)
27336 # `set' does not quote correctly, so add quotes (double-quote
27337 # substitution turns \\\\ into \\, and sed turns \\ into \).
27340 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27343 # `set' quotes correctly as required by POSIX, so do not add quotes.
27344 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27353 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27355 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27357 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27358 if test -w "$cache_file"; then
27359 test "x$cache_file" != "x/dev/null" &&
27360 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27361 echo "$as_me: updating cache $cache_file" >&6;}
27362 cat confcache
>$cache_file
27364 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27365 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27375 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27376 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27378 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27379 echo $ECHO_N "(cached) $ECHO_C" >&6
27381 cat >conftest.
$ac_ext <<_ACEOF
27384 cat confdefs.h
>>conftest.
$ac_ext
27385 cat >>conftest.
$ac_ext <<_ACEOF
27386 /* end confdefs.h. */
27387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27389 #define $ac_func innocuous_$ac_func
27391 /* System header to define __stub macros and hopefully few prototypes,
27392 which can conflict with char $ac_func (); below.
27393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27394 <limits.h> exists even on freestanding compilers. */
27397 # include <limits.h>
27399 # include <assert.h>
27404 /* Override any GCC internal prototype to avoid an error.
27405 Use char because int might match the return type of a GCC
27406 builtin and then its argument prototype would still apply. */
27411 /* The GNU C library defines this for functions which it implements
27412 to always fail with ENOSYS. Some functions are actually named
27413 something starting with __ and the normal name is an alias. */
27414 #if defined __stub_$ac_func || defined __stub___$ac_func
27421 return $ac_func ();
27426 rm -f conftest.
$ac_objext conftest
$ac_exeext
27427 if { (ac_try
="$ac_link"
27428 case "(($ac_try" in
27429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27430 *) ac_try_echo=$ac_try;;
27432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27433 (eval "$ac_link") 2>conftest.er1
27435 grep -v '^ *+' conftest.er1 >conftest.err
27437 cat conftest.err >&5
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); } && {
27440 test -z "$ac_c_werror_flag" ||
27441 test ! -s conftest.err
27442 } && test -s conftest$ac_exeext &&
27443 $as_test_x conftest$ac_exeext; then
27444 eval "$as_ac_var=yes"
27446 echo "$as_me: failed program was:" >&5
27447 sed 's/^/| /' conftest.$ac_ext >&5
27449 eval "$as_ac_var=no"
27452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27453 conftest$ac_exeext conftest.$ac_ext
27455 ac_res=`eval echo '${'$as_ac_var'}'`
27456 { echo "$as_me:$LINENO: result: $ac_res" >&5
27457 echo "${ECHO_T}$ac_res" >&6; }
27458 if test `eval echo '${'$as_ac_var'}'` = yes; then
27459 cat >>confdefs.h <<_ACEOF
27460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27467 for ac_func in floor
27469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27470 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27472 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27473 echo $ECHO_N "(cached) $ECHO_C" >&6
27475 cat >conftest.$ac_ext <<_ACEOF
27478 cat confdefs.h >>conftest.$ac_ext
27479 cat >>conftest.$ac_ext <<_ACEOF
27480 /* end confdefs.h. */
27481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27483 #define $ac_func innocuous_$ac_func
27485 /* System header to define __stub macros and hopefully few prototypes,
27486 which can conflict with char $ac_func (); below.
27487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27488 <limits.h> exists even on freestanding compilers. */
27491 # include <limits.h>
27493 # include <assert.h>
27498 /* Override any GCC internal prototype to avoid an error.
27499 Use char because int might match the return type of a GCC
27500 builtin and then its argument prototype would still apply. */
27505 /* The GNU C library defines this for functions which it implements
27506 to always fail with ENOSYS. Some functions are actually named
27507 something starting with __ and the normal name is an alias. */
27508 #if defined __stub_$ac_func || defined __stub___$ac_func
27515 return $ac_func ();
27520 rm -f conftest.$ac_objext conftest$ac_exeext
27521 if { (ac_try="$ac_link"
27522 case "(($ac_try" in
27523 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27524 *) ac_try_echo
=$ac_try;;
27526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27527 (eval "$ac_link") 2>conftest.er1
27529 grep -v '^ *+' conftest.er1
>conftest.err
27531 cat conftest.err
>&5
27532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27533 (exit $ac_status); } && {
27534 test -z "$ac_c_werror_flag" ||
27535 test ! -s conftest.err
27536 } && test -s conftest
$ac_exeext &&
27537 $as_test_x conftest
$ac_exeext; then
27538 eval "$as_ac_var=yes"
27540 echo "$as_me: failed program was:" >&5
27541 sed 's/^/| /' conftest.
$ac_ext >&5
27543 eval "$as_ac_var=no"
27546 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27547 conftest
$ac_exeext conftest.
$ac_ext
27549 ac_res
=`eval echo '${'$as_ac_var'}'`
27550 { echo "$as_me:$LINENO: result: $ac_res" >&5
27551 echo "${ECHO_T}$ac_res" >&6; }
27552 if test `eval echo '${'$as_ac_var'}'` = yes; then
27553 cat >>confdefs.h
<<_ACEOF
27554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27560 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27561 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27562 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27563 { echo "$as_me:$LINENO: result: yes" >&5
27564 echo "${ECHO_T}yes" >&6; }
27566 { echo "$as_me:$LINENO: result: no" >&5
27567 echo "${ECHO_T}no" >&6; }
27569 # use different functions to avoid configure caching
27575 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27576 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27578 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27579 echo $ECHO_N "(cached) $ECHO_C" >&6
27581 cat >conftest.
$ac_ext <<_ACEOF
27584 cat confdefs.h
>>conftest.
$ac_ext
27585 cat >>conftest.
$ac_ext <<_ACEOF
27586 /* end confdefs.h. */
27587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27589 #define $ac_func innocuous_$ac_func
27591 /* System header to define __stub macros and hopefully few prototypes,
27592 which can conflict with char $ac_func (); below.
27593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27594 <limits.h> exists even on freestanding compilers. */
27597 # include <limits.h>
27599 # include <assert.h>
27604 /* Override any GCC internal prototype to avoid an error.
27605 Use char because int might match the return type of a GCC
27606 builtin and then its argument prototype would still apply. */
27611 /* The GNU C library defines this for functions which it implements
27612 to always fail with ENOSYS. Some functions are actually named
27613 something starting with __ and the normal name is an alias. */
27614 #if defined __stub_$ac_func || defined __stub___$ac_func
27621 return $ac_func ();
27626 rm -f conftest.
$ac_objext conftest
$ac_exeext
27627 if { (ac_try
="$ac_link"
27628 case "(($ac_try" in
27629 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27630 *) ac_try_echo=$ac_try;;
27632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27633 (eval "$ac_link") 2>conftest.er1
27635 grep -v '^ *+' conftest.er1 >conftest.err
27637 cat conftest.err >&5
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); } && {
27640 test -z "$ac_c_werror_flag" ||
27641 test ! -s conftest.err
27642 } && test -s conftest$ac_exeext &&
27643 $as_test_x conftest$ac_exeext; then
27644 eval "$as_ac_var=yes"
27646 echo "$as_me: failed program was:" >&5
27647 sed 's/^/| /' conftest.$ac_ext >&5
27649 eval "$as_ac_var=no"
27652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27653 conftest$ac_exeext conftest.$ac_ext
27655 ac_res=`eval echo '${'$as_ac_var'}'`
27656 { echo "$as_me:$LINENO: result: $ac_res" >&5
27657 echo "${ECHO_T}$ac_res" >&6; }
27658 if test `eval echo '${'$as_ac_var'}'` = yes; then
27659 cat >>confdefs.h <<_ACEOF
27660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27667 for ac_func in ceil
27669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27670 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27672 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27673 echo $ECHO_N "(cached) $ECHO_C" >&6
27675 cat >conftest.$ac_ext <<_ACEOF
27678 cat confdefs.h >>conftest.$ac_ext
27679 cat >>conftest.$ac_ext <<_ACEOF
27680 /* end confdefs.h. */
27681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27683 #define $ac_func innocuous_$ac_func
27685 /* System header to define __stub macros and hopefully few prototypes,
27686 which can conflict with char $ac_func (); below.
27687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27688 <limits.h> exists even on freestanding compilers. */
27691 # include <limits.h>
27693 # include <assert.h>
27698 /* Override any GCC internal prototype to avoid an error.
27699 Use char because int might match the return type of a GCC
27700 builtin and then its argument prototype would still apply. */
27705 /* The GNU C library defines this for functions which it implements
27706 to always fail with ENOSYS. Some functions are actually named
27707 something starting with __ and the normal name is an alias. */
27708 #if defined __stub_$ac_func || defined __stub___$ac_func
27715 return $ac_func ();
27720 rm -f conftest.$ac_objext conftest$ac_exeext
27721 if { (ac_try="$ac_link"
27722 case "(($ac_try" in
27723 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27724 *) ac_try_echo
=$ac_try;;
27726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27727 (eval "$ac_link") 2>conftest.er1
27729 grep -v '^ *+' conftest.er1
>conftest.err
27731 cat conftest.err
>&5
27732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27733 (exit $ac_status); } && {
27734 test -z "$ac_c_werror_flag" ||
27735 test ! -s conftest.err
27736 } && test -s conftest
$ac_exeext &&
27737 $as_test_x conftest
$ac_exeext; then
27738 eval "$as_ac_var=yes"
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.
$ac_ext >&5
27743 eval "$as_ac_var=no"
27746 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27747 conftest
$ac_exeext conftest.
$ac_ext
27749 ac_res
=`eval echo '${'$as_ac_var'}'`
27750 { echo "$as_me:$LINENO: result: $ac_res" >&5
27751 echo "${ECHO_T}$ac_res" >&6; }
27752 if test `eval echo '${'$as_ac_var'}'` = yes; then
27753 cat >>confdefs.h
<<_ACEOF
27754 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27760 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27761 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27762 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27763 { echo "$as_me:$LINENO: result: yes" >&5
27764 echo "${ECHO_T}yes" >&6; }
27766 { echo "$as_me:$LINENO: result: no" >&5
27767 echo "${ECHO_T}no" >&6; }
27768 # not sure we should warn the user, crash, etc.
27773 ac_cpp
='$CXXCPP $CPPFLAGS'
27774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
27778 if test "wxUSE_UNICODE" = "yes"; then
27780 for wx_func
in wcstoull
27782 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27783 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27784 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27785 echo $ECHO_N "(cached) $ECHO_C" >&6
27788 cat >conftest.
$ac_ext <<_ACEOF
27792 cat confdefs.h
>>conftest.
$ac_ext
27793 cat >>conftest.
$ac_ext <<_ACEOF
27794 /* end confdefs.h. */
27797 $ac_includes_default
27813 rm -f conftest.
$ac_objext conftest
$ac_exeext
27814 if { (ac_try
="$ac_link"
27815 case "(($ac_try" in
27816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27817 *) ac_try_echo=$ac_try;;
27819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27820 (eval "$ac_link") 2>conftest.er1
27822 grep -v '^ *+' conftest.er1 >conftest.err
27824 cat conftest.err >&5
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); } && {
27827 test -z "$ac_cxx_werror_flag" ||
27828 test ! -s conftest.err
27829 } && test -s conftest$ac_exeext &&
27830 $as_test_x conftest$ac_exeext; then
27831 eval wx_cv_func_$wx_func=yes
27833 echo "$as_me: failed program was:" >&5
27834 sed 's/^/| /' conftest.$ac_ext >&5
27836 eval wx_cv_func_$wx_func=no
27839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27840 conftest$ac_exeext conftest.$ac_ext
27843 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27844 { echo "$as_me:$LINENO: result: $ac_res" >&5
27845 echo "${ECHO_T}$ac_res" >&6; }
27847 if eval test \$wx_cv_func_$wx_func = yes
27849 cat >>confdefs.h <<_ACEOF
27850 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27862 for wx_func in strtoull
27864 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27865 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27866 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27867 echo $ECHO_N "(cached) $ECHO_C" >&6
27870 cat >conftest.$ac_ext <<_ACEOF
27874 cat confdefs.h >>conftest.$ac_ext
27875 cat >>conftest.$ac_ext <<_ACEOF
27876 /* end confdefs.h. */
27879 $ac_includes_default
27895 rm -f conftest.$ac_objext conftest$ac_exeext
27896 if { (ac_try="$ac_link"
27897 case "(($ac_try" in
27898 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27899 *) ac_try_echo
=$ac_try;;
27901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27902 (eval "$ac_link") 2>conftest.er1
27904 grep -v '^ *+' conftest.er1
>conftest.err
27906 cat conftest.err
>&5
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); } && {
27909 test -z "$ac_cxx_werror_flag" ||
27910 test ! -s conftest.err
27911 } && test -s conftest
$ac_exeext &&
27912 $as_test_x conftest
$ac_exeext; then
27913 eval wx_cv_func_
$wx_func=yes
27915 echo "$as_me: failed program was:" >&5
27916 sed 's/^/| /' conftest.
$ac_ext >&5
27918 eval wx_cv_func_
$wx_func=no
27921 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27922 conftest
$ac_exeext conftest.
$ac_ext
27925 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27926 { echo "$as_me:$LINENO: result: $ac_res" >&5
27927 echo "${ECHO_T}$ac_res" >&6; }
27929 if eval test \
$wx_cv_func_$wx_func = yes
27931 cat >>confdefs.h
<<_ACEOF
27932 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27944 ac_cpp
='$CPP $CPPFLAGS'
27945 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27946 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27947 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27952 if test "$wxUSE_REGEX" != "no"; then
27953 cat >>confdefs.h
<<\_ACEOF
27954 #define wxUSE_REGEX 1
27958 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27959 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27960 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27961 wxUSE_REGEX
=builtin
27964 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27965 { echo "$as_me:$LINENO: checking for regex.h" >&5
27966 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27967 if test "${ac_cv_header_regex_h+set}" = set; then
27968 echo $ECHO_N "(cached) $ECHO_C" >&6
27970 cat >conftest.
$ac_ext <<_ACEOF
27973 cat confdefs.h
>>conftest.
$ac_ext
27974 cat >>conftest.
$ac_ext <<_ACEOF
27975 /* end confdefs.h. */
27980 rm -f conftest.
$ac_objext
27981 if { (ac_try
="$ac_compile"
27982 case "(($ac_try" in
27983 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27984 *) ac_try_echo=$ac_try;;
27986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27987 (eval "$ac_compile") 2>conftest.er1
27989 grep -v '^ *+' conftest.er1 >conftest.err
27991 cat conftest.err >&5
27992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27993 (exit $ac_status); } && {
27994 test -z "$ac_c_werror_flag" ||
27995 test ! -s conftest.err
27996 } && test -s conftest.$ac_objext; then
27997 ac_cv_header_regex_h=yes
27999 echo "$as_me: failed program was:" >&5
28000 sed 's/^/| /' conftest.$ac_ext >&5
28002 ac_cv_header_regex_h=no
28005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28007 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
28008 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
28009 if test $ac_cv_header_regex_h = yes; then
28012 for ac_func in regcomp re_search
28014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28015 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28017 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28018 echo $ECHO_N "(cached) $ECHO_C" >&6
28020 cat >conftest.$ac_ext <<_ACEOF
28023 cat confdefs.h >>conftest.$ac_ext
28024 cat >>conftest.$ac_ext <<_ACEOF
28025 /* end confdefs.h. */
28026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28028 #define $ac_func innocuous_$ac_func
28030 /* System header to define __stub macros and hopefully few prototypes,
28031 which can conflict with char $ac_func (); below.
28032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28033 <limits.h> exists even on freestanding compilers. */
28036 # include <limits.h>
28038 # include <assert.h>
28043 /* Override any GCC internal prototype to avoid an error.
28044 Use char because int might match the return type of a GCC
28045 builtin and then its argument prototype would still apply. */
28050 /* The GNU C library defines this for functions which it implements
28051 to always fail with ENOSYS. Some functions are actually named
28052 something starting with __ and the normal name is an alias. */
28053 #if defined __stub_$ac_func || defined __stub___$ac_func
28060 return $ac_func ();
28065 rm -f conftest.$ac_objext conftest$ac_exeext
28066 if { (ac_try="$ac_link"
28067 case "(($ac_try" in
28068 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28069 *) ac_try_echo
=$ac_try;;
28071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28072 (eval "$ac_link") 2>conftest.er1
28074 grep -v '^ *+' conftest.er1
>conftest.err
28076 cat conftest.err
>&5
28077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28078 (exit $ac_status); } && {
28079 test -z "$ac_c_werror_flag" ||
28080 test ! -s conftest.err
28081 } && test -s conftest
$ac_exeext &&
28082 $as_test_x conftest
$ac_exeext; then
28083 eval "$as_ac_var=yes"
28085 echo "$as_me: failed program was:" >&5
28086 sed 's/^/| /' conftest.
$ac_ext >&5
28088 eval "$as_ac_var=no"
28091 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28092 conftest
$ac_exeext conftest.
$ac_ext
28094 ac_res
=`eval echo '${'$as_ac_var'}'`
28095 { echo "$as_me:$LINENO: result: $ac_res" >&5
28096 echo "${ECHO_T}$ac_res" >&6; }
28097 if test `eval echo '${'$as_ac_var'}'` = yes; then
28098 cat >>confdefs.h
<<_ACEOF
28099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28109 if test "x$ac_cv_func_regcomp" != "xyes"; then
28110 if test "$wxUSE_REGEX" = "sys" ; then
28111 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28112 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28113 { (exit 1); exit 1; }; }
28115 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28116 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28117 wxUSE_REGEX
=builtin
28121 cat >>confdefs.h
<<\_ACEOF
28122 #define WX_NO_REGEX_ADVANCED 1
28131 if test "$wxUSE_ZLIB" != "no" ; then
28132 cat >>confdefs.h
<<\_ACEOF
28133 #define wxUSE_ZLIB 1
28137 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28138 if test "$USE_DARWIN" = 1; then
28139 system_zlib_h_ok
="yes"
28141 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28142 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28143 if test "${ac_cv_header_zlib_h+set}" = set; then
28144 echo $ECHO_N "(cached) $ECHO_C" >&6
28146 if test "$cross_compiling" = yes; then
28147 unset ac_cv_header_zlib_h
28150 cat >conftest.
$ac_ext <<_ACEOF
28153 cat confdefs.h
>>conftest.
$ac_ext
28154 cat >>conftest.
$ac_ext <<_ACEOF
28155 /* end confdefs.h. */
28162 FILE *f=fopen("conftestval", "w");
28165 ZLIB_VERSION[0] == '1' &&
28166 (ZLIB_VERSION[2] > '1' ||
28167 (ZLIB_VERSION[2] == '1' &&
28168 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28173 rm -f conftest
$ac_exeext
28174 if { (ac_try
="$ac_link"
28175 case "(($ac_try" in
28176 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28177 *) ac_try_echo=$ac_try;;
28179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28180 (eval "$ac_link") 2>&5
28182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28183 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28184 { (case "(($ac_try" in
28185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28186 *) ac_try_echo
=$ac_try;;
28188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28189 (eval "$ac_try") 2>&5
28191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28192 (exit $ac_status); }; }; then
28193 ac_cv_header_zlib_h
=`cat conftestval`
28195 echo "$as_me: program exited with status $ac_status" >&5
28196 echo "$as_me: failed program was:" >&5
28197 sed 's/^/| /' conftest.
$ac_ext >&5
28199 ( exit $ac_status )
28200 ac_cv_header_zlib_h
=no
28202 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28208 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28209 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28210 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28211 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28212 if test "${ac_cv_header_zlib_h+set}" = set; then
28213 echo $ECHO_N "(cached) $ECHO_C" >&6
28215 cat >conftest.
$ac_ext <<_ACEOF
28218 cat confdefs.h
>>conftest.
$ac_ext
28219 cat >>conftest.
$ac_ext <<_ACEOF
28220 /* end confdefs.h. */
28225 rm -f conftest.
$ac_objext
28226 if { (ac_try
="$ac_compile"
28227 case "(($ac_try" in
28228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28229 *) ac_try_echo=$ac_try;;
28231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28232 (eval "$ac_compile") 2>conftest.er1
28234 grep -v '^ *+' conftest.er1 >conftest.err
28236 cat conftest.err >&5
28237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238 (exit $ac_status); } && {
28239 test -z "$ac_c_werror_flag" ||
28240 test ! -s conftest.err
28241 } && test -s conftest.$ac_objext; then
28242 ac_cv_header_zlib_h=yes
28244 echo "$as_me: failed program was:" >&5
28245 sed 's/^/| /' conftest.$ac_ext >&5
28247 ac_cv_header_zlib_h=no
28250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28252 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28253 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28257 system_zlib_h_ok=$ac_cv_header_zlib_h
28260 if test "$system_zlib_h_ok" = "yes"; then
28261 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28262 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28263 if test "${ac_cv_lib_z_deflate+set}" = set; then
28264 echo $ECHO_N "(cached) $ECHO_C" >&6
28266 ac_check_lib_save_LIBS=$LIBS
28268 cat >conftest.$ac_ext <<_ACEOF
28271 cat confdefs.h >>conftest.$ac_ext
28272 cat >>conftest.$ac_ext <<_ACEOF
28273 /* end confdefs.h. */
28275 /* Override any GCC internal prototype to avoid an error.
28276 Use char because int might match the return type of a GCC
28277 builtin and then its argument prototype would still apply. */
28290 rm -f conftest.$ac_objext conftest$ac_exeext
28291 if { (ac_try="$ac_link"
28292 case "(($ac_try" in
28293 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28294 *) ac_try_echo
=$ac_try;;
28296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28297 (eval "$ac_link") 2>conftest.er1
28299 grep -v '^ *+' conftest.er1
>conftest.err
28301 cat conftest.err
>&5
28302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28303 (exit $ac_status); } && {
28304 test -z "$ac_c_werror_flag" ||
28305 test ! -s conftest.err
28306 } && test -s conftest
$ac_exeext &&
28307 $as_test_x conftest
$ac_exeext; then
28308 ac_cv_lib_z_deflate
=yes
28310 echo "$as_me: failed program was:" >&5
28311 sed 's/^/| /' conftest.
$ac_ext >&5
28313 ac_cv_lib_z_deflate
=no
28316 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28317 conftest
$ac_exeext conftest.
$ac_ext
28318 LIBS
=$ac_check_lib_save_LIBS
28320 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28321 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28322 if test $ac_cv_lib_z_deflate = yes; then
28328 if test "x$ZLIB_LINK" = "x" ; then
28329 if test "$wxUSE_ZLIB" = "sys" ; then
28330 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28331 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28332 { (exit 1); exit 1; }; }
28334 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28335 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28346 if test "$wxUSE_LIBPNG" != "no" ; then
28347 cat >>confdefs.h
<<\_ACEOF
28348 #define wxUSE_LIBPNG 1
28352 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28353 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28354 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28355 wxUSE_LIBPNG
=builtin
28358 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28359 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28360 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28361 if test "${ac_cv_header_png_h+set}" = set; then
28362 echo $ECHO_N "(cached) $ECHO_C" >&6
28364 if test "$cross_compiling" = yes; then
28365 unset ac_cv_header_png_h
28368 cat >conftest.
$ac_ext <<_ACEOF
28371 cat confdefs.h
>>conftest.
$ac_ext
28372 cat >>conftest.
$ac_ext <<_ACEOF
28373 /* end confdefs.h. */
28380 FILE *f=fopen("conftestval", "w");
28383 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28388 rm -f conftest
$ac_exeext
28389 if { (ac_try
="$ac_link"
28390 case "(($ac_try" in
28391 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28392 *) ac_try_echo=$ac_try;;
28394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28395 (eval "$ac_link") 2>&5
28397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28399 { (case "(($ac_try" in
28400 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28401 *) ac_try_echo
=$ac_try;;
28403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28404 (eval "$ac_try") 2>&5
28406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28407 (exit $ac_status); }; }; then
28408 ac_cv_header_png_h
=`cat conftestval`
28410 echo "$as_me: program exited with status $ac_status" >&5
28411 echo "$as_me: failed program was:" >&5
28412 sed 's/^/| /' conftest.
$ac_ext >&5
28414 ( exit $ac_status )
28415 ac_cv_header_png_h
=no
28417 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
28423 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28424 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28425 { echo "$as_me:$LINENO: checking for png.h" >&5
28426 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28427 if test "${ac_cv_header_png_h+set}" = set; then
28428 echo $ECHO_N "(cached) $ECHO_C" >&6
28430 cat >conftest.
$ac_ext <<_ACEOF
28433 cat confdefs.h
>>conftest.
$ac_ext
28434 cat >>conftest.
$ac_ext <<_ACEOF
28435 /* end confdefs.h. */
28440 rm -f conftest.
$ac_objext
28441 if { (ac_try
="$ac_compile"
28442 case "(($ac_try" in
28443 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28444 *) ac_try_echo=$ac_try;;
28446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28447 (eval "$ac_compile") 2>conftest.er1
28449 grep -v '^ *+' conftest.er1 >conftest.err
28451 cat conftest.err >&5
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); } && {
28454 test -z "$ac_c_werror_flag" ||
28455 test ! -s conftest.err
28456 } && test -s conftest.$ac_objext; then
28457 ac_cv_header_png_h=yes
28459 echo "$as_me: failed program was:" >&5
28460 sed 's/^/| /' conftest.$ac_ext >&5
28462 ac_cv_header_png_h=no
28465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28467 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28468 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28472 if test "$ac_cv_header_png_h" = "yes"; then
28473 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28474 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28475 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28476 echo $ECHO_N "(cached) $ECHO_C" >&6
28478 ac_check_lib_save_LIBS=$LIBS
28479 LIBS="-lpng -lz -lm $LIBS"
28480 cat >conftest.$ac_ext <<_ACEOF
28483 cat confdefs.h >>conftest.$ac_ext
28484 cat >>conftest.$ac_ext <<_ACEOF
28485 /* end confdefs.h. */
28487 /* Override any GCC internal prototype to avoid an error.
28488 Use char because int might match the return type of a GCC
28489 builtin and then its argument prototype would still apply. */
28493 char png_sig_cmp ();
28497 return png_sig_cmp ();
28502 rm -f conftest.$ac_objext conftest$ac_exeext
28503 if { (ac_try="$ac_link"
28504 case "(($ac_try" in
28505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28506 *) ac_try_echo
=$ac_try;;
28508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28509 (eval "$ac_link") 2>conftest.er1
28511 grep -v '^ *+' conftest.er1
>conftest.err
28513 cat conftest.err
>&5
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); } && {
28516 test -z "$ac_c_werror_flag" ||
28517 test ! -s conftest.err
28518 } && test -s conftest
$ac_exeext &&
28519 $as_test_x conftest
$ac_exeext; then
28520 ac_cv_lib_png_png_sig_cmp
=yes
28522 echo "$as_me: failed program was:" >&5
28523 sed 's/^/| /' conftest.
$ac_ext >&5
28525 ac_cv_lib_png_png_sig_cmp
=no
28528 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28529 conftest
$ac_exeext conftest.
$ac_ext
28530 LIBS
=$ac_check_lib_save_LIBS
28532 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28533 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28534 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28535 PNG_LINK
=" -lpng -lz"
28540 if test "x$PNG_LINK" = "x" ; then
28541 if test "$wxUSE_LIBPNG" = "sys" ; then
28542 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28543 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28544 { (exit 1); exit 1; }; }
28546 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28547 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28548 wxUSE_LIBPNG
=builtin
28558 if test "$wxUSE_LIBJPEG" != "no" ; then
28559 cat >>confdefs.h
<<\_ACEOF
28560 #define wxUSE_LIBJPEG 1
28564 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28565 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28566 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28567 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28568 echo $ECHO_N "(cached) $ECHO_C" >&6
28570 cat >conftest.
$ac_ext <<_ACEOF
28573 cat confdefs.h
>>conftest.
$ac_ext
28574 cat >>conftest.
$ac_ext <<_ACEOF
28575 /* end confdefs.h. */
28577 #undef HAVE_STDLIB_H
28579 #include <jpeglib.h>
28590 rm -f conftest.
$ac_objext
28591 if { (ac_try
="$ac_compile"
28592 case "(($ac_try" in
28593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28594 *) ac_try_echo=$ac_try;;
28596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28597 (eval "$ac_compile") 2>conftest.er1
28599 grep -v '^ *+' conftest.er1 >conftest.err
28601 cat conftest.err >&5
28602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28603 (exit $ac_status); } && {
28604 test -z "$ac_c_werror_flag" ||
28605 test ! -s conftest.err
28606 } && test -s conftest.$ac_objext; then
28607 ac_cv_header_jpeglib_h=yes
28609 echo "$as_me: failed program was:" >&5
28610 sed 's/^/| /' conftest.$ac_ext >&5
28612 ac_cv_header_jpeglib_h=no
28616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28620 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28621 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28623 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28624 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28625 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28626 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28627 echo $ECHO_N "(cached) $ECHO_C" >&6
28629 ac_check_lib_save_LIBS=$LIBS
28630 LIBS="-ljpeg $LIBS"
28631 cat >conftest.$ac_ext <<_ACEOF
28634 cat confdefs.h >>conftest.$ac_ext
28635 cat >>conftest.$ac_ext <<_ACEOF
28636 /* end confdefs.h. */
28638 /* Override any GCC internal prototype to avoid an error.
28639 Use char because int might match the return type of a GCC
28640 builtin and then its argument prototype would still apply. */
28644 char jpeg_read_header ();
28648 return jpeg_read_header ();
28653 rm -f conftest.$ac_objext conftest$ac_exeext
28654 if { (ac_try="$ac_link"
28655 case "(($ac_try" in
28656 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28657 *) ac_try_echo
=$ac_try;;
28659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28660 (eval "$ac_link") 2>conftest.er1
28662 grep -v '^ *+' conftest.er1
>conftest.err
28664 cat conftest.err
>&5
28665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28666 (exit $ac_status); } && {
28667 test -z "$ac_c_werror_flag" ||
28668 test ! -s conftest.err
28669 } && test -s conftest
$ac_exeext &&
28670 $as_test_x conftest
$ac_exeext; then
28671 ac_cv_lib_jpeg_jpeg_read_header
=yes
28673 echo "$as_me: failed program was:" >&5
28674 sed 's/^/| /' conftest.
$ac_ext >&5
28676 ac_cv_lib_jpeg_jpeg_read_header
=no
28679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
28680 conftest
$ac_exeext conftest.
$ac_ext
28681 LIBS
=$ac_check_lib_save_LIBS
28683 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28684 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28685 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28686 JPEG_LINK
=" -ljpeg"
28691 if test "x$JPEG_LINK" = "x" ; then
28692 if test "$wxUSE_LIBJPEG" = "sys" ; then
28693 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28694 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28695 { (exit 1); exit 1; }; }
28697 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28698 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28699 wxUSE_LIBJPEG
=builtin
28704 if test "$wxUSE_MSW" = 1; then
28705 { echo "$as_me:$LINENO: checking for boolean" >&5
28706 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28707 if test "${ac_cv_type_boolean+set}" = set; then
28708 echo $ECHO_N "(cached) $ECHO_C" >&6
28710 cat >conftest.
$ac_ext <<_ACEOF
28713 cat confdefs.h
>>conftest.
$ac_ext
28714 cat >>conftest.
$ac_ext <<_ACEOF
28715 /* end confdefs.h. */
28716 #include <windows.h>
28718 typedef boolean ac__type_new_;
28722 if ((ac__type_new_ *) 0)
28724 if (sizeof (ac__type_new_))
28730 rm -f conftest.
$ac_objext
28731 if { (ac_try
="$ac_compile"
28732 case "(($ac_try" in
28733 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28734 *) ac_try_echo=$ac_try;;
28736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28737 (eval "$ac_compile") 2>conftest.er1
28739 grep -v '^ *+' conftest.er1 >conftest.err
28741 cat conftest.err >&5
28742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28743 (exit $ac_status); } && {
28744 test -z "$ac_c_werror_flag" ||
28745 test ! -s conftest.err
28746 } && test -s conftest.$ac_objext; then
28747 ac_cv_type_boolean=yes
28749 echo "$as_me: failed program was:" >&5
28750 sed 's/^/| /' conftest.$ac_ext >&5
28752 ac_cv_type_boolean=no
28755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28757 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28758 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28759 if test $ac_cv_type_boolean = yes; then
28761 cat >>confdefs.h <<_ACEOF
28762 #define HAVE_BOOLEAN 1
28766 { echo "$as_me:$LINENO: checking for boolean" >&5
28767 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28768 if test "${ac_cv_type_boolean+set}" = set; then
28769 echo $ECHO_N "(cached) $ECHO_C" >&6
28771 cat >conftest.$ac_ext <<_ACEOF
28774 cat confdefs.h >>conftest.$ac_ext
28775 cat >>conftest.$ac_ext <<_ACEOF
28776 /* end confdefs.h. */
28778 #undef HAVE_BOOLEAN
28780 #include <jpeglib.h>
28783 typedef boolean ac__type_new_;
28787 if ((ac__type_new_ *) 0)
28789 if (sizeof (ac__type_new_))
28795 rm -f conftest.$ac_objext
28796 if { (ac_try="$ac_compile"
28797 case "(($ac_try" in
28798 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28799 *) ac_try_echo
=$ac_try;;
28801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28802 (eval "$ac_compile") 2>conftest.er1
28804 grep -v '^ *+' conftest.er1
>conftest.err
28806 cat conftest.err
>&5
28807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808 (exit $ac_status); } && {
28809 test -z "$ac_c_werror_flag" ||
28810 test ! -s conftest.err
28811 } && test -s conftest.
$ac_objext; then
28812 ac_cv_type_boolean
=yes
28814 echo "$as_me: failed program was:" >&5
28815 sed 's/^/| /' conftest.
$ac_ext >&5
28817 ac_cv_type_boolean
=no
28820 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28822 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28823 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28825 # The cast to long int works around a bug in the HP C Compiler
28826 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28827 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
28828 # This bug is HP SR number 8606223364.
28829 { echo "$as_me:$LINENO: checking size of boolean" >&5
28830 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28831 if test "${ac_cv_sizeof_boolean+set}" = set; then
28832 echo $ECHO_N "(cached) $ECHO_C" >&6
28834 if test "$cross_compiling" = yes; then
28835 # Depending upon the size, compute the lo and hi bounds.
28836 cat >conftest.
$ac_ext <<_ACEOF
28839 cat confdefs.h
>>conftest.
$ac_ext
28840 cat >>conftest.
$ac_ext <<_ACEOF
28841 /* end confdefs.h. */
28843 #undef HAVE_BOOLEAN
28845 #include <jpeglib.h>
28848 typedef boolean ac__type_sizeof_;
28852 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28859 rm -f conftest.
$ac_objext
28860 if { (ac_try
="$ac_compile"
28861 case "(($ac_try" in
28862 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28863 *) ac_try_echo=$ac_try;;
28865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28866 (eval "$ac_compile") 2>conftest.er1
28868 grep -v '^ *+' conftest.er1 >conftest.err
28870 cat conftest.err >&5
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); } && {
28873 test -z "$ac_c_werror_flag" ||
28874 test ! -s conftest.err
28875 } && test -s conftest.$ac_objext; then
28878 cat >conftest.$ac_ext <<_ACEOF
28881 cat confdefs.h >>conftest.$ac_ext
28882 cat >>conftest.$ac_ext <<_ACEOF
28883 /* end confdefs.h. */
28885 #undef HAVE_BOOLEAN
28887 #include <jpeglib.h>
28890 typedef boolean ac__type_sizeof_;
28894 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28901 rm -f conftest.$ac_objext
28902 if { (ac_try="$ac_compile"
28903 case "(($ac_try" in
28904 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28905 *) ac_try_echo
=$ac_try;;
28907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28908 (eval "$ac_compile") 2>conftest.er1
28910 grep -v '^ *+' conftest.er1
>conftest.err
28912 cat conftest.err
>&5
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); } && {
28915 test -z "$ac_c_werror_flag" ||
28916 test ! -s conftest.err
28917 } && test -s conftest.
$ac_objext; then
28918 ac_hi
=$ac_mid; break
28920 echo "$as_me: failed program was:" >&5
28921 sed 's/^/| /' conftest.
$ac_ext >&5
28923 ac_lo
=`expr $ac_mid + 1`
28924 if test $ac_lo -le $ac_mid; then
28928 ac_mid
=`expr 2 '*' $ac_mid + 1`
28931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28934 echo "$as_me: failed program was:" >&5
28935 sed 's/^/| /' conftest.
$ac_ext >&5
28937 cat >conftest.
$ac_ext <<_ACEOF
28940 cat confdefs.h
>>conftest.
$ac_ext
28941 cat >>conftest.
$ac_ext <<_ACEOF
28942 /* end confdefs.h. */
28944 #undef HAVE_BOOLEAN
28946 #include <jpeglib.h>
28949 typedef boolean ac__type_sizeof_;
28953 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28960 rm -f conftest.
$ac_objext
28961 if { (ac_try
="$ac_compile"
28962 case "(($ac_try" in
28963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28964 *) ac_try_echo=$ac_try;;
28966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28967 (eval "$ac_compile") 2>conftest.er1
28969 grep -v '^ *+' conftest.er1 >conftest.err
28971 cat conftest.err >&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); } && {
28974 test -z "$ac_c_werror_flag" ||
28975 test ! -s conftest.err
28976 } && test -s conftest.$ac_objext; then
28979 cat >conftest.$ac_ext <<_ACEOF
28982 cat confdefs.h >>conftest.$ac_ext
28983 cat >>conftest.$ac_ext <<_ACEOF
28984 /* end confdefs.h. */
28986 #undef HAVE_BOOLEAN
28988 #include <jpeglib.h>
28991 typedef boolean ac__type_sizeof_;
28995 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
29002 rm -f conftest.$ac_objext
29003 if { (ac_try="$ac_compile"
29004 case "(($ac_try" in
29005 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29006 *) ac_try_echo
=$ac_try;;
29008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29009 (eval "$ac_compile") 2>conftest.er1
29011 grep -v '^ *+' conftest.er1
>conftest.err
29013 cat conftest.err
>&5
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); } && {
29016 test -z "$ac_c_werror_flag" ||
29017 test ! -s conftest.err
29018 } && test -s conftest.
$ac_objext; then
29019 ac_lo
=$ac_mid; break
29021 echo "$as_me: failed program was:" >&5
29022 sed 's/^/| /' conftest.
$ac_ext >&5
29024 ac_hi
=`expr '(' $ac_mid ')' - 1`
29025 if test $ac_mid -le $ac_hi; then
29029 ac_mid
=`expr 2 '*' $ac_mid`
29032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29035 echo "$as_me: failed program was:" >&5
29036 sed 's/^/| /' conftest.
$ac_ext >&5
29041 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29045 # Binary search between lo and hi bounds.
29046 while test "x$ac_lo" != "x$ac_hi"; do
29047 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29048 cat >conftest.
$ac_ext <<_ACEOF
29051 cat confdefs.h
>>conftest.
$ac_ext
29052 cat >>conftest.
$ac_ext <<_ACEOF
29053 /* end confdefs.h. */
29055 #undef HAVE_BOOLEAN
29057 #include <jpeglib.h>
29060 typedef boolean ac__type_sizeof_;
29064 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29071 rm -f conftest.
$ac_objext
29072 if { (ac_try
="$ac_compile"
29073 case "(($ac_try" in
29074 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29075 *) ac_try_echo=$ac_try;;
29077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29078 (eval "$ac_compile") 2>conftest.er1
29080 grep -v '^ *+' conftest.er1 >conftest.err
29082 cat conftest.err >&5
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); } && {
29085 test -z "$ac_c_werror_flag" ||
29086 test ! -s conftest.err
29087 } && test -s conftest.$ac_objext; then
29090 echo "$as_me: failed program was:" >&5
29091 sed 's/^/| /' conftest.$ac_ext >&5
29093 ac_lo=`expr '(' $ac_mid ')' + 1`
29096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29099 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29100 '') if test "$ac_cv_type_boolean" = yes; then
29101 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29102 See \`config.log
' for more details." >&5
29103 echo "$as_me: error: cannot compute sizeof (boolean)
29104 See \`config.log' for more details.
" >&2;}
29105 { (exit 77); exit 77; }; }
29107 ac_cv_sizeof_boolean=0
29111 cat >conftest.$ac_ext <<_ACEOF
29114 cat confdefs.h >>conftest.$ac_ext
29115 cat >>conftest.$ac_ext <<_ACEOF
29116 /* end confdefs.h. */
29118 #undef HAVE_BOOLEAN
29120 #include <jpeglib.h>
29123 typedef boolean ac__type_sizeof_;
29124 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29125 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29127 #include <stdlib.h>
29132 FILE *f = fopen ("conftest.val
", "w
");
29135 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29137 long int i = longval ();
29138 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29140 fprintf (f, "%ld
\n", i);
29144 unsigned long int i = ulongval ();
29145 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29147 fprintf (f, "%lu
\n", i);
29149 return ferror (f) || fclose (f) != 0;
29155 rm -f conftest$ac_exeext
29156 if { (ac_try="$ac_link"
29157 case "(($ac_try" in
29158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29159 *) ac_try_echo=$ac_try;;
29161 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29162 (eval "$ac_link") 2>&5
29164 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29165 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29166 { (case "(($ac_try" in
29167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29168 *) ac_try_echo=$ac_try;;
29170 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29171 (eval "$ac_try") 2>&5
29173 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29174 (exit $ac_status); }; }; then
29175 ac_cv_sizeof_boolean=`cat conftest.val`
29177 echo "$as_me: program exited with status
$ac_status" >&5
29178 echo "$as_me: failed program was
:" >&5
29179 sed 's/^/| /' conftest.$ac_ext >&5
29181 ( exit $ac_status )
29182 if test "$ac_cv_type_boolean" = yes; then
29183 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(boolean
)
29184 See \
`config.log' for more details." >&5
29185 echo "$as_me: error: cannot compute sizeof (boolean)
29186 See \`config.log
' for more details." >&2;}
29187 { (exit 77); exit 77; }; }
29189 ac_cv_sizeof_boolean=0
29192 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29196 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
29197 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29201 cat >>confdefs.h <<_ACEOF
29202 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29206 cat >>confdefs.h <<_ACEOF
29207 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29220 TIFF_PREREQ_LINKS=-lm
29221 if test "$wxUSE_LIBTIFF" != "no" ; then
29222 cat >>confdefs.h <<\_ACEOF
29223 #define wxUSE_LIBTIFF 1
29227 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
29228 if test "$wxUSE_LIBJPEG" = "sys"; then
29229 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29231 if test "$wxUSE_ZLIB" = "sys"; then
29232 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29234 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
29235 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
29236 if test "${ac_cv_header_tiffio_h+set}" = set; then
29237 echo $ECHO_N "(cached) $ECHO_C" >&6
29239 cat >conftest.$ac_ext <<_ACEOF
29242 cat confdefs.h >>conftest.$ac_ext
29243 cat >>conftest.$ac_ext <<_ACEOF
29244 /* end confdefs.h. */
29248 #include <tiffio.h>
29250 rm -f conftest.$ac_objext
29251 if { (ac_try="$ac_compile"
29252 case "(($ac_try" in
29253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29254 *) ac_try_echo=$ac_try;;
29256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29257 (eval "$ac_compile") 2>conftest.er1
29259 grep -v '^
*+' conftest.er1 >conftest.err
29261 cat conftest.err >&5
29262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29263 (exit $ac_status); } && {
29264 test -z "$ac_c_werror_flag" ||
29265 test ! -s conftest.err
29266 } && test -s conftest.$ac_objext; then
29267 ac_cv_header_tiffio_h=yes
29269 echo "$as_me: failed program was:" >&5
29270 sed 's
/^
/| /' conftest.$ac_ext >&5
29272 ac_cv_header_tiffio_h=no
29275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29277 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
29278 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29279 if test $ac_cv_header_tiffio_h = yes; then
29281 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
29282 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
29283 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29284 echo $ECHO_N "(cached) $ECHO_C" >&6
29286 ac_check_lib_save_LIBS=$LIBS
29287 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29288 cat >conftest.$ac_ext <<_ACEOF
29291 cat confdefs.h >>conftest.$ac_ext
29292 cat >>conftest.$ac_ext <<_ACEOF
29293 /* end confdefs.h. */
29295 /* Override any GCC internal prototype to avoid an error.
29296 Use char because int might match the return type of a GCC
29297 builtin and then its argument prototype would still apply. */
29305 return TIFFError ();
29310 rm -f conftest.$ac_objext conftest$ac_exeext
29311 if { (ac_try="$ac_link"
29312 case "(($ac_try" in
29313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29314 *) ac_try_echo=$ac_try;;
29316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29317 (eval "$ac_link") 2>conftest.er1
29319 grep -v '^
*+' conftest.er1 >conftest.err
29321 cat conftest.err >&5
29322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29323 (exit $ac_status); } && {
29324 test -z "$ac_c_werror_flag" ||
29325 test ! -s conftest.err
29326 } && test -s conftest$ac_exeext &&
29327 $as_test_x conftest$ac_exeext; then
29328 ac_cv_lib_tiff_TIFFError=yes
29330 echo "$as_me: failed program was:" >&5
29331 sed 's
/^
/| /' conftest.$ac_ext >&5
29333 ac_cv_lib_tiff_TIFFError=no
29336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29337 conftest$ac_exeext conftest.$ac_ext
29338 LIBS=$ac_check_lib_save_LIBS
29340 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
29341 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29342 if test $ac_cv_lib_tiff_TIFFError = yes; then
29343 TIFF_LINK=" -ltiff"
29351 if test "x$TIFF_LINK" = "x" ; then
29352 if test "$wxUSE_LIBTIFF" = "sys" ; then
29353 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
29354 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
29355 { (exit 1); exit 1; }; }
29357 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
29358 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
29359 wxUSE_LIBTIFF=builtin
29365 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29366 if test "$wxUSE_LIBJPEG" = "no"; then
29367 ac_configure_args="$ac_configure_args --disable-jpeg"
29369 subdirs="$subdirs src/tiff"
29375 if test "$wxUSE_EXPAT" != "no"; then
29377 cat >>confdefs.h <<\_ACEOF
29378 #define wxUSE_EXPAT 1
29381 cat >>confdefs.h <<\_ACEOF
29382 #define wxUSE_XML 1
29386 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
29387 { echo "$as_me:$LINENO: checking for expat.h" >&5
29388 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
29389 if test "${ac_cv_header_expat_h+set}" = set; then
29390 echo $ECHO_N "(cached) $ECHO_C" >&6
29392 cat >conftest.$ac_ext <<_ACEOF
29395 cat confdefs.h >>conftest.$ac_ext
29396 cat >>conftest.$ac_ext <<_ACEOF
29397 /* end confdefs.h. */
29402 rm -f conftest.$ac_objext
29403 if { (ac_try="$ac_compile"
29404 case "(($ac_try" in
29405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29406 *) ac_try_echo=$ac_try;;
29408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29409 (eval "$ac_compile") 2>conftest.er1
29411 grep -v '^
*+' conftest.er1 >conftest.err
29413 cat conftest.err >&5
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); } && {
29416 test -z "$ac_c_werror_flag" ||
29417 test ! -s conftest.err
29418 } && test -s conftest.$ac_objext; then
29419 ac_cv_header_expat_h=yes
29421 echo "$as_me: failed program was:" >&5
29422 sed 's
/^
/| /' conftest.$ac_ext >&5
29424 ac_cv_header_expat_h=no
29427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29429 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
29430 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29431 if test $ac_cv_header_expat_h = yes; then
29436 if test "x$found_expat_h" = "x1"; then
29437 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
29438 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
29439 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29440 echo $ECHO_N "(cached) $ECHO_C" >&6
29444 ac_cpp='$CXXCPP $CPPFLAGS'
29445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
29446 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
29447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29449 cat >conftest.$ac_ext <<_ACEOF
29452 cat confdefs.h >>conftest.$ac_ext
29453 cat >>conftest.$ac_ext <<_ACEOF
29454 /* end confdefs.h. */
29464 rm -f conftest.$ac_objext
29465 if { (ac_try="$ac_compile"
29466 case "(($ac_try" in
29467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29468 *) ac_try_echo=$ac_try;;
29470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29471 (eval "$ac_compile") 2>conftest.er1
29473 grep -v '^
*+' conftest.er1 >conftest.err
29475 cat conftest.err >&5
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); } && {
29478 test -z "$ac_cxx_werror_flag" ||
29479 test ! -s conftest.err
29480 } && test -s conftest.$ac_objext; then
29481 wx_cv_expat_is_not_broken=yes
29483 echo "$as_me: failed program was:" >&5
29484 sed 's
/^
/| /' conftest.$ac_ext >&5
29486 wx_cv_expat_is_not_broken=no
29490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29492 ac_cpp='$CPP $CPPFLAGS'
29493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
29494 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
29495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29500 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
29501 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29502 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29503 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
29504 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
29505 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29506 echo $ECHO_N "(cached) $ECHO_C" >&6
29508 ac_check_lib_save_LIBS=$LIBS
29509 LIBS="-lexpat $LIBS"
29510 cat >conftest.$ac_ext <<_ACEOF
29513 cat confdefs.h >>conftest.$ac_ext
29514 cat >>conftest.$ac_ext <<_ACEOF
29515 /* end confdefs.h. */
29517 /* Override any GCC internal prototype to avoid an error.
29518 Use char because int might match the return type of a GCC
29519 builtin and then its argument prototype would still apply. */
29523 char XML_ParserCreate ();
29527 return XML_ParserCreate ();
29532 rm -f conftest.$ac_objext conftest$ac_exeext
29533 if { (ac_try="$ac_link"
29534 case "(($ac_try" in
29535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29536 *) ac_try_echo=$ac_try;;
29538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29539 (eval "$ac_link") 2>conftest.er1
29541 grep -v '^
*+' conftest.er1 >conftest.err
29543 cat conftest.err >&5
29544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29545 (exit $ac_status); } && {
29546 test -z "$ac_c_werror_flag" ||
29547 test ! -s conftest.err
29548 } && test -s conftest$ac_exeext &&
29549 $as_test_x conftest$ac_exeext; then
29550 ac_cv_lib_expat_XML_ParserCreate=yes
29552 echo "$as_me: failed program was:" >&5
29553 sed 's
/^
/| /' conftest.$ac_ext >&5
29555 ac_cv_lib_expat_XML_ParserCreate=no
29558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29559 conftest$ac_exeext conftest.$ac_ext
29560 LIBS=$ac_check_lib_save_LIBS
29562 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
29563 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29564 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29565 EXPAT_LINK=" -lexpat"
29570 if test "x$EXPAT_LINK" = "x" ; then
29571 if test "$wxUSE_EXPAT" = "sys" ; then
29572 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
29573 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
29574 { (exit 1); exit 1; }; }
29576 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
29577 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
29578 wxUSE_EXPAT=builtin
29584 if test "$wxUSE_EXPAT" = "builtin" ; then
29585 subdirs="$subdirs src/expat"
29592 if test "$wxUSE_LIBMSPACK" != "no"; then
29593 { echo "$as_me:$LINENO: checking for mspack.h" >&5
29594 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
29595 if test "${ac_cv_header_mspack_h+set}" = set; then
29596 echo $ECHO_N "(cached) $ECHO_C" >&6
29598 cat >conftest.$ac_ext <<_ACEOF
29601 cat confdefs.h >>conftest.$ac_ext
29602 cat >>conftest.$ac_ext <<_ACEOF
29603 /* end confdefs.h. */
29606 #include <mspack.h>
29608 rm -f conftest.$ac_objext
29609 if { (ac_try="$ac_compile"
29610 case "(($ac_try" in
29611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29612 *) ac_try_echo=$ac_try;;
29614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29615 (eval "$ac_compile") 2>conftest.er1
29617 grep -v '^
*+' conftest.er1 >conftest.err
29619 cat conftest.err >&5
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); } && {
29622 test -z "$ac_c_werror_flag" ||
29623 test ! -s conftest.err
29624 } && test -s conftest.$ac_objext; then
29625 ac_cv_header_mspack_h=yes
29627 echo "$as_me: failed program was:" >&5
29628 sed 's
/^
/| /' conftest.$ac_ext >&5
29630 ac_cv_header_mspack_h=no
29633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29635 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
29636 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29637 if test $ac_cv_header_mspack_h = yes; then
29642 if test "x$found_mspack_h" = "x1"; then
29643 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
29644 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
29645 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29646 echo $ECHO_N "(cached) $ECHO_C" >&6
29648 ac_check_lib_save_LIBS=$LIBS
29649 LIBS="-lmspack $LIBS"
29650 cat >conftest.$ac_ext <<_ACEOF
29653 cat confdefs.h >>conftest.$ac_ext
29654 cat >>conftest.$ac_ext <<_ACEOF
29655 /* end confdefs.h. */
29657 /* Override any GCC internal prototype to avoid an error.
29658 Use char because int might match the return type of a GCC
29659 builtin and then its argument prototype would still apply. */
29663 char mspack_create_chm_decompressor ();
29667 return mspack_create_chm_decompressor ();
29672 rm -f conftest.$ac_objext conftest$ac_exeext
29673 if { (ac_try="$ac_link"
29674 case "(($ac_try" in
29675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29676 *) ac_try_echo=$ac_try;;
29678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29679 (eval "$ac_link") 2>conftest.er1
29681 grep -v '^
*+' conftest.er1 >conftest.err
29683 cat conftest.err >&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); } && {
29686 test -z "$ac_c_werror_flag" ||
29687 test ! -s conftest.err
29688 } && test -s conftest$ac_exeext &&
29689 $as_test_x conftest$ac_exeext; then
29690 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29692 echo "$as_me: failed program was:" >&5
29693 sed 's
/^
/| /' conftest.$ac_ext >&5
29695 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29699 conftest$ac_exeext conftest.$ac_ext
29700 LIBS=$ac_check_lib_save_LIBS
29702 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29703 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29704 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29705 MSPACK_LINK=" -lmspack"
29709 if test "x$MSPACK_LINK" = "x" ; then
29714 if test "$wxUSE_LIBMSPACK" != "no"; then
29715 cat >>confdefs.h <<\_ACEOF
29716 #define wxUSE_LIBMSPACK 1
29730 if test "$USE_WIN32" = 1 ; then
29732 for ac_header in w32api.h
29734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29735 { echo "$as_me:$LINENO: checking for $ac_header" >&5
29736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
29737 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
29738 echo $ECHO_N "(cached) $ECHO_C" >&6
29740 cat >conftest.$ac_ext <<_ACEOF
29743 cat confdefs.h >>conftest.$ac_ext
29744 cat >>conftest.$ac_ext <<_ACEOF
29745 /* end confdefs.h. */
29748 #include <$ac_header>
29750 rm -f conftest.$ac_objext
29751 if { (ac_try="$ac_compile"
29752 case "(($ac_try" in
29753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29754 *) ac_try_echo=$ac_try;;
29756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29757 (eval "$ac_compile") 2>conftest.er1
29759 grep -v '^
*+' conftest.er1 >conftest.err
29761 cat conftest.err >&5
29762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29763 (exit $ac_status); } && {
29764 test -z "$ac_c_werror_flag" ||
29765 test ! -s conftest.err
29766 } && test -s conftest.$ac_objext; then
29767 eval "$as_ac_Header=yes"
29769 echo "$as_me: failed program was:" >&5
29770 sed 's
/^
/| /' conftest.$ac_ext >&5
29772 eval "$as_ac_Header=no"
29775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29777 ac_res=`eval echo '${'$as_ac_Header'}'`
29778 { echo "$as_me:$LINENO: result: $ac_res" >&5
29779 echo "${ECHO_T}$ac_res" >&6; }
29780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29781 cat >>confdefs.h <<_ACEOF
29782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29789 { echo "$as_me:$LINENO: checking for windows.h" >&5
29790 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
29791 if test "${ac_cv_header_windows_h+set}" = set; then
29792 echo $ECHO_N "(cached) $ECHO_C" >&6
29794 cat >conftest.$ac_ext <<_ACEOF
29797 cat confdefs.h >>conftest.$ac_ext
29798 cat >>conftest.$ac_ext <<_ACEOF
29799 /* end confdefs.h. */
29802 #include <windows.h>
29804 rm -f conftest.$ac_objext
29805 if { (ac_try="$ac_compile"
29806 case "(($ac_try" in
29807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29808 *) ac_try_echo=$ac_try;;
29810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29811 (eval "$ac_compile") 2>conftest.er1
29813 grep -v '^
*+' conftest.er1 >conftest.err
29815 cat conftest.err >&5
29816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29817 (exit $ac_status); } && {
29818 test -z "$ac_c_werror_flag" ||
29819 test ! -s conftest.err
29820 } && test -s conftest.$ac_objext; then
29821 ac_cv_header_windows_h=yes
29823 echo "$as_me: failed program was:" >&5
29824 sed 's
/^
/| /' conftest.$ac_ext >&5
29826 ac_cv_header_windows_h=no
29829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29831 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
29832 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29833 if test $ac_cv_header_windows_h = yes; then
29837 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
29838 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
29839 { (exit 1); exit 1; }; }
29845 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29847 x86_64-*-mingw32* )
29848 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
29851 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29852 LIBS="$LIBS -loleacc"
29857 LIBS="$LIBS -lkernel32 -luser32"
29860 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29861 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
29863 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
29865 WIN32INSTALL=win32install
29868 if test "$wxUSE_GUI" = "yes"; then
29877 if test "$wxUSE_OLD_COCOA" = 1 ; then
29878 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29879 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
29880 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
29881 wxUSE_PRINTING_ARCHITECTURE=no
29883 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29884 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
29885 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
29886 wxUSE_DRAG_AND_DROP=no
29888 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29889 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
29890 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
29895 if test "$wxUSE_MSW" = 1 ; then
29901 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
29905 if test "$wxUSE_GTK" = 1; then
29906 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
29907 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
29909 gtk_version_cached=1
29910 if test "${wx_cv_lib_gtk+set}" = set; then
29911 echo $ECHO_N "(cached) $ECHO_C" >&6
29914 gtk_version_cached=0
29915 { echo "$as_me:$LINENO: result: " >&5
29916 echo "${ECHO_T}" >&6; }
29919 if test "$wxUSE_THREADS" = "yes"; then
29920 GTK_MODULES=gthread
29924 if test "x$wxGTK_VERSION" != "x1"
29928 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29933 # Check whether --enable-gtktest was given.
29934 if test "${enable_gtktest+set}" = set; then
29935 enableval=$enable_gtktest;
29941 pkg_config_args=gtk+-2.0
29942 for module in . $GTK_MODULES
29946 pkg_config_args="$pkg_config_args gthread-2.0"
29953 # Extract the first word of "pkg-config", so it can be a program name with args.
29954 set dummy pkg-config; ac_word=$2
29955 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29957 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29958 echo $ECHO_N "(cached) $ECHO_C" >&6
29960 case $PKG_CONFIG in
29962 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29966 for as_dir in $PATH
29969 test -z "$as_dir" && as_dir=.
29970 for ac_exec_ext in '' $ac_executable_extensions; do
29971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29972 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29980 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
29984 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29985 if test -n "$PKG_CONFIG"; then
29986 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29987 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29989 { echo "$as_me:$LINENO: result: no" >&5
29990 echo "${ECHO_T}no" >&6; }
29995 if test x$PKG_CONFIG != xno ; then
29996 if pkg-config --atleast-pkgconfig-version 0.7 ; then
29999 echo "*** pkg-config too old; version 0.7 or better required."
30007 min_gtk_version=2.4.0
30008 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
30009 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
30011 if test x$PKG_CONFIG != xno ; then
30012 ## don't try to run the
test against uninstalled libtool libs
30013 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30014 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
30018 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30025 if test x
"$no_gtk" = x
; then
30026 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
30027 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
30028 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30030 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30032 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
30033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30034 if test "x$enable_gtktest" = "xyes" ; then
30035 ac_save_CFLAGS
="$CFLAGS"
30036 ac_save_LIBS
="$LIBS"
30037 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30038 LIBS
="$GTK_LIBS $LIBS"
30040 if test "$cross_compiling" = yes; then
30041 echo $ac_n "cross compiling; assumed OK... $ac_c"
30043 cat >conftest.
$ac_ext <<_ACEOF
30046 cat confdefs.h
>>conftest.
$ac_ext
30047 cat >>conftest.
$ac_ext <<_ACEOF
30048 /* end confdefs.h. */
30050 #include <gtk/gtk.h>
30052 #include <stdlib.h>
30057 int major, minor, micro;
30060 system ("touch conf.gtktest");
30062 /* HP/UX 9 (%@#!) writes to sscanf strings */
30063 tmp_version = g_strdup("$min_gtk_version");
30064 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30065 printf("%s, bad version string\n", "$min_gtk_version");
30069 if ((gtk_major_version != $gtk_config_major_version) ||
30070 (gtk_minor_version != $gtk_config_minor_version) ||
30071 (gtk_micro_version != $gtk_config_micro_version))
30073 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30074 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30075 gtk_major_version, gtk_minor_version, gtk_micro_version);
30076 printf ("*** was found! If pkg-config was correct, then it is best\n");
30077 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30078 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30079 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30080 printf("*** required on your system.\n");
30081 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
30082 printf("*** to point to the correct configuration files\n");
30084 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30085 (gtk_minor_version != GTK_MINOR_VERSION) ||
30086 (gtk_micro_version != GTK_MICRO_VERSION))
30088 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30089 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30090 printf("*** library (version %d.%d.%d)\n",
30091 gtk_major_version, gtk_minor_version, gtk_micro_version);
30095 if ((gtk_major_version > major) ||
30096 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30097 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30103 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30104 gtk_major_version, gtk_minor_version, gtk_micro_version);
30105 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30106 major, minor, micro);
30107 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30109 printf("*** If you have already installed a sufficiently new version, this error\n");
30110 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
30111 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30112 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
30113 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
30114 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30115 printf("*** so that the correct libraries are found at run-time))\n");
30122 rm -f conftest
$ac_exeext
30123 if { (ac_try
="$ac_link"
30124 case "(($ac_try" in
30125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30126 *) ac_try_echo=$ac_try;;
30128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30129 (eval "$ac_link") 2>&5
30131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30133 { (case "(($ac_try" in
30134 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30135 *) ac_try_echo
=$ac_try;;
30137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30138 (eval "$ac_try") 2>&5
30140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30141 (exit $ac_status); }; }; then
30144 echo "$as_me: program exited with status $ac_status" >&5
30145 echo "$as_me: failed program was:" >&5
30146 sed 's/^/| /' conftest.
$ac_ext >&5
30148 ( exit $ac_status )
30151 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30155 CFLAGS
="$ac_save_CFLAGS"
30156 LIBS
="$ac_save_LIBS"
30159 if test "x$no_gtk" = x
; then
30160 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
30161 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
30164 { echo "$as_me:$LINENO: result: no" >&5
30165 echo "${ECHO_T}no" >&6; }
30166 if test "$PKG_CONFIG" = "no" ; then
30167 echo "*** A new enough version of pkg-config was not found."
30168 echo "*** See http://pkgconfig.sourceforge.net"
30170 if test -f conf.gtktest
; then
30173 echo "*** Could not run GTK+ test program, checking why..."
30174 ac_save_CFLAGS
="$CFLAGS"
30175 ac_save_LIBS
="$LIBS"
30176 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30177 LIBS
="$LIBS $GTK_LIBS"
30178 cat >conftest.
$ac_ext <<_ACEOF
30181 cat confdefs.h
>>conftest.
$ac_ext
30182 cat >>conftest.
$ac_ext <<_ACEOF
30183 /* end confdefs.h. */
30185 #include <gtk/gtk.h>
30191 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30196 rm -f conftest.
$ac_objext conftest
$ac_exeext
30197 if { (ac_try
="$ac_link"
30198 case "(($ac_try" in
30199 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30200 *) ac_try_echo=$ac_try;;
30202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30203 (eval "$ac_link") 2>conftest.er1
30205 grep -v '^ *+' conftest.er1 >conftest.err
30207 cat conftest.err >&5
30208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209 (exit $ac_status); } && {
30210 test -z "$ac_c_werror_flag" ||
30211 test ! -s conftest.err
30212 } && test -s conftest$ac_exeext &&
30213 $as_test_x conftest$ac_exeext; then
30214 echo "*** The test program compiled, but did not run. This usually means"
30215 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
30216 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
30217 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30218 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30219 echo "*** is required on your system"
30221 echo "*** If you have an old version installed, it is best to remove it, although"
30222 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30224 echo "$as_me: failed program was:" >&5
30225 sed 's/^/| /' conftest.$ac_ext >&5
30227 echo "*** The test program failed to compile or link. See the file config.log for the"
30228 echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
30231 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30232 conftest$ac_exeext conftest.$ac_ext
30233 CFLAGS="$ac_save_CFLAGS"
30234 LIBS="$ac_save_LIBS"
30247 if test -z "$wx_cv_lib_gtk"; then
30248 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30250 # Check whether --with-gtk-prefix was given.
30251 if test "${with_gtk_prefix+set}" = set; then
30252 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30254 gtk_config_prefix=""
30258 # Check whether --with-gtk-exec-prefix was given.
30259 if test "${with_gtk_exec_prefix+set}" = set; then
30260 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30262 gtk_config_exec_prefix=""
30265 # Check whether --enable-gtktest was given.
30266 if test "${enable_gtktest+set}" = set; then
30267 enableval=$enable_gtktest;
30273 for module in . $GTK_MODULES
30277 gtk_config_args="$gtk_config_args gthread"
30282 if test x$gtk_config_exec_prefix != x ; then
30283 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30284 if test x${GTK_CONFIG+set} != xset ; then
30285 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30288 if test x$gtk_config_prefix != x ; then
30289 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30290 if test x${GTK_CONFIG+set} != xset ; then
30291 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30295 # Extract the first word of "gtk-config", so it can be a program name with args.
30296 set dummy gtk-config; ac_word=$2
30297 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30299 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30300 echo $ECHO_N "(cached) $ECHO_C" >&6
30302 case $GTK_CONFIG in
30304 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30308 for as_dir in $PATH
30311 test -z "$as_dir" && as_dir=.
30312 for ac_exec_ext in '' $ac_executable_extensions; do
30313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30314 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30322 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30326 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30327 if test -n "$GTK_CONFIG"; then
30328 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30329 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30331 { echo "$as_me:$LINENO: result: no" >&5
30332 echo "${ECHO_T}no" >&6; }
30336 min_gtk_version=1.2.7
30337 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30338 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30340 if test "$GTK_CONFIG" = "no" ; then
30343 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30344 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30345 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30346 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30347 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30348 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30349 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30350 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30351 if test "x$enable_gtktest" = "xyes" ; then
30352 ac_save_CFLAGS="$CFLAGS"
30353 ac_save_LIBS="$LIBS"
30354 CFLAGS="$CFLAGS $GTK_CFLAGS"
30355 LIBS="$GTK_LIBS $LIBS"
30357 if test "$cross_compiling" = yes; then
30358 echo $ac_n "cross compiling; assumed OK... $ac_c"
30360 cat >conftest.$ac_ext <<_ACEOF
30363 cat confdefs.h >>conftest.$ac_ext
30364 cat >>conftest.$ac_ext <<_ACEOF
30365 /* end confdefs.h. */
30367 #include <gtk/gtk.h>
30369 #include <stdlib.h>
30374 int major, minor, micro;
30377 system ("touch conf.gtktest");
30379 /* HP/UX 9 (%@#!) writes to sscanf strings */
30380 tmp_version = g_strdup("$min_gtk_version");
30381 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30382 printf("%s, bad version string\n", "$min_gtk_version");
30386 if ((gtk_major_version != $gtk_config_major_version) ||
30387 (gtk_minor_version != $gtk_config_minor_version) ||
30388 (gtk_micro_version != $gtk_config_micro_version))
30390 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30391 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30392 gtk_major_version, gtk_minor_version, gtk_micro_version);
30393 printf ("*** was found! If gtk-config was correct, then it is best\n");
30394 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30395 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30396 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30397 printf("*** required on your system.\n");
30398 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30399 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30400 printf("*** before re-running configure\n");
30402 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30403 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30404 (gtk_minor_version != GTK_MINOR_VERSION) ||
30405 (gtk_micro_version != GTK_MICRO_VERSION))
30407 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30408 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30409 printf("*** library (version %d.%d.%d)\n",
30410 gtk_major_version, gtk_minor_version, gtk_micro_version);
30412 #endif /* defined (GTK_MAJOR_VERSION) ... */
30415 if ((gtk_major_version > major) ||
30416 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30417 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30423 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30424 gtk_major_version, gtk_minor_version, gtk_micro_version);
30425 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30426 major, minor, micro);
30427 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30429 printf("*** If you have already installed a sufficiently new version, this error\n");
30430 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30431 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30432 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30433 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30434 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30435 printf("*** so that the correct libraries are found at run-time))\n");
30442 rm -f conftest$ac_exeext
30443 if { (ac_try="$ac_link"
30444 case "(($ac_try" in
30445 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30446 *) ac_try_echo
=$ac_try;;
30448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30449 (eval "$ac_link") 2>&5
30451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30452 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
30453 { (case "(($ac_try" in
30454 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30455 *) ac_try_echo=$ac_try;;
30457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30458 (eval "$ac_try") 2>&5
30460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30461 (exit $ac_status); }; }; then
30464 echo "$as_me: program exited with status $ac_status" >&5
30465 echo "$as_me: failed program was:" >&5
30466 sed 's/^/| /' conftest.$ac_ext >&5
30468 ( exit $ac_status )
30471 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30475 CFLAGS="$ac_save_CFLAGS"
30476 LIBS="$ac_save_LIBS"
30479 if test "x$no_gtk" = x ; then
30480 { echo "$as_me:$LINENO: result: yes" >&5
30481 echo "${ECHO_T}yes" >&6; }
30482 wx_cv_lib_gtk=1.2.7
30484 { echo "$as_me:$LINENO: result: no" >&5
30485 echo "${ECHO_T}no" >&6; }
30486 if test "$GTK_CONFIG" = "no" ; then
30487 echo "*** The gtk-config script installed by GTK could not be found"
30488 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30489 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30490 echo "*** full path to gtk-config."
30492 if test -f conf.gtktest ; then
30495 echo "*** Could not run GTK test program, checking why..."
30496 CFLAGS="$CFLAGS $GTK_CFLAGS"
30497 LIBS="$LIBS $GTK_LIBS"
30498 cat >conftest.$ac_ext <<_ACEOF
30501 cat confdefs.h >>conftest.$ac_ext
30502 cat >>conftest.$ac_ext <<_ACEOF
30503 /* end confdefs.h. */
30505 #include <gtk/gtk.h>
30511 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30516 rm -f conftest.$ac_objext conftest$ac_exeext
30517 if { (ac_try="$ac_link"
30518 case "(($ac_try" in
30519 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30520 *) ac_try_echo
=$ac_try;;
30522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30523 (eval "$ac_link") 2>conftest.er1
30525 grep -v '^ *+' conftest.er1
>conftest.err
30527 cat conftest.err
>&5
30528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30529 (exit $ac_status); } && {
30530 test -z "$ac_c_werror_flag" ||
30531 test ! -s conftest.err
30532 } && test -s conftest
$ac_exeext &&
30533 $as_test_x conftest
$ac_exeext; then
30534 echo "*** The test program compiled, but did not run. This usually means"
30535 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30536 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30537 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30538 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30539 echo "*** is required on your system"
30541 echo "*** If you have an old version installed, it is best to remove it, although"
30542 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30544 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30545 echo "*** came with the system with the command"
30547 echo "*** rpm --erase --nodeps gtk gtk-devel"
30549 echo "$as_me: failed program was:" >&5
30550 sed 's/^/| /' conftest.
$ac_ext >&5
30552 echo "*** The test program failed to compile or link. See the file config.log for the"
30553 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
30554 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30555 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30558 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
30559 conftest
$ac_exeext conftest.
$ac_ext
30560 CFLAGS
="$ac_save_CFLAGS"
30561 LIBS
="$ac_save_LIBS"
30573 if test -z "$wx_cv_lib_gtk"; then
30575 # Check whether --with-gtk-prefix was given.
30576 if test "${with_gtk_prefix+set}" = set; then
30577 withval
=$with_gtk_prefix; gtk_config_prefix
="$withval"
30579 gtk_config_prefix
=""
30583 # Check whether --with-gtk-exec-prefix was given.
30584 if test "${with_gtk_exec_prefix+set}" = set; then
30585 withval
=$with_gtk_exec_prefix; gtk_config_exec_prefix
="$withval"
30587 gtk_config_exec_prefix
=""
30590 # Check whether --enable-gtktest was given.
30591 if test "${enable_gtktest+set}" = set; then
30592 enableval
=$enable_gtktest;
30598 for module
in .
$GTK_MODULES
30602 gtk_config_args
="$gtk_config_args gthread"
30607 if test x
$gtk_config_exec_prefix != x
; then
30608 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30609 if test x
${GTK_CONFIG+set} != xset
; then
30610 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
30613 if test x
$gtk_config_prefix != x
; then
30614 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
30615 if test x
${GTK_CONFIG+set} != xset
; then
30616 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
30620 # Extract the first word of "gtk-config", so it can be a program name with args.
30621 set dummy gtk
-config; ac_word
=$2
30622 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30624 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30625 echo $ECHO_N "(cached) $ECHO_C" >&6
30627 case $GTK_CONFIG in
30629 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
30632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
30633 for as_dir
in $PATH
30636 test -z "$as_dir" && as_dir
=.
30637 for ac_exec_ext
in '' $ac_executable_extensions; do
30638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30639 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
30640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30647 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
30651 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
30652 if test -n "$GTK_CONFIG"; then
30653 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30654 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30656 { echo "$as_me:$LINENO: result: no" >&5
30657 echo "${ECHO_T}no" >&6; }
30661 min_gtk_version
=1.2.3
30662 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30663 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30665 if test "$GTK_CONFIG" = "no" ; then
30668 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
30669 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
30670 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
30671 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30672 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
30673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30674 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
30675 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30676 if test "x$enable_gtktest" = "xyes" ; then
30677 ac_save_CFLAGS
="$CFLAGS"
30678 ac_save_LIBS
="$LIBS"
30679 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30680 LIBS
="$GTK_LIBS $LIBS"
30682 if test "$cross_compiling" = yes; then
30683 echo $ac_n "cross compiling; assumed OK... $ac_c"
30685 cat >conftest.
$ac_ext <<_ACEOF
30688 cat confdefs.h
>>conftest.
$ac_ext
30689 cat >>conftest.
$ac_ext <<_ACEOF
30690 /* end confdefs.h. */
30692 #include <gtk/gtk.h>
30694 #include <stdlib.h>
30699 int major, minor, micro;
30702 system ("touch conf.gtktest");
30704 /* HP/UX 9 (%@#!) writes to sscanf strings */
30705 tmp_version = g_strdup("$min_gtk_version");
30706 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30707 printf("%s, bad version string\n", "$min_gtk_version");
30711 if ((gtk_major_version != $gtk_config_major_version) ||
30712 (gtk_minor_version != $gtk_config_minor_version) ||
30713 (gtk_micro_version != $gtk_config_micro_version))
30715 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30716 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30717 gtk_major_version, gtk_minor_version, gtk_micro_version);
30718 printf ("*** was found! If gtk-config was correct, then it is best\n");
30719 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30720 printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
30721 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30722 printf("*** required on your system.\n");
30723 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30724 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30725 printf("*** before re-running configure\n");
30727 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30728 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30729 (gtk_minor_version != GTK_MINOR_VERSION) ||
30730 (gtk_micro_version != GTK_MICRO_VERSION))
30732 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30733 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30734 printf("*** library (version %d.%d.%d)\n",
30735 gtk_major_version, gtk_minor_version, gtk_micro_version);
30737 #endif /* defined (GTK_MAJOR_VERSION) ... */
30740 if ((gtk_major_version > major) ||
30741 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30742 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30748 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30749 gtk_major_version, gtk_minor_version, gtk_micro_version);
30750 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30751 major, minor, micro);
30752 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30754 printf("*** If you have already installed a sufficiently new version, this error\n");
30755 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30756 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30757 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30758 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30759 printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
30760 printf("*** so that the correct libraries are found at run-time))\n");
30767 rm -f conftest
$ac_exeext
30768 if { (ac_try
="$ac_link"
30769 case "(($ac_try" in
30770 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30771 *) ac_try_echo=$ac_try;;
30773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30774 (eval "$ac_link") 2>&5
30776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30777 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30778 { (case "(($ac_try" in
30779 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30780 *) ac_try_echo
=$ac_try;;
30782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30783 (eval "$ac_try") 2>&5
30785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30786 (exit $ac_status); }; }; then
30789 echo "$as_me: program exited with status $ac_status" >&5
30790 echo "$as_me: failed program was:" >&5
30791 sed 's/^/| /' conftest.
$ac_ext >&5
30793 ( exit $ac_status )
30796 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
30800 CFLAGS
="$ac_save_CFLAGS"
30801 LIBS
="$ac_save_LIBS"
30804 if test "x$no_gtk" = x
; then
30805 { echo "$as_me:$LINENO: result: yes" >&5
30806 echo "${ECHO_T}yes" >&6; }
30807 wx_cv_lib_gtk
=1.2.3
30809 { echo "$as_me:$LINENO: result: no" >&5
30810 echo "${ECHO_T}no" >&6; }
30811 if test "$GTK_CONFIG" = "no" ; then
30812 echo "*** The gtk-config script installed by GTK could not be found"
30813 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30814 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30815 echo "*** full path to gtk-config."
30817 if test -f conf.gtktest
; then
30820 echo "*** Could not run GTK test program, checking why..."
30821 CFLAGS
="$CFLAGS $GTK_CFLAGS"
30822 LIBS
="$LIBS $GTK_LIBS"
30823 cat >conftest.
$ac_ext <<_ACEOF
30826 cat confdefs.h
>>conftest.
$ac_ext
30827 cat >>conftest.
$ac_ext <<_ACEOF
30828 /* end confdefs.h. */
30830 #include <gtk/gtk.h>
30836 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30841 rm -f conftest.
$ac_objext conftest
$ac_exeext
30842 if { (ac_try
="$ac_link"
30843 case "(($ac_try" in
30844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
30845 *) ac_try_echo=$ac_try;;
30847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30848 (eval "$ac_link") 2>conftest.er1
30850 grep -v '^ *+' conftest.er1 >conftest.err
30852 cat conftest.err >&5
30853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30854 (exit $ac_status); } && {
30855 test -z "$ac_c_werror_flag" ||
30856 test ! -s conftest.err
30857 } && test -s conftest$ac_exeext &&
30858 $as_test_x conftest$ac_exeext; then
30859 echo "*** The test program compiled, but did not run. This usually means"
30860 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30861 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
30862 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30863 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30864 echo "*** is required on your system"
30866 echo "*** If you have an old version installed, it is best to remove it, although"
30867 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30869 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30870 echo "*** came with the system with the command"
30872 echo "*** rpm --erase --nodeps gtk gtk-devel"
30874 echo "$as_me: failed program was:" >&5
30875 sed 's/^/| /' conftest.$ac_ext >&5
30877 echo "*** The test program failed to compile or link. See the file config.log for the"
30878 echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
30879 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30880 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30883 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30884 conftest$ac_exeext conftest.$ac_ext
30885 CFLAGS="$ac_save_CFLAGS"
30886 LIBS="$ac_save_LIBS"
30901 if test -z "$wx_cv_lib_gtk"; then
30904 GTK_LIBS="$GTK_LIBS -lX11"
30906 wx_cv_cflags_gtk=$GTK_CFLAGS
30907 wx_cv_libs_gtk=$GTK_LIBS
30914 if test "$gtk_version_cached" = 1; then
30915 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30916 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30919 case "$wx_cv_lib_gtk" in
30926 *) { { echo "$as_me:$LINENO: error:
30927 The development files for GTK+ were not found. For GTK+ 2, please
30928 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30929 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30930 and that the version is 1.2.3 or above. Also check that the
30931 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30932 --libs' are in the LD_LIBRARY_PATH or equivalent.
30934 echo "$as_me: error:
30935 The development files for GTK+ were not found. For GTK+ 2, please
30936 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30937 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30938 and that the version is 1.2.3 or above. Also check that the
30939 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
30940 --libs' are in the LD_LIBRARY_PATH or equivalent.
30942 { (exit 1); exit 1; }; }
30946 if test "$WXGTK2" = 1; then
30947 save_CFLAGS="$CFLAGS"
30949 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30950 LIBS="$LIBS $wx_cv_libs_gtk"
30952 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
30953 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
30954 cat >conftest.$ac_ext <<_ACEOF
30957 cat confdefs.h >>conftest.$ac_ext
30958 cat >>conftest.$ac_ext <<_ACEOF
30959 /* end confdefs.h. */
30961 #include <gtk/gtk.h>
30967 #if !GTK_CHECK_VERSION(2,18,0)
30975 rm -f conftest.$ac_objext
30976 if { (ac_try="$ac_compile"
30977 case "(($ac_try" in
30978 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
30979 *) ac_try_echo
=$ac_try;;
30981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30982 (eval "$ac_compile") 2>conftest.er1
30984 grep -v '^ *+' conftest.er1
>conftest.err
30986 cat conftest.err
>&5
30987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988 (exit $ac_status); } && {
30989 test -z "$ac_c_werror_flag" ||
30990 test ! -s conftest.err
30991 } && test -s conftest.
$ac_objext; then
30993 cat >>confdefs.h
<<\_ACEOF
30994 #define __WXGTK218__ 1
30997 cat >>confdefs.h
<<\_ACEOF
30998 #define __WXGTK210__ 1
31001 cat >>confdefs.h
<<\_ACEOF
31002 #define __WXGTK26__ 1
31005 { echo "$as_me:$LINENO: result: yes" >&5
31006 echo "${ECHO_T}yes" >&6; }
31010 echo "$as_me: failed program was:" >&5
31011 sed 's/^/| /' conftest.
$ac_ext >&5
31014 { echo "$as_me:$LINENO: result: no" >&5
31015 echo "${ECHO_T}no" >&6; }
31020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31022 if test "$ac_wxgtk218" = 0; then
31023 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31024 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31025 cat >conftest.
$ac_ext <<_ACEOF
31028 cat confdefs.h
>>conftest.
$ac_ext
31029 cat >>conftest.
$ac_ext <<_ACEOF
31030 /* end confdefs.h. */
31032 #include <gtk/gtk.h>
31038 #if !GTK_CHECK_VERSION(2,10,0)
31046 rm -f conftest.
$ac_objext
31047 if { (ac_try
="$ac_compile"
31048 case "(($ac_try" in
31049 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31050 *) ac_try_echo=$ac_try;;
31052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31053 (eval "$ac_compile") 2>conftest.er1
31055 grep -v '^ *+' conftest.er1 >conftest.err
31057 cat conftest.err >&5
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); } && {
31060 test -z "$ac_c_werror_flag" ||
31061 test ! -s conftest.err
31062 } && test -s conftest.$ac_objext; then
31064 cat >>confdefs.h <<\_ACEOF
31065 #define __WXGTK210__ 1
31068 cat >>confdefs.h <<\_ACEOF
31069 #define __WXGTK26__ 1
31072 { echo "$as_me:$LINENO: result: yes" >&5
31073 echo "${ECHO_T}yes" >&6; }
31077 echo "$as_me: failed program was:" >&5
31078 sed 's/^/| /' conftest.$ac_ext >&5
31081 { echo "$as_me:$LINENO: result: no" >&5
31082 echo "${ECHO_T}no" >&6; }
31087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31089 if test "$ac_wxgtk210" = 0; then
31090 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31091 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31092 cat >conftest.$ac_ext <<_ACEOF
31095 cat confdefs.h >>conftest.$ac_ext
31096 cat >>conftest.$ac_ext <<_ACEOF
31097 /* end confdefs.h. */
31099 #include <gtk/gtk.h>
31105 #if !GTK_CHECK_VERSION(2,6,0)
31113 rm -f conftest.$ac_objext
31114 if { (ac_try="$ac_compile"
31115 case "(($ac_try" in
31116 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31117 *) ac_try_echo
=$ac_try;;
31119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31120 (eval "$ac_compile") 2>conftest.er1
31122 grep -v '^ *+' conftest.er1
>conftest.err
31124 cat conftest.err
>&5
31125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31126 (exit $ac_status); } && {
31127 test -z "$ac_c_werror_flag" ||
31128 test ! -s conftest.err
31129 } && test -s conftest.
$ac_objext; then
31131 cat >>confdefs.h
<<\_ACEOF
31132 #define __WXGTK26__ 1
31135 { echo "$as_me:$LINENO: result: yes" >&5
31136 echo "${ECHO_T}yes" >&6; }
31140 echo "$as_me: failed program was:" >&5
31141 sed 's/^/| /' conftest.
$ac_ext >&5
31144 { echo "$as_me:$LINENO: result: no" >&5
31145 echo "${ECHO_T}no" >&6; }
31150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31154 CFLAGS
="$save_CFLAGS"
31157 if test "$wxUSE_UNICODE" = "yes"; then
31158 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31159 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31163 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31164 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31165 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31166 echo $ECHO_N "(cached) $ECHO_C" >&6
31168 ac_check_lib_save_LIBS
=$LIBS
31170 cat >conftest.
$ac_ext <<_ACEOF
31173 cat confdefs.h
>>conftest.
$ac_ext
31174 cat >>conftest.
$ac_ext <<_ACEOF
31175 /* end confdefs.h. */
31177 /* Override any GCC internal prototype to avoid an error.
31178 Use char because int might match the return type of a GCC
31179 builtin and then its argument prototype would still apply. */
31183 char gdk_im_open ();
31187 return gdk_im_open ();
31192 rm -f conftest.
$ac_objext conftest
$ac_exeext
31193 if { (ac_try
="$ac_link"
31194 case "(($ac_try" in
31195 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31196 *) ac_try_echo=$ac_try;;
31198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31199 (eval "$ac_link") 2>conftest.er1
31201 grep -v '^ *+' conftest.er1 >conftest.err
31203 cat conftest.err >&5
31204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31205 (exit $ac_status); } && {
31206 test -z "$ac_c_werror_flag" ||
31207 test ! -s conftest.err
31208 } && test -s conftest$ac_exeext &&
31209 $as_test_x conftest$ac_exeext; then
31210 ac_cv_lib_gdk_gdk_im_open=yes
31212 echo "$as_me: failed program was:" >&5
31213 sed 's/^/| /' conftest.$ac_ext >&5
31215 ac_cv_lib_gdk_gdk_im_open=no
31218 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31219 conftest$ac_exeext conftest.$ac_ext
31220 LIBS=$ac_check_lib_save_LIBS
31222 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31223 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31224 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31225 cat >>confdefs.h <<\_ACEOF
31232 if test "$USE_DARWIN" != 1; then
31234 for ac_func in poll
31236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31237 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31239 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31240 echo $ECHO_N "(cached) $ECHO_C" >&6
31242 cat >conftest.$ac_ext <<_ACEOF
31245 cat confdefs.h >>conftest.$ac_ext
31246 cat >>conftest.$ac_ext <<_ACEOF
31247 /* end confdefs.h. */
31248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31250 #define $ac_func innocuous_$ac_func
31252 /* System header to define __stub macros and hopefully few prototypes,
31253 which can conflict with char $ac_func (); below.
31254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31255 <limits.h> exists even on freestanding compilers. */
31258 # include <limits.h>
31260 # include <assert.h>
31265 /* Override any GCC internal prototype to avoid an error.
31266 Use char because int might match the return type of a GCC
31267 builtin and then its argument prototype would still apply. */
31272 /* The GNU C library defines this for functions which it implements
31273 to always fail with ENOSYS. Some functions are actually named
31274 something starting with __ and the normal name is an alias. */
31275 #if defined __stub_$ac_func || defined __stub___$ac_func
31282 return $ac_func ();
31287 rm -f conftest.$ac_objext conftest$ac_exeext
31288 if { (ac_try="$ac_link"
31289 case "(($ac_try" in
31290 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31291 *) ac_try_echo
=$ac_try;;
31293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31294 (eval "$ac_link") 2>conftest.er1
31296 grep -v '^ *+' conftest.er1
>conftest.err
31298 cat conftest.err
>&5
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); } && {
31301 test -z "$ac_c_werror_flag" ||
31302 test ! -s conftest.err
31303 } && test -s conftest
$ac_exeext &&
31304 $as_test_x conftest
$ac_exeext; then
31305 eval "$as_ac_var=yes"
31307 echo "$as_me: failed program was:" >&5
31308 sed 's/^/| /' conftest.
$ac_ext >&5
31310 eval "$as_ac_var=no"
31313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31314 conftest
$ac_exeext conftest.
$ac_ext
31316 ac_res
=`eval echo '${'$as_ac_var'}'`
31317 { echo "$as_me:$LINENO: result: $ac_res" >&5
31318 echo "${ECHO_T}$ac_res" >&6; }
31319 if test `eval echo '${'$as_ac_var'}'` = yes; then
31320 cat >>confdefs.h
<<_ACEOF
31321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31330 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
31331 GUI_TK_LIBRARY
="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31332 AFMINSTALL
=afminstall
31336 if test "$wxUSE_GPE" = "yes"; then
31337 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31338 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31341 for ac_dir
in $SEARCH_LIB
31343 for ac_extension
in a so sl dylib dll.a
; do
31344 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31345 ac_find_libraries
=$ac_dir
31351 if test "$ac_find_libraries" != "" ; then
31353 if test "$ac_find_libraries" = "default location"; then
31356 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
31358 if test $result = 0; then
31361 ac_path_to_link
=" -L$ac_find_libraries"
31365 GUI_TK_LIBRARY
="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31367 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31368 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31370 { echo "$as_me:$LINENO: result: not found" >&5
31371 echo "${ECHO_T}not found" >&6; }
31377 if test "$wxUSE_DFB" = 1; then
31380 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31381 if test -n "$ac_tool_prefix"; then
31382 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31383 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
31384 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31386 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31387 echo $ECHO_N "(cached) $ECHO_C" >&6
31389 case $PKG_CONFIG in
31391 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
31394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31395 for as_dir
in $PATH
31398 test -z "$as_dir" && as_dir
=.
31399 for ac_exec_ext
in '' $ac_executable_extensions; do
31400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31401 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31402 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31412 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
31413 if test -n "$PKG_CONFIG"; then
31414 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31415 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31417 { echo "$as_me:$LINENO: result: no" >&5
31418 echo "${ECHO_T}no" >&6; }
31423 if test -z "$ac_cv_path_PKG_CONFIG"; then
31424 ac_pt_PKG_CONFIG
=$PKG_CONFIG
31425 # Extract the first word of "pkg-config", so it can be a program name with args.
31426 set dummy pkg
-config; ac_word
=$2
31427 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31429 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31430 echo $ECHO_N "(cached) $ECHO_C" >&6
31432 case $ac_pt_PKG_CONFIG in
31434 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
31438 for as_dir
in $PATH
31441 test -z "$as_dir" && as_dir
=.
31442 for ac_exec_ext
in '' $ac_executable_extensions; do
31443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31444 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
31445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31455 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
31456 if test -n "$ac_pt_PKG_CONFIG"; then
31457 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31458 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31460 { echo "$as_me:$LINENO: result: no" >&5
31461 echo "${ECHO_T}no" >&6; }
31464 if test "x$ac_pt_PKG_CONFIG" = x
; then
31467 case $cross_compiling:$ac_tool_warned in
31469 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31470 whose name does not start with the host triplet. If you think this
31471 configuration is useful to you, please write to autoconf@gnu.org." >&5
31472 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31473 whose name does not start with the host triplet. If you think this
31474 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31475 ac_tool_warned
=yes ;;
31477 PKG_CONFIG
=$ac_pt_PKG_CONFIG
31480 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
31484 if test -n "$PKG_CONFIG"; then
31485 _pkg_min_version
=0.9.0
31486 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31487 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31488 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31489 { echo "$as_me:$LINENO: result: yes" >&5
31490 echo "${ECHO_T}yes" >&6; }
31492 { echo "$as_me:$LINENO: result: no" >&5
31493 echo "${ECHO_T}no" >&6; }
31501 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31502 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31504 if test -n "$PKG_CONFIG"; then
31505 if test -n "$DIRECTFB_CFLAGS"; then
31506 pkg_cv_DIRECTFB_CFLAGS
="$DIRECTFB_CFLAGS"
31508 if test -n "$PKG_CONFIG" && \
31509 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31510 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 (exit $ac_status); }; then
31514 pkg_cv_DIRECTFB_CFLAGS
=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31522 if test -n "$PKG_CONFIG"; then
31523 if test -n "$DIRECTFB_LIBS"; then
31524 pkg_cv_DIRECTFB_LIBS
="$DIRECTFB_LIBS"
31526 if test -n "$PKG_CONFIG" && \
31527 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31528 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31531 (exit $ac_status); }; then
31532 pkg_cv_DIRECTFB_LIBS
=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31543 if test $pkg_failed = yes; then
31545 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31546 _pkg_short_errors_supported
=yes
31548 _pkg_short_errors_supported
=no
31550 if test $_pkg_short_errors_supported = yes; then
31551 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31553 DIRECTFB_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31555 # Put the nasty error message in config.log where it belongs
31556 echo "$DIRECTFB_PKG_ERRORS" >&5
31559 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31560 echo "$as_me: error: DirectFB not found." >&2;}
31561 { (exit 1); exit 1; }; }
31564 elif test $pkg_failed = untried
; then
31566 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31567 echo "$as_me: error: DirectFB not found." >&2;}
31568 { (exit 1); exit 1; }; }
31572 DIRECTFB_CFLAGS
=$pkg_cv_DIRECTFB_CFLAGS
31573 DIRECTFB_LIBS
=$pkg_cv_DIRECTFB_LIBS
31574 { echo "$as_me:$LINENO: result: yes" >&5
31575 echo "${ECHO_T}yes" >&6; }
31577 wxUSE_UNIVERSAL
="yes"
31578 TOOLKIT_INCLUDE
="$DIRECTFB_CFLAGS"
31579 GUI_TK_LIBRARY
="$DIRECTFB_LIBS"
31586 if test "$wxUSE_MICROWIN" = 1; then
31587 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31588 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31589 if test "x$MICROWINDOWS" = x
; then
31590 { echo "$as_me:$LINENO: result: not found" >&5
31591 echo "${ECHO_T}not found" >&6; }
31592 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31593 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31594 { (exit 1); exit 1; }; }
31596 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31597 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31600 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
31601 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
31602 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
31604 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31605 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31606 { (exit 1); exit 1; }; }
31609 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
31610 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31612 wxUSE_UNIVERSAL
="yes"
31614 AFMINSTALL
=afminstall
31616 GUIDIST
=MICROWIN_DIST
31618 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31621 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31622 { echo "$as_me:$LINENO: checking for X" >&5
31623 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31626 # Check whether --with-x was given.
31627 if test "${with_x+set}" = set; then
31631 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
31632 if test "x$with_x" = xno
; then
31633 # The user explicitly disabled X.
31636 case $x_includes,$x_libraries in #(
31637 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31638 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
31639 { (exit 1); exit 1; }; };; #(
31640 *,NONE
| NONE
,*) if test "${ac_cv_have_x+set}" = set; then
31641 echo $ECHO_N "(cached) $ECHO_C" >&6
31643 # One or both of the vars are not set, and there is no cached value.
31644 ac_x_includes
=no ac_x_libraries
=no
31645 rm -f -r conftest.dir
31646 if mkdir conftest.dir
; then
31648 cat >Imakefile
<<'_ACEOF'
31650 @echo incroot='${INCROOT}'
31652 @echo usrlibdir='${USRLIBDIR}'
31654 @echo libdir='${LIBDIR}'
31656 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
31657 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31658 for ac_var
in incroot usrlibdir libdir
; do
31659 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
31661 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31662 for ac_extension
in a so sl
; do
31663 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31664 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31665 ac_im_usrlibdir
=$ac_im_libdir; break
31668 # Screen out bogus values from the imake configuration. They are
31669 # bogus both because they are the default anyway, and because
31670 # using them would break gcc on systems where it needs fixed includes.
31671 case $ac_im_incroot in
31672 /usr
/include
) ac_x_includes
= ;;
31673 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
31675 case $ac_im_usrlibdir in
31676 /usr
/lib
| /lib
) ;;
31677 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
31681 rm -f -r conftest.dir
31684 # Standard set of common directories for X headers.
31685 # Check X11 before X11Rn because it is often a symlink to the current release.
31697 /usr/local/X11/include
31698 /usr/local/X11R6/include
31699 /usr/local/X11R5/include
31700 /usr/local/X11R4/include
31702 /usr/local/include/X11
31703 /usr/local/include/X11R6
31704 /usr/local/include/X11R5
31705 /usr/local/include/X11R4
31709 /usr/XFree86/include/X11
31713 /usr/unsupported/include
31714 /usr/athena/include
31715 /usr/local/x11r5/include
31716 /usr/lpp/Xamples/include
31718 /usr/openwin/include
31719 /usr/openwin/share/include'
31721 if test "$ac_x_includes" = no
; then
31722 # Guess where to find include files, by looking for Xlib.h.
31723 # First, try using that file with no special directory specified.
31724 cat >conftest.
$ac_ext <<_ACEOF
31727 cat confdefs.h
>>conftest.
$ac_ext
31728 cat >>conftest.
$ac_ext <<_ACEOF
31729 /* end confdefs.h. */
31730 #include <X11/Xlib.h>
31732 if { (ac_try
="$ac_cpp conftest.$ac_ext"
31733 case "(($ac_try" in
31734 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31735 *) ac_try_echo=$ac_try;;
31737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31740 grep -v '^ *+' conftest.er1 >conftest.err
31742 cat conftest.err >&5
31743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744 (exit $ac_status); } >/dev/null && {
31745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31746 test ! -s conftest.err
31748 # We can compile using X headers with no special include directory.
31751 echo "$as_me: failed program was:" >&5
31752 sed 's/^/| /' conftest.$ac_ext >&5
31754 for ac_dir in $ac_x_header_dirs; do
31755 if test -r "$ac_dir/X11/Xlib.h"; then
31756 ac_x_includes=$ac_dir
31762 rm -f conftest.err conftest.$ac_ext
31763 fi # $ac_x_includes = no
31765 if test "$ac_x_libraries" = no; then
31766 # Check for the libraries.
31767 # See if we find them without any special options.
31768 # Don't add to $LIBS permanently.
31771 cat >conftest.$ac_ext <<_ACEOF
31774 cat confdefs.h >>conftest.$ac_ext
31775 cat >>conftest.$ac_ext <<_ACEOF
31776 /* end confdefs.h. */
31777 #include <X11/Xlib.h>
31786 rm -f conftest.$ac_objext conftest$ac_exeext
31787 if { (ac_try="$ac_link"
31788 case "(($ac_try" in
31789 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31790 *) ac_try_echo
=$ac_try;;
31792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31793 (eval "$ac_link") 2>conftest.er1
31795 grep -v '^ *+' conftest.er1
>conftest.err
31797 cat conftest.err
>&5
31798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31799 (exit $ac_status); } && {
31800 test -z "$ac_c_werror_flag" ||
31801 test ! -s conftest.err
31802 } && test -s conftest
$ac_exeext &&
31803 $as_test_x conftest
$ac_exeext; then
31805 # We can link X programs with no special library path.
31808 echo "$as_me: failed program was:" >&5
31809 sed 's/^/| /' conftest.
$ac_ext >&5
31812 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
31814 # Don't even attempt the hair of trying to link an X program!
31815 for ac_extension
in a so sl
; do
31816 if test -r "$ac_dir/libX11.$ac_extension"; then
31817 ac_x_libraries
=$ac_dir
31824 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31825 conftest
$ac_exeext conftest.
$ac_ext
31826 fi # $ac_x_libraries = no
31828 case $ac_x_includes,$ac_x_libraries in #(
31829 no
,* | *,no
| *\'*)
31830 # Didn't find X, or a directory has "'" in its name.
31831 ac_cv_have_x
="have_x=no";; #(
31833 # Record where we found X for the cache.
31834 ac_cv_have_x
="have_x=yes\
31835 ac_x_includes='$ac_x_includes'\
31836 ac_x_libraries='$ac_x_libraries'"
31842 eval "$ac_cv_have_x"
31845 if test "$have_x" != yes; then
31846 { echo "$as_me:$LINENO: result: $have_x" >&5
31847 echo "${ECHO_T}$have_x" >&6; }
31850 # If each of the values was on the command line, it overrides each guess.
31851 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
31852 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
31853 # Update the cache value to reflect the command line values.
31854 ac_cv_have_x
="have_x=yes\
31855 ac_x_includes='$x_includes'\
31856 ac_x_libraries='$x_libraries'"
31857 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31858 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31861 if test "$no_x" = yes; then
31862 # Not all programs may use this symbol, but it does not hurt to define it.
31864 cat >>confdefs.h
<<\_ACEOF
31865 #define X_DISPLAY_MISSING 1
31868 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
31870 if test -n "$x_includes"; then
31871 X_CFLAGS
="$X_CFLAGS -I$x_includes"
31874 # It would also be nice to do this for all -L options, not just this one.
31875 if test -n "$x_libraries"; then
31876 X_LIBS
="$X_LIBS -L$x_libraries"
31877 # For Solaris; some versions of Sun CC require a space after -R and
31878 # others require no space. Words are not sufficient . . . .
31879 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
31880 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
31881 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
31882 ac_xsave_c_werror_flag
=$ac_c_werror_flag
31883 ac_c_werror_flag
=yes
31884 cat >conftest.
$ac_ext <<_ACEOF
31887 cat confdefs.h
>>conftest.
$ac_ext
31888 cat >>conftest.
$ac_ext <<_ACEOF
31889 /* end confdefs.h. */
31899 rm -f conftest.
$ac_objext conftest
$ac_exeext
31900 if { (ac_try
="$ac_link"
31901 case "(($ac_try" in
31902 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31903 *) ac_try_echo=$ac_try;;
31905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31906 (eval "$ac_link") 2>conftest.er1
31908 grep -v '^ *+' conftest.er1 >conftest.err
31910 cat conftest.err >&5
31911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912 (exit $ac_status); } && {
31913 test -z "$ac_c_werror_flag" ||
31914 test ! -s conftest.err
31915 } && test -s conftest$ac_exeext &&
31916 $as_test_x conftest$ac_exeext; then
31917 { echo "$as_me:$LINENO: result: no" >&5
31918 echo "${ECHO_T}no" >&6; }
31919 X_LIBS="$X_LIBS -R$x_libraries"
31921 echo "$as_me: failed program was:" >&5
31922 sed 's/^/| /' conftest.$ac_ext >&5
31924 LIBS="$ac_xsave_LIBS -R $x_libraries"
31925 cat >conftest.$ac_ext <<_ACEOF
31928 cat confdefs.h >>conftest.$ac_ext
31929 cat >>conftest.$ac_ext <<_ACEOF
31930 /* end confdefs.h. */
31940 rm -f conftest.$ac_objext conftest$ac_exeext
31941 if { (ac_try="$ac_link"
31942 case "(($ac_try" in
31943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
31944 *) ac_try_echo
=$ac_try;;
31946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31947 (eval "$ac_link") 2>conftest.er1
31949 grep -v '^ *+' conftest.er1
>conftest.err
31951 cat conftest.err
>&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } && {
31954 test -z "$ac_c_werror_flag" ||
31955 test ! -s conftest.err
31956 } && test -s conftest
$ac_exeext &&
31957 $as_test_x conftest
$ac_exeext; then
31958 { echo "$as_me:$LINENO: result: yes" >&5
31959 echo "${ECHO_T}yes" >&6; }
31960 X_LIBS
="$X_LIBS -R $x_libraries"
31962 echo "$as_me: failed program was:" >&5
31963 sed 's/^/| /' conftest.
$ac_ext >&5
31965 { echo "$as_me:$LINENO: result: neither works" >&5
31966 echo "${ECHO_T}neither works" >&6; }
31969 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31970 conftest
$ac_exeext conftest.
$ac_ext
31973 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
31974 conftest
$ac_exeext conftest.
$ac_ext
31975 ac_c_werror_flag
=$ac_xsave_c_werror_flag
31976 LIBS
=$ac_xsave_LIBS
31979 # Check for system-dependent libraries X programs must link with.
31980 # Do this before checking for the system-independent R6 libraries
31981 # (-lICE), since we may need -lsocket or whatever for X linking.
31983 if test "$ISC" = yes; then
31984 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
31986 # Martyn Johnson says this is needed for Ultrix, if the X
31987 # libraries were built with DECnet support. And Karl Berry says
31988 # the Alpha needs dnet_stub (dnet does not exist).
31989 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
31990 cat >conftest.
$ac_ext <<_ACEOF
31993 cat confdefs.h
>>conftest.
$ac_ext
31994 cat >>conftest.
$ac_ext <<_ACEOF
31995 /* end confdefs.h. */
31997 /* Override any GCC internal prototype to avoid an error.
31998 Use char because int might match the return type of a GCC
31999 builtin and then its argument prototype would still apply. */
32003 char XOpenDisplay ();
32007 return XOpenDisplay ();
32012 rm -f conftest.
$ac_objext conftest
$ac_exeext
32013 if { (ac_try
="$ac_link"
32014 case "(($ac_try" in
32015 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32016 *) ac_try_echo=$ac_try;;
32018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32019 (eval "$ac_link") 2>conftest.er1
32021 grep -v '^ *+' conftest.er1 >conftest.err
32023 cat conftest.err >&5
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); } && {
32026 test -z "$ac_c_werror_flag" ||
32027 test ! -s conftest.err
32028 } && test -s conftest$ac_exeext &&
32029 $as_test_x conftest$ac_exeext; then
32032 echo "$as_me: failed program was:" >&5
32033 sed 's/^/| /' conftest.$ac_ext >&5
32035 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32036 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32037 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32038 echo $ECHO_N "(cached) $ECHO_C" >&6
32040 ac_check_lib_save_LIBS=$LIBS
32041 LIBS="-ldnet $LIBS"
32042 cat >conftest.$ac_ext <<_ACEOF
32045 cat confdefs.h >>conftest.$ac_ext
32046 cat >>conftest.$ac_ext <<_ACEOF
32047 /* end confdefs.h. */
32049 /* Override any GCC internal prototype to avoid an error.
32050 Use char because int might match the return type of a GCC
32051 builtin and then its argument prototype would still apply. */
32059 return dnet_ntoa ();
32064 rm -f conftest.$ac_objext conftest$ac_exeext
32065 if { (ac_try="$ac_link"
32066 case "(($ac_try" in
32067 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32068 *) ac_try_echo
=$ac_try;;
32070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32071 (eval "$ac_link") 2>conftest.er1
32073 grep -v '^ *+' conftest.er1
>conftest.err
32075 cat conftest.err
>&5
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); } && {
32078 test -z "$ac_c_werror_flag" ||
32079 test ! -s conftest.err
32080 } && test -s conftest
$ac_exeext &&
32081 $as_test_x conftest
$ac_exeext; then
32082 ac_cv_lib_dnet_dnet_ntoa
=yes
32084 echo "$as_me: failed program was:" >&5
32085 sed 's/^/| /' conftest.
$ac_ext >&5
32087 ac_cv_lib_dnet_dnet_ntoa
=no
32090 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32091 conftest
$ac_exeext conftest.
$ac_ext
32092 LIBS
=$ac_check_lib_save_LIBS
32094 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32095 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32096 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32097 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
32100 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
32101 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32102 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32103 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32104 echo $ECHO_N "(cached) $ECHO_C" >&6
32106 ac_check_lib_save_LIBS
=$LIBS
32107 LIBS
="-ldnet_stub $LIBS"
32108 cat >conftest.
$ac_ext <<_ACEOF
32111 cat confdefs.h
>>conftest.
$ac_ext
32112 cat >>conftest.
$ac_ext <<_ACEOF
32113 /* end confdefs.h. */
32115 /* Override any GCC internal prototype to avoid an error.
32116 Use char because int might match the return type of a GCC
32117 builtin and then its argument prototype would still apply. */
32125 return dnet_ntoa ();
32130 rm -f conftest.
$ac_objext conftest
$ac_exeext
32131 if { (ac_try
="$ac_link"
32132 case "(($ac_try" in
32133 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32134 *) ac_try_echo=$ac_try;;
32136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32137 (eval "$ac_link") 2>conftest.er1
32139 grep -v '^ *+' conftest.er1 >conftest.err
32141 cat conftest.err >&5
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); } && {
32144 test -z "$ac_c_werror_flag" ||
32145 test ! -s conftest.err
32146 } && test -s conftest$ac_exeext &&
32147 $as_test_x conftest$ac_exeext; then
32148 ac_cv_lib_dnet_stub_dnet_ntoa=yes
32150 echo "$as_me: failed program was:" >&5
32151 sed 's/^/| /' conftest.$ac_ext >&5
32153 ac_cv_lib_dnet_stub_dnet_ntoa=no
32156 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32157 conftest$ac_exeext conftest.$ac_ext
32158 LIBS=$ac_check_lib_save_LIBS
32160 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32161 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32162 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32163 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
32169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32170 conftest$ac_exeext conftest.$ac_ext
32171 LIBS="$ac_xsave_LIBS"
32173 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32174 # to get the SysV transport functions.
32175 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32177 # The nsl library prevents programs from opening the X display
32178 # on Irix 5.2, according to T.E. Dickey.
32179 # The functions gethostbyname, getservbyname, and inet_addr are
32180 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32181 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32182 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32183 if test "${ac_cv_func_gethostbyname+set}" = set; then
32184 echo $ECHO_N "(cached) $ECHO_C" >&6
32186 cat >conftest.$ac_ext <<_ACEOF
32189 cat confdefs.h >>conftest.$ac_ext
32190 cat >>conftest.$ac_ext <<_ACEOF
32191 /* end confdefs.h. */
32192 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32194 #define gethostbyname innocuous_gethostbyname
32196 /* System header to define __stub macros and hopefully few prototypes,
32197 which can conflict with char gethostbyname (); below.
32198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32199 <limits.h> exists even on freestanding compilers. */
32202 # include <limits.h>
32204 # include <assert.h>
32207 #undef gethostbyname
32209 /* Override any GCC internal prototype to avoid an error.
32210 Use char because int might match the return type of a GCC
32211 builtin and then its argument prototype would still apply. */
32215 char gethostbyname ();
32216 /* The GNU C library defines this for functions which it implements
32217 to always fail with ENOSYS. Some functions are actually named
32218 something starting with __ and the normal name is an alias. */
32219 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32226 return gethostbyname ();
32231 rm -f conftest.$ac_objext conftest$ac_exeext
32232 if { (ac_try="$ac_link"
32233 case "(($ac_try" in
32234 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32235 *) ac_try_echo
=$ac_try;;
32237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32238 (eval "$ac_link") 2>conftest.er1
32240 grep -v '^ *+' conftest.er1
>conftest.err
32242 cat conftest.err
>&5
32243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32244 (exit $ac_status); } && {
32245 test -z "$ac_c_werror_flag" ||
32246 test ! -s conftest.err
32247 } && test -s conftest
$ac_exeext &&
32248 $as_test_x conftest
$ac_exeext; then
32249 ac_cv_func_gethostbyname
=yes
32251 echo "$as_me: failed program was:" >&5
32252 sed 's/^/| /' conftest.
$ac_ext >&5
32254 ac_cv_func_gethostbyname
=no
32257 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32258 conftest
$ac_exeext conftest.
$ac_ext
32260 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32261 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32263 if test $ac_cv_func_gethostbyname = no
; then
32264 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32265 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32266 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32267 echo $ECHO_N "(cached) $ECHO_C" >&6
32269 ac_check_lib_save_LIBS
=$LIBS
32271 cat >conftest.
$ac_ext <<_ACEOF
32274 cat confdefs.h
>>conftest.
$ac_ext
32275 cat >>conftest.
$ac_ext <<_ACEOF
32276 /* end confdefs.h. */
32278 /* Override any GCC internal prototype to avoid an error.
32279 Use char because int might match the return type of a GCC
32280 builtin and then its argument prototype would still apply. */
32284 char gethostbyname ();
32288 return gethostbyname ();
32293 rm -f conftest.
$ac_objext conftest
$ac_exeext
32294 if { (ac_try
="$ac_link"
32295 case "(($ac_try" in
32296 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32297 *) ac_try_echo=$ac_try;;
32299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32300 (eval "$ac_link") 2>conftest.er1
32302 grep -v '^ *+' conftest.er1 >conftest.err
32304 cat conftest.err >&5
32305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306 (exit $ac_status); } && {
32307 test -z "$ac_c_werror_flag" ||
32308 test ! -s conftest.err
32309 } && test -s conftest$ac_exeext &&
32310 $as_test_x conftest$ac_exeext; then
32311 ac_cv_lib_nsl_gethostbyname=yes
32313 echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.$ac_ext >&5
32316 ac_cv_lib_nsl_gethostbyname=no
32319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32320 conftest$ac_exeext conftest.$ac_ext
32321 LIBS=$ac_check_lib_save_LIBS
32323 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32324 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32325 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32326 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
32329 if test $ac_cv_lib_nsl_gethostbyname = no; then
32330 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32331 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32332 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32333 echo $ECHO_N "(cached) $ECHO_C" >&6
32335 ac_check_lib_save_LIBS=$LIBS
32337 cat >conftest.$ac_ext <<_ACEOF
32340 cat confdefs.h >>conftest.$ac_ext
32341 cat >>conftest.$ac_ext <<_ACEOF
32342 /* end confdefs.h. */
32344 /* Override any GCC internal prototype to avoid an error.
32345 Use char because int might match the return type of a GCC
32346 builtin and then its argument prototype would still apply. */
32350 char gethostbyname ();
32354 return gethostbyname ();
32359 rm -f conftest.$ac_objext conftest$ac_exeext
32360 if { (ac_try="$ac_link"
32361 case "(($ac_try" in
32362 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32363 *) ac_try_echo
=$ac_try;;
32365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32366 (eval "$ac_link") 2>conftest.er1
32368 grep -v '^ *+' conftest.er1
>conftest.err
32370 cat conftest.err
>&5
32371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32372 (exit $ac_status); } && {
32373 test -z "$ac_c_werror_flag" ||
32374 test ! -s conftest.err
32375 } && test -s conftest
$ac_exeext &&
32376 $as_test_x conftest
$ac_exeext; then
32377 ac_cv_lib_bsd_gethostbyname
=yes
32379 echo "$as_me: failed program was:" >&5
32380 sed 's/^/| /' conftest.
$ac_ext >&5
32382 ac_cv_lib_bsd_gethostbyname
=no
32385 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32386 conftest
$ac_exeext conftest.
$ac_ext
32387 LIBS
=$ac_check_lib_save_LIBS
32389 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32390 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32391 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32392 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
32398 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32399 # socket/setsockopt and other routines are undefined under SCO ODT
32400 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32401 # on later versions), says Simon Leinen: it contains gethostby*
32402 # variants that don't use the name server (or something). -lsocket
32403 # must be given before -lnsl if both are needed. We assume that
32404 # if connect needs -lnsl, so does gethostbyname.
32405 { echo "$as_me:$LINENO: checking for connect" >&5
32406 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32407 if test "${ac_cv_func_connect+set}" = set; then
32408 echo $ECHO_N "(cached) $ECHO_C" >&6
32410 cat >conftest.
$ac_ext <<_ACEOF
32413 cat confdefs.h
>>conftest.
$ac_ext
32414 cat >>conftest.
$ac_ext <<_ACEOF
32415 /* end confdefs.h. */
32416 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32417 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32418 #define connect innocuous_connect
32420 /* System header to define __stub macros and hopefully few prototypes,
32421 which can conflict with char connect (); below.
32422 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32423 <limits.h> exists even on freestanding compilers. */
32426 # include <limits.h>
32428 # include <assert.h>
32433 /* Override any GCC internal prototype to avoid an error.
32434 Use char because int might match the return type of a GCC
32435 builtin and then its argument prototype would still apply. */
32440 /* The GNU C library defines this for functions which it implements
32441 to always fail with ENOSYS. Some functions are actually named
32442 something starting with __ and the normal name is an alias. */
32443 #if defined __stub_connect || defined __stub___connect
32455 rm -f conftest.
$ac_objext conftest
$ac_exeext
32456 if { (ac_try
="$ac_link"
32457 case "(($ac_try" in
32458 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32459 *) ac_try_echo=$ac_try;;
32461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32462 (eval "$ac_link") 2>conftest.er1
32464 grep -v '^ *+' conftest.er1 >conftest.err
32466 cat conftest.err >&5
32467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32468 (exit $ac_status); } && {
32469 test -z "$ac_c_werror_flag" ||
32470 test ! -s conftest.err
32471 } && test -s conftest$ac_exeext &&
32472 $as_test_x conftest$ac_exeext; then
32473 ac_cv_func_connect=yes
32475 echo "$as_me: failed program was:" >&5
32476 sed 's/^/| /' conftest.$ac_ext >&5
32478 ac_cv_func_connect=no
32481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32482 conftest$ac_exeext conftest.$ac_ext
32484 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32485 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32487 if test $ac_cv_func_connect = no; then
32488 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32489 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32490 if test "${ac_cv_lib_socket_connect+set}" = set; then
32491 echo $ECHO_N "(cached) $ECHO_C" >&6
32493 ac_check_lib_save_LIBS=$LIBS
32494 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
32495 cat >conftest.$ac_ext <<_ACEOF
32498 cat confdefs.h >>conftest.$ac_ext
32499 cat >>conftest.$ac_ext <<_ACEOF
32500 /* end confdefs.h. */
32502 /* Override any GCC internal prototype to avoid an error.
32503 Use char because int might match the return type of a GCC
32504 builtin and then its argument prototype would still apply. */
32517 rm -f conftest.$ac_objext conftest$ac_exeext
32518 if { (ac_try="$ac_link"
32519 case "(($ac_try" in
32520 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32521 *) ac_try_echo
=$ac_try;;
32523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32524 (eval "$ac_link") 2>conftest.er1
32526 grep -v '^ *+' conftest.er1
>conftest.err
32528 cat conftest.err
>&5
32529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32530 (exit $ac_status); } && {
32531 test -z "$ac_c_werror_flag" ||
32532 test ! -s conftest.err
32533 } && test -s conftest
$ac_exeext &&
32534 $as_test_x conftest
$ac_exeext; then
32535 ac_cv_lib_socket_connect
=yes
32537 echo "$as_me: failed program was:" >&5
32538 sed 's/^/| /' conftest.
$ac_ext >&5
32540 ac_cv_lib_socket_connect
=no
32543 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32544 conftest
$ac_exeext conftest.
$ac_ext
32545 LIBS
=$ac_check_lib_save_LIBS
32547 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32548 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32549 if test $ac_cv_lib_socket_connect = yes; then
32550 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
32555 # Guillermo Gomez says -lposix is necessary on A/UX.
32556 { echo "$as_me:$LINENO: checking for remove" >&5
32557 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32558 if test "${ac_cv_func_remove+set}" = set; then
32559 echo $ECHO_N "(cached) $ECHO_C" >&6
32561 cat >conftest.
$ac_ext <<_ACEOF
32564 cat confdefs.h
>>conftest.
$ac_ext
32565 cat >>conftest.
$ac_ext <<_ACEOF
32566 /* end confdefs.h. */
32567 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32569 #define remove innocuous_remove
32571 /* System header to define __stub macros and hopefully few prototypes,
32572 which can conflict with char remove (); below.
32573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32574 <limits.h> exists even on freestanding compilers. */
32577 # include <limits.h>
32579 # include <assert.h>
32584 /* Override any GCC internal prototype to avoid an error.
32585 Use char because int might match the return type of a GCC
32586 builtin and then its argument prototype would still apply. */
32591 /* The GNU C library defines this for functions which it implements
32592 to always fail with ENOSYS. Some functions are actually named
32593 something starting with __ and the normal name is an alias. */
32594 #if defined __stub_remove || defined __stub___remove
32606 rm -f conftest.
$ac_objext conftest
$ac_exeext
32607 if { (ac_try
="$ac_link"
32608 case "(($ac_try" in
32609 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32610 *) ac_try_echo=$ac_try;;
32612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32613 (eval "$ac_link") 2>conftest.er1
32615 grep -v '^ *+' conftest.er1 >conftest.err
32617 cat conftest.err >&5
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); } && {
32620 test -z "$ac_c_werror_flag" ||
32621 test ! -s conftest.err
32622 } && test -s conftest$ac_exeext &&
32623 $as_test_x conftest$ac_exeext; then
32624 ac_cv_func_remove=yes
32626 echo "$as_me: failed program was:" >&5
32627 sed 's/^/| /' conftest.$ac_ext >&5
32629 ac_cv_func_remove=no
32632 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32633 conftest$ac_exeext conftest.$ac_ext
32635 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32636 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32638 if test $ac_cv_func_remove = no; then
32639 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32640 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32641 if test "${ac_cv_lib_posix_remove+set}" = set; then
32642 echo $ECHO_N "(cached) $ECHO_C" >&6
32644 ac_check_lib_save_LIBS=$LIBS
32645 LIBS="-lposix $LIBS"
32646 cat >conftest.$ac_ext <<_ACEOF
32649 cat confdefs.h >>conftest.$ac_ext
32650 cat >>conftest.$ac_ext <<_ACEOF
32651 /* end confdefs.h. */
32653 /* Override any GCC internal prototype to avoid an error.
32654 Use char because int might match the return type of a GCC
32655 builtin and then its argument prototype would still apply. */
32668 rm -f conftest.$ac_objext conftest$ac_exeext
32669 if { (ac_try="$ac_link"
32670 case "(($ac_try" in
32671 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32672 *) ac_try_echo
=$ac_try;;
32674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32675 (eval "$ac_link") 2>conftest.er1
32677 grep -v '^ *+' conftest.er1
>conftest.err
32679 cat conftest.err
>&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); } && {
32682 test -z "$ac_c_werror_flag" ||
32683 test ! -s conftest.err
32684 } && test -s conftest
$ac_exeext &&
32685 $as_test_x conftest
$ac_exeext; then
32686 ac_cv_lib_posix_remove
=yes
32688 echo "$as_me: failed program was:" >&5
32689 sed 's/^/| /' conftest.
$ac_ext >&5
32691 ac_cv_lib_posix_remove
=no
32694 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32695 conftest
$ac_exeext conftest.
$ac_ext
32696 LIBS
=$ac_check_lib_save_LIBS
32698 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32699 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32700 if test $ac_cv_lib_posix_remove = yes; then
32701 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
32706 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32707 { echo "$as_me:$LINENO: checking for shmat" >&5
32708 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32709 if test "${ac_cv_func_shmat+set}" = set; then
32710 echo $ECHO_N "(cached) $ECHO_C" >&6
32712 cat >conftest.
$ac_ext <<_ACEOF
32715 cat confdefs.h
>>conftest.
$ac_ext
32716 cat >>conftest.
$ac_ext <<_ACEOF
32717 /* end confdefs.h. */
32718 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32720 #define shmat innocuous_shmat
32722 /* System header to define __stub macros and hopefully few prototypes,
32723 which can conflict with char shmat (); below.
32724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32725 <limits.h> exists even on freestanding compilers. */
32728 # include <limits.h>
32730 # include <assert.h>
32735 /* Override any GCC internal prototype to avoid an error.
32736 Use char because int might match the return type of a GCC
32737 builtin and then its argument prototype would still apply. */
32742 /* The GNU C library defines this for functions which it implements
32743 to always fail with ENOSYS. Some functions are actually named
32744 something starting with __ and the normal name is an alias. */
32745 #if defined __stub_shmat || defined __stub___shmat
32757 rm -f conftest.
$ac_objext conftest
$ac_exeext
32758 if { (ac_try
="$ac_link"
32759 case "(($ac_try" in
32760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32761 *) ac_try_echo=$ac_try;;
32763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32764 (eval "$ac_link") 2>conftest.er1
32766 grep -v '^ *+' conftest.er1 >conftest.err
32768 cat conftest.err >&5
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); } && {
32771 test -z "$ac_c_werror_flag" ||
32772 test ! -s conftest.err
32773 } && test -s conftest$ac_exeext &&
32774 $as_test_x conftest$ac_exeext; then
32775 ac_cv_func_shmat=yes
32777 echo "$as_me: failed program was:" >&5
32778 sed 's/^/| /' conftest.$ac_ext >&5
32780 ac_cv_func_shmat=no
32783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32784 conftest$ac_exeext conftest.$ac_ext
32786 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32787 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32789 if test $ac_cv_func_shmat = no; then
32790 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32791 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32792 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32793 echo $ECHO_N "(cached) $ECHO_C" >&6
32795 ac_check_lib_save_LIBS=$LIBS
32797 cat >conftest.$ac_ext <<_ACEOF
32800 cat confdefs.h >>conftest.$ac_ext
32801 cat >>conftest.$ac_ext <<_ACEOF
32802 /* end confdefs.h. */
32804 /* Override any GCC internal prototype to avoid an error.
32805 Use char because int might match the return type of a GCC
32806 builtin and then its argument prototype would still apply. */
32819 rm -f conftest.$ac_objext conftest$ac_exeext
32820 if { (ac_try="$ac_link"
32821 case "(($ac_try" in
32822 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32823 *) ac_try_echo
=$ac_try;;
32825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32826 (eval "$ac_link") 2>conftest.er1
32828 grep -v '^ *+' conftest.er1
>conftest.err
32830 cat conftest.err
>&5
32831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32832 (exit $ac_status); } && {
32833 test -z "$ac_c_werror_flag" ||
32834 test ! -s conftest.err
32835 } && test -s conftest
$ac_exeext &&
32836 $as_test_x conftest
$ac_exeext; then
32837 ac_cv_lib_ipc_shmat
=yes
32839 echo "$as_me: failed program was:" >&5
32840 sed 's/^/| /' conftest.
$ac_ext >&5
32842 ac_cv_lib_ipc_shmat
=no
32845 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32846 conftest
$ac_exeext conftest.
$ac_ext
32847 LIBS
=$ac_check_lib_save_LIBS
32849 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32850 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32851 if test $ac_cv_lib_ipc_shmat = yes; then
32852 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
32858 # Check for libraries that X11R6 Xt/Xaw programs need.
32859 ac_save_LDFLAGS
=$LDFLAGS
32860 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
32861 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32862 # check for ICE first), but we must link in the order -lSM -lICE or
32863 # we get undefined symbols. So assume we have SM if we have ICE.
32864 # These have to be linked with before -lX11, unlike the other
32865 # libraries we check for below, so use a different variable.
32866 # John Interrante, Karl Berry
32867 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32868 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32869 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32870 echo $ECHO_N "(cached) $ECHO_C" >&6
32872 ac_check_lib_save_LIBS
=$LIBS
32873 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
32874 cat >conftest.
$ac_ext <<_ACEOF
32877 cat confdefs.h
>>conftest.
$ac_ext
32878 cat >>conftest.
$ac_ext <<_ACEOF
32879 /* end confdefs.h. */
32881 /* Override any GCC internal prototype to avoid an error.
32882 Use char because int might match the return type of a GCC
32883 builtin and then its argument prototype would still apply. */
32887 char IceConnectionNumber ();
32891 return IceConnectionNumber ();
32896 rm -f conftest.
$ac_objext conftest
$ac_exeext
32897 if { (ac_try
="$ac_link"
32898 case "(($ac_try" in
32899 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32900 *) ac_try_echo=$ac_try;;
32902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32903 (eval "$ac_link") 2>conftest.er1
32905 grep -v '^ *+' conftest.er1 >conftest.err
32907 cat conftest.err >&5
32908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32909 (exit $ac_status); } && {
32910 test -z "$ac_c_werror_flag" ||
32911 test ! -s conftest.err
32912 } && test -s conftest$ac_exeext &&
32913 $as_test_x conftest$ac_exeext; then
32914 ac_cv_lib_ICE_IceConnectionNumber=yes
32916 echo "$as_me: failed program was:" >&5
32917 sed 's/^/| /' conftest.$ac_ext >&5
32919 ac_cv_lib_ICE_IceConnectionNumber=no
32922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32923 conftest$ac_exeext conftest.$ac_ext
32924 LIBS=$ac_check_lib_save_LIBS
32926 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
32927 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
32928 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
32929 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
32932 LDFLAGS=$ac_save_LDFLAGS
32937 if test "$no_x" = "yes"; then
32938 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
32939 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
32940 { (exit 1); exit 1; }; }
32943 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
32944 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
32945 AFMINSTALL=afminstall
32946 COMPILED_X_PROGRAM=0
32950 if test "$wxUSE_X11" = 1; then
32951 if test "$wxUSE_NANOX" = "yes"; then
32952 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
32953 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
32954 if test "x$MICROWIN" = x ; then
32955 { echo "$as_me:$LINENO: result: not found" >&5
32956 echo "${ECHO_T}not found" >&6; }
32957 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
32958 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
32959 { (exit 1); exit 1; }; }
32961 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
32962 echo "${ECHO_T}$MICROWIN" >&6; }
32963 cat >>confdefs.h <<\_ACEOF
32964 #define wxUSE_NANOX 1
32970 if test "$wxUSE_UNICODE" = "yes"; then
32973 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
32974 if test -n "$ac_tool_prefix"; then
32975 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
32976 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
32977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32979 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
32980 echo $ECHO_N "(cached) $ECHO_C" >&6
32982 case $PKG_CONFIG in
32984 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
32987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32988 for as_dir in $PATH
32991 test -z "$as_dir" && as_dir=.
32992 for ac_exec_ext in '' $ac_executable_extensions; do
32993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32994 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
32995 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33005 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
33006 if test -n "$PKG_CONFIG"; then
33007 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33008 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33010 { echo "$as_me:$LINENO: result: no" >&5
33011 echo "${ECHO_T}no" >&6; }
33016 if test -z "$ac_cv_path_PKG_CONFIG"; then
33017 ac_pt_PKG_CONFIG=$PKG_CONFIG
33018 # Extract the first word of "pkg-config", so it can be a program name with args.
33019 set dummy pkg-config; ac_word=$2
33020 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33022 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33023 echo $ECHO_N "(cached) $ECHO_C" >&6
33025 case $ac_pt_PKG_CONFIG in
33027 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33031 for as_dir in $PATH
33034 test -z "$as_dir" && as_dir=.
33035 for ac_exec_ext in '' $ac_executable_extensions; do
33036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33037 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
33038 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33048 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
33049 if test -n "$ac_pt_PKG_CONFIG"; then
33050 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33051 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33053 { echo "$as_me:$LINENO: result: no" >&5
33054 echo "${ECHO_T}no" >&6; }
33057 if test "x$ac_pt_PKG_CONFIG" = x; then
33060 case $cross_compiling:$ac_tool_warned in
33062 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33063 whose name does not start with the host triplet. If you think this
33064 configuration is useful to you, please write to autoconf@gnu.org." >&5
33065 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33066 whose name does not start with the host triplet. If you think this
33067 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33068 ac_tool_warned=yes ;;
33070 PKG_CONFIG=$ac_pt_PKG_CONFIG
33073 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
33077 if test -n "$PKG_CONFIG"; then
33078 _pkg_min_version=0.9.0
33079 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33080 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33081 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33082 { echo "$as_me:$LINENO: result: yes" >&5
33083 echo "${ECHO_T}yes" >&6; }
33085 { echo "$as_me:$LINENO: result: no" >&5
33086 echo "${ECHO_T}no" >&6; }
33094 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33095 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33097 if test -n "$PKG_CONFIG"; then
33098 if test -n "$PANGOX_CFLAGS"; then
33099 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
33101 if test -n "$PKG_CONFIG" && \
33102 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33103 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33106 (exit $ac_status); }; then
33107 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev
/null
`
33115 if test -n "$PKG_CONFIG"; then
33116 if test -n "$PANGOX_LIBS"; then
33117 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
33119 if test -n "$PKG_CONFIG" && \
33120 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33121 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124 (exit $ac_status); }; then
33125 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev
/null
`
33136 if test $pkg_failed = yes; then
33138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33139 _pkg_short_errors_supported=yes
33141 _pkg_short_errors_supported=no
33143 if test $_pkg_short_errors_supported = yes; then
33144 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33146 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33148 # Put the nasty error message in config.log where it belongs
33149 echo "$PANGOX_PKG_ERRORS" >&5
33152 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33153 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33154 { (exit 1); exit 1; }; }
33157 elif test $pkg_failed = untried; then
33159 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33160 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33161 { (exit 1); exit 1; }; }
33165 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
33166 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
33167 { echo "$as_me:$LINENO: result: yes" >&5
33168 echo "${ECHO_T}yes" >&6; }
33170 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
33171 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
33172 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
33177 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33178 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33180 if test -n "$PKG_CONFIG"; then
33181 if test -n "$PANGOFT2_CFLAGS"; then
33182 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
33184 if test -n "$PKG_CONFIG" && \
33185 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33186 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33189 (exit $ac_status); }; then
33190 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev
/null
`
33198 if test -n "$PKG_CONFIG"; then
33199 if test -n "$PANGOFT2_LIBS"; then
33200 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
33202 if test -n "$PKG_CONFIG" && \
33203 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33204 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33207 (exit $ac_status); }; then
33208 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev
/null
`
33219 if test $pkg_failed = yes; then
33221 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33222 _pkg_short_errors_supported=yes
33224 _pkg_short_errors_supported=no
33226 if test $_pkg_short_errors_supported = yes; then
33227 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33229 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33231 # Put the nasty error message in config.log where it belongs
33232 echo "$PANGOFT2_PKG_ERRORS" >&5
33235 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33236 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33237 wxUSE_PRINTING_ARCHITECTURE="no"
33240 elif test $pkg_failed = untried; then
33242 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33243 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33244 wxUSE_PRINTING_ARCHITECTURE="no"
33248 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
33249 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
33250 { echo "$as_me:$LINENO: result: yes" >&5
33251 echo "${ECHO_T}yes" >&6; }
33253 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
33254 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
33255 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33260 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33261 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33263 if test -n "$PKG_CONFIG"; then
33264 if test -n "$PANGOXFT_CFLAGS"; then
33265 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
33267 if test -n "$PKG_CONFIG" && \
33268 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33269 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); }; then
33273 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev
/null
`
33281 if test -n "$PKG_CONFIG"; then
33282 if test -n "$PANGOXFT_LIBS"; then
33283 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
33285 if test -n "$PKG_CONFIG" && \
33286 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33287 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); }; then
33291 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev
/null
`
33302 if test $pkg_failed = yes; then
33304 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33305 _pkg_short_errors_supported=yes
33307 _pkg_short_errors_supported=no
33309 if test $_pkg_short_errors_supported = yes; then
33310 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33312 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33314 # Put the nasty error message in config.log where it belongs
33315 echo "$PANGOXFT_PKG_ERRORS" >&5
33318 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33319 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33322 elif test $pkg_failed = untried; then
33324 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33325 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33329 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
33330 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
33331 { echo "$as_me:$LINENO: result: yes" >&5
33332 echo "${ECHO_T}yes" >&6; }
33334 cat >>confdefs.h <<\_ACEOF
33335 #define HAVE_PANGO_XFT 1
33338 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
33339 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
33340 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33344 LIBS="$LIBS $PANGOX_LIBS"
33346 for ac_func in pango_font_family_is_monospace
33348 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33349 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33350 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33351 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33352 echo $ECHO_N "(cached) $ECHO_C" >&6
33354 cat >conftest.$ac_ext <<_ACEOF
33357 cat confdefs.h >>conftest.$ac_ext
33358 cat >>conftest.$ac_ext <<_ACEOF
33359 /* end confdefs.h. */
33360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33362 #define $ac_func innocuous_$ac_func
33364 /* System header to define __stub macros and hopefully few prototypes,
33365 which can conflict with char $ac_func (); below.
33366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33367 <limits.h> exists even on freestanding compilers. */
33370 # include <limits.h>
33372 # include <assert.h>
33377 /* Override any GCC internal prototype to avoid an error.
33378 Use char because int might match the return type of a GCC
33379 builtin and then its argument prototype would still apply. */
33384 /* The GNU C library defines this for functions which it implements
33385 to always fail with ENOSYS. Some functions are actually named
33386 something starting with __ and the normal name is an alias. */
33387 #if defined __stub_$ac_func || defined __stub___$ac_func
33394 return $ac_func ();
33399 rm -f conftest.$ac_objext conftest$ac_exeext
33400 if { (ac_try="$ac_link"
33401 case "(($ac_try" in
33402 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33403 *) ac_try_echo
=$ac_try;;
33405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33406 (eval "$ac_link") 2>conftest.er1
33408 grep -v '^ *+' conftest.er1
>conftest.err
33410 cat conftest.err
>&5
33411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 (exit $ac_status); } && {
33413 test -z "$ac_c_werror_flag" ||
33414 test ! -s conftest.err
33415 } && test -s conftest
$ac_exeext &&
33416 $as_test_x conftest
$ac_exeext; then
33417 eval "$as_ac_var=yes"
33419 echo "$as_me: failed program was:" >&5
33420 sed 's/^/| /' conftest.
$ac_ext >&5
33422 eval "$as_ac_var=no"
33425 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33426 conftest
$ac_exeext conftest.
$ac_ext
33428 ac_res
=`eval echo '${'$as_ac_var'}'`
33429 { echo "$as_me:$LINENO: result: $ac_res" >&5
33430 echo "${ECHO_T}$ac_res" >&6; }
33431 if test `eval echo '${'$as_ac_var'}'` = yes; then
33432 cat >>confdefs.h
<<_ACEOF
33433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33442 wxUSE_UNIVERSAL
="yes"
33444 if test "$wxUSE_NANOX" = "yes"; then
33445 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33446 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"
33447 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33449 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11"
33456 if test "$wxUSE_MOTIF" = 1; then
33457 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33458 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33461 for ac_dir
in $SEARCH_INCLUDE /usr
/include
33463 if test -f "$ac_dir/Xm/Xm.h"; then
33464 ac_find_includes
=$ac_dir
33469 if test "$ac_find_includes" != "" ; then
33470 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33471 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33473 if test "x$ac_find_includes" = "x/usr/include"; then
33474 ac_path_to_include
=""
33476 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
33478 if test $result = 0; then
33479 ac_path_to_include
=""
33481 ac_path_to_include
=" -I$ac_find_includes"
33485 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
33487 save_CFLAGS
=$CFLAGS
33488 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33490 cat >conftest.
$ac_ext <<_ACEOF
33493 cat confdefs.h
>>conftest.
$ac_ext
33494 cat >>conftest.
$ac_ext <<_ACEOF
33495 /* end confdefs.h. */
33504 version = xmUseVersion;
33510 rm -f conftest.
$ac_objext
33511 if { (ac_try
="$ac_compile"
33512 case "(($ac_try" in
33513 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33514 *) ac_try_echo=$ac_try;;
33516 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33517 (eval "$ac_compile") 2>conftest.er1
33519 grep -v '^ *+' conftest.er1 >conftest.err
33521 cat conftest.err >&5
33522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33523 (exit $ac_status); } && {
33524 test -z "$ac_c_werror_flag" ||
33525 test ! -s conftest.err
33526 } && test -s conftest.$ac_objext; then
33528 { echo "$as_me:$LINENO: result: found in default search path" >&5
33529 echo "${ECHO_T}found in default search path" >&6; }
33530 COMPILED_X_PROGRAM=1
33533 echo "$as_me: failed program was:" >&5
33534 sed 's/^/| /' conftest.$ac_ext >&5
33537 { echo "$as_me:$LINENO: result: no" >&5
33538 echo "${ECHO_T}no" >&6; }
33539 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33540 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33541 { (exit 1); exit 1; }; }
33546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33548 CFLAGS=$save_CFLAGS
33552 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33553 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33556 for ac_dir in $SEARCH_LIB
33558 for ac_extension in a so sl dylib dll.a; do
33559 if test -f "$ac_dir/libXm.$ac_extension"; then
33560 ac_find_libraries=$ac_dir
33567 if test "x$ac_find_libraries" != "x" ; then
33568 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33569 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33572 if test "$ac_find_libraries" = "default location"; then
33575 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
33577 if test $result = 0; then
33580 ac_path_to_link=" -L$ac_find_libraries"
33584 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
33586 save_CFLAGS=$CFLAGS
33587 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33589 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33591 cat >conftest.$ac_ext <<_ACEOF
33594 cat confdefs.h >>conftest.$ac_ext
33595 cat >>conftest.$ac_ext <<_ACEOF
33596 /* end confdefs.h. */
33605 version = xmUseVersion;
33611 rm -f conftest.$ac_objext conftest$ac_exeext
33612 if { (ac_try="$ac_link"
33613 case "(($ac_try" in
33614 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33615 *) ac_try_echo
=$ac_try;;
33617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33618 (eval "$ac_link") 2>conftest.er1
33620 grep -v '^ *+' conftest.er1
>conftest.err
33622 cat conftest.err
>&5
33623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33624 (exit $ac_status); } && {
33625 test -z "$ac_c_werror_flag" ||
33626 test ! -s conftest.err
33627 } && test -s conftest
$ac_exeext &&
33628 $as_test_x conftest
$ac_exeext; then
33630 { echo "$as_me:$LINENO: result: found in default search path" >&5
33631 echo "${ECHO_T}found in default search path" >&6; }
33632 COMPILED_X_PROGRAM
=1
33635 echo "$as_me: failed program was:" >&5
33636 sed 's/^/| /' conftest.
$ac_ext >&5
33639 { echo "$as_me:$LINENO: result: no" >&5
33640 echo "${ECHO_T}no" >&6; }
33641 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33642 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33643 { (exit 1); exit 1; }; }
33648 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33649 conftest
$ac_exeext conftest.
$ac_ext
33651 CFLAGS
=$save_CFLAGS
33655 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33656 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33660 for libp
in "" " -lXp"; do
33661 if test "$libs_found" = 0; then
33662 for libsm_ice
in "" " -lSM -lICE"; do
33663 if test "$libs_found" = 0; then
33665 LIBS
="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33666 save_CFLAGS
=$CFLAGS
33667 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33669 cat >conftest.
$ac_ext <<_ACEOF
33672 cat confdefs.h
>>conftest.
$ac_ext
33673 cat >>conftest.
$ac_ext <<_ACEOF
33674 /* end confdefs.h. */
33677 #include <Xm/List.h>
33683 XmString string = NULL;
33686 XmListAddItem(w, string, position);
33692 rm -f conftest.
$ac_objext conftest
$ac_exeext
33693 if { (ac_try
="$ac_link"
33694 case "(($ac_try" in
33695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33696 *) ac_try_echo=$ac_try;;
33698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33699 (eval "$ac_link") 2>conftest.er1
33701 grep -v '^ *+' conftest.er1 >conftest.err
33703 cat conftest.err >&5
33704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33705 (exit $ac_status); } && {
33706 test -z "$ac_c_werror_flag" ||
33707 test ! -s conftest.err
33708 } && test -s conftest$ac_exeext &&
33709 $as_test_x conftest$ac_exeext; then
33712 libsm_ice_link="$libsm_ice"
33713 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33714 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33718 echo "$as_me: failed program was:" >&5
33719 sed 's/^/| /' conftest.$ac_ext >&5
33725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33726 conftest$ac_exeext conftest.$ac_ext
33729 CFLAGS=$save_CFLAGS
33735 if test "$libs_found" = 0; then
33736 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33737 echo "${ECHO_T}can't find the right libraries" >&6; }
33738 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33739 echo "$as_me: error: can't link a simple motif program" >&2;}
33740 { (exit 1); exit 1; }; }
33743 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33744 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33745 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33746 echo $ECHO_N "(cached) $ECHO_C" >&6
33748 ac_check_lib_save_LIBS=$LIBS
33750 cat >conftest.$ac_ext <<_ACEOF
33753 cat confdefs.h >>conftest.$ac_ext
33754 cat >>conftest.$ac_ext <<_ACEOF
33755 /* end confdefs.h. */
33757 /* Override any GCC internal prototype to avoid an error.
33758 Use char because int might match the return type of a GCC
33759 builtin and then its argument prototype would still apply. */
33763 char SgCreateList ();
33767 return SgCreateList ();
33772 rm -f conftest.$ac_objext conftest$ac_exeext
33773 if { (ac_try="$ac_link"
33774 case "(($ac_try" in
33775 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33776 *) ac_try_echo
=$ac_try;;
33778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33779 (eval "$ac_link") 2>conftest.er1
33781 grep -v '^ *+' conftest.er1
>conftest.err
33783 cat conftest.err
>&5
33784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33785 (exit $ac_status); } && {
33786 test -z "$ac_c_werror_flag" ||
33787 test ! -s conftest.err
33788 } && test -s conftest
$ac_exeext &&
33789 $as_test_x conftest
$ac_exeext; then
33790 ac_cv_lib_Sgm_SgCreateList
=yes
33792 echo "$as_me: failed program was:" >&5
33793 sed 's/^/| /' conftest.
$ac_ext >&5
33795 ac_cv_lib_Sgm_SgCreateList
=no
33798 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33799 conftest
$ac_exeext conftest.
$ac_ext
33800 LIBS
=$ac_check_lib_save_LIBS
33802 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33803 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33804 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33805 libsgm_link
=" -lSgm"
33809 save_CFLAGS
=$CFLAGS
33810 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33812 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33813 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33814 if test "${wx_cv_lib_motif2+set}" = set; then
33815 echo $ECHO_N "(cached) $ECHO_C" >&6
33817 cat >conftest.
$ac_ext <<_ACEOF
33820 cat confdefs.h
>>conftest.
$ac_ext
33821 cat >>conftest.
$ac_ext <<_ACEOF
33822 /* end confdefs.h. */
33830 #if XmVersion < 2000
33838 rm -f conftest.
$ac_objext
33839 if { (ac_try
="$ac_compile"
33840 case "(($ac_try" in
33841 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33842 *) ac_try_echo=$ac_try;;
33844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33845 (eval "$ac_compile") 2>conftest.er1
33847 grep -v '^ *+' conftest.er1 >conftest.err
33849 cat conftest.err >&5
33850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33851 (exit $ac_status); } && {
33852 test -z "$ac_c_werror_flag" ||
33853 test ! -s conftest.err
33854 } && test -s conftest.$ac_objext; then
33855 wx_cv_lib_motif2="yes"
33857 echo "$as_me: failed program was:" >&5
33858 sed 's/^/| /' conftest.$ac_ext >&5
33860 wx_cv_lib_motif2="no"
33863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33865 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33866 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33867 if test "$wx_cv_lib_motif2" = "yes"; then
33868 cat >>confdefs.h <<\_ACEOF
33869 #define __WXMOTIF20__ 1
33873 cat >>confdefs.h <<\_ACEOF
33874 #define __WXMOTIF20__ 0
33879 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
33880 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
33881 if test "${wx_cv_lib_lesstif+set}" = set; then
33882 echo $ECHO_N "(cached) $ECHO_C" >&6
33884 cat >conftest.$ac_ext <<_ACEOF
33887 cat confdefs.h >>conftest.$ac_ext
33888 cat >>conftest.$ac_ext <<_ACEOF
33889 /* end confdefs.h. */
33897 #if !defined(LesstifVersion) || LesstifVersion <= 0
33905 rm -f conftest.$ac_objext
33906 if { (ac_try="$ac_compile"
33907 case "(($ac_try" in
33908 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33909 *) ac_try_echo
=$ac_try;;
33911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33912 (eval "$ac_compile") 2>conftest.er1
33914 grep -v '^ *+' conftest.er1
>conftest.err
33916 cat conftest.err
>&5
33917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33918 (exit $ac_status); } && {
33919 test -z "$ac_c_werror_flag" ||
33920 test ! -s conftest.err
33921 } && test -s conftest.
$ac_objext; then
33922 wx_cv_lib_lesstif
="yes"
33924 echo "$as_me: failed program was:" >&5
33925 sed 's/^/| /' conftest.
$ac_ext >&5
33927 wx_cv_lib_lesstif
="no"
33930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33933 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
33934 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
33935 if test "$wx_cv_lib_lesstif" = "yes"; then
33936 cat >>confdefs.h
<<\_ACEOF
33937 #define __WXLESSTIF__ 1
33941 cat >>confdefs.h
<<\_ACEOF
33942 #define __WXLESSTIF__ 0
33947 CFLAGS
=$save_CFLAGS
33949 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
33954 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
33955 if test "$wxUSE_LIBXPM" = "sys"; then
33956 { echo "$as_me:$LINENO: checking for Xpm library" >&5
33957 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
33960 for ac_dir
in $SEARCH_LIB
33962 for ac_extension
in a so sl dylib dll.a
; do
33963 if test -f "$ac_dir/libXpm.$ac_extension"; then
33964 ac_find_libraries
=$ac_dir
33970 if test "$ac_find_libraries" != "" ; then
33972 if test "$ac_find_libraries" = "default location"; then
33975 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33977 if test $result = 0; then
33980 ac_path_to_link
=" -L$ac_find_libraries"
33984 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33985 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33986 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33988 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
33989 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
33990 if test "${wx_cv_x11_xpm_h+set}" = set; then
33991 echo $ECHO_N "(cached) $ECHO_C" >&6
33994 save_CFLAGS
=$CFLAGS
33995 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33997 cat >conftest.
$ac_ext <<_ACEOF
34000 cat confdefs.h
>>conftest.
$ac_ext
34001 cat >>conftest.
$ac_ext <<_ACEOF
34002 /* end confdefs.h. */
34004 #include <X11/xpm.h>
34011 version = XpmLibraryVersion();
34017 rm -f conftest.
$ac_objext
34018 if { (ac_try
="$ac_compile"
34019 case "(($ac_try" in
34020 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34021 *) ac_try_echo=$ac_try;;
34023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34024 (eval "$ac_compile") 2>conftest.er1
34026 grep -v '^ *+' conftest.er1 >conftest.err
34028 cat conftest.err >&5
34029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34030 (exit $ac_status); } && {
34031 test -z "$ac_c_werror_flag" ||
34032 test ! -s conftest.err
34033 } && test -s conftest.$ac_objext; then
34034 wx_cv_x11_xpm_h=yes
34036 echo "$as_me: failed program was:" >&5
34037 sed 's/^/| /' conftest.$ac_ext >&5
34043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34045 CFLAGS=$save_CFLAGS
34049 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34050 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34052 if test $wx_cv_x11_xpm_h = "yes"; then
34053 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
34054 cat >>confdefs.h <<\_ACEOF
34055 #define wxHAVE_LIB_XPM 1
34059 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34060 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34066 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34067 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34068 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34069 echo $ECHO_N "(cached) $ECHO_C" >&6
34071 ac_check_lib_save_LIBS=$LIBS
34072 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34073 cat >conftest.$ac_ext <<_ACEOF
34076 cat confdefs.h >>conftest.$ac_ext
34077 cat >>conftest.$ac_ext <<_ACEOF
34078 /* end confdefs.h. */
34080 /* Override any GCC internal prototype to avoid an error.
34081 Use char because int might match the return type of a GCC
34082 builtin and then its argument prototype would still apply. */
34086 char XShapeQueryExtension ();
34090 return XShapeQueryExtension ();
34095 rm -f conftest.$ac_objext conftest$ac_exeext
34096 if { (ac_try="$ac_link"
34097 case "(($ac_try" in
34098 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34099 *) ac_try_echo
=$ac_try;;
34101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34102 (eval "$ac_link") 2>conftest.er1
34104 grep -v '^ *+' conftest.er1
>conftest.err
34106 cat conftest.err
>&5
34107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34108 (exit $ac_status); } && {
34109 test -z "$ac_c_werror_flag" ||
34110 test ! -s conftest.err
34111 } && test -s conftest
$ac_exeext &&
34112 $as_test_x conftest
$ac_exeext; then
34113 ac_cv_lib_Xext_XShapeQueryExtension
=yes
34115 echo "$as_me: failed program was:" >&5
34116 sed 's/^/| /' conftest.
$ac_ext >&5
34118 ac_cv_lib_Xext_XShapeQueryExtension
=no
34121 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34122 conftest
$ac_exeext conftest.
$ac_ext
34123 LIBS
=$ac_check_lib_save_LIBS
34125 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34126 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34127 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34129 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXext"
34135 if test "$wxHAVE_XEXT_LIB" = 1; then
34136 save_CFLAGS
="$CFLAGS"
34137 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
34139 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34140 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34141 cat >conftest.
$ac_ext <<_ACEOF
34144 cat confdefs.h
>>conftest.
$ac_ext
34145 cat >>conftest.
$ac_ext <<_ACEOF
34146 /* end confdefs.h. */
34148 #include <X11/Xlib.h>
34149 #include <X11/extensions/shape.h>
34155 int dummy1, dummy2;
34156 XShapeQueryExtension((Display*)NULL,
34157 (int*)NULL, (int*)NULL);
34163 rm -f conftest.
$ac_objext
34164 if { (ac_try
="$ac_compile"
34165 case "(($ac_try" in
34166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34167 *) ac_try_echo=$ac_try;;
34169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34170 (eval "$ac_compile") 2>conftest.er1
34172 grep -v '^ *+' conftest.er1 >conftest.err
34174 cat conftest.err >&5
34175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176 (exit $ac_status); } && {
34177 test -z "$ac_c_werror_flag" ||
34178 test ! -s conftest.err
34179 } && test -s conftest.$ac_objext; then
34181 cat >>confdefs.h <<\_ACEOF
34182 #define HAVE_XSHAPE 1
34185 { echo "$as_me:$LINENO: result: found" >&5
34186 echo "${ECHO_T}found" >&6; }
34189 echo "$as_me: failed program was:" >&5
34190 sed 's/^/| /' conftest.$ac_ext >&5
34193 { echo "$as_me:$LINENO: result: not found" >&5
34194 echo "${ECHO_T}not found" >&6; }
34198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34199 CFLAGS="$save_CFLAGS"
34204 if test "$wxUSE_OSX_CARBON" = 1; then
34205 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34206 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34207 if test "$GCC" = yes; then
34208 { echo "$as_me:$LINENO: result: gcc" >&5
34209 echo "${ECHO_T}gcc" >&6; }
34210 CPPFLAGS_PASCAL="-fpascal-strings"
34211 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34212 { echo "$as_me:$LINENO: result: xlc" >&5
34213 echo "${ECHO_T}xlc" >&6; }
34214 CPPFLAGS_PASCAL="-qmacpstr"
34216 { echo "$as_me:$LINENO: result: none" >&5
34217 echo "${ECHO_T}none" >&6; }
34220 if test "x$wxUSE_UNIX" = "xyes"; then
34221 CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34223 CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34227 GUIDIST=OSX_CARBON_DIST
34228 WXBASEPORT="_carbon"
34230 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34233 if test "$wxUSE_OSX_COCOA" = 1; then
34235 GUIDIST=OSX_COCOA_DIST
34237 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34240 if test "$wxUSE_OSX_IPHONE" = 1; then
34244 if test "$wxUSE_OLD_COCOA" = 1; then
34249 if test "$wxUSE_PM" = 1; then
34252 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34253 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34254 if test "${wx_cv_spbcdata+set}" = set; then
34255 echo $ECHO_N "(cached) $ECHO_C" >&6
34258 cat >conftest.$ac_ext <<_ACEOF
34261 cat confdefs.h >>conftest.$ac_ext
34262 cat >>conftest.$ac_ext <<_ACEOF
34263 /* end confdefs.h. */
34278 rm -f conftest.$ac_objext
34279 if { (ac_try="$ac_compile"
34280 case "(($ac_try" in
34281 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34282 *) ac_try_echo
=$ac_try;;
34284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34285 (eval "$ac_compile") 2>conftest.er1
34287 grep -v '^ *+' conftest.er1
>conftest.err
34289 cat conftest.err
>&5
34290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34291 (exit $ac_status); } && {
34292 test -z "$ac_c_werror_flag" ||
34293 test ! -s conftest.err
34294 } && test -s conftest.
$ac_objext; then
34297 echo "$as_me: failed program was:" >&5
34298 sed 's/^/| /' conftest.
$ac_ext >&5
34304 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34308 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34309 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34311 if test $wx_cv_spbcdata = "yes"; then
34312 cat >>confdefs.h
<<\_ACEOF
34313 #define HAVE_SPBCDATA 1
34319 if test "$TOOLKIT" = "PM" ; then
34322 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34325 if test "$wxUSE_UNIVERSAL" = "yes"; then
34326 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34330 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34331 DISTDIR
="wx\$(TOOLKIT)"
34337 if test "$USE_WIN32" = 1 ; then
34341 GUIDIST
="BASE_DIST"
34347 if test "$wxUSE_GUI" = "yes"; then
34348 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34350 for ac_header
in X
11/Xlib.h
34352 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34353 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34355 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34356 echo $ECHO_N "(cached) $ECHO_C" >&6
34358 cat >conftest.
$ac_ext <<_ACEOF
34361 cat confdefs.h
>>conftest.
$ac_ext
34362 cat >>conftest.
$ac_ext <<_ACEOF
34363 /* end confdefs.h. */
34366 #include <$ac_header>
34368 rm -f conftest.
$ac_objext
34369 if { (ac_try
="$ac_compile"
34370 case "(($ac_try" in
34371 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34372 *) ac_try_echo=$ac_try;;
34374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34375 (eval "$ac_compile") 2>conftest.er1
34377 grep -v '^ *+' conftest.er1 >conftest.err
34379 cat conftest.err >&5
34380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34381 (exit $ac_status); } && {
34382 test -z "$ac_c_werror_flag" ||
34383 test ! -s conftest.err
34384 } && test -s conftest.$ac_objext; then
34385 eval "$as_ac_Header=yes"
34387 echo "$as_me: failed program was:" >&5
34388 sed 's/^/| /' conftest.$ac_ext >&5
34390 eval "$as_ac_Header=no"
34393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34395 ac_res=`eval echo '${'$as_ac_Header'}'`
34396 { echo "$as_me:$LINENO: result: $ac_res" >&5
34397 echo "${ECHO_T}$ac_res" >&6; }
34398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34399 cat >>confdefs.h <<_ACEOF
34400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34408 for ac_header in X11/XKBlib.h
34410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34411 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34412 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34413 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34414 echo $ECHO_N "(cached) $ECHO_C" >&6
34416 cat >conftest.$ac_ext <<_ACEOF
34419 cat confdefs.h >>conftest.$ac_ext
34420 cat >>conftest.$ac_ext <<_ACEOF
34421 /* end confdefs.h. */
34423 #if HAVE_X11_XLIB_H
34424 #include <X11/Xlib.h>
34428 #include <$ac_header>
34430 rm -f conftest.$ac_objext
34431 if { (ac_try="$ac_compile"
34432 case "(($ac_try" in
34433 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34434 *) ac_try_echo
=$ac_try;;
34436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34437 (eval "$ac_compile") 2>conftest.er1
34439 grep -v '^ *+' conftest.er1
>conftest.err
34441 cat conftest.err
>&5
34442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34443 (exit $ac_status); } && {
34444 test -z "$ac_c_werror_flag" ||
34445 test ! -s conftest.err
34446 } && test -s conftest.
$ac_objext; then
34447 eval "$as_ac_Header=yes"
34449 echo "$as_me: failed program was:" >&5
34450 sed 's/^/| /' conftest.
$ac_ext >&5
34452 eval "$as_ac_Header=no"
34455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34457 ac_res
=`eval echo '${'$as_ac_Header'}'`
34458 { echo "$as_me:$LINENO: result: $ac_res" >&5
34459 echo "${ECHO_T}$ac_res" >&6; }
34460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34461 cat >>confdefs.h
<<_ACEOF
34462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34475 if test "$wxUSE_DISPLAY" = "yes"; then
34476 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34480 fl_pkgname
=`echo "Xinerama" | tr [:upper:] [:lower:]`
34483 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34484 if test -n "$ac_tool_prefix"; then
34485 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34486 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
34487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34489 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34490 echo $ECHO_N "(cached) $ECHO_C" >&6
34492 case $PKG_CONFIG in
34494 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
34497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34498 for as_dir
in $PATH
34501 test -z "$as_dir" && as_dir
=.
34502 for ac_exec_ext
in '' $ac_executable_extensions; do
34503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34504 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34515 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
34516 if test -n "$PKG_CONFIG"; then
34517 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34518 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34520 { echo "$as_me:$LINENO: result: no" >&5
34521 echo "${ECHO_T}no" >&6; }
34526 if test -z "$ac_cv_path_PKG_CONFIG"; then
34527 ac_pt_PKG_CONFIG
=$PKG_CONFIG
34528 # Extract the first word of "pkg-config", so it can be a program name with args.
34529 set dummy pkg
-config; ac_word
=$2
34530 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34532 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
34533 echo $ECHO_N "(cached) $ECHO_C" >&6
34535 case $ac_pt_PKG_CONFIG in
34537 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
34540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34541 for as_dir
in $PATH
34544 test -z "$as_dir" && as_dir
=.
34545 for ac_exec_ext
in '' $ac_executable_extensions; do
34546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34547 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
34548 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34558 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
34559 if test -n "$ac_pt_PKG_CONFIG"; then
34560 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
34561 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
34563 { echo "$as_me:$LINENO: result: no" >&5
34564 echo "${ECHO_T}no" >&6; }
34567 if test "x$ac_pt_PKG_CONFIG" = x
; then
34570 case $cross_compiling:$ac_tool_warned in
34572 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
34573 whose name does not start with the host triplet. If you think this
34574 configuration is useful to you, please write to autoconf@gnu.org." >&5
34575 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
34576 whose name does not start with the host triplet. If you think this
34577 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
34578 ac_tool_warned
=yes ;;
34580 PKG_CONFIG
=$ac_pt_PKG_CONFIG
34583 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
34587 if test -n "$PKG_CONFIG"; then
34588 _pkg_min_version
=0.9.0
34589 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
34590 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
34591 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
34592 { echo "$as_me:$LINENO: result: yes" >&5
34593 echo "${ECHO_T}yes" >&6; }
34595 { echo "$as_me:$LINENO: result: no" >&5
34596 echo "${ECHO_T}no" >&6; }
34603 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34604 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34606 if test -n "$PKG_CONFIG"; then
34607 if test -n "$Xinerama_CFLAGS"; then
34608 pkg_cv_Xinerama_CFLAGS
="$Xinerama_CFLAGS"
34610 if test -n "$PKG_CONFIG" && \
34611 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34612 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34615 (exit $ac_status); }; then
34616 pkg_cv_Xinerama_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
34624 if test -n "$PKG_CONFIG"; then
34625 if test -n "$Xinerama_LIBS"; then
34626 pkg_cv_Xinerama_LIBS
="$Xinerama_LIBS"
34628 if test -n "$PKG_CONFIG" && \
34629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
34630 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); }; then
34634 pkg_cv_Xinerama_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
34645 if test $pkg_failed = yes; then
34647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
34648 _pkg_short_errors_supported
=yes
34650 _pkg_short_errors_supported
=no
34652 if test $_pkg_short_errors_supported = yes; then
34653 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
34655 Xinerama_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
34657 # Put the nasty error message in config.log where it belongs
34658 echo "$Xinerama_PKG_ERRORS" >&5
34661 if test "x$ac_find_libraries" = "x"; then
34662 if test "xXineramaQueryScreens" != "x"; then
34663 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34664 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34665 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34666 echo $ECHO_N "(cached) $ECHO_C" >&6
34668 ac_check_lib_save_LIBS
=$LIBS
34669 LIBS
="-lXinerama $LIBS"
34670 cat >conftest.
$ac_ext <<_ACEOF
34673 cat confdefs.h
>>conftest.
$ac_ext
34674 cat >>conftest.
$ac_ext <<_ACEOF
34675 /* end confdefs.h. */
34677 /* Override any GCC internal prototype to avoid an error.
34678 Use char because int might match the return type of a GCC
34679 builtin and then its argument prototype would still apply. */
34683 char XineramaQueryScreens ();
34687 return XineramaQueryScreens ();
34692 rm -f conftest.
$ac_objext conftest
$ac_exeext
34693 if { (ac_try
="$ac_link"
34694 case "(($ac_try" in
34695 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34696 *) ac_try_echo=$ac_try;;
34698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34699 (eval "$ac_link") 2>conftest.er1
34701 grep -v '^ *+' conftest.er1 >conftest.err
34703 cat conftest.err >&5
34704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705 (exit $ac_status); } && {
34706 test -z "$ac_c_werror_flag" ||
34707 test ! -s conftest.err
34708 } && test -s conftest$ac_exeext &&
34709 $as_test_x conftest$ac_exeext; then
34710 ac_cv_lib_Xinerama_XineramaQueryScreens=yes
34712 echo "$as_me: failed program was:" >&5
34713 sed 's/^/| /' conftest.$ac_ext >&5
34715 ac_cv_lib_Xinerama_XineramaQueryScreens=no
34718 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34719 conftest$ac_exeext conftest.$ac_ext
34720 LIBS=$ac_check_lib_save_LIBS
34722 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34723 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34724 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34725 ac_find_libraries="std"
34731 if test "x$ac_find_libraries" = "x"; then
34732 { echo "$as_me:$LINENO: checking elsewhere" >&5
34733 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34736 for ac_dir in $SEARCH_LIB
34738 for ac_extension in a so sl dylib dll.a; do
34739 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34740 ac_find_libraries=$ac_dir
34746 if test "x$ac_find_libraries" != "x"; then
34747 { echo "$as_me:$LINENO: result: yes" >&5
34748 echo "${ECHO_T}yes" >&6; }
34750 { echo "$as_me:$LINENO: result: no" >&5
34751 echo "${ECHO_T}no" >&6; }
34755 elif test $pkg_failed = untried; then
34757 if test "x$ac_find_libraries" = "x"; then
34758 if test "xXineramaQueryScreens" != "x"; then
34759 { echo "$as_me:$LINENO: checking for XineramaQueryScreens in -lXinerama" >&5
34760 echo $ECHO_N "checking for XineramaQueryScreens in -lXinerama... $ECHO_C" >&6; }
34761 if test "${ac_cv_lib_Xinerama_XineramaQueryScreens+set}" = set; then
34762 echo $ECHO_N "(cached) $ECHO_C" >&6
34764 ac_check_lib_save_LIBS=$LIBS
34765 LIBS="-lXinerama $LIBS"
34766 cat >conftest.$ac_ext <<_ACEOF
34769 cat confdefs.h >>conftest.$ac_ext
34770 cat >>conftest.$ac_ext <<_ACEOF
34771 /* end confdefs.h. */
34773 /* Override any GCC internal prototype to avoid an error.
34774 Use char because int might match the return type of a GCC
34775 builtin and then its argument prototype would still apply. */
34779 char XineramaQueryScreens ();
34783 return XineramaQueryScreens ();
34788 rm -f conftest.$ac_objext conftest$ac_exeext
34789 if { (ac_try="$ac_link"
34790 case "(($ac_try" in
34791 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34792 *) ac_try_echo
=$ac_try;;
34794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34795 (eval "$ac_link") 2>conftest.er1
34797 grep -v '^ *+' conftest.er1
>conftest.err
34799 cat conftest.err
>&5
34800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801 (exit $ac_status); } && {
34802 test -z "$ac_c_werror_flag" ||
34803 test ! -s conftest.err
34804 } && test -s conftest
$ac_exeext &&
34805 $as_test_x conftest
$ac_exeext; then
34806 ac_cv_lib_Xinerama_XineramaQueryScreens
=yes
34808 echo "$as_me: failed program was:" >&5
34809 sed 's/^/| /' conftest.
$ac_ext >&5
34811 ac_cv_lib_Xinerama_XineramaQueryScreens
=no
34814 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
34815 conftest
$ac_exeext conftest.
$ac_ext
34816 LIBS
=$ac_check_lib_save_LIBS
34818 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
34819 echo "${ECHO_T}$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
34820 if test $ac_cv_lib_Xinerama_XineramaQueryScreens = yes; then
34821 ac_find_libraries
="std"
34827 if test "x$ac_find_libraries" = "x"; then
34828 { echo "$as_me:$LINENO: checking elsewhere" >&5
34829 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
34832 for ac_dir
in $SEARCH_LIB
34834 for ac_extension
in a so sl dylib dll.a
; do
34835 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34836 ac_find_libraries
=$ac_dir
34842 if test "x$ac_find_libraries" != "x"; then
34843 { echo "$as_me:$LINENO: result: yes" >&5
34844 echo "${ECHO_T}yes" >&6; }
34846 { echo "$as_me:$LINENO: result: no" >&5
34847 echo "${ECHO_T}no" >&6; }
34852 Xinerama_CFLAGS
=$pkg_cv_Xinerama_CFLAGS
34853 Xinerama_LIBS
=$pkg_cv_Xinerama_LIBS
34854 { echo "$as_me:$LINENO: result: yes" >&5
34855 echo "${ECHO_T}yes" >&6; }
34857 ac_find_libraries
="std"
34859 eval ac_find_cflags
=\
$Xinerama_CFLAGS
34860 eval fl_libs
=\
$Xinerama_LIBS
34862 for fl_path
in $fl_libs
34864 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
34865 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
34871 if test "$ac_find_libraries" != "" ; then
34872 if test "$ac_find_libraries" != "std" ; then
34874 if test "$ac_find_libraries" = "default location"; then
34877 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
34879 if test $result = 0; then
34882 ac_path_to_link
=" -L$ac_find_libraries"
34886 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34887 LDFLAGS
="$LDFLAGS $ac_path_to_link"
34891 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXinerama"
34893 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34894 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34897 elif test "$wxUSE_MSW" = 1; then
34898 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34899 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34900 if test "${ac_cv_header_ddraw_h+set}" = set; then
34901 echo $ECHO_N "(cached) $ECHO_C" >&6
34903 cat >conftest.
$ac_ext <<_ACEOF
34906 cat confdefs.h
>>conftest.
$ac_ext
34907 cat >>conftest.
$ac_ext <<_ACEOF
34908 /* end confdefs.h. */
34909 #include <windows.h>
34913 rm -f conftest.
$ac_objext
34914 if { (ac_try
="$ac_compile"
34915 case "(($ac_try" in
34916 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34917 *) ac_try_echo=$ac_try;;
34919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34920 (eval "$ac_compile") 2>conftest.er1
34922 grep -v '^ *+' conftest.er1 >conftest.err
34924 cat conftest.err >&5
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); } && {
34927 test -z "$ac_c_werror_flag" ||
34928 test ! -s conftest.err
34929 } && test -s conftest.$ac_objext; then
34930 ac_cv_header_ddraw_h=yes
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.$ac_ext >&5
34935 ac_cv_header_ddraw_h=no
34938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34940 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34941 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34947 if test "$wxUSE_DISPLAY" = "yes"; then
34948 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34952 fl_pkgname=`echo "Xxf86vm" | tr [:upper
:] [:lower
:]`
34955 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
34956 if test -n "$ac_tool_prefix"; then
34957 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
34958 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
34959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
34960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
34961 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
34962 echo $ECHO_N "(cached) $ECHO_C" >&6
34964 case $PKG_CONFIG in
34966 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
34969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34970 for as_dir in $PATH
34973 test -z "$as_dir" && as_dir=.
34974 for ac_exec_ext in '' $ac_executable_extensions; do
34975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
34976 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
34977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34987 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
34988 if test -n "$PKG_CONFIG"; then
34989 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
34990 echo "${ECHO_T}$PKG_CONFIG" >&6; }
34992 { echo "$as_me:$LINENO: result: no" >&5
34993 echo "${ECHO_T}no" >&6; }
34998 if test -z "$ac_cv_path_PKG_CONFIG"; then
34999 ac_pt_PKG_CONFIG=$PKG_CONFIG
35000 # Extract the first word of "pkg-config", so it can be a program name with args.
35001 set dummy pkg-config; ac_word=$2
35002 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35003 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35004 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35005 echo $ECHO_N "(cached) $ECHO_C" >&6
35007 case $ac_pt_PKG_CONFIG in
35009 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
35013 for as_dir in $PATH
35016 test -z "$as_dir" && as_dir=.
35017 for ac_exec_ext in '' $ac_executable_extensions; do
35018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35019 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
35020 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35030 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
35031 if test -n "$ac_pt_PKG_CONFIG"; then
35032 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35033 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35035 { echo "$as_me:$LINENO: result: no" >&5
35036 echo "${ECHO_T}no" >&6; }
35039 if test "x$ac_pt_PKG_CONFIG" = x; then
35042 case $cross_compiling:$ac_tool_warned in
35044 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35045 whose name does not start with the host triplet. If you think this
35046 configuration is useful to you, please write to autoconf@gnu.org." >&5
35047 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35048 whose name does not start with the host triplet. If you think this
35049 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35050 ac_tool_warned=yes ;;
35052 PKG_CONFIG=$ac_pt_PKG_CONFIG
35055 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
35059 if test -n "$PKG_CONFIG"; then
35060 _pkg_min_version=0.9.0
35061 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35062 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35063 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35064 { echo "$as_me:$LINENO: result: yes" >&5
35065 echo "${ECHO_T}yes" >&6; }
35067 { echo "$as_me:$LINENO: result: no" >&5
35068 echo "${ECHO_T}no" >&6; }
35075 { echo "$as_me:$LINENO: checking for Xxf86vm" >&5
35076 echo $ECHO_N "checking for Xxf86vm... $ECHO_C" >&6; }
35078 if test -n "$PKG_CONFIG"; then
35079 if test -n "$Xxf86vm_CFLAGS"; then
35080 pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
35082 if test -n "$PKG_CONFIG" && \
35083 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35084 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35087 (exit $ac_status); }; then
35088 pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev
/null
`
35096 if test -n "$PKG_CONFIG"; then
35097 if test -n "$Xxf86vm_LIBS"; then
35098 pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
35100 if test -n "$PKG_CONFIG" && \
35101 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35102 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35105 (exit $ac_status); }; then
35106 pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev
/null
`
35117 if test $pkg_failed = yes; then
35119 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35120 _pkg_short_errors_supported=yes
35122 _pkg_short_errors_supported=no
35124 if test $_pkg_short_errors_supported = yes; then
35125 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35127 Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35129 # Put the nasty error message in config.log where it belongs
35130 echo "$Xxf86vm_PKG_ERRORS" >&5
35133 if test "x$ac_find_libraries" = "x"; then
35134 if test "xXF86VidModeQueryExtension" != "x"; then
35135 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35136 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35137 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35138 echo $ECHO_N "(cached) $ECHO_C" >&6
35140 ac_check_lib_save_LIBS=$LIBS
35141 LIBS="-lXxf86vm $LIBS"
35142 cat >conftest.$ac_ext <<_ACEOF
35145 cat confdefs.h >>conftest.$ac_ext
35146 cat >>conftest.$ac_ext <<_ACEOF
35147 /* end confdefs.h. */
35149 /* Override any GCC internal prototype to avoid an error.
35150 Use char because int might match the return type of a GCC
35151 builtin and then its argument prototype would still apply. */
35155 char XF86VidModeQueryExtension ();
35159 return XF86VidModeQueryExtension ();
35164 rm -f conftest.$ac_objext conftest$ac_exeext
35165 if { (ac_try="$ac_link"
35166 case "(($ac_try" in
35167 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35168 *) ac_try_echo
=$ac_try;;
35170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35171 (eval "$ac_link") 2>conftest.er1
35173 grep -v '^ *+' conftest.er1
>conftest.err
35175 cat conftest.err
>&5
35176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35177 (exit $ac_status); } && {
35178 test -z "$ac_c_werror_flag" ||
35179 test ! -s conftest.err
35180 } && test -s conftest
$ac_exeext &&
35181 $as_test_x conftest
$ac_exeext; then
35182 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
35184 echo "$as_me: failed program was:" >&5
35185 sed 's/^/| /' conftest.
$ac_ext >&5
35187 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
35190 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35191 conftest
$ac_exeext conftest.
$ac_ext
35192 LIBS
=$ac_check_lib_save_LIBS
35194 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35195 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35196 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35197 ac_find_libraries
="std"
35203 if test "x$ac_find_libraries" = "x"; then
35204 { echo "$as_me:$LINENO: checking elsewhere" >&5
35205 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35208 for ac_dir
in $SEARCH_LIB
35210 for ac_extension
in a so sl dylib dll.a
; do
35211 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35212 ac_find_libraries
=$ac_dir
35218 if test "x$ac_find_libraries" != "x"; then
35219 { echo "$as_me:$LINENO: result: yes" >&5
35220 echo "${ECHO_T}yes" >&6; }
35222 { echo "$as_me:$LINENO: result: no" >&5
35223 echo "${ECHO_T}no" >&6; }
35227 elif test $pkg_failed = untried
; then
35229 if test "x$ac_find_libraries" = "x"; then
35230 if test "xXF86VidModeQueryExtension" != "x"; then
35231 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
35232 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
35233 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
35234 echo $ECHO_N "(cached) $ECHO_C" >&6
35236 ac_check_lib_save_LIBS
=$LIBS
35237 LIBS
="-lXxf86vm $LIBS"
35238 cat >conftest.
$ac_ext <<_ACEOF
35241 cat confdefs.h
>>conftest.
$ac_ext
35242 cat >>conftest.
$ac_ext <<_ACEOF
35243 /* end confdefs.h. */
35245 /* Override any GCC internal prototype to avoid an error.
35246 Use char because int might match the return type of a GCC
35247 builtin and then its argument prototype would still apply. */
35251 char XF86VidModeQueryExtension ();
35255 return XF86VidModeQueryExtension ();
35260 rm -f conftest.
$ac_objext conftest
$ac_exeext
35261 if { (ac_try
="$ac_link"
35262 case "(($ac_try" in
35263 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35264 *) ac_try_echo=$ac_try;;
35266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35267 (eval "$ac_link") 2>conftest.er1
35269 grep -v '^ *+' conftest.er1 >conftest.err
35271 cat conftest.err >&5
35272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35273 (exit $ac_status); } && {
35274 test -z "$ac_c_werror_flag" ||
35275 test ! -s conftest.err
35276 } && test -s conftest$ac_exeext &&
35277 $as_test_x conftest$ac_exeext; then
35278 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
35280 echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.$ac_ext >&5
35283 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
35286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35287 conftest$ac_exeext conftest.$ac_ext
35288 LIBS=$ac_check_lib_save_LIBS
35290 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
35291 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
35292 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
35293 ac_find_libraries="std"
35299 if test "x$ac_find_libraries" = "x"; then
35300 { echo "$as_me:$LINENO: checking elsewhere" >&5
35301 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35304 for ac_dir in $SEARCH_LIB
35306 for ac_extension in a so sl dylib dll.a; do
35307 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
35308 ac_find_libraries=$ac_dir
35314 if test "x$ac_find_libraries" != "x"; then
35315 { echo "$as_me:$LINENO: result: yes" >&5
35316 echo "${ECHO_T}yes" >&6; }
35318 { echo "$as_me:$LINENO: result: no" >&5
35319 echo "${ECHO_T}no" >&6; }
35324 Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
35325 Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
35326 { echo "$as_me:$LINENO: result: yes" >&5
35327 echo "${ECHO_T}yes" >&6; }
35329 ac_find_libraries="std"
35331 eval ac_find_cflags=\$Xxf86vm_CFLAGS
35332 eval fl_libs=\$Xxf86vm_LIBS
35334 for fl_path in $fl_libs
35336 if test `echo "$fl_path" | cut
-c 1-2` = "-L"; then
35337 ac_find_libraries=`echo "$fl_path" | cut
-c 3-`
35343 if test "$ac_find_libraries" != "" ; then
35345 for ac_header in X11/extensions/xf86vmode.h
35347 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35348 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35350 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35351 echo $ECHO_N "(cached) $ECHO_C" >&6
35353 cat >conftest.$ac_ext <<_ACEOF
35356 cat confdefs.h >>conftest.$ac_ext
35357 cat >>conftest.$ac_ext <<_ACEOF
35358 /* end confdefs.h. */
35360 #if HAVE_X11_XLIB_H
35361 #include <X11/Xlib.h>
35365 #include <$ac_header>
35367 rm -f conftest.$ac_objext
35368 if { (ac_try="$ac_compile"
35369 case "(($ac_try" in
35370 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35371 *) ac_try_echo
=$ac_try;;
35373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35374 (eval "$ac_compile") 2>conftest.er1
35376 grep -v '^ *+' conftest.er1
>conftest.err
35378 cat conftest.err
>&5
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); } && {
35381 test -z "$ac_c_werror_flag" ||
35382 test ! -s conftest.err
35383 } && test -s conftest.
$ac_objext; then
35384 eval "$as_ac_Header=yes"
35386 echo "$as_me: failed program was:" >&5
35387 sed 's/^/| /' conftest.
$ac_ext >&5
35389 eval "$as_ac_Header=no"
35392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35394 ac_res
=`eval echo '${'$as_ac_Header'}'`
35395 { echo "$as_me:$LINENO: result: $ac_res" >&5
35396 echo "${ECHO_T}$ac_res" >&6; }
35397 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35398 cat >>confdefs.h
<<_ACEOF
35399 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35402 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXxf86vm"
35412 if test "$wxUSE_DETECT_SM" = "yes"; then
35413 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
35417 fl_pkgname
=`echo "SM" | tr [:upper:] [:lower:]`
35420 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35421 if test -n "$ac_tool_prefix"; then
35422 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35423 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
35424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35426 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35427 echo $ECHO_N "(cached) $ECHO_C" >&6
35429 case $PKG_CONFIG in
35431 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35435 for as_dir
in $PATH
35438 test -z "$as_dir" && as_dir
=.
35439 for ac_exec_ext
in '' $ac_executable_extensions; do
35440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35441 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35452 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
35453 if test -n "$PKG_CONFIG"; then
35454 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
35455 echo "${ECHO_T}$PKG_CONFIG" >&6; }
35457 { echo "$as_me:$LINENO: result: no" >&5
35458 echo "${ECHO_T}no" >&6; }
35463 if test -z "$ac_cv_path_PKG_CONFIG"; then
35464 ac_pt_PKG_CONFIG
=$PKG_CONFIG
35465 # Extract the first word of "pkg-config", so it can be a program name with args.
35466 set dummy pkg
-config; ac_word
=$2
35467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35469 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
35470 echo $ECHO_N "(cached) $ECHO_C" >&6
35472 case $ac_pt_PKG_CONFIG in
35474 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
35477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35478 for as_dir
in $PATH
35481 test -z "$as_dir" && as_dir
=.
35482 for ac_exec_ext
in '' $ac_executable_extensions; do
35483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
35484 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
35485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
35495 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
35496 if test -n "$ac_pt_PKG_CONFIG"; then
35497 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
35498 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
35500 { echo "$as_me:$LINENO: result: no" >&5
35501 echo "${ECHO_T}no" >&6; }
35504 if test "x$ac_pt_PKG_CONFIG" = x
; then
35507 case $cross_compiling:$ac_tool_warned in
35509 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
35510 whose name does not start with the host triplet. If you think this
35511 configuration is useful to you, please write to autoconf@gnu.org." >&5
35512 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
35513 whose name does not start with the host triplet. If you think this
35514 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
35515 ac_tool_warned
=yes ;;
35517 PKG_CONFIG
=$ac_pt_PKG_CONFIG
35520 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
35524 if test -n "$PKG_CONFIG"; then
35525 _pkg_min_version
=0.9.0
35526 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
35527 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
35528 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
35529 { echo "$as_me:$LINENO: result: yes" >&5
35530 echo "${ECHO_T}yes" >&6; }
35532 { echo "$as_me:$LINENO: result: no" >&5
35533 echo "${ECHO_T}no" >&6; }
35540 { echo "$as_me:$LINENO: checking for SM" >&5
35541 echo $ECHO_N "checking for SM... $ECHO_C" >&6; }
35543 if test -n "$PKG_CONFIG"; then
35544 if test -n "$SM_CFLAGS"; then
35545 pkg_cv_SM_CFLAGS
="$SM_CFLAGS"
35547 if test -n "$PKG_CONFIG" && \
35548 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35549 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); }; then
35553 pkg_cv_SM_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
35561 if test -n "$PKG_CONFIG"; then
35562 if test -n "$SM_LIBS"; then
35563 pkg_cv_SM_LIBS
="$SM_LIBS"
35565 if test -n "$PKG_CONFIG" && \
35566 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
35567 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
35569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35570 (exit $ac_status); }; then
35571 pkg_cv_SM_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
35582 if test $pkg_failed = yes; then
35584 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
35585 _pkg_short_errors_supported
=yes
35587 _pkg_short_errors_supported
=no
35589 if test $_pkg_short_errors_supported = yes; then
35590 SM_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
35592 SM_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
35594 # Put the nasty error message in config.log where it belongs
35595 echo "$SM_PKG_ERRORS" >&5
35598 if test "x$ac_find_libraries" = "x"; then
35599 if test "xSmcOpenConnection" != "x"; then
35600 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35601 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35602 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35603 echo $ECHO_N "(cached) $ECHO_C" >&6
35605 ac_check_lib_save_LIBS
=$LIBS
35607 cat >conftest.
$ac_ext <<_ACEOF
35610 cat confdefs.h
>>conftest.
$ac_ext
35611 cat >>conftest.
$ac_ext <<_ACEOF
35612 /* end confdefs.h. */
35614 /* Override any GCC internal prototype to avoid an error.
35615 Use char because int might match the return type of a GCC
35616 builtin and then its argument prototype would still apply. */
35620 char SmcOpenConnection ();
35624 return SmcOpenConnection ();
35629 rm -f conftest.
$ac_objext conftest
$ac_exeext
35630 if { (ac_try
="$ac_link"
35631 case "(($ac_try" in
35632 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35633 *) ac_try_echo=$ac_try;;
35635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35636 (eval "$ac_link") 2>conftest.er1
35638 grep -v '^ *+' conftest.er1 >conftest.err
35640 cat conftest.err >&5
35641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642 (exit $ac_status); } && {
35643 test -z "$ac_c_werror_flag" ||
35644 test ! -s conftest.err
35645 } && test -s conftest$ac_exeext &&
35646 $as_test_x conftest$ac_exeext; then
35647 ac_cv_lib_SM_SmcOpenConnection=yes
35649 echo "$as_me: failed program was:" >&5
35650 sed 's/^/| /' conftest.$ac_ext >&5
35652 ac_cv_lib_SM_SmcOpenConnection=no
35655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35656 conftest$ac_exeext conftest.$ac_ext
35657 LIBS=$ac_check_lib_save_LIBS
35659 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35660 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35661 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35662 ac_find_libraries="std"
35668 if test "x$ac_find_libraries" = "x"; then
35669 { echo "$as_me:$LINENO: checking elsewhere" >&5
35670 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35673 for ac_dir in $SEARCH_LIB
35675 for ac_extension in a so sl dylib dll.a; do
35676 if test -f "$ac_dir/libSM.$ac_extension"; then
35677 ac_find_libraries=$ac_dir
35683 if test "x$ac_find_libraries" != "x"; then
35684 { echo "$as_me:$LINENO: result: yes" >&5
35685 echo "${ECHO_T}yes" >&6; }
35687 { echo "$as_me:$LINENO: result: no" >&5
35688 echo "${ECHO_T}no" >&6; }
35692 elif test $pkg_failed = untried; then
35694 if test "x$ac_find_libraries" = "x"; then
35695 if test "xSmcOpenConnection" != "x"; then
35696 { echo "$as_me:$LINENO: checking for SmcOpenConnection in -lSM" >&5
35697 echo $ECHO_N "checking for SmcOpenConnection in -lSM... $ECHO_C" >&6; }
35698 if test "${ac_cv_lib_SM_SmcOpenConnection+set}" = set; then
35699 echo $ECHO_N "(cached) $ECHO_C" >&6
35701 ac_check_lib_save_LIBS=$LIBS
35703 cat >conftest.$ac_ext <<_ACEOF
35706 cat confdefs.h >>conftest.$ac_ext
35707 cat >>conftest.$ac_ext <<_ACEOF
35708 /* end confdefs.h. */
35710 /* Override any GCC internal prototype to avoid an error.
35711 Use char because int might match the return type of a GCC
35712 builtin and then its argument prototype would still apply. */
35716 char SmcOpenConnection ();
35720 return SmcOpenConnection ();
35725 rm -f conftest.$ac_objext conftest$ac_exeext
35726 if { (ac_try="$ac_link"
35727 case "(($ac_try" in
35728 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35729 *) ac_try_echo
=$ac_try;;
35731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35732 (eval "$ac_link") 2>conftest.er1
35734 grep -v '^ *+' conftest.er1
>conftest.err
35736 cat conftest.err
>&5
35737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738 (exit $ac_status); } && {
35739 test -z "$ac_c_werror_flag" ||
35740 test ! -s conftest.err
35741 } && test -s conftest
$ac_exeext &&
35742 $as_test_x conftest
$ac_exeext; then
35743 ac_cv_lib_SM_SmcOpenConnection
=yes
35745 echo "$as_me: failed program was:" >&5
35746 sed 's/^/| /' conftest.
$ac_ext >&5
35748 ac_cv_lib_SM_SmcOpenConnection
=no
35751 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35752 conftest
$ac_exeext conftest.
$ac_ext
35753 LIBS
=$ac_check_lib_save_LIBS
35755 { echo "$as_me:$LINENO: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
35756 echo "${ECHO_T}$ac_cv_lib_SM_SmcOpenConnection" >&6; }
35757 if test $ac_cv_lib_SM_SmcOpenConnection = yes; then
35758 ac_find_libraries
="std"
35764 if test "x$ac_find_libraries" = "x"; then
35765 { echo "$as_me:$LINENO: checking elsewhere" >&5
35766 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
35769 for ac_dir
in $SEARCH_LIB
35771 for ac_extension
in a so sl dylib dll.a
; do
35772 if test -f "$ac_dir/libSM.$ac_extension"; then
35773 ac_find_libraries
=$ac_dir
35779 if test "x$ac_find_libraries" != "x"; then
35780 { echo "$as_me:$LINENO: result: yes" >&5
35781 echo "${ECHO_T}yes" >&6; }
35783 { echo "$as_me:$LINENO: result: no" >&5
35784 echo "${ECHO_T}no" >&6; }
35789 SM_CFLAGS
=$pkg_cv_SM_CFLAGS
35790 SM_LIBS
=$pkg_cv_SM_LIBS
35791 { echo "$as_me:$LINENO: result: yes" >&5
35792 echo "${ECHO_T}yes" >&6; }
35794 ac_find_libraries
="std"
35796 eval ac_find_cflags
=\
$SM_CFLAGS
35797 eval fl_libs
=\
$SM_LIBS
35799 for fl_path
in $fl_libs
35801 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
35802 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
35808 if test "$ac_find_libraries" != "" ; then
35809 if test "$ac_find_libraries" != "std" ; then
35811 if test "$ac_find_libraries" = "default location"; then
35814 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
35816 if test $result = 0; then
35819 ac_path_to_link
=" -L$ac_find_libraries"
35823 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35824 LDFLAGS
="$LDFLAGS $ac_path_to_link"
35827 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lSM"
35829 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
35830 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
35831 wxUSE_DETECT_SM
="no"
35834 wxUSE_DETECT_SM
="no"
35841 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
35844 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35845 OPENGL_LIBS
="-framework OpenGL -framework AGL"
35846 elif test "$wxUSE_MSW" = 1; then
35847 OPENGL_LIBS
="-lopengl32 -lglu32"
35848 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
35850 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
35851 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
35854 for ac_dir
in $SEARCH_INCLUDE /opt
/graphics
/OpenGL
/include
/usr
/include
35856 if test -f "$ac_dir/GL/gl.h"; then
35857 ac_find_includes
=$ac_dir
35862 if test "$ac_find_includes" != "" ; then
35863 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
35864 echo "${ECHO_T}found in $ac_find_includes" >&6; }
35866 if test "x$ac_find_includes" = "x/usr/include"; then
35867 ac_path_to_include
=""
35869 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev
/null
35871 if test $result = 0; then
35872 ac_path_to_include
=""
35874 ac_path_to_include
=" -I$ac_find_includes"
35878 CPPFLAGS
="$ac_path_to_include $CPPFLAGS"
35880 { echo "$as_me:$LINENO: result: not found" >&5
35881 echo "${ECHO_T}not found" >&6; }
35884 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
35885 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
35886 if test "${ac_cv_header_GL_gl_h+set}" = set; then
35887 echo $ECHO_N "(cached) $ECHO_C" >&6
35889 cat >conftest.
$ac_ext <<_ACEOF
35892 cat confdefs.h
>>conftest.
$ac_ext
35893 cat >>conftest.
$ac_ext <<_ACEOF
35894 /* end confdefs.h. */
35899 rm -f conftest.
$ac_objext
35900 if { (ac_try
="$ac_compile"
35901 case "(($ac_try" in
35902 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35903 *) ac_try_echo=$ac_try;;
35905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35906 (eval "$ac_compile") 2>conftest.er1
35908 grep -v '^ *+' conftest.er1 >conftest.err
35910 cat conftest.err >&5
35911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35912 (exit $ac_status); } && {
35913 test -z "$ac_c_werror_flag" ||
35914 test ! -s conftest.err
35915 } && test -s conftest.$ac_objext; then
35916 ac_cv_header_GL_gl_h=yes
35918 echo "$as_me: failed program was:" >&5
35919 sed 's/^/| /' conftest.$ac_ext >&5
35921 ac_cv_header_GL_gl_h=no
35924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35926 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
35927 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
35928 if test $ac_cv_header_GL_gl_h = yes; then
35930 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
35931 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
35932 if test "${ac_cv_header_GL_glu_h+set}" = set; then
35933 echo $ECHO_N "(cached) $ECHO_C" >&6
35935 cat >conftest.$ac_ext <<_ACEOF
35938 cat confdefs.h >>conftest.$ac_ext
35939 cat >>conftest.$ac_ext <<_ACEOF
35940 /* end confdefs.h. */
35943 #include <GL/glu.h>
35945 rm -f conftest.$ac_objext
35946 if { (ac_try="$ac_compile"
35947 case "(($ac_try" in
35948 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35949 *) ac_try_echo
=$ac_try;;
35951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35952 (eval "$ac_compile") 2>conftest.er1
35954 grep -v '^ *+' conftest.er1
>conftest.err
35956 cat conftest.err
>&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); } && {
35959 test -z "$ac_c_werror_flag" ||
35960 test ! -s conftest.err
35961 } && test -s conftest.
$ac_objext; then
35962 ac_cv_header_GL_glu_h
=yes
35964 echo "$as_me: failed program was:" >&5
35965 sed 's/^/| /' conftest.
$ac_ext >&5
35967 ac_cv_header_GL_glu_h
=no
35970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35972 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
35973 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
35974 if test $ac_cv_header_GL_glu_h = yes; then
35981 fl_pkgname
=`echo "GL" | tr [:upper:] [:lower:]`
35984 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
35985 if test -n "$ac_tool_prefix"; then
35986 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
35987 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
35988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
35989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
35990 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
35991 echo $ECHO_N "(cached) $ECHO_C" >&6
35993 case $PKG_CONFIG in
35995 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
35998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
35999 for as_dir
in $PATH
36002 test -z "$as_dir" && as_dir
=.
36003 for ac_exec_ext
in '' $ac_executable_extensions; do
36004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36005 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36016 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36017 if test -n "$PKG_CONFIG"; then
36018 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36019 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36021 { echo "$as_me:$LINENO: result: no" >&5
36022 echo "${ECHO_T}no" >&6; }
36027 if test -z "$ac_cv_path_PKG_CONFIG"; then
36028 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36029 # Extract the first word of "pkg-config", so it can be a program name with args.
36030 set dummy pkg
-config; ac_word
=$2
36031 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36032 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36033 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36034 echo $ECHO_N "(cached) $ECHO_C" >&6
36036 case $ac_pt_PKG_CONFIG in
36038 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36042 for as_dir
in $PATH
36045 test -z "$as_dir" && as_dir
=.
36046 for ac_exec_ext
in '' $ac_executable_extensions; do
36047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36048 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36059 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
36060 if test -n "$ac_pt_PKG_CONFIG"; then
36061 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36062 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36064 { echo "$as_me:$LINENO: result: no" >&5
36065 echo "${ECHO_T}no" >&6; }
36068 if test "x$ac_pt_PKG_CONFIG" = x
; then
36071 case $cross_compiling:$ac_tool_warned in
36073 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36074 whose name does not start with the host triplet. If you think this
36075 configuration is useful to you, please write to autoconf@gnu.org." >&5
36076 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36077 whose name does not start with the host triplet. If you think this
36078 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36079 ac_tool_warned
=yes ;;
36081 PKG_CONFIG
=$ac_pt_PKG_CONFIG
36084 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
36088 if test -n "$PKG_CONFIG"; then
36089 _pkg_min_version
=0.9.0
36090 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36091 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36092 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36093 { echo "$as_me:$LINENO: result: yes" >&5
36094 echo "${ECHO_T}yes" >&6; }
36096 { echo "$as_me:$LINENO: result: no" >&5
36097 echo "${ECHO_T}no" >&6; }
36104 { echo "$as_me:$LINENO: checking for GL" >&5
36105 echo $ECHO_N "checking for GL... $ECHO_C" >&6; }
36107 if test -n "$PKG_CONFIG"; then
36108 if test -n "$GL_CFLAGS"; then
36109 pkg_cv_GL_CFLAGS
="$GL_CFLAGS"
36111 if test -n "$PKG_CONFIG" && \
36112 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36113 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36116 (exit $ac_status); }; then
36117 pkg_cv_GL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36125 if test -n "$PKG_CONFIG"; then
36126 if test -n "$GL_LIBS"; then
36127 pkg_cv_GL_LIBS
="$GL_LIBS"
36129 if test -n "$PKG_CONFIG" && \
36130 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36131 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); }; then
36135 pkg_cv_GL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36146 if test $pkg_failed = yes; then
36148 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36149 _pkg_short_errors_supported
=yes
36151 _pkg_short_errors_supported
=no
36153 if test $_pkg_short_errors_supported = yes; then
36154 GL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36156 GL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36158 # Put the nasty error message in config.log where it belongs
36159 echo "$GL_PKG_ERRORS" >&5
36162 if test "x$ac_find_libraries" = "x"; then
36163 if test "xglBegin" != "x"; then
36164 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36165 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36166 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36167 echo $ECHO_N "(cached) $ECHO_C" >&6
36169 ac_check_lib_save_LIBS
=$LIBS
36171 cat >conftest.
$ac_ext <<_ACEOF
36174 cat confdefs.h
>>conftest.
$ac_ext
36175 cat >>conftest.
$ac_ext <<_ACEOF
36176 /* end confdefs.h. */
36178 /* Override any GCC internal prototype to avoid an error.
36179 Use char because int might match the return type of a GCC
36180 builtin and then its argument prototype would still apply. */
36193 rm -f conftest.
$ac_objext conftest
$ac_exeext
36194 if { (ac_try
="$ac_link"
36195 case "(($ac_try" in
36196 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36197 *) ac_try_echo=$ac_try;;
36199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36200 (eval "$ac_link") 2>conftest.er1
36202 grep -v '^ *+' conftest.er1 >conftest.err
36204 cat conftest.err >&5
36205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206 (exit $ac_status); } && {
36207 test -z "$ac_c_werror_flag" ||
36208 test ! -s conftest.err
36209 } && test -s conftest$ac_exeext &&
36210 $as_test_x conftest$ac_exeext; then
36211 ac_cv_lib_GL_glBegin=yes
36213 echo "$as_me: failed program was:" >&5
36214 sed 's/^/| /' conftest.$ac_ext >&5
36216 ac_cv_lib_GL_glBegin=no
36219 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36220 conftest$ac_exeext conftest.$ac_ext
36221 LIBS=$ac_check_lib_save_LIBS
36223 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36224 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36225 if test $ac_cv_lib_GL_glBegin = yes; then
36226 ac_find_libraries="std"
36232 if test "x$ac_find_libraries" = "x"; then
36233 { echo "$as_me:$LINENO: checking elsewhere" >&5
36234 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36237 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36239 for ac_extension in a so sl dylib dll.a; do
36240 if test -f "$ac_dir/libGL.$ac_extension"; then
36241 ac_find_libraries=$ac_dir
36247 if test "x$ac_find_libraries" != "x"; then
36248 { echo "$as_me:$LINENO: result: yes" >&5
36249 echo "${ECHO_T}yes" >&6; }
36251 { echo "$as_me:$LINENO: result: no" >&5
36252 echo "${ECHO_T}no" >&6; }
36256 elif test $pkg_failed = untried; then
36258 if test "x$ac_find_libraries" = "x"; then
36259 if test "xglBegin" != "x"; then
36260 { echo "$as_me:$LINENO: checking for glBegin in -lGL" >&5
36261 echo $ECHO_N "checking for glBegin in -lGL... $ECHO_C" >&6; }
36262 if test "${ac_cv_lib_GL_glBegin+set}" = set; then
36263 echo $ECHO_N "(cached) $ECHO_C" >&6
36265 ac_check_lib_save_LIBS=$LIBS
36267 cat >conftest.$ac_ext <<_ACEOF
36270 cat confdefs.h >>conftest.$ac_ext
36271 cat >>conftest.$ac_ext <<_ACEOF
36272 /* end confdefs.h. */
36274 /* Override any GCC internal prototype to avoid an error.
36275 Use char because int might match the return type of a GCC
36276 builtin and then its argument prototype would still apply. */
36289 rm -f conftest.$ac_objext conftest$ac_exeext
36290 if { (ac_try="$ac_link"
36291 case "(($ac_try" in
36292 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36293 *) ac_try_echo
=$ac_try;;
36295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36296 (eval "$ac_link") 2>conftest.er1
36298 grep -v '^ *+' conftest.er1
>conftest.err
36300 cat conftest.err
>&5
36301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36302 (exit $ac_status); } && {
36303 test -z "$ac_c_werror_flag" ||
36304 test ! -s conftest.err
36305 } && test -s conftest
$ac_exeext &&
36306 $as_test_x conftest
$ac_exeext; then
36307 ac_cv_lib_GL_glBegin
=yes
36309 echo "$as_me: failed program was:" >&5
36310 sed 's/^/| /' conftest.
$ac_ext >&5
36312 ac_cv_lib_GL_glBegin
=no
36315 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36316 conftest
$ac_exeext conftest.
$ac_ext
36317 LIBS
=$ac_check_lib_save_LIBS
36319 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glBegin" >&5
36320 echo "${ECHO_T}$ac_cv_lib_GL_glBegin" >&6; }
36321 if test $ac_cv_lib_GL_glBegin = yes; then
36322 ac_find_libraries
="std"
36328 if test "x$ac_find_libraries" = "x"; then
36329 { echo "$as_me:$LINENO: checking elsewhere" >&5
36330 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36333 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
36335 for ac_extension
in a so sl dylib dll.a
; do
36336 if test -f "$ac_dir/libGL.$ac_extension"; then
36337 ac_find_libraries
=$ac_dir
36343 if test "x$ac_find_libraries" != "x"; then
36344 { echo "$as_me:$LINENO: result: yes" >&5
36345 echo "${ECHO_T}yes" >&6; }
36347 { echo "$as_me:$LINENO: result: no" >&5
36348 echo "${ECHO_T}no" >&6; }
36353 GL_CFLAGS
=$pkg_cv_GL_CFLAGS
36354 GL_LIBS
=$pkg_cv_GL_LIBS
36355 { echo "$as_me:$LINENO: result: yes" >&5
36356 echo "${ECHO_T}yes" >&6; }
36358 ac_find_libraries
="std"
36360 eval ac_find_cflags
=\
$GL_CFLAGS
36361 eval fl_libs
=\
$GL_LIBS
36363 for fl_path
in $fl_libs
36365 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36366 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
36372 if test "$ac_find_libraries" != "" ; then
36373 if test "$ac_find_libraries" != "std" ; then
36375 if test "$ac_find_libraries" = "default location"; then
36378 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
36380 if test $result = 0; then
36383 ac_path_to_link
=" -L$ac_find_libraries"
36387 if test "$ac_path_to_link" != " -L/usr/lib" ; then
36388 LDFLAGS_GL
="$ac_path_to_link"
36395 fl_pkgname
=`echo "GLU" | tr [:upper:] [:lower:]`
36398 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36399 if test -n "$ac_tool_prefix"; then
36400 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36401 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
36402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36404 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36405 echo $ECHO_N "(cached) $ECHO_C" >&6
36407 case $PKG_CONFIG in
36409 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36413 for as_dir
in $PATH
36416 test -z "$as_dir" && as_dir
=.
36417 for ac_exec_ext
in '' $ac_executable_extensions; do
36418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36419 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36430 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36431 if test -n "$PKG_CONFIG"; then
36432 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36433 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36435 { echo "$as_me:$LINENO: result: no" >&5
36436 echo "${ECHO_T}no" >&6; }
36441 if test -z "$ac_cv_path_PKG_CONFIG"; then
36442 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36443 # Extract the first word of "pkg-config", so it can be a program name with args.
36444 set dummy pkg
-config; ac_word
=$2
36445 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36447 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36448 echo $ECHO_N "(cached) $ECHO_C" >&6
36450 case $ac_pt_PKG_CONFIG in
36452 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36456 for as_dir
in $PATH
36459 test -z "$as_dir" && as_dir
=.
36460 for ac_exec_ext
in '' $ac_executable_extensions; do
36461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36462 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36473 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
36474 if test -n "$ac_pt_PKG_CONFIG"; then
36475 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36476 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36478 { echo "$as_me:$LINENO: result: no" >&5
36479 echo "${ECHO_T}no" >&6; }
36482 if test "x$ac_pt_PKG_CONFIG" = x
; then
36485 case $cross_compiling:$ac_tool_warned in
36487 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36488 whose name does not start with the host triplet. If you think this
36489 configuration is useful to you, please write to autoconf@gnu.org." >&5
36490 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36491 whose name does not start with the host triplet. If you think this
36492 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36493 ac_tool_warned
=yes ;;
36495 PKG_CONFIG
=$ac_pt_PKG_CONFIG
36498 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
36502 if test -n "$PKG_CONFIG"; then
36503 _pkg_min_version
=0.9.0
36504 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36505 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36506 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36507 { echo "$as_me:$LINENO: result: yes" >&5
36508 echo "${ECHO_T}yes" >&6; }
36510 { echo "$as_me:$LINENO: result: no" >&5
36511 echo "${ECHO_T}no" >&6; }
36518 { echo "$as_me:$LINENO: checking for GLU" >&5
36519 echo $ECHO_N "checking for GLU... $ECHO_C" >&6; }
36521 if test -n "$PKG_CONFIG"; then
36522 if test -n "$GLU_CFLAGS"; then
36523 pkg_cv_GLU_CFLAGS
="$GLU_CFLAGS"
36525 if test -n "$PKG_CONFIG" && \
36526 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36527 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36530 (exit $ac_status); }; then
36531 pkg_cv_GLU_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36539 if test -n "$PKG_CONFIG"; then
36540 if test -n "$GLU_LIBS"; then
36541 pkg_cv_GLU_LIBS
="$GLU_LIBS"
36543 if test -n "$PKG_CONFIG" && \
36544 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36545 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36548 (exit $ac_status); }; then
36549 pkg_cv_GLU_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36560 if test $pkg_failed = yes; then
36562 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36563 _pkg_short_errors_supported
=yes
36565 _pkg_short_errors_supported
=no
36567 if test $_pkg_short_errors_supported = yes; then
36568 GLU_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36570 GLU_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36572 # Put the nasty error message in config.log where it belongs
36573 echo "$GLU_PKG_ERRORS" >&5
36576 if test "x$ac_find_libraries" = "x"; then
36577 if test "xgluBeginCurve" != "x"; then
36578 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36579 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36580 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36581 echo $ECHO_N "(cached) $ECHO_C" >&6
36583 ac_check_lib_save_LIBS
=$LIBS
36585 cat >conftest.
$ac_ext <<_ACEOF
36588 cat confdefs.h
>>conftest.
$ac_ext
36589 cat >>conftest.
$ac_ext <<_ACEOF
36590 /* end confdefs.h. */
36592 /* Override any GCC internal prototype to avoid an error.
36593 Use char because int might match the return type of a GCC
36594 builtin and then its argument prototype would still apply. */
36598 char gluBeginCurve ();
36602 return gluBeginCurve ();
36607 rm -f conftest.
$ac_objext conftest
$ac_exeext
36608 if { (ac_try
="$ac_link"
36609 case "(($ac_try" in
36610 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36611 *) ac_try_echo=$ac_try;;
36613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36614 (eval "$ac_link") 2>conftest.er1
36616 grep -v '^ *+' conftest.er1 >conftest.err
36618 cat conftest.err >&5
36619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36620 (exit $ac_status); } && {
36621 test -z "$ac_c_werror_flag" ||
36622 test ! -s conftest.err
36623 } && test -s conftest$ac_exeext &&
36624 $as_test_x conftest$ac_exeext; then
36625 ac_cv_lib_GLU_gluBeginCurve=yes
36627 echo "$as_me: failed program was:" >&5
36628 sed 's/^/| /' conftest.$ac_ext >&5
36630 ac_cv_lib_GLU_gluBeginCurve=no
36633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36634 conftest$ac_exeext conftest.$ac_ext
36635 LIBS=$ac_check_lib_save_LIBS
36637 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36638 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36639 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36640 ac_find_libraries="std"
36646 if test "x$ac_find_libraries" = "x"; then
36647 { echo "$as_me:$LINENO: checking elsewhere" >&5
36648 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36651 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
36653 for ac_extension in a so sl dylib dll.a; do
36654 if test -f "$ac_dir/libGLU.$ac_extension"; then
36655 ac_find_libraries=$ac_dir
36661 if test "x$ac_find_libraries" != "x"; then
36662 { echo "$as_me:$LINENO: result: yes" >&5
36663 echo "${ECHO_T}yes" >&6; }
36665 { echo "$as_me:$LINENO: result: no" >&5
36666 echo "${ECHO_T}no" >&6; }
36670 elif test $pkg_failed = untried; then
36672 if test "x$ac_find_libraries" = "x"; then
36673 if test "xgluBeginCurve" != "x"; then
36674 { echo "$as_me:$LINENO: checking for gluBeginCurve in -lGLU" >&5
36675 echo $ECHO_N "checking for gluBeginCurve in -lGLU... $ECHO_C" >&6; }
36676 if test "${ac_cv_lib_GLU_gluBeginCurve+set}" = set; then
36677 echo $ECHO_N "(cached) $ECHO_C" >&6
36679 ac_check_lib_save_LIBS=$LIBS
36681 cat >conftest.$ac_ext <<_ACEOF
36684 cat confdefs.h >>conftest.$ac_ext
36685 cat >>conftest.$ac_ext <<_ACEOF
36686 /* end confdefs.h. */
36688 /* Override any GCC internal prototype to avoid an error.
36689 Use char because int might match the return type of a GCC
36690 builtin and then its argument prototype would still apply. */
36694 char gluBeginCurve ();
36698 return gluBeginCurve ();
36703 rm -f conftest.$ac_objext conftest$ac_exeext
36704 if { (ac_try="$ac_link"
36705 case "(($ac_try" in
36706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36707 *) ac_try_echo
=$ac_try;;
36709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36710 (eval "$ac_link") 2>conftest.er1
36712 grep -v '^ *+' conftest.er1
>conftest.err
36714 cat conftest.err
>&5
36715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36716 (exit $ac_status); } && {
36717 test -z "$ac_c_werror_flag" ||
36718 test ! -s conftest.err
36719 } && test -s conftest
$ac_exeext &&
36720 $as_test_x conftest
$ac_exeext; then
36721 ac_cv_lib_GLU_gluBeginCurve
=yes
36723 echo "$as_me: failed program was:" >&5
36724 sed 's/^/| /' conftest.
$ac_ext >&5
36726 ac_cv_lib_GLU_gluBeginCurve
=no
36729 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36730 conftest
$ac_exeext conftest.
$ac_ext
36731 LIBS
=$ac_check_lib_save_LIBS
36733 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
36734 echo "${ECHO_T}$ac_cv_lib_GLU_gluBeginCurve" >&6; }
36735 if test $ac_cv_lib_GLU_gluBeginCurve = yes; then
36736 ac_find_libraries
="std"
36742 if test "x$ac_find_libraries" = "x"; then
36743 { echo "$as_me:$LINENO: checking elsewhere" >&5
36744 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
36747 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
36749 for ac_extension
in a so sl dylib dll.a
; do
36750 if test -f "$ac_dir/libGLU.$ac_extension"; then
36751 ac_find_libraries
=$ac_dir
36757 if test "x$ac_find_libraries" != "x"; then
36758 { echo "$as_me:$LINENO: result: yes" >&5
36759 echo "${ECHO_T}yes" >&6; }
36761 { echo "$as_me:$LINENO: result: no" >&5
36762 echo "${ECHO_T}no" >&6; }
36767 GLU_CFLAGS
=$pkg_cv_GLU_CFLAGS
36768 GLU_LIBS
=$pkg_cv_GLU_LIBS
36769 { echo "$as_me:$LINENO: result: yes" >&5
36770 echo "${ECHO_T}yes" >&6; }
36772 ac_find_libraries
="std"
36774 eval ac_find_cflags
=\
$GLU_CFLAGS
36775 eval fl_libs
=\
$GLU_LIBS
36777 for fl_path
in $fl_libs
36779 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
36780 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
36786 if test "$ac_find_libraries" != "" ; then
36787 if test "$ac_find_libraries" != "std" ; then
36789 if test "$ac_find_libraries" = "default location"; then
36792 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
36794 if test $result = 0; then
36797 ac_path_to_link
=" -L$ac_find_libraries"
36801 if test "$ac_path_to_link" != " -L/usr/lib" -a \
36802 "$ac_path_to_link" != "$LDFLAGS_GL" ; then
36803 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
36808 OPENGL_LIBS
="-lGL -lGLU"
36812 if test "$found_gl" != 1; then
36816 fl_pkgname
=`echo "MesaGL" | tr [:upper:] [:lower:]`
36819 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
36820 if test -n "$ac_tool_prefix"; then
36821 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
36822 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
36823 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36824 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36825 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
36826 echo $ECHO_N "(cached) $ECHO_C" >&6
36828 case $PKG_CONFIG in
36830 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
36833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36834 for as_dir
in $PATH
36837 test -z "$as_dir" && as_dir
=.
36838 for ac_exec_ext
in '' $ac_executable_extensions; do
36839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36840 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36851 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
36852 if test -n "$PKG_CONFIG"; then
36853 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
36854 echo "${ECHO_T}$PKG_CONFIG" >&6; }
36856 { echo "$as_me:$LINENO: result: no" >&5
36857 echo "${ECHO_T}no" >&6; }
36862 if test -z "$ac_cv_path_PKG_CONFIG"; then
36863 ac_pt_PKG_CONFIG
=$PKG_CONFIG
36864 # Extract the first word of "pkg-config", so it can be a program name with args.
36865 set dummy pkg
-config; ac_word
=$2
36866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
36867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
36868 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
36869 echo $ECHO_N "(cached) $ECHO_C" >&6
36871 case $ac_pt_PKG_CONFIG in
36873 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
36876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
36877 for as_dir
in $PATH
36880 test -z "$as_dir" && as_dir
=.
36881 for ac_exec_ext
in '' $ac_executable_extensions; do
36882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
36883 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
36884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
36894 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
36895 if test -n "$ac_pt_PKG_CONFIG"; then
36896 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
36897 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
36899 { echo "$as_me:$LINENO: result: no" >&5
36900 echo "${ECHO_T}no" >&6; }
36903 if test "x$ac_pt_PKG_CONFIG" = x
; then
36906 case $cross_compiling:$ac_tool_warned in
36908 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
36909 whose name does not start with the host triplet. If you think this
36910 configuration is useful to you, please write to autoconf@gnu.org." >&5
36911 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
36912 whose name does not start with the host triplet. If you think this
36913 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
36914 ac_tool_warned
=yes ;;
36916 PKG_CONFIG
=$ac_pt_PKG_CONFIG
36919 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
36923 if test -n "$PKG_CONFIG"; then
36924 _pkg_min_version
=0.9.0
36925 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
36926 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
36927 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
36928 { echo "$as_me:$LINENO: result: yes" >&5
36929 echo "${ECHO_T}yes" >&6; }
36931 { echo "$as_me:$LINENO: result: no" >&5
36932 echo "${ECHO_T}no" >&6; }
36939 { echo "$as_me:$LINENO: checking for MesaGL" >&5
36940 echo $ECHO_N "checking for MesaGL... $ECHO_C" >&6; }
36942 if test -n "$PKG_CONFIG"; then
36943 if test -n "$MesaGL_CFLAGS"; then
36944 pkg_cv_MesaGL_CFLAGS
="$MesaGL_CFLAGS"
36946 if test -n "$PKG_CONFIG" && \
36947 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36948 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36951 (exit $ac_status); }; then
36952 pkg_cv_MesaGL_CFLAGS
=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
36960 if test -n "$PKG_CONFIG"; then
36961 if test -n "$MesaGL_LIBS"; then
36962 pkg_cv_MesaGL_LIBS
="$MesaGL_LIBS"
36964 if test -n "$PKG_CONFIG" && \
36965 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\"") >&5
36966 ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
36968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36969 (exit $ac_status); }; then
36970 pkg_cv_MesaGL_LIBS
=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
36981 if test $pkg_failed = yes; then
36983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
36984 _pkg_short_errors_supported
=yes
36986 _pkg_short_errors_supported
=no
36988 if test $_pkg_short_errors_supported = yes; then
36989 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
36991 MesaGL_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
36993 # Put the nasty error message in config.log where it belongs
36994 echo "$MesaGL_PKG_ERRORS" >&5
36997 if test "x$ac_find_libraries" = "x"; then
36998 if test "xglEnable" != "x"; then
36999 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37000 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37001 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37002 echo $ECHO_N "(cached) $ECHO_C" >&6
37004 ac_check_lib_save_LIBS
=$LIBS
37005 LIBS
="-lMesaGL $LIBS"
37006 cat >conftest.
$ac_ext <<_ACEOF
37009 cat confdefs.h
>>conftest.
$ac_ext
37010 cat >>conftest.
$ac_ext <<_ACEOF
37011 /* end confdefs.h. */
37013 /* Override any GCC internal prototype to avoid an error.
37014 Use char because int might match the return type of a GCC
37015 builtin and then its argument prototype would still apply. */
37023 return glEnable ();
37028 rm -f conftest.
$ac_objext conftest
$ac_exeext
37029 if { (ac_try
="$ac_link"
37030 case "(($ac_try" in
37031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37032 *) ac_try_echo=$ac_try;;
37034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37035 (eval "$ac_link") 2>conftest.er1
37037 grep -v '^ *+' conftest.er1 >conftest.err
37039 cat conftest.err >&5
37040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37041 (exit $ac_status); } && {
37042 test -z "$ac_c_werror_flag" ||
37043 test ! -s conftest.err
37044 } && test -s conftest$ac_exeext &&
37045 $as_test_x conftest$ac_exeext; then
37046 ac_cv_lib_MesaGL_glEnable=yes
37048 echo "$as_me: failed program was:" >&5
37049 sed 's/^/| /' conftest.$ac_ext >&5
37051 ac_cv_lib_MesaGL_glEnable=no
37054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37055 conftest$ac_exeext conftest.$ac_ext
37056 LIBS=$ac_check_lib_save_LIBS
37058 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37059 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37060 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37061 ac_find_libraries="std"
37067 if test "x$ac_find_libraries" = "x"; then
37068 { echo "$as_me:$LINENO: checking elsewhere" >&5
37069 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37072 for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
37074 for ac_extension in a so sl dylib dll.a; do
37075 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37076 ac_find_libraries=$ac_dir
37082 if test "x$ac_find_libraries" != "x"; then
37083 { echo "$as_me:$LINENO: result: yes" >&5
37084 echo "${ECHO_T}yes" >&6; }
37086 { echo "$as_me:$LINENO: result: no" >&5
37087 echo "${ECHO_T}no" >&6; }
37091 elif test $pkg_failed = untried; then
37093 if test "x$ac_find_libraries" = "x"; then
37094 if test "xglEnable" != "x"; then
37095 { echo "$as_me:$LINENO: checking for glEnable in -lMesaGL" >&5
37096 echo $ECHO_N "checking for glEnable in -lMesaGL... $ECHO_C" >&6; }
37097 if test "${ac_cv_lib_MesaGL_glEnable+set}" = set; then
37098 echo $ECHO_N "(cached) $ECHO_C" >&6
37100 ac_check_lib_save_LIBS=$LIBS
37101 LIBS="-lMesaGL $LIBS"
37102 cat >conftest.$ac_ext <<_ACEOF
37105 cat confdefs.h >>conftest.$ac_ext
37106 cat >>conftest.$ac_ext <<_ACEOF
37107 /* end confdefs.h. */
37109 /* Override any GCC internal prototype to avoid an error.
37110 Use char because int might match the return type of a GCC
37111 builtin and then its argument prototype would still apply. */
37119 return glEnable ();
37124 rm -f conftest.$ac_objext conftest$ac_exeext
37125 if { (ac_try="$ac_link"
37126 case "(($ac_try" in
37127 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37128 *) ac_try_echo
=$ac_try;;
37130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37131 (eval "$ac_link") 2>conftest.er1
37133 grep -v '^ *+' conftest.er1
>conftest.err
37135 cat conftest.err
>&5
37136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37137 (exit $ac_status); } && {
37138 test -z "$ac_c_werror_flag" ||
37139 test ! -s conftest.err
37140 } && test -s conftest
$ac_exeext &&
37141 $as_test_x conftest
$ac_exeext; then
37142 ac_cv_lib_MesaGL_glEnable
=yes
37144 echo "$as_me: failed program was:" >&5
37145 sed 's/^/| /' conftest.
$ac_ext >&5
37147 ac_cv_lib_MesaGL_glEnable
=no
37150 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37151 conftest
$ac_exeext conftest.
$ac_ext
37152 LIBS
=$ac_check_lib_save_LIBS
37154 { echo "$as_me:$LINENO: result: $ac_cv_lib_MesaGL_glEnable" >&5
37155 echo "${ECHO_T}$ac_cv_lib_MesaGL_glEnable" >&6; }
37156 if test $ac_cv_lib_MesaGL_glEnable = yes; then
37157 ac_find_libraries
="std"
37163 if test "x$ac_find_libraries" = "x"; then
37164 { echo "$as_me:$LINENO: checking elsewhere" >&5
37165 echo $ECHO_N "checking elsewhere... $ECHO_C" >&6; }
37168 for ac_dir
in /opt
/graphics
/OpenGL
/lib
$SEARCH_LIB
37170 for ac_extension
in a so sl dylib dll.a
; do
37171 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
37172 ac_find_libraries
=$ac_dir
37178 if test "x$ac_find_libraries" != "x"; then
37179 { echo "$as_me:$LINENO: result: yes" >&5
37180 echo "${ECHO_T}yes" >&6; }
37182 { echo "$as_me:$LINENO: result: no" >&5
37183 echo "${ECHO_T}no" >&6; }
37188 MesaGL_CFLAGS
=$pkg_cv_MesaGL_CFLAGS
37189 MesaGL_LIBS
=$pkg_cv_MesaGL_LIBS
37190 { echo "$as_me:$LINENO: result: yes" >&5
37191 echo "${ECHO_T}yes" >&6; }
37193 ac_find_libraries
="std"
37195 eval ac_find_cflags
=\
$MesaGL_CFLAGS
37196 eval fl_libs
=\
$MesaGL_LIBS
37198 for fl_path
in $fl_libs
37200 if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
37201 ac_find_libraries
=`echo "$fl_path" | cut -c 3-`
37207 if test "$ac_find_libraries" != "" ; then
37208 if test "$ac_find_libraries" != "std" ; then
37210 if test "$ac_find_libraries" = "default location"; then
37213 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
37215 if test $result = 0; then
37218 ac_path_to_link
=" -L$ac_find_libraries"
37222 if test "$ac_path_to_link" != " -L/usr/lib" ; then
37223 LDFLAGS_GL
="$LDFLAGS_GL$ac_path_to_link"
37226 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
37238 if test "x$OPENGL_LIBS" = "x"; then
37239 if test "$wxUSE_OPENGL" = "yes"; then
37240 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
37241 echo "$as_me: error: OpenGL libraries not available" >&2;}
37242 { (exit 1); exit 1; }; }
37244 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
37245 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
37251 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
37252 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
37256 if test "$wxUSE_OPENGL" = "auto"; then
37260 if test "$wxUSE_OPENGL" = "yes"; then
37262 cat >>confdefs.h
<<\_ACEOF
37263 #define wxUSE_OPENGL 1
37266 cat >>confdefs.h
<<\_ACEOF
37267 #define wxUSE_GLCANVAS 1
37270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
37275 if test -n "$TOOLKIT" ; then
37276 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
37281 if test "$wxUSE_SHARED" = "yes"; then
37285 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
37286 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
37291 if test "$wxUSE_SHARED" = "yes"; then
37295 *-*-cygwin* | *-*-mingw* )
37296 wx_cv_version_script
=no
37300 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
37301 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
37302 if test "${wx_cv_version_script+set}" = set; then
37303 echo $ECHO_N "(cached) $ECHO_C" >&6
37306 echo "VER_1 { *; };" >conftest.sym
37307 echo "int main() { return 0; }" >conftest.cpp
37310 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37311 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
37312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37313 (eval $ac_try) 2>&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); }; } ; then
37317 if test -s conftest.stderr
; then
37318 wx_cv_version_script
=no
37320 wx_cv_version_script
=yes
37323 wx_cv_version_script
=no
37326 if test $wx_cv_version_script = yes
37328 echo "struct B { virtual ~B() { } }; \
37329 struct D : public B { }; \
37330 void F() { D d; }" > conftest.cpp
37333 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37334 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
37335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37336 (eval $ac_try) 2>&5
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); }; } &&
37341 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37342 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
37343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37344 (eval $ac_try) 2>&5
37346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37347 (exit $ac_status); }; }
37350 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
37351 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
37352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37353 (eval $ac_try) 2>&5
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); }; }
37358 wx_cv_version_script
=yes
37360 wx_cv_version_script
=no
37365 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
37366 rm -f conftest1.output conftest2.output conftest3.output
37369 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
37370 echo "${ECHO_T}$wx_cv_version_script" >&6; }
37372 if test $wx_cv_version_script = yes ; then
37373 LDFLAGS_VERSIONING
="-Wl,--version-script,\$(wx_top_builddir)/version-script"
37379 if test "$wxUSE_VISIBILITY" != "no"; then
37382 if test -n "$GCC"; then
37383 CFLAGS_VISIBILITY
="-fvisibility=hidden"
37384 CXXFLAGS_VISIBILITY
="-fvisibility=hidden -fvisibility-inlines-hidden"
37385 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
37386 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
37387 if test "${wx_cv_cc_visibility+set}" = set; then
37388 echo $ECHO_N "(cached) $ECHO_C" >&6
37391 wx_save_CXXFLAGS
="$CXXFLAGS"
37392 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37394 ac_cpp
='$CXXCPP $CPPFLAGS'
37395 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37396 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37397 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37399 cat >conftest.
$ac_ext <<_ACEOF
37402 cat confdefs.h
>>conftest.
$ac_ext
37403 cat >>conftest.
$ac_ext <<_ACEOF
37404 /* end confdefs.h. */
37406 /* we need gcc >= 4.0, older versions with visibility support
37407 didn't have class visibility: */
37408 #if defined(__GNUC__) && __GNUC__ < 4
37409 error this gcc is too old;
37412 /* visibility only makes sense for ELF shared libs: */
37413 #if !defined(__ELF__) && !defined(__APPLE__)
37414 error this platform has no visibility;
37417 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
37418 #if defined(__clang__)
37419 clang compiler is still broken w.r.t. visibility;
37422 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
37423 extern __attribute__((__visibility__("default"))) int exportedvar;
37424 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
37425 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
37426 class __attribute__((__visibility__("default"))) Foo {
37438 rm -f conftest.
$ac_objext
37439 if { (ac_try
="$ac_compile"
37440 case "(($ac_try" in
37441 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37442 *) ac_try_echo=$ac_try;;
37444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37445 (eval "$ac_compile") 2>conftest.er1
37447 grep -v '^ *+' conftest.er1 >conftest.err
37449 cat conftest.err >&5
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); } && {
37452 test -z "$ac_cxx_werror_flag" ||
37453 test ! -s conftest.err
37454 } && test -s conftest.$ac_objext; then
37455 wx_cv_cc_visibility=yes
37457 echo "$as_me: failed program was:" >&5
37458 sed 's/^/| /' conftest.$ac_ext >&5
37460 wx_cv_cc_visibility=no
37463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37465 ac_cpp='$CPP $CPPFLAGS'
37466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37470 CXXFLAGS="$wx_save_CXXFLAGS"
37473 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
37474 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
37475 if test $wx_cv_cc_visibility = yes; then
37476 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
37477 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
37478 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
37479 echo $ECHO_N "(cached) $ECHO_C" >&6
37482 wx_save_CXXFLAGS="$CXXFLAGS"
37483 wx_save_LDFLAGS="$LDFLAGS"
37484 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
37485 LDFLAGS="$LDFLAGS -shared -fPIC"
37487 ac_cpp='$CXXCPP $CPPFLAGS'
37488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37492 cat >conftest.$ac_ext <<_ACEOF
37495 cat confdefs.h >>conftest.$ac_ext
37496 cat >>conftest.$ac_ext <<_ACEOF
37497 /* end confdefs.h. */
37505 std::string s("hello");
37512 rm -f conftest.$ac_objext conftest$ac_exeext
37513 if { (ac_try="$ac_link"
37514 case "(($ac_try" in
37515 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37516 *) ac_try_echo
=$ac_try;;
37518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37519 (eval "$ac_link") 2>conftest.er1
37521 grep -v '^ *+' conftest.er1
>conftest.err
37523 cat conftest.err
>&5
37524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37525 (exit $ac_status); } && {
37526 test -z "$ac_cxx_werror_flag" ||
37527 test ! -s conftest.err
37528 } && test -s conftest
$ac_exeext &&
37529 $as_test_x conftest
$ac_exeext; then
37530 wx_cv_cc_broken_libstdcxx_visibility
=no
37532 echo "$as_me: failed program was:" >&5
37533 sed 's/^/| /' conftest.
$ac_ext >&5
37535 wx_cv_cc_broken_libstdcxx_visibility
=yes
37538 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37539 conftest
$ac_exeext conftest.
$ac_ext
37541 ac_cpp
='$CPP $CPPFLAGS'
37542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37546 CXXFLAGS
="$wx_save_CXXFLAGS"
37547 LDFLAGS
="$wx_save_LDFLAGS"
37550 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
37551 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
37553 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37554 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
37555 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
37556 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
37557 echo $ECHO_N "(cached) $ECHO_C" >&6
37561 ac_cpp
='$CXXCPP $CPPFLAGS'
37562 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37563 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37564 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37566 cat >conftest.
$ac_ext <<_ACEOF
37569 cat confdefs.h
>>conftest.
$ac_ext
37570 cat >>conftest.
$ac_ext <<_ACEOF
37571 /* end confdefs.h. */
37573 #pragma GCC visibility push(default)
37575 #pragma GCC visibility pop
37581 std::string s("hello");
37588 rm -f conftest.
$ac_objext conftest
$ac_exeext
37589 if { (ac_try
="$ac_link"
37590 case "(($ac_try" in
37591 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37592 *) ac_try_echo=$ac_try;;
37594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37595 (eval "$ac_link") 2>conftest.er1
37597 grep -v '^ *+' conftest.er1 >conftest.err
37599 cat conftest.err >&5
37600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37601 (exit $ac_status); } && {
37602 test -z "$ac_cxx_werror_flag" ||
37603 test ! -s conftest.err
37604 } && test -s conftest$ac_exeext &&
37605 $as_test_x conftest$ac_exeext; then
37606 wx_cv_cc_visibility_workaround=no
37608 echo "$as_me: failed program was:" >&5
37609 sed 's/^/| /' conftest.$ac_ext >&5
37611 wx_cv_cc_visibility_workaround=yes
37614 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37615 conftest$ac_exeext conftest.$ac_ext
37617 ac_cpp='$CPP $CPPFLAGS'
37618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37625 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
37626 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
37628 if test $wx_cv_cc_visibility_workaround = no; then
37629 wx_cv_cc_visibility=no
37634 if test $wx_cv_cc_visibility = yes; then
37635 cat >>confdefs.h <<\_ACEOF
37636 #define HAVE_VISIBILITY 1
37639 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
37640 cat >>confdefs.h <<\_ACEOF
37641 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
37646 CFLAGS_VISIBILITY=""
37647 CXXFLAGS_VISIBILITY=""
37655 if test "x$SUNCXX" = xyes; then
37656 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
37657 WXCONFIG_RPATH="-R\$libdir"
37660 *-*-linux* | *-*-gnu* )
37661 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
37662 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
37667 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
37669 saveLdflags="$LDFLAGS"
37670 LDFLAGS="$saveLdflags -Wl,-rpath,/"
37671 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
37672 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
37673 cat >conftest.$ac_ext <<_ACEOF
37676 cat confdefs.h >>conftest.$ac_ext
37677 cat >>conftest.$ac_ext <<_ACEOF
37678 /* end confdefs.h. */
37688 rm -f conftest.$ac_objext conftest$ac_exeext
37689 if { (ac_try="$ac_link"
37690 case "(($ac_try" in
37691 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37692 *) ac_try_echo
=$ac_try;;
37694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37695 (eval "$ac_link") 2>conftest.er1
37697 grep -v '^ *+' conftest.er1
>conftest.err
37699 cat conftest.err
>&5
37700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701 (exit $ac_status); } && {
37702 test -z "$ac_c_werror_flag" ||
37703 test ! -s conftest.err
37704 } && test -s conftest
$ac_exeext &&
37705 $as_test_x conftest
$ac_exeext; then
37707 { echo "$as_me:$LINENO: result: yes" >&5
37708 echo "${ECHO_T}yes" >&6; }
37709 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
37710 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
37713 echo "$as_me: failed program was:" >&5
37714 sed 's/^/| /' conftest.
$ac_ext >&5
37717 { echo "$as_me:$LINENO: result: no" >&5
37718 echo "${ECHO_T}no" >&6; }
37719 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
37720 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
37721 LDFLAGS
="$saveLdflags -Wl,-R,/"
37722 cat >conftest.
$ac_ext <<_ACEOF
37725 cat confdefs.h
>>conftest.
$ac_ext
37726 cat >>conftest.
$ac_ext <<_ACEOF
37727 /* end confdefs.h. */
37737 rm -f conftest.
$ac_objext conftest
$ac_exeext
37738 if { (ac_try
="$ac_link"
37739 case "(($ac_try" in
37740 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37741 *) ac_try_echo=$ac_try;;
37743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37744 (eval "$ac_link") 2>conftest.er1
37746 grep -v '^ *+' conftest.er1 >conftest.err
37748 cat conftest.err >&5
37749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37750 (exit $ac_status); } && {
37751 test -z "$ac_c_werror_flag" ||
37752 test ! -s conftest.err
37753 } && test -s conftest$ac_exeext &&
37754 $as_test_x conftest$ac_exeext; then
37756 { echo "$as_me:$LINENO: result: yes" >&5
37757 echo "${ECHO_T}yes" >&6; }
37758 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
37759 WXCONFIG_RPATH="-Wl,-R,\$libdir"
37762 echo "$as_me: failed program was:" >&5
37763 sed 's/^/| /' conftest.$ac_ext >&5
37766 { echo "$as_me:$LINENO: result: no" >&5
37767 echo "${ECHO_T}no" >&6; }
37771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37772 conftest$ac_exeext conftest.$ac_ext
37776 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37777 conftest$ac_exeext conftest.$ac_ext
37778 LDFLAGS="$saveLdflags"
37782 install_name_tool=`which ${HOST_PREFIX}install_name_tool
`
37783 if test "$install_name_tool" -a -x "$install_name_tool"; then
37784 DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
37785 cat <<EOF >change-install-names
37787 libnames=\`cd \
${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\
`
37788 for i in \${libnames} ; do
37789 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
37790 for dep in \${libnames} ; do
37791 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
37795 chmod +x change-install-names
37796 DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
37799 HEADER_PAD_OPTION="-headerpad_max_install_names"
37802 *-*-cygwin* | *-*-mingw32* )
37806 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
37807 WXCONFIG_RPATH="-Wl,+b,\$libdir"
37813 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
37815 if test $wxUSE_RPATH = "no"; then
37816 SAMPLES_RPATH_FLAG=''
37817 DYLIB_PATH_POSTLINK=''
37825 config_linkage_component="-static"
37832 lib_unicode_suffix=
37834 if test "$wxUSE_UNICODE" = "yes"; then
37835 lib_unicode_suffix=u
37836 WX_CHARTYPE="unicode"
37840 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
37841 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
37844 if test "$wxUSE_DEBUG_INFO" = "yes"; then
37848 WX_VERSION_TAG=`echo WX
${lib_unicode_suffix}${WX_LIB_FLAVOUR}_
${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
37850 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
37852 TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
37855 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
37856 WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37858 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37860 if test "${TOOLKIT_DIR}" = "os2"; then
37861 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37863 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
37868 if test "$wxUSE_OLD_COCOA" = 1; then
37871 ac_cpp='$CPP $CPPFLAGS'
37872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37878 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
37879 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
37880 cat >conftest.$ac_ext <<_ACEOF
37883 cat confdefs.h >>conftest.$ac_ext
37884 cat >>conftest.$ac_ext <<_ACEOF
37885 /* end confdefs.h. */
37886 #include <AppKit/NSEvent.h>
37887 #include <CoreFoundation/CoreFoundation.h>
37897 rm -f conftest.$ac_objext
37898 if { (ac_try="$ac_compile"
37899 case "(($ac_try" in
37900 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37901 *) ac_try_echo
=$ac_try;;
37903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37904 (eval "$ac_compile") 2>conftest.er1
37906 grep -v '^ *+' conftest.er1
>conftest.err
37908 cat conftest.err
>&5
37909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910 (exit $ac_status); } && {
37911 test -z "$ac_c_werror_flag" ||
37912 test ! -s conftest.err
37913 } && test -s conftest.
$ac_objext; then
37914 { echo "$as_me:$LINENO: result: no" >&5
37915 echo "${ECHO_T}no" >&6; }
37917 echo "$as_me: failed program was:" >&5
37918 sed 's/^/| /' conftest.
$ac_ext >&5
37920 { echo "$as_me:$LINENO: result: yes" >&5
37921 echo "${ECHO_T}yes" >&6; }
37922 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
37923 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
37924 cat >conftest.
$ac_ext <<_ACEOF
37927 cat confdefs.h
>>conftest.
$ac_ext
37928 cat >>conftest.
$ac_ext <<_ACEOF
37929 /* end confdefs.h. */
37930 #define __Point__ 1
37931 #include <AppKit/NSEvent.h>
37932 #include <CoreFoundation/CoreFoundation.h>
37942 rm -f conftest.
$ac_objext
37943 if { (ac_try
="$ac_compile"
37944 case "(($ac_try" in
37945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37946 *) ac_try_echo=$ac_try;;
37948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37949 (eval "$ac_compile") 2>conftest.er1
37951 grep -v '^ *+' conftest.er1 >conftest.err
37953 cat conftest.err >&5
37954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37955 (exit $ac_status); } && {
37956 test -z "$ac_c_werror_flag" ||
37957 test ! -s conftest.err
37958 } && test -s conftest.$ac_objext; then
37959 { echo "$as_me:$LINENO: result: yes" >&5
37960 echo "${ECHO_T}yes" >&6; }
37961 cat >>confdefs.h <<\_ACEOF
37962 #define __Point__ 1
37967 echo "$as_me: failed program was:" >&5
37968 sed 's/^/| /' conftest.$ac_ext >&5
37970 { { echo "$as_me:$LINENO: error: no
37971 See \`config.log
' for more details." >&5
37972 echo "$as_me: error: no
37973 See \`config.log' for more details.
" >&2;}
37974 { (exit 1); exit 1; }; }
37978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37984 ac_cpp='$CPP $CPPFLAGS'
37985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37992 { echo "$as_me:$LINENO: checking
for mode_t
" >&5
37993 echo $ECHO_N "checking
for mode_t...
$ECHO_C" >&6; }
37994 if test "${ac_cv_type_mode_t+set}" = set; then
37995 echo $ECHO_N "(cached
) $ECHO_C" >&6
37997 cat >conftest.$ac_ext <<_ACEOF
38000 cat confdefs.h >>conftest.$ac_ext
38001 cat >>conftest.$ac_ext <<_ACEOF
38002 /* end confdefs.h. */
38003 $ac_includes_default
38004 typedef mode_t ac__type_new_;
38008 if ((ac__type_new_ *) 0)
38010 if (sizeof (ac__type_new_))
38016 rm -f conftest.$ac_objext
38017 if { (ac_try="$ac_compile"
38018 case "(($ac_try" in
38019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38020 *) ac_try_echo=$ac_try;;
38022 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38023 (eval "$ac_compile") 2>conftest.er1
38025 grep -v '^ *+' conftest.er1 >conftest.err
38027 cat conftest.err >&5
38028 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38029 (exit $ac_status); } && {
38030 test -z "$ac_c_werror_flag" ||
38031 test ! -s conftest.err
38032 } && test -s conftest.$ac_objext; then
38033 ac_cv_type_mode_t=yes
38035 echo "$as_me: failed program was
:" >&5
38036 sed 's/^/| /' conftest.$ac_ext >&5
38038 ac_cv_type_mode_t=no
38041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38043 { echo "$as_me:$LINENO: result
: $ac_cv_type_mode_t" >&5
38044 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
38045 if test $ac_cv_type_mode_t = yes; then
38049 cat >>confdefs.h <<_ACEOF
38055 { echo "$as_me:$LINENO: checking
for off_t
" >&5
38056 echo $ECHO_N "checking
for off_t...
$ECHO_C" >&6; }
38057 if test "${ac_cv_type_off_t+set}" = set; then
38058 echo $ECHO_N "(cached
) $ECHO_C" >&6
38060 cat >conftest.$ac_ext <<_ACEOF
38063 cat confdefs.h >>conftest.$ac_ext
38064 cat >>conftest.$ac_ext <<_ACEOF
38065 /* end confdefs.h. */
38066 $ac_includes_default
38067 typedef off_t ac__type_new_;
38071 if ((ac__type_new_ *) 0)
38073 if (sizeof (ac__type_new_))
38079 rm -f conftest.$ac_objext
38080 if { (ac_try="$ac_compile"
38081 case "(($ac_try" in
38082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38083 *) ac_try_echo=$ac_try;;
38085 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38086 (eval "$ac_compile") 2>conftest.er1
38088 grep -v '^ *+' conftest.er1 >conftest.err
38090 cat conftest.err >&5
38091 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38092 (exit $ac_status); } && {
38093 test -z "$ac_c_werror_flag" ||
38094 test ! -s conftest.err
38095 } && test -s conftest.$ac_objext; then
38096 ac_cv_type_off_t=yes
38098 echo "$as_me: failed program was
:" >&5
38099 sed 's/^/| /' conftest.$ac_ext >&5
38101 ac_cv_type_off_t=no
38104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38106 { echo "$as_me:$LINENO: result
: $ac_cv_type_off_t" >&5
38107 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
38108 if test $ac_cv_type_off_t = yes; then
38112 cat >>confdefs.h <<_ACEOF
38113 #define off_t long int
38118 { echo "$as_me:$LINENO: checking
for pid_t
" >&5
38119 echo $ECHO_N "checking
for pid_t...
$ECHO_C" >&6; }
38120 if test "${ac_cv_type_pid_t+set}" = set; then
38121 echo $ECHO_N "(cached
) $ECHO_C" >&6
38123 cat >conftest.$ac_ext <<_ACEOF
38126 cat confdefs.h >>conftest.$ac_ext
38127 cat >>conftest.$ac_ext <<_ACEOF
38128 /* end confdefs.h. */
38129 $ac_includes_default
38130 typedef pid_t ac__type_new_;
38134 if ((ac__type_new_ *) 0)
38136 if (sizeof (ac__type_new_))
38142 rm -f conftest.$ac_objext
38143 if { (ac_try="$ac_compile"
38144 case "(($ac_try" in
38145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38146 *) ac_try_echo=$ac_try;;
38148 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38149 (eval "$ac_compile") 2>conftest.er1
38151 grep -v '^ *+' conftest.er1 >conftest.err
38153 cat conftest.err >&5
38154 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38155 (exit $ac_status); } && {
38156 test -z "$ac_c_werror_flag" ||
38157 test ! -s conftest.err
38158 } && test -s conftest.$ac_objext; then
38159 ac_cv_type_pid_t=yes
38161 echo "$as_me: failed program was
:" >&5
38162 sed 's/^/| /' conftest.$ac_ext >&5
38164 ac_cv_type_pid_t=no
38167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38169 { echo "$as_me:$LINENO: result
: $ac_cv_type_pid_t" >&5
38170 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
38171 if test $ac_cv_type_pid_t = yes; then
38175 cat >>confdefs.h <<_ACEOF
38181 { echo "$as_me:$LINENO: checking
for size_t
" >&5
38182 echo $ECHO_N "checking
for size_t...
$ECHO_C" >&6; }
38183 if test "${ac_cv_type_size_t+set}" = set; then
38184 echo $ECHO_N "(cached
) $ECHO_C" >&6
38186 cat >conftest.$ac_ext <<_ACEOF
38189 cat confdefs.h >>conftest.$ac_ext
38190 cat >>conftest.$ac_ext <<_ACEOF
38191 /* end confdefs.h. */
38192 $ac_includes_default
38193 typedef size_t ac__type_new_;
38197 if ((ac__type_new_ *) 0)
38199 if (sizeof (ac__type_new_))
38205 rm -f conftest.$ac_objext
38206 if { (ac_try="$ac_compile"
38207 case "(($ac_try" in
38208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38209 *) ac_try_echo=$ac_try;;
38211 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38212 (eval "$ac_compile") 2>conftest.er1
38214 grep -v '^ *+' conftest.er1 >conftest.err
38216 cat conftest.err >&5
38217 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38218 (exit $ac_status); } && {
38219 test -z "$ac_c_werror_flag" ||
38220 test ! -s conftest.err
38221 } && test -s conftest.$ac_objext; then
38222 ac_cv_type_size_t=yes
38224 echo "$as_me: failed program was
:" >&5
38225 sed 's/^/| /' conftest.$ac_ext >&5
38227 ac_cv_type_size_t=no
38230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38232 { echo "$as_me:$LINENO: result
: $ac_cv_type_size_t" >&5
38233 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
38234 if test $ac_cv_type_size_t = yes; then
38238 cat >>confdefs.h <<_ACEOF
38239 #define size_t unsigned int
38245 { echo "$as_me:$LINENO: checking
for ssize_t
" >&5
38246 echo $ECHO_N "checking
for ssize_t...
$ECHO_C" >&6; }
38247 if test "${ac_cv_type_ssize_t+set}" = set; then
38248 echo $ECHO_N "(cached
) $ECHO_C" >&6
38250 cat >conftest.$ac_ext <<_ACEOF
38253 cat confdefs.h >>conftest.$ac_ext
38254 cat >>conftest.$ac_ext <<_ACEOF
38255 /* end confdefs.h. */
38256 $ac_includes_default
38257 typedef ssize_t ac__type_new_;
38261 if ((ac__type_new_ *) 0)
38263 if (sizeof (ac__type_new_))
38269 rm -f conftest.$ac_objext
38270 if { (ac_try="$ac_compile"
38271 case "(($ac_try" in
38272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38273 *) ac_try_echo=$ac_try;;
38275 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38276 (eval "$ac_compile") 2>conftest.er1
38278 grep -v '^ *+' conftest.er1 >conftest.err
38280 cat conftest.err >&5
38281 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38282 (exit $ac_status); } && {
38283 test -z "$ac_c_werror_flag" ||
38284 test ! -s conftest.err
38285 } && test -s conftest.$ac_objext; then
38286 ac_cv_type_ssize_t=yes
38288 echo "$as_me: failed program was
:" >&5
38289 sed 's/^/| /' conftest.$ac_ext >&5
38291 ac_cv_type_ssize_t=no
38294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38296 { echo "$as_me:$LINENO: result
: $ac_cv_type_ssize_t" >&5
38297 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
38298 if test $ac_cv_type_ssize_t = yes; then
38300 cat >>confdefs.h <<_ACEOF
38301 #define HAVE_SSIZE_T 1
38309 ac_cpp='$CXXCPP $CPPFLAGS'
38310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38313 { echo "$as_me:$LINENO: checking
if size_t is unsigned int
" >&5
38314 echo $ECHO_N "checking
if size_t is unsigned int...
$ECHO_C" >&6; }
38315 if test "${wx_cv_size_t_is_uint+set}" = set; then
38316 echo $ECHO_N "(cached
) $ECHO_C" >&6
38319 cat >conftest.$ac_ext <<_ACEOF
38322 cat confdefs.h >>conftest.$ac_ext
38323 cat >>conftest.$ac_ext <<_ACEOF
38324 /* end confdefs.h. */
38325 #include <stddef.h>
38332 struct Foo { void foo(size_t); void foo(unsigned int); };
38340 rm -f conftest.$ac_objext
38341 if { (ac_try="$ac_compile"
38342 case "(($ac_try" in
38343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38344 *) ac_try_echo=$ac_try;;
38346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38347 (eval "$ac_compile") 2>conftest.er1
38349 grep -v '^ *+' conftest.er1 >conftest.err
38351 cat conftest.err >&5
38352 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38353 (exit $ac_status); } && {
38354 test -z "$ac_cxx_werror_flag" ||
38355 test ! -s conftest.err
38356 } && test -s conftest.$ac_objext; then
38357 wx_cv_size_t_is_uint=no
38359 echo "$as_me: failed program was
:" >&5
38360 sed 's/^/| /' conftest.$ac_ext >&5
38362 wx_cv_size_t_is_uint=yes
38366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38370 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_uint" >&5
38371 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
38373 if test "$wx_cv_size_t_is_uint" = "yes"; then
38374 cat >>confdefs.h <<\_ACEOF
38375 #define wxSIZE_T_IS_UINT 1
38379 { echo "$as_me:$LINENO: checking
if size_t is unsigned long
" >&5
38380 echo $ECHO_N "checking
if size_t is unsigned long...
$ECHO_C" >&6; }
38381 if test "${wx_cv_size_t_is_ulong+set}" = set; then
38382 echo $ECHO_N "(cached
) $ECHO_C" >&6
38384 cat >conftest.$ac_ext <<_ACEOF
38387 cat confdefs.h >>conftest.$ac_ext
38388 cat >>conftest.$ac_ext <<_ACEOF
38389 /* end confdefs.h. */
38390 #include <stddef.h>
38397 struct Foo { void foo(size_t); void foo(unsigned long); };
38405 rm -f conftest.$ac_objext
38406 if { (ac_try="$ac_compile"
38407 case "(($ac_try" in
38408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38409 *) ac_try_echo=$ac_try;;
38411 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38412 (eval "$ac_compile") 2>conftest.er1
38414 grep -v '^ *+' conftest.er1 >conftest.err
38416 cat conftest.err >&5
38417 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38418 (exit $ac_status); } && {
38419 test -z "$ac_cxx_werror_flag" ||
38420 test ! -s conftest.err
38421 } && test -s conftest.$ac_objext; then
38422 wx_cv_size_t_is_ulong=no
38424 echo "$as_me: failed program was
:" >&5
38425 sed 's/^/| /' conftest.$ac_ext >&5
38427 wx_cv_size_t_is_ulong=yes
38431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38434 { echo "$as_me:$LINENO: result
: $wx_cv_size_t_is_ulong" >&5
38435 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
38437 if test "$wx_cv_size_t_is_ulong" = "yes"; then
38438 cat >>confdefs.h <<\_ACEOF
38439 #define wxSIZE_T_IS_ULONG 1
38445 { echo "$as_me:$LINENO: checking
if wchar_t is separate
type" >&5
38446 echo $ECHO_N "checking
if wchar_t is separate
type...
$ECHO_C" >&6; }
38447 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
38448 echo $ECHO_N "(cached
) $ECHO_C" >&6
38450 cat >conftest.$ac_ext <<_ACEOF
38453 cat confdefs.h >>conftest.$ac_ext
38454 cat >>conftest.$ac_ext <<_ACEOF
38455 /* end confdefs.h. */
38463 struct Foo { void foo(wchar_t);
38464 void foo(unsigned short);
38465 void foo(unsigned int);
38466 void foo(unsigned long); };
38474 rm -f conftest.$ac_objext
38475 if { (ac_try="$ac_compile"
38476 case "(($ac_try" in
38477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38478 *) ac_try_echo=$ac_try;;
38480 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38481 (eval "$ac_compile") 2>conftest.er1
38483 grep -v '^ *+' conftest.er1 >conftest.err
38485 cat conftest.err >&5
38486 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38487 (exit $ac_status); } && {
38488 test -z "$ac_cxx_werror_flag" ||
38489 test ! -s conftest.err
38490 } && test -s conftest.$ac_objext; then
38491 wx_cv_wchar_t_is_separate_type=yes
38493 echo "$as_me: failed program was
:" >&5
38494 sed 's/^/| /' conftest.$ac_ext >&5
38496 wx_cv_wchar_t_is_separate_type=no
38500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38503 { echo "$as_me:$LINENO: result
: $wx_cv_wchar_t_is_separate_type" >&5
38504 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
38506 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
38507 cat >>confdefs.h <<\_ACEOF
38508 #define wxWCHAR_T_IS_REAL_TYPE 1
38512 cat >>confdefs.h <<\_ACEOF
38513 #define wxWCHAR_T_IS_REAL_TYPE 0
38519 ac_cpp='$CPP $CPPFLAGS'
38520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38525 { echo "$as_me:$LINENO: checking
for pw_gecos
in struct passwd
" >&5
38526 echo $ECHO_N "checking
for pw_gecos
in struct passwd...
$ECHO_C" >&6; }
38527 if test "${wx_cv_struct_pw_gecos+set}" = set; then
38528 echo $ECHO_N "(cached
) $ECHO_C" >&6
38531 cat >conftest.$ac_ext <<_ACEOF
38534 cat confdefs.h >>conftest.$ac_ext
38535 cat >>conftest.$ac_ext <<_ACEOF
38536 /* end confdefs.h. */
38550 rm -f conftest.$ac_objext
38551 if { (ac_try="$ac_compile"
38552 case "(($ac_try" in
38553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38554 *) ac_try_echo=$ac_try;;
38556 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38557 (eval "$ac_compile") 2>conftest.er1
38559 grep -v '^ *+' conftest.er1 >conftest.err
38561 cat conftest.err >&5
38562 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38563 (exit $ac_status); } && {
38564 test -z "$ac_c_werror_flag" ||
38565 test ! -s conftest.err
38566 } && test -s conftest.$ac_objext; then
38568 wx_cv_struct_pw_gecos=yes
38571 echo "$as_me: failed program was
:" >&5
38572 sed 's/^/| /' conftest.$ac_ext >&5
38575 wx_cv_struct_pw_gecos=no
38580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38584 { echo "$as_me:$LINENO: result
: $wx_cv_struct_pw_gecos" >&5
38585 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
38587 if test "$wx_cv_struct_pw_gecos" = "yes"; then
38588 cat >>confdefs.h <<\_ACEOF
38589 #define HAVE_PW_GECOS 1
38598 for ac_func in wcslen
38600 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38601 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38602 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38603 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38604 echo $ECHO_N "(cached
) $ECHO_C" >&6
38606 cat >conftest.$ac_ext <<_ACEOF
38609 cat confdefs.h >>conftest.$ac_ext
38610 cat >>conftest.$ac_ext <<_ACEOF
38611 /* end confdefs.h. */
38612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38614 #define $ac_func innocuous_$ac_func
38616 /* System header to define __stub macros and hopefully few prototypes,
38617 which can conflict with char $ac_func (); below.
38618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38619 <limits.h> exists even on freestanding compilers. */
38622 # include <limits.h>
38624 # include <assert.h>
38629 /* Override any GCC internal prototype to avoid an error.
38630 Use char because int might match the return type of a GCC
38631 builtin and then its argument prototype would still apply. */
38636 /* The GNU C library defines this for functions which it implements
38637 to always fail with ENOSYS. Some functions are actually named
38638 something starting with __ and the normal name is an alias. */
38639 #if defined __stub_$ac_func || defined __stub___$ac_func
38646 return $ac_func ();
38651 rm -f conftest.$ac_objext conftest$ac_exeext
38652 if { (ac_try="$ac_link"
38653 case "(($ac_try" in
38654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38655 *) ac_try_echo=$ac_try;;
38657 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38658 (eval "$ac_link") 2>conftest.er1
38660 grep -v '^ *+' conftest.er1 >conftest.err
38662 cat conftest.err >&5
38663 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38664 (exit $ac_status); } && {
38665 test -z "$ac_c_werror_flag" ||
38666 test ! -s conftest.err
38667 } && test -s conftest$ac_exeext &&
38668 $as_test_x conftest$ac_exeext; then
38669 eval "$as_ac_var=yes"
38671 echo "$as_me: failed program was
:" >&5
38672 sed 's/^/| /' conftest.$ac_ext >&5
38674 eval "$as_ac_var=no
"
38677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38678 conftest$ac_exeext conftest.$ac_ext
38680 ac_res=`eval echo '${'$as_ac_var'}'`
38681 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38682 echo "${ECHO_T}$ac_res" >&6; }
38683 if test `eval echo '${'$as_ac_var'}'` = yes; then
38684 cat >>confdefs.h <<_ACEOF
38685 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38692 if test "$WCSLEN_FOUND" = 0; then
38693 if test "$TOOLKIT" = "MSW
"; then
38694 { echo "$as_me:$LINENO: checking
for wcslen
in -lmsvcrt" >&5
38695 echo $ECHO_N "checking
for wcslen
in -lmsvcrt...
$ECHO_C" >&6; }
38696 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
38697 echo $ECHO_N "(cached
) $ECHO_C" >&6
38699 ac_check_lib_save_LIBS=$LIBS
38700 LIBS="-lmsvcrt $LIBS"
38701 cat >conftest.$ac_ext <<_ACEOF
38704 cat confdefs.h >>conftest.$ac_ext
38705 cat >>conftest.$ac_ext <<_ACEOF
38706 /* end confdefs.h. */
38708 /* Override any GCC internal prototype to avoid an error.
38709 Use char because int might match the return type of a GCC
38710 builtin and then its argument prototype would still apply. */
38723 rm -f conftest.$ac_objext conftest$ac_exeext
38724 if { (ac_try="$ac_link"
38725 case "(($ac_try" in
38726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38727 *) ac_try_echo=$ac_try;;
38729 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38730 (eval "$ac_link") 2>conftest.er1
38732 grep -v '^ *+' conftest.er1 >conftest.err
38734 cat conftest.err >&5
38735 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38736 (exit $ac_status); } && {
38737 test -z "$ac_c_werror_flag" ||
38738 test ! -s conftest.err
38739 } && test -s conftest$ac_exeext &&
38740 $as_test_x conftest$ac_exeext; then
38741 ac_cv_lib_msvcrt_wcslen=yes
38743 echo "$as_me: failed program was
:" >&5
38744 sed 's/^/| /' conftest.$ac_ext >&5
38746 ac_cv_lib_msvcrt_wcslen=no
38749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38750 conftest$ac_exeext conftest.$ac_ext
38751 LIBS=$ac_check_lib_save_LIBS
38753 { echo "$as_me:$LINENO: result
: $ac_cv_lib_msvcrt_wcslen" >&5
38754 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
38755 if test $ac_cv_lib_msvcrt_wcslen = yes; then
38760 { echo "$as_me:$LINENO: checking
for wcslen
in -lw" >&5
38761 echo $ECHO_N "checking
for wcslen
in -lw...
$ECHO_C" >&6; }
38762 if test "${ac_cv_lib_w_wcslen+set}" = set; then
38763 echo $ECHO_N "(cached
) $ECHO_C" >&6
38765 ac_check_lib_save_LIBS=$LIBS
38767 cat >conftest.$ac_ext <<_ACEOF
38770 cat confdefs.h >>conftest.$ac_ext
38771 cat >>conftest.$ac_ext <<_ACEOF
38772 /* end confdefs.h. */
38774 /* Override any GCC internal prototype to avoid an error.
38775 Use char because int might match the return type of a GCC
38776 builtin and then its argument prototype would still apply. */
38789 rm -f conftest.$ac_objext conftest$ac_exeext
38790 if { (ac_try="$ac_link"
38791 case "(($ac_try" in
38792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38793 *) ac_try_echo=$ac_try;;
38795 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38796 (eval "$ac_link") 2>conftest.er1
38798 grep -v '^ *+' conftest.er1 >conftest.err
38800 cat conftest.err >&5
38801 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38802 (exit $ac_status); } && {
38803 test -z "$ac_c_werror_flag" ||
38804 test ! -s conftest.err
38805 } && test -s conftest$ac_exeext &&
38806 $as_test_x conftest$ac_exeext; then
38807 ac_cv_lib_w_wcslen=yes
38809 echo "$as_me: failed program was
:" >&5
38810 sed 's/^/| /' conftest.$ac_ext >&5
38812 ac_cv_lib_w_wcslen=no
38815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38816 conftest$ac_exeext conftest.$ac_ext
38817 LIBS=$ac_check_lib_save_LIBS
38819 { echo "$as_me:$LINENO: result
: $ac_cv_lib_w_wcslen" >&5
38820 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
38821 if test $ac_cv_lib_w_wcslen = yes; then
38831 if test "$WCSLEN_FOUND" = 1; then
38832 cat >>confdefs.h <<\_ACEOF
38833 #define HAVE_WCSLEN 1
38844 for ac_func in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
38846 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
38847 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
38848 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
38849 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
38850 echo $ECHO_N "(cached
) $ECHO_C" >&6
38852 cat >conftest.$ac_ext <<_ACEOF
38855 cat confdefs.h >>conftest.$ac_ext
38856 cat >>conftest.$ac_ext <<_ACEOF
38857 /* end confdefs.h. */
38858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38860 #define $ac_func innocuous_$ac_func
38862 /* System header to define __stub macros and hopefully few prototypes,
38863 which can conflict with char $ac_func (); below.
38864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38865 <limits.h> exists even on freestanding compilers. */
38868 # include <limits.h>
38870 # include <assert.h>
38875 /* Override any GCC internal prototype to avoid an error.
38876 Use char because int might match the return type of a GCC
38877 builtin and then its argument prototype would still apply. */
38882 /* The GNU C library defines this for functions which it implements
38883 to always fail with ENOSYS. Some functions are actually named
38884 something starting with __ and the normal name is an alias. */
38885 #if defined __stub_$ac_func || defined __stub___$ac_func
38892 return $ac_func ();
38897 rm -f conftest.$ac_objext conftest$ac_exeext
38898 if { (ac_try="$ac_link"
38899 case "(($ac_try" in
38900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38901 *) ac_try_echo=$ac_try;;
38903 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38904 (eval "$ac_link") 2>conftest.er1
38906 grep -v '^ *+' conftest.er1 >conftest.err
38908 cat conftest.err >&5
38909 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38910 (exit $ac_status); } && {
38911 test -z "$ac_c_werror_flag" ||
38912 test ! -s conftest.err
38913 } && test -s conftest$ac_exeext &&
38914 $as_test_x conftest$ac_exeext; then
38915 eval "$as_ac_var=yes"
38917 echo "$as_me: failed program was
:" >&5
38918 sed 's/^/| /' conftest.$ac_ext >&5
38920 eval "$as_ac_var=no
"
38923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38924 conftest$ac_exeext conftest.$ac_ext
38926 ac_res=`eval echo '${'$as_ac_var'}'`
38927 { echo "$as_me:$LINENO: result
: $ac_res" >&5
38928 echo "${ECHO_T}$ac_res" >&6; }
38929 if test `eval echo '${'$as_ac_var'}'` = yes; then
38930 cat >>confdefs.h <<_ACEOF
38931 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
38938 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
38939 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
38942 { echo "$as_me:$LINENO: checking
for mbstate_t
" >&5
38943 echo $ECHO_N "checking
for mbstate_t...
$ECHO_C" >&6; }
38944 if test "${ac_cv_type_mbstate_t+set}" = set; then
38945 echo $ECHO_N "(cached
) $ECHO_C" >&6
38947 cat >conftest.$ac_ext <<_ACEOF
38950 cat confdefs.h >>conftest.$ac_ext
38951 cat >>conftest.$ac_ext <<_ACEOF
38952 /* end confdefs.h. */
38955 typedef mbstate_t ac__type_new_;
38959 if ((ac__type_new_ *) 0)
38961 if (sizeof (ac__type_new_))
38967 rm -f conftest.$ac_objext
38968 if { (ac_try="$ac_compile"
38969 case "(($ac_try" in
38970 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38971 *) ac_try_echo=$ac_try;;
38973 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
38974 (eval "$ac_compile") 2>conftest.er1
38976 grep -v '^ *+' conftest.er1 >conftest.err
38978 cat conftest.err >&5
38979 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
38980 (exit $ac_status); } && {
38981 test -z "$ac_c_werror_flag" ||
38982 test ! -s conftest.err
38983 } && test -s conftest.$ac_objext; then
38984 ac_cv_type_mbstate_t=yes
38986 echo "$as_me: failed program was
:" >&5
38987 sed 's/^/| /' conftest.$ac_ext >&5
38989 ac_cv_type_mbstate_t=no
38992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38994 { echo "$as_me:$LINENO: result
: $ac_cv_type_mbstate_t" >&5
38995 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
38996 if test $ac_cv_type_mbstate_t = yes; then
38998 cat >>confdefs.h <<_ACEOF
38999 #define HAVE_MBSTATE_T 1
39003 for ac_func in wcsrtombs
39005 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
39006 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
39007 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
39008 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
39009 echo $ECHO_N "(cached
) $ECHO_C" >&6
39011 cat >conftest.$ac_ext <<_ACEOF
39014 cat confdefs.h >>conftest.$ac_ext
39015 cat >>conftest.$ac_ext <<_ACEOF
39016 /* end confdefs.h. */
39017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39019 #define $ac_func innocuous_$ac_func
39021 /* System header to define __stub macros and hopefully few prototypes,
39022 which can conflict with char $ac_func (); below.
39023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39024 <limits.h> exists even on freestanding compilers. */
39027 # include <limits.h>
39029 # include <assert.h>
39034 /* Override any GCC internal prototype to avoid an error.
39035 Use char because int might match the return type of a GCC
39036 builtin and then its argument prototype would still apply. */
39041 /* The GNU C library defines this for functions which it implements
39042 to always fail with ENOSYS. Some functions are actually named
39043 something starting with __ and the normal name is an alias. */
39044 #if defined __stub_$ac_func || defined __stub___$ac_func
39051 return $ac_func ();
39056 rm -f conftest.$ac_objext conftest$ac_exeext
39057 if { (ac_try="$ac_link"
39058 case "(($ac_try" in
39059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39060 *) ac_try_echo=$ac_try;;
39062 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39063 (eval "$ac_link") 2>conftest.er1
39065 grep -v '^ *+' conftest.er1 >conftest.err
39067 cat conftest.err >&5
39068 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39069 (exit $ac_status); } && {
39070 test -z "$ac_c_werror_flag" ||
39071 test ! -s conftest.err
39072 } && test -s conftest$ac_exeext &&
39073 $as_test_x conftest$ac_exeext; then
39074 eval "$as_ac_var=yes"
39076 echo "$as_me: failed program was
:" >&5
39077 sed 's/^/| /' conftest.$ac_ext >&5
39079 eval "$as_ac_var=no
"
39082 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39083 conftest$ac_exeext conftest.$ac_ext
39085 ac_res=`eval echo '${'$as_ac_var'}'`
39086 { echo "$as_me:$LINENO: result
: $ac_res" >&5
39087 echo "${ECHO_T}$ac_res" >&6; }
39088 if test `eval echo '${'$as_ac_var'}'` = yes; then
39089 cat >>confdefs.h <<_ACEOF
39090 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
39102 for ac_func in snprintf vsnprintf vsscanf
39104 as_ac_var=`echo "ac_cv_func_
$ac_func" | $as_tr_sh`
39105 { echo "$as_me:$LINENO: checking
for $ac_func" >&5
39106 echo $ECHO_N "checking
for $ac_func...
$ECHO_C" >&6; }
39107 if { as_var=$as_ac_var; eval "test \"\
${$as_var+set}\" = set"; }; then
39108 echo $ECHO_N "(cached
) $ECHO_C" >&6
39110 cat >conftest.$ac_ext <<_ACEOF
39113 cat confdefs.h >>conftest.$ac_ext
39114 cat >>conftest.$ac_ext <<_ACEOF
39115 /* end confdefs.h. */
39116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39117 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39118 #define $ac_func innocuous_$ac_func
39120 /* System header to define __stub macros and hopefully few prototypes,
39121 which can conflict with char $ac_func (); below.
39122 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39123 <limits.h> exists even on freestanding compilers. */
39126 # include <limits.h>
39128 # include <assert.h>
39133 /* Override any GCC internal prototype to avoid an error.
39134 Use char because int might match the return type of a GCC
39135 builtin and then its argument prototype would still apply. */
39140 /* The GNU C library defines this for functions which it implements
39141 to always fail with ENOSYS. Some functions are actually named
39142 something starting with __ and the normal name is an alias. */
39143 #if defined __stub_$ac_func || defined __stub___$ac_func
39150 return $ac_func ();
39155 rm -f conftest.$ac_objext conftest$ac_exeext
39156 if { (ac_try="$ac_link"
39157 case "(($ac_try" in
39158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39159 *) ac_try_echo=$ac_try;;
39161 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39162 (eval "$ac_link") 2>conftest.er1
39164 grep -v '^ *+' conftest.er1 >conftest.err
39166 cat conftest.err >&5
39167 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39168 (exit $ac_status); } && {
39169 test -z "$ac_c_werror_flag" ||
39170 test ! -s conftest.err
39171 } && test -s conftest$ac_exeext &&
39172 $as_test_x conftest$ac_exeext; then
39173 eval "$as_ac_var=yes"
39175 echo "$as_me: failed program was
:" >&5
39176 sed 's/^/| /' conftest.$ac_ext >&5
39178 eval "$as_ac_var=no
"
39181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39182 conftest$ac_exeext conftest.$ac_ext
39184 ac_res=`eval echo '${'$as_ac_var'}'`
39185 { echo "$as_me:$LINENO: result
: $ac_res" >&5
39186 echo "${ECHO_T}$ac_res" >&6; }
39187 if test `eval echo '${'$as_ac_var'}'` = yes; then
39188 cat >>confdefs.h <<_ACEOF
39189 #define `echo "HAVE_
$ac_func" | $as_tr_cpp` 1
39197 ac_cpp='$CXXCPP $CPPFLAGS'
39198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39202 if test "$ac_cv_func_vsnprintf" = "yes"; then
39203 { echo "$as_me:$LINENO: checking
for vsnprintf declaration
" >&5
39204 echo $ECHO_N "checking
for vsnprintf declaration...
$ECHO_C" >&6; }
39205 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
39206 echo $ECHO_N "(cached
) $ECHO_C" >&6
39209 cat >conftest.$ac_ext <<_ACEOF
39212 cat confdefs.h >>conftest.$ac_ext
39213 cat >>conftest.$ac_ext <<_ACEOF
39214 /* end confdefs.h. */
39217 #include <stdarg.h>
39225 vsnprintf(buf, 10u, "%s
", ap);
39231 rm -f conftest.$ac_objext
39232 if { (ac_try="$ac_compile"
39233 case "(($ac_try" in
39234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39235 *) ac_try_echo=$ac_try;;
39237 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39238 (eval "$ac_compile") 2>conftest.er1
39240 grep -v '^ *+' conftest.er1 >conftest.err
39242 cat conftest.err >&5
39243 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39244 (exit $ac_status); } && {
39245 test -z "$ac_cxx_werror_flag" ||
39246 test ! -s conftest.err
39247 } && test -s conftest.$ac_objext; then
39248 wx_cv_func_vsnprintf_decl=yes
39250 echo "$as_me: failed program was
:" >&5
39251 sed 's/^/| /' conftest.$ac_ext >&5
39253 wx_cv_func_vsnprintf_decl=no
39257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39261 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsnprintf_decl" >&5
39262 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
39264 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
39265 cat >>confdefs.h <<\_ACEOF
39266 #define HAVE_VSNPRINTF_DECL 1
39270 { echo "$as_me:$LINENO: checking
if vsnprintf declaration is broken
" >&5
39271 echo $ECHO_N "checking
if vsnprintf declaration is broken...
$ECHO_C" >&6; }
39272 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
39273 echo $ECHO_N "(cached
) $ECHO_C" >&6
39276 cat >conftest.$ac_ext <<_ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39284 #include <stdarg.h>
39286 #if __MSL__ >= 0x6000
39288 using namespace std;
39298 const char *fmt = "%s
";
39299 vsnprintf(buf, 10u, fmt, ap);
39305 rm -f conftest.$ac_objext
39306 if { (ac_try="$ac_compile"
39307 case "(($ac_try" in
39308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39309 *) ac_try_echo=$ac_try;;
39311 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39312 (eval "$ac_compile") 2>conftest.er1
39314 grep -v '^ *+' conftest.er1 >conftest.err
39316 cat conftest.err >&5
39317 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39318 (exit $ac_status); } && {
39319 test -z "$ac_cxx_werror_flag" ||
39320 test ! -s conftest.err
39321 } && test -s conftest.$ac_objext; then
39322 wx_cv_func_broken_vsnprintf_decl=no
39324 echo "$as_me: failed program was
:" >&5
39325 sed 's/^/| /' conftest.$ac_ext >&5
39327 wx_cv_func_broken_vsnprintf_decl=yes
39331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39335 { echo "$as_me:$LINENO: result
: $wx_cv_func_broken_vsnprintf_decl" >&5
39336 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
39338 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
39339 cat >>confdefs.h <<\_ACEOF
39340 #define HAVE_BROKEN_VSNPRINTF_DECL 1
39347 if test "$ac_cv_func_snprintf" = "yes"; then
39348 { echo "$as_me:$LINENO: checking
for snprintf declaration
" >&5
39349 echo $ECHO_N "checking
for snprintf declaration...
$ECHO_C" >&6; }
39350 if test "${wx_cv_func_snprintf_decl+set}" = set; then
39351 echo $ECHO_N "(cached
) $ECHO_C" >&6
39354 cat >conftest.$ac_ext <<_ACEOF
39357 cat confdefs.h >>conftest.$ac_ext
39358 cat >>conftest.$ac_ext <<_ACEOF
39359 /* end confdefs.h. */
39362 #include <stdarg.h>
39364 #if __MSL__ >= 0x6000
39366 using namespace std;
39375 snprintf(buf, 10u, "%s
", "wx
");
39381 rm -f conftest.$ac_objext
39382 if { (ac_try="$ac_compile"
39383 case "(($ac_try" in
39384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39385 *) ac_try_echo=$ac_try;;
39387 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39388 (eval "$ac_compile") 2>conftest.er1
39390 grep -v '^ *+' conftest.er1 >conftest.err
39392 cat conftest.err >&5
39393 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39394 (exit $ac_status); } && {
39395 test -z "$ac_cxx_werror_flag" ||
39396 test ! -s conftest.err
39397 } && test -s conftest.$ac_objext; then
39398 wx_cv_func_snprintf_decl=yes
39400 echo "$as_me: failed program was
:" >&5
39401 sed 's/^/| /' conftest.$ac_ext >&5
39403 wx_cv_func_snprintf_decl=no
39407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39411 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_decl" >&5
39412 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
39414 if test "$wx_cv_func_snprintf_decl" = "yes"; then
39415 cat >>confdefs.h <<\_ACEOF
39416 #define HAVE_SNPRINTF_DECL 1
39421 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
39423 { echo "$as_me:$LINENO: checking
if snprintf supports positional arguments
" >&5
39424 echo $ECHO_N "checking
if snprintf supports positional arguments...
$ECHO_C" >&6; }
39425 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
39426 echo $ECHO_N "(cached
) $ECHO_C" >&6
39429 if test "$cross_compiling" = yes; then
39431 { echo "$as_me:$LINENO: WARNING
: Assuming Unix98
printf() is not available
,
39432 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&5
39433 echo "$as_me: WARNING
: Assuming Unix98
printf() is not available
,
39434 define HAVE_UNIX98_PRINTF as
1 in setup.h
if it is available.
" >&2;}
39435 wx_cv_func_snprintf_pos_params=no
39439 cat >conftest.$ac_ext <<_ACEOF
39442 cat confdefs.h >>conftest.$ac_ext
39443 cat >>conftest.$ac_ext <<_ACEOF
39444 /* end confdefs.h. */
39451 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
39452 if (strcmp ("2 3 1", buffer) == 0)
39458 rm -f conftest$ac_exeext
39459 if { (ac_try="$ac_link"
39460 case "(($ac_try" in
39461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39462 *) ac_try_echo=$ac_try;;
39464 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39465 (eval "$ac_link") 2>&5
39467 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39468 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39469 { (case "(($ac_try" in
39470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39471 *) ac_try_echo=$ac_try;;
39473 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39474 (eval "$ac_try") 2>&5
39476 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39477 (exit $ac_status); }; }; then
39478 wx_cv_func_snprintf_pos_params=no
39480 echo "$as_me: program exited with status
$ac_status" >&5
39481 echo "$as_me: failed program was
:" >&5
39482 sed 's/^/| /' conftest.$ac_ext >&5
39484 ( exit $ac_status )
39485 wx_cv_func_snprintf_pos_params=yes
39487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39494 { echo "$as_me:$LINENO: result
: $wx_cv_func_snprintf_pos_params" >&5
39495 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
39497 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
39498 cat >>confdefs.h <<\_ACEOF
39499 #define HAVE_UNIX98_PRINTF 1
39506 if test "$ac_cv_func_vsscanf" = "yes"; then
39507 { echo "$as_me:$LINENO: checking
for vsscanf declaration
" >&5
39508 echo $ECHO_N "checking
for vsscanf declaration...
$ECHO_C" >&6; }
39509 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
39510 echo $ECHO_N "(cached
) $ECHO_C" >&6
39513 cat >conftest.$ac_ext <<_ACEOF
39516 cat confdefs.h >>conftest.$ac_ext
39517 cat >>conftest.$ac_ext <<_ACEOF
39518 /* end confdefs.h. */
39521 #include <stdarg.h>
39523 #if __MSL__ >= 0x6000
39525 using namespace std;
39535 vsscanf(buf, "%s
", args);
39541 rm -f conftest.$ac_objext
39542 if { (ac_try="$ac_compile"
39543 case "(($ac_try" in
39544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39545 *) ac_try_echo=$ac_try;;
39547 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
39548 (eval "$ac_compile") 2>conftest.er1
39550 grep -v '^ *+' conftest.er1 >conftest.err
39552 cat conftest.err >&5
39553 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
39554 (exit $ac_status); } && {
39555 test -z "$ac_cxx_werror_flag" ||
39556 test ! -s conftest.err
39557 } && test -s conftest.$ac_objext; then
39558 wx_cv_func_vsscanf_decl=yes
39560 echo "$as_me: failed program was
:" >&5
39561 sed 's/^/| /' conftest.$ac_ext >&5
39563 wx_cv_func_vsscanf_decl=no
39567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39571 { echo "$as_me:$LINENO: result
: $wx_cv_func_vsscanf_decl" >&5
39572 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
39574 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
39575 cat >>confdefs.h <<\_ACEOF
39576 #define HAVE_VSSCANF_DECL 1
39582 ac_cpp='$CPP $CPPFLAGS'
39583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39588 if test "$wxUSE_UNICODE" = yes; then
39590 wchar_headers="#include <stdio.h>
39591 #include <wchar.h>"
39595 for ac_header
in widec.h
39597 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39600 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39601 echo $ECHO_N "(cached) $ECHO_C" >&6
39603 cat >conftest.
$ac_ext <<_ACEOF
39606 cat confdefs.h
>>conftest.
$ac_ext
39607 cat >>conftest.
$ac_ext <<_ACEOF
39608 /* end confdefs.h. */
39609 $ac_includes_default
39611 #include <$ac_header>
39613 rm -f conftest.
$ac_objext
39614 if { (ac_try
="$ac_compile"
39615 case "(($ac_try" in
39616 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39617 *) ac_try_echo=$ac_try;;
39619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39620 (eval "$ac_compile") 2>conftest.er1
39622 grep -v '^ *+' conftest.er1 >conftest.err
39624 cat conftest.err >&5
39625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39626 (exit $ac_status); } && {
39627 test -z "$ac_c_werror_flag" ||
39628 test ! -s conftest.err
39629 } && test -s conftest.$ac_objext; then
39630 eval "$as_ac_Header=yes"
39632 echo "$as_me: failed program was:" >&5
39633 sed 's/^/| /' conftest.$ac_ext >&5
39635 eval "$as_ac_Header=no"
39638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39640 ac_res=`eval echo '${'$as_ac_Header'}'`
39641 { echo "$as_me:$LINENO: result: $ac_res" >&5
39642 echo "${ECHO_T}$ac_res" >&6; }
39643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39644 cat >>confdefs.h <<_ACEOF
39645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39652 if test "$ac_cv_header_widec_h" = "yes"; then
39653 wchar_headers="$wchar_headers
39654 #include <widec.h>"
39659 for wx_func in putws fputws wprintf vswprintf vswscanf
39661 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39662 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39663 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39664 echo $ECHO_N "(cached) $ECHO_C" >&6
39667 cat >conftest.$ac_ext <<_ACEOF
39671 cat confdefs.h >>conftest.$ac_ext
39672 cat >>conftest.$ac_ext <<_ACEOF
39673 /* end confdefs.h. */
39676 $ac_includes_default
39692 rm -f conftest.$ac_objext conftest$ac_exeext
39693 if { (ac_try="$ac_link"
39694 case "(($ac_try" in
39695 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39696 *) ac_try_echo
=$ac_try;;
39698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39699 (eval "$ac_link") 2>conftest.er1
39701 grep -v '^ *+' conftest.er1
>conftest.err
39703 cat conftest.err
>&5
39704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39705 (exit $ac_status); } && {
39706 test -z "$ac_c_werror_flag" ||
39707 test ! -s conftest.err
39708 } && test -s conftest
$ac_exeext &&
39709 $as_test_x conftest
$ac_exeext; then
39710 eval wx_cv_func_
$wx_func=yes
39712 echo "$as_me: failed program was:" >&5
39713 sed 's/^/| /' conftest.
$ac_ext >&5
39715 eval wx_cv_func_
$wx_func=no
39718 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39719 conftest
$ac_exeext conftest.
$ac_ext
39722 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39723 { echo "$as_me:$LINENO: result: $ac_res" >&5
39724 echo "${ECHO_T}$ac_res" >&6; }
39726 if eval test \
$wx_cv_func_$wx_func = yes
39728 cat >>confdefs.h
<<_ACEOF
39729 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39740 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
39741 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
39742 cat >conftest.
$ac_ext <<_ACEOF
39745 cat confdefs.h
>>conftest.
$ac_ext
39746 cat >>conftest.
$ac_ext <<_ACEOF
39747 /* end confdefs.h. */
39757 rm -f conftest.
$ac_objext
39758 if { (ac_try
="$ac_compile"
39759 case "(($ac_try" in
39760 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39761 *) ac_try_echo=$ac_try;;
39763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39764 (eval "$ac_compile") 2>conftest.er1
39766 grep -v '^ *+' conftest.er1 >conftest.err
39768 cat conftest.err >&5
39769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39770 (exit $ac_status); } && {
39771 test -z "$ac_c_werror_flag" ||
39772 test ! -s conftest.err
39773 } && test -s conftest.$ac_objext; then
39774 { echo "$as_me:$LINENO: result: yes" >&5
39775 echo "${ECHO_T}yes" >&6; }
39776 cat >>confdefs.h <<\_ACEOF
39777 #define HAVE__VSNWPRINTF 1
39781 echo "$as_me: failed program was:" >&5
39782 sed 's/^/| /' conftest.$ac_ext >&5
39784 { echo "$as_me:$LINENO: result: no" >&5
39785 echo "${ECHO_T}no" >&6; }
39788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
39791 if test "$wxUSE_FILE" = "yes"; then
39793 for wx_func in fsync
39795 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39796 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39797 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39798 echo $ECHO_N "(cached) $ECHO_C" >&6
39801 cat >conftest.$ac_ext <<_ACEOF
39805 cat confdefs.h >>conftest.$ac_ext
39806 cat >>conftest.$ac_ext <<_ACEOF
39807 /* end confdefs.h. */
39810 $ac_includes_default
39826 rm -f conftest.$ac_objext conftest$ac_exeext
39827 if { (ac_try="$ac_link"
39828 case "(($ac_try" in
39829 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39830 *) ac_try_echo
=$ac_try;;
39832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39833 (eval "$ac_link") 2>conftest.er1
39835 grep -v '^ *+' conftest.er1
>conftest.err
39837 cat conftest.err
>&5
39838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39839 (exit $ac_status); } && {
39840 test -z "$ac_c_werror_flag" ||
39841 test ! -s conftest.err
39842 } && test -s conftest
$ac_exeext &&
39843 $as_test_x conftest
$ac_exeext; then
39844 eval wx_cv_func_
$wx_func=yes
39846 echo "$as_me: failed program was:" >&5
39847 sed 's/^/| /' conftest.
$ac_ext >&5
39849 eval wx_cv_func_
$wx_func=no
39852 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39853 conftest
$ac_exeext conftest.
$ac_ext
39856 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39857 { echo "$as_me:$LINENO: result: $ac_res" >&5
39858 echo "${ECHO_T}$ac_res" >&6; }
39860 if eval test \
$wx_cv_func_$wx_func = yes
39862 cat >>confdefs.h
<<_ACEOF
39863 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39876 ac_cpp
='$CXXCPP $CPPFLAGS'
39877 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39878 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39879 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39882 for wx_func
in round
39884 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39885 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39886 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39887 echo $ECHO_N "(cached) $ECHO_C" >&6
39890 cat >conftest.
$ac_ext <<_ACEOF
39894 cat confdefs.h
>>conftest.
$ac_ext
39895 cat >>conftest.
$ac_ext <<_ACEOF
39896 /* end confdefs.h. */
39899 $ac_includes_default
39915 rm -f conftest.
$ac_objext conftest
$ac_exeext
39916 if { (ac_try
="$ac_link"
39917 case "(($ac_try" in
39918 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39919 *) ac_try_echo=$ac_try;;
39921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39922 (eval "$ac_link") 2>conftest.er1
39924 grep -v '^ *+' conftest.er1 >conftest.err
39926 cat conftest.err >&5
39927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39928 (exit $ac_status); } && {
39929 test -z "$ac_cxx_werror_flag" ||
39930 test ! -s conftest.err
39931 } && test -s conftest$ac_exeext &&
39932 $as_test_x conftest$ac_exeext; then
39933 eval wx_cv_func_$wx_func=yes
39935 echo "$as_me: failed program was:" >&5
39936 sed 's/^/| /' conftest.$ac_ext >&5
39938 eval wx_cv_func_$wx_func=no
39941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39942 conftest$ac_exeext conftest.$ac_ext
39945 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39946 { echo "$as_me:$LINENO: result: $ac_res" >&5
39947 echo "${ECHO_T}$ac_res" >&6; }
39949 if eval test \$wx_cv_func_$wx_func = yes
39951 cat >>confdefs.h <<_ACEOF
39952 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39963 ac_cpp='$CPP $CPPFLAGS'
39964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39969 if test "$TOOLKIT" != "MSW"; then
39971 if test "$wxUSE_LIBICONV" != "no" ; then
39975 # Check whether --with-libiconv-prefix was given.
39976 if test "${with_libiconv_prefix+set}" = set; then
39977 withval=$with_libiconv_prefix;
39978 for dir in `echo "$withval" | tr : ' '`; do
39979 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
39980 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
39986 { echo "$as_me:$LINENO: checking for iconv" >&5
39987 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
39988 if test "${am_cv_func_iconv+set}" = set; then
39989 echo $ECHO_N "(cached) $ECHO_C" >&6
39992 am_cv_func_iconv="no, consider installing GNU libiconv"
39994 cat >conftest.$ac_ext <<_ACEOF
39997 cat confdefs.h >>conftest.$ac_ext
39998 cat >>conftest.$ac_ext <<_ACEOF
39999 /* end confdefs.h. */
40000 #include <stdlib.h>
40005 iconv_t cd = iconv_open("","");
40006 iconv(cd,NULL,NULL,NULL,NULL);
40012 rm -f conftest.$ac_objext conftest$ac_exeext
40013 if { (ac_try="$ac_link"
40014 case "(($ac_try" in
40015 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40016 *) ac_try_echo
=$ac_try;;
40018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40019 (eval "$ac_link") 2>conftest.er1
40021 grep -v '^ *+' conftest.er1
>conftest.err
40023 cat conftest.err
>&5
40024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40025 (exit $ac_status); } && {
40026 test -z "$ac_c_werror_flag" ||
40027 test ! -s conftest.err
40028 } && test -s conftest
$ac_exeext &&
40029 $as_test_x conftest
$ac_exeext; then
40030 am_cv_func_iconv
=yes
40032 echo "$as_me: failed program was:" >&5
40033 sed 's/^/| /' conftest.
$ac_ext >&5
40038 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40039 conftest
$ac_exeext conftest.
$ac_ext
40040 if test "$am_cv_func_iconv" != yes; then
40041 am_save_LIBS
="$LIBS"
40042 LIBS
="$LIBS -liconv"
40043 cat >conftest.
$ac_ext <<_ACEOF
40046 cat confdefs.h
>>conftest.
$ac_ext
40047 cat >>conftest.
$ac_ext <<_ACEOF
40048 /* end confdefs.h. */
40049 #include <stdlib.h>
40054 iconv_t cd = iconv_open("","");
40055 iconv(cd,NULL,NULL,NULL,NULL);
40061 rm -f conftest.
$ac_objext conftest
$ac_exeext
40062 if { (ac_try
="$ac_link"
40063 case "(($ac_try" in
40064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40065 *) ac_try_echo=$ac_try;;
40067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40068 (eval "$ac_link") 2>conftest.er1
40070 grep -v '^ *+' conftest.er1 >conftest.err
40072 cat conftest.err >&5
40073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40074 (exit $ac_status); } && {
40075 test -z "$ac_c_werror_flag" ||
40076 test ! -s conftest.err
40077 } && test -s conftest$ac_exeext &&
40078 $as_test_x conftest$ac_exeext; then
40079 am_cv_lib_iconv=yes
40080 am_cv_func_iconv=yes
40082 echo "$as_me: failed program was:" >&5
40083 sed 's/^/| /' conftest.$ac_ext >&5
40088 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40089 conftest$ac_exeext conftest.$ac_ext
40090 LIBS="$am_save_LIBS"
40094 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
40095 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
40096 if test "$am_cv_func_iconv" = yes; then
40098 cat >>confdefs.h <<\_ACEOF
40099 #define HAVE_ICONV 1
40102 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
40103 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
40104 if test "${wx_cv_func_iconv_const+set}" = set; then
40105 echo $ECHO_N "(cached) $ECHO_C" >&6
40107 cat >conftest.$ac_ext <<_ACEOF
40110 cat confdefs.h >>conftest.$ac_ext
40111 cat >>conftest.$ac_ext <<_ACEOF
40112 /* end confdefs.h. */
40114 #include <stdlib.h>
40120 #if defined(__STDC__) || defined(__cplusplus)
40121 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40134 rm -f conftest.$ac_objext
40135 if { (ac_try="$ac_compile"
40136 case "(($ac_try" in
40137 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40138 *) ac_try_echo
=$ac_try;;
40140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40141 (eval "$ac_compile") 2>conftest.er1
40143 grep -v '^ *+' conftest.er1
>conftest.err
40145 cat conftest.err
>&5
40146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40147 (exit $ac_status); } && {
40148 test -z "$ac_c_werror_flag" ||
40149 test ! -s conftest.err
40150 } && test -s conftest.
$ac_objext; then
40151 wx_cv_func_iconv_const
="no"
40153 echo "$as_me: failed program was:" >&5
40154 sed 's/^/| /' conftest.
$ac_ext >&5
40156 wx_cv_func_iconv_const
="yes"
40160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40163 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
40164 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
40167 if test "x$wx_cv_func_iconv_const" = "xyes"; then
40168 iconv_const
="const"
40172 cat >>confdefs.h
<<_ACEOF
40173 #define ICONV_CONST $iconv_const
40178 if test "$am_cv_lib_iconv" = yes; then
40183 LIBS
="$LIBICONV $LIBS"
40186 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40188 for ac_func
in sigaction
40190 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40191 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40193 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40194 echo $ECHO_N "(cached) $ECHO_C" >&6
40196 cat >conftest.
$ac_ext <<_ACEOF
40199 cat confdefs.h
>>conftest.
$ac_ext
40200 cat >>conftest.
$ac_ext <<_ACEOF
40201 /* end confdefs.h. */
40202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40204 #define $ac_func innocuous_$ac_func
40206 /* System header to define __stub macros and hopefully few prototypes,
40207 which can conflict with char $ac_func (); below.
40208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40209 <limits.h> exists even on freestanding compilers. */
40212 # include <limits.h>
40214 # include <assert.h>
40219 /* Override any GCC internal prototype to avoid an error.
40220 Use char because int might match the return type of a GCC
40221 builtin and then its argument prototype would still apply. */
40226 /* The GNU C library defines this for functions which it implements
40227 to always fail with ENOSYS. Some functions are actually named
40228 something starting with __ and the normal name is an alias. */
40229 #if defined __stub_$ac_func || defined __stub___$ac_func
40236 return $ac_func ();
40241 rm -f conftest.
$ac_objext conftest
$ac_exeext
40242 if { (ac_try
="$ac_link"
40243 case "(($ac_try" in
40244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40245 *) ac_try_echo=$ac_try;;
40247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40248 (eval "$ac_link") 2>conftest.er1
40250 grep -v '^ *+' conftest.er1 >conftest.err
40252 cat conftest.err >&5
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); } && {
40255 test -z "$ac_c_werror_flag" ||
40256 test ! -s conftest.err
40257 } && test -s conftest$ac_exeext &&
40258 $as_test_x conftest$ac_exeext; then
40259 eval "$as_ac_var=yes"
40261 echo "$as_me: failed program was:" >&5
40262 sed 's/^/| /' conftest.$ac_ext >&5
40264 eval "$as_ac_var=no"
40267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40268 conftest$ac_exeext conftest.$ac_ext
40270 ac_res=`eval echo '${'$as_ac_var'}'`
40271 { echo "$as_me:$LINENO: result: $ac_res" >&5
40272 echo "${ECHO_T}$ac_res" >&6; }
40273 if test `eval echo '${'$as_ac_var'}'` = yes; then
40274 cat >>confdefs.h <<_ACEOF
40275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40282 if test "$ac_cv_func_sigaction" = "no"; then
40283 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
40284 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
40285 wxUSE_ON_FATAL_EXCEPTION=no
40288 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
40289 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
40290 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
40291 if test "${wx_cv_type_sa_handler+set}" = set; then
40292 echo $ECHO_N "(cached) $ECHO_C" >&6
40296 ac_cpp='$CXXCPP $CPPFLAGS'
40297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40301 cat >conftest.$ac_ext <<_ACEOF
40304 cat confdefs.h >>conftest.$ac_ext
40305 cat >>conftest.$ac_ext <<_ACEOF
40306 /* end confdefs.h. */
40307 #include <signal.h>
40312 extern void testSigHandler(int);
40314 struct sigaction sa;
40315 sa.sa_handler = testSigHandler;
40321 rm -f conftest.$ac_objext
40322 if { (ac_try="$ac_compile"
40323 case "(($ac_try" in
40324 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40325 *) ac_try_echo
=$ac_try;;
40327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40328 (eval "$ac_compile") 2>conftest.er1
40330 grep -v '^ *+' conftest.er1
>conftest.err
40332 cat conftest.err
>&5
40333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40334 (exit $ac_status); } && {
40335 test -z "$ac_cxx_werror_flag" ||
40336 test ! -s conftest.err
40337 } && test -s conftest.
$ac_objext; then
40339 wx_cv_type_sa_handler
=int
40342 echo "$as_me: failed program was:" >&5
40343 sed 's/^/| /' conftest.
$ac_ext >&5
40346 wx_cv_type_sa_handler
=void
40350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40352 ac_cpp
='$CPP $CPPFLAGS'
40353 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40354 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40355 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40359 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
40360 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
40362 cat >>confdefs.h
<<_ACEOF
40363 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
40369 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
40370 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
40371 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
40372 if test "${wx_cv_func_backtrace+set}" = set; then
40373 echo $ECHO_N "(cached) $ECHO_C" >&6
40377 ac_cpp
='$CXXCPP $CPPFLAGS'
40378 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40379 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40380 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40382 cat >conftest.
$ac_ext <<_ACEOF
40385 cat confdefs.h
>>conftest.
$ac_ext
40386 cat >>conftest.
$ac_ext <<_ACEOF
40387 /* end confdefs.h. */
40388 #include <execinfo.h>
40396 backtrace(trace, 1);
40397 messages = backtrace_symbols(trace, 1);
40403 rm -f conftest.
$ac_objext
40404 if { (ac_try
="$ac_compile"
40405 case "(($ac_try" in
40406 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40407 *) ac_try_echo=$ac_try;;
40409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40410 (eval "$ac_compile") 2>conftest.er1
40412 grep -v '^ *+' conftest.er1 >conftest.err
40414 cat conftest.err >&5
40415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40416 (exit $ac_status); } && {
40417 test -z "$ac_cxx_werror_flag" ||
40418 test ! -s conftest.err
40419 } && test -s conftest.$ac_objext; then
40420 wx_cv_func_backtrace=yes
40422 echo "$as_me: failed program was:" >&5
40423 sed 's/^/| /' conftest.$ac_ext >&5
40425 wx_cv_func_backtrace=no
40429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40431 ac_cpp='$CPP $CPPFLAGS'
40432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40439 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
40440 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
40443 if test "$wx_cv_func_backtrace" = "no"; then
40444 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
40445 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
40446 wxUSE_STACKWALKER=no
40448 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
40449 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
40450 if test "${wx_cv_func_cxa_demangle+set}" = set; then
40451 echo $ECHO_N "(cached) $ECHO_C" >&6
40455 ac_cpp='$CXXCPP $CPPFLAGS'
40456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40460 cat >conftest.$ac_ext <<_ACEOF
40463 cat confdefs.h >>conftest.$ac_ext
40464 cat >>conftest.$ac_ext <<_ACEOF
40465 /* end confdefs.h. */
40466 #include <cxxabi.h>
40472 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
40478 rm -f conftest.$ac_objext conftest$ac_exeext
40479 if { (ac_try="$ac_link"
40480 case "(($ac_try" in
40481 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40482 *) ac_try_echo
=$ac_try;;
40484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40485 (eval "$ac_link") 2>conftest.er1
40487 grep -v '^ *+' conftest.er1
>conftest.err
40489 cat conftest.err
>&5
40490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40491 (exit $ac_status); } && {
40492 test -z "$ac_cxx_werror_flag" ||
40493 test ! -s conftest.err
40494 } && test -s conftest
$ac_exeext &&
40495 $as_test_x conftest
$ac_exeext; then
40496 wx_cv_func_cxa_demangle
=yes
40498 echo "$as_me: failed program was:" >&5
40499 sed 's/^/| /' conftest.
$ac_ext >&5
40501 wx_cv_func_cxa_demangle
=no
40505 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40506 conftest
$ac_exeext conftest.
$ac_ext
40508 ac_cpp
='$CPP $CPPFLAGS'
40509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40516 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
40517 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
40519 if test "$wx_cv_func_cxa_demangle" = "yes"; then
40520 cat >>confdefs.h
<<\_ACEOF
40521 #define HAVE_CXA_DEMANGLE 1
40528 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
40529 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
40530 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
40531 wxUSE_STACKWALKER
=no
40537 for ac_func
in mkstemp mktemp
40539 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40540 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40542 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40543 echo $ECHO_N "(cached) $ECHO_C" >&6
40545 cat >conftest.
$ac_ext <<_ACEOF
40548 cat confdefs.h
>>conftest.
$ac_ext
40549 cat >>conftest.
$ac_ext <<_ACEOF
40550 /* end confdefs.h. */
40551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40553 #define $ac_func innocuous_$ac_func
40555 /* System header to define __stub macros and hopefully few prototypes,
40556 which can conflict with char $ac_func (); below.
40557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40558 <limits.h> exists even on freestanding compilers. */
40561 # include <limits.h>
40563 # include <assert.h>
40568 /* Override any GCC internal prototype to avoid an error.
40569 Use char because int might match the return type of a GCC
40570 builtin and then its argument prototype would still apply. */
40575 /* The GNU C library defines this for functions which it implements
40576 to always fail with ENOSYS. Some functions are actually named
40577 something starting with __ and the normal name is an alias. */
40578 #if defined __stub_$ac_func || defined __stub___$ac_func
40585 return $ac_func ();
40590 rm -f conftest.
$ac_objext conftest
$ac_exeext
40591 if { (ac_try
="$ac_link"
40592 case "(($ac_try" in
40593 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40594 *) ac_try_echo=$ac_try;;
40596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40597 (eval "$ac_link") 2>conftest.er1
40599 grep -v '^ *+' conftest.er1 >conftest.err
40601 cat conftest.err >&5
40602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40603 (exit $ac_status); } && {
40604 test -z "$ac_c_werror_flag" ||
40605 test ! -s conftest.err
40606 } && test -s conftest$ac_exeext &&
40607 $as_test_x conftest$ac_exeext; then
40608 eval "$as_ac_var=yes"
40610 echo "$as_me: failed program was:" >&5
40611 sed 's/^/| /' conftest.$ac_ext >&5
40613 eval "$as_ac_var=no"
40616 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40617 conftest$ac_exeext conftest.$ac_ext
40619 ac_res=`eval echo '${'$as_ac_var'}'`
40620 { echo "$as_me:$LINENO: result: $ac_res" >&5
40621 echo "${ECHO_T}$ac_res" >&6; }
40622 if test `eval echo '${'$as_ac_var'}'` = yes; then
40623 cat >>confdefs.h <<_ACEOF
40624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40631 { echo "$as_me:$LINENO: checking for statfs" >&5
40632 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
40633 if test "${wx_cv_func_statfs+set}" = set; then
40634 echo $ECHO_N "(cached) $ECHO_C" >&6
40636 cat >conftest.$ac_ext <<_ACEOF
40639 cat confdefs.h >>conftest.$ac_ext
40640 cat >>conftest.$ac_ext <<_ACEOF
40641 /* end confdefs.h. */
40643 #if defined(__BSD__)
40644 #include <sys/param.h>
40645 #include <sys/mount.h>
40647 #include <sys/vfs.h>
40665 rm -f conftest.$ac_objext
40666 if { (ac_try="$ac_compile"
40667 case "(($ac_try" in
40668 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40669 *) ac_try_echo
=$ac_try;;
40671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40672 (eval "$ac_compile") 2>conftest.er1
40674 grep -v '^ *+' conftest.er1
>conftest.err
40676 cat conftest.err
>&5
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); } && {
40679 test -z "$ac_c_werror_flag" ||
40680 test ! -s conftest.err
40681 } && test -s conftest.
$ac_objext; then
40682 wx_cv_func_statfs
=yes
40684 echo "$as_me: failed program was:" >&5
40685 sed 's/^/| /' conftest.
$ac_ext >&5
40687 wx_cv_func_statfs
=no
40691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40694 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
40695 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
40697 if test "$wx_cv_func_statfs" = "yes"; then
40698 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
40699 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
40700 if test "${wx_cv_func_statfs_decl+set}" = set; then
40701 echo $ECHO_N "(cached) $ECHO_C" >&6
40704 ac_cpp
='$CXXCPP $CPPFLAGS'
40705 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40706 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40707 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40709 cat >conftest.
$ac_ext <<_ACEOF
40712 cat confdefs.h
>>conftest.
$ac_ext
40713 cat >>conftest.
$ac_ext <<_ACEOF
40714 /* end confdefs.h. */
40716 #if defined(__BSD__)
40717 #include <sys/param.h>
40718 #include <sys/mount.h>
40720 #include <sys/vfs.h>
40734 rm -f conftest.
$ac_objext
40735 if { (ac_try
="$ac_compile"
40736 case "(($ac_try" in
40737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40738 *) ac_try_echo=$ac_try;;
40740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40741 (eval "$ac_compile") 2>conftest.er1
40743 grep -v '^ *+' conftest.er1 >conftest.err
40745 cat conftest.err >&5
40746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40747 (exit $ac_status); } && {
40748 test -z "$ac_cxx_werror_flag" ||
40749 test ! -s conftest.err
40750 } && test -s conftest.$ac_objext; then
40751 wx_cv_func_statfs_decl=yes
40753 echo "$as_me: failed program was:" >&5
40754 sed 's/^/| /' conftest.$ac_ext >&5
40756 wx_cv_func_statfs_decl=no
40760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40762 ac_cpp='$CPP $CPPFLAGS'
40763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40769 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
40770 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
40772 if test "$wx_cv_func_statfs_decl" = "yes"; then
40773 cat >>confdefs.h <<\_ACEOF
40774 #define HAVE_STATFS_DECL 1
40779 wx_cv_type_statvfs_t="struct statfs"
40780 cat >>confdefs.h <<\_ACEOF
40781 #define HAVE_STATFS 1
40785 { echo "$as_me:$LINENO: checking for statvfs" >&5
40786 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
40787 if test "${wx_cv_func_statvfs+set}" = set; then
40788 echo $ECHO_N "(cached) $ECHO_C" >&6
40790 cat >conftest.$ac_ext <<_ACEOF
40793 cat confdefs.h >>conftest.$ac_ext
40794 cat >>conftest.$ac_ext <<_ACEOF
40795 /* end confdefs.h. */
40797 #include <stddef.h>
40798 #include <sys/statvfs.h>
40804 statvfs("/", NULL);
40810 rm -f conftest.$ac_objext
40811 if { (ac_try="$ac_compile"
40812 case "(($ac_try" in
40813 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40814 *) ac_try_echo
=$ac_try;;
40816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40817 (eval "$ac_compile") 2>conftest.er1
40819 grep -v '^ *+' conftest.er1
>conftest.err
40821 cat conftest.err
>&5
40822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40823 (exit $ac_status); } && {
40824 test -z "$ac_c_werror_flag" ||
40825 test ! -s conftest.err
40826 } && test -s conftest.
$ac_objext; then
40827 wx_cv_func_statvfs
=yes
40829 echo "$as_me: failed program was:" >&5
40830 sed 's/^/| /' conftest.
$ac_ext >&5
40832 wx_cv_func_statvfs
=no
40836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40839 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
40840 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
40842 if test "$wx_cv_func_statvfs" = "yes"; then
40843 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
40844 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
40845 if test "${wx_cv_type_statvfs_t+set}" = set; then
40846 echo $ECHO_N "(cached) $ECHO_C" >&6
40849 ac_cpp
='$CXXCPP $CPPFLAGS'
40850 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40851 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40852 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40854 cat >conftest.
$ac_ext <<_ACEOF
40857 cat confdefs.h
>>conftest.
$ac_ext
40858 cat >>conftest.
$ac_ext <<_ACEOF
40859 /* end confdefs.h. */
40861 #include <sys/statvfs.h>
40878 rm -f conftest.
$ac_objext
40879 if { (ac_try
="$ac_compile"
40880 case "(($ac_try" in
40881 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40882 *) ac_try_echo=$ac_try;;
40884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40885 (eval "$ac_compile") 2>conftest.er1
40887 grep -v '^ *+' conftest.er1 >conftest.err
40889 cat conftest.err >&5
40890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40891 (exit $ac_status); } && {
40892 test -z "$ac_cxx_werror_flag" ||
40893 test ! -s conftest.err
40894 } && test -s conftest.$ac_objext; then
40895 wx_cv_type_statvfs_t=statvfs_t
40897 echo "$as_me: failed program was:" >&5
40898 sed 's/^/| /' conftest.$ac_ext >&5
40901 cat >conftest.$ac_ext <<_ACEOF
40904 cat confdefs.h >>conftest.$ac_ext
40905 cat >>conftest.$ac_ext <<_ACEOF
40906 /* end confdefs.h. */
40908 #include <sys/statvfs.h>
40925 rm -f conftest.$ac_objext
40926 if { (ac_try="$ac_compile"
40927 case "(($ac_try" in
40928 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40929 *) ac_try_echo
=$ac_try;;
40931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40932 (eval "$ac_compile") 2>conftest.er1
40934 grep -v '^ *+' conftest.er1
>conftest.err
40936 cat conftest.err
>&5
40937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40938 (exit $ac_status); } && {
40939 test -z "$ac_cxx_werror_flag" ||
40940 test ! -s conftest.err
40941 } && test -s conftest.
$ac_objext; then
40942 wx_cv_type_statvfs_t
="struct statvfs"
40944 echo "$as_me: failed program was:" >&5
40945 sed 's/^/| /' conftest.
$ac_ext >&5
40947 wx_cv_type_statvfs_t
="unknown"
40951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40958 ac_cpp
='$CPP $CPPFLAGS'
40959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40965 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
40966 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
40968 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40969 cat >>confdefs.h
<<\_ACEOF
40970 #define HAVE_STATVFS 1
40975 wx_cv_type_statvfs_t
="unknown"
40979 if test "$wx_cv_type_statvfs_t" != "unknown"; then
40980 cat >>confdefs.h
<<_ACEOF
40981 #define WX_STATFS_T $wx_cv_type_statvfs_t
40985 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
40986 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
40989 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
40992 for ac_func
in fcntl flock
40994 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40995 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40997 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40998 echo $ECHO_N "(cached) $ECHO_C" >&6
41000 cat >conftest.
$ac_ext <<_ACEOF
41003 cat confdefs.h
>>conftest.
$ac_ext
41004 cat >>conftest.
$ac_ext <<_ACEOF
41005 /* end confdefs.h. */
41006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41008 #define $ac_func innocuous_$ac_func
41010 /* System header to define __stub macros and hopefully few prototypes,
41011 which can conflict with char $ac_func (); below.
41012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41013 <limits.h> exists even on freestanding compilers. */
41016 # include <limits.h>
41018 # include <assert.h>
41023 /* Override any GCC internal prototype to avoid an error.
41024 Use char because int might match the return type of a GCC
41025 builtin and then its argument prototype would still apply. */
41030 /* The GNU C library defines this for functions which it implements
41031 to always fail with ENOSYS. Some functions are actually named
41032 something starting with __ and the normal name is an alias. */
41033 #if defined __stub_$ac_func || defined __stub___$ac_func
41040 return $ac_func ();
41045 rm -f conftest.
$ac_objext conftest
$ac_exeext
41046 if { (ac_try
="$ac_link"
41047 case "(($ac_try" in
41048 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41049 *) ac_try_echo=$ac_try;;
41051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41052 (eval "$ac_link") 2>conftest.er1
41054 grep -v '^ *+' conftest.er1 >conftest.err
41056 cat conftest.err >&5
41057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41058 (exit $ac_status); } && {
41059 test -z "$ac_c_werror_flag" ||
41060 test ! -s conftest.err
41061 } && test -s conftest$ac_exeext &&
41062 $as_test_x conftest$ac_exeext; then
41063 eval "$as_ac_var=yes"
41065 echo "$as_me: failed program was:" >&5
41066 sed 's/^/| /' conftest.$ac_ext >&5
41068 eval "$as_ac_var=no"
41071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41072 conftest$ac_exeext conftest.$ac_ext
41074 ac_res=`eval echo '${'$as_ac_var'}'`
41075 { echo "$as_me:$LINENO: result: $ac_res" >&5
41076 echo "${ECHO_T}$ac_res" >&6; }
41077 if test `eval echo '${'$as_ac_var'}'` = yes; then
41078 cat >>confdefs.h <<_ACEOF
41079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41086 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
41087 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
41088 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
41089 wxUSE_SNGLINST_CHECKER=no
41095 for ac_func in setenv putenv
41097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41098 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41100 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41101 echo $ECHO_N "(cached) $ECHO_C" >&6
41103 cat >conftest.$ac_ext <<_ACEOF
41106 cat confdefs.h >>conftest.$ac_ext
41107 cat >>conftest.$ac_ext <<_ACEOF
41108 /* end confdefs.h. */
41109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41111 #define $ac_func innocuous_$ac_func
41113 /* System header to define __stub macros and hopefully few prototypes,
41114 which can conflict with char $ac_func (); below.
41115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41116 <limits.h> exists even on freestanding compilers. */
41119 # include <limits.h>
41121 # include <assert.h>
41126 /* Override any GCC internal prototype to avoid an error.
41127 Use char because int might match the return type of a GCC
41128 builtin and then its argument prototype would still apply. */
41133 /* The GNU C library defines this for functions which it implements
41134 to always fail with ENOSYS. Some functions are actually named
41135 something starting with __ and the normal name is an alias. */
41136 #if defined __stub_$ac_func || defined __stub___$ac_func
41143 return $ac_func ();
41148 rm -f conftest.$ac_objext conftest$ac_exeext
41149 if { (ac_try="$ac_link"
41150 case "(($ac_try" in
41151 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41152 *) ac_try_echo
=$ac_try;;
41154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41155 (eval "$ac_link") 2>conftest.er1
41157 grep -v '^ *+' conftest.er1
>conftest.err
41159 cat conftest.err
>&5
41160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41161 (exit $ac_status); } && {
41162 test -z "$ac_c_werror_flag" ||
41163 test ! -s conftest.err
41164 } && test -s conftest
$ac_exeext &&
41165 $as_test_x conftest
$ac_exeext; then
41166 eval "$as_ac_var=yes"
41168 echo "$as_me: failed program was:" >&5
41169 sed 's/^/| /' conftest.
$ac_ext >&5
41171 eval "$as_ac_var=no"
41174 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41175 conftest
$ac_exeext conftest.
$ac_ext
41177 ac_res
=`eval echo '${'$as_ac_var'}'`
41178 { echo "$as_me:$LINENO: result: $ac_res" >&5
41179 echo "${ECHO_T}$ac_res" >&6; }
41180 if test `eval echo '${'$as_ac_var'}'` = yes; then
41181 cat >>confdefs.h
<<_ACEOF
41182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41188 if test "$ac_cv_func_setenv" = "yes"; then
41190 for ac_func
in unsetenv
41192 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41193 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41195 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41196 echo $ECHO_N "(cached) $ECHO_C" >&6
41198 cat >conftest.
$ac_ext <<_ACEOF
41201 cat confdefs.h
>>conftest.
$ac_ext
41202 cat >>conftest.
$ac_ext <<_ACEOF
41203 /* end confdefs.h. */
41204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41206 #define $ac_func innocuous_$ac_func
41208 /* System header to define __stub macros and hopefully few prototypes,
41209 which can conflict with char $ac_func (); below.
41210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41211 <limits.h> exists even on freestanding compilers. */
41214 # include <limits.h>
41216 # include <assert.h>
41221 /* Override any GCC internal prototype to avoid an error.
41222 Use char because int might match the return type of a GCC
41223 builtin and then its argument prototype would still apply. */
41228 /* The GNU C library defines this for functions which it implements
41229 to always fail with ENOSYS. Some functions are actually named
41230 something starting with __ and the normal name is an alias. */
41231 #if defined __stub_$ac_func || defined __stub___$ac_func
41238 return $ac_func ();
41243 rm -f conftest.
$ac_objext conftest
$ac_exeext
41244 if { (ac_try
="$ac_link"
41245 case "(($ac_try" in
41246 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41247 *) ac_try_echo=$ac_try;;
41249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41250 (eval "$ac_link") 2>conftest.er1
41252 grep -v '^ *+' conftest.er1 >conftest.err
41254 cat conftest.err >&5
41255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41256 (exit $ac_status); } && {
41257 test -z "$ac_c_werror_flag" ||
41258 test ! -s conftest.err
41259 } && test -s conftest$ac_exeext &&
41260 $as_test_x conftest$ac_exeext; then
41261 eval "$as_ac_var=yes"
41263 echo "$as_me: failed program was:" >&5
41264 sed 's/^/| /' conftest.$ac_ext >&5
41266 eval "$as_ac_var=no"
41269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41270 conftest$ac_exeext conftest.$ac_ext
41272 ac_res=`eval echo '${'$as_ac_var'}'`
41273 { echo "$as_me:$LINENO: result: $ac_res" >&5
41274 echo "${ECHO_T}$ac_res" >&6; }
41275 if test `eval echo '${'$as_ac_var'}'` = yes; then
41276 cat >>confdefs.h <<_ACEOF
41277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41285 HAVE_SOME_SLEEP_FUNC=0
41286 if test "$USE_BEOS" = 1; then
41287 cat >>confdefs.h <<\_ACEOF
41288 #define HAVE_SLEEP 1
41291 HAVE_SOME_SLEEP_FUNC=1
41294 if test "$USE_DARWIN" = 1; then
41295 cat >>confdefs.h <<\_ACEOF
41296 #define HAVE_USLEEP 1
41299 HAVE_SOME_SLEEP_FUNC=1
41302 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
41305 for ac_func in nanosleep
41307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41308 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41310 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41311 echo $ECHO_N "(cached) $ECHO_C" >&6
41313 cat >conftest.$ac_ext <<_ACEOF
41316 cat confdefs.h >>conftest.$ac_ext
41317 cat >>conftest.$ac_ext <<_ACEOF
41318 /* end confdefs.h. */
41319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41321 #define $ac_func innocuous_$ac_func
41323 /* System header to define __stub macros and hopefully few prototypes,
41324 which can conflict with char $ac_func (); below.
41325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41326 <limits.h> exists even on freestanding compilers. */
41329 # include <limits.h>
41331 # include <assert.h>
41336 /* Override any GCC internal prototype to avoid an error.
41337 Use char because int might match the return type of a GCC
41338 builtin and then its argument prototype would still apply. */
41343 /* The GNU C library defines this for functions which it implements
41344 to always fail with ENOSYS. Some functions are actually named
41345 something starting with __ and the normal name is an alias. */
41346 #if defined __stub_$ac_func || defined __stub___$ac_func
41353 return $ac_func ();
41358 rm -f conftest.$ac_objext conftest$ac_exeext
41359 if { (ac_try="$ac_link"
41360 case "(($ac_try" in
41361 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41362 *) ac_try_echo
=$ac_try;;
41364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41365 (eval "$ac_link") 2>conftest.er1
41367 grep -v '^ *+' conftest.er1
>conftest.err
41369 cat conftest.err
>&5
41370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41371 (exit $ac_status); } && {
41372 test -z "$ac_c_werror_flag" ||
41373 test ! -s conftest.err
41374 } && test -s conftest
$ac_exeext &&
41375 $as_test_x conftest
$ac_exeext; then
41376 eval "$as_ac_var=yes"
41378 echo "$as_me: failed program was:" >&5
41379 sed 's/^/| /' conftest.
$ac_ext >&5
41381 eval "$as_ac_var=no"
41384 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41385 conftest
$ac_exeext conftest.
$ac_ext
41387 ac_res
=`eval echo '${'$as_ac_var'}'`
41388 { echo "$as_me:$LINENO: result: $ac_res" >&5
41389 echo "${ECHO_T}$ac_res" >&6; }
41390 if test `eval echo '${'$as_ac_var'}'` = yes; then
41391 cat >>confdefs.h
<<_ACEOF
41392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41394 cat >>confdefs.h
<<\_ACEOF
41395 #define HAVE_NANOSLEEP 1
41400 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
41401 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
41402 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
41403 echo $ECHO_N "(cached) $ECHO_C" >&6
41405 ac_check_lib_save_LIBS
=$LIBS
41406 LIBS
="-lposix4 $LIBS"
41407 cat >conftest.
$ac_ext <<_ACEOF
41410 cat confdefs.h
>>conftest.
$ac_ext
41411 cat >>conftest.
$ac_ext <<_ACEOF
41412 /* end confdefs.h. */
41414 /* Override any GCC internal prototype to avoid an error.
41415 Use char because int might match the return type of a GCC
41416 builtin and then its argument prototype would still apply. */
41424 return nanosleep ();
41429 rm -f conftest.
$ac_objext conftest
$ac_exeext
41430 if { (ac_try
="$ac_link"
41431 case "(($ac_try" in
41432 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41433 *) ac_try_echo=$ac_try;;
41435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41436 (eval "$ac_link") 2>conftest.er1
41438 grep -v '^ *+' conftest.er1 >conftest.err
41440 cat conftest.err >&5
41441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41442 (exit $ac_status); } && {
41443 test -z "$ac_c_werror_flag" ||
41444 test ! -s conftest.err
41445 } && test -s conftest$ac_exeext &&
41446 $as_test_x conftest$ac_exeext; then
41447 ac_cv_lib_posix4_nanosleep=yes
41449 echo "$as_me: failed program was:" >&5
41450 sed 's/^/| /' conftest.$ac_ext >&5
41452 ac_cv_lib_posix4_nanosleep=no
41455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41456 conftest$ac_exeext conftest.$ac_ext
41457 LIBS=$ac_check_lib_save_LIBS
41459 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
41460 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
41461 if test $ac_cv_lib_posix4_nanosleep = yes; then
41463 cat >>confdefs.h <<\_ACEOF
41464 #define HAVE_NANOSLEEP 1
41467 POSIX4_LINK=" -lposix4"
41472 for wx_func in usleep
41474 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41475 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41476 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41477 echo $ECHO_N "(cached) $ECHO_C" >&6
41480 cat >conftest.$ac_ext <<_ACEOF
41484 cat confdefs.h >>conftest.$ac_ext
41485 cat >>conftest.$ac_ext <<_ACEOF
41486 /* end confdefs.h. */
41489 $ac_includes_default
41505 rm -f conftest.$ac_objext conftest$ac_exeext
41506 if { (ac_try="$ac_link"
41507 case "(($ac_try" in
41508 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41509 *) ac_try_echo
=$ac_try;;
41511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41512 (eval "$ac_link") 2>conftest.er1
41514 grep -v '^ *+' conftest.er1
>conftest.err
41516 cat conftest.err
>&5
41517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41518 (exit $ac_status); } && {
41519 test -z "$ac_c_werror_flag" ||
41520 test ! -s conftest.err
41521 } && test -s conftest
$ac_exeext &&
41522 $as_test_x conftest
$ac_exeext; then
41523 eval wx_cv_func_
$wx_func=yes
41525 echo "$as_me: failed program was:" >&5
41526 sed 's/^/| /' conftest.
$ac_ext >&5
41528 eval wx_cv_func_
$wx_func=no
41531 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41532 conftest
$ac_exeext conftest.
$ac_ext
41535 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41536 { echo "$as_me:$LINENO: result: $ac_res" >&5
41537 echo "${ECHO_T}$ac_res" >&6; }
41539 if eval test \
$wx_cv_func_$wx_func = yes
41541 cat >>confdefs.h
<<_ACEOF
41542 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41548 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
41549 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
41566 for wx_func
in uname
41568 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41569 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41570 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41571 echo $ECHO_N "(cached) $ECHO_C" >&6
41574 cat >conftest.
$ac_ext <<_ACEOF
41578 cat confdefs.h
>>conftest.
$ac_ext
41579 cat >>conftest.
$ac_ext <<_ACEOF
41580 /* end confdefs.h. */
41582 #include <sys/utsname.h>
41583 $ac_includes_default
41599 rm -f conftest.
$ac_objext conftest
$ac_exeext
41600 if { (ac_try
="$ac_link"
41601 case "(($ac_try" in
41602 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41603 *) ac_try_echo=$ac_try;;
41605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41606 (eval "$ac_link") 2>conftest.er1
41608 grep -v '^ *+' conftest.er1 >conftest.err
41610 cat conftest.err >&5
41611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41612 (exit $ac_status); } && {
41613 test -z "$ac_c_werror_flag" ||
41614 test ! -s conftest.err
41615 } && test -s conftest$ac_exeext &&
41616 $as_test_x conftest$ac_exeext; then
41617 eval wx_cv_func_$wx_func=yes
41619 echo "$as_me: failed program was:" >&5
41620 sed 's/^/| /' conftest.$ac_ext >&5
41622 eval wx_cv_func_$wx_func=no
41625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41626 conftest$ac_exeext conftest.$ac_ext
41629 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41630 { echo "$as_me:$LINENO: result: $ac_res" >&5
41631 echo "${ECHO_T}$ac_res" >&6; }
41633 if eval test \$wx_cv_func_$wx_func = yes
41635 cat >>confdefs.h <<_ACEOF
41636 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41646 if test "$wx_cv_func_uname" != yes; then
41648 for wx_func in gethostname
41650 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41651 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41652 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41653 echo $ECHO_N "(cached) $ECHO_C" >&6
41656 cat >conftest.$ac_ext <<_ACEOF
41660 cat confdefs.h >>conftest.$ac_ext
41661 cat >>conftest.$ac_ext <<_ACEOF
41662 /* end confdefs.h. */
41665 $ac_includes_default
41681 rm -f conftest.$ac_objext conftest$ac_exeext
41682 if { (ac_try="$ac_link"
41683 case "(($ac_try" in
41684 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41685 *) ac_try_echo
=$ac_try;;
41687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41688 (eval "$ac_link") 2>conftest.er1
41690 grep -v '^ *+' conftest.er1
>conftest.err
41692 cat conftest.err
>&5
41693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41694 (exit $ac_status); } && {
41695 test -z "$ac_c_werror_flag" ||
41696 test ! -s conftest.err
41697 } && test -s conftest
$ac_exeext &&
41698 $as_test_x conftest
$ac_exeext; then
41699 eval wx_cv_func_
$wx_func=yes
41701 echo "$as_me: failed program was:" >&5
41702 sed 's/^/| /' conftest.
$ac_ext >&5
41704 eval wx_cv_func_
$wx_func=no
41707 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41708 conftest
$ac_exeext conftest.
$ac_ext
41711 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
41712 { echo "$as_me:$LINENO: result: $ac_res" >&5
41713 echo "${ECHO_T}$ac_res" >&6; }
41715 if eval test \
$wx_cv_func_$wx_func = yes
41717 cat >>confdefs.h
<<_ACEOF
41718 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41731 for wx_func
in strtok_r
41733 { echo "$as_me:$LINENO: checking for $wx_func" >&5
41734 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
41735 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
41736 echo $ECHO_N "(cached) $ECHO_C" >&6
41739 cat >conftest.
$ac_ext <<_ACEOF
41743 cat confdefs.h
>>conftest.
$ac_ext
41744 cat >>conftest.
$ac_ext <<_ACEOF
41745 /* end confdefs.h. */
41748 $ac_includes_default
41764 rm -f conftest.
$ac_objext conftest
$ac_exeext
41765 if { (ac_try
="$ac_link"
41766 case "(($ac_try" in
41767 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41768 *) ac_try_echo=$ac_try;;
41770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41771 (eval "$ac_link") 2>conftest.er1
41773 grep -v '^ *+' conftest.er1 >conftest.err
41775 cat conftest.err >&5
41776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41777 (exit $ac_status); } && {
41778 test -z "$ac_c_werror_flag" ||
41779 test ! -s conftest.err
41780 } && test -s conftest$ac_exeext &&
41781 $as_test_x conftest$ac_exeext; then
41782 eval wx_cv_func_$wx_func=yes
41784 echo "$as_me: failed program was:" >&5
41785 sed 's/^/| /' conftest.$ac_ext >&5
41787 eval wx_cv_func_$wx_func=no
41790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41791 conftest$ac_exeext conftest.$ac_ext
41794 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
41795 { echo "$as_me:$LINENO: result: $ac_res" >&5
41796 echo "${ECHO_T}$ac_res" >&6; }
41798 if eval test \$wx_cv_func_$wx_func = yes
41800 cat >>confdefs.h <<_ACEOF
41801 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
41814 for ac_func in inet_addr
41816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41817 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41819 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41820 echo $ECHO_N "(cached) $ECHO_C" >&6
41822 cat >conftest.$ac_ext <<_ACEOF
41825 cat confdefs.h >>conftest.$ac_ext
41826 cat >>conftest.$ac_ext <<_ACEOF
41827 /* end confdefs.h. */
41828 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41829 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41830 #define $ac_func innocuous_$ac_func
41832 /* System header to define __stub macros and hopefully few prototypes,
41833 which can conflict with char $ac_func (); below.
41834 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41835 <limits.h> exists even on freestanding compilers. */
41838 # include <limits.h>
41840 # include <assert.h>
41845 /* Override any GCC internal prototype to avoid an error.
41846 Use char because int might match the return type of a GCC
41847 builtin and then its argument prototype would still apply. */
41852 /* The GNU C library defines this for functions which it implements
41853 to always fail with ENOSYS. Some functions are actually named
41854 something starting with __ and the normal name is an alias. */
41855 #if defined __stub_$ac_func || defined __stub___$ac_func
41862 return $ac_func ();
41867 rm -f conftest.$ac_objext conftest$ac_exeext
41868 if { (ac_try="$ac_link"
41869 case "(($ac_try" in
41870 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41871 *) ac_try_echo
=$ac_try;;
41873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41874 (eval "$ac_link") 2>conftest.er1
41876 grep -v '^ *+' conftest.er1
>conftest.err
41878 cat conftest.err
>&5
41879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41880 (exit $ac_status); } && {
41881 test -z "$ac_c_werror_flag" ||
41882 test ! -s conftest.err
41883 } && test -s conftest
$ac_exeext &&
41884 $as_test_x conftest
$ac_exeext; then
41885 eval "$as_ac_var=yes"
41887 echo "$as_me: failed program was:" >&5
41888 sed 's/^/| /' conftest.
$ac_ext >&5
41890 eval "$as_ac_var=no"
41893 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41894 conftest
$ac_exeext conftest.
$ac_ext
41896 ac_res
=`eval echo '${'$as_ac_var'}'`
41897 { echo "$as_me:$LINENO: result: $ac_res" >&5
41898 echo "${ECHO_T}$ac_res" >&6; }
41899 if test `eval echo '${'$as_ac_var'}'` = yes; then
41900 cat >>confdefs.h
<<_ACEOF
41901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41903 cat >>confdefs.h
<<\_ACEOF
41904 #define HAVE_INET_ADDR 1
41909 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
41910 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
41911 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
41912 echo $ECHO_N "(cached) $ECHO_C" >&6
41914 ac_check_lib_save_LIBS
=$LIBS
41916 cat >conftest.
$ac_ext <<_ACEOF
41919 cat confdefs.h
>>conftest.
$ac_ext
41920 cat >>conftest.
$ac_ext <<_ACEOF
41921 /* end confdefs.h. */
41923 /* Override any GCC internal prototype to avoid an error.
41924 Use char because int might match the return type of a GCC
41925 builtin and then its argument prototype would still apply. */
41933 return inet_addr ();
41938 rm -f conftest.
$ac_objext conftest
$ac_exeext
41939 if { (ac_try
="$ac_link"
41940 case "(($ac_try" in
41941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41942 *) ac_try_echo=$ac_try;;
41944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41945 (eval "$ac_link") 2>conftest.er1
41947 grep -v '^ *+' conftest.er1 >conftest.err
41949 cat conftest.err >&5
41950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41951 (exit $ac_status); } && {
41952 test -z "$ac_c_werror_flag" ||
41953 test ! -s conftest.err
41954 } && test -s conftest$ac_exeext &&
41955 $as_test_x conftest$ac_exeext; then
41956 ac_cv_lib_nsl_inet_addr=yes
41958 echo "$as_me: failed program was:" >&5
41959 sed 's/^/| /' conftest.$ac_ext >&5
41961 ac_cv_lib_nsl_inet_addr=no
41964 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41965 conftest$ac_exeext conftest.$ac_ext
41966 LIBS=$ac_check_lib_save_LIBS
41968 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
41969 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
41970 if test $ac_cv_lib_nsl_inet_addr = yes; then
41974 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
41975 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
41976 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
41977 echo $ECHO_N "(cached) $ECHO_C" >&6
41979 ac_check_lib_save_LIBS=$LIBS
41980 LIBS="-lresolv $LIBS"
41981 cat >conftest.$ac_ext <<_ACEOF
41984 cat confdefs.h >>conftest.$ac_ext
41985 cat >>conftest.$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41988 /* Override any GCC internal prototype to avoid an error.
41989 Use char because int might match the return type of a GCC
41990 builtin and then its argument prototype would still apply. */
41998 return inet_addr ();
42003 rm -f conftest.$ac_objext conftest$ac_exeext
42004 if { (ac_try="$ac_link"
42005 case "(($ac_try" in
42006 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42007 *) ac_try_echo
=$ac_try;;
42009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42010 (eval "$ac_link") 2>conftest.er1
42012 grep -v '^ *+' conftest.er1
>conftest.err
42014 cat conftest.err
>&5
42015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42016 (exit $ac_status); } && {
42017 test -z "$ac_c_werror_flag" ||
42018 test ! -s conftest.err
42019 } && test -s conftest
$ac_exeext &&
42020 $as_test_x conftest
$ac_exeext; then
42021 ac_cv_lib_resolv_inet_addr
=yes
42023 echo "$as_me: failed program was:" >&5
42024 sed 's/^/| /' conftest.
$ac_ext >&5
42026 ac_cv_lib_resolv_inet_addr
=no
42029 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42030 conftest
$ac_exeext conftest.
$ac_ext
42031 LIBS
=$ac_check_lib_save_LIBS
42033 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
42034 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
42035 if test $ac_cv_lib_resolv_inet_addr = yes; then
42039 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
42040 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
42041 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
42042 echo $ECHO_N "(cached) $ECHO_C" >&6
42044 ac_check_lib_save_LIBS
=$LIBS
42045 LIBS
="-lsocket $LIBS"
42046 cat >conftest.
$ac_ext <<_ACEOF
42049 cat confdefs.h
>>conftest.
$ac_ext
42050 cat >>conftest.
$ac_ext <<_ACEOF
42051 /* end confdefs.h. */
42053 /* Override any GCC internal prototype to avoid an error.
42054 Use char because int might match the return type of a GCC
42055 builtin and then its argument prototype would still apply. */
42063 return inet_addr ();
42068 rm -f conftest.
$ac_objext conftest
$ac_exeext
42069 if { (ac_try
="$ac_link"
42070 case "(($ac_try" in
42071 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42072 *) ac_try_echo=$ac_try;;
42074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42075 (eval "$ac_link") 2>conftest.er1
42077 grep -v '^ *+' conftest.er1 >conftest.err
42079 cat conftest.err >&5
42080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42081 (exit $ac_status); } && {
42082 test -z "$ac_c_werror_flag" ||
42083 test ! -s conftest.err
42084 } && test -s conftest$ac_exeext &&
42085 $as_test_x conftest$ac_exeext; then
42086 ac_cv_lib_socket_inet_addr=yes
42088 echo "$as_me: failed program was:" >&5
42089 sed 's/^/| /' conftest.$ac_ext >&5
42091 ac_cv_lib_socket_inet_addr=no
42094 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42095 conftest$ac_exeext conftest.$ac_ext
42096 LIBS=$ac_check_lib_save_LIBS
42098 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
42099 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
42100 if test $ac_cv_lib_socket_inet_addr = yes; then
42120 for ac_func in inet_aton
42122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42123 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42125 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42126 echo $ECHO_N "(cached) $ECHO_C" >&6
42128 cat >conftest.$ac_ext <<_ACEOF
42131 cat confdefs.h >>conftest.$ac_ext
42132 cat >>conftest.$ac_ext <<_ACEOF
42133 /* end confdefs.h. */
42134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42136 #define $ac_func innocuous_$ac_func
42138 /* System header to define __stub macros and hopefully few prototypes,
42139 which can conflict with char $ac_func (); below.
42140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42141 <limits.h> exists even on freestanding compilers. */
42144 # include <limits.h>
42146 # include <assert.h>
42151 /* Override any GCC internal prototype to avoid an error.
42152 Use char because int might match the return type of a GCC
42153 builtin and then its argument prototype would still apply. */
42158 /* The GNU C library defines this for functions which it implements
42159 to always fail with ENOSYS. Some functions are actually named
42160 something starting with __ and the normal name is an alias. */
42161 #if defined __stub_$ac_func || defined __stub___$ac_func
42168 return $ac_func ();
42173 rm -f conftest.$ac_objext conftest$ac_exeext
42174 if { (ac_try="$ac_link"
42175 case "(($ac_try" in
42176 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42177 *) ac_try_echo
=$ac_try;;
42179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42180 (eval "$ac_link") 2>conftest.er1
42182 grep -v '^ *+' conftest.er1
>conftest.err
42184 cat conftest.err
>&5
42185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42186 (exit $ac_status); } && {
42187 test -z "$ac_c_werror_flag" ||
42188 test ! -s conftest.err
42189 } && test -s conftest
$ac_exeext &&
42190 $as_test_x conftest
$ac_exeext; then
42191 eval "$as_ac_var=yes"
42193 echo "$as_me: failed program was:" >&5
42194 sed 's/^/| /' conftest.
$ac_ext >&5
42196 eval "$as_ac_var=no"
42199 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42200 conftest
$ac_exeext conftest.
$ac_ext
42202 ac_res
=`eval echo '${'$as_ac_var'}'`
42203 { echo "$as_me:$LINENO: result: $ac_res" >&5
42204 echo "${ECHO_T}$ac_res" >&6; }
42205 if test `eval echo '${'$as_ac_var'}'` = yes; then
42206 cat >>confdefs.h
<<_ACEOF
42207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42209 cat >>confdefs.h
<<\_ACEOF
42210 #define HAVE_INET_ATON 1
42215 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
42216 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
42217 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
42218 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
42219 echo $ECHO_N "(cached) $ECHO_C" >&6
42221 ac_check_lib_save_LIBS
=$LIBS
42222 LIBS
="-l$INET_LINK $LIBS"
42223 cat >conftest.
$ac_ext <<_ACEOF
42226 cat confdefs.h
>>conftest.
$ac_ext
42227 cat >>conftest.
$ac_ext <<_ACEOF
42228 /* end confdefs.h. */
42230 /* Override any GCC internal prototype to avoid an error.
42231 Use char because int might match the return type of a GCC
42232 builtin and then its argument prototype would still apply. */
42240 return inet_aton ();
42245 rm -f conftest.
$ac_objext conftest
$ac_exeext
42246 if { (ac_try
="$ac_link"
42247 case "(($ac_try" in
42248 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42249 *) ac_try_echo=$ac_try;;
42251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42252 (eval "$ac_link") 2>conftest.er1
42254 grep -v '^ *+' conftest.er1 >conftest.err
42256 cat conftest.err >&5
42257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42258 (exit $ac_status); } && {
42259 test -z "$ac_c_werror_flag" ||
42260 test ! -s conftest.err
42261 } && test -s conftest$ac_exeext &&
42262 $as_test_x conftest$ac_exeext; then
42263 eval "$as_ac_Lib=yes"
42265 echo "$as_me: failed program was:" >&5
42266 sed 's/^/| /' conftest.$ac_ext >&5
42268 eval "$as_ac_Lib=no"
42271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42272 conftest$ac_exeext conftest.$ac_ext
42273 LIBS=$ac_check_lib_save_LIBS
42275 ac_res=`eval echo '${'$as_ac_Lib'}'`
42276 { echo "$as_me:$LINENO: result: $ac_res" >&5
42277 echo "${ECHO_T}$ac_res" >&6; }
42278 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
42279 cat >>confdefs.h <<\_ACEOF
42280 #define HAVE_INET_ATON 1
42290 if test "x$INET_LINK" != "x"; then
42291 cat >>confdefs.h <<\_ACEOF
42292 #define HAVE_INET_ADDR 1
42295 INET_LINK=" -l$INET_LINK"
42299 for wx_func in fdopen
42301 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42302 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42303 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42304 echo $ECHO_N "(cached) $ECHO_C" >&6
42307 cat >conftest.$ac_ext <<_ACEOF
42311 cat confdefs.h >>conftest.$ac_ext
42312 cat >>conftest.$ac_ext <<_ACEOF
42313 /* end confdefs.h. */
42316 $ac_includes_default
42332 rm -f conftest.$ac_objext conftest$ac_exeext
42333 if { (ac_try="$ac_link"
42334 case "(($ac_try" in
42335 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42336 *) ac_try_echo
=$ac_try;;
42338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42339 (eval "$ac_link") 2>conftest.er1
42341 grep -v '^ *+' conftest.er1
>conftest.err
42343 cat conftest.err
>&5
42344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42345 (exit $ac_status); } && {
42346 test -z "$ac_c_werror_flag" ||
42347 test ! -s conftest.err
42348 } && test -s conftest
$ac_exeext &&
42349 $as_test_x conftest
$ac_exeext; then
42350 eval wx_cv_func_
$wx_func=yes
42352 echo "$as_me: failed program was:" >&5
42353 sed 's/^/| /' conftest.
$ac_ext >&5
42355 eval wx_cv_func_
$wx_func=no
42358 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42359 conftest
$ac_exeext conftest.
$ac_ext
42362 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
42363 { echo "$as_me:$LINENO: result: $ac_res" >&5
42364 echo "${ECHO_T}$ac_res" >&6; }
42366 if eval test \
$wx_cv_func_$wx_func = yes
42368 cat >>confdefs.h
<<_ACEOF
42369 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42380 if test "$wxUSE_TARSTREAM" = "yes"; then
42382 for wx_func
in sysconf
42384 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42385 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42386 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42387 echo $ECHO_N "(cached) $ECHO_C" >&6
42390 cat >conftest.
$ac_ext <<_ACEOF
42394 cat confdefs.h
>>conftest.
$ac_ext
42395 cat >>conftest.
$ac_ext <<_ACEOF
42396 /* end confdefs.h. */
42399 $ac_includes_default
42415 rm -f conftest.
$ac_objext conftest
$ac_exeext
42416 if { (ac_try
="$ac_link"
42417 case "(($ac_try" in
42418 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42419 *) ac_try_echo=$ac_try;;
42421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42422 (eval "$ac_link") 2>conftest.er1
42424 grep -v '^ *+' conftest.er1 >conftest.err
42426 cat conftest.err >&5
42427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42428 (exit $ac_status); } && {
42429 test -z "$ac_c_werror_flag" ||
42430 test ! -s conftest.err
42431 } && test -s conftest$ac_exeext &&
42432 $as_test_x conftest$ac_exeext; then
42433 eval wx_cv_func_$wx_func=yes
42435 echo "$as_me: failed program was:" >&5
42436 sed 's/^/| /' conftest.$ac_ext >&5
42438 eval wx_cv_func_$wx_func=no
42441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42442 conftest$ac_exeext conftest.$ac_ext
42445 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42446 { echo "$as_me:$LINENO: result: $ac_res" >&5
42447 echo "${ECHO_T}$ac_res" >&6; }
42449 if eval test \$wx_cv_func_$wx_func = yes
42451 cat >>confdefs.h <<_ACEOF
42452 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42464 for wx_func in getpwuid_r
42466 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42467 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42468 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42469 echo $ECHO_N "(cached) $ECHO_C" >&6
42472 cat >conftest.$ac_ext <<_ACEOF
42476 cat confdefs.h >>conftest.$ac_ext
42477 cat >>conftest.$ac_ext <<_ACEOF
42478 /* end confdefs.h. */
42484 $ac_includes_default
42494 struct passwd pw, *ppw;
42496 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
42504 rm -f conftest.$ac_objext conftest$ac_exeext
42505 if { (ac_try="$ac_link"
42506 case "(($ac_try" in
42507 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42508 *) ac_try_echo
=$ac_try;;
42510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42511 (eval "$ac_link") 2>conftest.er1
42513 grep -v '^ *+' conftest.er1
>conftest.err
42515 cat conftest.err
>&5
42516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42517 (exit $ac_status); } && {
42518 test -z "$ac_c_werror_flag" ||
42519 test ! -s conftest.err
42520 } && test -s conftest
$ac_exeext &&
42521 $as_test_x conftest
$ac_exeext; then
42522 eval wx_cv_func_
$wx_func=yes
42524 echo "$as_me: failed program was:" >&5
42525 sed 's/^/| /' conftest.
$ac_ext >&5
42527 eval wx_cv_func_
$wx_func=no
42530 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42531 conftest
$ac_exeext conftest.
$ac_ext
42534 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
42535 { echo "$as_me:$LINENO: result: $ac_res" >&5
42536 echo "${ECHO_T}$ac_res" >&6; }
42538 if eval test \
$wx_cv_func_$wx_func = yes
42540 cat >>confdefs.h
<<_ACEOF
42541 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42553 for wx_func
in getgrgid_r
42555 { echo "$as_me:$LINENO: checking for $wx_func" >&5
42556 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
42557 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
42558 echo $ECHO_N "(cached) $ECHO_C" >&6
42561 cat >conftest.
$ac_ext <<_ACEOF
42565 cat confdefs.h
>>conftest.
$ac_ext
42566 cat >>conftest.
$ac_ext <<_ACEOF
42567 /* end confdefs.h. */
42573 $ac_includes_default
42583 struct group grp, *pgrp;
42585 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
42593 rm -f conftest.
$ac_objext conftest
$ac_exeext
42594 if { (ac_try
="$ac_link"
42595 case "(($ac_try" in
42596 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42597 *) ac_try_echo=$ac_try;;
42599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42600 (eval "$ac_link") 2>conftest.er1
42602 grep -v '^ *+' conftest.er1 >conftest.err
42604 cat conftest.err >&5
42605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42606 (exit $ac_status); } && {
42607 test -z "$ac_c_werror_flag" ||
42608 test ! -s conftest.err
42609 } && test -s conftest$ac_exeext &&
42610 $as_test_x conftest$ac_exeext; then
42611 eval wx_cv_func_$wx_func=yes
42613 echo "$as_me: failed program was:" >&5
42614 sed 's/^/| /' conftest.$ac_ext >&5
42616 eval wx_cv_func_$wx_func=no
42619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42620 conftest$ac_exeext conftest.$ac_ext
42623 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
42624 { echo "$as_me:$LINENO: result: $ac_res" >&5
42625 echo "${ECHO_T}$ac_res" >&6; }
42627 if eval test \$wx_cv_func_$wx_func = yes
42629 cat >>confdefs.h <<_ACEOF
42630 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
42646 cat >confcache <<\_ACEOF
42647 # This file is a shell script that caches the results of configure
42648 # tests run on this system so they can be shared between configure
42649 # scripts and configure runs, see configure's option --config-cache.
42650 # It is not useful on other systems. If it contains results you don't
42651 # want to keep, you may remove or edit it.
42653 # config.status only pays attention to the cache file if you give it
42654 # the --recheck option to rerun configure.
42656 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
42657 # loading this file, other *unset* `ac_cv_foo' will be assigned the
42658 # following values.
42662 # The following way of writing the cache mishandles newlines in values,
42663 # but we know of no workaround that is simple, portable, and efficient.
42664 # So, we kill variables containing newlines.
42665 # Ultrix sh set writes to stderr and can't be redirected directly,
42666 # and sets the high bit in the cache file unless we assign to the vars.
42668 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
42669 eval ac_val
=\$
$ac_var
42673 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
42674 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
42677 _
| IFS
| as_nl
) ;; #(
42678 *) $as_unset $ac_var ;;
42684 case $as_nl`(ac_space=' '; set) 2>&1` in #(
42685 *${as_nl}ac_space
=\
*)
42686 # `set' does not quote correctly, so add quotes (double-quote
42687 # substitution turns \\\\ into \\, and sed turns \\ into \).
42690 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
42693 # `set' quotes correctly as required by POSIX, so do not add quotes.
42694 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
42703 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
42705 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
42707 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
42708 if test -w "$cache_file"; then
42709 test "x$cache_file" != "x/dev/null" &&
42710 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
42711 echo "$as_me: updating cache $cache_file" >&6;}
42712 cat confcache
>$cache_file
42714 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
42715 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
42721 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42727 if test "$wxUSE_THREADS" = "yes" ; then
42728 if test "$USE_BEOS" = 1; then
42729 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
42730 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
42735 if test "$wxUSE_THREADS" = "yes" ; then
42738 THREAD_OPTS
="-pthread"
42739 if test "x$SUNCXX" = xyes
; then
42740 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
42744 *-*-solaris2* | *-*-sunos4* )
42745 if test "x$GCC" = "xyes"; then
42746 THREAD_OPTS
="-pthreads $THREAD_OPTS"
42750 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
42752 *-*-darwin* | *-*-cygwin* )
42756 THREAD_OPTS
="pthreads"
42759 if test "x$GCC" = "xyes"; then
42760 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
42768 if test "x$GCC" = "xyes"; then
42778 if test "x$GCC" != "xyes"; then
42779 THREAD_OPTS
="-Ethread"
42786 THREAD_OPTS
="none pthread"
42790 THREAD_OPTS
="$THREAD_OPTS pthread none"
42795 for flag
in $THREAD_OPTS; do
42798 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
42799 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
42803 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
42804 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
42805 THREADS_CFLAGS
="$flag"
42809 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
42810 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
42811 THREADS_LINK
="-l$flag"
42816 save_CFLAGS
="$CFLAGS"
42817 LIBS
="$THREADS_LINK $LIBS"
42818 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
42820 cat >conftest.
$ac_ext <<_ACEOF
42823 cat confdefs.h
>>conftest.
$ac_ext
42824 cat >>conftest.
$ac_ext <<_ACEOF
42825 /* end confdefs.h. */
42826 #include <pthread.h>
42830 pthread_create(0,0,0,0);
42835 rm -f conftest.
$ac_objext conftest
$ac_exeext
42836 if { (ac_try
="$ac_link"
42837 case "(($ac_try" in
42838 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42839 *) ac_try_echo=$ac_try;;
42841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42842 (eval "$ac_link") 2>conftest.er1
42844 grep -v '^ *+' conftest.er1 >conftest.err
42846 cat conftest.err >&5
42847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42848 (exit $ac_status); } && {
42849 test -z "$ac_c_werror_flag" ||
42850 test ! -s conftest.err
42851 } && test -s conftest$ac_exeext &&
42852 $as_test_x conftest$ac_exeext; then
42855 echo "$as_me: failed program was:" >&5
42856 sed 's/^/| /' conftest.$ac_ext >&5
42861 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42862 conftest$ac_exeext conftest.$ac_ext
42865 CFLAGS="$save_CFLAGS"
42867 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
42868 echo "${ECHO_T}$THREADS_OK" >&6; }
42869 if test "x$THREADS_OK" = "xyes"; then
42877 if test "x$THREADS_OK" != "xyes"; then
42879 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
42880 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
42882 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
42883 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
42884 LIBS="$THREADS_LINK $LIBS"
42886 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
42887 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
42891 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
42892 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
42893 flag="-D_THREAD_SAFE"
42896 flag="-D_THREAD_SAFE"
42899 flag="-D_REENTRANT"
42900 if test "x$GCC" != "xyes"; then
42901 flag="$flag -D_RWSTD_MULTI_THREAD"
42904 *solaris* | alpha*-osf*)
42905 flag="-D_REENTRANT"
42908 { echo "$as_me:$LINENO: result: ${flag}" >&5
42909 echo "${ECHO_T}${flag}" >&6; }
42910 if test "x$flag" != xno; then
42911 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
42914 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
42918 if test "$wxUSE_THREADS" = "yes" ; then
42920 for ac_func in pthread_setconcurrency
42922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42923 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42926 echo $ECHO_N "(cached) $ECHO_C" >&6
42928 cat >conftest.$ac_ext <<_ACEOF
42931 cat confdefs.h >>conftest.$ac_ext
42932 cat >>conftest.$ac_ext <<_ACEOF
42933 /* end confdefs.h. */
42934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42936 #define $ac_func innocuous_$ac_func
42938 /* System header to define __stub macros and hopefully few prototypes,
42939 which can conflict with char $ac_func (); below.
42940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42941 <limits.h> exists even on freestanding compilers. */
42944 # include <limits.h>
42946 # include <assert.h>
42951 /* Override any GCC internal prototype to avoid an error.
42952 Use char because int might match the return type of a GCC
42953 builtin and then its argument prototype would still apply. */
42958 /* The GNU C library defines this for functions which it implements
42959 to always fail with ENOSYS. Some functions are actually named
42960 something starting with __ and the normal name is an alias. */
42961 #if defined __stub_$ac_func || defined __stub___$ac_func
42968 return $ac_func ();
42973 rm -f conftest.$ac_objext conftest$ac_exeext
42974 if { (ac_try="$ac_link"
42975 case "(($ac_try" in
42976 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42977 *) ac_try_echo
=$ac_try;;
42979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42980 (eval "$ac_link") 2>conftest.er1
42982 grep -v '^ *+' conftest.er1
>conftest.err
42984 cat conftest.err
>&5
42985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42986 (exit $ac_status); } && {
42987 test -z "$ac_c_werror_flag" ||
42988 test ! -s conftest.err
42989 } && test -s conftest
$ac_exeext &&
42990 $as_test_x conftest
$ac_exeext; then
42991 eval "$as_ac_var=yes"
42993 echo "$as_me: failed program was:" >&5
42994 sed 's/^/| /' conftest.
$ac_ext >&5
42996 eval "$as_ac_var=no"
42999 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43000 conftest
$ac_exeext conftest.
$ac_ext
43002 ac_res
=`eval echo '${'$as_ac_var'}'`
43003 { echo "$as_me:$LINENO: result: $ac_res" >&5
43004 echo "${ECHO_T}$ac_res" >&6; }
43005 if test `eval echo '${'$as_ac_var'}'` = yes; then
43006 cat >>confdefs.h
<<_ACEOF
43007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43009 cat >>confdefs.h
<<\_ACEOF
43010 #define HAVE_PTHREAD_SET_CONCURRENCY 1
43016 for ac_func
in thr_setconcurrency
43018 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43019 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43021 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43022 echo $ECHO_N "(cached) $ECHO_C" >&6
43024 cat >conftest.
$ac_ext <<_ACEOF
43027 cat confdefs.h
>>conftest.
$ac_ext
43028 cat >>conftest.
$ac_ext <<_ACEOF
43029 /* end confdefs.h. */
43030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43032 #define $ac_func innocuous_$ac_func
43034 /* System header to define __stub macros and hopefully few prototypes,
43035 which can conflict with char $ac_func (); below.
43036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43037 <limits.h> exists even on freestanding compilers. */
43040 # include <limits.h>
43042 # include <assert.h>
43047 /* Override any GCC internal prototype to avoid an error.
43048 Use char because int might match the return type of a GCC
43049 builtin and then its argument prototype would still apply. */
43054 /* The GNU C library defines this for functions which it implements
43055 to always fail with ENOSYS. Some functions are actually named
43056 something starting with __ and the normal name is an alias. */
43057 #if defined __stub_$ac_func || defined __stub___$ac_func
43064 return $ac_func ();
43069 rm -f conftest.
$ac_objext conftest
$ac_exeext
43070 if { (ac_try
="$ac_link"
43071 case "(($ac_try" in
43072 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43073 *) ac_try_echo=$ac_try;;
43075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43076 (eval "$ac_link") 2>conftest.er1
43078 grep -v '^ *+' conftest.er1 >conftest.err
43080 cat conftest.err >&5
43081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43082 (exit $ac_status); } && {
43083 test -z "$ac_c_werror_flag" ||
43084 test ! -s conftest.err
43085 } && test -s conftest$ac_exeext &&
43086 $as_test_x conftest$ac_exeext; then
43087 eval "$as_ac_var=yes"
43089 echo "$as_me: failed program was:" >&5
43090 sed 's/^/| /' conftest.$ac_ext >&5
43092 eval "$as_ac_var=no"
43095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43096 conftest$ac_exeext conftest.$ac_ext
43098 ac_res=`eval echo '${'$as_ac_var'}'`
43099 { echo "$as_me:$LINENO: result: $ac_res" >&5
43100 echo "${ECHO_T}$ac_res" >&6; }
43101 if test `eval echo '${'$as_ac_var'}'` = yes; then
43102 cat >>confdefs.h <<_ACEOF
43103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43105 cat >>confdefs.h <<\_ACEOF
43106 #define HAVE_THR_SETCONCURRENCY 1
43110 { echo "$as_me:$LINENO: WARNING: Setting thread concurrency will not work properly" >&5
43111 echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
43120 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
43121 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
43122 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
43123 echo $ECHO_N "(cached) $ECHO_C" >&6
43127 ac_cpp='$CXXCPP $CPPFLAGS'
43128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43132 cat >conftest.$ac_ext <<_ACEOF
43135 cat confdefs.h >>conftest.$ac_ext
43136 cat >>conftest.$ac_ext <<_ACEOF
43137 /* end confdefs.h. */
43138 #include <pthread.h>
43139 void ThreadCleanupFunc(void *p);
43146 pthread_cleanup_push(ThreadCleanupFunc, p);
43147 pthread_cleanup_pop(0);
43153 rm -f conftest.$ac_objext
43154 if { (ac_try="$ac_compile"
43155 case "(($ac_try" in
43156 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43157 *) ac_try_echo
=$ac_try;;
43159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43160 (eval "$ac_compile") 2>conftest.er1
43162 grep -v '^ *+' conftest.er1
>conftest.err
43164 cat conftest.err
>&5
43165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43166 (exit $ac_status); } && {
43167 test -z "$ac_cxx_werror_flag" ||
43168 test ! -s conftest.err
43169 } && test -s conftest.
$ac_objext; then
43171 wx_cv_func_pthread_cleanup
=yes
43174 echo "$as_me: failed program was:" >&5
43175 sed 's/^/| /' conftest.
$ac_ext >&5
43178 wx_cv_func_pthread_cleanup
=no
43183 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43185 ac_cpp
='$CPP $CPPFLAGS'
43186 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43192 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
43193 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
43194 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
43195 cat >>confdefs.h
<<\_ACEOF
43196 #define wxHAVE_PTHREAD_CLEANUP 1
43202 for ac_header
in sched.h
43204 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43205 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43207 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43208 echo $ECHO_N "(cached) $ECHO_C" >&6
43210 cat >conftest.
$ac_ext <<_ACEOF
43213 cat confdefs.h
>>conftest.
$ac_ext
43214 cat >>conftest.
$ac_ext <<_ACEOF
43215 /* end confdefs.h. */
43216 $ac_includes_default
43218 #include <$ac_header>
43220 rm -f conftest.
$ac_objext
43221 if { (ac_try
="$ac_compile"
43222 case "(($ac_try" in
43223 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43224 *) ac_try_echo=$ac_try;;
43226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43227 (eval "$ac_compile") 2>conftest.er1
43229 grep -v '^ *+' conftest.er1 >conftest.err
43231 cat conftest.err >&5
43232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43233 (exit $ac_status); } && {
43234 test -z "$ac_c_werror_flag" ||
43235 test ! -s conftest.err
43236 } && test -s conftest.$ac_objext; then
43237 eval "$as_ac_Header=yes"
43239 echo "$as_me: failed program was:" >&5
43240 sed 's/^/| /' conftest.$ac_ext >&5
43242 eval "$as_ac_Header=no"
43245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43247 ac_res=`eval echo '${'$as_ac_Header'}'`
43248 { echo "$as_me:$LINENO: result: $ac_res" >&5
43249 echo "${ECHO_T}$ac_res" >&6; }
43250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43251 cat >>confdefs.h <<_ACEOF
43252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43259 if test "$ac_cv_header_sched_h" = "yes"; then
43260 { echo "$as_me:$LINENO: checking for sched_yield" >&5
43261 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
43262 if test "${ac_cv_func_sched_yield+set}" = set; then
43263 echo $ECHO_N "(cached) $ECHO_C" >&6
43265 cat >conftest.$ac_ext <<_ACEOF
43268 cat confdefs.h >>conftest.$ac_ext
43269 cat >>conftest.$ac_ext <<_ACEOF
43270 /* end confdefs.h. */
43271 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
43272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43273 #define sched_yield innocuous_sched_yield
43275 /* System header to define __stub macros and hopefully few prototypes,
43276 which can conflict with char sched_yield (); below.
43277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43278 <limits.h> exists even on freestanding compilers. */
43281 # include <limits.h>
43283 # include <assert.h>
43288 /* Override any GCC internal prototype to avoid an error.
43289 Use char because int might match the return type of a GCC
43290 builtin and then its argument prototype would still apply. */
43294 char sched_yield ();
43295 /* The GNU C library defines this for functions which it implements
43296 to always fail with ENOSYS. Some functions are actually named
43297 something starting with __ and the normal name is an alias. */
43298 #if defined __stub_sched_yield || defined __stub___sched_yield
43305 return sched_yield ();
43310 rm -f conftest.$ac_objext conftest$ac_exeext
43311 if { (ac_try="$ac_link"
43312 case "(($ac_try" in
43313 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43314 *) ac_try_echo
=$ac_try;;
43316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43317 (eval "$ac_link") 2>conftest.er1
43319 grep -v '^ *+' conftest.er1
>conftest.err
43321 cat conftest.err
>&5
43322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43323 (exit $ac_status); } && {
43324 test -z "$ac_c_werror_flag" ||
43325 test ! -s conftest.err
43326 } && test -s conftest
$ac_exeext &&
43327 $as_test_x conftest
$ac_exeext; then
43328 ac_cv_func_sched_yield
=yes
43330 echo "$as_me: failed program was:" >&5
43331 sed 's/^/| /' conftest.
$ac_ext >&5
43333 ac_cv_func_sched_yield
=no
43336 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43337 conftest
$ac_exeext conftest.
$ac_ext
43339 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
43340 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
43341 if test $ac_cv_func_sched_yield = yes; then
43342 cat >>confdefs.h
<<\_ACEOF
43343 #define HAVE_SCHED_YIELD 1
43348 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
43349 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
43350 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
43351 echo $ECHO_N "(cached) $ECHO_C" >&6
43353 ac_check_lib_save_LIBS
=$LIBS
43354 LIBS
="-lposix4 $LIBS"
43355 cat >conftest.
$ac_ext <<_ACEOF
43358 cat confdefs.h
>>conftest.
$ac_ext
43359 cat >>conftest.
$ac_ext <<_ACEOF
43360 /* end confdefs.h. */
43362 /* Override any GCC internal prototype to avoid an error.
43363 Use char because int might match the return type of a GCC
43364 builtin and then its argument prototype would still apply. */
43368 char sched_yield ();
43372 return sched_yield ();
43377 rm -f conftest.
$ac_objext conftest
$ac_exeext
43378 if { (ac_try
="$ac_link"
43379 case "(($ac_try" in
43380 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43381 *) ac_try_echo=$ac_try;;
43383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43384 (eval "$ac_link") 2>conftest.er1
43386 grep -v '^ *+' conftest.er1 >conftest.err
43388 cat conftest.err >&5
43389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43390 (exit $ac_status); } && {
43391 test -z "$ac_c_werror_flag" ||
43392 test ! -s conftest.err
43393 } && test -s conftest$ac_exeext &&
43394 $as_test_x conftest$ac_exeext; then
43395 ac_cv_lib_posix4_sched_yield=yes
43397 echo "$as_me: failed program was:" >&5
43398 sed 's/^/| /' conftest.$ac_ext >&5
43400 ac_cv_lib_posix4_sched_yield=no
43403 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43404 conftest$ac_exeext conftest.$ac_ext
43405 LIBS=$ac_check_lib_save_LIBS
43407 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
43408 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
43409 if test $ac_cv_lib_posix4_sched_yield = yes; then
43410 cat >>confdefs.h <<\_ACEOF
43411 #define HAVE_SCHED_YIELD 1
43413 POSIX4_LINK=" -lposix4"
43415 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
43416 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
43427 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
43428 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
43429 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
43430 echo $ECHO_N "(cached) $ECHO_C" >&6
43432 cat >conftest.$ac_ext <<_ACEOF
43435 cat confdefs.h >>conftest.$ac_ext
43436 cat >>conftest.$ac_ext <<_ACEOF
43437 /* end confdefs.h. */
43438 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
43439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43440 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
43442 /* System header to define __stub macros and hopefully few prototypes,
43443 which can conflict with char pthread_attr_getschedpolicy (); below.
43444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43445 <limits.h> exists even on freestanding compilers. */
43448 # include <limits.h>
43450 # include <assert.h>
43453 #undef pthread_attr_getschedpolicy
43455 /* Override any GCC internal prototype to avoid an error.
43456 Use char because int might match the return type of a GCC
43457 builtin and then its argument prototype would still apply. */
43461 char pthread_attr_getschedpolicy ();
43462 /* The GNU C library defines this for functions which it implements
43463 to always fail with ENOSYS. Some functions are actually named
43464 something starting with __ and the normal name is an alias. */
43465 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
43472 return pthread_attr_getschedpolicy ();
43477 rm -f conftest.$ac_objext conftest$ac_exeext
43478 if { (ac_try="$ac_link"
43479 case "(($ac_try" in
43480 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43481 *) ac_try_echo
=$ac_try;;
43483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43484 (eval "$ac_link") 2>conftest.er1
43486 grep -v '^ *+' conftest.er1
>conftest.err
43488 cat conftest.err
>&5
43489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43490 (exit $ac_status); } && {
43491 test -z "$ac_c_werror_flag" ||
43492 test ! -s conftest.err
43493 } && test -s conftest
$ac_exeext &&
43494 $as_test_x conftest
$ac_exeext; then
43495 ac_cv_func_pthread_attr_getschedpolicy
=yes
43497 echo "$as_me: failed program was:" >&5
43498 sed 's/^/| /' conftest.
$ac_ext >&5
43500 ac_cv_func_pthread_attr_getschedpolicy
=no
43503 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43504 conftest
$ac_exeext conftest.
$ac_ext
43506 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
43507 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
43508 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
43509 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
43510 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
43511 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
43512 echo $ECHO_N "(cached) $ECHO_C" >&6
43514 cat >conftest.
$ac_ext <<_ACEOF
43517 cat confdefs.h
>>conftest.
$ac_ext
43518 cat >>conftest.
$ac_ext <<_ACEOF
43519 /* end confdefs.h. */
43520 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
43521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43522 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
43524 /* System header to define __stub macros and hopefully few prototypes,
43525 which can conflict with char pthread_attr_setschedparam (); below.
43526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43527 <limits.h> exists even on freestanding compilers. */
43530 # include <limits.h>
43532 # include <assert.h>
43535 #undef pthread_attr_setschedparam
43537 /* Override any GCC internal prototype to avoid an error.
43538 Use char because int might match the return type of a GCC
43539 builtin and then its argument prototype would still apply. */
43543 char pthread_attr_setschedparam ();
43544 /* The GNU C library defines this for functions which it implements
43545 to always fail with ENOSYS. Some functions are actually named
43546 something starting with __ and the normal name is an alias. */
43547 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
43554 return pthread_attr_setschedparam ();
43559 rm -f conftest.
$ac_objext conftest
$ac_exeext
43560 if { (ac_try
="$ac_link"
43561 case "(($ac_try" in
43562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43563 *) ac_try_echo=$ac_try;;
43565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43566 (eval "$ac_link") 2>conftest.er1
43568 grep -v '^ *+' conftest.er1 >conftest.err
43570 cat conftest.err >&5
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); } && {
43573 test -z "$ac_c_werror_flag" ||
43574 test ! -s conftest.err
43575 } && test -s conftest$ac_exeext &&
43576 $as_test_x conftest$ac_exeext; then
43577 ac_cv_func_pthread_attr_setschedparam=yes
43579 echo "$as_me: failed program was:" >&5
43580 sed 's/^/| /' conftest.$ac_ext >&5
43582 ac_cv_func_pthread_attr_setschedparam=no
43585 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43586 conftest$ac_exeext conftest.$ac_ext
43588 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
43589 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
43590 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
43591 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
43592 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
43593 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
43594 echo $ECHO_N "(cached) $ECHO_C" >&6
43596 cat >conftest.$ac_ext <<_ACEOF
43599 cat confdefs.h >>conftest.$ac_ext
43600 cat >>conftest.$ac_ext <<_ACEOF
43601 /* end confdefs.h. */
43602 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
43603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43604 #define sched_get_priority_max innocuous_sched_get_priority_max
43606 /* System header to define __stub macros and hopefully few prototypes,
43607 which can conflict with char sched_get_priority_max (); below.
43608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43609 <limits.h> exists even on freestanding compilers. */
43612 # include <limits.h>
43614 # include <assert.h>
43617 #undef sched_get_priority_max
43619 /* Override any GCC internal prototype to avoid an error.
43620 Use char because int might match the return type of a GCC
43621 builtin and then its argument prototype would still apply. */
43625 char sched_get_priority_max ();
43626 /* The GNU C library defines this for functions which it implements
43627 to always fail with ENOSYS. Some functions are actually named
43628 something starting with __ and the normal name is an alias. */
43629 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
43636 return sched_get_priority_max ();
43641 rm -f conftest.$ac_objext conftest$ac_exeext
43642 if { (ac_try="$ac_link"
43643 case "(($ac_try" in
43644 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43645 *) ac_try_echo
=$ac_try;;
43647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43648 (eval "$ac_link") 2>conftest.er1
43650 grep -v '^ *+' conftest.er1
>conftest.err
43652 cat conftest.err
>&5
43653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43654 (exit $ac_status); } && {
43655 test -z "$ac_c_werror_flag" ||
43656 test ! -s conftest.err
43657 } && test -s conftest
$ac_exeext &&
43658 $as_test_x conftest
$ac_exeext; then
43659 ac_cv_func_sched_get_priority_max
=yes
43661 echo "$as_me: failed program was:" >&5
43662 sed 's/^/| /' conftest.
$ac_ext >&5
43664 ac_cv_func_sched_get_priority_max
=no
43667 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43668 conftest
$ac_exeext conftest.
$ac_ext
43670 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
43671 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
43672 if test $ac_cv_func_sched_get_priority_max = yes; then
43675 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
43676 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
43677 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
43678 echo $ECHO_N "(cached) $ECHO_C" >&6
43680 ac_check_lib_save_LIBS
=$LIBS
43681 LIBS
="-lposix4 $LIBS"
43682 cat >conftest.
$ac_ext <<_ACEOF
43685 cat confdefs.h
>>conftest.
$ac_ext
43686 cat >>conftest.
$ac_ext <<_ACEOF
43687 /* end confdefs.h. */
43689 /* Override any GCC internal prototype to avoid an error.
43690 Use char because int might match the return type of a GCC
43691 builtin and then its argument prototype would still apply. */
43695 char sched_get_priority_max ();
43699 return sched_get_priority_max ();
43704 rm -f conftest.
$ac_objext conftest
$ac_exeext
43705 if { (ac_try
="$ac_link"
43706 case "(($ac_try" in
43707 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43708 *) ac_try_echo=$ac_try;;
43710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43711 (eval "$ac_link") 2>conftest.er1
43713 grep -v '^ *+' conftest.er1 >conftest.err
43715 cat conftest.err >&5
43716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43717 (exit $ac_status); } && {
43718 test -z "$ac_c_werror_flag" ||
43719 test ! -s conftest.err
43720 } && test -s conftest$ac_exeext &&
43721 $as_test_x conftest$ac_exeext; then
43722 ac_cv_lib_posix4_sched_get_priority_max=yes
43724 echo "$as_me: failed program was:" >&5
43725 sed 's/^/| /' conftest.$ac_ext >&5
43727 ac_cv_lib_posix4_sched_get_priority_max=no
43730 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43731 conftest$ac_exeext conftest.$ac_ext
43732 LIBS=$ac_check_lib_save_LIBS
43734 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
43735 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
43736 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
43739 POSIX4_LINK=" -lposix4"
43753 if test "$HAVE_PRIOR_FUNCS" = 1; then
43754 cat >>confdefs.h <<\_ACEOF
43755 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
43759 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
43760 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
43763 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
43764 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
43765 if test "${ac_cv_func_pthread_cancel+set}" = set; then
43766 echo $ECHO_N "(cached) $ECHO_C" >&6
43768 cat >conftest.$ac_ext <<_ACEOF
43771 cat confdefs.h >>conftest.$ac_ext
43772 cat >>conftest.$ac_ext <<_ACEOF
43773 /* end confdefs.h. */
43774 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
43775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43776 #define pthread_cancel innocuous_pthread_cancel
43778 /* System header to define __stub macros and hopefully few prototypes,
43779 which can conflict with char pthread_cancel (); below.
43780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43781 <limits.h> exists even on freestanding compilers. */
43784 # include <limits.h>
43786 # include <assert.h>
43789 #undef pthread_cancel
43791 /* Override any GCC internal prototype to avoid an error.
43792 Use char because int might match the return type of a GCC
43793 builtin and then its argument prototype would still apply. */
43797 char pthread_cancel ();
43798 /* The GNU C library defines this for functions which it implements
43799 to always fail with ENOSYS. Some functions are actually named
43800 something starting with __ and the normal name is an alias. */
43801 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
43808 return pthread_cancel ();
43813 rm -f conftest.$ac_objext conftest$ac_exeext
43814 if { (ac_try="$ac_link"
43815 case "(($ac_try" in
43816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43817 *) ac_try_echo
=$ac_try;;
43819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43820 (eval "$ac_link") 2>conftest.er1
43822 grep -v '^ *+' conftest.er1
>conftest.err
43824 cat conftest.err
>&5
43825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43826 (exit $ac_status); } && {
43827 test -z "$ac_c_werror_flag" ||
43828 test ! -s conftest.err
43829 } && test -s conftest
$ac_exeext &&
43830 $as_test_x conftest
$ac_exeext; then
43831 ac_cv_func_pthread_cancel
=yes
43833 echo "$as_me: failed program was:" >&5
43834 sed 's/^/| /' conftest.
$ac_ext >&5
43836 ac_cv_func_pthread_cancel
=no
43839 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43840 conftest
$ac_exeext conftest.
$ac_ext
43842 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
43843 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
43844 if test $ac_cv_func_pthread_cancel = yes; then
43845 cat >>confdefs.h
<<\_ACEOF
43846 #define HAVE_PTHREAD_CANCEL 1
43850 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
43851 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
43855 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
43856 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
43857 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
43858 echo $ECHO_N "(cached) $ECHO_C" >&6
43860 cat >conftest.
$ac_ext <<_ACEOF
43863 cat confdefs.h
>>conftest.
$ac_ext
43864 cat >>conftest.
$ac_ext <<_ACEOF
43865 /* end confdefs.h. */
43866 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
43867 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43868 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
43870 /* System header to define __stub macros and hopefully few prototypes,
43871 which can conflict with char pthread_mutex_timedlock (); below.
43872 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43873 <limits.h> exists even on freestanding compilers. */
43876 # include <limits.h>
43878 # include <assert.h>
43881 #undef pthread_mutex_timedlock
43883 /* Override any GCC internal prototype to avoid an error.
43884 Use char because int might match the return type of a GCC
43885 builtin and then its argument prototype would still apply. */
43889 char pthread_mutex_timedlock ();
43890 /* The GNU C library defines this for functions which it implements
43891 to always fail with ENOSYS. Some functions are actually named
43892 something starting with __ and the normal name is an alias. */
43893 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
43900 return pthread_mutex_timedlock ();
43905 rm -f conftest.
$ac_objext conftest
$ac_exeext
43906 if { (ac_try
="$ac_link"
43907 case "(($ac_try" in
43908 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43909 *) ac_try_echo=$ac_try;;
43911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43912 (eval "$ac_link") 2>conftest.er1
43914 grep -v '^ *+' conftest.er1 >conftest.err
43916 cat conftest.err >&5
43917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43918 (exit $ac_status); } && {
43919 test -z "$ac_c_werror_flag" ||
43920 test ! -s conftest.err
43921 } && test -s conftest$ac_exeext &&
43922 $as_test_x conftest$ac_exeext; then
43923 ac_cv_func_pthread_mutex_timedlock=yes
43925 echo "$as_me: failed program was:" >&5
43926 sed 's/^/| /' conftest.$ac_ext >&5
43928 ac_cv_func_pthread_mutex_timedlock=no
43931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43932 conftest$ac_exeext conftest.$ac_ext
43934 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
43935 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
43936 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
43937 cat >>confdefs.h <<\_ACEOF
43938 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
43942 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
43943 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
43947 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
43948 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
43949 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
43950 echo $ECHO_N "(cached) $ECHO_C" >&6
43952 cat >conftest.$ac_ext <<_ACEOF
43955 cat confdefs.h >>conftest.$ac_ext
43956 cat >>conftest.$ac_ext <<_ACEOF
43957 /* end confdefs.h. */
43958 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
43959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43960 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
43962 /* System header to define __stub macros and hopefully few prototypes,
43963 which can conflict with char pthread_attr_setstacksize (); below.
43964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43965 <limits.h> exists even on freestanding compilers. */
43968 # include <limits.h>
43970 # include <assert.h>
43973 #undef pthread_attr_setstacksize
43975 /* Override any GCC internal prototype to avoid an error.
43976 Use char because int might match the return type of a GCC
43977 builtin and then its argument prototype would still apply. */
43981 char pthread_attr_setstacksize ();
43982 /* The GNU C library defines this for functions which it implements
43983 to always fail with ENOSYS. Some functions are actually named
43984 something starting with __ and the normal name is an alias. */
43985 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
43992 return pthread_attr_setstacksize ();
43997 rm -f conftest.$ac_objext conftest$ac_exeext
43998 if { (ac_try="$ac_link"
43999 case "(($ac_try" in
44000 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44001 *) ac_try_echo
=$ac_try;;
44003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44004 (eval "$ac_link") 2>conftest.er1
44006 grep -v '^ *+' conftest.er1
>conftest.err
44008 cat conftest.err
>&5
44009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44010 (exit $ac_status); } && {
44011 test -z "$ac_c_werror_flag" ||
44012 test ! -s conftest.err
44013 } && test -s conftest
$ac_exeext &&
44014 $as_test_x conftest
$ac_exeext; then
44015 ac_cv_func_pthread_attr_setstacksize
=yes
44017 echo "$as_me: failed program was:" >&5
44018 sed 's/^/| /' conftest.
$ac_ext >&5
44020 ac_cv_func_pthread_attr_setstacksize
=no
44023 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44024 conftest
$ac_exeext conftest.
$ac_ext
44026 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
44027 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
44028 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
44029 cat >>confdefs.h
<<\_ACEOF
44030 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
44037 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
44038 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
44039 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
44040 echo $ECHO_N "(cached) $ECHO_C" >&6
44043 cat >conftest.
$ac_ext <<_ACEOF
44046 cat confdefs.h
>>conftest.
$ac_ext
44047 cat >>conftest.
$ac_ext <<_ACEOF
44048 /* end confdefs.h. */
44049 #include <pthread.h>
44054 pthread_mutexattr_t attr;
44055 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44061 rm -f conftest.
$ac_objext
44062 if { (ac_try
="$ac_compile"
44063 case "(($ac_try" in
44064 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44065 *) ac_try_echo=$ac_try;;
44067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44068 (eval "$ac_compile") 2>conftest.er1
44070 grep -v '^ *+' conftest.er1 >conftest.err
44072 cat conftest.err >&5
44073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44074 (exit $ac_status); } && {
44075 test -z "$ac_c_werror_flag" ||
44076 test ! -s conftest.err
44077 } && test -s conftest.$ac_objext; then
44078 wx_cv_type_pthread_mutexattr_t=yes
44080 echo "$as_me: failed program was:" >&5
44081 sed 's/^/| /' conftest.$ac_ext >&5
44083 wx_cv_type_pthread_mutexattr_t=no
44087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44090 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
44091 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
44093 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
44094 cat >>confdefs.h <<\_ACEOF
44095 #define HAVE_PTHREAD_MUTEXATTR_T 1
44099 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
44100 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
44101 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
44102 echo $ECHO_N "(cached) $ECHO_C" >&6
44105 cat >conftest.$ac_ext <<_ACEOF
44108 cat confdefs.h >>conftest.$ac_ext
44109 cat >>conftest.$ac_ext <<_ACEOF
44110 /* end confdefs.h. */
44111 #include <pthread.h>
44116 pthread_mutexattr_t attr;
44117 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
44123 rm -f conftest.$ac_objext
44124 if { (ac_try="$ac_compile"
44125 case "(($ac_try" in
44126 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44127 *) ac_try_echo
=$ac_try;;
44129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44130 (eval "$ac_compile") 2>conftest.er1
44132 grep -v '^ *+' conftest.er1
>conftest.err
44134 cat conftest.err
>&5
44135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44136 (exit $ac_status); } && {
44137 test -z "$ac_c_werror_flag" ||
44138 test ! -s conftest.err
44139 } && test -s conftest.
$ac_objext; then
44140 wx_cv_func_pthread_mutexattr_settype_decl
=yes
44142 echo "$as_me: failed program was:" >&5
44143 sed 's/^/| /' conftest.
$ac_ext >&5
44145 wx_cv_func_pthread_mutexattr_settype_decl
=no
44149 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44152 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
44153 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
44154 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
44155 cat >>confdefs.h
<<\_ACEOF
44156 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
44161 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
44162 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
44163 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
44164 echo $ECHO_N "(cached) $ECHO_C" >&6
44167 cat >conftest.
$ac_ext <<_ACEOF
44170 cat confdefs.h
>>conftest.
$ac_ext
44171 cat >>conftest.
$ac_ext <<_ACEOF
44172 /* end confdefs.h. */
44173 #include <pthread.h>
44178 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
44184 rm -f conftest.
$ac_objext
44185 if { (ac_try
="$ac_compile"
44186 case "(($ac_try" in
44187 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44188 *) ac_try_echo=$ac_try;;
44190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44191 (eval "$ac_compile") 2>conftest.er1
44193 grep -v '^ *+' conftest.er1 >conftest.err
44195 cat conftest.err >&5
44196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44197 (exit $ac_status); } && {
44198 test -z "$ac_c_werror_flag" ||
44199 test ! -s conftest.err
44200 } && test -s conftest.$ac_objext; then
44202 wx_cv_type_pthread_rec_mutex_init=yes
44205 echo "$as_me: failed program was:" >&5
44206 sed 's/^/| /' conftest.$ac_ext >&5
44209 wx_cv_type_pthread_rec_mutex_init=no
44214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44217 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
44218 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
44219 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
44220 cat >>confdefs.h <<\_ACEOF
44221 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
44225 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
44226 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
44230 if test "$wxUSE_COMPILER_TLS" = "auto"; then
44231 if test "$USE_NETBSD" = 1; then
44232 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
44233 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
44234 wxUSE_COMPILER_TLS=no
44236 wxUSE_COMPILER_TLS=yes
44240 if test "$wxUSE_COMPILER_TLS" = "yes"; then
44241 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
44242 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
44243 if test "${wx_cv_cc___thread+set}" = set; then
44244 echo $ECHO_N "(cached) $ECHO_C" >&6
44247 cat >conftest.$ac_ext <<_ACEOF
44250 cat confdefs.h >>conftest.$ac_ext
44251 cat >>conftest.$ac_ext <<_ACEOF
44252 /* end confdefs.h. */
44253 #include <pthread.h>
44258 static __thread int n = 0;
44259 static __thread int *p = 0;
44265 rm -f conftest.$ac_objext
44266 if { (ac_try="$ac_compile"
44267 case "(($ac_try" in
44268 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44269 *) ac_try_echo
=$ac_try;;
44271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44272 (eval "$ac_compile") 2>conftest.er1
44274 grep -v '^ *+' conftest.er1
>conftest.err
44276 cat conftest.err
>&5
44277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44278 (exit $ac_status); } && {
44279 test -z "$ac_c_werror_flag" ||
44280 test ! -s conftest.err
44281 } && test -s conftest.
$ac_objext; then
44282 wx_cv_cc___thread
=yes
44284 echo "$as_me: failed program was:" >&5
44285 sed 's/^/| /' conftest.
$ac_ext >&5
44287 wx_cv_cc___thread
=no
44291 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44295 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
44296 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
44298 if test "$wx_cv_cc___thread" = "yes"; then
44304 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
44305 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
44307 if test "x$GCC" = "xyes" ; then
44309 if test -z "" ; then
44311 ax_gcc_option_test
="int main()
44318 ax_gcc_option_test
=""
44323 # Dump the test program to file
44324 cat <<EOF > conftest.c
44325 $ax_gcc_option_test
44328 # Dump back the file to the log, useful for debugging purposes
44329 { ac_try
='cat conftest.c 1>&5'
44330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44331 (eval $ac_try) 2>&5
44333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334 (exit $ac_status); }; }
44336 if { ac_try
='$CC -dumpversion -c conftest.c 1>&5'
44337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44338 (eval $ac_try) 2>&5
44340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44341 (exit $ac_status); }; } ; then
44343 { echo "$as_me:$LINENO: result: yes" >&5
44344 echo "${ECHO_T}yes" >&6; }
44346 ax_gcc_version_option
=yes
44351 { echo "$as_me:$LINENO: result: no" >&5
44352 echo "${ECHO_T}no" >&6; }
44354 ax_gcc_version_option
=no
44362 { echo "$as_me:$LINENO: result: no gcc available" >&5
44363 echo "${ECHO_T}no gcc available" >&6; }
44368 if test "x$GXX" = "xyes"; then
44370 if test "x$ax_gxx_version_option" != "no"; then
44372 { echo "$as_me:$LINENO: checking gxx version" >&5
44373 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
44374 if test "${ax_cv_gxx_version+set}" = set; then
44375 echo $ECHO_N "(cached) $ECHO_C" >&6
44378 ax_cv_gxx_version
="`$CXX -dumpversion`"
44379 if test "x$ax_cv_gxx_version" = "x"; then
44381 ax_cv_gxx_version
=""
44387 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
44388 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
44389 GXX_VERSION
=$ax_cv_gxx_version
44398 if test -n "$ax_cv_gxx_version"; then
44399 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
44400 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
44401 case "$ax_cv_gxx_version" in
44403 { echo "$as_me:$LINENO: result: no, it's broken" >&5
44404 echo "${ECHO_T}no, it's broken" >&6; }
44405 wx_cv_cc___thread
=no
44408 { echo "$as_me:$LINENO: result: yes, it works" >&5
44409 echo "${ECHO_T}yes, it works" >&6; }
44415 if test "$wx_cv_cc___thread" = "yes"; then
44416 cat >>confdefs.h
<<\_ACEOF
44417 #define HAVE___THREAD_KEYWORD 1
44425 if test "$wxUSE_THREADS" = "yes" ; then
44427 x86_64
-*-mingw32* )
44430 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
44431 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
44432 if test "${wx_cv_cflags_mthread+set}" = set; then
44433 echo $ECHO_N "(cached) $ECHO_C" >&6
44436 CFLAGS_OLD
="$CFLAGS"
44437 CFLAGS
="-mthreads $CFLAGS"
44438 cat >conftest.
$ac_ext <<_ACEOF
44441 cat confdefs.h
>>conftest.
$ac_ext
44442 cat >>conftest.
$ac_ext <<_ACEOF
44443 /* end confdefs.h. */
44453 rm -f conftest.
$ac_objext
44454 if { (ac_try
="$ac_compile"
44455 case "(($ac_try" in
44456 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44457 *) ac_try_echo=$ac_try;;
44459 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44460 (eval "$ac_compile") 2>conftest.er1
44462 grep -v '^ *+' conftest.er1 >conftest.err
44464 cat conftest.err >&5
44465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44466 (exit $ac_status); } && {
44467 test -z "$ac_c_werror_flag" ||
44468 test ! -s conftest.err
44469 } && test -s conftest.$ac_objext; then
44470 wx_cv_cflags_mthread=yes
44472 echo "$as_me: failed program was:" >&5
44473 sed 's/^/| /' conftest.$ac_ext >&5
44475 wx_cv_cflags_mthread=no
44479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44483 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
44484 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
44486 if test "$wx_cv_cflags_mthread" = "yes"; then
44487 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
44488 LDFLAGS="$LDFLAGS -mthreads"
44490 CFLAGS="$CFLAGS_OLD"
44494 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
44495 LDFLAGS="$LDFLAGS -Zmt"
44501 { echo "$as_me:$LINENO: checking for localtime_r" >&5
44502 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
44503 if test "${ac_cv_func_localtime_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 localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
44513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44514 #define localtime_r innocuous_localtime_r
44516 /* System header to define __stub macros and hopefully few prototypes,
44517 which can conflict with char localtime_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. */
44535 char localtime_r ();
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_localtime_r || defined __stub___localtime_r
44546 return localtime_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_localtime_r
=yes
44571 echo "$as_me: failed program was:" >&5
44572 sed 's/^/| /' conftest.
$ac_ext >&5
44574 ac_cv_func_localtime_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_localtime_r" >&5
44581 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
44582 if test $ac_cv_func_localtime_r = yes; then
44583 cat >>confdefs.h
<<\_ACEOF
44584 #define HAVE_LOCALTIME_R 1
44589 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
44590 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
44591 if test "${ac_cv_func_gmtime_r+set}" = set; then
44592 echo $ECHO_N "(cached) $ECHO_C" >&6
44594 cat >conftest.
$ac_ext <<_ACEOF
44597 cat confdefs.h
>>conftest.
$ac_ext
44598 cat >>conftest.
$ac_ext <<_ACEOF
44599 /* end confdefs.h. */
44600 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
44601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44602 #define gmtime_r innocuous_gmtime_r
44604 /* System header to define __stub macros and hopefully few prototypes,
44605 which can conflict with char gmtime_r (); below.
44606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44607 <limits.h> exists even on freestanding compilers. */
44610 # include <limits.h>
44612 # include <assert.h>
44617 /* Override any GCC internal prototype to avoid an error.
44618 Use char because int might match the return type of a GCC
44619 builtin and then its argument prototype would still apply. */
44624 /* The GNU C library defines this for functions which it implements
44625 to always fail with ENOSYS. Some functions are actually named
44626 something starting with __ and the normal name is an alias. */
44627 #if defined __stub_gmtime_r || defined __stub___gmtime_r
44634 return gmtime_r ();
44639 rm -f conftest.
$ac_objext conftest
$ac_exeext
44640 if { (ac_try
="$ac_link"
44641 case "(($ac_try" in
44642 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44643 *) ac_try_echo=$ac_try;;
44645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44646 (eval "$ac_link") 2>conftest.er1
44648 grep -v '^ *+' conftest.er1 >conftest.err
44650 cat conftest.err >&5
44651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44652 (exit $ac_status); } && {
44653 test -z "$ac_c_werror_flag" ||
44654 test ! -s conftest.err
44655 } && test -s conftest$ac_exeext &&
44656 $as_test_x conftest$ac_exeext; then
44657 ac_cv_func_gmtime_r=yes
44659 echo "$as_me: failed program was:" >&5
44660 sed 's/^/| /' conftest.$ac_ext >&5
44662 ac_cv_func_gmtime_r=no
44665 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44666 conftest$ac_exeext conftest.$ac_ext
44668 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
44669 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
44670 if test $ac_cv_func_gmtime_r = yes; then
44671 cat >>confdefs.h <<\_ACEOF
44672 #define HAVE_GMTIME_R 1
44681 ac_cpp='$CPP $CPPFLAGS'
44682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44686 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
44687 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
44689 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
44690 echo $ECHO_N "(cached) $ECHO_C" >&6
44694 ################################################################
44696 ac_cv_func_which_gethostbyname_r=unknown
44699 # ONE ARGUMENT (sanity check)
44702 # This should fail, as there is no variant of gethostbyname_r() that takes
44703 # a single argument. If it actually compiles, then we can assume that
44704 # netdb.h is not declaring the function, and the compiler is thereby
44705 # assuming an implicit prototype. In which case, we're out of luck.
44707 cat >conftest.$ac_ext <<_ACEOF
44710 cat confdefs.h >>conftest.$ac_ext
44711 cat >>conftest.$ac_ext <<_ACEOF
44712 /* end confdefs.h. */
44718 char *name = "www.gnu.org";
44719 (void)gethostbyname_r(name) /* ; */
44726 rm -f conftest.$ac_objext
44727 if { (ac_try="$ac_compile"
44728 case "(($ac_try" in
44729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44730 *) ac_try_echo
=$ac_try;;
44732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44733 (eval "$ac_compile") 2>conftest.er1
44735 grep -v '^ *+' conftest.er1
>conftest.err
44737 cat conftest.err
>&5
44738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44739 (exit $ac_status); } && {
44740 test -z "$ac_c_werror_flag" ||
44741 test ! -s conftest.err
44742 } && test -s conftest.
$ac_objext; then
44743 ac_cv_func_which_gethostbyname_r
=no
44746 echo "$as_me: failed program was:" >&5
44747 sed 's/^/| /' conftest.
$ac_ext >&5
44752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44759 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44761 cat >conftest.
$ac_ext <<_ACEOF
44764 cat confdefs.h
>>conftest.
$ac_ext
44765 cat >>conftest.
$ac_ext <<_ACEOF
44766 /* end confdefs.h. */
44772 char *name = "www.gnu.org";
44773 struct hostent ret, *retp;
44777 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
44784 rm -f conftest.
$ac_objext
44785 if { (ac_try
="$ac_compile"
44786 case "(($ac_try" in
44787 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44788 *) ac_try_echo=$ac_try;;
44790 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44791 (eval "$ac_compile") 2>conftest.er1
44793 grep -v '^ *+' conftest.er1 >conftest.err
44795 cat conftest.err >&5
44796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44797 (exit $ac_status); } && {
44798 test -z "$ac_c_werror_flag" ||
44799 test ! -s conftest.err
44800 } && test -s conftest.$ac_objext; then
44801 ac_cv_func_which_gethostbyname_r=six
44804 echo "$as_me: failed program was:" >&5
44805 sed 's/^/| /' conftest.$ac_ext >&5
44810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44819 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44821 cat >conftest.$ac_ext <<_ACEOF
44824 cat confdefs.h >>conftest.$ac_ext
44825 cat >>conftest.$ac_ext <<_ACEOF
44826 /* end confdefs.h. */
44832 char *name = "www.gnu.org";
44833 struct hostent ret;
44837 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
44844 rm -f conftest.$ac_objext
44845 if { (ac_try="$ac_compile"
44846 case "(($ac_try" in
44847 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44848 *) ac_try_echo
=$ac_try;;
44850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44851 (eval "$ac_compile") 2>conftest.er1
44853 grep -v '^ *+' conftest.er1
>conftest.err
44855 cat conftest.err
>&5
44856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44857 (exit $ac_status); } && {
44858 test -z "$ac_c_werror_flag" ||
44859 test ! -s conftest.err
44860 } && test -s conftest.
$ac_objext; then
44861 ac_cv_func_which_gethostbyname_r
=five
44864 echo "$as_me: failed program was:" >&5
44865 sed 's/^/| /' conftest.
$ac_ext >&5
44870 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44876 # (e.g. AIX, HP-UX, Tru64)
44879 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
44881 cat >conftest.
$ac_ext <<_ACEOF
44884 cat confdefs.h
>>conftest.
$ac_ext
44885 cat >>conftest.
$ac_ext <<_ACEOF
44886 /* end confdefs.h. */
44892 char *name = "www.gnu.org";
44893 struct hostent ret;
44894 struct hostent_data data;
44895 (void)gethostbyname_r(name, &ret, &data) /* ; */
44902 rm -f conftest.
$ac_objext
44903 if { (ac_try
="$ac_compile"
44904 case "(($ac_try" in
44905 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44906 *) ac_try_echo=$ac_try;;
44908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44909 (eval "$ac_compile") 2>conftest.er1
44911 grep -v '^ *+' conftest.er1 >conftest.err
44913 cat conftest.err >&5
44914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44915 (exit $ac_status); } && {
44916 test -z "$ac_c_werror_flag" ||
44917 test ! -s conftest.err
44918 } && test -s conftest.$ac_objext; then
44919 ac_cv_func_which_gethostbyname_r=three
44922 echo "$as_me: failed program was:" >&5
44923 sed 's/^/| /' conftest.$ac_ext >&5
44928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44932 ################################################################
44937 case "$ac_cv_func_which_gethostbyname_r" in
44939 { echo "$as_me:$LINENO: result: three" >&5
44940 echo "${ECHO_T}three" >&6; }
44941 cat >>confdefs.h <<\_ACEOF
44942 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
44948 { echo "$as_me:$LINENO: result: five" >&5
44949 echo "${ECHO_T}five" >&6; }
44950 cat >>confdefs.h <<\_ACEOF
44951 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
44957 { echo "$as_me:$LINENO: result: six" >&5
44958 echo "${ECHO_T}six" >&6; }
44959 cat >>confdefs.h <<\_ACEOF
44960 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
44966 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
44967 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
44971 { echo "$as_me:$LINENO: result: can't tell" >&5
44972 echo "${ECHO_T}can't tell" >&6; }
44976 { { echo "$as_me:$LINENO: error: internal error" >&5
44977 echo "$as_me: error: internal error" >&2;}
44978 { (exit 1); exit 1; }; }
44983 ac_cpp='$CPP $CPPFLAGS'
44984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44990 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
44991 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
44992 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
44993 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
44994 if test "${ac_cv_func_gethostbyname+set}" = set; then
44995 echo $ECHO_N "(cached) $ECHO_C" >&6
44997 cat >conftest.$ac_ext <<_ACEOF
45000 cat confdefs.h >>conftest.$ac_ext
45001 cat >>conftest.$ac_ext <<_ACEOF
45002 /* end confdefs.h. */
45003 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
45004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45005 #define gethostbyname innocuous_gethostbyname
45007 /* System header to define __stub macros and hopefully few prototypes,
45008 which can conflict with char gethostbyname (); below.
45009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45010 <limits.h> exists even on freestanding compilers. */
45013 # include <limits.h>
45015 # include <assert.h>
45018 #undef gethostbyname
45020 /* Override any GCC internal prototype to avoid an error.
45021 Use char because int might match the return type of a GCC
45022 builtin and then its argument prototype would still apply. */
45026 char gethostbyname ();
45027 /* The GNU C library defines this for functions which it implements
45028 to always fail with ENOSYS. Some functions are actually named
45029 something starting with __ and the normal name is an alias. */
45030 #if defined __stub_gethostbyname || defined __stub___gethostbyname
45037 return gethostbyname ();
45042 rm -f conftest.$ac_objext conftest$ac_exeext
45043 if { (ac_try="$ac_link"
45044 case "(($ac_try" in
45045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45046 *) ac_try_echo
=$ac_try;;
45048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45049 (eval "$ac_link") 2>conftest.er1
45051 grep -v '^ *+' conftest.er1
>conftest.err
45053 cat conftest.err
>&5
45054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45055 (exit $ac_status); } && {
45056 test -z "$ac_c_werror_flag" ||
45057 test ! -s conftest.err
45058 } && test -s conftest
$ac_exeext &&
45059 $as_test_x conftest
$ac_exeext; then
45060 ac_cv_func_gethostbyname
=yes
45062 echo "$as_me: failed program was:" >&5
45063 sed 's/^/| /' conftest.
$ac_ext >&5
45065 ac_cv_func_gethostbyname
=no
45068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45069 conftest
$ac_exeext conftest.
$ac_ext
45071 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
45072 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
45073 if test $ac_cv_func_gethostbyname = yes; then
45074 cat >>confdefs.h
<<\_ACEOF
45075 #define HAVE_GETHOSTBYNAME 1
45082 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
45083 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
45084 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
45085 echo $ECHO_N "(cached) $ECHO_C" >&6
45089 ac_cpp
='$CXXCPP $CPPFLAGS'
45090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45095 cat >conftest.
$ac_ext <<_ACEOF
45098 cat confdefs.h
>>conftest.
$ac_ext
45099 cat >>conftest.
$ac_ext <<_ACEOF
45100 /* end confdefs.h. */
45108 struct servent *se, *res;
45111 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
45117 rm -f conftest.
$ac_objext
45118 if { (ac_try
="$ac_compile"
45119 case "(($ac_try" in
45120 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45121 *) ac_try_echo=$ac_try;;
45123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45124 (eval "$ac_compile") 2>conftest.er1
45126 grep -v '^ *+' conftest.er1 >conftest.err
45128 cat conftest.err >&5
45129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45130 (exit $ac_status); } && {
45131 test -z "$ac_cxx_werror_flag" ||
45132 test ! -s conftest.err
45133 } && test -s conftest.$ac_objext; then
45134 ac_cv_func_which_getservbyname_r=six
45136 echo "$as_me: failed program was:" >&5
45137 sed 's/^/| /' conftest.$ac_ext >&5
45140 cat >conftest.$ac_ext <<_ACEOF
45143 cat confdefs.h >>conftest.$ac_ext
45144 cat >>conftest.$ac_ext <<_ACEOF
45145 /* end confdefs.h. */
45153 struct servent *se;
45156 (void) getservbyname_r(name, proto, se, buffer, buflen)
45162 rm -f conftest.$ac_objext
45163 if { (ac_try="$ac_compile"
45164 case "(($ac_try" in
45165 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45166 *) ac_try_echo
=$ac_try;;
45168 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45169 (eval "$ac_compile") 2>conftest.er1
45171 grep -v '^ *+' conftest.er1
>conftest.err
45173 cat conftest.err
>&5
45174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45175 (exit $ac_status); } && {
45176 test -z "$ac_cxx_werror_flag" ||
45177 test ! -s conftest.err
45178 } && test -s conftest.
$ac_objext; then
45179 ac_cv_func_which_getservbyname_r
=five
45181 echo "$as_me: failed program was:" >&5
45182 sed 's/^/| /' conftest.
$ac_ext >&5
45185 cat >conftest.
$ac_ext <<_ACEOF
45188 cat confdefs.h
>>conftest.
$ac_ext
45189 cat >>conftest.
$ac_ext <<_ACEOF
45190 /* end confdefs.h. */
45198 struct servent *se;
45199 struct servent_data data;
45200 (void) getservbyname_r(name, proto, se, &data);
45206 rm -f conftest.
$ac_objext
45207 if { (ac_try
="$ac_compile"
45208 case "(($ac_try" in
45209 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45210 *) ac_try_echo=$ac_try;;
45212 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45213 (eval "$ac_compile") 2>conftest.er1
45215 grep -v '^ *+' conftest.er1 >conftest.err
45217 cat conftest.err >&5
45218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45219 (exit $ac_status); } && {
45220 test -z "$ac_cxx_werror_flag" ||
45221 test ! -s conftest.err
45222 } && test -s conftest.$ac_objext; then
45223 ac_cv_func_which_getservbyname_r=four
45225 echo "$as_me: failed program was:" >&5
45226 sed 's/^/| /' conftest.$ac_ext >&5
45228 ac_cv_func_which_getservbyname_r=no
45232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45244 ac_cpp='$CPP $CPPFLAGS'
45245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45252 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
45253 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
45255 if test $ac_cv_func_which_getservbyname_r = six; then
45256 cat >>confdefs.h <<\_ACEOF
45257 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
45260 elif test $ac_cv_func_which_getservbyname_r = five; then
45261 cat >>confdefs.h <<\_ACEOF
45262 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
45265 elif test $ac_cv_func_which_getservbyname_r = four; then
45266 cat >>confdefs.h <<\_ACEOF
45267 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
45273 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
45274 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
45276 for ac_func in getservbyname
45278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45279 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45281 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45282 echo $ECHO_N "(cached) $ECHO_C" >&6
45284 cat >conftest.$ac_ext <<_ACEOF
45287 cat confdefs.h >>conftest.$ac_ext
45288 cat >>conftest.$ac_ext <<_ACEOF
45289 /* end confdefs.h. */
45290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45292 #define $ac_func innocuous_$ac_func
45294 /* System header to define __stub macros and hopefully few prototypes,
45295 which can conflict with char $ac_func (); below.
45296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45297 <limits.h> exists even on freestanding compilers. */
45300 # include <limits.h>
45302 # include <assert.h>
45307 /* Override any GCC internal prototype to avoid an error.
45308 Use char because int might match the return type of a GCC
45309 builtin and then its argument prototype would still apply. */
45314 /* The GNU C library defines this for functions which it implements
45315 to always fail with ENOSYS. Some functions are actually named
45316 something starting with __ and the normal name is an alias. */
45317 #if defined __stub_$ac_func || defined __stub___$ac_func
45324 return $ac_func ();
45329 rm -f conftest.$ac_objext conftest$ac_exeext
45330 if { (ac_try="$ac_link"
45331 case "(($ac_try" in
45332 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45333 *) ac_try_echo
=$ac_try;;
45335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45336 (eval "$ac_link") 2>conftest.er1
45338 grep -v '^ *+' conftest.er1
>conftest.err
45340 cat conftest.err
>&5
45341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45342 (exit $ac_status); } && {
45343 test -z "$ac_c_werror_flag" ||
45344 test ! -s conftest.err
45345 } && test -s conftest
$ac_exeext &&
45346 $as_test_x conftest
$ac_exeext; then
45347 eval "$as_ac_var=yes"
45349 echo "$as_me: failed program was:" >&5
45350 sed 's/^/| /' conftest.
$ac_ext >&5
45352 eval "$as_ac_var=no"
45355 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45356 conftest
$ac_exeext conftest.
$ac_ext
45358 ac_res
=`eval echo '${'$as_ac_var'}'`
45359 { echo "$as_me:$LINENO: result: $ac_res" >&5
45360 echo "${ECHO_T}$ac_res" >&6; }
45361 if test `eval echo '${'$as_ac_var'}'` = yes; then
45362 cat >>confdefs.h
<<_ACEOF
45363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45365 cat >>confdefs.h
<<\_ACEOF
45366 #define HAVE_GETSERVBYNAME 1
45374 if test "$wxUSE_THREADS" = "yes"; then
45375 cat >>confdefs.h
<<\_ACEOF
45376 #define wxUSE_THREADS 1
45380 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
45382 if test "$wx_cv_func_strtok_r" = "yes"; then
45383 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
45384 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
45385 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
45386 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -D_REENTRANT"
45387 { echo "$as_me:$LINENO: result: yes" >&5
45388 echo "${ECHO_T}yes" >&6; }
45390 { echo "$as_me:$LINENO: result: no" >&5
45391 echo "${ECHO_T}no" >&6; }
45396 if test "$WXGTK2" = 1 ; then
45397 cat >>confdefs.h
<<_ACEOF
45398 #define __WXGTK20__ $WXGTK2
45403 if test "$WXGTK127" = 1 ; then
45404 cat >>confdefs.h
<<_ACEOF
45405 #define __WXGTK127__ $WXGTK127
45410 if test "$WXGPE" = 1 ; then
45411 cat >>confdefs.h
<<_ACEOF
45412 #define __WXGPE__ $WXGPE
45418 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
45419 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
45420 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
45421 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
45425 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
45426 wxUSE_DEBUG_INFO
=yes
45427 if test "$GCC" = yes; then
45428 DEBUG_CFLAGS
="-ggdb"
45432 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
45433 WXCONFIG_CPPFLAGS
="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
45435 if test "$wxUSE_GTK" = 1 ; then
45436 if test "x$wxGTK_VERSION" = "x1" ; then
45437 CPPFLAGS
="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
45439 CPPFLAGS
="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
45444 if test "$wxUSE_MEM_TRACING" = "yes" ; then
45445 cat >>confdefs.h
<<\_ACEOF
45446 #define wxUSE_MEMORY_TRACING 1
45449 cat >>confdefs.h
<<\_ACEOF
45450 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
45453 cat >>confdefs.h
<<\_ACEOF
45454 #define wxUSE_DEBUG_NEW_ALWAYS 1
45457 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
45460 if test "$wxUSE_DMALLOC" = "yes" ; then
45461 DMALLOC_LIBS
="-ldmallocthcxx"
45465 if test "$wxUSE_PROFILE" = "yes" ; then
45466 PROFILE_FLAGS
=" -pg"
45469 if test "$GCC" = "yes" ; then
45470 if test "$wxUSE_NO_RTTI" = "yes" ; then
45471 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
45473 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45474 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fno-exceptions"
45476 if test "$wxUSE_PERMISSIVE" = "yes" ; then
45477 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -fpermissive"
45482 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mminimal-toc"
45485 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -ffunction-sections"
45491 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
45492 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
45493 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
45495 if test "$wxUSE_OPTIMISE" = "no" ; then
45496 if test "$GCC" = yes ; then
45497 OPTIMISE_CFLAGS
="-O0"
45500 if test "$GCC" = yes ; then
45502 *-pc-os2_emx | *-pc-os2-emx )
45503 OPTIMISE_CFLAGS
="-O2"
45506 OPTIMISE_CFLAGS
="-O2 -fno-strict-aliasing"
45510 OPTIMISE_CFLAGS
="-O"
45516 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
45517 cat >>confdefs.h
<<\_ACEOF
45518 #define WXWIN_COMPATIBILITY_2_6 1
45522 WXWIN_COMPATIBILITY_2_8
="yes"
45525 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
45526 cat >>confdefs.h
<<\_ACEOF
45527 #define WXWIN_COMPATIBILITY_2_8 1
45533 if test "$wxUSE_GUI" = "yes"; then
45534 cat >>confdefs.h
<<\_ACEOF
45535 #define wxUSE_GUI 1
45542 if test "$wxUSE_UNIX" = "yes"; then
45543 cat >>confdefs.h
<<\_ACEOF
45544 #define wxUSE_UNIX 1
45550 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
45554 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
45555 if test "$USE_DOS" = 1; then
45559 for ac_func
in dlopen
45561 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45562 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45564 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45565 echo $ECHO_N "(cached) $ECHO_C" >&6
45567 cat >conftest.
$ac_ext <<_ACEOF
45570 cat confdefs.h
>>conftest.
$ac_ext
45571 cat >>conftest.
$ac_ext <<_ACEOF
45572 /* end confdefs.h. */
45573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45575 #define $ac_func innocuous_$ac_func
45577 /* System header to define __stub macros and hopefully few prototypes,
45578 which can conflict with char $ac_func (); below.
45579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45580 <limits.h> exists even on freestanding compilers. */
45583 # include <limits.h>
45585 # include <assert.h>
45590 /* Override any GCC internal prototype to avoid an error.
45591 Use char because int might match the return type of a GCC
45592 builtin and then its argument prototype would still apply. */
45597 /* The GNU C library defines this for functions which it implements
45598 to always fail with ENOSYS. Some functions are actually named
45599 something starting with __ and the normal name is an alias. */
45600 #if defined __stub_$ac_func || defined __stub___$ac_func
45607 return $ac_func ();
45612 rm -f conftest.
$ac_objext conftest
$ac_exeext
45613 if { (ac_try
="$ac_link"
45614 case "(($ac_try" in
45615 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45616 *) ac_try_echo=$ac_try;;
45618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45619 (eval "$ac_link") 2>conftest.er1
45621 grep -v '^ *+' conftest.er1 >conftest.err
45623 cat conftest.err >&5
45624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45625 (exit $ac_status); } && {
45626 test -z "$ac_c_werror_flag" ||
45627 test ! -s conftest.err
45628 } && test -s conftest$ac_exeext &&
45629 $as_test_x conftest$ac_exeext; then
45630 eval "$as_ac_var=yes"
45632 echo "$as_me: failed program was:" >&5
45633 sed 's/^/| /' conftest.$ac_ext >&5
45635 eval "$as_ac_var=no"
45638 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45639 conftest$ac_exeext conftest.$ac_ext
45641 ac_res=`eval echo '${'$as_ac_var'}'`
45642 { echo "$as_me:$LINENO: result: $ac_res" >&5
45643 echo "${ECHO_T}$ac_res" >&6; }
45644 if test `eval echo '${'$as_ac_var'}'` = yes; then
45645 cat >>confdefs.h <<_ACEOF
45646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45649 cat >>confdefs.h <<\_ACEOF
45650 #define HAVE_DLOPEN 1
45657 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
45658 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
45659 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
45660 echo $ECHO_N "(cached) $ECHO_C" >&6
45662 ac_check_lib_save_LIBS=$LIBS
45664 cat >conftest.$ac_ext <<_ACEOF
45667 cat confdefs.h >>conftest.$ac_ext
45668 cat >>conftest.$ac_ext <<_ACEOF
45669 /* end confdefs.h. */
45671 /* Override any GCC internal prototype to avoid an error.
45672 Use char because int might match the return type of a GCC
45673 builtin and then its argument prototype would still apply. */
45686 rm -f conftest.$ac_objext conftest$ac_exeext
45687 if { (ac_try="$ac_link"
45688 case "(($ac_try" in
45689 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45690 *) ac_try_echo
=$ac_try;;
45692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45693 (eval "$ac_link") 2>conftest.er1
45695 grep -v '^ *+' conftest.er1
>conftest.err
45697 cat conftest.err
>&5
45698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45699 (exit $ac_status); } && {
45700 test -z "$ac_c_werror_flag" ||
45701 test ! -s conftest.err
45702 } && test -s conftest
$ac_exeext &&
45703 $as_test_x conftest
$ac_exeext; then
45704 ac_cv_lib_dl_dlopen
=yes
45706 echo "$as_me: failed program was:" >&5
45707 sed 's/^/| /' conftest.
$ac_ext >&5
45709 ac_cv_lib_dl_dlopen
=no
45712 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45713 conftest
$ac_exeext conftest.
$ac_ext
45714 LIBS
=$ac_check_lib_save_LIBS
45716 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
45717 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
45718 if test $ac_cv_lib_dl_dlopen = yes; then
45720 cat >>confdefs.h
<<\_ACEOF
45721 #define HAVE_DLOPEN 1
45725 DL_LINK
=" -ldl$DL_LINK"
45730 for ac_func
in shl_load
45732 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45735 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45736 echo $ECHO_N "(cached) $ECHO_C" >&6
45738 cat >conftest.
$ac_ext <<_ACEOF
45741 cat confdefs.h
>>conftest.
$ac_ext
45742 cat >>conftest.
$ac_ext <<_ACEOF
45743 /* end confdefs.h. */
45744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45746 #define $ac_func innocuous_$ac_func
45748 /* System header to define __stub macros and hopefully few prototypes,
45749 which can conflict with char $ac_func (); below.
45750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45751 <limits.h> exists even on freestanding compilers. */
45754 # include <limits.h>
45756 # include <assert.h>
45761 /* Override any GCC internal prototype to avoid an error.
45762 Use char because int might match the return type of a GCC
45763 builtin and then its argument prototype would still apply. */
45768 /* The GNU C library defines this for functions which it implements
45769 to always fail with ENOSYS. Some functions are actually named
45770 something starting with __ and the normal name is an alias. */
45771 #if defined __stub_$ac_func || defined __stub___$ac_func
45778 return $ac_func ();
45783 rm -f conftest.
$ac_objext conftest
$ac_exeext
45784 if { (ac_try
="$ac_link"
45785 case "(($ac_try" in
45786 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45787 *) ac_try_echo=$ac_try;;
45789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45790 (eval "$ac_link") 2>conftest.er1
45792 grep -v '^ *+' conftest.er1 >conftest.err
45794 cat conftest.err >&5
45795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45796 (exit $ac_status); } && {
45797 test -z "$ac_c_werror_flag" ||
45798 test ! -s conftest.err
45799 } && test -s conftest$ac_exeext &&
45800 $as_test_x conftest$ac_exeext; then
45801 eval "$as_ac_var=yes"
45803 echo "$as_me: failed program was:" >&5
45804 sed 's/^/| /' conftest.$ac_ext >&5
45806 eval "$as_ac_var=no"
45809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45810 conftest$ac_exeext conftest.$ac_ext
45812 ac_res=`eval echo '${'$as_ac_var'}'`
45813 { echo "$as_me:$LINENO: result: $ac_res" >&5
45814 echo "${ECHO_T}$ac_res" >&6; }
45815 if test `eval echo '${'$as_ac_var'}'` = yes; then
45816 cat >>confdefs.h <<_ACEOF
45817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45820 cat >>confdefs.h <<\_ACEOF
45821 #define HAVE_SHL_LOAD 1
45828 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
45829 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
45830 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
45831 echo $ECHO_N "(cached) $ECHO_C" >&6
45833 ac_check_lib_save_LIBS=$LIBS
45834 LIBS="-lshl_load $LIBS"
45835 cat >conftest.$ac_ext <<_ACEOF
45838 cat confdefs.h >>conftest.$ac_ext
45839 cat >>conftest.$ac_ext <<_ACEOF
45840 /* end confdefs.h. */
45842 /* Override any GCC internal prototype to avoid an error.
45843 Use char because int might match the return type of a GCC
45844 builtin and then its argument prototype would still apply. */
45857 rm -f conftest.$ac_objext conftest$ac_exeext
45858 if { (ac_try="$ac_link"
45859 case "(($ac_try" in
45860 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45861 *) ac_try_echo
=$ac_try;;
45863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45864 (eval "$ac_link") 2>conftest.er1
45866 grep -v '^ *+' conftest.er1
>conftest.err
45868 cat conftest.err
>&5
45869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45870 (exit $ac_status); } && {
45871 test -z "$ac_c_werror_flag" ||
45872 test ! -s conftest.err
45873 } && test -s conftest
$ac_exeext &&
45874 $as_test_x conftest
$ac_exeext; then
45875 ac_cv_lib_shl_load_dld
=yes
45877 echo "$as_me: failed program was:" >&5
45878 sed 's/^/| /' conftest.
$ac_ext >&5
45880 ac_cv_lib_shl_load_dld
=no
45883 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
45884 conftest
$ac_exeext conftest.
$ac_ext
45885 LIBS
=$ac_check_lib_save_LIBS
45887 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
45888 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
45889 if test $ac_cv_lib_shl_load_dld = yes; then
45892 DL_LINK
=" -ldld$DL_LINK"
45908 if test "$HAVE_DL_FUNCS" = 1; then
45910 for ac_func
in dlerror
45912 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45913 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45915 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45916 echo $ECHO_N "(cached) $ECHO_C" >&6
45918 cat >conftest.
$ac_ext <<_ACEOF
45921 cat confdefs.h
>>conftest.
$ac_ext
45922 cat >>conftest.
$ac_ext <<_ACEOF
45923 /* end confdefs.h. */
45924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45926 #define $ac_func innocuous_$ac_func
45928 /* System header to define __stub macros and hopefully few prototypes,
45929 which can conflict with char $ac_func (); below.
45930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45931 <limits.h> exists even on freestanding compilers. */
45934 # include <limits.h>
45936 # include <assert.h>
45941 /* Override any GCC internal prototype to avoid an error.
45942 Use char because int might match the return type of a GCC
45943 builtin and then its argument prototype would still apply. */
45948 /* The GNU C library defines this for functions which it implements
45949 to always fail with ENOSYS. Some functions are actually named
45950 something starting with __ and the normal name is an alias. */
45951 #if defined __stub_$ac_func || defined __stub___$ac_func
45958 return $ac_func ();
45963 rm -f conftest.
$ac_objext conftest
$ac_exeext
45964 if { (ac_try
="$ac_link"
45965 case "(($ac_try" in
45966 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45967 *) ac_try_echo=$ac_try;;
45969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45970 (eval "$ac_link") 2>conftest.er1
45972 grep -v '^ *+' conftest.er1 >conftest.err
45974 cat conftest.err >&5
45975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45976 (exit $ac_status); } && {
45977 test -z "$ac_c_werror_flag" ||
45978 test ! -s conftest.err
45979 } && test -s conftest$ac_exeext &&
45980 $as_test_x conftest$ac_exeext; then
45981 eval "$as_ac_var=yes"
45983 echo "$as_me: failed program was:" >&5
45984 sed 's/^/| /' conftest.$ac_ext >&5
45986 eval "$as_ac_var=no"
45989 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45990 conftest$ac_exeext conftest.$ac_ext
45992 ac_res=`eval echo '${'$as_ac_var'}'`
45993 { echo "$as_me:$LINENO: result: $ac_res" >&5
45994 echo "${ECHO_T}$ac_res" >&6; }
45995 if test `eval echo '${'$as_ac_var'}'` = yes; then
45996 cat >>confdefs.h <<_ACEOF
45997 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45999 cat >>confdefs.h <<\_ACEOF
46000 #define HAVE_DLERROR 1
46005 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
46006 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
46007 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
46008 echo $ECHO_N "(cached) $ECHO_C" >&6
46010 ac_check_lib_save_LIBS=$LIBS
46012 cat >conftest.$ac_ext <<_ACEOF
46015 cat confdefs.h >>conftest.$ac_ext
46016 cat >>conftest.$ac_ext <<_ACEOF
46017 /* end confdefs.h. */
46019 /* Override any GCC internal prototype to avoid an error.
46020 Use char because int might match the return type of a GCC
46021 builtin and then its argument prototype would still apply. */
46034 rm -f conftest.$ac_objext conftest$ac_exeext
46035 if { (ac_try="$ac_link"
46036 case "(($ac_try" in
46037 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46038 *) ac_try_echo
=$ac_try;;
46040 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46041 (eval "$ac_link") 2>conftest.er1
46043 grep -v '^ *+' conftest.er1
>conftest.err
46045 cat conftest.err
>&5
46046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46047 (exit $ac_status); } && {
46048 test -z "$ac_c_werror_flag" ||
46049 test ! -s conftest.err
46050 } && test -s conftest
$ac_exeext &&
46051 $as_test_x conftest
$ac_exeext; then
46052 ac_cv_lib_dl_dlerror
=yes
46054 echo "$as_me: failed program was:" >&5
46055 sed 's/^/| /' conftest.
$ac_ext >&5
46057 ac_cv_lib_dl_dlerror
=no
46060 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46061 conftest
$ac_exeext conftest.
$ac_ext
46062 LIBS
=$ac_check_lib_save_LIBS
46064 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
46065 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
46066 if test $ac_cv_lib_dl_dlerror = yes; then
46067 cat >>confdefs.h
<<\_ACEOF
46068 #define HAVE_DLERROR 1
46081 if test "$USE_DARWIN" = 1; then
46085 if test "$HAVE_DL_FUNCS" = 0; then
46086 if test "$HAVE_SHL_FUNCS" = 0; then
46087 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
46088 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
46089 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
46090 wxUSE_DYNAMIC_LOADER
=no
46091 wxUSE_DYNLIB_CLASS
=no
46093 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
46094 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
46101 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
46102 cat >>confdefs.h
<<\_ACEOF
46103 #define wxUSE_DYNAMIC_LOADER 1
46107 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
46108 cat >>confdefs.h
<<\_ACEOF
46109 #define wxUSE_DYNLIB_CLASS 1
46116 if test "$wxUSE_PLUGINS" = "yes" ; then
46117 if test "$wxUSE_SHARED" = "no" ; then
46118 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
46119 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
46122 if test "$wxUSE_MONOLITHIC" = "yes" ; then
46123 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
46124 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
46127 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
46128 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
46129 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
46132 if test "$wxUSE_PLUGINS" = "yes" ; then
46133 cat >>confdefs.h
<<\_ACEOF
46134 #define wxUSE_PLUGINS 1
46141 if test "$wxUSE_FSWATCHER" = "yes"; then
46142 if test "$wxUSE_MSW" != "1"; then
46143 if test "$wxUSE_UNIX" = "yes"; then
46145 for ac_header
in sys
/inotify.h
46147 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46148 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46149 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46150 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46151 echo $ECHO_N "(cached) $ECHO_C" >&6
46153 cat >conftest.
$ac_ext <<_ACEOF
46156 cat confdefs.h
>>conftest.
$ac_ext
46157 cat >>conftest.
$ac_ext <<_ACEOF
46158 /* end confdefs.h. */
46159 $ac_includes_default
46161 #include <$ac_header>
46163 rm -f conftest.
$ac_objext
46164 if { (ac_try
="$ac_compile"
46165 case "(($ac_try" in
46166 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46167 *) ac_try_echo=$ac_try;;
46169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46170 (eval "$ac_compile") 2>conftest.er1
46172 grep -v '^ *+' conftest.er1 >conftest.err
46174 cat conftest.err >&5
46175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46176 (exit $ac_status); } && {
46177 test -z "$ac_c_werror_flag" ||
46178 test ! -s conftest.err
46179 } && test -s conftest.$ac_objext; then
46180 eval "$as_ac_Header=yes"
46182 echo "$as_me: failed program was:" >&5
46183 sed 's/^/| /' conftest.$ac_ext >&5
46185 eval "$as_ac_Header=no"
46188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46190 ac_res=`eval echo '${'$as_ac_Header'}'`
46191 { echo "$as_me:$LINENO: result: $ac_res" >&5
46192 echo "${ECHO_T}$ac_res" >&6; }
46193 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46194 cat >>confdefs.h <<_ACEOF
46195 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46202 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
46203 cat >>confdefs.h <<\_ACEOF
46204 #define wxHAS_INOTIFY 1
46209 for ac_header in sys/event.h
46211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46212 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46215 echo $ECHO_N "(cached) $ECHO_C" >&6
46217 cat >conftest.$ac_ext <<_ACEOF
46220 cat confdefs.h >>conftest.$ac_ext
46221 cat >>conftest.$ac_ext <<_ACEOF
46222 /* end confdefs.h. */
46223 $ac_includes_default
46225 #include <$ac_header>
46227 rm -f conftest.$ac_objext
46228 if { (ac_try="$ac_compile"
46229 case "(($ac_try" in
46230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46231 *) ac_try_echo
=$ac_try;;
46233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46234 (eval "$ac_compile") 2>conftest.er1
46236 grep -v '^ *+' conftest.er1
>conftest.err
46238 cat conftest.err
>&5
46239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46240 (exit $ac_status); } && {
46241 test -z "$ac_c_werror_flag" ||
46242 test ! -s conftest.err
46243 } && test -s conftest.
$ac_objext; then
46244 eval "$as_ac_Header=yes"
46246 echo "$as_me: failed program was:" >&5
46247 sed 's/^/| /' conftest.
$ac_ext >&5
46249 eval "$as_ac_Header=no"
46252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46254 ac_res
=`eval echo '${'$as_ac_Header'}'`
46255 { echo "$as_me:$LINENO: result: $ac_res" >&5
46256 echo "${ECHO_T}$ac_res" >&6; }
46257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
46258 cat >>confdefs.h
<<_ACEOF
46259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
46266 if test "$ac_cv_header_sys_event_h" = "yes"; then
46267 cat >>confdefs.h
<<\_ACEOF
46268 #define wxHAS_KQUEUE 1
46279 if test "$wxUSE_THREADS" != "yes"; then
46280 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
46281 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
46286 if test "$wxUSE_FSWATCHER" = "yes"; then
46287 cat >>confdefs.h
<<\_ACEOF
46288 #define wxUSE_FSWATCHER 1
46291 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS fswatcher"
46293 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
46294 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
46299 if test "$wxUSE_STL" = "yes"; then
46300 cat >>confdefs.h
<<\_ACEOF
46301 #define wxUSE_STL 1
46306 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
46307 cat >>confdefs.h
<<\_ACEOF
46308 #define wxUSE_EXTENDED_RTTI 1
46313 if test "$wxUSE_ANY" = "yes"; then
46314 cat >>confdefs.h
<<\_ACEOF
46315 #define wxUSE_ANY 1
46320 if test "$wxUSE_APPLE_IEEE" = "yes"; then
46321 cat >>confdefs.h
<<\_ACEOF
46322 #define wxUSE_APPLE_IEEE 1
46327 if test "$wxUSE_TIMER" = "yes"; then
46328 cat >>confdefs.h
<<\_ACEOF
46329 #define wxUSE_TIMER 1
46334 if test "$USE_UNIX" = 1 ; then
46335 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
46336 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
46337 if test "${ac_cv_header_sys_soundcard+set}" = set; then
46338 echo $ECHO_N "(cached) $ECHO_C" >&6
46341 cat >conftest.
$ac_ext <<_ACEOF
46344 cat confdefs.h
>>conftest.
$ac_ext
46345 cat >>conftest.
$ac_ext <<_ACEOF
46346 /* end confdefs.h. */
46348 #include <sys/ioctl.h>
46349 #include <sys/soundcard.h>
46355 ioctl(0, SNDCTL_DSP_SPEED, 0);
46361 rm -f conftest.
$ac_objext conftest
$ac_exeext
46362 if { (ac_try
="$ac_link"
46363 case "(($ac_try" in
46364 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46365 *) ac_try_echo=$ac_try;;
46367 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46368 (eval "$ac_link") 2>conftest.er1
46370 grep -v '^ *+' conftest.er1 >conftest.err
46372 cat conftest.err >&5
46373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46374 (exit $ac_status); } && {
46375 test -z "$ac_c_werror_flag" ||
46376 test ! -s conftest.err
46377 } && test -s conftest$ac_exeext &&
46378 $as_test_x conftest$ac_exeext; then
46379 ac_cv_header_sys_soundcard=yes
46381 echo "$as_me: failed program was:" >&5
46382 sed 's/^/| /' conftest.$ac_ext >&5
46386 LIBS="$saveLibs -lossaudio"
46387 cat >conftest.$ac_ext <<_ACEOF
46390 cat confdefs.h >>conftest.$ac_ext
46391 cat >>conftest.$ac_ext <<_ACEOF
46392 /* end confdefs.h. */
46394 #include <sys/ioctl.h>
46395 #include <sys/soundcard.h>
46401 ioctl(0, SNDCTL_DSP_SPEED, 0);
46407 rm -f conftest.$ac_objext conftest$ac_exeext
46408 if { (ac_try="$ac_link"
46409 case "(($ac_try" in
46410 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46411 *) ac_try_echo
=$ac_try;;
46413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46414 (eval "$ac_link") 2>conftest.er1
46416 grep -v '^ *+' conftest.er1
>conftest.err
46418 cat conftest.err
>&5
46419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46420 (exit $ac_status); } && {
46421 test -z "$ac_c_werror_flag" ||
46422 test ! -s conftest.err
46423 } && test -s conftest
$ac_exeext &&
46424 $as_test_x conftest
$ac_exeext; then
46425 ac_cv_header_sys_soundcard
=yes
46427 echo "$as_me: failed program was:" >&5
46428 sed 's/^/| /' conftest.
$ac_ext >&5
46432 ac_cv_header_sys_soundcard
=no
46437 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46438 conftest
$ac_exeext conftest.
$ac_ext
46443 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46444 conftest
$ac_exeext conftest.
$ac_ext
46447 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
46448 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
46450 if test "$ac_cv_header_sys_soundcard" = "yes"; then
46451 cat >>confdefs.h
<<\_ACEOF
46452 #define HAVE_SYS_SOUNDCARD_H 1
46459 if test "$wxUSE_SOUND" = "yes"; then
46460 if test "$USE_UNIX" = 1 ; then
46461 if test "$wxUSE_LIBSDL" != "no"; then
46463 # Check whether --with-sdl-prefix was given.
46464 if test "${with_sdl_prefix+set}" = set; then
46465 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
46471 # Check whether --with-sdl-exec-prefix was given.
46472 if test "${with_sdl_exec_prefix+set}" = set; then
46473 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
46478 # Check whether --enable-sdltest was given.
46479 if test "${enable_sdltest+set}" = set; then
46480 enableval
=$enable_sdltest;
46486 if test x
$sdl_exec_prefix != x
; then
46487 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
46488 if test x
${SDL_CONFIG+set} != xset
; then
46489 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl
-config
46492 if test x
$sdl_prefix != x
; then
46493 sdl_args
="$sdl_args --prefix=$sdl_prefix"
46494 if test x
${SDL_CONFIG+set} != xset
; then
46495 SDL_CONFIG
=$sdl_prefix/bin
/sdl
-config
46499 if test "x$prefix" != xNONE
; then
46500 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
46502 # Extract the first word of "sdl-config", so it can be a program name with args.
46503 set dummy sdl
-config; ac_word
=$2
46504 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46506 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
46507 echo $ECHO_N "(cached) $ECHO_C" >&6
46509 case $SDL_CONFIG in
46511 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
46514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
46515 for as_dir
in $PATH
46518 test -z "$as_dir" && as_dir
=.
46519 for ac_exec_ext
in '' $ac_executable_extensions; do
46520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46521 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
46522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46529 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
46533 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
46534 if test -n "$SDL_CONFIG"; then
46535 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
46536 echo "${ECHO_T}$SDL_CONFIG" >&6; }
46538 { echo "$as_me:$LINENO: result: no" >&5
46539 echo "${ECHO_T}no" >&6; }
46543 min_sdl_version
=1.2.0
46544 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
46545 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
46547 if test "$SDL_CONFIG" = "no" ; then
46550 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
46551 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
46553 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
46554 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
46555 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
46556 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
46557 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
46558 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
46559 if test "x$enable_sdltest" = "xyes" ; then
46560 ac_save_CFLAGS
="$CFLAGS"
46561 ac_save_CXXFLAGS
="$CXXFLAGS"
46562 ac_save_LIBS
="$LIBS"
46563 CFLAGS
="$CFLAGS $SDL_CFLAGS"
46564 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
46565 LIBS
="$LIBS $SDL_LIBS"
46567 if test "$cross_compiling" = yes; then
46568 echo $ac_n "cross compiling; assumed OK... $ac_c"
46570 cat >conftest.
$ac_ext <<_ACEOF
46573 cat confdefs.h
>>conftest.
$ac_ext
46574 cat >>conftest.
$ac_ext <<_ACEOF
46575 /* end confdefs.h. */
46578 #include <stdlib.h>
46579 #include <string.h>
46583 my_strdup (char *str)
46589 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
46590 strcpy (new_str, str);
46598 int main (int argc, char *argv[])
46600 int major, minor, micro;
46603 /* This hangs on some systems (?)
46604 system ("touch conf.sdltest");
46606 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
46608 /* HP/UX 9 (%@#!) writes to sscanf strings */
46609 tmp_version = my_strdup("$min_sdl_version");
46610 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
46611 printf("%s, bad version string\n", "$min_sdl_version");
46615 if (($sdl_major_version > major) ||
46616 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
46617 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
46623 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
46624 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
46625 printf("*** best to upgrade to the required version.\n");
46626 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
46627 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
46628 printf("*** config.cache before re-running configure\n");
46635 rm -f conftest
$ac_exeext
46636 if { (ac_try
="$ac_link"
46637 case "(($ac_try" in
46638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46639 *) ac_try_echo=$ac_try;;
46641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46642 (eval "$ac_link") 2>&5
46644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46645 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46646 { (case "(($ac_try" in
46647 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46648 *) ac_try_echo
=$ac_try;;
46650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46651 (eval "$ac_try") 2>&5
46653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46654 (exit $ac_status); }; }; then
46657 echo "$as_me: program exited with status $ac_status" >&5
46658 echo "$as_me: failed program was:" >&5
46659 sed 's/^/| /' conftest.
$ac_ext >&5
46661 ( exit $ac_status )
46664 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
46668 CFLAGS
="$ac_save_CFLAGS"
46669 CXXFLAGS
="$ac_save_CXXFLAGS"
46670 LIBS
="$ac_save_LIBS"
46673 if test "x$no_sdl" = x
; then
46674 { echo "$as_me:$LINENO: result: yes" >&5
46675 echo "${ECHO_T}yes" >&6; }
46677 EXTRALIBS_SDL
="$SDL_LIBS"
46678 CFLAGS
="$SDL_CFLAGS $CFLAGS"
46679 CXXFLAGS
="$SDL_CFLAGS $CXXFLAGS"
46680 cat >>confdefs.h
<<\_ACEOF
46681 #define wxUSE_LIBSDL 1
46686 { echo "$as_me:$LINENO: result: no" >&5
46687 echo "${ECHO_T}no" >&6; }
46688 if test "$SDL_CONFIG" = "no" ; then
46689 echo "*** The sdl-config script installed by SDL could not be found"
46690 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
46691 echo "*** your path, or set the SDL_CONFIG environment variable to the"
46692 echo "*** full path to sdl-config."
46694 if test -f conf.sdltest
; then
46697 echo "*** Could not run SDL test program, checking why..."
46698 CFLAGS
="$CFLAGS $SDL_CFLAGS"
46699 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
46700 LIBS
="$LIBS $SDL_LIBS"
46701 cat >conftest.
$ac_ext <<_ACEOF
46704 cat confdefs.h
>>conftest.
$ac_ext
46705 cat >>conftest.
$ac_ext <<_ACEOF
46706 /* end confdefs.h. */
46711 int main(int argc, char *argv[])
46714 #define main K_and_R_C_main
46724 rm -f conftest.
$ac_objext conftest
$ac_exeext
46725 if { (ac_try
="$ac_link"
46726 case "(($ac_try" in
46727 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46728 *) ac_try_echo=$ac_try;;
46730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46731 (eval "$ac_link") 2>conftest.er1
46733 grep -v '^ *+' conftest.er1 >conftest.err
46735 cat conftest.err >&5
46736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46737 (exit $ac_status); } && {
46738 test -z "$ac_c_werror_flag" ||
46739 test ! -s conftest.err
46740 } && test -s conftest$ac_exeext &&
46741 $as_test_x conftest$ac_exeext; then
46742 echo "*** The test program compiled, but did not run. This usually means"
46743 echo "*** that the run-time linker is not finding SDL or finding the wrong"
46744 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
46745 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
46746 echo "*** to the installed location Also, make sure you have run ldconfig if that"
46747 echo "*** is required on your system"
46749 echo "*** If you have an old version installed, it is best to remove it, although"
46750 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
46752 echo "$as_me: failed program was:" >&5
46753 sed 's/^/| /' conftest.$ac_ext >&5
46755 echo "*** The test program failed to compile or link. See the file config.log for the"
46756 echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
46757 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
46758 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
46761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46762 conftest$ac_exeext conftest.$ac_ext
46763 CFLAGS="$ac_save_CFLAGS"
46764 CXXFLAGS="$ac_save_CXXFLAGS"
46765 LIBS="$ac_save_LIBS"
46776 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
46783 if test "$wxUSE_SOUND" = "yes"; then
46784 cat >>confdefs.h <<\_ACEOF
46785 #define wxUSE_SOUND 1
46788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
46791 if test "$WXGTK2" = 1; then
46794 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
46795 if test -n "$ac_tool_prefix"; then
46796 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
46797 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
46798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46800 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
46801 echo $ECHO_N "(cached) $ECHO_C" >&6
46803 case $PKG_CONFIG in
46805 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
46808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46809 for as_dir in $PATH
46812 test -z "$as_dir" && as_dir=.
46813 for ac_exec_ext in '' $ac_executable_extensions; do
46814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46815 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46826 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
46827 if test -n "$PKG_CONFIG"; then
46828 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
46829 echo "${ECHO_T}$PKG_CONFIG" >&6; }
46831 { echo "$as_me:$LINENO: result: no" >&5
46832 echo "${ECHO_T}no" >&6; }
46837 if test -z "$ac_cv_path_PKG_CONFIG"; then
46838 ac_pt_PKG_CONFIG=$PKG_CONFIG
46839 # Extract the first word of "pkg-config", so it can be a program name with args.
46840 set dummy pkg-config; ac_word=$2
46841 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46843 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
46844 echo $ECHO_N "(cached) $ECHO_C" >&6
46846 case $ac_pt_PKG_CONFIG in
46848 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
46851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46852 for as_dir in $PATH
46855 test -z "$as_dir" && as_dir=.
46856 for ac_exec_ext in '' $ac_executable_extensions; do
46857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46858 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
46859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46869 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
46870 if test -n "$ac_pt_PKG_CONFIG"; then
46871 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
46872 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
46874 { echo "$as_me:$LINENO: result: no" >&5
46875 echo "${ECHO_T}no" >&6; }
46878 if test "x$ac_pt_PKG_CONFIG" = x; then
46881 case $cross_compiling:$ac_tool_warned in
46883 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46884 whose name does not start with the host triplet. If you think this
46885 configuration is useful to you, please write to autoconf@gnu.org." >&5
46886 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46887 whose name does not start with the host triplet. If you think this
46888 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46889 ac_tool_warned=yes ;;
46891 PKG_CONFIG=$ac_pt_PKG_CONFIG
46894 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
46898 if test -n "$PKG_CONFIG"; then
46899 _pkg_min_version=0.9.0
46900 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
46901 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
46902 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
46903 { echo "$as_me:$LINENO: result: yes" >&5
46904 echo "${ECHO_T}yes" >&6; }
46906 { echo "$as_me:$LINENO: result: no" >&5
46907 echo "${ECHO_T}no" >&6; }
46913 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
46915 if test "$wxUSE_GTKPRINT" = "yes" ; then
46919 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
46920 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
46922 if test -n "$PKG_CONFIG"; then
46923 if test -n "$GTKPRINT_CFLAGS"; then
46924 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
46926 if test -n "$PKG_CONFIG" && \
46927 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46928 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46931 (exit $ac_status); }; then
46932 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
46940 if test -n "$PKG_CONFIG"; then
46941 if test -n "$GTKPRINT_LIBS"; then
46942 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
46944 if test -n "$PKG_CONFIG" && \
46945 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
46946 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
46948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46949 (exit $ac_status); }; then
46950 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev
/null
`
46961 if test $pkg_failed = yes; then
46963 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46964 _pkg_short_errors_supported=yes
46966 _pkg_short_errors_supported=no
46968 if test $_pkg_short_errors_supported = yes; then
46969 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46971 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
46973 # Put the nasty error message in config.log where it belongs
46974 echo "$GTKPRINT_PKG_ERRORS" >&5
46977 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46978 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46979 wxUSE_GTKPRINT="no"
46982 elif test $pkg_failed = untried; then
46984 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
46985 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
46986 wxUSE_GTKPRINT="no"
46990 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
46991 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
46992 { echo "$as_me:$LINENO: result: yes" >&5
46993 echo "${ECHO_T}yes" >&6; }
46995 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
46996 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
46997 cat >>confdefs.h <<\_ACEOF
46998 #define wxUSE_GTKPRINT 1
47005 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47009 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
47010 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
47012 if test -n "$PKG_CONFIG"; then
47013 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
47014 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
47016 if test -n "$PKG_CONFIG" && \
47017 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47018 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47021 (exit $ac_status); }; then
47022 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
47030 if test -n "$PKG_CONFIG"; then
47031 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
47032 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
47034 if test -n "$PKG_CONFIG" && \
47035 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
47036 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
47038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47039 (exit $ac_status); }; then
47040 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev
/null
`
47051 if test $pkg_failed = yes; then
47053 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47054 _pkg_short_errors_supported=yes
47056 _pkg_short_errors_supported=no
47058 if test $_pkg_short_errors_supported = yes; then
47059 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47061 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
47063 # Put the nasty error message in config.log where it belongs
47064 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
47067 if test "$wxUSE_GTKPRINT" = yes; then
47068 { echo "$as_me:$LINENO: result: no" >&5
47069 echo "${ECHO_T}no" >&6; }
47071 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47072 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47074 wxUSE_LIBGNOMEPRINT="no"
47077 elif test $pkg_failed = untried; then
47079 if test "$wxUSE_GTKPRINT" = yes; then
47080 { echo "$as_me:$LINENO: result: no" >&5
47081 echo "${ECHO_T}no" >&6; }
47083 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
47084 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
47086 wxUSE_LIBGNOMEPRINT="no"
47090 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
47091 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
47092 { echo "$as_me:$LINENO: result: yes" >&5
47093 echo "${ECHO_T}yes" >&6; }
47095 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
47096 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
47097 cat >>confdefs.h <<\_ACEOF
47098 #define wxUSE_LIBGNOMEPRINT 1
47106 if test "$wxUSE_MIMETYPE" = "yes" ; then
47107 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47111 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
47112 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
47114 if test -n "$PKG_CONFIG"; then
47115 if test -n "$GNOMEVFS_CFLAGS"; then
47116 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
47118 if test -n "$PKG_CONFIG" && \
47119 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47120 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47123 (exit $ac_status); }; then
47124 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
47132 if test -n "$PKG_CONFIG"; then
47133 if test -n "$GNOMEVFS_LIBS"; then
47134 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
47136 if test -n "$PKG_CONFIG" && \
47137 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
47138 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
47140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47141 (exit $ac_status); }; then
47142 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev
/null
`
47153 if test $pkg_failed = yes; then
47155 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47156 _pkg_short_errors_supported=yes
47158 _pkg_short_errors_supported=no
47160 if test $_pkg_short_errors_supported = yes; then
47161 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47163 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
47165 # Put the nasty error message in config.log where it belongs
47166 echo "$GNOMEVFS_PKG_ERRORS" >&5
47169 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47170 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47171 wxUSE_LIBGNOMEVFS="no"
47174 elif test $pkg_failed = untried; then
47176 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
47177 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
47178 wxUSE_LIBGNOMEVFS="no"
47182 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
47183 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
47184 { echo "$as_me:$LINENO: result: yes" >&5
47185 echo "${ECHO_T}yes" >&6; }
47187 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
47188 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
47189 cat >>confdefs.h <<\_ACEOF
47190 #define wxUSE_LIBGNOMEVFS 1
47198 if test "$wxUSE_LIBHILDON" = "yes" ; then
47201 { echo "$as_me:$LINENO: checking for HILDON" >&5
47202 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
47204 if test -n "$PKG_CONFIG"; then
47205 if test -n "$HILDON_CFLAGS"; then
47206 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
47208 if test -n "$PKG_CONFIG" && \
47209 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47210 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47213 (exit $ac_status); }; then
47214 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev
/null
`
47222 if test -n "$PKG_CONFIG"; then
47223 if test -n "$HILDON_LIBS"; then
47224 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
47226 if test -n "$PKG_CONFIG" && \
47227 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
47228 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
47230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47231 (exit $ac_status); }; then
47232 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev
/null
`
47243 if test $pkg_failed = yes; then
47245 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47246 _pkg_short_errors_supported=yes
47248 _pkg_short_errors_supported=no
47250 if test $_pkg_short_errors_supported = yes; then
47251 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47253 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
47255 # Put the nasty error message in config.log where it belongs
47256 echo "$HILDON_PKG_ERRORS" >&5
47259 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47260 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47261 wxUSE_LIBHILDON="no"
47265 elif test $pkg_failed = untried; then
47267 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
47268 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
47269 wxUSE_LIBHILDON="no"
47274 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
47275 HILDON_LIBS=$pkg_cv_HILDON_LIBS
47276 { echo "$as_me:$LINENO: result: yes" >&5
47277 echo "${ECHO_T}yes" >&6; }
47279 EXTRALIBS_HILDON="$HILDON_LIBS"
47280 CFLAGS="$CFLAGS $HILDON_CFLAGS"
47281 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
47282 cat >>confdefs.h <<\_ACEOF
47283 #define wxUSE_LIBHILDON 1
47290 if test "$ac_hildon_lgpl" = 0 ; then
47293 { echo "$as_me:$LINENO: checking for HILDON2" >&5
47294 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
47296 if test -n "$PKG_CONFIG"; then
47297 if test -n "$HILDON2_CFLAGS"; then
47298 pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
47300 if test -n "$PKG_CONFIG" && \
47301 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47302 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47305 (exit $ac_status); }; then
47306 pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev
/null
`
47314 if test -n "$PKG_CONFIG"; then
47315 if test -n "$HILDON2_LIBS"; then
47316 pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
47318 if test -n "$PKG_CONFIG" && \
47319 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
47320 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
47322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47323 (exit $ac_status); }; then
47324 pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev
/null
`
47335 if test $pkg_failed = yes; then
47337 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47338 _pkg_short_errors_supported=yes
47340 _pkg_short_errors_supported=no
47342 if test $_pkg_short_errors_supported = yes; then
47343 HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47345 HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
47347 # Put the nasty error message in config.log where it belongs
47348 echo "$HILDON2_PKG_ERRORS" >&5
47351 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47352 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47353 wxUSE_LIBHILDON2="no"
47356 elif test $pkg_failed = untried; then
47358 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
47359 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
47360 wxUSE_LIBHILDON2="no"
47364 HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
47365 HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
47366 { echo "$as_me:$LINENO: result: yes" >&5
47367 echo "${ECHO_T}yes" >&6; }
47369 EXTRALIBS_HILDON="$HILDON2_LIBS"
47370 CFLAGS="$CFLAGS $HILDON2_CFLAGS"
47371 CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
47372 cat >>confdefs.h <<\_ACEOF
47373 #define wxUSE_LIBHILDON2 1
47382 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
47383 cat >>confdefs.h <<\_ACEOF
47384 #define wxUSE_CMDLINE_PARSER 1
47389 if test "$wxUSE_STOPWATCH" = "yes"; then
47390 cat >>confdefs.h <<\_ACEOF
47391 #define wxUSE_STOPWATCH 1
47396 if test "$wxUSE_DATETIME" = "yes"; then
47397 cat >>confdefs.h <<\_ACEOF
47398 #define wxUSE_DATETIME 1
47403 if test "$wxUSE_FILE" = "yes"; then
47404 cat >>confdefs.h <<\_ACEOF
47405 #define wxUSE_FILE 1
47410 if test "$wxUSE_FFILE" = "yes"; then
47411 cat >>confdefs.h <<\_ACEOF
47412 #define wxUSE_FFILE 1
47417 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
47418 if test "$wxUSE_STREAMS" != yes; then
47419 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
47420 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
47421 wxUSE_ARCHIVE_STREAMS=no
47423 cat >>confdefs.h <<\_ACEOF
47424 #define wxUSE_ARCHIVE_STREAMS 1
47430 if test "$wxUSE_ZIPSTREAM" = "yes"; then
47431 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47432 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
47433 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
47434 elif test "$wxUSE_ZLIB" = "no"; then
47435 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
47436 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
47438 cat >>confdefs.h <<\_ACEOF
47439 #define wxUSE_ZIPSTREAM 1
47445 if test "$wxUSE_TARSTREAM" = "yes"; then
47446 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
47447 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
47448 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
47450 cat >>confdefs.h <<\_ACEOF
47451 #define wxUSE_TARSTREAM 1
47457 if test "$wxUSE_FILE_HISTORY" = "yes"; then
47458 cat >>confdefs.h <<\_ACEOF
47459 #define wxUSE_FILE_HISTORY 1
47464 if test "$wxUSE_FILESYSTEM" = "yes"; then
47465 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
47466 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
47467 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
47468 wxUSE_FILESYSTEM=no
47470 cat >>confdefs.h <<\_ACEOF
47471 #define wxUSE_FILESYSTEM 1
47477 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
47478 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
47479 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
47480 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
47482 cat >>confdefs.h <<\_ACEOF
47483 #define wxUSE_FS_ARCHIVE 1
47489 if test "$wxUSE_FS_ZIP" = "yes"; then
47490 if test "$wxUSE_FS_ARCHIVE" != yes; then
47491 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
47492 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
47494 cat >>confdefs.h <<\_ACEOF
47495 #define wxUSE_FS_ZIP 1
47501 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47502 if test "$USE_UNIX" != 1; then
47503 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
47504 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
47505 wxUSE_ON_FATAL_EXCEPTION=no
47507 cat >>confdefs.h <<\_ACEOF
47508 #define wxUSE_ON_FATAL_EXCEPTION 1
47514 if test "$wxUSE_STACKWALKER" = "yes"; then
47515 cat >>confdefs.h <<\_ACEOF
47516 #define wxUSE_STACKWALKER 1
47521 if test "$wxUSE_DEBUGREPORT" = "yes"; then
47522 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
47523 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
47524 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
47525 wxUSE_DEBUGREPORT=no
47527 cat >>confdefs.h <<\_ACEOF
47528 #define wxUSE_DEBUGREPORT 1
47531 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
47532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
47537 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
47538 cat >>confdefs.h <<\_ACEOF
47539 #define wxUSE_SNGLINST_CHECKER 1
47544 if test "$wxUSE_BUSYINFO" = "yes"; then
47545 cat >>confdefs.h <<\_ACEOF
47546 #define wxUSE_BUSYINFO 1
47551 if test "$wxUSE_HOTKEY" = "yes"; then
47552 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
47553 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
47554 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
47557 elif test "$wxUSE_HOTKEY" = "auto"; then
47558 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
47562 if test "$wxUSE_HOTKEY" = "yes"; then
47563 cat >>confdefs.h <<\_ACEOF
47564 #define wxUSE_HOTKEY 1
47569 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
47570 cat >>confdefs.h <<\_ACEOF
47571 #define wxUSE_STD_CONTAINERS 1
47576 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
47577 cat >>confdefs.h <<\_ACEOF
47578 #define wxUSE_STD_IOSTREAM 1
47583 if test "$wxUSE_STD_STRING" = "yes"; then
47584 cat >>confdefs.h <<\_ACEOF
47585 #define wxUSE_STD_STRING 1
47590 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
47591 cat >>confdefs.h <<\_ACEOF
47592 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
47597 if test "$wxUSE_STDPATHS" = "yes"; then
47598 cat >>confdefs.h <<\_ACEOF
47599 #define wxUSE_STDPATHS 1
47604 if test "$wxUSE_TEXTBUFFER" = "yes"; then
47605 cat >>confdefs.h <<\_ACEOF
47606 #define wxUSE_TEXTBUFFER 1
47611 if test "$wxUSE_TEXTFILE" = "yes"; then
47612 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
47613 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
47614 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
47616 cat >>confdefs.h <<\_ACEOF
47617 #define wxUSE_TEXTFILE 1
47623 if test "$wxUSE_CONFIG" = "yes" ; then
47624 if test "$wxUSE_TEXTFILE" != "yes"; then
47625 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
47626 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
47628 cat >>confdefs.h <<\_ACEOF
47629 #define wxUSE_CONFIG 1
47632 cat >>confdefs.h <<\_ACEOF
47633 #define wxUSE_CONFIG_NATIVE 1
47636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
47640 if test "$wxUSE_INTL" = "yes" ; then
47641 if test "$wxUSE_FILE" != "yes"; then
47642 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
47643 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
47645 cat >>confdefs.h <<\_ACEOF
47646 #define wxUSE_INTL 1
47649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
47650 GUIDIST="$GUIDIST INTL_DIST"
47654 if test "$wxUSE_XLOCALE" = "yes" ; then
47655 cat >>confdefs.h <<\_ACEOF
47656 #define wxUSE_XLOCALE 1
47659 { echo "$as_me:$LINENO: checking for locale_t" >&5
47660 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
47661 if test "${ac_cv_type_locale_t+set}" = set; then
47662 echo $ECHO_N "(cached) $ECHO_C" >&6
47664 cat >conftest.$ac_ext <<_ACEOF
47667 cat confdefs.h >>conftest.$ac_ext
47668 cat >>conftest.$ac_ext <<_ACEOF
47669 /* end confdefs.h. */
47670 #include <xlocale.h>
47671 #include <locale.h>
47673 typedef locale_t ac__type_new_;
47677 if ((ac__type_new_ *) 0)
47679 if (sizeof (ac__type_new_))
47685 rm -f conftest.$ac_objext
47686 if { (ac_try="$ac_compile"
47687 case "(($ac_try" in
47688 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47689 *) ac_try_echo
=$ac_try;;
47691 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47692 (eval "$ac_compile") 2>conftest.er1
47694 grep -v '^ *+' conftest.er1
>conftest.err
47696 cat conftest.err
>&5
47697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47698 (exit $ac_status); } && {
47699 test -z "$ac_c_werror_flag" ||
47700 test ! -s conftest.err
47701 } && test -s conftest.
$ac_objext; then
47702 ac_cv_type_locale_t
=yes
47704 echo "$as_me: failed program was:" >&5
47705 sed 's/^/| /' conftest.
$ac_ext >&5
47707 ac_cv_type_locale_t
=no
47710 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47712 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
47713 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
47714 if test $ac_cv_type_locale_t = yes; then
47716 cat >>confdefs.h
<<_ACEOF
47717 #define HAVE_LOCALE_T 1
47725 if test "$wxUSE_LOG" = "yes"; then
47726 cat >>confdefs.h
<<\_ACEOF
47727 #define wxUSE_LOG 1
47731 if test "$wxUSE_LOGGUI" = "yes"; then
47732 cat >>confdefs.h
<<\_ACEOF
47733 #define wxUSE_LOGGUI 1
47738 if test "$wxUSE_LOGWINDOW" = "yes"; then
47739 cat >>confdefs.h
<<\_ACEOF
47740 #define wxUSE_LOGWINDOW 1
47745 if test "$wxUSE_LOGDIALOG" = "yes"; then
47746 cat >>confdefs.h
<<\_ACEOF
47747 #define wxUSE_LOG_DIALOG 1
47752 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS keyboard"
47755 if test "$wxUSE_LONGLONG" = "yes"; then
47756 cat >>confdefs.h
<<\_ACEOF
47757 #define wxUSE_LONGLONG 1
47762 if test "$wxUSE_GEOMETRY" = "yes"; then
47763 cat >>confdefs.h
<<\_ACEOF
47764 #define wxUSE_GEOMETRY 1
47769 if test "$wxUSE_BASE64" = "yes"; then
47770 cat >>confdefs.h
<<\_ACEOF
47771 #define wxUSE_BASE64 1
47776 if test "$wxUSE_STREAMS" = "yes" ; then
47777 cat >>confdefs.h
<<\_ACEOF
47778 #define wxUSE_STREAMS 1
47783 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
47784 cat >>confdefs.h
<<\_ACEOF
47785 #define wxUSE_PRINTF_POS_PARAMS 1
47790 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
47791 cat >>confdefs.h
<<\_ACEOF
47792 #define wxUSE_OBJC_UNIQUIFYING 1
47798 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
47799 cat >>confdefs.h
<<\_ACEOF
47800 #define wxUSE_CONSOLE_EVENTLOOP 1
47804 if test "$wxUSE_UNIX" = "yes"; then
47805 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
47806 cat >>confdefs.h
<<\_ACEOF
47807 #define wxUSE_SELECT_DISPATCHER 1
47812 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
47814 for ac_header
in sys
/epoll.h
47816 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
47817 { echo "$as_me:$LINENO: checking for $ac_header" >&5
47818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
47819 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
47820 echo $ECHO_N "(cached) $ECHO_C" >&6
47822 cat >conftest.
$ac_ext <<_ACEOF
47825 cat confdefs.h
>>conftest.
$ac_ext
47826 cat >>conftest.
$ac_ext <<_ACEOF
47827 /* end confdefs.h. */
47828 $ac_includes_default
47830 #include <$ac_header>
47832 rm -f conftest.
$ac_objext
47833 if { (ac_try
="$ac_compile"
47834 case "(($ac_try" in
47835 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47836 *) ac_try_echo=$ac_try;;
47838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47839 (eval "$ac_compile") 2>conftest.er1
47841 grep -v '^ *+' conftest.er1 >conftest.err
47843 cat conftest.err >&5
47844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47845 (exit $ac_status); } && {
47846 test -z "$ac_c_werror_flag" ||
47847 test ! -s conftest.err
47848 } && test -s conftest.$ac_objext; then
47849 eval "$as_ac_Header=yes"
47851 echo "$as_me: failed program was:" >&5
47852 sed 's/^/| /' conftest.$ac_ext >&5
47854 eval "$as_ac_Header=no"
47857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47859 ac_res=`eval echo '${'$as_ac_Header'}'`
47860 { echo "$as_me:$LINENO: result: $ac_res" >&5
47861 echo "${ECHO_T}$ac_res" >&6; }
47862 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47863 cat >>confdefs.h <<_ACEOF
47864 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47871 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
47872 cat >>confdefs.h <<\_ACEOF
47873 #define wxUSE_EPOLL_DISPATCHER 1
47877 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
47878 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
47887 for ac_func in gettimeofday ftime
47889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47890 { echo "$as_me:$LINENO: checking for $ac_func" >&5
47891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
47892 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
47893 echo $ECHO_N "(cached) $ECHO_C" >&6
47895 cat >conftest.$ac_ext <<_ACEOF
47898 cat confdefs.h >>conftest.$ac_ext
47899 cat >>conftest.$ac_ext <<_ACEOF
47900 /* end confdefs.h. */
47901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47902 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47903 #define $ac_func innocuous_$ac_func
47905 /* System header to define __stub macros and hopefully few prototypes,
47906 which can conflict with char $ac_func (); below.
47907 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47908 <limits.h> exists even on freestanding compilers. */
47911 # include <limits.h>
47913 # include <assert.h>
47918 /* Override any GCC internal prototype to avoid an error.
47919 Use char because int might match the return type of a GCC
47920 builtin and then its argument prototype would still apply. */
47925 /* The GNU C library defines this for functions which it implements
47926 to always fail with ENOSYS. Some functions are actually named
47927 something starting with __ and the normal name is an alias. */
47928 #if defined __stub_$ac_func || defined __stub___$ac_func
47935 return $ac_func ();
47940 rm -f conftest.$ac_objext conftest$ac_exeext
47941 if { (ac_try="$ac_link"
47942 case "(($ac_try" in
47943 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47944 *) ac_try_echo
=$ac_try;;
47946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47947 (eval "$ac_link") 2>conftest.er1
47949 grep -v '^ *+' conftest.er1
>conftest.err
47951 cat conftest.err
>&5
47952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47953 (exit $ac_status); } && {
47954 test -z "$ac_c_werror_flag" ||
47955 test ! -s conftest.err
47956 } && test -s conftest
$ac_exeext &&
47957 $as_test_x conftest
$ac_exeext; then
47958 eval "$as_ac_var=yes"
47960 echo "$as_me: failed program was:" >&5
47961 sed 's/^/| /' conftest.
$ac_ext >&5
47963 eval "$as_ac_var=no"
47966 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
47967 conftest
$ac_exeext conftest.
$ac_ext
47969 ac_res
=`eval echo '${'$as_ac_var'}'`
47970 { echo "$as_me:$LINENO: result: $ac_res" >&5
47971 echo "${ECHO_T}$ac_res" >&6; }
47972 if test `eval echo '${'$as_ac_var'}'` = yes; then
47973 cat >>confdefs.h
<<_ACEOF
47974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47981 if test "$ac_cv_func_gettimeofday" = "yes"; then
47982 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
47983 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
47984 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
47985 echo $ECHO_N "(cached) $ECHO_C" >&6
47988 cat >conftest.
$ac_ext <<_ACEOF
47991 cat confdefs.h
>>conftest.
$ac_ext
47992 cat >>conftest.
$ac_ext <<_ACEOF
47993 /* end confdefs.h. */
47995 #include <sys/time.h>
47996 #include <unistd.h>
48003 gettimeofday(&tv, NULL);
48009 rm -f conftest.
$ac_objext
48010 if { (ac_try
="$ac_compile"
48011 case "(($ac_try" in
48012 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48013 *) ac_try_echo=$ac_try;;
48015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48016 (eval "$ac_compile") 2>conftest.er1
48018 grep -v '^ *+' conftest.er1 >conftest.err
48020 cat conftest.err >&5
48021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48022 (exit $ac_status); } && {
48023 test -z "$ac_c_werror_flag" ||
48024 test ! -s conftest.err
48025 } && test -s conftest.$ac_objext; then
48026 wx_cv_func_gettimeofday_has_2_args=yes
48028 echo "$as_me: failed program was:" >&5
48029 sed 's/^/| /' conftest.$ac_ext >&5
48031 cat >conftest.$ac_ext <<_ACEOF
48034 cat confdefs.h >>conftest.$ac_ext
48035 cat >>conftest.$ac_ext <<_ACEOF
48036 /* end confdefs.h. */
48038 #include <sys/time.h>
48039 #include <unistd.h>
48052 rm -f conftest.$ac_objext
48053 if { (ac_try="$ac_compile"
48054 case "(($ac_try" in
48055 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48056 *) ac_try_echo
=$ac_try;;
48058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48059 (eval "$ac_compile") 2>conftest.er1
48061 grep -v '^ *+' conftest.er1
>conftest.err
48063 cat conftest.err
>&5
48064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48065 (exit $ac_status); } && {
48066 test -z "$ac_c_werror_flag" ||
48067 test ! -s conftest.err
48068 } && test -s conftest.
$ac_objext; then
48069 wx_cv_func_gettimeofday_has_2_args
=no
48071 echo "$as_me: failed program was:" >&5
48072 sed 's/^/| /' conftest.
$ac_ext >&5
48075 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
48076 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
48077 wx_cv_func_gettimeofday_has_2_args
=unknown
48082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48089 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
48090 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
48092 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
48093 cat >>confdefs.h
<<\_ACEOF
48094 #define WX_GETTIMEOFDAY_NO_TZ 1
48100 if test "$wxUSE_DATETIME" = "yes"; then
48101 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
48102 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
48103 if test "${wx_cv_var_timezone+set}" = set; then
48104 echo $ECHO_N "(cached) $ECHO_C" >&6
48108 ac_cpp
='$CXXCPP $CPPFLAGS'
48109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48113 cat >conftest.
$ac_ext <<_ACEOF
48116 cat confdefs.h
>>conftest.
$ac_ext
48117 cat >>conftest.
$ac_ext <<_ACEOF
48118 /* end confdefs.h. */
48133 rm -f conftest.
$ac_objext
48134 if { (ac_try
="$ac_compile"
48135 case "(($ac_try" in
48136 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48137 *) ac_try_echo=$ac_try;;
48139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48140 (eval "$ac_compile") 2>conftest.er1
48142 grep -v '^ *+' conftest.er1 >conftest.err
48144 cat conftest.err >&5
48145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48146 (exit $ac_status); } && {
48147 test -z "$ac_cxx_werror_flag" ||
48148 test ! -s conftest.err
48149 } && test -s conftest.$ac_objext; then
48151 wx_cv_var_timezone=timezone
48154 echo "$as_me: failed program was:" >&5
48155 sed 's/^/| /' conftest.$ac_ext >&5
48158 cat >conftest.$ac_ext <<_ACEOF
48161 cat confdefs.h >>conftest.$ac_ext
48162 cat >>conftest.$ac_ext <<_ACEOF
48163 /* end confdefs.h. */
48178 rm -f conftest.$ac_objext
48179 if { (ac_try="$ac_compile"
48180 case "(($ac_try" in
48181 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48182 *) ac_try_echo
=$ac_try;;
48184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48185 (eval "$ac_compile") 2>conftest.er1
48187 grep -v '^ *+' conftest.er1
>conftest.err
48189 cat conftest.err
>&5
48190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48191 (exit $ac_status); } && {
48192 test -z "$ac_cxx_werror_flag" ||
48193 test ! -s conftest.err
48194 } && test -s conftest.
$ac_objext; then
48196 wx_cv_var_timezone
=_timezone
48199 echo "$as_me: failed program was:" >&5
48200 sed 's/^/| /' conftest.
$ac_ext >&5
48203 cat >conftest.
$ac_ext <<_ACEOF
48206 cat confdefs.h
>>conftest.
$ac_ext
48207 cat >>conftest.
$ac_ext <<_ACEOF
48208 /* end confdefs.h. */
48223 rm -f conftest.
$ac_objext
48224 if { (ac_try
="$ac_compile"
48225 case "(($ac_try" in
48226 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48227 *) ac_try_echo=$ac_try;;
48229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48230 (eval "$ac_compile") 2>conftest.er1
48232 grep -v '^ *+' conftest.er1 >conftest.err
48234 cat conftest.err >&5
48235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48236 (exit $ac_status); } && {
48237 test -z "$ac_cxx_werror_flag" ||
48238 test ! -s conftest.err
48239 } && test -s conftest.$ac_objext; then
48241 wx_cv_var_timezone=__timezone
48244 echo "$as_me: failed program was:" >&5
48245 sed 's/^/| /' conftest.$ac_ext >&5
48248 if test "$USE_DOS" = 0 ; then
48249 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
48250 echo "$as_me: WARNING: no timezone variable" >&2;}
48256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48268 ac_cpp='$CPP $CPPFLAGS'
48269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48276 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
48277 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
48279 if test "x$wx_cv_var_timezone" != x ; then
48280 cat >>confdefs.h <<_ACEOF
48281 #define WX_TIMEZONE $wx_cv_var_timezone
48287 for ac_func in localtime
48289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48290 { echo "$as_me:$LINENO: checking for $ac_func" >&5
48291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
48292 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
48293 echo $ECHO_N "(cached) $ECHO_C" >&6
48295 cat >conftest.$ac_ext <<_ACEOF
48298 cat confdefs.h >>conftest.$ac_ext
48299 cat >>conftest.$ac_ext <<_ACEOF
48300 /* end confdefs.h. */
48301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48303 #define $ac_func innocuous_$ac_func
48305 /* System header to define __stub macros and hopefully few prototypes,
48306 which can conflict with char $ac_func (); below.
48307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48308 <limits.h> exists even on freestanding compilers. */
48311 # include <limits.h>
48313 # include <assert.h>
48318 /* Override any GCC internal prototype to avoid an error.
48319 Use char because int might match the return type of a GCC
48320 builtin and then its argument prototype would still apply. */
48325 /* The GNU C library defines this for functions which it implements
48326 to always fail with ENOSYS. Some functions are actually named
48327 something starting with __ and the normal name is an alias. */
48328 #if defined __stub_$ac_func || defined __stub___$ac_func
48335 return $ac_func ();
48340 rm -f conftest.$ac_objext conftest$ac_exeext
48341 if { (ac_try="$ac_link"
48342 case "(($ac_try" in
48343 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48344 *) ac_try_echo
=$ac_try;;
48346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48347 (eval "$ac_link") 2>conftest.er1
48349 grep -v '^ *+' conftest.er1
>conftest.err
48351 cat conftest.err
>&5
48352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48353 (exit $ac_status); } && {
48354 test -z "$ac_c_werror_flag" ||
48355 test ! -s conftest.err
48356 } && test -s conftest
$ac_exeext &&
48357 $as_test_x conftest
$ac_exeext; then
48358 eval "$as_ac_var=yes"
48360 echo "$as_me: failed program was:" >&5
48361 sed 's/^/| /' conftest.
$ac_ext >&5
48363 eval "$as_ac_var=no"
48366 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
48367 conftest
$ac_exeext conftest.
$ac_ext
48369 ac_res
=`eval echo '${'$as_ac_var'}'`
48370 { echo "$as_me:$LINENO: result: $ac_res" >&5
48371 echo "${ECHO_T}$ac_res" >&6; }
48372 if test `eval echo '${'$as_ac_var'}'` = yes; then
48373 cat >>confdefs.h
<<_ACEOF
48374 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48381 if test "$ac_cv_func_localtime" = "yes"; then
48382 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
48383 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
48384 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
48385 echo $ECHO_N "(cached) $ECHO_C" >&6
48388 cat >conftest.
$ac_ext <<_ACEOF
48391 cat confdefs.h
>>conftest.
$ac_ext
48392 cat >>conftest.
$ac_ext <<_ACEOF
48393 /* end confdefs.h. */
48408 rm -f conftest.
$ac_objext
48409 if { (ac_try
="$ac_compile"
48410 case "(($ac_try" in
48411 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48412 *) ac_try_echo=$ac_try;;
48414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48415 (eval "$ac_compile") 2>conftest.er1
48417 grep -v '^ *+' conftest.er1 >conftest.err
48419 cat conftest.err >&5
48420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48421 (exit $ac_status); } && {
48422 test -z "$ac_c_werror_flag" ||
48423 test ! -s conftest.err
48424 } && test -s conftest.$ac_objext; then
48426 wx_cv_struct_tm_has_gmtoff=yes
48429 echo "$as_me: failed program was:" >&5
48430 sed 's/^/| /' conftest.$ac_ext >&5
48432 wx_cv_struct_tm_has_gmtoff=no
48436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48439 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
48440 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
48443 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
48444 cat >>confdefs.h <<\_ACEOF
48445 #define WX_GMTOFF_IN_TM 1
48450 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
48454 if test "$wxUSE_SOCKETS" = "yes"; then
48455 if test "$TOOLKIT" != "MSW"; then
48456 { echo "$as_me:$LINENO: checking for socket" >&5
48457 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
48458 if test "${ac_cv_func_socket+set}" = set; then
48459 echo $ECHO_N "(cached) $ECHO_C" >&6
48461 cat >conftest.$ac_ext <<_ACEOF
48464 cat confdefs.h >>conftest.$ac_ext
48465 cat >>conftest.$ac_ext <<_ACEOF
48466 /* end confdefs.h. */
48467 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
48468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48469 #define socket innocuous_socket
48471 /* System header to define __stub macros and hopefully few prototypes,
48472 which can conflict with char socket (); below.
48473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48474 <limits.h> exists even on freestanding compilers. */
48477 # include <limits.h>
48479 # include <assert.h>
48484 /* Override any GCC internal prototype to avoid an error.
48485 Use char because int might match the return type of a GCC
48486 builtin and then its argument prototype would still apply. */
48491 /* The GNU C library defines this for functions which it implements
48492 to always fail with ENOSYS. Some functions are actually named
48493 something starting with __ and the normal name is an alias. */
48494 #if defined __stub_socket || defined __stub___socket
48506 rm -f conftest.$ac_objext conftest$ac_exeext
48507 if { (ac_try="$ac_link"
48508 case "(($ac_try" in
48509 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48510 *) ac_try_echo
=$ac_try;;
48512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48513 (eval "$ac_link") 2>conftest.er1
48515 grep -v '^ *+' conftest.er1
>conftest.err
48517 cat conftest.err
>&5
48518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48519 (exit $ac_status); } && {
48520 test -z "$ac_c_werror_flag" ||
48521 test ! -s conftest.err
48522 } && test -s conftest
$ac_exeext &&
48523 $as_test_x conftest
$ac_exeext; then
48524 ac_cv_func_socket
=yes
48526 echo "$as_me: failed program was:" >&5
48527 sed 's/^/| /' conftest.
$ac_ext >&5
48529 ac_cv_func_socket
=no
48532 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
48533 conftest
$ac_exeext conftest.
$ac_ext
48535 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
48536 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
48537 if test $ac_cv_func_socket = yes; then
48541 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
48542 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
48543 if test "${ac_cv_lib_socket_socket+set}" = set; then
48544 echo $ECHO_N "(cached) $ECHO_C" >&6
48546 ac_check_lib_save_LIBS
=$LIBS
48547 LIBS
="-lsocket $LIBS"
48548 cat >conftest.
$ac_ext <<_ACEOF
48551 cat confdefs.h
>>conftest.
$ac_ext
48552 cat >>conftest.
$ac_ext <<_ACEOF
48553 /* end confdefs.h. */
48555 /* Override any GCC internal prototype to avoid an error.
48556 Use char because int might match the return type of a GCC
48557 builtin and then its argument prototype would still apply. */
48570 rm -f conftest.
$ac_objext conftest
$ac_exeext
48571 if { (ac_try
="$ac_link"
48572 case "(($ac_try" in
48573 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48574 *) ac_try_echo=$ac_try;;
48576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48577 (eval "$ac_link") 2>conftest.er1
48579 grep -v '^ *+' conftest.er1 >conftest.err
48581 cat conftest.err >&5
48582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48583 (exit $ac_status); } && {
48584 test -z "$ac_c_werror_flag" ||
48585 test ! -s conftest.err
48586 } && test -s conftest$ac_exeext &&
48587 $as_test_x conftest$ac_exeext; then
48588 ac_cv_lib_socket_socket=yes
48590 echo "$as_me: failed program was:" >&5
48591 sed 's/^/| /' conftest.$ac_ext >&5
48593 ac_cv_lib_socket_socket=no
48596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
48597 conftest$ac_exeext conftest.$ac_ext
48598 LIBS=$ac_check_lib_save_LIBS
48600 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
48601 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
48602 if test $ac_cv_lib_socket_socket = yes; then
48603 if test "$INET_LINK" != " -lsocket"; then
48604 INET_LINK="$INET_LINK -lsocket"
48608 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
48609 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
48622 if test "$wxUSE_SOCKETS" = "yes" ; then
48623 if test "$TOOLKIT" != "MSW"; then
48624 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
48625 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
48626 if test "${wx_cv_type_getsockname3+set}" = set; then
48627 echo $ECHO_N "(cached) $ECHO_C" >&6
48631 ac_cpp='$CXXCPP $CPPFLAGS'
48632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48636 cat >conftest.$ac_ext <<_ACEOF
48639 cat confdefs.h >>conftest.$ac_ext
48640 cat >>conftest.$ac_ext <<_ACEOF
48641 /* end confdefs.h. */
48643 #include <sys/types.h>
48644 #include <sys/socket.h>
48651 getsockname(0, 0, &len);
48657 rm -f conftest.$ac_objext
48658 if { (ac_try="$ac_compile"
48659 case "(($ac_try" in
48660 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48661 *) ac_try_echo
=$ac_try;;
48663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48664 (eval "$ac_compile") 2>conftest.er1
48666 grep -v '^ *+' conftest.er1
>conftest.err
48668 cat conftest.err
>&5
48669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48670 (exit $ac_status); } && {
48671 test -z "$ac_cxx_werror_flag" ||
48672 test ! -s conftest.err
48673 } && test -s conftest.
$ac_objext; then
48674 wx_cv_type_getsockname3
=socklen_t
48676 echo "$as_me: failed program was:" >&5
48677 sed 's/^/| /' conftest.
$ac_ext >&5
48680 CFLAGS_OLD
="$CFLAGS"
48681 if test "$GCC" = yes ; then
48682 CFLAGS
="-Werror $CFLAGS"
48685 cat >conftest.
$ac_ext <<_ACEOF
48688 cat confdefs.h
>>conftest.
$ac_ext
48689 cat >>conftest.
$ac_ext <<_ACEOF
48690 /* end confdefs.h. */
48692 #include <sys/types.h>
48693 #include <sys/socket.h>
48700 getsockname(0, 0, &len);
48706 rm -f conftest.
$ac_objext
48707 if { (ac_try
="$ac_compile"
48708 case "(($ac_try" in
48709 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48710 *) ac_try_echo=$ac_try;;
48712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48713 (eval "$ac_compile") 2>conftest.er1
48715 grep -v '^ *+' conftest.er1 >conftest.err
48717 cat conftest.err >&5
48718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48719 (exit $ac_status); } && {
48720 test -z "$ac_cxx_werror_flag" ||
48721 test ! -s conftest.err
48722 } && test -s conftest.$ac_objext; then
48723 wx_cv_type_getsockname3=size_t
48725 echo "$as_me: failed program was:" >&5
48726 sed 's/^/| /' conftest.$ac_ext >&5
48728 cat >conftest.$ac_ext <<_ACEOF
48731 cat confdefs.h >>conftest.$ac_ext
48732 cat >>conftest.$ac_ext <<_ACEOF
48733 /* end confdefs.h. */
48735 #include <sys/types.h>
48736 #include <sys/socket.h>
48743 getsockname(0, 0, &len);
48749 rm -f conftest.$ac_objext
48750 if { (ac_try="$ac_compile"
48751 case "(($ac_try" in
48752 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48753 *) ac_try_echo
=$ac_try;;
48755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48756 (eval "$ac_compile") 2>conftest.er1
48758 grep -v '^ *+' conftest.er1
>conftest.err
48760 cat conftest.err
>&5
48761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48762 (exit $ac_status); } && {
48763 test -z "$ac_cxx_werror_flag" ||
48764 test ! -s conftest.err
48765 } && test -s conftest.
$ac_objext; then
48766 wx_cv_type_getsockname3
=int
48768 echo "$as_me: failed program was:" >&5
48769 sed 's/^/| /' conftest.
$ac_ext >&5
48771 wx_cv_type_getsockname3
=unknown
48775 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48781 CFLAGS
="$CFLAGS_OLD"
48786 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48788 ac_cpp
='$CPP $CPPFLAGS'
48789 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48790 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48791 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48795 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
48796 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
48798 if test "$wx_cv_type_getsockname3" = "unknown"; then
48800 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48801 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48803 cat >>confdefs.h
<<_ACEOF
48804 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
48808 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
48809 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
48810 if test "${wx_cv_type_getsockopt5+set}" = set; then
48811 echo $ECHO_N "(cached) $ECHO_C" >&6
48815 ac_cpp
='$CXXCPP $CPPFLAGS'
48816 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48817 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48818 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48820 cat >conftest.
$ac_ext <<_ACEOF
48823 cat confdefs.h
>>conftest.
$ac_ext
48824 cat >>conftest.
$ac_ext <<_ACEOF
48825 /* end confdefs.h. */
48827 #include <sys/types.h>
48828 #include <sys/socket.h>
48835 getsockopt(0, 0, 0, 0, &len);
48841 rm -f conftest.
$ac_objext
48842 if { (ac_try
="$ac_compile"
48843 case "(($ac_try" in
48844 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48845 *) ac_try_echo=$ac_try;;
48847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48848 (eval "$ac_compile") 2>conftest.er1
48850 grep -v '^ *+' conftest.er1 >conftest.err
48852 cat conftest.err >&5
48853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48854 (exit $ac_status); } && {
48855 test -z "$ac_cxx_werror_flag" ||
48856 test ! -s conftest.err
48857 } && test -s conftest.$ac_objext; then
48858 wx_cv_type_getsockopt5=socklen_t
48860 echo "$as_me: failed program was:" >&5
48861 sed 's/^/| /' conftest.$ac_ext >&5
48864 cat >conftest.$ac_ext <<_ACEOF
48867 cat confdefs.h >>conftest.$ac_ext
48868 cat >>conftest.$ac_ext <<_ACEOF
48869 /* end confdefs.h. */
48871 #include <sys/types.h>
48872 #include <sys/socket.h>
48879 getsockopt(0, 0, 0, 0, &len);
48885 rm -f conftest.$ac_objext
48886 if { (ac_try="$ac_compile"
48887 case "(($ac_try" in
48888 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48889 *) ac_try_echo
=$ac_try;;
48891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48892 (eval "$ac_compile") 2>conftest.er1
48894 grep -v '^ *+' conftest.er1
>conftest.err
48896 cat conftest.err
>&5
48897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48898 (exit $ac_status); } && {
48899 test -z "$ac_cxx_werror_flag" ||
48900 test ! -s conftest.err
48901 } && test -s conftest.
$ac_objext; then
48902 wx_cv_type_getsockopt5
=size_t
48904 echo "$as_me: failed program was:" >&5
48905 sed 's/^/| /' conftest.
$ac_ext >&5
48907 cat >conftest.
$ac_ext <<_ACEOF
48910 cat confdefs.h
>>conftest.
$ac_ext
48911 cat >>conftest.
$ac_ext <<_ACEOF
48912 /* end confdefs.h. */
48914 #include <sys/types.h>
48915 #include <sys/socket.h>
48922 getsockopt(0, 0, 0, 0, &len);
48928 rm -f conftest.
$ac_objext
48929 if { (ac_try
="$ac_compile"
48930 case "(($ac_try" in
48931 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48932 *) ac_try_echo=$ac_try;;
48934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48935 (eval "$ac_compile") 2>conftest.er1
48937 grep -v '^ *+' conftest.er1 >conftest.err
48939 cat conftest.err >&5
48940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48941 (exit $ac_status); } && {
48942 test -z "$ac_cxx_werror_flag" ||
48943 test ! -s conftest.err
48944 } && test -s conftest.$ac_objext; then
48945 wx_cv_type_getsockopt5=int
48947 echo "$as_me: failed program was:" >&5
48948 sed 's/^/| /' conftest.$ac_ext >&5
48950 wx_cv_type_getsockopt5=unknown
48954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48965 ac_cpp='$CPP $CPPFLAGS'
48966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48972 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
48973 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
48975 if test "$wx_cv_type_getsockopt5" = "unknown"; then
48977 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
48978 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
48980 cat >>confdefs.h <<_ACEOF
48981 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
48988 if test "$wxUSE_SOCKETS" = "yes" ; then
48989 if test "$wxUSE_IPV6" = "yes"; then
48990 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
48991 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
48992 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
48993 echo $ECHO_N "(cached) $ECHO_C" >&6
48996 cat >conftest.$ac_ext <<_ACEOF
48999 cat confdefs.h >>conftest.$ac_ext
49000 cat >>conftest.$ac_ext <<_ACEOF
49001 /* end confdefs.h. */
49003 #include <sys/types.h>
49004 #include <sys/socket.h>
49005 #include <netinet/in.h>
49011 struct sockaddr_in6 sa6;
49017 rm -f conftest.$ac_objext
49018 if { (ac_try="$ac_compile"
49019 case "(($ac_try" in
49020 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49021 *) ac_try_echo
=$ac_try;;
49023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49024 (eval "$ac_compile") 2>conftest.er1
49026 grep -v '^ *+' conftest.er1
>conftest.err
49028 cat conftest.err
>&5
49029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49030 (exit $ac_status); } && {
49031 test -z "$ac_c_werror_flag" ||
49032 test ! -s conftest.err
49033 } && test -s conftest.
$ac_objext; then
49034 wx_cv_type_sockaddr_in6
=yes
49036 echo "$as_me: failed program was:" >&5
49037 sed 's/^/| /' conftest.
$ac_ext >&5
49039 wx_cv_type_sockaddr_in6
=no
49043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49047 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
49048 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
49050 if test "$wx_cv_type_sockaddr_in6"="yes"; then
49051 cat >>confdefs.h
<<\_ACEOF
49052 #define wxUSE_IPV6 1
49056 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
49057 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
49061 cat >>confdefs.h
<<\_ACEOF
49062 #define wxUSE_SOCKETS 1
49065 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
49068 if test "$wxUSE_PROTOCOL" = "yes"; then
49069 if test "$wxUSE_SOCKETS" != "yes"; then
49070 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
49071 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
49076 if test "$wxUSE_PROTOCOL" = "yes"; then
49077 cat >>confdefs.h
<<\_ACEOF
49078 #define wxUSE_PROTOCOL 1
49082 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
49083 cat >>confdefs.h
<<\_ACEOF
49084 #define wxUSE_PROTOCOL_HTTP 1
49088 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
49089 cat >>confdefs.h
<<\_ACEOF
49090 #define wxUSE_PROTOCOL_FTP 1
49094 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
49095 cat >>confdefs.h
<<\_ACEOF
49096 #define wxUSE_PROTOCOL_FILE 1
49101 if test "$wxUSE_FS_INET" = "yes"; then
49102 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
49103 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
49108 if test "$wxUSE_URL" = "yes"; then
49109 if test "$wxUSE_PROTOCOL" != "yes"; then
49110 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
49111 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
49114 if test "$wxUSE_URL" = "yes"; then
49115 cat >>confdefs.h
<<\_ACEOF
49116 #define wxUSE_URL 1
49122 if test "$wxUSE_VARIANT" = "yes"; then
49123 cat >>confdefs.h
<<\_ACEOF
49124 #define wxUSE_VARIANT 1
49129 if test "$wxUSE_FS_INET" = "yes"; then
49130 cat >>confdefs.h
<<\_ACEOF
49131 #define wxUSE_FS_INET 1
49137 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
49140 if test "$TOOLKIT" = "MSW"; then
49143 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
49144 if test "$USE_DARWIN" = 1; then
49145 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
49146 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
49148 ac_cpp
='$CXXCPP $CPPFLAGS'
49149 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49150 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49151 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
49153 cat >conftest.
$ac_ext <<_ACEOF
49156 cat confdefs.h
>>conftest.
$ac_ext
49157 cat >>conftest.
$ac_ext <<_ACEOF
49158 /* end confdefs.h. */
49159 #include <IOKit/hid/IOHIDLib.h>
49163 IOHIDQueueInterface *qi = NULL;
49164 IOHIDCallbackFunction cb = NULL;
49165 qi->setEventCallout(NULL, cb, NULL, NULL);
49170 rm -f conftest.
$ac_objext
49171 if { (ac_try
="$ac_compile"
49172 case "(($ac_try" in
49173 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49174 *) ac_try_echo=$ac_try;;
49176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49177 (eval "$ac_compile") 2>conftest.er1
49179 grep -v '^ *+' conftest.er1 >conftest.err
49181 cat conftest.err >&5
49182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49183 (exit $ac_status); } && {
49184 test -z "$ac_cxx_werror_flag" ||
49185 test ! -s conftest.err
49186 } && test -s conftest.$ac_objext; then
49190 echo "$as_me: failed program was:" >&5
49191 sed 's/^/| /' conftest.$ac_ext >&5
49196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49198 ac_cpp='$CPP $CPPFLAGS'
49199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49203 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
49204 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
49209 for ac_header in linux/joystick.h
49211 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
49212 { echo "$as_me:$LINENO: checking for $ac_header" >&5
49213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
49214 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
49215 echo $ECHO_N "(cached) $ECHO_C" >&6
49217 cat >conftest.$ac_ext <<_ACEOF
49220 cat confdefs.h >>conftest.$ac_ext
49221 cat >>conftest.$ac_ext <<_ACEOF
49222 /* end confdefs.h. */
49223 $ac_includes_default
49225 #include <$ac_header>
49227 rm -f conftest.$ac_objext
49228 if { (ac_try="$ac_compile"
49229 case "(($ac_try" in
49230 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49231 *) ac_try_echo
=$ac_try;;
49233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49234 (eval "$ac_compile") 2>conftest.er1
49236 grep -v '^ *+' conftest.er1
>conftest.err
49238 cat conftest.err
>&5
49239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49240 (exit $ac_status); } && {
49241 test -z "$ac_c_werror_flag" ||
49242 test ! -s conftest.err
49243 } && test -s conftest.
$ac_objext; then
49244 eval "$as_ac_Header=yes"
49246 echo "$as_me: failed program was:" >&5
49247 sed 's/^/| /' conftest.
$ac_ext >&5
49249 eval "$as_ac_Header=no"
49252 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49254 ac_res
=`eval echo '${'$as_ac_Header'}'`
49255 { echo "$as_me:$LINENO: result: $ac_res" >&5
49256 echo "${ECHO_T}$ac_res" >&6; }
49257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
49258 cat >>confdefs.h
<<_ACEOF
49259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
49268 if test "$wxUSE_JOYSTICK" = "yes"; then
49269 cat >>confdefs.h
<<\_ACEOF
49270 #define wxUSE_JOYSTICK 1
49273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
49275 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
49276 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
49282 if test "$wxUSE_FONTENUM" = "yes" ; then
49283 cat >>confdefs.h
<<\_ACEOF
49284 #define wxUSE_FONTENUM 1
49289 if test "$wxUSE_FONTMAP" = "yes" ; then
49290 cat >>confdefs.h
<<\_ACEOF
49291 #define wxUSE_FONTMAP 1
49296 if test "$wxUSE_UNICODE" = "yes" ; then
49297 cat >>confdefs.h
<<\_ACEOF
49298 #define wxUSE_UNICODE 1
49302 if test "$USE_WIN32" != 1; then
49303 wxUSE_UNICODE_MSLU
=no
49306 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
49307 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
49308 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
49309 if test "${ac_cv_lib_unicows_main+set}" = set; then
49310 echo $ECHO_N "(cached) $ECHO_C" >&6
49312 ac_check_lib_save_LIBS
=$LIBS
49313 LIBS
="-lunicows $LIBS"
49314 cat >conftest.
$ac_ext <<_ACEOF
49317 cat confdefs.h
>>conftest.
$ac_ext
49318 cat >>conftest.
$ac_ext <<_ACEOF
49319 /* end confdefs.h. */
49330 rm -f conftest.
$ac_objext conftest
$ac_exeext
49331 if { (ac_try
="$ac_link"
49332 case "(($ac_try" in
49333 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49334 *) ac_try_echo=$ac_try;;
49336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49337 (eval "$ac_link") 2>conftest.er1
49339 grep -v '^ *+' conftest.er1 >conftest.err
49341 cat conftest.err >&5
49342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49343 (exit $ac_status); } && {
49344 test -z "$ac_c_werror_flag" ||
49345 test ! -s conftest.err
49346 } && test -s conftest$ac_exeext &&
49347 $as_test_x conftest$ac_exeext; then
49348 ac_cv_lib_unicows_main=yes
49350 echo "$as_me: failed program was:" >&5
49351 sed 's/^/| /' conftest.$ac_ext >&5
49353 ac_cv_lib_unicows_main=no
49356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
49357 conftest$ac_exeext conftest.$ac_ext
49358 LIBS=$ac_check_lib_save_LIBS
49360 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
49361 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
49362 if test $ac_cv_lib_unicows_main = yes; then
49364 cat >>confdefs.h <<\_ACEOF
49365 #define wxUSE_UNICODE_MSLU 1
49371 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49372 Applications will only run on Windows NT/2000/XP!" >&5
49373 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
49374 Applications will only run on Windows NT/2000/XP!" >&2;}
49375 wxUSE_UNICODE_MSLU=no
49382 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
49383 cat >>confdefs.h <<\_ACEOF
49384 #define wxUSE_UNICODE_UTF8 1
49388 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
49389 cat >>confdefs.h <<\_ACEOF
49390 #define wxUSE_UTF8_LOCALE_ONLY 1
49397 if test "$wxUSE_CONSTRAINTS" = "yes"; then
49398 cat >>confdefs.h <<\_ACEOF
49399 #define wxUSE_CONSTRAINTS 1
49402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
49405 if test "$wxUSE_MDI" = "yes"; then
49406 cat >>confdefs.h <<\_ACEOF
49407 #define wxUSE_MDI 1
49411 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
49412 cat >>confdefs.h <<\_ACEOF
49413 #define wxUSE_MDI_ARCHITECTURE 1
49416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
49420 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
49421 cat >>confdefs.h <<\_ACEOF
49422 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
49425 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
49428 if test "$wxUSE_HELP" = "yes"; then
49429 cat >>confdefs.h <<\_ACEOF
49430 #define wxUSE_HELP 1
49433 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
49435 if test "$wxUSE_MSW" = 1; then
49436 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
49437 cat >>confdefs.h <<\_ACEOF
49438 #define wxUSE_MS_HTML_HELP 1
49444 if test "$wxUSE_WXHTML_HELP" = "yes"; then
49445 if test "$wxUSE_HTML" = "yes"; then
49446 cat >>confdefs.h <<\_ACEOF
49447 #define wxUSE_WXHTML_HELP 1
49451 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
49452 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
49453 wxUSE_WXHTML_HELP=no
49458 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
49459 cat >>confdefs.h <<\_ACEOF
49460 #define wxUSE_PRINTING_ARCHITECTURE 1
49463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
49466 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
49467 cat >>confdefs.h <<\_ACEOF
49468 #define wxUSE_POSTSCRIPT 1
49473 cat >>confdefs.h <<\_ACEOF
49474 #define wxUSE_AFM_FOR_POSTSCRIPT 1
49478 if test "$wxUSE_SVG" = "yes"; then
49479 cat >>confdefs.h <<\_ACEOF
49480 #define wxUSE_SVG 1
49486 if test "$wxUSE_METAFILE" = "yes"; then
49487 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
49488 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
49489 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
49492 elif test "$wxUSE_METAFILE" = "auto"; then
49493 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
49498 if test "$wxUSE_METAFILE" = "yes"; then
49499 cat >>confdefs.h <<\_ACEOF
49500 #define wxUSE_METAFILE 1
49503 if test "$wxUSE_MSW" = 1; then
49504 cat >>confdefs.h <<\_ACEOF
49505 #define wxUSE_ENH_METAFILE 1
49512 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
49513 -o "$wxUSE_CLIPBOARD" = "yes" \
49514 -o "$wxUSE_OLE" = "yes" \
49515 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
49516 { echo "$as_me:$LINENO: checking for ole2.h" >&5
49517 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
49518 if test "${ac_cv_header_ole2_h+set}" = set; then
49519 echo $ECHO_N "(cached) $ECHO_C" >&6
49521 cat >conftest.$ac_ext <<_ACEOF
49524 cat confdefs.h >>conftest.$ac_ext
49525 cat >>conftest.$ac_ext <<_ACEOF
49526 /* end confdefs.h. */
49531 rm -f conftest.$ac_objext
49532 if { (ac_try="$ac_compile"
49533 case "(($ac_try" in
49534 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49535 *) ac_try_echo
=$ac_try;;
49537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49538 (eval "$ac_compile") 2>conftest.er1
49540 grep -v '^ *+' conftest.er1
>conftest.err
49542 cat conftest.err
>&5
49543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49544 (exit $ac_status); } && {
49545 test -z "$ac_c_werror_flag" ||
49546 test ! -s conftest.err
49547 } && test -s conftest.
$ac_objext; then
49548 ac_cv_header_ole2_h
=yes
49550 echo "$as_me: failed program was:" >&5
49551 sed 's/^/| /' conftest.
$ac_ext >&5
49553 ac_cv_header_ole2_h
=no
49556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49558 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
49559 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
49563 if test "$ac_cv_header_ole2_h" = "yes" ; then
49564 if test "$GCC" = yes ; then
49565 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
49566 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
49567 cat >conftest.
$ac_ext <<_ACEOF
49570 cat confdefs.h
>>conftest.
$ac_ext
49571 cat >>conftest.
$ac_ext <<_ACEOF
49572 /* end confdefs.h. */
49573 #include <windows.h>
49583 rm -f conftest.
$ac_objext
49584 if { (ac_try
="$ac_compile"
49585 case "(($ac_try" in
49586 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49587 *) ac_try_echo=$ac_try;;
49589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49590 (eval "$ac_compile") 2>conftest.er1
49592 grep -v '^ *+' conftest.er1 >conftest.err
49594 cat conftest.err >&5
49595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49596 (exit $ac_status); } && {
49597 test -z "$ac_c_werror_flag" ||
49598 test ! -s conftest.err
49599 } && test -s conftest.$ac_objext; then
49600 { echo "$as_me:$LINENO: result: no" >&5
49601 echo "${ECHO_T}no" >&6; }
49603 echo "$as_me: failed program was:" >&5
49604 sed 's/^/| /' conftest.$ac_ext >&5
49606 { echo "$as_me:$LINENO: result: yes" >&5
49607 echo "${ECHO_T}yes" >&6; }
49608 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
49611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49612 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
49613 if test "$wxUSE_OLE" = "yes" ; then
49614 cat >>confdefs.h <<\_ACEOF
49615 #define wxUSE_OLE 1
49618 cat >>confdefs.h <<\_ACEOF
49619 #define wxUSE_OLE_AUTOMATION 1
49622 cat >>confdefs.h <<\_ACEOF
49623 #define wxUSE_ACTIVEX 1
49626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
49630 if test "$wxUSE_DATAOBJ" = "yes" ; then
49631 cat >>confdefs.h <<\_ACEOF
49632 #define wxUSE_DATAOBJ 1
49637 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
49638 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
49641 wxUSE_DRAG_AND_DROP=no
49647 if test "$wxUSE_IPC" = "yes"; then
49648 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
49649 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
49650 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
49654 if test "$wxUSE_IPC" = "yes"; then
49655 cat >>confdefs.h <<\_ACEOF
49656 #define wxUSE_IPC 1
49659 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
49663 if test "$wxUSE_DATAOBJ" = "yes"; then
49664 cat >>confdefs.h <<\_ACEOF
49665 #define wxUSE_DATAOBJ 1
49669 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
49670 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
49672 wxUSE_DRAG_AND_DROP=no
49675 if test "$wxUSE_CLIPBOARD" = "yes"; then
49676 if test "$wxUSE_DFB" = 1; then
49677 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
49678 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
49682 if test "$wxUSE_CLIPBOARD" = "yes"; then
49683 cat >>confdefs.h <<\_ACEOF
49684 #define wxUSE_CLIPBOARD 1
49690 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
49691 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
49692 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
49693 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
49694 wxUSE_DRAG_AND_DROP=no
49697 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
49698 cat >>confdefs.h <<\_ACEOF
49699 #define wxUSE_DRAG_AND_DROP 1
49706 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
49707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
49710 if test "$wxUSE_CLIPBOARD" = "yes"; then
49711 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
49714 if test "$wxUSE_SPLINES" = "yes" ; then
49715 cat >>confdefs.h <<\_ACEOF
49716 #define wxUSE_SPLINES 1
49721 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
49722 cat >>confdefs.h <<\_ACEOF
49723 #define wxUSE_MOUSEWHEEL 1
49728 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
49729 cat >>confdefs.h <<\_ACEOF
49730 #define wxUSE_UIACTIONSIMULATOR 1
49733 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
49736 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
49737 cat >>confdefs.h <<\_ACEOF
49738 #define wxUSE_DC_TRANSFORM_MATRIX 1
49745 if test "$wxUSE_CONTROLS" = "yes"; then
49749 if test "$wxUSE_MARKUP" = "yes"; then
49750 cat >>confdefs.h <<\_ACEOF
49751 #define wxUSE_MARKUP 1
49756 if test "$wxUSE_ACCEL" = "yes"; then
49757 cat >>confdefs.h <<\_ACEOF
49758 #define wxUSE_ACCEL 1
49764 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
49765 cat >>confdefs.h <<\_ACEOF
49766 #define wxUSE_ANIMATIONCTRL 1
49770 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
49773 if test "$wxUSE_BANNERWINDOW" = "yes"; then
49774 cat >>confdefs.h <<\_ACEOF
49775 #define wxUSE_BANNERWINDOW 1
49780 if test "$wxUSE_BUTTON" = "yes"; then
49781 cat >>confdefs.h <<\_ACEOF
49782 #define wxUSE_BUTTON 1
49788 if test "$wxUSE_BMPBUTTON" = "yes"; then
49789 cat >>confdefs.h <<\_ACEOF
49790 #define wxUSE_BMPBUTTON 1
49796 if test "$wxUSE_CALCTRL" = "yes"; then
49797 cat >>confdefs.h <<\_ACEOF
49798 #define wxUSE_CALENDARCTRL 1
49802 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
49805 if test "$wxUSE_CARET" = "yes"; then
49806 cat >>confdefs.h <<\_ACEOF
49807 #define wxUSE_CARET 1
49811 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
49814 if test "$wxUSE_COLLPANE" = "yes"; then
49815 cat >>confdefs.h <<\_ACEOF
49816 #define wxUSE_COLLPANE 1
49820 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
49823 if test "$wxUSE_COMBOBOX" = "yes"; then
49824 cat >>confdefs.h <<\_ACEOF
49825 #define wxUSE_COMBOBOX 1
49831 if test "$wxUSE_COMBOCTRL" = "yes"; then
49832 cat >>confdefs.h <<\_ACEOF
49833 #define wxUSE_COMBOCTRL 1
49839 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
49840 cat >>confdefs.h <<\_ACEOF
49841 #define wxUSE_COMMANDLINKBUTTON 1
49847 if test "$wxUSE_CHOICE" = "yes"; then
49848 cat >>confdefs.h <<\_ACEOF
49849 #define wxUSE_CHOICE 1
49855 if test "$wxUSE_CHOICEBOOK" = "yes"; then
49856 cat >>confdefs.h <<\_ACEOF
49857 #define wxUSE_CHOICEBOOK 1
49863 if test "$wxUSE_CHECKBOX" = "yes"; then
49864 cat >>confdefs.h <<\_ACEOF
49865 #define wxUSE_CHECKBOX 1
49871 if test "$wxUSE_CHECKLST" = "yes"; then
49872 cat >>confdefs.h <<\_ACEOF
49873 #define wxUSE_CHECKLISTBOX 1
49879 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
49880 cat >>confdefs.h <<\_ACEOF
49881 #define wxUSE_COLOURPICKERCTRL 1
49887 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
49888 cat >>confdefs.h <<\_ACEOF
49889 #define wxUSE_DATEPICKCTRL 1
49895 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
49896 cat >>confdefs.h <<\_ACEOF
49897 #define wxUSE_DIRPICKERCTRL 1
49903 if test "$wxUSE_FILECTRL" = "yes"; then
49904 cat >>confdefs.h <<\_ACEOF
49905 #define wxUSE_FILECTRL 1
49911 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
49912 cat >>confdefs.h <<\_ACEOF
49913 #define wxUSE_FILEPICKERCTRL 1
49919 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
49920 cat >>confdefs.h <<\_ACEOF
49921 #define wxUSE_FONTPICKERCTRL 1
49927 if test "$wxUSE_DISPLAY" = "yes"; then
49928 if test "$wxUSE_DFB" = 1; then
49929 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
49930 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
49933 cat >>confdefs.h <<\_ACEOF
49934 #define wxUSE_DISPLAY 1
49937 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
49941 if test "$wxUSE_DETECT_SM" = "yes"; then
49942 cat >>confdefs.h <<\_ACEOF
49943 #define wxUSE_DETECT_SM 1
49948 if test "$wxUSE_GAUGE" = "yes"; then
49949 cat >>confdefs.h <<\_ACEOF
49950 #define wxUSE_GAUGE 1
49956 if test "$wxUSE_GRID" = "yes"; then
49957 cat >>confdefs.h <<\_ACEOF
49958 #define wxUSE_GRID 1
49962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
49965 if test "$wxUSE_HEADERCTRL" = "yes"; then
49966 cat >>confdefs.h <<\_ACEOF
49967 #define wxUSE_HEADERCTRL 1
49973 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
49974 cat >>confdefs.h <<\_ACEOF
49975 #define wxUSE_HYPERLINKCTRL 1
49981 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
49982 cat >>confdefs.h <<\_ACEOF
49983 #define wxUSE_BITMAPCOMBOBOX 1
49989 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
49990 cat >>confdefs.h <<\_ACEOF
49991 #define wxUSE_DATAVIEWCTRL 1
49995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
49998 if test "$wxUSE_IMAGLIST" = "yes"; then
49999 cat >>confdefs.h <<\_ACEOF
50000 #define wxUSE_IMAGLIST 1
50005 if test "$wxUSE_INFOBAR" = "yes"; then
50006 cat >>confdefs.h <<\_ACEOF
50007 #define wxUSE_INFOBAR 1
50012 if test "$wxUSE_LISTBOOK" = "yes"; then
50013 cat >>confdefs.h <<\_ACEOF
50014 #define wxUSE_LISTBOOK 1
50020 if test "$wxUSE_LISTBOX" = "yes"; then
50021 cat >>confdefs.h <<\_ACEOF
50022 #define wxUSE_LISTBOX 1
50028 if test "$wxUSE_LISTCTRL" = "yes"; then
50029 if test "$wxUSE_IMAGLIST" = "yes"; then
50030 cat >>confdefs.h <<\_ACEOF
50031 #define wxUSE_LISTCTRL 1
50035 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
50037 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
50038 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
50042 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
50043 cat >>confdefs.h <<\_ACEOF
50044 #define wxUSE_EDITABLELISTBOX 1
50050 if test "$wxUSE_NOTEBOOK" = "yes"; then
50051 cat >>confdefs.h <<\_ACEOF
50052 #define wxUSE_NOTEBOOK 1
50056 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
50059 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
50060 cat >>confdefs.h <<\_ACEOF
50061 #define wxUSE_NOTIFICATION_MESSAGE 1
50066 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
50067 cat >>confdefs.h <<\_ACEOF
50068 #define wxUSE_ODCOMBOBOX 1
50072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
50075 if test "$wxUSE_RADIOBOX" = "yes"; then
50076 cat >>confdefs.h <<\_ACEOF
50077 #define wxUSE_RADIOBOX 1
50083 if test "$wxUSE_RADIOBTN" = "yes"; then
50084 cat >>confdefs.h <<\_ACEOF
50085 #define wxUSE_RADIOBTN 1
50091 if test "$wxUSE_REARRANGECTRL" = "yes"; then
50092 cat >>confdefs.h <<\_ACEOF
50093 #define wxUSE_REARRANGECTRL 1
50098 if test "$wxUSE_RICHMSGDLG" = "yes"; then
50099 cat >>confdefs.h <<\_ACEOF
50100 #define wxUSE_RICHMSGDLG 1
50105 if test "$wxUSE_RICHTOOLTIP" = "yes"; then
50106 cat >>confdefs.h <<\_ACEOF
50107 #define wxUSE_RICHTOOLTIP 1
50112 if test "$wxUSE_SASH" = "yes"; then
50113 cat >>confdefs.h <<\_ACEOF
50114 #define wxUSE_SASH 1
50117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
50120 if test "$wxUSE_SCROLLBAR" = "yes"; then
50121 cat >>confdefs.h <<\_ACEOF
50122 #define wxUSE_SCROLLBAR 1
50126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
50129 if test "$wxUSE_SEARCHCTRL" = "yes"; then
50130 cat >>confdefs.h <<\_ACEOF
50131 #define wxUSE_SEARCHCTRL 1
50137 if test "$wxUSE_SLIDER" = "yes"; then
50138 cat >>confdefs.h <<\_ACEOF
50139 #define wxUSE_SLIDER 1
50145 if test "$wxUSE_SPINBTN" = "yes"; then
50146 cat >>confdefs.h <<\_ACEOF
50147 #define wxUSE_SPINBTN 1
50153 if test "$wxUSE_SPINCTRL" = "yes"; then
50154 cat >>confdefs.h <<\_ACEOF
50155 #define wxUSE_SPINCTRL 1
50161 if test "$wxUSE_SPLITTER" = "yes"; then
50162 cat >>confdefs.h <<\_ACEOF
50163 #define wxUSE_SPLITTER 1
50166 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
50169 if test "$wxUSE_STATBMP" = "yes"; then
50170 cat >>confdefs.h <<\_ACEOF
50171 #define wxUSE_STATBMP 1
50177 if test "$wxUSE_STATBOX" = "yes"; then
50178 cat >>confdefs.h <<\_ACEOF
50179 #define wxUSE_STATBOX 1
50185 if test "$wxUSE_STATTEXT" = "yes"; then
50186 cat >>confdefs.h <<\_ACEOF
50187 #define wxUSE_STATTEXT 1
50193 if test "$wxUSE_STATLINE" = "yes"; then
50194 cat >>confdefs.h <<\_ACEOF
50195 #define wxUSE_STATLINE 1
50201 if test "$wxUSE_STATUSBAR" = "yes"; then
50202 cat >>confdefs.h <<\_ACEOF
50203 #define wxUSE_NATIVE_STATUSBAR 1
50206 cat >>confdefs.h <<\_ACEOF
50207 #define wxUSE_STATUSBAR 1
50212 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
50215 if test "$wxUSE_TEXTCTRL" = "yes"; then
50216 cat >>confdefs.h <<\_ACEOF
50217 #define wxUSE_TEXTCTRL 1
50221 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
50223 cat >>confdefs.h <<\_ACEOF
50224 #define wxUSE_RICHEDIT 1
50227 cat >>confdefs.h <<\_ACEOF
50228 #define wxUSE_RICHEDIT2 1
50233 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
50234 cat >>confdefs.h <<\_ACEOF
50235 #define wxUSE_TIMEPICKCTRL 1
50241 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50242 if test "$wxUSE_OLD_COCOA" = 1 ; then
50243 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
50244 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
50248 if test "$wxUSE_TOGGLEBTN" = "yes"; then
50249 cat >>confdefs.h <<\_ACEOF
50250 #define wxUSE_TOGGLEBTN 1
50257 if test "$wxUSE_TOOLBAR" = "yes"; then
50258 cat >>confdefs.h <<\_ACEOF
50259 #define wxUSE_TOOLBAR 1
50264 if test "$wxUSE_UNIVERSAL" = "yes"; then
50265 wxUSE_TOOLBAR_NATIVE="no"
50267 wxUSE_TOOLBAR_NATIVE="yes"
50268 cat >>confdefs.h <<\_ACEOF
50269 #define wxUSE_TOOLBAR_NATIVE 1
50274 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
50277 if test "$wxUSE_TOOLTIPS" = "yes"; then
50278 if test "$wxUSE_MOTIF" = 1; then
50279 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
50280 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
50282 if test "$wxUSE_UNIVERSAL" = "yes"; then
50283 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
50284 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
50286 cat >>confdefs.h <<\_ACEOF
50287 #define wxUSE_TOOLTIPS 1
50294 if test "$wxUSE_TREEBOOK" = "yes"; then
50295 cat >>confdefs.h <<\_ACEOF
50296 #define wxUSE_TREEBOOK 1
50302 if test "$wxUSE_TOOLBOOK" = "yes"; then
50303 cat >>confdefs.h <<\_ACEOF
50304 #define wxUSE_TOOLBOOK 1
50310 if test "$wxUSE_TREECTRL" = "yes"; then
50311 if test "$wxUSE_IMAGLIST" = "yes"; then
50312 cat >>confdefs.h <<\_ACEOF
50313 #define wxUSE_TREECTRL 1
50317 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
50319 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
50320 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
50324 if test "$wxUSE_TREELISTCTRL" = "yes"; then
50325 cat >>confdefs.h <<\_ACEOF
50326 #define wxUSE_TREELISTCTRL 1
50330 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
50333 if test "$wxUSE_POPUPWIN" = "yes"; then
50334 if test "$wxUSE_OLD_COCOA" = 1 ; then
50335 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
50336 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
50338 if test "$wxUSE_PM" = 1; then
50339 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
50340 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
50342 cat >>confdefs.h <<\_ACEOF
50343 #define wxUSE_POPUPWIN 1
50346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
50353 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
50354 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
50355 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
50356 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
50358 cat >>confdefs.h <<\_ACEOF
50359 #define wxUSE_DIALUP_MANAGER 1
50362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
50366 if test "$wxUSE_TIPWINDOW" = "yes"; then
50367 if test "$wxUSE_PM" = 1; then
50368 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
50369 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
50371 cat >>confdefs.h <<\_ACEOF
50372 #define wxUSE_TIPWINDOW 1
50378 if test "$USES_CONTROLS" = 1; then
50379 cat >>confdefs.h <<\_ACEOF
50380 #define wxUSE_CONTROLS 1
50386 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
50387 cat >>confdefs.h <<\_ACEOF
50388 #define wxUSE_ACCESSIBILITY 1
50391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
50394 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
50395 cat >>confdefs.h <<\_ACEOF
50396 #define wxUSE_ARTPROVIDER_STD 1
50401 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
50402 if test "$wxUSE_GTK" != 1; then
50403 if test "$wxUSE_LIBPNG" != no -a \
50404 "$wxUSE_IMAGE" = yes -a \
50405 "$wxUSE_STREAMS" = yes; then
50406 wxUSE_ARTPROVIDER_TANGO="yes"
50411 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
50412 cat >>confdefs.h <<\_ACEOF
50413 #define wxUSE_ARTPROVIDER_TANGO 1
50418 if test "$wxUSE_DRAGIMAGE" = "yes"; then
50419 cat >>confdefs.h <<\_ACEOF
50420 #define wxUSE_DRAGIMAGE 1
50423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
50426 if test "$wxUSE_EXCEPTIONS" = "yes"; then
50427 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
50428 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
50429 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
50431 cat >>confdefs.h <<\_ACEOF
50432 #define wxUSE_EXCEPTIONS 1
50435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
50440 if test "$wxUSE_HTML" = "yes"; then
50441 cat >>confdefs.h <<\_ACEOF
50442 #define wxUSE_HTML 1
50446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
50448 if test "$wxUSE_WEBKIT" = "yes"; then
50449 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50450 old_CPPFLAGS="$CPPFLAGS"
50451 CPPFLAGS="-x objective-c++ $CPPFLAGS"
50452 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50453 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50454 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50455 echo $ECHO_N "(cached) $ECHO_C" >&6
50457 cat >conftest.$ac_ext <<_ACEOF
50460 cat confdefs.h >>conftest.$ac_ext
50461 cat >>conftest.$ac_ext <<_ACEOF
50462 /* end confdefs.h. */
50464 #include <Carbon/Carbon.h>
50465 #include <WebKit/WebKit.h>
50468 #include <WebKit/HIWebView.h>
50470 rm -f conftest.$ac_objext
50471 if { (ac_try="$ac_compile"
50472 case "(($ac_try" in
50473 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50474 *) ac_try_echo
=$ac_try;;
50476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50477 (eval "$ac_compile") 2>conftest.er1
50479 grep -v '^ *+' conftest.er1
>conftest.err
50481 cat conftest.err
>&5
50482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50483 (exit $ac_status); } && {
50484 test -z "$ac_c_werror_flag" ||
50485 test ! -s conftest.err
50486 } && test -s conftest.
$ac_objext; then
50487 ac_cv_header_WebKit_HIWebView_h
=yes
50489 echo "$as_me: failed program was:" >&5
50490 sed 's/^/| /' conftest.
$ac_ext >&5
50492 ac_cv_header_WebKit_HIWebView_h
=no
50495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50497 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50498 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50499 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50501 cat >>confdefs.h
<<\_ACEOF
50502 #define wxUSE_WEBKIT 1
50505 WEBKIT_LINK
="-framework WebKit"
50509 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
50510 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
50516 CPPFLAGS
="$old_CPPFLAGS"
50517 elif test "$wxUSE_OLD_COCOA" = 1; then
50518 cat >>confdefs.h
<<\_ACEOF
50519 #define wxUSE_WEBKIT 1
50525 if test "$wxUSE_WEBKIT" = "yes"; then
50526 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html/htmlctrl"
50531 if test "$wxUSE_XRC" = "yes"; then
50532 if test "$wxUSE_XML" != "yes"; then
50533 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
50534 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
50537 cat >>confdefs.h
<<\_ACEOF
50538 #define wxUSE_XRC 1
50542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS xrc"
50547 if test "$wxUSE_AUI" = "yes"; then
50548 cat >>confdefs.h
<<\_ACEOF
50549 #define wxUSE_AUI 1
50553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS aui"
50557 if test "$wxUSE_PROPGRID" = "yes"; then
50558 cat >>confdefs.h
<<\_ACEOF
50559 #define wxUSE_PROPGRID 1
50563 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS propgrid"
50567 if test "$wxUSE_RIBBON" = "yes"; then
50568 cat >>confdefs.h
<<\_ACEOF
50569 #define wxUSE_RIBBON 1
50573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ribbon"
50577 if test "$wxUSE_STC" = "yes"; then
50578 cat >>confdefs.h
<<\_ACEOF
50579 #define wxUSE_STC 1
50583 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS stc"
50585 # Extract the first word of "python", so it can be a program name with args.
50586 set dummy python
; ac_word
=$2
50587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50589 if test "${ac_cv_path_PYTHON+set}" = set; then
50590 echo $ECHO_N "(cached) $ECHO_C" >&6
50594 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
50597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50598 for as_dir
in $PATH
50601 test -z "$as_dir" && as_dir
=.
50602 for ac_exec_ext
in '' $ac_executable_extensions; do
50603 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50604 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
50605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50615 PYTHON
=$ac_cv_path_PYTHON
50616 if test -n "$PYTHON"; then
50617 { echo "$as_me:$LINENO: result: $PYTHON" >&5
50618 echo "${ECHO_T}$PYTHON" >&6; }
50620 { echo "$as_me:$LINENO: result: no" >&5
50621 echo "${ECHO_T}no" >&6; }
50625 if test "x$PYTHON" = "x"; then
50631 if test "$wxUSE_MENUS" = "yes"; then
50632 cat >>confdefs.h
<<\_ACEOF
50633 #define wxUSE_MENUS 1
50636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
50639 if test "$wxUSE_MIMETYPE" = "yes"; then
50640 cat >>confdefs.h
<<\_ACEOF
50641 #define wxUSE_MIMETYPE 1
50646 if test "$wxUSE_MINIFRAME" = "yes"; then
50647 cat >>confdefs.h
<<\_ACEOF
50648 #define wxUSE_MINIFRAME 1
50653 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
50654 cat >>confdefs.h
<<\_ACEOF
50655 #define wxUSE_SYSTEM_OPTIONS 1
50660 if test "$wxUSE_TASKBARICON" = "yes"; then
50661 cat >>confdefs.h
<<\_ACEOF
50662 #define wxUSE_TASKBARICON 1
50665 cat >>confdefs.h
<<\_ACEOF
50666 #define wxUSE_TASKBARICON_BALLOONS 1
50669 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
50673 if test "$wxUSE_VALIDATORS" = "yes"; then
50674 cat >>confdefs.h
<<\_ACEOF
50675 #define wxUSE_VALIDATORS 1
50678 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
50681 if test "$wxUSE_PALETTE" = "yes" ; then
50682 if test "$wxUSE_DFB" = 1; then
50683 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
50684 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
50687 cat >>confdefs.h
<<\_ACEOF
50688 #define wxUSE_PALETTE 1
50694 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
50695 LIBS
=" -lunicows $LIBS"
50699 if test "$wxUSE_RICHTEXT" = "yes"; then
50700 cat >>confdefs.h
<<\_ACEOF
50701 #define wxUSE_RICHTEXT 1
50705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS richtext"
50708 if test "$wxUSE_WEBVIEW" = "yes"; then
50709 USE_WEBVIEW_WEBKIT
=0
50710 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
50711 if test "$wxUSE_GTK" = 1; then
50714 { echo "$as_me:$LINENO: checking for WEBKIT" >&5
50715 echo $ECHO_N "checking for WEBKIT... $ECHO_C" >&6; }
50717 if test -n "$PKG_CONFIG"; then
50718 if test -n "$WEBKIT_CFLAGS"; then
50719 pkg_cv_WEBKIT_CFLAGS
="$WEBKIT_CFLAGS"
50721 if test -n "$PKG_CONFIG" && \
50722 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\"") >&5
50723 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
50725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50726 (exit $ac_status); }; then
50727 pkg_cv_WEBKIT_CFLAGS
=`$PKG_CONFIG --cflags "webkit-1.0 >= 1.3.1" 2>/dev/null`
50735 if test -n "$PKG_CONFIG"; then
50736 if test -n "$WEBKIT_LIBS"; then
50737 pkg_cv_WEBKIT_LIBS
="$WEBKIT_LIBS"
50739 if test -n "$PKG_CONFIG" && \
50740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"webkit-1.0 >= 1.3.1\"") >&5
50741 ($PKG_CONFIG --exists --print-errors "webkit-1.0 >= 1.3.1") 2>&5
50743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50744 (exit $ac_status); }; then
50745 pkg_cv_WEBKIT_LIBS
=`$PKG_CONFIG --libs "webkit-1.0 >= 1.3.1" 2>/dev/null`
50756 if test $pkg_failed = yes; then
50758 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
50759 _pkg_short_errors_supported
=yes
50761 _pkg_short_errors_supported
=no
50763 if test $_pkg_short_errors_supported = yes; then
50764 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
50766 WEBKIT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "webkit-1.0 >= 1.3.1"`
50768 # Put the nasty error message in config.log where it belongs
50769 echo "$WEBKIT_PKG_ERRORS" >&5
50772 { echo "$as_me:$LINENO: WARNING: webkitgtk not found." >&5
50773 echo "$as_me: WARNING: webkitgtk not found." >&2;}
50775 elif test $pkg_failed = untried
; then
50777 { echo "$as_me:$LINENO: WARNING: webkitgtk not found." >&5
50778 echo "$as_me: WARNING: webkitgtk not found." >&2;}
50781 WEBKIT_CFLAGS
=$pkg_cv_WEBKIT_CFLAGS
50782 WEBKIT_LIBS
=$pkg_cv_WEBKIT_LIBS
50783 { echo "$as_me:$LINENO: result: yes" >&5
50784 echo "${ECHO_T}yes" >&6; }
50786 USE_WEBVIEW_WEBKIT
=1
50787 CPPFLAGS
="$CPPFLAGS $WEBKIT_CFLAGS"
50788 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $WEBKIT_LIBS"
50791 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
50792 old_CPPFLAGS
="$CPPFLAGS"
50793 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
50794 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
50795 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
50796 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
50797 echo $ECHO_N "(cached) $ECHO_C" >&6
50799 cat >conftest.
$ac_ext <<_ACEOF
50802 cat confdefs.h
>>conftest.
$ac_ext
50803 cat >>conftest.
$ac_ext <<_ACEOF
50804 /* end confdefs.h. */
50806 #include <Carbon/Carbon.h>
50807 #include <WebKit/WebKit.h>
50810 #include <WebKit/HIWebView.h>
50812 rm -f conftest.
$ac_objext
50813 if { (ac_try
="$ac_compile"
50814 case "(($ac_try" in
50815 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
50816 *) ac_try_echo=$ac_try;;
50818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50819 (eval "$ac_compile") 2>conftest.er1
50821 grep -v '^ *+' conftest.er1 >conftest.err
50823 cat conftest.err >&5
50824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50825 (exit $ac_status); } && {
50826 test -z "$ac_c_werror_flag" ||
50827 test ! -s conftest.err
50828 } && test -s conftest.$ac_objext; then
50829 ac_cv_header_WebKit_HIWebView_h=yes
50831 echo "$as_me: failed program was:" >&5
50832 sed 's/^/| /' conftest.$ac_ext >&5
50834 ac_cv_header_WebKit_HIWebView_h=no
50837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50839 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
50840 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
50841 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
50843 USE_WEBVIEW_WEBKIT=1
50844 WEBKIT_LINK="-framework WebKit"
50848 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
50849 echo "$as_me: WARNING: WebKit headers not found" >&2;}
50854 CPPFLAGS="$old_CPPFLAGS"
50859 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
50860 if test "$USE_WEBVIEW_WEBKIT" = 1; then
50861 wxUSE_WEBVIEW="yes"
50862 cat >>confdefs.h <<\_ACEOF
50863 #define wxUSE_WEBVIEW_WEBKIT 1
50867 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
50868 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
50870 elif test "$wxUSE_MSW" = 1; then
50871 if test "$wxUSE_WEBVIEW_IE" = "yes"; then
50872 wxUSE_WEBVIEW="yes"
50873 cat >>confdefs.h <<\_ACEOF
50874 #define wxUSE_WEBVIEW_IE 1
50881 if test "$wxUSE_WEBVIEW" = "yes"; then
50883 cat >>confdefs.h <<\_ACEOF
50884 #define wxUSE_WEBVIEW 1
50887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
50893 if test "$wxUSE_IMAGE" = "yes" ; then
50894 cat >>confdefs.h <<\_ACEOF
50895 #define wxUSE_IMAGE 1
50899 if test "$wxUSE_GIF" = "yes" ; then
50900 cat >>confdefs.h <<\_ACEOF
50901 #define wxUSE_GIF 1
50906 if test "$wxUSE_PCX" = "yes" ; then
50907 cat >>confdefs.h <<\_ACEOF
50908 #define wxUSE_PCX 1
50913 if test "$wxUSE_TGA" = "yes" ; then
50914 cat >>confdefs.h <<\_ACEOF
50915 #define wxUSE_TGA 1
50920 if test "$wxUSE_IFF" = "yes" ; then
50921 cat >>confdefs.h <<\_ACEOF
50922 #define wxUSE_IFF 1
50927 if test "$wxUSE_PNM" = "yes" ; then
50928 cat >>confdefs.h <<\_ACEOF
50929 #define wxUSE_PNM 1
50934 if test "$wxUSE_XPM" = "yes" ; then
50935 cat >>confdefs.h <<\_ACEOF
50936 #define wxUSE_XPM 1
50941 if test "$wxUSE_ICO_CUR" = "yes" ; then
50942 cat >>confdefs.h <<\_ACEOF
50943 #define wxUSE_ICO_CUR 1
50950 if test "$wxUSE_ABOUTDLG" = "yes"; then
50951 cat >>confdefs.h <<\_ACEOF
50952 #define wxUSE_ABOUTDLG 1
50957 if test "$wxUSE_CHOICEDLG" = "yes"; then
50958 cat >>confdefs.h <<\_ACEOF
50959 #define wxUSE_CHOICEDLG 1
50964 if test "$wxUSE_COLOURDLG" = "yes"; then
50965 cat >>confdefs.h <<\_ACEOF
50966 #define wxUSE_COLOURDLG 1
50971 if test "$wxUSE_FILEDLG" = "yes"; then
50972 cat >>confdefs.h <<\_ACEOF
50973 #define wxUSE_FILEDLG 1
50978 if test "$wxUSE_FINDREPLDLG" = "yes"; then
50979 cat >>confdefs.h <<\_ACEOF
50980 #define wxUSE_FINDREPLDLG 1
50985 if test "$wxUSE_FONTDLG" = "yes"; then
50986 cat >>confdefs.h <<\_ACEOF
50987 #define wxUSE_FONTDLG 1
50992 if test "$wxUSE_DIRDLG" = "yes"; then
50993 if test "$wxUSE_TREECTRL" != "yes"; then
50994 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
50995 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
50997 cat >>confdefs.h <<\_ACEOF
50998 #define wxUSE_DIRDLG 1
51004 if test "$wxUSE_MSGDLG" = "yes"; then
51005 cat >>confdefs.h <<\_ACEOF
51006 #define wxUSE_MSGDLG 1
51011 if test "$wxUSE_NUMBERDLG" = "yes"; then
51012 cat >>confdefs.h <<\_ACEOF
51013 #define wxUSE_NUMBERDLG 1
51018 if test "$wxUSE_PROGRESSDLG" = "yes"; then
51019 cat >>confdefs.h <<\_ACEOF
51020 #define wxUSE_PROGRESSDLG 1
51025 if test "$wxUSE_SPLASH" = "yes"; then
51026 cat >>confdefs.h <<\_ACEOF
51027 #define wxUSE_SPLASH 1
51030 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
51033 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
51034 cat >>confdefs.h <<\_ACEOF
51035 #define wxUSE_STARTUP_TIPS 1
51040 if test "$wxUSE_TEXTDLG" = "yes"; then
51041 cat >>confdefs.h <<\_ACEOF
51042 #define wxUSE_TEXTDLG 1
51047 if test "$wxUSE_WIZARDDLG" = "yes"; then
51048 cat >>confdefs.h <<\_ACEOF
51049 #define wxUSE_WIZARDDLG 1
51052 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
51056 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
51057 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
51058 cat >>confdefs.h <<\_ACEOF
51059 #define wxUSE_OWNER_DRAWN 1
51066 if test "$wxUSE_MSW" = 1 ; then
51068 if test "$wxUSE_DC_CACHEING" = "yes"; then
51069 cat >>confdefs.h <<\_ACEOF
51070 #define wxUSE_DC_CACHEING 1
51075 if test "$wxUSE_DIB" = "yes"; then
51076 cat >>confdefs.h <<\_ACEOF
51077 #define wxUSE_WXDIB 1
51082 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
51083 cat >>confdefs.h <<\_ACEOF
51084 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
51089 if test "$wxUSE_UXTHEME" = "yes"; then
51090 cat >>confdefs.h <<\_ACEOF
51091 #define wxUSE_UXTHEME 1
51098 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
51099 cat >>confdefs.h <<\_ACEOF
51100 #define wxUSE_AUTOID_MANAGEMENT 1
51105 if test "$USE_WIN32" = 1 ; then
51106 if test "$wxUSE_INICONF" = "yes"; then
51107 cat >>confdefs.h <<\_ACEOF
51108 #define wxUSE_INICONF 1
51113 if test "$wxUSE_REGKEY" = "yes"; then
51114 cat >>confdefs.h <<\_ACEOF
51115 #define wxUSE_REGKEY 1
51122 if test "$wxUSE_MAC" = 1; then
51123 wxUSE_GRAPHICS_CONTEXT="yes"
51126 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
51128 if test "$wxUSE_MSW" = 1; then
51129 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
51130 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
51131 if test "${wx_cv_lib_gdiplus+set}" = set; then
51132 echo $ECHO_N "(cached) $ECHO_C" >&6
51136 ac_cpp='$CXXCPP $CPPFLAGS'
51137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51141 cat >conftest.$ac_ext <<_ACEOF
51144 cat confdefs.h >>conftest.$ac_ext
51145 cat >>conftest.$ac_ext <<_ACEOF
51146 /* end confdefs.h. */
51147 #include <windows.h>
51148 #include <gdiplus.h>
51153 using namespace Gdiplus;
51159 rm -f conftest.$ac_objext
51160 if { (ac_try="$ac_compile"
51161 case "(($ac_try" in
51162 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51163 *) ac_try_echo
=$ac_try;;
51165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51166 (eval "$ac_compile") 2>conftest.er1
51168 grep -v '^ *+' conftest.er1
>conftest.err
51170 cat conftest.err
>&5
51171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51172 (exit $ac_status); } && {
51173 test -z "$ac_cxx_werror_flag" ||
51174 test ! -s conftest.err
51175 } && test -s conftest.
$ac_objext; then
51176 wx_cv_lib_gdiplus
=yes
51178 echo "$as_me: failed program was:" >&5
51179 sed 's/^/| /' conftest.
$ac_ext >&5
51181 wx_cv_lib_gdiplus
=no
51185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51187 ac_cpp
='$CPP $CPPFLAGS'
51188 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51189 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51190 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
51195 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
51196 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
51197 if test "$wx_cv_lib_gdiplus" = "yes"; then
51200 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
51203 { echo "$as_me:$LINENO: checking for CAIRO" >&5
51204 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
51206 if test -n "$PKG_CONFIG"; then
51207 if test -n "$CAIRO_CFLAGS"; then
51208 pkg_cv_CAIRO_CFLAGS
="$CAIRO_CFLAGS"
51210 if test -n "$PKG_CONFIG" && \
51211 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51212 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51215 (exit $ac_status); }; then
51216 pkg_cv_CAIRO_CFLAGS
=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
51224 if test -n "$PKG_CONFIG"; then
51225 if test -n "$CAIRO_LIBS"; then
51226 pkg_cv_CAIRO_LIBS
="$CAIRO_LIBS"
51228 if test -n "$PKG_CONFIG" && \
51229 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
51230 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
51232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51233 (exit $ac_status); }; then
51234 pkg_cv_CAIRO_LIBS
=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
51245 if test $pkg_failed = yes; then
51247 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51248 _pkg_short_errors_supported
=yes
51250 _pkg_short_errors_supported
=no
51252 if test $_pkg_short_errors_supported = yes; then
51253 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
51255 CAIRO_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
51257 # Put the nasty error message in config.log where it belongs
51258 echo "$CAIRO_PKG_ERRORS" >&5
51260 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51261 echo "$as_me: WARNING: Cairo library not found" >&2;}
51263 elif test $pkg_failed = untried
; then
51264 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
51265 echo "$as_me: WARNING: Cairo library not found" >&2;}
51268 CAIRO_CFLAGS
=$pkg_cv_CAIRO_CFLAGS
51269 CAIRO_LIBS
=$pkg_cv_CAIRO_LIBS
51270 { echo "$as_me:$LINENO: result: yes" >&5
51271 echo "${ECHO_T}yes" >&6; }
51274 if test "$wx_has_graphics" = 1; then
51276 LIBS
="$LIBS $CAIRO_LIBS"
51278 for ac_func
in cairo_push_group
51280 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51281 { echo "$as_me:$LINENO: checking for $ac_func" >&5
51282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
51283 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
51284 echo $ECHO_N "(cached) $ECHO_C" >&6
51286 cat >conftest.
$ac_ext <<_ACEOF
51289 cat confdefs.h
>>conftest.
$ac_ext
51290 cat >>conftest.
$ac_ext <<_ACEOF
51291 /* end confdefs.h. */
51292 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51294 #define $ac_func innocuous_$ac_func
51296 /* System header to define __stub macros and hopefully few prototypes,
51297 which can conflict with char $ac_func (); below.
51298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51299 <limits.h> exists even on freestanding compilers. */
51302 # include <limits.h>
51304 # include <assert.h>
51309 /* Override any GCC internal prototype to avoid an error.
51310 Use char because int might match the return type of a GCC
51311 builtin and then its argument prototype would still apply. */
51316 /* The GNU C library defines this for functions which it implements
51317 to always fail with ENOSYS. Some functions are actually named
51318 something starting with __ and the normal name is an alias. */
51319 #if defined __stub_$ac_func || defined __stub___$ac_func
51326 return $ac_func ();
51331 rm -f conftest.
$ac_objext conftest
$ac_exeext
51332 if { (ac_try
="$ac_link"
51333 case "(($ac_try" in
51334 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51335 *) ac_try_echo=$ac_try;;
51337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51338 (eval "$ac_link") 2>conftest.er1
51340 grep -v '^ *+' conftest.er1 >conftest.err
51342 cat conftest.err >&5
51343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51344 (exit $ac_status); } && {
51345 test -z "$ac_c_werror_flag" ||
51346 test ! -s conftest.err
51347 } && test -s conftest$ac_exeext &&
51348 $as_test_x conftest$ac_exeext; then
51349 eval "$as_ac_var=yes"
51351 echo "$as_me: failed program was:" >&5
51352 sed 's/^/| /' conftest.$ac_ext >&5
51354 eval "$as_ac_var=no"
51357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
51358 conftest$ac_exeext conftest.$ac_ext
51360 ac_res=`eval echo '${'$as_ac_var'}'`
51361 { echo "$as_me:$LINENO: result: $ac_res" >&5
51362 echo "${ECHO_T}$ac_res" >&6; }
51363 if test `eval echo '${'$as_ac_var'}'` = yes; then
51364 cat >>confdefs.h <<_ACEOF
51365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51372 if test "$ac_cv_func_cairo_push_group" = "no"; then
51374 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
51375 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
51377 cat >>confdefs.h <<\_ACEOF
51378 #define wxUSE_CAIRO 1
51382 if test "$wxUSE_GTK" != 1; then
51383 CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
51384 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
51392 if test "$wx_has_graphics" = 1; then
51393 cat >>confdefs.h <<\_ACEOF
51394 #define wxUSE_GRAPHICS_CONTEXT 1
51398 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
51399 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
51406 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
51409 if test "$wxUSE_GTK" = 1; then
51410 wxUSE_GSTREAMER="no"
51412 GST_VERSION_MAJOR=0
51413 GST_VERSION_MINOR=10
51414 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51416 if test "$wxUSE_GSTREAMER8" = "no"; then
51419 { echo "$as_me:$LINENO: checking for GST" >&5
51420 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51422 if test -n "$PKG_CONFIG"; then
51423 if test -n "$GST_CFLAGS"; then
51424 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51426 if test -n "$PKG_CONFIG" && \
51427 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51428 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51431 (exit $ac_status); }; then
51432 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev
/null
`
51440 if test -n "$PKG_CONFIG"; then
51441 if test -n "$GST_LIBS"; then
51442 pkg_cv_GST_LIBS="$GST_LIBS"
51444 if test -n "$PKG_CONFIG" && \
51445 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\"") >&5
51446 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
51448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51449 (exit $ac_status); }; then
51450 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev
/null
`
51461 if test $pkg_failed = yes; then
51463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51464 _pkg_short_errors_supported=yes
51466 _pkg_short_errors_supported=no
51468 if test $_pkg_short_errors_supported = yes; then
51469 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51471 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
51473 # Put the nasty error message in config.log where it belongs
51474 echo "$GST_PKG_ERRORS" >&5
51477 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51478 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51479 GST_VERSION_MINOR=8
51482 elif test $pkg_failed = untried; then
51484 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
51485 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
51486 GST_VERSION_MINOR=8
51490 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51491 GST_LIBS=$pkg_cv_GST_LIBS
51492 { echo "$as_me:$LINENO: result: yes" >&5
51493 echo "${ECHO_T}yes" >&6; }
51495 wxUSE_GSTREAMER="yes"
51496 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
51500 GST_VERSION_MINOR=8
51503 if test $GST_VERSION_MINOR = "8"; then
51504 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
51507 { echo "$as_me:$LINENO: checking for GST" >&5
51508 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
51510 if test -n "$PKG_CONFIG"; then
51511 if test -n "$GST_CFLAGS"; then
51512 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
51514 if test -n "$PKG_CONFIG" && \
51515 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51516 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51519 (exit $ac_status); }; then
51520 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
51528 if test -n "$PKG_CONFIG"; then
51529 if test -n "$GST_LIBS"; then
51530 pkg_cv_GST_LIBS="$GST_LIBS"
51532 if test -n "$PKG_CONFIG" && \
51533 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
51534 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
51536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51537 (exit $ac_status); }; then
51538 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev
/null
`
51549 if test $pkg_failed = yes; then
51551 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
51552 _pkg_short_errors_supported=yes
51554 _pkg_short_errors_supported=no
51556 if test $_pkg_short_errors_supported = yes; then
51557 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51559 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
51561 # Put the nasty error message in config.log where it belongs
51562 echo "$GST_PKG_ERRORS" >&5
51565 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51566 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51568 elif test $pkg_failed = untried; then
51570 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
51571 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
51574 GST_CFLAGS=$pkg_cv_GST_CFLAGS
51575 GST_LIBS=$pkg_cv_GST_LIBS
51576 { echo "$as_me:$LINENO: result: yes" >&5
51577 echo "${ECHO_T}yes" >&6; }
51578 wxUSE_GSTREAMER="yes"
51583 if test "$wxUSE_GSTREAMER" = "yes"; then
51584 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
51585 EXTRALIBS_MEDIA="$GST_LIBS"
51587 cat >>confdefs.h <<\_ACEOF
51588 #define wxUSE_GSTREAMER 1
51596 if test $USE_MEDIA = 1; then
51597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
51598 cat >>confdefs.h <<\_ACEOF
51599 #define wxUSE_MEDIACTRL 1
51603 if test "$wxUSE_MEDIACTRL" = "yes"; then
51604 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
51605 echo "$as_me: error: GStreamer not available" >&2;}
51606 { (exit 1); exit 1; }; }
51608 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
51609 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
51615 if test "$cross_compiling" != "no"; then
51618 OSINFO=`uname
-s -r -m`
51619 OSINFO="\"$OSINFO\""
51622 cat >>confdefs.h <<_ACEOF
51623 #define WXWIN_OS_DESCRIPTION $OSINFO
51628 if test "x$prefix" != "xNONE"; then
51631 wxPREFIX=$ac_default_prefix
51634 cat >>confdefs.h <<_ACEOF
51635 #define wxINSTALL_PREFIX "$wxPREFIX"
51641 STD_BASE_LIBS="base"
51643 BUILT_WX_LIBS="base"
51644 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
51646 if test "$wxUSE_SOCKETS" = "yes" ; then
51647 STD_BASE_LIBS="net $STD_BASE_LIBS"
51648 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
51650 if test "$wxUSE_XML" = "yes" ; then
51651 STD_BASE_LIBS="xml $STD_BASE_LIBS"
51652 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
51655 if test "$wxUSE_GUI" = "yes"; then
51656 STD_GUI_LIBS="adv core"
51657 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
51659 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
51660 STD_GUI_LIBS="qa $STD_GUI_LIBS"
51661 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
51663 if test "$wxUSE_HTML" = "yes" ; then
51664 STD_GUI_LIBS="html $STD_GUI_LIBS"
51665 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
51667 if test "$wxUSE_MEDIACTRL" = "yes" ; then
51668 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
51670 if test "$wxUSE_OPENGL" = "yes" ; then
51671 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
51673 if test "$wxUSE_AUI" = "yes" ; then
51674 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
51676 if test "$wxUSE_PROPGRID" = "yes" ; then
51677 BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
51679 if test "$wxUSE_RIBBON" = "yes" ; then
51680 BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
51682 if test "$wxUSE_RICHTEXT" = "yes" ; then
51683 BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
51685 if test "$wxUSE_STC" = "yes" ; then
51686 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
51688 if test "$wxUSE_WEBVIEW" = "yes" ; then
51689 STD_GUI_LIBS="webview $STD_GUI_LIBS"
51690 BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
51692 if test "$wxUSE_XRC" = "yes" ; then
51693 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
51694 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
51705 if test "$wxUSE_MAC" = 1 ; then
51706 if test "$USE_DARWIN" = 1; then
51707 if test "$wxUSE_OSX_IPHONE" = 1; then
51708 EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
51710 EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
51713 if test "$cross_compiling" != "no"; then
51714 wx_cv_target_x86_64=no
51716 { echo "$as_me:$LINENO: checking if we target only x86_64" >&5
51717 echo $ECHO_N "checking if we target only x86_64... $ECHO_C" >&6; }
51718 if test "${wx_cv_target_x86_64+set}" = set; then
51719 echo $ECHO_N "(cached) $ECHO_C" >&6
51721 cat >conftest.$ac_ext <<_ACEOF
51724 cat confdefs.h >>conftest.$ac_ext
51725 cat >>conftest.$ac_ext <<_ACEOF
51726 /* end confdefs.h. */
51727 int main() { return 0; }
51729 rm -f conftest.$ac_objext conftest$ac_exeext
51730 if { (ac_try="$ac_link"
51731 case "(($ac_try" in
51732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
51733 *) ac_try_echo
=$ac_try;;
51735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51736 (eval "$ac_link") 2>conftest.er1
51738 grep -v '^ *+' conftest.er1
>conftest.err
51740 cat conftest.err
>&5
51741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51742 (exit $ac_status); } && {
51743 test -z "$ac_c_werror_flag" ||
51744 test ! -s conftest.err
51745 } && test -s conftest
$ac_exeext &&
51746 $as_test_x conftest
$ac_exeext; then
51747 if file conftest
$ac_exeext|grep -q 'i386\|ppc'; then
51748 wx_cv_target_x86_64
=no
51750 wx_cv_target_x86_64
=yes
51754 echo "$as_me: failed program was:" >&5
51755 sed 's/^/| /' conftest.
$ac_ext >&5
51760 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
51761 conftest
$ac_exeext conftest.
$ac_ext
51764 { echo "$as_me:$LINENO: result: $wx_cv_target_x86_64" >&5
51765 echo "${ECHO_T}$wx_cv_target_x86_64" >&6; }
51768 if test "$wx_cv_target_x86_64" != "yes"; then
51769 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
51774 if test "$wxUSE_OLD_COCOA" = 1 ; then
51775 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
51776 if test "$wxUSE_MEDIACTRL" = "yes"; then
51777 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
51780 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
51781 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
51784 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
51785 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
51787 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
51789 if test "$wxUSE_GUI" = "yes"; then
51792 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
51793 erase event exec font image minimal render \
51794 shaped svg taborder vscroll widgets wrapsizer"
51796 if test "$wxUSE_MONOLITHIC" != "yes"; then
51797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
51799 if test "$TOOLKIT" = "MSW"; then
51800 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
51801 if test "$wxUSE_UNIVERSAL" != "yes"; then
51802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
51805 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
51806 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
51809 SAMPLES_SUBDIRS
="console"
51810 if test "$wxUSE_SOCKETS" = "yes" ; then
51811 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
51813 if test "$wxUSE_IPC" = "yes" ; then
51814 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
51819 if test "x$INTELCC" = "xyes" ; then
51820 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
51821 elif test "$GCC" = yes ; then
51822 CWARNINGS
="-Wall -Wundef"
51825 if test "x$INTELCXX" = "xyes" ; then
51826 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
51827 elif test "$GXX" = yes ; then
51828 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
51829 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
51830 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
51831 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
51832 echo $ECHO_N "(cached) $ECHO_C" >&6
51834 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
51837 ac_cpp
='$CXXCPP $CPPFLAGS'
51838 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51839 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51840 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51842 ac_save_CXXFLAGS
="$CXXFLAGS"
51843 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
51844 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
51845 cat >conftest.
$ac_ext <<_ACEOF
51848 cat confdefs.h
>>conftest.
$ac_ext
51849 cat >>conftest.
$ac_ext <<_ACEOF
51850 /* end confdefs.h. */
51860 rm -f conftest.
$ac_objext
51861 if { (ac_try
="$ac_compile"
51862 case "(($ac_try" in
51863 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51864 *) ac_try_echo=$ac_try;;
51866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51867 (eval "$ac_compile") 2>conftest.er1
51869 grep -v '^ *+' conftest.er1 >conftest.err
51871 cat conftest.err >&5
51872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51873 (exit $ac_status); } && {
51874 test -z "$ac_cxx_werror_flag" ||
51875 test ! -s conftest.err
51876 } && test -s conftest.$ac_objext; then
51877 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
51879 echo "$as_me: failed program was:" >&5
51880 sed 's/^/| /' conftest.$ac_ext >&5
51885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51887 CXXFLAGS="$ac_save_CXXFLAGS"
51889 ac_cpp='$CPP $CPPFLAGS'
51890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51896 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
51897 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
51898 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
51902 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
51903 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
51904 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
51906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51907 (exit $ac_status); }
51908 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
51909 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
51911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51912 (exit $ac_status); }
51913 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
51919 if test "$wxUSE_MAC" = 1 ; then
51920 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
51925 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
51926 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
51929 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
51930 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
51931 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
51934 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
51935 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
51936 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
51937 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
51938 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
51940 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
51943 if test "x$MWCC" = "xyes"; then
51945 CC="$CC -cwd source -I-"
51946 CXX="$CXX -cwd source -I-"
51951 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
51952 EXTRALIBS_XML="$EXPAT_LINK"
51953 EXTRALIBS_HTML="$MSPACK_LINK"
51954 EXTRALIBS_MEDIA="$GST_LIBS"
51955 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
51956 if test "$wxUSE_GUI" = "yes"; then
51957 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
51959 if test "$wxUSE_OPENGL" = "yes"; then
51960 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
51963 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
51965 WXCONFIG_LIBS="$LIBS"
51967 if test "$wxUSE_REGEX" = "builtin" ; then
51968 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
51970 if test "$wxUSE_EXPAT" = "builtin" ; then
51971 wxconfig_3rdparty="expat $wxconfig_3rdparty"
51973 if test "$wxUSE_LIBTIFF" = "builtin" ; then
51974 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
51976 if test "$wxUSE_LIBJPEG" = "builtin" ; then
51977 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
51979 if test "$wxUSE_LIBPNG" = "builtin" ; then
51980 wxconfig_3rdparty="png $wxconfig_3rdparty"
51982 if test "$wxUSE_ZLIB" = "builtin" ; then
51983 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
51986 for i in $wxconfig_3rdparty ; do
51987 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
51991 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
51994 case "$wxUNIV_THEMES" in
51996 cat >>confdefs.h <<\_ACEOF
51997 #define wxUSE_ALL_THEMES 1
52003 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
52004 cat >>confdefs.h <<_ACEOF
52005 #define wxUSE_THEME_$t 1
52021 if test $wxUSE_MONOLITHIC = "yes" ; then
52027 if test $wxUSE_PLUGINS = "yes" ; then
52033 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
52039 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
52071 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
52084 TOOLKIT_DESC="GTK+"
52085 if test "$WXGTK2" = 1; then
52086 TOOLKIT_DESC="$TOOLKIT_DESC 2"
52087 if test "$wxUSE_GTKPRINT" = "yes" ; then
52088 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
52090 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
52091 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
52093 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
52094 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
52096 if test "$wxUSE_LIBHILDON" = "yes"; then
52097 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52099 if test "$wxUSE_LIBHILDON2" = "yes"; then
52100 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
52103 if test "$TOOLKIT_EXTRA" != ""; then
52104 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
52110 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
52114 TOOLKIT_DESC="base only"
52118 if test "$wxUSE_WINE" = "yes"; then
52119 BAKEFILE_FORCE_PLATFORM=win32
52122 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
52124 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
52125 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
52126 if test "${wx_cv_gcc_pch_bug+set}" = set; then
52127 echo $ECHO_N "(cached) $ECHO_C" >&6
52130 echo '#include <stdio.h>
52131 const wchar_t test_var[] = L"awidetest";' > conftest.h
52133 echo '#include "conftest.h"
52136 printf("%ls", test_var);
52140 wx_cv_gcc_pch_bug="pch not supported"
52142 if $CXX conftest.h >/dev/null 2>&1
52146 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
52148 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
52149 grep awidetest >/dev/null
52151 wx_cv_gcc_pch_bug=no
52153 wx_cv_gcc_pch_bug=yes
52158 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
52161 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
52162 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
52164 if test "$wx_cv_gcc_pch_bug" = yes; then
52175 if test "x$BAKEFILE_HOST" = "x"; then
52176 if test "x${host}" = "x" ; then
52177 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
52178 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
52179 { (exit 1); exit 1; }; }
52182 BAKEFILE_HOST="${host}"
52185 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
52187 if test -n "$ac_tool_prefix"; then
52188 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
52189 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
52190 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52192 if test "${ac_cv_prog_RANLIB+set}" = set; then
52193 echo $ECHO_N "(cached) $ECHO_C" >&6
52195 if test -n "$RANLIB"; then
52196 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
52198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52199 for as_dir in $PATH
52202 test -z "$as_dir" && as_dir=.
52203 for ac_exec_ext in '' $ac_executable_extensions; do
52204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52205 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
52206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52215 RANLIB=$ac_cv_prog_RANLIB
52216 if test -n "$RANLIB"; then
52217 { echo "$as_me:$LINENO: result: $RANLIB" >&5
52218 echo "${ECHO_T}$RANLIB" >&6; }
52220 { echo "$as_me:$LINENO: result: no" >&5
52221 echo "${ECHO_T}no" >&6; }
52226 if test -z "$ac_cv_prog_RANLIB"; then
52227 ac_ct_RANLIB=$RANLIB
52228 # Extract the first word of "ranlib", so it can be a program name with args.
52229 set dummy ranlib; ac_word=$2
52230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52232 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
52233 echo $ECHO_N "(cached) $ECHO_C" >&6
52235 if test -n "$ac_ct_RANLIB"; then
52236 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
52238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52239 for as_dir in $PATH
52242 test -z "$as_dir" && as_dir=.
52243 for ac_exec_ext in '' $ac_executable_extensions; do
52244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52245 ac_cv_prog_ac_ct_RANLIB="ranlib"
52246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52255 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
52256 if test -n "$ac_ct_RANLIB"; then
52257 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
52258 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
52260 { echo "$as_me:$LINENO: result: no" >&5
52261 echo "${ECHO_T}no" >&6; }
52264 if test "x$ac_ct_RANLIB" = x; then
52267 case $cross_compiling:$ac_tool_warned in
52269 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52270 whose name does not start with the host triplet. If you think this
52271 configuration is useful to you, please write to autoconf@gnu.org." >&5
52272 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52273 whose name does not start with the host triplet. If you think this
52274 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52275 ac_tool_warned=yes ;;
52277 RANLIB=$ac_ct_RANLIB
52280 RANLIB="$ac_cv_prog_RANLIB"
52283 # Find a good install program. We prefer a C program (faster),
52284 # so one script is as good as another. But avoid the broken or
52285 # incompatible versions:
52286 # SysV /etc/install, /usr/sbin/install
52287 # SunOS /usr/etc/install
52288 # IRIX /sbin/install
52290 # AmigaOS /C/install, which installs bootblocks on floppy discs
52291 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
52292 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
52293 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
52294 # OS/2's system install, which has a completely different semantic
52295 # ./install, which can be erroneously created by make from ./install.sh.
52296 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
52297 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
52298 if test -z "$INSTALL"; then
52299 if test "${ac_cv_path_install+set}" = set; then
52300 echo $ECHO_N "(cached) $ECHO_C" >&6
52302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52303 for as_dir in $PATH
52306 test -z "$as_dir" && as_dir=.
52307 # Account for people who put trailing slashes in PATH elements.
52309 ./ | .// | /cC/* | \
52310 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
52311 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
52314 # OSF1 and SCO ODT 3.0 have their own names for install.
52315 # Don't use installbsd from OSF since it installs stuff as root
52317 for ac_prog in ginstall scoinst install; do
52318 for ac_exec_ext in '' $ac_executable_extensions; do
52319 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
52320 if test $ac_prog = install &&
52321 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52322 # AIX install. It has an incompatible calling convention.
52324 elif test $ac_prog = install &&
52325 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
52326 # program-specific install script used by HP pwplus--don't use.
52329 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
52342 if test "${ac_cv_path_install+set}" = set; then
52343 INSTALL=$ac_cv_path_install
52345 # As a last resort, use the slow shell script. Don't cache a
52346 # value for INSTALL within a source directory, because that will
52347 # break other packages using the cache if that directory is
52348 # removed, or if the value is a relative name.
52349 INSTALL=$ac_install_sh
52352 { echo "$as_me:$LINENO: result: $INSTALL" >&5
52353 echo "${ECHO_T}$INSTALL" >&6; }
52355 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
52356 # It thinks the first close brace ends the variable substitution.
52357 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
52359 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
52361 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
52363 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
52364 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
52366 if test "$LN_S" = "ln -s"; then
52367 { echo "$as_me:$LINENO: result: yes" >&5
52368 echo "${ECHO_T}yes" >&6; }
52370 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
52371 echo "${ECHO_T}no, using $LN_S" >&6; }
52375 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
52376 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
52377 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
52378 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
52379 echo $ECHO_N "(cached) $ECHO_C" >&6
52381 cat >conftest.make <<\_ACEOF
52384 @echo '@@@%%%=$(MAKE)=@@@%%%'
52386 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
52387 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
52388 *@@@%%%=?*=@@@%%%*)
52389 eval ac_cv_prog_make_${ac_make}_set=yes;;
52391 eval ac_cv_prog_make_${ac_make}_set=no;;
52393 rm -f conftest.make
52395 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
52396 { echo "$as_me:$LINENO: result: yes" >&5
52397 echo "${ECHO_T}yes" >&6; }
52400 { echo "$as_me:$LINENO: result: no" >&5
52401 echo "${ECHO_T}no" >&6; }
52402 SET_MAKE="MAKE=${MAKE-make}"
52407 if test "x$SUNCXX" = "xyes"; then
52409 AROPTIONS="-xar -o"
52411 elif test "x$SGICC" = "xyes"; then
52416 if test -n "$ac_tool_prefix"; then
52417 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
52418 set dummy ${ac_tool_prefix}ar; ac_word=$2
52419 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52421 if test "${ac_cv_prog_AR+set}" = set; then
52422 echo $ECHO_N "(cached) $ECHO_C" >&6
52424 if test -n "$AR"; then
52425 ac_cv_prog_AR="$AR" # Let the user override the test.
52427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52428 for as_dir in $PATH
52431 test -z "$as_dir" && as_dir=.
52432 for ac_exec_ext in '' $ac_executable_extensions; do
52433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52434 ac_cv_prog_AR="${ac_tool_prefix}ar"
52435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52445 if test -n "$AR"; then
52446 { echo "$as_me:$LINENO: result: $AR" >&5
52447 echo "${ECHO_T}$AR" >&6; }
52449 { echo "$as_me:$LINENO: result: no" >&5
52450 echo "${ECHO_T}no" >&6; }
52455 if test -z "$ac_cv_prog_AR"; then
52457 # Extract the first word of "ar", so it can be a program name with args.
52458 set dummy ar; ac_word=$2
52459 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52461 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
52462 echo $ECHO_N "(cached) $ECHO_C" >&6
52464 if test -n "$ac_ct_AR"; then
52465 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
52467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52468 for as_dir in $PATH
52471 test -z "$as_dir" && as_dir=.
52472 for ac_exec_ext in '' $ac_executable_extensions; do
52473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52474 ac_cv_prog_ac_ct_AR="ar"
52475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52484 ac_ct_AR=$ac_cv_prog_ac_ct_AR
52485 if test -n "$ac_ct_AR"; then
52486 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
52487 echo "${ECHO_T}$ac_ct_AR" >&6; }
52489 { echo "$as_me:$LINENO: result: no" >&5
52490 echo "${ECHO_T}no" >&6; }
52493 if test "x$ac_ct_AR" = x; then
52496 case $cross_compiling:$ac_tool_warned in
52498 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52499 whose name does not start with the host triplet. If you think this
52500 configuration is useful to you, please write to autoconf@gnu.org." >&5
52501 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52502 whose name does not start with the host triplet. If you think this
52503 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52504 ac_tool_warned=yes ;;
52509 AR="$ac_cv_prog_AR"
52516 if test -n "$ac_tool_prefix"; then
52517 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
52518 set dummy ${ac_tool_prefix}strip; ac_word=$2
52519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52521 if test "${ac_cv_prog_STRIP+set}" = set; then
52522 echo $ECHO_N "(cached) $ECHO_C" >&6
52524 if test -n "$STRIP"; then
52525 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
52527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52528 for as_dir in $PATH
52531 test -z "$as_dir" && as_dir=.
52532 for ac_exec_ext in '' $ac_executable_extensions; do
52533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52534 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
52535 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52544 STRIP=$ac_cv_prog_STRIP
52545 if test -n "$STRIP"; then
52546 { echo "$as_me:$LINENO: result: $STRIP" >&5
52547 echo "${ECHO_T}$STRIP" >&6; }
52549 { echo "$as_me:$LINENO: result: no" >&5
52550 echo "${ECHO_T}no" >&6; }
52555 if test -z "$ac_cv_prog_STRIP"; then
52557 # Extract the first word of "strip", so it can be a program name with args.
52558 set dummy strip; ac_word=$2
52559 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52561 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
52562 echo $ECHO_N "(cached) $ECHO_C" >&6
52564 if test -n "$ac_ct_STRIP"; then
52565 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
52567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52568 for as_dir in $PATH
52571 test -z "$as_dir" && as_dir=.
52572 for ac_exec_ext in '' $ac_executable_extensions; do
52573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52574 ac_cv_prog_ac_ct_STRIP="strip"
52575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52584 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
52585 if test -n "$ac_ct_STRIP"; then
52586 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
52587 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
52589 { echo "$as_me:$LINENO: result: no" >&5
52590 echo "${ECHO_T}no" >&6; }
52593 if test "x$ac_ct_STRIP" = x; then
52596 case $cross_compiling:$ac_tool_warned in
52598 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52599 whose name does not start with the host triplet. If you think this
52600 configuration is useful to you, please write to autoconf@gnu.org." >&5
52601 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52602 whose name does not start with the host triplet. If you think this
52603 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52604 ac_tool_warned=yes ;;
52609 STRIP="$ac_cv_prog_STRIP"
52612 if test -n "$ac_tool_prefix"; then
52613 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
52614 set dummy ${ac_tool_prefix}nm; ac_word=$2
52615 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52617 if test "${ac_cv_prog_NM+set}" = set; then
52618 echo $ECHO_N "(cached) $ECHO_C" >&6
52620 if test -n "$NM"; then
52621 ac_cv_prog_NM="$NM" # Let the user override the test.
52623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52624 for as_dir in $PATH
52627 test -z "$as_dir" && as_dir=.
52628 for ac_exec_ext in '' $ac_executable_extensions; do
52629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52630 ac_cv_prog_NM="${ac_tool_prefix}nm"
52631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52641 if test -n "$NM"; then
52642 { echo "$as_me:$LINENO: result: $NM" >&5
52643 echo "${ECHO_T}$NM" >&6; }
52645 { echo "$as_me:$LINENO: result: no" >&5
52646 echo "${ECHO_T}no" >&6; }
52651 if test -z "$ac_cv_prog_NM"; then
52653 # Extract the first word of "nm", so it can be a program name with args.
52654 set dummy nm; ac_word=$2
52655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
52656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
52657 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
52658 echo $ECHO_N "(cached) $ECHO_C" >&6
52660 if test -n "$ac_ct_NM"; then
52661 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
52663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
52664 for as_dir in $PATH
52667 test -z "$as_dir" && as_dir=.
52668 for ac_exec_ext in '' $ac_executable_extensions; do
52669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
52670 ac_cv_prog_ac_ct_NM="nm"
52671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
52680 ac_ct_NM=$ac_cv_prog_ac_ct_NM
52681 if test -n "$ac_ct_NM"; then
52682 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
52683 echo "${ECHO_T}$ac_ct_NM" >&6; }
52685 { echo "$as_me:$LINENO: result: no" >&5
52686 echo "${ECHO_T}no" >&6; }
52689 if test "x$ac_ct_NM" = x; then
52692 case $cross_compiling:$ac_tool_warned in
52694 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
52695 whose name does not start with the host triplet. If you think this
52696 configuration is useful to you, please write to autoconf@gnu.org." >&5
52697 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
52698 whose name does not start with the host triplet. If you think this
52699 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
52700 ac_tool_warned=yes ;;
52705 NM="$ac_cv_prog_NM"
52709 INSTALL_DIR="mkdir -p"
52713 case ${BAKEFILE_HOST} in
52714 *-*-cygwin* | *-*-mingw32* )
52715 LDFLAGS_GUI="-mwindows"
52721 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
52722 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
52723 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
52724 echo $ECHO_N "(cached) $ECHO_C" >&6
52727 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
52728 egrep -s GNU > /dev/null); then
52729 bakefile_cv_prog_makeisgnu="yes"
52731 bakefile_cv_prog_makeisgnu="no"
52735 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
52736 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
52738 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
52755 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
52756 case "${BAKEFILE_HOST}" in
52763 *-pc-os2_emx | *-pc-os2-emx )
52773 powerpc-apple-macos* )
52782 case "$BAKEFILE_FORCE_PLATFORM" in
52803 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
52804 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
52805 { (exit 1); exit 1; }; }
52820 # Check whether --enable-omf was given.
52821 if test "${enable_omf+set}" = set; then
52822 enableval=$enable_omf; bk_os2_use_omf="$enableval"
52826 case "${BAKEFILE_HOST}" in
52828 if test "x$GCC" = "xyes"; then
52829 CFLAGS="$CFLAGS -fno-common"
52830 CXXFLAGS="$CXXFLAGS -fno-common"
52832 if test "x$XLCC" = "xyes"; then
52833 CFLAGS="$CFLAGS -qnocommon"
52834 CXXFLAGS="$CXXFLAGS -qnocommon"
52838 *-pc-os2_emx | *-pc-os2-emx )
52839 if test "x$bk_os2_use_omf" = "xyes" ; then
52842 LDFLAGS="-Zomf $LDFLAGS"
52843 CFLAGS="-Zomf $CFLAGS"
52844 CXXFLAGS="-Zomf $CXXFLAGS"
52852 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
52858 SO_SUFFIX_MODULE="so"
52863 DLLPREFIX_MODULE=""
52867 case "${BAKEFILE_HOST}" in
52872 SO_SUFFIX_MODULE="sl"
52876 SO_SUFFIX_MODULE="a"
52880 SO_SUFFIX_MODULE="dll"
52881 DLLIMP_SUFFIX="dll.a"
52888 SO_SUFFIX_MODULE="dll"
52889 DLLIMP_SUFFIX="dll.a"
52899 *-pc-os2_emx | *-pc-os2-emx )
52901 SO_SUFFIX_MODULE="dll"
52902 DLLIMP_SUFFIX=$OS2_LIBEXT
52906 LIBEXT=".$OS2_LIBEXT"
52911 SO_SUFFIX_MODULE="bundle"
52915 if test "x$DLLIMP_SUFFIX" = "x" ; then
52916 DLLIMP_SUFFIX="$SO_SUFFIX"
52931 if test "x$GCC" = "xyes"; then
52935 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
52936 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
52939 case "${BAKEFILE_HOST}" in
52941 if test "x$GCC" != "xyes"; then
52942 LDFLAGS="$LDFLAGS -L/usr/lib"
52944 SHARED_LD_CC="${CC} -b -o"
52945 SHARED_LD_CXX="${CXX} -b -o"
52951 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
52953 elif test "x$SUNCXX" = "xyes"; then
52954 SHARED_LD_CC="${CC} -G -o"
52955 SHARED_LD_CXX="${CXX} -G -o"
52961 if test "x$SUNCXX" = xyes ; then
52962 SHARED_LD_CC="${CC} -G -o"
52963 SHARED_LD_CXX="${CXX} -G -o"
52971 cat <<EOF >shared-ld-sh
52973 #-----------------------------------------------------------------------------
52974 #-- Name: distrib/mac/shared-ld-sh
52975 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
52976 #-- Author: Gilles Depeyrot
52977 #-- Copyright: (c) 2002 Gilles Depeyrot
52978 #-- Licence: any use permitted
52979 #-----------------------------------------------------------------------------
52984 linking_flag="-dynamiclib"
52985 ldargs="-r -keep_private_externs -nostdlib"
52987 if test "x${D}CXX" = "x"; then
52991 while test ${D}# -gt 0; do
52998 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
52999 # collect these options and values
53000 args="${D}{args} ${D}1 ${D}2"
53005 # collect these options and values
53006 ldargs="${D}{ldargs} ${D}1 ${D}2"
53011 # collect these load args
53012 ldargs="${D}{ldargs} ${D}1"
53015 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
53016 # collect these options
53017 args="${D}{args} ${D}1"
53020 -dynamiclib|-bundle)
53021 linking_flag="${D}1"
53025 echo "shared-ld: unhandled option '${D}1'"
53029 *.o | *.a | *.dylib)
53030 # collect object files
53031 objects="${D}{objects} ${D}1"
53035 echo "shared-ld: unhandled argument '${D}1'"
53046 # Link one module containing all the others
53048 if test ${D}{verbose} = 1; then
53049 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
53051 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
53055 # Link the shared library from the single module created, but only if the
53056 # previous command didn't fail:
53058 if test ${D}{status} = 0; then
53059 if test ${D}{verbose} = 1; then
53060 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
53062 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
53067 # Remove intermediate module
53069 rm -f master.${D}${D}.o
53074 chmod +x shared-ld-sh
53076 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
53077 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
53080 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
53081 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
53082 if test "${bakefile_cv_gcc31+set}" = set; then
53083 echo $ECHO_N "(cached) $ECHO_C" >&6
53086 cat >conftest.$ac_ext <<_ACEOF
53089 cat confdefs.h >>conftest.$ac_ext
53090 cat >>conftest.$ac_ext <<_ACEOF
53091 /* end confdefs.h. */
53097 #if (__GNUC__ < 3) || \
53098 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
53106 rm -f conftest.$ac_objext
53107 if { (ac_try="$ac_compile"
53108 case "(($ac_try" in
53109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
53110 *) ac_try_echo
=$ac_try;;
53112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
53113 (eval "$ac_compile") 2>conftest.er1
53115 grep -v '^ *+' conftest.er1
>conftest.err
53117 cat conftest.err
>&5
53118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53119 (exit $ac_status); } && {
53120 test -z "$ac_c_werror_flag" ||
53121 test ! -s conftest.err
53122 } && test -s conftest.
$ac_objext; then
53124 bakefile_cv_gcc31
=yes
53127 echo "$as_me: failed program was:" >&5
53128 sed 's/^/| /' conftest.
$ac_ext >&5
53131 bakefile_cv_gcc31
=no
53136 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53139 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
53140 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
53141 if test "$bakefile_cv_gcc31" = "no"; then
53142 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
53143 SHARED_LD_CXX
="$SHARED_LD_CC"
53145 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
53146 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
53149 if test "x$GCC" == "xyes"; then
53150 PIC_FLAG
="-dynamic -fPIC"
53152 if test "x$XLCC" = "xyes"; then
53153 PIC_FLAG
="-dynamic -DPIC"
53158 if test "x$GCC" = "xyes"; then
53161 case "${BAKEFILE_HOST}" in
53163 LD_EXPFULL
="-Wl,-bexpfull"
53167 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
53168 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
53170 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
53171 set dummy makeC
++SharedLib
; ac_word
=$2
53172 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53174 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
53175 echo $ECHO_N "(cached) $ECHO_C" >&6
53177 if test -n "$AIX_CXX_LD"; then
53178 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
53180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53181 for as_dir
in $PATH
53184 test -z "$as_dir" && as_dir
=.
53185 for ac_exec_ext
in '' $ac_executable_extensions; do
53186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53187 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
53188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53195 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
53198 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
53199 if test -n "$AIX_CXX_LD"; then
53200 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
53201 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
53203 { echo "$as_me:$LINENO: result: no" >&5
53204 echo "${ECHO_T}no" >&6; }
53208 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
53209 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
53214 SHARED_LD_CC
="${LD} -nostart -o"
53215 SHARED_LD_CXX
="${LD} -nostart -o"
53219 if test "x$GCC" != "xyes"; then
53224 *-*-cygwin* | *-*-mingw32* )
53226 SHARED_LD_CC
="\$(CC) -shared -o"
53227 SHARED_LD_CXX
="\$(CXX) -shared -o"
53231 *-pc-os2_emx | *-pc-os2-emx )
53232 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53233 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53237 cat <<EOF >dllar.sh
53240 # dllar - a tool to build both a .dll and an .a file
53241 # from a set of object (.o) files for EMX/OS2.
53243 # Written by Andrew Zabolotny, bit@freya.etu.ru
53244 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
53246 # This script will accept a set of files on the command line.
53247 # All the public symbols from the .o files will be exported into
53248 # a .DEF file, then linker will be run (through gcc) against them to
53249 # build a shared library consisting of all given .o files. All libraries
53250 # (.a) will be first decompressed into component .o files then act as
53251 # described above. You can optionally give a description (-d "description")
53252 # which will be put into .DLL. To see the list of accepted options (as well
53253 # as command-line format) simply run this program without options. The .DLL
53254 # is built to be imported by name (there is no guarantee that new versions
53255 # of the library you build will have same ordinals for same symbols).
53257 # dllar is free software; you can redistribute it and/or modify
53258 # it under the terms of the GNU General Public License as published by
53259 # the Free Software Foundation; either version 2, or (at your option)
53260 # any later version.
53262 # dllar is distributed in the hope that it will be useful,
53263 # but WITHOUT ANY WARRANTY; without even the implied warranty of
53264 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
53265 # GNU General Public License for more details.
53267 # You should have received a copy of the GNU General Public License
53268 # along with dllar; see the file COPYING. If not, write to the Free
53269 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
53272 # To successfuly run this program you will need:
53273 # - Current drive should have LFN support (HPFS, ext2, network, etc)
53274 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
53276 # (used to build the .dll)
53278 # (used to create .def file from .o files)
53280 # (used to create .a file from .def file)
53281 # - GNU text utilites (cat, sort, uniq)
53282 # used to process emxexp output
53283 # - GNU file utilities (mv, rm)
53285 # - lxlite (optional, see flag below)
53286 # (used for general .dll cleanup)
53293 # basnam, variant of basename, which does _not_ remove the path, _iff_
53294 # second argument (suffix to remove) is given
53298 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
53301 echo ${D}1 | sed 's/'${D}2'${D}//'
53304 echo "error in basnam ${D}*"
53310 # Cleanup temporary files and output
53313 for i in ${D}inputFiles ; do
53316 rm -rf \`basnam ${D}i !\`
53323 # Kill result in case of failure as there is just to many stupid make/nmake
53324 # things out there which doesn't do this.
53325 if [ ${D}# -eq 0 ]; then
53326 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
53330 # Print usage and exit script with rc=1.
53332 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
53333 echo ' [-name-mangler-script script.sh]'
53334 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
53335 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
53336 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
53337 echo ' [*.o] [*.a]'
53338 echo '*> "output_file" should have no extension.'
53339 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
53340 echo ' The import library name is derived from this and is set to "name".a,'
53341 echo ' unless overridden by -import'
53342 echo '*> "importlib_name" should have no extension.'
53343 echo ' If it has the .o, or .a extension, it is automatically removed.'
53344 echo ' This name is used as the import library name and may be longer and'
53345 echo ' more descriptive than the DLL name which has to follow the old '
53346 echo ' 8.3 convention of FAT.'
53347 echo '*> "script.sh may be given to override the output_file name by a'
53348 echo ' different name. It is mainly useful if the regular make process'
53349 echo ' of some package does not take into account OS/2 restriction of'
53350 echo ' DLL name lengths. It takes the importlib name as input and is'
53351 echo ' supposed to procude a shorter name as output. The script should'
53352 echo ' expect to get importlib_name without extension and should produce'
53353 echo ' a (max.) 8 letter name without extension.'
53354 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
53355 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
53356 echo ' These flags will be put at the start of GCC command line.'
53357 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
53358 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
53359 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
53360 echo ' If the last character of a symbol is "*", all symbols beginning'
53361 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
53362 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
53363 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
53364 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
53365 echo ' C runtime DLLs.'
53366 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
53367 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
53368 echo ' unchanged to GCC at the end of command line.'
53369 echo '*> If you create a DLL from a library and you do not specify -o,'
53370 echo ' the basename for DLL and import library will be set to library name,'
53371 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
53372 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
53373 echo ' library will be renamed into gcc_s.a.'
53376 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
53377 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
53382 # Execute a command.
53383 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
53384 # @Uses Whatever CleanUp() uses.
53390 if [ ${D}rcCmd -ne 0 ]; then
53391 echo "command failed, exit code="${D}rcCmd
53406 CFLAGS="-s -Zcrtdll"
53408 EXPORT_BY_ORDINALS=0
53413 case ${D}curDirS in
53417 curDirS=${D}{curDirS}"/"
53420 # Parse commandline
53423 while [ ${D}1 ]; do
53426 EXPORT_BY_ORDINALS=1;
53436 -name-mangler-script)
53457 exclude_symbols=${D}{exclude_symbols}${D}1" "
53461 library_flags=${D}{library_flags}${D}1" "
53480 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53483 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
53484 if [ ${D}omfLinking -eq 1 ]; then
53485 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
53487 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
53492 if [ ${D}libsToLink -ne 0 ]; then
53493 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
53495 for file in ${D}1 ; do
53496 if [ -f ${D}file ]; then
53497 inputFiles="${D}{inputFiles} ${D}file"
53501 if [ ${D}found -eq 0 ]; then
53502 echo "ERROR: No file(s) found: "${D}1
53509 done # iterate cmdline words
53512 if [ -z "${D}inputFiles" ]; then
53513 echo "dllar: no input files"
53517 # Now extract all .o files from .a files
53519 for file in ${D}inputFiles ; do
53530 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
53535 dirname=\`basnam ${D}file ${D}suffix\`"_%"
53537 if [ ${D}? -ne 0 ]; then
53538 echo "Failed to create subdirectory ./${D}dirname"
53542 # Append '!' to indicate archive
53543 newInputFiles="${D}newInputFiles ${D}{dirname}!"
53544 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
53547 for subfile in ${D}dirname/*.o* ; do
53548 if [ -f ${D}subfile ]; then
53550 if [ -s ${D}subfile ]; then
53551 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
53552 newInputFiles="${D}newInputFiles ${D}subfile"
53556 if [ ${D}found -eq 0 ]; then
53557 echo "WARNING: there are no files in archive \\'${D}file\\'"
53561 newInputFiles="${D}{newInputFiles} ${D}file"
53565 inputFiles="${D}newInputFiles"
53567 # Output filename(s).
53569 if [ -z ${D}outFile ]; then
53571 set outFile ${D}inputFiles; outFile=${D}2
53574 # If it is an archive, remove the '!' and the '_%' suffixes
53575 case ${D}outFile in
53577 outFile=\`basnam ${D}outFile _%!\`
53582 case ${D}outFile in
53584 outFile=\`basnam ${D}outFile .dll\`
53587 outFile=\`basnam ${D}outFile .DLL\`
53590 outFile=\`basnam ${D}outFile .o\`
53593 outFile=\`basnam ${D}outFile .obj\`
53596 outFile=\`basnam ${D}outFile .a\`
53599 outFile=\`basnam ${D}outFile .lib\`
53604 case ${D}outimpFile in
53606 outimpFile=\`basnam ${D}outimpFile .a\`
53609 outimpFile=\`basnam ${D}outimpFile .lib\`
53614 if [ -z ${D}outimpFile ]; then
53615 outimpFile=${D}outFile
53617 defFile="${D}{outFile}.def"
53618 arcFile="${D}{outimpFile}.a"
53619 arcFile2="${D}{outimpFile}.lib"
53621 #create ${D}dllFile as something matching 8.3 restrictions,
53622 if [ -z ${D}renameScript ] ; then
53623 dllFile="${D}outFile"
53625 dllFile=\`${D}renameScript ${D}outimpFile\`
53628 if [ ${D}do_backup -ne 0 ] ; then
53629 if [ -f ${D}arcFile ] ; then
53630 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
53632 if [ -f ${D}arcFile2 ] ; then
53633 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
53637 # Extract public symbols from all the object files.
53638 tmpdefFile=${D}{defFile}_%
53639 rm -f ${D}tmpdefFile
53640 for file in ${D}inputFiles ; do
53645 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
53650 # Create the def file.
53652 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
53653 dllFile="${D}{dllFile}.dll"
53654 if [ ! -z ${D}description ]; then
53655 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
53657 echo "EXPORTS" >> ${D}defFile
53659 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
53660 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
53662 # Checks if the export is ok or not.
53663 for word in ${D}exclude_symbols; do
53664 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
53665 mv ${D}{tmpdefFile}% ${D}tmpdefFile
53669 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53670 sed "=" < ${D}tmpdefFile | \\
53674 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
53676 ' > ${D}{tmpdefFile}%
53677 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
53679 rm -f ${D}{tmpdefFile}%
53681 cat ${D}tmpdefFile >> ${D}defFile
53682 rm -f ${D}tmpdefFile
53684 # Do linking, create implib, and apply lxlite.
53686 for file in ${D}inputFiles ; do
53691 gccCmdl="${D}gccCmdl ${D}file"
53695 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
53696 touch "${D}{outFile}.dll"
53698 doCommand "emximp -o ${D}arcFile ${D}defFile"
53699 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
53701 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
53704 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
53706 doCommand "emxomf -s -l ${D}arcFile"
53716 powerpc
-apple-macos* | \
53717 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
53727 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
53728 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
53729 { (exit 1); exit 1; }; }
53732 if test "x$PIC_FLAG" != "x" ; then
53733 PIC_FLAG
="$PIC_FLAG -DPIC"
53736 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
53737 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
53739 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
53740 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
53755 USE_SOTWOSYMLINKS
=0
53759 case "${BAKEFILE_HOST}" in
53760 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
53761 *-*-k*bsd
*-gnu | *-*-mirbsd* )
53762 if test "x$SUNCXX" = "xyes"; then
53765 SONAME_FLAG
="-Wl,-soname,"
53769 USE_SOTWOSYMLINKS
=1
53781 USE_SOTWOSYMLINKS
=1
53799 # Check whether --enable-dependency-tracking was given.
53800 if test "${enable_dependency_tracking+set}" = set; then
53801 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
53805 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
53806 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
53809 if test "x$bk_use_trackdeps" = "xno" ; then
53811 { echo "$as_me:$LINENO: result: disabled" >&5
53812 echo "${ECHO_T}disabled" >&6; }
53816 if test "x$GCC" = "xyes"; then
53819 { echo "$as_me:$LINENO: result: gcc" >&5
53820 echo "${ECHO_T}gcc" >&6; }
53821 elif test "x$MWCC" = "xyes"; then
53824 { echo "$as_me:$LINENO: result: mwcc" >&5
53825 echo "${ECHO_T}mwcc" >&6; }
53826 elif test "x$SUNCC" = "xyes"; then
53829 { echo "$as_me:$LINENO: result: Sun cc" >&5
53830 echo "${ECHO_T}Sun cc" >&6; }
53831 elif test "x$SGICC" = "xyes"; then
53834 { echo "$as_me:$LINENO: result: SGI cc" >&5
53835 echo "${ECHO_T}SGI cc" >&6; }
53836 elif test "x$HPCC" = "xyes"; then
53839 { echo "$as_me:$LINENO: result: HP cc" >&5
53840 echo "${ECHO_T}HP cc" >&6; }
53841 elif test "x$COMPAQCC" = "xyes"; then
53844 { echo "$as_me:$LINENO: result: Compaq cc" >&5
53845 echo "${ECHO_T}Compaq cc" >&6; }
53848 { echo "$as_me:$LINENO: result: none" >&5
53849 echo "${ECHO_T}none" >&6; }
53852 if test $DEPS_TRACKING = 1 ; then
53858 # This script is part of Bakefile (http://www.bakefile.org) autoconf
53859 # script. It is used to track C/C++ files dependencies in portable way.
53861 # Permission is given to use this file in any way.
53863 DEPSMODE=${DEPSMODE}
53864 DEPSFLAG="${DEPSFLAG}"
53867 if test ${D}DEPSMODE = gcc ; then
53868 ${D}* ${D}{DEPSFLAG}
53871 # determine location of created files:
53872 while test ${D}# -gt 0; do
53886 objfilebase=\`basename ${D}objfile\`
53887 builddir=\`dirname ${D}objfile\`
53888 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
53889 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
53890 depsdir=${D}builddir/${D}DEPSDIRBASE
53891 mkdir -p ${D}depsdir
53893 # if the compiler failed, we're done:
53894 if test ${D}{status} != 0 ; then
53899 # move created file to the location we want it in:
53900 if test -f ${D}depfile ; then
53901 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53904 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
53905 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
53906 if test ! -f ${D}depfile ; then
53907 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
53908 depfile="${D}objfile.d"
53910 if test -f ${D}depfile ; then
53911 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
53917 elif test ${D}DEPSMODE = mwcc ; then
53918 ${D}* || exit ${D}?
53919 # Run mwcc again with -MM and redirect into the dep file we want
53920 # NOTE: We can't use shift here because we need ${D}* to be valid
53922 for arg in ${D}* ; do
53923 if test "${D}prevarg" = "-o"; then
53937 objfilebase=\`basename ${D}objfile\`
53938 builddir=\`dirname ${D}objfile\`
53939 depsdir=${D}builddir/${D}DEPSDIRBASE
53940 mkdir -p ${D}depsdir
53942 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
53945 elif test ${D}DEPSMODE = unixcc; then
53946 ${D}* || exit ${D}?
53947 # Run compiler again with deps flag and redirect into the dep file.
53948 # It doesn't work if the '-o FILE' option is used, but without it the
53949 # dependency file will contain the wrong name for the object. So it is
53950 # removed from the command line, and the dep file is fixed with sed.
53952 while test ${D}# -gt 0; do
53959 eval arg${D}#=\\${D}1
53960 cmd="${D}cmd \\${D}arg${D}#"
53966 objfilebase=\`basename ${D}objfile\`
53967 builddir=\`dirname ${D}objfile\`
53968 depsdir=${D}builddir/${D}DEPSDIRBASE
53969 mkdir -p ${D}depsdir
53971 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
53981 BK_DEPS
="`pwd`/bk-deps"
53989 case ${BAKEFILE_HOST} in
53990 *-*-cygwin* | *-*-mingw32* )
53991 if test -n "$ac_tool_prefix"; then
53992 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
53993 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
53994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53996 if test "${ac_cv_prog_WINDRES+set}" = set; then
53997 echo $ECHO_N "(cached) $ECHO_C" >&6
53999 if test -n "$WINDRES"; then
54000 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
54002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54003 for as_dir
in $PATH
54006 test -z "$as_dir" && as_dir
=.
54007 for ac_exec_ext
in '' $ac_executable_extensions; do
54008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54009 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
54010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54019 WINDRES
=$ac_cv_prog_WINDRES
54020 if test -n "$WINDRES"; then
54021 { echo "$as_me:$LINENO: result: $WINDRES" >&5
54022 echo "${ECHO_T}$WINDRES" >&6; }
54024 { echo "$as_me:$LINENO: result: no" >&5
54025 echo "${ECHO_T}no" >&6; }
54030 if test -z "$ac_cv_prog_WINDRES"; then
54031 ac_ct_WINDRES
=$WINDRES
54032 # Extract the first word of "windres", so it can be a program name with args.
54033 set dummy windres
; ac_word
=$2
54034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54036 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
54037 echo $ECHO_N "(cached) $ECHO_C" >&6
54039 if test -n "$ac_ct_WINDRES"; then
54040 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
54042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54043 for as_dir
in $PATH
54046 test -z "$as_dir" && as_dir
=.
54047 for ac_exec_ext
in '' $ac_executable_extensions; do
54048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54049 ac_cv_prog_ac_ct_WINDRES
="windres"
54050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54059 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
54060 if test -n "$ac_ct_WINDRES"; then
54061 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
54062 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
54064 { echo "$as_me:$LINENO: result: no" >&5
54065 echo "${ECHO_T}no" >&6; }
54068 if test "x$ac_ct_WINDRES" = x
; then
54071 case $cross_compiling:$ac_tool_warned in
54073 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
54074 whose name does not start with the host triplet. If you think this
54075 configuration is useful to you, please write to autoconf@gnu.org." >&5
54076 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
54077 whose name does not start with the host triplet. If you think this
54078 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
54079 ac_tool_warned
=yes ;;
54081 WINDRES
=$ac_ct_WINDRES
54084 WINDRES
="$ac_cv_prog_WINDRES"
54089 *-*-darwin* | powerpc
-apple-macos* )
54090 # Extract the first word of "Rez", so it can be a program name with args.
54091 set dummy Rez
; ac_word
=$2
54092 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54094 if test "${ac_cv_prog_REZ+set}" = set; then
54095 echo $ECHO_N "(cached) $ECHO_C" >&6
54097 if test -n "$REZ"; then
54098 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
54100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54101 for as_dir
in $PATH
54104 test -z "$as_dir" && as_dir
=.
54105 for ac_exec_ext
in '' $ac_executable_extensions; do
54106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54107 ac_cv_prog_REZ
="Rez"
54108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54115 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
54118 REZ
=$ac_cv_prog_REZ
54119 if test -n "$REZ"; then
54120 { echo "$as_me:$LINENO: result: $REZ" >&5
54121 echo "${ECHO_T}$REZ" >&6; }
54123 { echo "$as_me:$LINENO: result: no" >&5
54124 echo "${ECHO_T}no" >&6; }
54128 # Extract the first word of "SetFile", so it can be a program name with args.
54129 set dummy SetFile
; ac_word
=$2
54130 { echo "$as_me:$LINENO: checking for $ac_word" >&5
54131 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
54132 if test "${ac_cv_prog_SETFILE+set}" = set; then
54133 echo $ECHO_N "(cached) $ECHO_C" >&6
54135 if test -n "$SETFILE"; then
54136 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
54138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54139 for as_dir
in $PATH
54142 test -z "$as_dir" && as_dir
=.
54143 for ac_exec_ext
in '' $ac_executable_extensions; do
54144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
54145 ac_cv_prog_SETFILE
="SetFile"
54146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
54153 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
54156 SETFILE
=$ac_cv_prog_SETFILE
54157 if test -n "$SETFILE"; then
54158 { echo "$as_me:$LINENO: result: $SETFILE" >&5
54159 echo "${ECHO_T}$SETFILE" >&6; }
54161 { echo "$as_me:$LINENO: result: no" >&5
54162 echo "${ECHO_T}no" >&6; }
54177 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
54180 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
54184 # Check whether --enable-precomp-headers was given.
54185 if test "${enable_precomp_headers+set}" = set; then
54186 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
54195 case ${BAKEFILE_HOST} in
54201 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
54202 if test "x$GCC" = "xyes"; then
54203 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
54204 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
54205 cat >conftest.
$ac_ext <<_ACEOF
54208 cat confdefs.h
>>conftest.
$ac_ext
54209 cat >>conftest.
$ac_ext <<_ACEOF
54210 /* end confdefs.h. */
54216 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
54217 There is no PCH support
54220 There is no PCH support
54222 #if (__GNUC__ == 3) && \
54223 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
54224 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
54225 ( defined(__INTEL_COMPILER) )
54226 There is no PCH support
54233 rm -f conftest.
$ac_objext
54234 if { (ac_try
="$ac_compile"
54235 case "(($ac_try" in
54236 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
54237 *) ac_try_echo=$ac_try;;
54239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
54240 (eval "$ac_compile") 2>conftest.er1
54242 grep -v '^ *+' conftest.er1 >conftest.err
54244 cat conftest.err >&5
54245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54246 (exit $ac_status); } && {
54247 test -z "$ac_c_werror_flag" ||
54248 test ! -s conftest.err
54249 } && test -s conftest.$ac_objext; then
54251 { echo "$as_me:$LINENO: result: yes" >&5
54252 echo "${ECHO_T}yes" >&6; }
54256 echo "$as_me: failed program was:" >&5
54257 sed 's/^/| /' conftest.$ac_ext >&5
54260 if test "$INTELCXX8" = "yes"; then
54261 { echo "$as_me:$LINENO: result: yes" >&5
54262 echo "${ECHO_T}yes" >&6; }
54264 if test "$INTELCXX10" = "yes"; then
54265 ICC_PCH_CREATE_SWITCH="-pch-create"
54266 ICC_PCH_USE_SWITCH="-pch-use"
54268 ICC_PCH_CREATE_SWITCH="-create-pch"
54269 ICC_PCH_USE_SWITCH="-use-pch"
54272 { echo "$as_me:$LINENO: result: no" >&5
54273 echo "${ECHO_T}no" >&6; }
54278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54279 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
54283 cat <<EOF >bk-make-pch
54286 # This script is part of Bakefile (http://www.bakefile.org) autoconf
54287 # script. It is used to generated precompiled headers.
54289 # Permission is given to use this file in any way.
54296 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
54301 while test ${D}{#} -gt 0; do
54305 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
54306 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
54307 headerfile="${D}{incdir}/${D}{header}"
54310 -use-pch|-use_pch|-pch-use )
54315 if test ${D}add_to_cmdline = 1 ; then
54316 compiler="${D}{compiler} ${D}{1}"
54321 if test "x${D}{headerfile}" = "x" ; then
54322 echo "error: can't find header ${D}{header} in include paths" >&2
54324 if test -f ${D}{outfile} ; then
54325 rm -f ${D}{outfile}
54327 mkdir -p \`dirname ${D}{outfile
}\
`
54329 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
54330 mkdir -p ${D}{builddir}/.deps
54331 if test "x${GCC_PCH}" = "x1" ; then
54332 # can do this because gcc is >= 3.4:
54333 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
54334 elif test "x${ICC_PCH}" = "x1" ; then
54335 filename=pch_gen-${D}${D}
54336 file=${D}{filename}.c
54337 dfile=${D}{filename}.d
54338 cat > ${D}file <<EOT
54339 #include "${D}header"
54341 # using -MF icc complains about differing command lines in creation/use
54342 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
54343 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
54344 rm -f ${D}file ${D}dfile ${D}{filename}.o
54350 chmod +x bk-make-pch
54351 BK_MAKE_PCH="`pwd`/bk-make-pch"
54362 COND_BUILD_DEBUG="#"
54363 if test "x$BUILD" = "xdebug" ; then
54364 COND_BUILD_DEBUG=""
54367 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
54368 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54369 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
54372 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
54373 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54374 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
54377 COND_BUILD_DEBUG_UNICODE_0="#"
54378 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54379 COND_BUILD_DEBUG_UNICODE_0=""
54382 COND_BUILD_DEBUG_UNICODE_1="#"
54383 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54384 COND_BUILD_DEBUG_UNICODE_1=""
54387 COND_BUILD_RELEASE="#"
54388 if test "x$BUILD" = "xrelease" ; then
54389 COND_BUILD_RELEASE=""
54392 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
54393 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54394 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
54397 COND_BUILD_RELEASE_UNICODE_0="#"
54398 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54399 COND_BUILD_RELEASE_UNICODE_0=""
54402 COND_BUILD_RELEASE_UNICODE_1="#"
54403 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54404 COND_BUILD_RELEASE_UNICODE_1=""
54407 COND_BUILD_debug="#"
54408 if test "x$BUILD" = "xdebug" ; then
54409 COND_BUILD_debug=""
54412 COND_BUILD_debug_DEBUG_FLAG_default="#"
54413 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
54414 COND_BUILD_debug_DEBUG_FLAG_default=""
54417 COND_BUILD_debug_DEBUG_INFO_default="#"
54418 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
54419 COND_BUILD_debug_DEBUG_INFO_default=""
54422 COND_BUILD_debug_UNICODE_0="#"
54423 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
54424 COND_BUILD_debug_UNICODE_0=""
54427 COND_BUILD_debug_UNICODE_1="#"
54428 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
54429 COND_BUILD_debug_UNICODE_1=""
54432 COND_BUILD_release="#"
54433 if test "x$BUILD" = "xrelease" ; then
54434 COND_BUILD_release=""
54437 COND_BUILD_release_DEBUG_INFO_default="#"
54438 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
54439 COND_BUILD_release_DEBUG_INFO_default=""
54442 COND_BUILD_release_UNICODE_0="#"
54443 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
54444 COND_BUILD_release_UNICODE_0=""
54447 COND_BUILD_release_UNICODE_1="#"
54448 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
54449 COND_BUILD_release_UNICODE_1=""
54452 COND_DEBUG_FLAG_0="#"
54453 if test "x$DEBUG_FLAG" = "x0" ; then
54454 COND_DEBUG_FLAG_0=""
54457 COND_DEBUG_FLAG_1="#"
54458 if test "x$DEBUG_FLAG" = "x1" ; then
54459 COND_DEBUG_FLAG_1=""
54462 COND_DEBUG_INFO_0="#"
54463 if test "x$DEBUG_INFO" = "x0" ; then
54464 COND_DEBUG_INFO_0=""
54467 COND_DEBUG_INFO_1="#"
54468 if test "x$DEBUG_INFO" = "x1" ; then
54469 COND_DEBUG_INFO_1=""
54472 COND_DEPS_TRACKING_0="#"
54473 if test "x$DEPS_TRACKING" = "x0" ; then
54474 COND_DEPS_TRACKING_0=""
54477 COND_DEPS_TRACKING_1="#"
54478 if test "x$DEPS_TRACKING" = "x1" ; then
54479 COND_DEPS_TRACKING_1=""
54483 if test "x$GCC_PCH" = "x1" ; then
54488 if test "x$ICC_PCH" = "x1" ; then
54492 COND_MONOLITHIC_0="#"
54493 if test "x$MONOLITHIC" = "x0" ; then
54494 COND_MONOLITHIC_0=""
54497 COND_MONOLITHIC_0_SHARED_0="#"
54498 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
54499 COND_MONOLITHIC_0_SHARED_0=""
54502 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
54503 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
54504 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
54507 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
54508 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
54509 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
54512 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
54513 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54514 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
54517 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
54518 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54519 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
54522 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
54523 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54524 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
54527 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
54528 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54529 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
54532 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
54533 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54534 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
54537 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
54538 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54539 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
54542 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
54543 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54544 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
54547 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
54548 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54549 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
54552 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
54553 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
54554 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
54557 COND_MONOLITHIC_0_SHARED_1="#"
54558 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
54559 COND_MONOLITHIC_0_SHARED_1=""
54562 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
54563 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
54564 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
54567 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
54568 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
54569 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
54572 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
54573 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
54574 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
54577 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
54578 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54579 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
54582 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
54583 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
54584 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
54587 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
54588 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
54589 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
54592 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
54593 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
54594 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
54597 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
54598 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
54599 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
54602 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
54603 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
54604 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
54607 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
54608 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
54609 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
54612 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
54613 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
54614 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
54617 COND_MONOLITHIC_0_USE_AUI_1="#"
54618 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
54619 COND_MONOLITHIC_0_USE_AUI_1=""
54622 COND_MONOLITHIC_0_USE_GUI_1="#"
54623 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
54624 COND_MONOLITHIC_0_USE_GUI_1=""
54627 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
54628 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
54629 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
54632 COND_MONOLITHIC_0_USE_HTML_1="#"
54633 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
54634 COND_MONOLITHIC_0_USE_HTML_1=""
54637 COND_MONOLITHIC_0_USE_MEDIA_1="#"
54638 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
54639 COND_MONOLITHIC_0_USE_MEDIA_1=""
54642 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
54643 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
54644 COND_MONOLITHIC_0_USE_PROPGRID_1=""
54647 COND_MONOLITHIC_0_USE_QA_1="#"
54648 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
54649 COND_MONOLITHIC_0_USE_QA_1=""
54652 COND_MONOLITHIC_0_USE_RIBBON_1="#"
54653 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
54654 COND_MONOLITHIC_0_USE_RIBBON_1=""
54657 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
54658 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
54659 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
54662 COND_MONOLITHIC_0_USE_STC_1="#"
54663 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
54664 COND_MONOLITHIC_0_USE_STC_1=""
54667 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
54668 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
54669 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
54672 COND_MONOLITHIC_0_USE_XRC_1="#"
54673 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
54674 COND_MONOLITHIC_0_USE_XRC_1=""
54677 COND_MONOLITHIC_1="#"
54678 if test "x$MONOLITHIC" = "x1" ; then
54679 COND_MONOLITHIC_1=""
54682 COND_MONOLITHIC_1_SHARED_0="#"
54683 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
54684 COND_MONOLITHIC_1_SHARED_0=""
54687 COND_MONOLITHIC_1_SHARED_1="#"
54688 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
54689 COND_MONOLITHIC_1_SHARED_1=""
54692 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
54693 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
54694 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
54697 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
54698 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
54699 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
54702 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
54703 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54704 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
54707 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
54708 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
54709 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
54712 COND_PLATFORM_MACOSX_1="#"
54713 if test "x$PLATFORM_MACOSX" = "x1" ; then
54714 COND_PLATFORM_MACOSX_1=""
54717 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
54718 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
54719 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
54722 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
54723 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54724 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
54727 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
54728 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
54729 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
54732 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
54733 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54734 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
54737 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
54738 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
54739 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
54742 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
54743 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54744 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
54747 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
54748 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
54749 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
54752 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
54753 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54754 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
54757 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
54758 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
54759 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
54762 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
54763 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54764 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
54767 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
54768 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
54769 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
54772 COND_PLATFORM_MACOS_1="#"
54773 if test "x$PLATFORM_MACOS" = "x1" ; then
54774 COND_PLATFORM_MACOS_1=""
54777 COND_PLATFORM_MAC_0="#"
54778 if test "x$PLATFORM_MAC" = "x0" ; then
54779 COND_PLATFORM_MAC_0=""
54782 COND_PLATFORM_MAC_1="#"
54783 if test "x$PLATFORM_MAC" = "x1" ; then
54784 COND_PLATFORM_MAC_1=""
54787 COND_PLATFORM_MSDOS_0="#"
54788 if test "x$PLATFORM_MSDOS" = "x0" ; then
54789 COND_PLATFORM_MSDOS_0=""
54792 COND_PLATFORM_MSDOS_1="#"
54793 if test "x$PLATFORM_MSDOS" = "x1" ; then
54794 COND_PLATFORM_MSDOS_1=""
54797 COND_PLATFORM_OS2_1="#"
54798 if test "x$PLATFORM_OS2" = "x1" ; then
54799 COND_PLATFORM_OS2_1=""
54802 COND_PLATFORM_UNIX_0="#"
54803 if test "x$PLATFORM_UNIX" = "x0" ; then
54804 COND_PLATFORM_UNIX_0=""
54807 COND_PLATFORM_UNIX_1="#"
54808 if test "x$PLATFORM_UNIX" = "x1" ; then
54809 COND_PLATFORM_UNIX_1=""
54812 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
54813 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
54814 COND_PLATFORM_UNIX_1_USE_GUI_1=""
54817 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
54818 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
54819 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
54822 COND_PLATFORM_WIN32_0="#"
54823 if test "x$PLATFORM_WIN32" = "x0" ; then
54824 COND_PLATFORM_WIN32_0=""
54827 COND_PLATFORM_WIN32_1="#"
54828 if test "x$PLATFORM_WIN32" = "x1" ; then
54829 COND_PLATFORM_WIN32_1=""
54832 COND_PLATFORM_WIN32_1_SHARED_0="#"
54833 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
54834 COND_PLATFORM_WIN32_1_SHARED_0=""
54838 if test "x$SHARED" = "x0" ; then
54842 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
54843 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
54844 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
54847 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
54848 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
54849 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
54852 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
54853 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
54854 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
54857 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
54858 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54859 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
54862 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
54863 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
54864 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
54867 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
54868 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
54869 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
54872 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
54873 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
54874 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
54877 COND_SHARED_0_USE_STC_1="#"
54878 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
54879 COND_SHARED_0_USE_STC_1=""
54882 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
54883 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
54884 COND_SHARED_0_wxUSE_EXPAT_builtin=""
54887 COND_SHARED_0_wxUSE_REGEX_builtin="#"
54888 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
54889 COND_SHARED_0_wxUSE_REGEX_builtin=""
54892 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
54893 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
54894 COND_SHARED_0_wxUSE_ZLIB_builtin=""
54898 if test "x$SHARED" = "x1" ; then
54902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
54903 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
54904 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
54908 if test "x$TOOLKIT" = "x" ; then
54912 COND_TOOLKIT_COCOA="#"
54913 if test "x$TOOLKIT" = "xCOCOA" ; then
54914 COND_TOOLKIT_COCOA=""
54917 COND_TOOLKIT_COCOA_USE_GUI_1="#"
54918 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
54919 COND_TOOLKIT_COCOA_USE_GUI_1=""
54922 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
54923 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54924 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
54927 COND_TOOLKIT_DFB="#"
54928 if test "x$TOOLKIT" = "xDFB" ; then
54929 COND_TOOLKIT_DFB=""
54932 COND_TOOLKIT_DFB_USE_GUI_1="#"
54933 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
54934 COND_TOOLKIT_DFB_USE_GUI_1=""
54937 COND_TOOLKIT_GTK="#"
54938 if test "x$TOOLKIT" = "xGTK" ; then
54939 COND_TOOLKIT_GTK=""
54942 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
54943 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
54944 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
54947 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
54948 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
54949 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
54952 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
54953 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
54954 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
54957 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
54958 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54959 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
54962 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
54963 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
54964 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
54967 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
54968 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54969 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
54972 COND_TOOLKIT_GTK_USE_GUI_1="#"
54973 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
54974 COND_TOOLKIT_GTK_USE_GUI_1=""
54977 COND_TOOLKIT_MAC="#"
54978 if test "x$TOOLKIT" = "xMAC" ; then
54979 COND_TOOLKIT_MAC=""
54982 COND_TOOLKIT_MOTIF="#"
54983 if test "x$TOOLKIT" = "xMOTIF" ; then
54984 COND_TOOLKIT_MOTIF=""
54987 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
54988 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
54989 COND_TOOLKIT_MOTIF_USE_GUI_1=""
54992 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
54993 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
54994 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
54997 COND_TOOLKIT_MSW="#"
54998 if test "x$TOOLKIT" = "xMSW" ; then
54999 COND_TOOLKIT_MSW=""
55002 COND_TOOLKIT_MSW_USE_GUI_1="#"
55003 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
55004 COND_TOOLKIT_MSW_USE_GUI_1=""
55007 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
55008 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55009 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
55012 COND_TOOLKIT_MSW_WXUNIV_0="#"
55013 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
55014 COND_TOOLKIT_MSW_WXUNIV_0=""
55017 COND_TOOLKIT_OSX_CARBON="#"
55018 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
55019 COND_TOOLKIT_OSX_CARBON=""
55022 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
55023 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
55024 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
55027 COND_TOOLKIT_OSX_COCOA="#"
55028 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
55029 COND_TOOLKIT_OSX_COCOA=""
55032 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
55033 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
55034 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
55037 COND_TOOLKIT_OSX_IPHONE="#"
55038 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
55039 COND_TOOLKIT_OSX_IPHONE=""
55042 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
55043 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
55044 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
55047 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
55048 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55049 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
55052 COND_TOOLKIT_PM="#"
55053 if test "x$TOOLKIT" = "xPM" ; then
55057 COND_TOOLKIT_PM_USE_GUI_1="#"
55058 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
55059 COND_TOOLKIT_PM_USE_GUI_1=""
55062 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
55063 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55064 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
55067 COND_TOOLKIT_WINCE="#"
55068 if test "x$TOOLKIT" = "xWINCE" ; then
55069 COND_TOOLKIT_WINCE=""
55072 COND_TOOLKIT_WINCE_USE_GUI_1="#"
55073 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
55074 COND_TOOLKIT_WINCE_USE_GUI_1=""
55077 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
55078 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55079 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
55082 COND_TOOLKIT_WINCE_WXUNIV_0="#"
55083 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
55084 COND_TOOLKIT_WINCE_WXUNIV_0=""
55087 COND_TOOLKIT_X11="#"
55088 if test "x$TOOLKIT" = "xX11" ; then
55089 COND_TOOLKIT_X11=""
55092 COND_TOOLKIT_X11_USE_GUI_1="#"
55093 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
55094 COND_TOOLKIT_X11_USE_GUI_1=""
55098 if test "x$UNICODE" = "x1" ; then
55102 COND_USE_CAIRO_1="#"
55103 if test "x$USE_CAIRO" = "x1" ; then
55104 COND_USE_CAIRO_1=""
55107 COND_USE_EXCEPTIONS_0="#"
55108 if test "x$USE_EXCEPTIONS" = "x0" ; then
55109 COND_USE_EXCEPTIONS_0=""
55112 COND_USE_EXCEPTIONS_1="#"
55113 if test "x$USE_EXCEPTIONS" = "x1" ; then
55114 COND_USE_EXCEPTIONS_1=""
55118 if test "x$USE_GUI" = "x0" ; then
55123 if test "x$USE_GUI" = "x1" ; then
55127 COND_USE_GUI_1_USE_OPENGL_1="#"
55128 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
55129 COND_USE_GUI_1_USE_OPENGL_1=""
55132 COND_USE_GUI_1_WXUNIV_0="#"
55133 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
55134 COND_USE_GUI_1_WXUNIV_0=""
55137 COND_USE_GUI_1_WXUNIV_1="#"
55138 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
55139 COND_USE_GUI_1_WXUNIV_1=""
55142 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
55143 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55144 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
55147 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
55148 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55149 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
55152 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
55153 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55154 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
55157 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
55158 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55159 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
55162 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
55163 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55164 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
55167 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
55168 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55169 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
55172 COND_USE_OPENGL_1="#"
55173 if test "x$USE_OPENGL" = "x1" ; then
55174 COND_USE_OPENGL_1=""
55178 if test "x$USE_PCH" = "x1" ; then
55182 COND_USE_PLUGINS_0="#"
55183 if test "x$USE_PLUGINS" = "x0" ; then
55184 COND_USE_PLUGINS_0=""
55187 COND_USE_RTTI_0="#"
55188 if test "x$USE_RTTI" = "x0" ; then
55192 COND_USE_RTTI_1="#"
55193 if test "x$USE_RTTI" = "x1" ; then
55197 COND_USE_SOTWOSYMLINKS_1="#"
55198 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
55199 COND_USE_SOTWOSYMLINKS_1=""
55202 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
55203 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
55204 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
55207 COND_USE_SOVERLINUX_1="#"
55208 if test "x$USE_SOVERLINUX" = "x1" ; then
55209 COND_USE_SOVERLINUX_1=""
55212 COND_USE_SOVERSION_0="#"
55213 if test "x$USE_SOVERSION" = "x0" ; then
55214 COND_USE_SOVERSION_0=""
55217 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
55218 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
55219 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
55222 COND_USE_SOVERSOLARIS_1="#"
55223 if test "x$USE_SOVERSOLARIS" = "x1" ; then
55224 COND_USE_SOVERSOLARIS_1=""
55228 if test "x$USE_STC" = "x1" ; then
55232 COND_USE_THREADS_0="#"
55233 if test "x$USE_THREADS" = "x0" ; then
55234 COND_USE_THREADS_0=""
55237 COND_USE_THREADS_1="#"
55238 if test "x$USE_THREADS" = "x1" ; then
55239 COND_USE_THREADS_1=""
55243 if test "x$USE_XRC" = "x1" ; then
55247 COND_WINDOWS_IMPLIB_1="#"
55248 if test "x$WINDOWS_IMPLIB" = "x1" ; then
55249 COND_WINDOWS_IMPLIB_1=""
55252 COND_WITH_PLUGIN_SDL_1="#"
55253 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
55254 COND_WITH_PLUGIN_SDL_1=""
55258 if test "x$WXUNIV" = "x0" ; then
55263 if test "x$WXUNIV" = "x1" ; then
55267 COND_WXUSE_EXPAT_BUILTIN="#"
55268 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55269 COND_WXUSE_EXPAT_BUILTIN=""
55272 COND_WXUSE_LIBJPEG_BUILTIN="#"
55273 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55274 COND_WXUSE_LIBJPEG_BUILTIN=""
55277 COND_WXUSE_LIBPNG_BUILTIN="#"
55278 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55279 COND_WXUSE_LIBPNG_BUILTIN=""
55282 COND_WXUSE_LIBTIFF_BUILTIN="#"
55283 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55284 COND_WXUSE_LIBTIFF_BUILTIN=""
55287 COND_WXUSE_REGEX_BUILTIN="#"
55288 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55289 COND_WXUSE_REGEX_BUILTIN=""
55292 COND_WXUSE_ZLIB_BUILTIN="#"
55293 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55294 COND_WXUSE_ZLIB_BUILTIN=""
55297 COND_wxUSE_EXPAT_builtin="#"
55298 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
55299 COND_wxUSE_EXPAT_builtin=""
55302 COND_wxUSE_LIBJPEG_builtin="#"
55303 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
55304 COND_wxUSE_LIBJPEG_builtin=""
55307 COND_wxUSE_LIBPNG_builtin="#"
55308 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
55309 COND_wxUSE_LIBPNG_builtin=""
55312 COND_wxUSE_LIBTIFF_builtin="#"
55313 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
55314 COND_wxUSE_LIBTIFF_builtin=""
55317 COND_wxUSE_REGEX_builtin="#"
55318 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
55319 COND_wxUSE_REGEX_builtin=""
55322 COND_wxUSE_ZLIB_builtin="#"
55323 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
55324 COND_wxUSE_ZLIB_builtin=""
55329 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
55330 { { 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
55331 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;}
55332 { (exit 1); exit 1; }; }
55335 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
55336 { { 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
55337 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;}
55338 { (exit 1); exit 1; }; }
55345 ?:* ) # Drive letter, considered as absolute.
55348 INSTALL=`pwd`/${INSTALL} ;;
55351 if test "$wxUSE_GUI" = "yes"; then
55353 if test "$wxUSE_MSW" = 1 ; then
55354 if test "x$WINDRES" = "x"; then
55355 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
55356 echo "$as_me: error: Required windres program not found" >&2;}
55357 { (exit 1); exit 1; }; }
55363 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
55364 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
55365 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
55367 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
55369 # Extract the first word of "DeRez", so it can be a program name with args.
55370 set dummy DeRez; ac_word=$2
55371 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55373 if test "${ac_cv_prog_DEREZ+set}" = set; then
55374 echo $ECHO_N "(cached) $ECHO_C" >&6
55376 if test -n "$DEREZ"; then
55377 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
55379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55380 for as_dir in $PATH
55383 test -z "$as_dir" && as_dir=.
55384 for ac_exec_ext in '' $ac_executable_extensions; do
55385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55386 ac_cv_prog_DEREZ="DeRez"
55387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55394 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
55397 DEREZ=$ac_cv_prog_DEREZ
55398 if test -n "$DEREZ"; then
55399 { echo "$as_me:$LINENO: result: $DEREZ" >&5
55400 echo "${ECHO_T}$DEREZ" >&6; }
55402 { echo "$as_me:$LINENO: result: no" >&5
55403 echo "${ECHO_T}no" >&6; }
55408 MACSETFILE="\$(SETFILE)"
55410 if test "$wxUSE_OSX_CARBON" = 1; then
55411 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
55413 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
55415 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
55416 RESCOMP="cat /dev/null \| $REZ"
55417 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
55423 if test "$wxUSE_PM" = 1; then
55425 WXCONFIG_RESFLAGS="-ep"
55427 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
55429 POSTLINK_COMMAND="@true"
55436 if test $GCC_PCH = 1
55438 if test "$wx_cv_gcc_pch_bug" = yes; then
55439 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
55440 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
55441 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
55442 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
55443 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
55444 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
55447 # Our WX_PRECOMP flag does not make sense for any language except C++ because
55448 # the headers that benefit from precompilation are mostly C++ headers.
55449 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55450 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
55451 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
55455 if test "$wxUSE_MAC" = 1 ; then
55456 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
55457 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
55463 if test "$wxUSE_SHARED" = "yes"; then
55465 *-pc-os2_emx | *-pc-os2-emx )
55466 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55467 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
55468 cp -p ${srcdir}/src/os2/dllnames.sh .
55469 cp -p ${srcdir}/src/os2/dllar.sh .
55473 if test "$wxUSE_OMF" = "yes"; then
55475 *-pc-os2_emx | *-pc-os2-emx )
55476 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
55477 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55478 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
55483 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
55488 if test "$GCC" = yes; then
55489 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
55490 LIBS=`echo $LIBS | sed 's/-mt//g'`
55491 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
55496 if test "x$SUNCXX" = xyes; then
55497 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
55498 LIBS=`echo $LIBS | sed 's/-pthread//g'`
55499 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
55504 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
55505 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
55506 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
55507 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
55509 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
55570 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
55571 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
55572 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
55573 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
55574 echo $ECHO_N "(cached) $ECHO_C" >&6
55576 cat >conftest.make <<\_ACEOF
55579 @echo '@@@%%%=$(MAKE)=@@@%%%'
55581 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
55582 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
55583 *@@@%%%=?*=@@@%%%*)
55584 eval ac_cv_prog_make_${ac_make}_set=yes;;
55586 eval ac_cv_prog_make_${ac_make}_set=no;;
55588 rm -f conftest.make
55590 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
55591 { echo "$as_me:$LINENO: result: yes" >&5
55592 echo "${ECHO_T}yes" >&6; }
55595 { echo "$as_me:$LINENO: result: no" >&5
55596 echo "${ECHO_T}no" >&6; }
55597 SET_MAKE="MAKE=${MAKE-make}"
55602 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
55605 if test "$USE_WIN32" = 1; then
55606 ac_config_commands="$ac_config_commands rcdefs.h"
55610 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
55613 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
55616 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
55619 if test "$wx_cv_version_script" = "yes"; then
55620 ac_config_files="$ac_config_files version-script"
55623 ac_config_files="$ac_config_files Makefile"
55626 ac_config_commands="$ac_config_commands wx-config"
55630 if test "$wxWITH_SUBDIRS" != "no"; then
55631 if test "$wxUSE_GUI" = "yes"; then
55632 SUBDIRS="samples demos utils"
55634 SUBDIRS="samples utils"
55639 # Check whether --with-cppunit-prefix was given.
55640 if test "${with_cppunit_prefix+set}" = set; then
55641 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
55643 cppunit_config_prefix=""
55647 # Check whether --with-cppunit-exec-prefix was given.
55648 if test "${with_cppunit_exec_prefix+set}" = set; then
55649 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
55651 cppunit_config_exec_prefix=""
55655 if test x$cppunit_config_exec_prefix != x ; then
55656 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
55657 if test x${CPPUNIT_CONFIG+set} != xset ; then
55658 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
55661 if test x$cppunit_config_prefix != x ; then
55662 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
55663 if test x${CPPUNIT_CONFIG+set} != xset ; then
55664 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
55668 # Extract the first word of "cppunit-config", so it can be a program name with args.
55669 set dummy cppunit-config; ac_word=$2
55670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
55671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
55672 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
55673 echo $ECHO_N "(cached) $ECHO_C" >&6
55675 case $CPPUNIT_CONFIG in
55677 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
55680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
55681 for as_dir in $PATH
55684 test -z "$as_dir" && as_dir=.
55685 for ac_exec_ext in '' $ac_executable_extensions; do
55686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
55687 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
55688 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
55695 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
55699 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
55700 if test -n "$CPPUNIT_CONFIG"; then
55701 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
55702 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
55704 { echo "$as_me:$LINENO: result: no" >&5
55705 echo "${ECHO_T}no" >&6; }
55709 cppunit_version_min=1.8.0
55711 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
55712 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
55714 if test "$CPPUNIT_CONFIG" = "no" ; then
55715 { echo "$as_me:$LINENO: result: no" >&5
55716 echo "${ECHO_T}no" >&6; }
55719 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
55720 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
55721 cppunit_version=`$CPPUNIT_CONFIG --version`
55723 cppunit_major_version=`echo $cppunit_version | \
55724 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55725 cppunit_minor_version=`echo $cppunit_version | \
55726 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55727 cppunit_micro_version=`echo $cppunit_version | \
55728 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55730 cppunit_major_min=`echo $cppunit_version_min | \
55731 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
55732 cppunit_minor_min=`echo $cppunit_version_min | \
55733 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
55734 cppunit_micro_min=`echo $cppunit_version_min | \
55735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
55737 cppunit_version_proper=`expr \
55738 $cppunit_major_version \
> $cppunit_major_min \
| \
55739 $cppunit_major_version \
= $cppunit_major_min \
& \
55740 $cppunit_minor_version \
> $cppunit_minor_min \
| \
55741 $cppunit_major_version \
= $cppunit_major_min \
& \
55742 $cppunit_minor_version \
= $cppunit_minor_min \
& \
55743 $cppunit_micro_version \
>= $cppunit_micro_min `
55745 if test "$cppunit_version_proper" = "1" ; then
55746 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
55747 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
55749 { echo "$as_me:$LINENO: result: no" >&5
55750 echo "${ECHO_T}no" >&6; }
55755 if test "x$no_cppunit" = x ; then
55756 SUBDIRS="$SUBDIRS tests"
55767 for subdir in $SUBDIRS; do
55768 if test -d ${srcdir}/${subdir} ; then
55769 if test "$wxUSE_GUI" = "yes"; then
55770 if test ${subdir} = "samples"; then
55771 makefiles="samples/Makefile.in $makefiles"
55772 for sample in $SAMPLES_SUBDIRS; do
55773 if test -d $srcdir/samples/$sample; then
55774 makefiles="samples/$sample/Makefile.in $makefiles"
55778 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
55779 eval "disabled=\$$disabled_var"
55780 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
55781 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
55784 if test ${subdir} = "samples"; then
55785 makefiles="samples/Makefile.in $makefiles"
55786 for sample in `echo $SAMPLES_SUBDIRS`; do
55787 if test -d $srcdir/samples/$sample; then
55788 makefiles="samples/$sample/Makefile.in $makefiles"
55791 elif test ${subdir} = "utils"; then
55793 for util in ifacecheck ; do
55794 if test -d $srcdir/utils/$util ; then
55795 makefiles="utils/$util/src/Makefile.in \
55800 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
55804 for mkin in $makefiles ; do
55805 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
55806 ac_config_files="$ac_config_files $mk"
55812 cat >confcache <<\_ACEOF
55813 # This file is a shell script that caches the results of configure
55814 # tests run on this system so they can be shared between configure
55815 # scripts and configure runs, see configure's option --config-cache.
55816 # It is not useful on other systems. If it contains results you don't
55817 # want to keep, you may remove or edit it.
55819 # config.status only pays attention to the cache file if you give it
55820 # the --recheck option to rerun configure.
55822 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
55823 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55824 # following values.
55828 # The following way of writing the cache mishandles newlines in values,
55829 # but we know of no workaround that is simple, portable, and efficient.
55830 # So, we kill variables containing newlines.
55831 # Ultrix sh set writes to stderr and can't be redirected directly,
55832 # and sets the high bit in the cache file unless we assign to the vars.
55834 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55835 eval ac_val
=\$
$ac_var
55839 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
55840 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
55843 _
| IFS
| as_nl
) ;; #(
55844 *) $as_unset $ac_var ;;
55850 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55851 *${as_nl}ac_space
=\
*)
55852 # `set' does not quote correctly, so add quotes (double-quote
55853 # substitution turns \\\\ into \\, and sed turns \\ into \).
55856 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55859 # `set' quotes correctly as required by POSIX, so do not add quotes.
55860 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55869 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55871 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55873 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
55874 if test -w "$cache_file"; then
55875 test "x$cache_file" != "x/dev/null" &&
55876 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
55877 echo "$as_me: updating cache $cache_file" >&6;}
55878 cat confcache
>$cache_file
55880 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
55881 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55886 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
55887 # Let make expand exec_prefix.
55888 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
55890 DEFS
=-DHAVE_CONFIG_H
55894 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
55895 # 1. Remove the extension, and $U if already installed.
55896 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
55897 ac_i
=`echo "$ac_i" | sed "$ac_script"`
55898 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55899 # will be set to the directory where LIBOBJS objects are built.
55900 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55901 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
55903 LIBOBJS
=$ac_libobjs
55905 LTLIBOBJS
=$ac_ltlibobjs
55909 : ${CONFIG_STATUS=./config.status}
55910 ac_clean_files_save
=$ac_clean_files
55911 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
55912 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
55913 echo "$as_me: creating $CONFIG_STATUS" >&6;}
55914 cat >$CONFIG_STATUS <<_ACEOF
55916 # Generated by $as_me.
55917 # Run this file to recreate the current configuration.
55918 # Compiler output produced by configure, useful for debugging
55919 # configure, is in config.log if it exists.
55922 ac_cs_recheck=false
55924 SHELL=\${CONFIG_SHELL-$SHELL}
55927 cat >>$CONFIG_STATUS <<\_ACEOF
55928 ## --------------------- ##
55929 ## M4sh Initialization. ##
55930 ## --------------------- ##
55932 # Be more Bourne compatible
55933 DUALCASE
=1; export DUALCASE
# for MKS sh
55934 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
55937 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
55938 # is contrary to our usage. Disable this feature.
55939 alias -g '${1+"$@"}'='"$@"'
55940 setopt NO_GLOB_SUBST
55942 case `(set -o) 2>/dev/null` in
55943 *posix
*) set -o posix
;;
55952 # Avoid depending upon Character Ranges.
55953 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
55954 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
55955 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
55956 as_cr_digits
='0123456789'
55957 as_cr_alnum
=$as_cr_Letters$as_cr_digits
55959 # The user is always right.
55960 if test "${PATH_SEPARATOR+set}" != set; then
55961 echo "#! /bin/sh" >conf$$.sh
55962 echo "exit 0" >>conf$$.sh
55964 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55972 # Support unset when possible.
55973 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
55981 # We need space, tab and new line, in precisely that order. Quoting is
55982 # there to prevent editors from complaining about space-tab.
55983 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
55984 # splitting by setting IFS to empty value.)
55989 # Find who we are. Look in the path if we contain no directory separator.
55991 *[\\/]* ) as_myself
=$0 ;;
55992 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
55993 for as_dir
in $PATH
55996 test -z "$as_dir" && as_dir
=.
55997 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
56003 # We did not find ourselves, most probably we were run as `sh COMMAND'
56004 # in which case we are not to be found in the path.
56005 if test "x$as_myself" = x
; then
56008 if test ! -f "$as_myself"; then
56009 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
56010 { (exit 1); exit 1; }
56013 # Work around bugs in pre-3.0 UWIN ksh.
56014 for as_var
in ENV MAIL MAILPATH
56015 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
56023 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
56024 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
56025 LC_TELEPHONE LC_TIME
56027 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
56028 eval $as_var=C
; export $as_var
56030 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
56034 # Required to use basename.
56035 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
56036 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
56042 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
56043 as_basename
=basename
56049 # Name of the executable.
56050 as_me
=`$as_basename -- "$0" ||
56051 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
56052 X"$0" : 'X\(//\)$' \| \
56053 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56055 sed '/^.*\/\([^/][^/]*\)\/*$/{
56074 as_lineno_1
=$LINENO
56075 as_lineno_2
=$LINENO
56076 test "x$as_lineno_1" != "x$as_lineno_2" &&
56077 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
56079 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
56080 # uniformly replaced by the line number. The first 'sed' inserts a
56081 # line-number line after each line using $LINENO; the second 'sed'
56082 # does the real work. The second script uses 'N' to pair each
56083 # line-number line with the line containing $LINENO, and appends
56084 # trailing '-' during substitution so that $LINENO is not a special
56085 # case at line end.
56086 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
56087 # scripts with optimization help from Paolo Bonzini. Blame Lee
56088 # E. McMahon (1931-1989) for sed's syntax. :-)
56100 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
56103 ' >$as_me.lineno
&&
56104 chmod +x
"$as_me.lineno" ||
56105 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
56106 { (exit 1); exit 1; }; }
56108 # Don't try to exec as it changes $[0], causing all sort of problems
56109 # (the dirname of $[0] is not the place where we might find the
56110 # original and so on. Autoconf is especially sensitive to this).
56111 .
"./$as_me.lineno"
56112 # Exit status is that of the last command.
56117 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
56123 ECHO_C
= ECHO_N
= ECHO_T
=
56124 case `echo -n x` in
56126 case `echo 'x\c'` in
56127 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
56134 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
56135 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
56141 rm -f conf$$ conf$$.exe conf$$.
file
56142 if test -d conf$$.dir
; then
56143 rm -f conf$$.dir
/conf$$.
file
56149 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
56151 # ... but there are two gotchas:
56152 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56153 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56154 # In both cases, we have to default to `cp -p'.
56155 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
56157 elif ln conf$$.
file conf$$
2>/dev
/null
; then
56162 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
56163 rmdir conf$$.dir
2>/dev
/null
56165 if mkdir -p .
2>/dev
/null
; then
56168 test -d .
/-p && rmdir .
/-p
56172 if test -x / >/dev
/null
2>&1; then
56173 as_test_x
='test -x'
56175 if ls -dL / >/dev
/null
2>&1; then
56182 if test -d "$1"; then
56188 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
56189 ???[sx]*):;;*)false;;esac;fi
56193 as_executable_p
=$as_test_x
56195 # Sed expression to map a string onto a valid CPP name.
56196 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56198 # Sed expression to map a string onto a valid variable name.
56199 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56204 # Save the log message, to keep $[0] and so on meaningful, and to
56205 # report actual input values of CONFIG_FILES etc. instead of their
56206 # values after options handling.
56208 This file was extended by wxWidgets $as_me 2.9.4, which was
56209 generated by GNU Autoconf 2.61. Invocation command line was
56211 CONFIG_FILES = $CONFIG_FILES
56212 CONFIG_HEADERS = $CONFIG_HEADERS
56213 CONFIG_LINKS = $CONFIG_LINKS
56214 CONFIG_COMMANDS = $CONFIG_COMMANDS
56217 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56222 cat >>$CONFIG_STATUS <<_ACEOF
56223 # Files that config.status was made for.
56224 config_files="$ac_config_files"
56225 config_headers="$ac_config_headers"
56226 config_commands="$ac_config_commands"
56230 cat >>$CONFIG_STATUS <<\_ACEOF
56232 \`$as_me' instantiates files from templates according to the
56233 current configuration.
56235 Usage: $0 [OPTIONS] [FILE]...
56237 -h, --help print this help, then exit
56238 -V, --version print version number and configuration settings, then exit
56239 -q, --quiet do not print progress messages
56240 -d, --debug don't remove temporary files
56241 --recheck update $as_me by reconfiguring in the same conditions
56242 --file=FILE[:TEMPLATE]
56243 instantiate the configuration file FILE
56244 --header=FILE[:TEMPLATE]
56245 instantiate the configuration header FILE
56247 Configuration files:
56250 Configuration headers:
56253 Configuration commands:
56256 Report bugs to <bug-autoconf@gnu.org>."
56259 cat >>$CONFIG_STATUS <<_ACEOF
56261 wxWidgets config.status 2.9.4
56262 configured by $0, generated by GNU Autoconf 2.61,
56263 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
56265 Copyright (C) 2006 Free Software Foundation, Inc.
56266 This config.status script is free software; the Free Software Foundation
56267 gives unlimited permission to copy, distribute and modify it."
56274 cat >>$CONFIG_STATUS <<\_ACEOF
56275 # If no file are specified by the user, then we need to provide default
56276 # value. By we need to know if files were specified by the user.
56282 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
56283 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
56294 # Handling of the options.
56295 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
56297 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
56298 echo "$ac_cs_version"; exit ;;
56299 --debug | --debu | --deb | --de | --d | -d )
56301 --file | --fil | --fi | --f )
56303 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
56304 ac_need_defaults
=false
;;
56305 --header | --heade | --head | --hea )
56307 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
56308 ac_need_defaults
=false
;;
56310 # Conflict between --help and --header
56311 { echo "$as_me: error: ambiguous option: $1
56312 Try \`$0 --help' for more information." >&2
56313 { (exit 1); exit 1; }; };;
56314 --help | --hel | -h )
56315 echo "$ac_cs_usage"; exit ;;
56316 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
56317 | -silent | --silent | --silen | --sile | --sil | --si | --s)
56320 # This is an error.
56321 -*) { echo "$as_me: error: unrecognized option: $1
56322 Try \`$0 --help' for more information." >&2
56323 { (exit 1); exit 1; }; } ;;
56325 *) ac_config_targets
="$ac_config_targets $1"
56326 ac_need_defaults
=false
;;
56332 ac_configure_extra_args
=
56334 if $ac_cs_silent; then
56336 ac_configure_extra_args
="$ac_configure_extra_args --silent"
56340 cat >>$CONFIG_STATUS <<_ACEOF
56341 if \$ac_cs_recheck; then
56342 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
56343 CONFIG_SHELL=$SHELL
56344 export CONFIG_SHELL
56345 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56349 cat >>$CONFIG_STATUS <<\_ACEOF
56353 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56354 ## Running $as_me. ##
56360 cat >>$CONFIG_STATUS <<_ACEOF
56366 infile="$srcdir/include/wx/msw/genrcdefs.h"
56367 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
56370 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56371 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56372 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
56378 cat >>$CONFIG_STATUS <<\_ACEOF
56380 # Handling of arguments.
56381 for ac_config_target
in $ac_config_targets
56383 case $ac_config_target in
56384 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
56385 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
56386 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
56387 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
56388 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
56389 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
56390 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
56391 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
56392 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
56394 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
56395 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
56396 { (exit 1); exit 1; }; };;
56401 # If the user did not use the arguments to specify the items to instantiate,
56402 # then the envvar interface is used. Set only those that are not.
56403 # We use the long form for the default assignment because of an extremely
56404 # bizarre bug on SunOS 4.1.3.
56405 if $ac_need_defaults; then
56406 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
56407 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
56408 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
56411 # Have a temporary directory for convenience. Make it in the build tree
56412 # simply because there is no reason against having it here, and in addition,
56413 # creating and moving files from /tmp can sometimes cause problems.
56414 # Hook for its removal unless debugging.
56415 # Note that there is a small window in which the directory will not be cleaned:
56416 # after its creation but before its name has been assigned to `$tmp'.
56420 trap 'exit_status=$?
56421 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
56423 trap '{ (exit 1); exit 1; }' 1 2 13 15
56425 # Create a (secure) tmp directory for tmp files.
56428 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56429 test -n "$tmp" && test -d "$tmp"
56432 tmp
=.
/conf$$
-$RANDOM
56433 (umask 077 && mkdir "$tmp")
56436 echo "$me: cannot create a temporary directory in ." >&2
56437 { (exit 1); exit 1; }
56441 # Set up the sed scripts for CONFIG_FILES section.
56444 # No need to generate the scripts if there are no CONFIG_FILES.
56445 # This happens for instance when ./config.status config.h
56446 if test -n "$CONFIG_FILES"; then
56453 for ac_last_try
in false false false false false
:; do
56454 cat >conf$
$subs.
sed <<_ACEOF
56455 SHELL!$SHELL$ac_delim
56456 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
56457 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
56458 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
56459 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
56460 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
56461 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
56462 exec_prefix!$exec_prefix$ac_delim
56463 prefix!$prefix$ac_delim
56464 program_transform_name!$program_transform_name$ac_delim
56465 bindir!$bindir$ac_delim
56466 sbindir!$sbindir$ac_delim
56467 libexecdir!$libexecdir$ac_delim
56468 datarootdir!$datarootdir$ac_delim
56469 datadir!$datadir$ac_delim
56470 sysconfdir!$sysconfdir$ac_delim
56471 sharedstatedir!$sharedstatedir$ac_delim
56472 localstatedir!$localstatedir$ac_delim
56473 includedir!$includedir$ac_delim
56474 oldincludedir!$oldincludedir$ac_delim
56475 docdir!$docdir$ac_delim
56476 infodir!$infodir$ac_delim
56477 htmldir!$htmldir$ac_delim
56478 dvidir!$dvidir$ac_delim
56479 pdfdir!$pdfdir$ac_delim
56480 psdir!$psdir$ac_delim
56481 libdir!$libdir$ac_delim
56482 localedir!$localedir$ac_delim
56483 mandir!$mandir$ac_delim
56484 DEFS!$DEFS$ac_delim
56485 ECHO_C!$ECHO_C$ac_delim
56486 ECHO_N!$ECHO_N$ac_delim
56487 ECHO_T!$ECHO_T$ac_delim
56488 LIBS!$LIBS$ac_delim
56489 build_alias!$build_alias$ac_delim
56490 host_alias!$host_alias$ac_delim
56491 target_alias!$target_alias$ac_delim
56492 build!$build$ac_delim
56493 build_cpu!$build_cpu$ac_delim
56494 build_vendor!$build_vendor$ac_delim
56495 build_os!$build_os$ac_delim
56496 host!$host$ac_delim
56497 host_cpu!$host_cpu$ac_delim
56498 host_vendor!$host_vendor$ac_delim
56499 host_os!$host_os$ac_delim
56500 wx_top_builddir!$wx_top_builddir$ac_delim
56502 CFLAGS!$CFLAGS$ac_delim
56503 LDFLAGS!$LDFLAGS$ac_delim
56504 CPPFLAGS!$CPPFLAGS$ac_delim
56505 ac_ct_CC!$ac_ct_CC$ac_delim
56506 EXEEXT!$EXEEXT$ac_delim
56507 OBJEXT!$OBJEXT$ac_delim
56509 GREP!$GREP$ac_delim
56510 EGREP!$EGREP$ac_delim
56512 CXXFLAGS!$CXXFLAGS$ac_delim
56513 ac_ct_CXX!$ac_ct_CXX$ac_delim
56515 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
56516 CXXCPP!$CXXCPP$ac_delim
56517 subdirs!$subdirs$ac_delim
56518 PKG_CONFIG!$PKG_CONFIG$ac_delim
56519 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
56520 GTK_LIBS!$GTK_LIBS$ac_delim
56521 GTK_CONFIG!$GTK_CONFIG$ac_delim
56522 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
56523 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
56524 XMKMF!$XMKMF$ac_delim
56525 X_CFLAGS!$X_CFLAGS$ac_delim
56526 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
56527 X_LIBS!$X_LIBS$ac_delim
56528 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
56529 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
56530 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
56531 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
56532 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
56533 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
56534 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
56535 Xinerama_CFLAGS!$Xinerama_CFLAGS$ac_delim
56536 Xinerama_LIBS!$Xinerama_LIBS$ac_delim
56537 Xxf86vm_CFLAGS!$Xxf86vm_CFLAGS$ac_delim
56538 Xxf86vm_LIBS!$Xxf86vm_LIBS$ac_delim
56539 SM_CFLAGS!$SM_CFLAGS$ac_delim
56540 SM_LIBS!$SM_LIBS$ac_delim
56541 GL_CFLAGS!$GL_CFLAGS$ac_delim
56542 GL_LIBS!$GL_LIBS$ac_delim
56543 GLU_CFLAGS!$GLU_CFLAGS$ac_delim
56544 GLU_LIBS!$GLU_LIBS$ac_delim
56545 MesaGL_CFLAGS!$MesaGL_CFLAGS$ac_delim
56546 MesaGL_LIBS!$MesaGL_LIBS$ac_delim
56547 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
56548 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
56549 LIBICONV!$LIBICONV$ac_delim
56550 GXX_VERSION!$GXX_VERSION$ac_delim
56551 SDL_CONFIG!$SDL_CONFIG$ac_delim
56554 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56556 elif $ac_last_try; then
56557 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56558 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56559 { (exit 1); exit 1; }; }
56561 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56565 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56566 if test -n "$ac_eof"; then
56567 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56568 ac_eof
=`expr $ac_eof + 1`
56571 cat >>$CONFIG_STATUS <<_ACEOF
56572 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
56573 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56576 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56577 s/^/s,@/; s/!/@,|#_!!_#|/
56580 s/'"$ac_delim"'$/,g/; t
56582 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56583 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56584 rm -f conf$
$subs.
sed
56585 cat >>$CONFIG_STATUS <<_ACEOF
56591 for ac_last_try
in false false false false false
:; do
56592 cat >conf$
$subs.
sed <<_ACEOF
56593 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
56594 SDL_LIBS!$SDL_LIBS$ac_delim
56595 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
56596 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
56597 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
56598 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
56599 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
56600 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
56601 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
56602 HILDON_LIBS!$HILDON_LIBS$ac_delim
56603 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
56604 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
56605 PYTHON!$PYTHON$ac_delim
56606 COND_PYTHON!$COND_PYTHON$ac_delim
56607 WEBKIT_CFLAGS!$WEBKIT_CFLAGS$ac_delim
56608 WEBKIT_LIBS!$WEBKIT_LIBS$ac_delim
56609 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
56610 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
56611 GST_CFLAGS!$GST_CFLAGS$ac_delim
56612 GST_LIBS!$GST_LIBS$ac_delim
56613 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
56614 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
56615 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
56616 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
56617 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
56618 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
56619 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
56620 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
56621 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
56622 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
56623 VENDOR!$VENDOR$ac_delim
56624 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
56625 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
56626 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
56627 WXUNIV!$WXUNIV$ac_delim
56628 MONOLITHIC!$MONOLITHIC$ac_delim
56629 USE_PLUGINS!$USE_PLUGINS$ac_delim
56630 CXXWARNINGS!$CXXWARNINGS$ac_delim
56631 EXTRALIBS!$EXTRALIBS$ac_delim
56632 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
56633 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
56634 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
56635 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
56636 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
56637 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
56638 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
56639 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
56640 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
56641 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
56642 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
56643 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
56644 UNICODE!$UNICODE$ac_delim
56645 DEBUG_INFO!$DEBUG_INFO$ac_delim
56646 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
56647 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
56648 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
56649 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
56650 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
56651 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
56652 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
56653 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
56654 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
56655 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
56656 RANLIB!$RANLIB$ac_delim
56657 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
56658 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
56659 INSTALL_DATA!$INSTALL_DATA$ac_delim
56660 LN_S!$LN_S$ac_delim
56661 SET_MAKE!$SET_MAKE$ac_delim
56662 MAKE_SET!$MAKE_SET$ac_delim
56663 AROPTIONS!$AROPTIONS$ac_delim
56664 STRIP!$STRIP$ac_delim
56666 INSTALL_DIR!$INSTALL_DIR$ac_delim
56667 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
56668 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
56669 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
56670 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
56671 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
56672 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
56673 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
56674 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
56675 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
56676 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
56677 SO_SUFFIX!$SO_SUFFIX$ac_delim
56678 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
56679 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
56680 LIBPREFIX!$LIBPREFIX$ac_delim
56681 LIBEXT!$LIBEXT$ac_delim
56682 DLLPREFIX!$DLLPREFIX$ac_delim
56683 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
56684 dlldir!$dlldir$ac_delim
56685 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
56686 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
56687 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
56688 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
56689 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
56692 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56694 elif $ac_last_try; then
56695 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56696 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56697 { (exit 1); exit 1; }; }
56699 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56703 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56704 if test -n "$ac_eof"; then
56705 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56706 ac_eof
=`expr $ac_eof + 1`
56709 cat >>$CONFIG_STATUS <<_ACEOF
56710 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
56711 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56714 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56715 s/^/s,@/; s/!/@,|#_!!_#|/
56718 s/'"$ac_delim"'$/,g/; t
56720 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56721 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56722 rm -f conf$
$subs.
sed
56723 cat >>$CONFIG_STATUS <<_ACEOF
56729 for ac_last_try
in false false false false false
:; do
56730 cat >conf$
$subs.
sed <<_ACEOF
56731 PIC_FLAG!$PIC_FLAG$ac_delim
56732 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
56733 USE_SOVERSION!$USE_SOVERSION$ac_delim
56734 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
56735 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
56736 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
56737 USE_MACVERSION!$USE_MACVERSION$ac_delim
56738 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
56739 SONAME_FLAG!$SONAME_FLAG$ac_delim
56740 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
56741 BK_DEPS!$BK_DEPS$ac_delim
56742 WINDRES!$WINDRES$ac_delim
56744 SETFILE!$SETFILE$ac_delim
56745 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
56746 GCC_PCH!$GCC_PCH$ac_delim
56747 ICC_PCH!$ICC_PCH$ac_delim
56748 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
56749 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
56750 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
56751 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
56752 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
56753 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
56754 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
56755 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
56756 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
56757 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
56758 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
56759 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
56760 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
56761 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
56762 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
56763 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
56764 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
56765 COND_BUILD_release!$COND_BUILD_release$ac_delim
56766 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
56767 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
56768 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
56769 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
56770 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
56771 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
56772 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
56773 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
56774 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
56775 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
56776 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
56777 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
56778 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
56779 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
56780 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
56781 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
56782 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56783 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
56784 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56785 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
56786 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
56787 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
56788 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
56789 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
56790 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
56791 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
56792 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
56793 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
56794 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
56795 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
56796 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
56797 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
56798 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
56799 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
56800 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
56801 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
56802 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
56803 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
56804 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
56805 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
56806 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
56807 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
56808 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
56809 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
56810 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
56811 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
56812 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
56813 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
56814 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
56815 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
56816 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
56817 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
56818 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
56819 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
56820 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
56821 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
56822 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
56823 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
56824 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56825 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
56826 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56827 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
56830 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56832 elif $ac_last_try; then
56833 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56834 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56835 { (exit 1); exit 1; }; }
56837 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56841 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56842 if test -n "$ac_eof"; then
56843 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56844 ac_eof
=`expr $ac_eof + 1`
56847 cat >>$CONFIG_STATUS <<_ACEOF
56848 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
56849 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56852 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56853 s/^/s,@/; s/!/@,|#_!!_#|/
56856 s/'"$ac_delim"'$/,g/; t
56858 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56859 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56860 rm -f conf$
$subs.
sed
56861 cat >>$CONFIG_STATUS <<_ACEOF
56867 for ac_last_try
in false false false false false
:; do
56868 cat >conf$
$subs.
sed <<_ACEOF
56869 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56870 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
56871 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
56872 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
56873 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
56874 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
56875 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
56876 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
56877 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
56878 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
56879 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
56880 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
56881 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
56882 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
56883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
56884 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
56885 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
56886 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
56887 COND_SHARED_0!$COND_SHARED_0$ac_delim
56888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
56889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
56890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
56891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
56892 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56893 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56894 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56895 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
56896 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
56897 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
56898 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
56899 COND_SHARED_1!$COND_SHARED_1$ac_delim
56900 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
56901 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
56902 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
56903 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
56904 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
56905 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
56906 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
56907 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
56908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
56909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
56910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
56911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
56912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
56913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
56914 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
56915 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
56916 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
56917 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
56918 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
56919 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
56920 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
56921 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
56922 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
56923 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
56924 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
56925 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
56926 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
56927 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
56928 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
56929 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
56930 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
56931 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
56932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
56933 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
56934 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
56935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
56936 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
56937 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
56938 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
56939 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
56940 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
56941 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
56942 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
56943 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
56944 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
56945 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
56946 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
56947 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
56948 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
56949 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
56950 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
56951 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
56952 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
56953 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
56954 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
56955 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
56956 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
56957 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
56958 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
56959 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
56960 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
56961 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
56962 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
56963 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
56964 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
56965 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
56968 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
56970 elif $ac_last_try; then
56971 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
56972 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
56973 { (exit 1); exit 1; }; }
56975 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
56979 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
56980 if test -n "$ac_eof"; then
56981 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
56982 ac_eof
=`expr $ac_eof + 1`
56985 cat >>$CONFIG_STATUS <<_ACEOF
56986 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
56987 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
56990 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
56991 s/^/s,@/; s/!/@,|#_!!_#|/
56994 s/'"$ac_delim"'$/,g/; t
56996 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
56997 ' >>$CONFIG_STATUS <conf$
$subs.
sed
56998 rm -f conf$
$subs.
sed
56999 cat >>$CONFIG_STATUS <<_ACEOF
57005 for ac_last_try
in false false false false false
:; do
57006 cat >conf$
$subs.
sed <<_ACEOF
57007 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
57008 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
57009 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
57010 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
57011 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
57012 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
57013 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
57014 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
57015 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
57016 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
57017 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
57018 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
57019 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
57020 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
57021 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
57022 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
57023 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
57024 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
57025 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
57026 DEREZ!$DEREZ$ac_delim
57027 SHARED!$SHARED$ac_delim
57028 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
57029 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
57030 USE_GUI!$USE_GUI$ac_delim
57031 AFMINSTALL!$AFMINSTALL$ac_delim
57032 WIN32INSTALL!$WIN32INSTALL$ac_delim
57033 TOOLKIT!$TOOLKIT$ac_delim
57034 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
57035 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
57036 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
57037 cross_compiling!$cross_compiling$ac_delim
57038 WIDGET_SET!$WIDGET_SET$ac_delim
57039 WX_RELEASE!$WX_RELEASE$ac_delim
57040 WX_VERSION!$WX_VERSION$ac_delim
57041 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
57042 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
57043 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
57044 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
57045 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
57046 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
57047 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
57048 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
57049 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
57050 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
57051 GUIDIST!$GUIDIST$ac_delim
57052 DISTDIR!$DISTDIR$ac_delim
57053 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
57054 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
57055 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
57056 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
57057 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
57058 RESCOMP!$RESCOMP$ac_delim
57059 RESFLAGS!$RESFLAGS$ac_delim
57060 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
57061 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
57062 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
57063 LIBWXMACRES!$LIBWXMACRES$ac_delim
57064 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
57065 MACSETFILE!$MACSETFILE$ac_delim
57067 DLLTOOL!$DLLTOOL$ac_delim
57068 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
57069 LIBOBJS!$LIBOBJS$ac_delim
57070 LTLIBOBJS!$LTLIBOBJS$ac_delim
57073 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 64; then
57075 elif $ac_last_try; then
57076 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
57077 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
57078 { (exit 1); exit 1; }; }
57080 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
57084 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
57085 if test -n "$ac_eof"; then
57086 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
57087 ac_eof
=`expr $ac_eof + 1`
57090 cat >>$CONFIG_STATUS <<_ACEOF
57091 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
57092 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
57095 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
57096 s/^/s,@/; s/!/@,|#_!!_#|/
57099 s/'"$ac_delim"'$/,g/; t
57101 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
57102 ' >>$CONFIG_STATUS <conf$
$subs.
sed
57103 rm -f conf$
$subs.
sed
57104 cat >>$CONFIG_STATUS <<_ACEOF
57111 # VPATH may cause trouble with some makes, so we remove $(srcdir),
57112 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
57113 # trailing colons and then remove the whole line if VPATH becomes empty
57114 # (actually we leave an empty line to preserve line numbers).
57115 if test "x$srcdir" = x.
; then
57116 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
57117 s/:*\$(srcdir):*/:/
57118 s/:*\${srcdir}:*/:/
57120 s/^\([^=]*=[ ]*\):*/\1/
57126 cat >>$CONFIG_STATUS <<\_ACEOF
57127 fi # test -n "$CONFIG_FILES"
57130 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
57133 :[FHLC
]) ac_mode
=$ac_tag; continue;;
57135 case $ac_mode$ac_tag in
57137 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
57138 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
57139 { (exit 1); exit 1; }; };;
57140 :[FH
]-) ac_tag
=-:-;;
57141 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
57158 -) ac_f
="$tmp/stdin";;
57159 *) # Look for the file first in the build tree, then in the source tree
57160 # (if the path is not absolute). The absolute path cannot be DOS-style,
57161 # because $ac_f cannot contain `:'.
57165 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
57167 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
57168 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
57169 { (exit 1); exit 1; }; };;
57171 ac_file_inputs
="$ac_file_inputs $ac_f"
57174 # Let's still pretend it is `configure' which instantiates (i.e., don't
57175 # use $as_me), people would be surprised to read:
57176 # /* config.h. Generated by config.status. */
57177 configure_input
="Generated from "`IFS=:
57178 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
57179 if test x
"$ac_file" != x
-; then
57180 configure_input
="$ac_file. $configure_input"
57181 { echo "$as_me:$LINENO: creating $ac_file" >&5
57182 echo "$as_me: creating $ac_file" >&6;}
57186 *:-:* | *:-) cat >"$tmp/stdin";;
57191 ac_dir
=`$as_dirname -- "$ac_file" ||
57192 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57193 X"$ac_file" : 'X\(//\)[^/]' \| \
57194 X"$ac_file" : 'X\(//\)$' \| \
57195 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57197 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57201 /^X\(\/\/\)[^/].*/{
57216 -*) as_dir
=.
/$as_dir;;
57218 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57222 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57223 *) as_qdir
=$as_dir;;
57225 as_dirs
="'$as_qdir' $as_dirs"
57226 as_dir
=`$as_dirname -- "$as_dir" ||
57227 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57228 X"$as_dir" : 'X\(//\)[^/]' \| \
57229 X"$as_dir" : 'X\(//\)$' \| \
57230 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57232 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57236 /^X\(\/\/\)[^/].*/{
57249 test -d "$as_dir" && break
57251 test -z "$as_dirs" || eval "mkdir $as_dirs"
57252 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57253 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57254 { (exit 1); exit 1; }; }; }
57258 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57260 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57261 # A ".." for each directory in $ac_dir_suffix.
57262 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57263 case $ac_top_builddir_sub in
57264 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57265 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
57268 ac_abs_top_builddir
=$ac_pwd
57269 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
57270 # for backward compatibility:
57271 ac_top_builddir
=$ac_top_build_prefix
57274 .
) # We are building in place.
57276 ac_top_srcdir
=$ac_top_builddir_sub
57277 ac_abs_top_srcdir
=$ac_pwd ;;
57278 [\\/]* | ?
:[\\/]* ) # Absolute name.
57279 ac_srcdir
=$srcdir$ac_dir_suffix;
57280 ac_top_srcdir
=$srcdir
57281 ac_abs_top_srcdir
=$srcdir ;;
57282 *) # Relative name.
57283 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
57284 ac_top_srcdir
=$ac_top_build_prefix$srcdir
57285 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
57287 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
57297 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
57298 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
57302 cat >>$CONFIG_STATUS <<\_ACEOF
57303 # If the template does not know about datarootdir, expand it.
57304 # FIXME: This hack should be removed a few years after 2.60.
57305 ac_datarootdir_hack
=; ac_datarootdir_seen
=
57307 case `sed -n '/datarootdir/ {
57316 ' $ac_file_inputs` in
57317 *datarootdir
*) ac_datarootdir_seen
=yes;;
57318 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
57319 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57320 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57322 cat >>$CONFIG_STATUS <<_ACEOF
57323 ac_datarootdir_hack='
57324 s&@datadir@&$datadir&g
57325 s&@docdir@&$docdir&g
57326 s&@infodir@&$infodir&g
57327 s&@localedir@&$localedir&g
57328 s&@mandir@&$mandir&g
57329 s&\\\${datarootdir}&$datarootdir&g' ;;
57333 # Neutralize VPATH when `$srcdir' = `.'.
57334 # Shell code in configure.ac might set extrasub.
57335 # FIXME: do we really want to maintain this feature?
57336 cat >>$CONFIG_STATUS <<_ACEOF
57340 cat >>$CONFIG_STATUS <<\_ACEOF
57342 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
57343 s
&@configure_input@
&$configure_input&;t t
57344 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
57345 s
&@srcdir@
&$ac_srcdir&;t t
57346 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
57347 s
&@top_srcdir@
&$ac_top_srcdir&;t t
57348 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
57349 s
&@builddir@
&$ac_builddir&;t t
57350 s
&@abs_builddir@
&$ac_abs_builddir&;t t
57351 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
57352 s
&@INSTALL@
&$ac_INSTALL&;t t
57353 $ac_datarootdir_hack
57354 " $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
57356 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57357 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
57358 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
57359 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
57360 which seems to be undefined. Please make sure it is defined." >&5
57361 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
57362 which seems to be undefined. Please make sure it is defined." >&2;}
57366 -) cat "$tmp/out"; rm -f "$tmp/out";;
57367 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
57376 # Transform confdefs.h into a sed script `conftest.defines', that
57377 # substitutes the proper values into config.h.in to produce config.h.
57378 rm -f conftest.defines conftest.
tail
57379 # First, append a space to every undef/define line, to ease matching.
57380 echo 's/$/ /' >conftest.defines
57381 # Then, protect against being on the right side of a sed subst, or in
57382 # an unquoted here document, in config.status. If some macros were
57383 # called several times there might be several #defines for the same
57384 # symbol, which is useless. But do not sort them, since the last
57385 # AC_DEFINE must be honored.
57386 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
57387 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
57388 # NAME is the cpp macro being defined, VALUE is the value it is being given.
57389 # PARAMS is the parameter list in the macro definition--in most cases, it's
57390 # just an empty string.
57391 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
57392 ac_dB
='\\)[ (].*,\\1define\\2'
57400 s/^[ ]*#[ ]*define[ ][ ]*//
57405 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
57406 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
57407 ' >>conftest.defines
57409 # Remove the space that was appended to ease matching.
57410 # Then replace #undef with comments. This is necessary, for
57411 # example, in the case of _POSIX_SOURCE, which is predefined and required
57412 # on some systems where configure will not decide to define it.
57413 # (The regexp can be short, since the line contains either #define or #undef.)
57415 s,^[ #]*u.*,/* & */,' >>conftest.defines
57417 # Break up conftest.defines:
57418 ac_max_sed_lines
=50
57420 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
57421 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
57422 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
57424 ac_in
='$ac_file_inputs'
57425 ac_out
='"$tmp/out1"'
57426 ac_nxt
='"$tmp/out2"'
57430 # Write a here document:
57431 cat >>$CONFIG_STATUS <<_ACEOF
57432 # First, check the format of the line:
57433 cat >"\$tmp/defines.sed" <<\\CEOF
57434 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
57435 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
57439 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
57441 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
57442 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
57443 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
57444 grep . conftest.
tail >/dev
/null
|| break
57445 rm -f conftest.defines
57446 mv conftest.
tail conftest.defines
57448 rm -f conftest.defines conftest.
tail
57450 echo "ac_result=$ac_in" >>$CONFIG_STATUS
57451 cat >>$CONFIG_STATUS <<\_ACEOF
57452 if test x
"$ac_file" != x
-; then
57453 echo "/* $configure_input */" >"$tmp/config.h"
57454 cat "$ac_result" >>"$tmp/config.h"
57455 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
57456 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
57457 echo "$as_me: $ac_file is unchanged" >&6;}
57460 mv "$tmp/config.h" $ac_file
57463 echo "/* $configure_input */"
57469 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
57470 echo "$as_me: executing $ac_file commands" >&6;}
57475 case $ac_file$ac_mode in
57477 mkdir -p $outdir &&
57478 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
57480 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
57481 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
57482 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
57483 "wx-config":C
) rm -f wx
-config
57484 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
57491 { (exit 0); exit 0; }
57493 chmod +x
$CONFIG_STATUS
57494 ac_clean_files
=$ac_clean_files_save
57497 # configure is writing to config.log, and then calls config.status.
57498 # config.status does its own redirection, appending to config.log.
57499 # Unfortunately, on DOS this fails, as config.log is still kept open
57500 # by configure, so config.status won't be able to write to it; its
57501 # output is simply discarded. So we exec the FD to /dev/null,
57502 # effectively closing config.log, so it can be properly (re)opened and
57503 # appended to by config.status. When coming back to configure, we
57504 # need to make the FD available again.
57505 if test "$no_create" != yes; then
57507 ac_config_status_args
=
57508 test "$silent" = yes &&
57509 ac_config_status_args
="$ac_config_status_args --quiet"
57511 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
57513 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
57514 # would make configure fail if this is the last instruction.
57515 $ac_cs_success || { (exit 1); exit 1; }
57519 # CONFIG_SUBDIRS section.
57521 if test "$no_recursion" != yes; then
57523 # Remove --cache-file and --srcdir arguments so they do not pile up.
57524 ac_sub_configure_args
=
57526 eval "set x $ac_configure_args"
57530 if test -n "$ac_prev"; then
57535 -cache-file | --cache-file | --cache-fil | --cache-fi \
57536 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
57537 ac_prev
=cache_file
;;
57538 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
57539 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
57542 --config-cache | -C)
57544 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
57546 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
57548 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
57550 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
57554 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57556 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
57560 # Always prepend --prefix to ensure using the same prefix
57561 # in subdir configurations.
57562 ac_arg
="--prefix=$prefix"
57564 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
57566 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
57569 if test "$silent" = yes; then
57570 ac_sub_configure_args
="--silent $ac_sub_configure_args"
57574 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
57576 # Do not complain, so a configure script can configure whichever
57577 # parts of a large source tree are present.
57578 test -d "$srcdir/$ac_dir" || continue
57580 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
57581 echo "$as_me:$LINENO: $ac_msg" >&5
57585 -*) as_dir
=.
/$as_dir;;
57587 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
57591 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
57592 *) as_qdir
=$as_dir;;
57594 as_dirs
="'$as_qdir' $as_dirs"
57595 as_dir
=`$as_dirname -- "$as_dir" ||
57596 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57597 X"$as_dir" : 'X\(//\)[^/]' \| \
57598 X"$as_dir" : 'X\(//\)$' \| \
57599 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
57601 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57605 /^X\(\/\/\)[^/].*/{
57618 test -d "$as_dir" && break
57620 test -z "$as_dirs" || eval "mkdir $as_dirs"
57621 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
57622 echo "$as_me: error: cannot create directory $as_dir" >&2;}
57623 { (exit 1); exit 1; }; }; }
57627 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57629 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
57630 # A ".." for each directory in $ac_dir_suffix.
57631 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
57632 case $ac_top_builddir_sub in
57633 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57634 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
57637 ac_abs_top_builddir
=$ac_pwd
57638 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
57639 # for backward compatibility:
57640 ac_top_builddir
=$ac_top_build_prefix
57643 .
) # We are building in place.
57645 ac_top_srcdir
=$ac_top_builddir_sub
57646 ac_abs_top_srcdir
=$ac_pwd ;;
57647 [\\/]* | ?
:[\\/]* ) # Absolute name.
57648 ac_srcdir
=$srcdir$ac_dir_suffix;
57649 ac_top_srcdir
=$srcdir
57650 ac_abs_top_srcdir
=$srcdir ;;
57651 *) # Relative name.
57652 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
57653 ac_top_srcdir
=$ac_top_build_prefix$srcdir
57654 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
57656 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
57661 # Check for guested configure; otherwise get Cygnus style configure.
57662 if test -f "$ac_srcdir/configure.gnu"; then
57663 ac_sub_configure
=$ac_srcdir/configure.gnu
57664 elif test -f "$ac_srcdir/configure"; then
57665 ac_sub_configure
=$ac_srcdir/configure
57666 elif test -f "$ac_srcdir/configure.in"; then
57667 # This should be Cygnus configure.
57668 ac_sub_configure
=$ac_aux_dir/configure
57670 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
57671 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
57675 # The recursion is here.
57676 if test -n "$ac_sub_configure"; then
57677 # Make the cache file name correct relative to the subdirectory.
57678 case $cache_file in
57679 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
57680 *) # Relative name.
57681 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
57684 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
57685 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
57686 # The eval makes quoting arguments work.
57687 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
57688 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
57689 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
57690 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
57691 { (exit 1); exit 1; }; }
57700 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
57702 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
57703 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
57704 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
57705 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
57706 if test "$wxUSE_UNICODE" = "yes"; then
57707 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
57708 echo " (using UTF-8)"
57710 echo " (using wchar_t)"
57716 echo " What level of wxWidgets compatibility should be enabled?"
57717 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
57718 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
57720 echo " Which libraries should wxWidgets use?"
57721 echo " STL ${wxUSE_STL}"
57722 echo " jpeg ${wxUSE_LIBJPEG-none}"
57723 echo " png ${wxUSE_LIBPNG-none}"
57724 echo " regex ${wxUSE_REGEX}"
57725 echo " tiff ${wxUSE_LIBTIFF-none}"
57726 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
57727 echo " xpm ${wxUSE_LIBXPM-none}"
57729 echo " zlib ${wxUSE_ZLIB}"
57730 echo " expat ${wxUSE_EXPAT}"
57731 echo " libmspack ${wxUSE_LIBMSPACK}"
57732 echo " sdl ${wxUSE_LIBSDL}"