2 # From configure.in Id.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.3.
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## --------------------- ##
13 ## M4sh Initialization. ##
14 ## --------------------- ##
16 # Be more Bourne compatible
17 DUALCASE
=1; export DUALCASE
# for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
21 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in
27 *posix
*) set -o posix
;;
36 # Avoid depending upon Character Ranges.
37 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
38 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
39 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
40 as_cr_digits
='0123456789'
41 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # The user is always right.
44 if test "${PATH_SEPARATOR+set}" != set; then
45 echo "#! /bin/sh" >conf$$.sh
46 echo "exit 0" >>conf$$.sh
48 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
56 # Support unset when possible.
57 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
65 # We need space, tab and new line, in precisely that order. Quoting is
66 # there to prevent editors from complaining about space-tab.
67 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
68 # splitting by setting IFS to empty value.)
73 # Find who we are. Look in the path if we contain no directory separator.
75 *[\\/]* ) as_myself
=$0 ;;
76 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
80 test -z "$as_dir" && as_dir
=.
81 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
87 # We did not find ourselves, most probably we were run as `sh COMMAND'
88 # in which case we are not to be found in the path.
89 if test "x$as_myself" = x
; then
92 if test ! -f "$as_myself"; then
93 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
97 # Work around bugs in pre-3.0 UWIN ksh.
98 for as_var
in ENV MAIL MAILPATH
99 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
111 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
112 eval $as_var=C
; export $as_var
114 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
118 # Required to use basename.
119 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
120 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
126 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
133 # Name of the executable.
134 as_me
=`$as_basename -- "$0" ||
135 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
136 X"$0" : 'X\(//\)$' \| \
137 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
139 sed '/^.*\/\([^/][^/]*\)\/*$/{
157 if test "x$CONFIG_SHELL" = x
; then
158 if (eval ":") 2>/dev
/null
; then
164 if test $as_have_required = yes && (eval ":
174 as_func_ret_success () {
177 as_func_ret_failure () {
182 if as_func_success; then
186 echo as_func_success failed.
189 if as_func_failure; then
191 echo as_func_failure succeeded.
194 if as_func_ret_success; then
198 echo as_func_ret_success failed.
201 if as_func_ret_failure; then
203 echo as_func_ret_failure succeeded.
206 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
210 echo positional parameters were not saved.
213 test \$exitcode = 0) || { (exit 1); exit 1; }
218 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
219 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
220 ") 2> /dev
/null
; then
224 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
225 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
228 test -z "$as_dir" && as_dir
=.
231 for as_base
in sh bash ksh sh5
; do
232 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
239 for as_shell
in $as_candidate_shells $SHELL; do
240 # Try only shells that exist, to save several forks.
241 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
242 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
243 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
246 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
247 # is contrary to our usage. Disable this feature.
248 alias -g '${1+"$@"}'='"$@"'
251 case `(set -o) 2>/dev/null` in
252 *posix
*) set -o posix
;;
261 CONFIG_SHELL
=$as_shell
263 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
264 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
267 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
268 # is contrary to our usage. Disable this feature.
269 alias -g '${1+"$@"}'='"$@"'
272 case `(set -o) 2>/dev/null` in
273 *posix
*) set -o posix
;;
289 as_func_ret_success
() {
292 as_func_ret_failure
() {
297 if as_func_success
; then
301 echo as_func_success failed.
304 if as_func_failure
; then
306 echo as_func_failure succeeded.
309 if as_func_ret_success
; then
313 echo as_func_ret_success failed.
316 if as_func_ret_failure
; then
318 echo as_func_ret_failure succeeded.
321 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
325 echo positional parameters were not saved.
328 test $exitcode = 0) || { (exit 1); exit 1; }
333 test "x$as_lineno_1" != "x$as_lineno_2" &&
334 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
345 if test "x$CONFIG_SHELL" != x
; then
346 for as_var
in BASH_ENV ENV
347 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
350 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
354 if test $as_have_required = no
; then
355 echo This
script requires a shell
more modern than all the
356 echo shells that I found on your system. Please
install a
357 echo modern shell
, or manually run the
script under such a
358 echo shell
if you
do have one.
359 { (exit 1); exit 1; }
369 (eval "as_func_return () {
378 as_func_ret_success () {
381 as_func_ret_failure () {
386 if as_func_success; then
390 echo as_func_success failed.
393 if as_func_failure; then
395 echo as_func_failure succeeded.
398 if as_func_ret_success; then
402 echo as_func_ret_success failed.
405 if as_func_ret_failure; then
407 echo as_func_ret_failure succeeded.
410 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
414 echo positional parameters were not saved.
417 test \$exitcode = 0") || {
418 echo No shell found that supports shell functions.
419 echo Please tell autoconf@gnu.org about your system
,
420 echo including any error possibly output before this
428 test "x$as_lineno_1" != "x$as_lineno_2" &&
429 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
431 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
432 # uniformly replaced by the line number. The first 'sed' inserts a
433 # line-number line after each line using $LINENO; the second 'sed'
434 # does the real work. The second script uses 'N' to pair each
435 # line-number line with the line containing $LINENO, and appends
436 # trailing '-' during substitution so that $LINENO is not a special
438 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
439 # scripts with optimization help from Paolo Bonzini. Blame Lee
440 # E. McMahon (1931-1989) for sed's syntax. :-)
452 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
456 chmod +x
"$as_me.lineno" ||
457 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
458 { (exit 1); exit 1; }; }
460 # Don't try to exec as it changes $[0], causing all sort of problems
461 # (the dirname of $[0] is not the place where we might find the
462 # original and so on. Autoconf is especially sensitive to this).
464 # Exit status is that of the last command.
469 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
475 ECHO_C
= ECHO_N
= ECHO_T
=
479 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
486 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
487 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
493 rm -f conf$$ conf$$.exe conf$$.
file
494 if test -d conf$$.dir
; then
495 rm -f conf$$.dir
/conf$$.
file
501 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
503 # ... but there are two gotchas:
504 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
505 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
506 # In both cases, we have to default to `cp -p'.
507 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
509 elif ln conf$$.
file conf$$
2>/dev
/null
; then
514 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
515 rmdir conf$$.dir
2>/dev
/null
517 if mkdir -p .
2>/dev
/null
; then
520 test -d .
/-p && rmdir .
/-p
524 if test -x / >/dev
/null
2>&1; then
527 if ls -dL / >/dev
/null
2>&1; then
534 if test -d "$1"; then
540 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
541 ???[sx]*):;;*)false;;esac;fi
545 as_executable_p
=$as_test_x
547 # Sed expression to map a string onto a valid CPP name.
548 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
550 # Sed expression to map a string onto a valid variable name.
551 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555 exec 7<&0 </dev
/null
6>&1
558 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
559 # so uname gets run too.
560 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
565 ac_default_prefix
=/usr
/local
567 ac_config_libobj_dir
=.
573 SHELL
=${CONFIG_SHELL-/bin/sh}
575 # Identity of this package.
576 PACKAGE_NAME
='wxWidgets'
577 PACKAGE_TARNAME
='wxwidgets'
578 PACKAGE_VERSION
='2.9.3'
579 PACKAGE_STRING
='wxWidgets 2.9.3'
580 PACKAGE_BUGREPORT
='wx-dev@lists.wxwidgets.org'
582 ac_unique_file
="wx-config.in"
583 # Factoring default headers for most tests.
584 ac_includes_default
="\
586 #ifdef HAVE_SYS_TYPES_H
587 # include <sys/types.h>
589 #ifdef HAVE_SYS_STAT_H
590 # include <sys/stat.h>
596 # ifdef HAVE_STDLIB_H
601 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
606 #ifdef HAVE_STRINGS_H
607 # include <strings.h>
609 #ifdef HAVE_INTTYPES_H
610 # include <inttypes.h>
628 program_transform_name
708 LIBGNOMEPRINTUI_CFLAGS
816 ICC_PCH_CREATE_SWITCH
820 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
821 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
822 COND_BUILD_DEBUG_UNICODE_0
823 COND_BUILD_DEBUG_UNICODE_1
825 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
826 COND_BUILD_RELEASE_UNICODE_0
827 COND_BUILD_RELEASE_UNICODE_1
829 COND_BUILD_debug_DEBUG_FLAG_default
830 COND_BUILD_debug_DEBUG_INFO_default
831 COND_BUILD_debug_UNICODE_0
832 COND_BUILD_debug_UNICODE_1
834 COND_BUILD_release_DEBUG_INFO_default
835 COND_BUILD_release_UNICODE_0
836 COND_BUILD_release_UNICODE_1
846 COND_MONOLITHIC_0_SHARED_0
847 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
848 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
850 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
851 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
852 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
853 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
854 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
855 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
856 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
857 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
858 COND_MONOLITHIC_0_SHARED_1
859 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
860 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
861 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
862 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
863 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
864 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
865 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
866 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
867 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
868 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
869 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
870 COND_MONOLITHIC_0_USE_AUI_1
871 COND_MONOLITHIC_0_USE_GUI_1
872 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
873 COND_MONOLITHIC_0_USE_HTML_1
874 COND_MONOLITHIC_0_USE_MEDIA_1
875 COND_MONOLITHIC_0_USE_PROPGRID_1
876 COND_MONOLITHIC_0_USE_QA_1
877 COND_MONOLITHIC_0_USE_RIBBON_1
878 COND_MONOLITHIC_0_USE_RICHTEXT_1
879 COND_MONOLITHIC_0_USE_STC_1
880 COND_MONOLITHIC_0_USE_WEBVIEW_1
881 COND_MONOLITHIC_0_USE_XRC_1
883 COND_MONOLITHIC_1_SHARED_0
884 COND_MONOLITHIC_1_SHARED_1
885 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
886 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
887 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
888 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
889 COND_PLATFORM_MACOSX_1
890 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
891 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
892 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
893 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
894 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
895 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
896 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
897 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
898 COND_PLATFORM_MACOSX_1_USE_GUI_1
899 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
900 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
901 COND_PLATFORM_MACOS_1
904 COND_PLATFORM_MSDOS_0
905 COND_PLATFORM_MSDOS_1
909 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
910 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
911 COND_PLATFORM_UNIX_1_USE_GUI_1
912 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
913 COND_PLATFORM_WIN32_0
914 COND_PLATFORM_WIN32_1
915 COND_PLATFORM_WIN32_1_SHARED_0
917 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
918 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
919 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
920 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
921 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
922 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
923 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
924 COND_SHARED_0_USE_STC_1
925 COND_SHARED_0_wxUSE_EXPAT_builtin
926 COND_SHARED_0_wxUSE_REGEX_builtin
927 COND_SHARED_0_wxUSE_ZLIB_builtin
929 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
932 COND_TOOLKIT_COCOA_USE_GUI_1
933 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_DFB_USE_GUI_1
937 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
938 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
939 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
940 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
941 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
942 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
943 COND_TOOLKIT_GTK_USE_GUI_1
946 COND_TOOLKIT_MGL_USE_GUI_1
948 COND_TOOLKIT_MOTIF_USE_GUI_1
949 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
951 COND_TOOLKIT_MSW_USE_GUI_1
952 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
953 COND_TOOLKIT_MSW_WXUNIV_0
954 COND_TOOLKIT_OSX_CARBON
955 COND_TOOLKIT_OSX_CARBON_USE_GUI_1
956 COND_TOOLKIT_OSX_COCOA
957 COND_TOOLKIT_OSX_COCOA_USE_GUI_1
958 COND_TOOLKIT_OSX_IPHONE
959 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
960 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
962 COND_TOOLKIT_PM_USE_GUI_1
963 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
965 COND_TOOLKIT_WINCE_USE_GUI_1
966 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
967 COND_TOOLKIT_WINCE_WXUNIV_0
969 COND_TOOLKIT_X11_USE_GUI_1
972 COND_USE_EXCEPTIONS_0
973 COND_USE_EXCEPTIONS_1
976 COND_USE_GUI_1_USE_OPENGL_1
977 COND_USE_GUI_1_WXUNIV_0
978 COND_USE_GUI_1_WXUNIV_1
979 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
980 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
981 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
982 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
983 COND_USE_GUI_1_wxUSE_LIBPNG_builtin
984 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
990 COND_USE_SOTWOSYMLINKS_1
991 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
992 COND_USE_SOVERLINUX_1
994 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
995 COND_USE_SOVERSOLARIS_1
1000 COND_WINDOWS_IMPLIB_1
1001 COND_WITH_PLUGIN_SDL_1
1004 COND_WXUSE_EXPAT_BUILTIN
1005 COND_WXUSE_LIBJPEG_BUILTIN
1006 COND_WXUSE_LIBPNG_BUILTIN
1007 COND_WXUSE_LIBTIFF_BUILTIN
1008 COND_WXUSE_REGEX_BUILTIN
1009 COND_WXUSE_ZLIB_BUILTIN
1010 COND_wxUSE_EXPAT_builtin
1011 COND_wxUSE_LIBJPEG_builtin
1012 COND_wxUSE_LIBPNG_builtin
1013 COND_wxUSE_LIBTIFF_builtin
1014 COND_wxUSE_REGEX_builtin
1015 COND_wxUSE_ZLIB_builtin
1018 WX_LIBRARY_BASENAME_NOGUI
1019 WX_LIBRARY_BASENAME_GUI
1039 WXCONFIG_LDFLAGS_GUI
1051 WX_RESOURCES_MACOSX_ASCII
1052 WX_RESOURCES_MACOSX_DATA
1062 ac_precious_vars
='build_alias
1087 LIBGNOMEPRINTUI_CFLAGS
1088 LIBGNOMEPRINTUI_LIBS
1099 ac_subdirs_all
='src/tiff
1102 # Initialize some variables set by options.
1104 ac_init_version
=false
1105 # The variables have the same names as the options, with
1106 # dashes changed to underlines.
1107 cache_file
=/dev
/null
1114 program_transform_name
=s
,x
,x
,
1122 # Installation directory options.
1123 # These are left unexpanded so users can "make install exec_prefix=/foo"
1124 # and all the variables that are supposed to be based on exec_prefix
1125 # by default will actually change.
1126 # Use braces instead of parens because sh, perl, etc. also accept them.
1127 # (The list follows the same order as the GNU Coding Standards.)
1128 bindir
='${exec_prefix}/bin'
1129 sbindir
='${exec_prefix}/sbin'
1130 libexecdir
='${exec_prefix}/libexec'
1131 datarootdir
='${prefix}/share'
1132 datadir
='${datarootdir}'
1133 sysconfdir
='${prefix}/etc'
1134 sharedstatedir
='${prefix}/com'
1135 localstatedir
='${prefix}/var'
1136 includedir
='${prefix}/include'
1137 oldincludedir
='/usr/include'
1138 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1139 infodir
='${datarootdir}/info'
1144 libdir
='${exec_prefix}/lib'
1145 localedir
='${datarootdir}/locale'
1146 mandir
='${datarootdir}/man'
1152 # If the previous option needs an argument, assign it.
1153 if test -n "$ac_prev"; then
1154 eval $ac_prev=\
$ac_option
1160 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1164 # Accept the important Cygnus configure options, so we can diagnose typos.
1166 case $ac_dashdash$ac_option in
1170 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1172 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1173 bindir
=$ac_optarg ;;
1175 -build | --build | --buil | --bui | --bu)
1176 ac_prev
=build_alias
;;
1177 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1178 build_alias
=$ac_optarg ;;
1180 -cache-file | --cache-file | --cache-fil | --cache-fi \
1181 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1182 ac_prev
=cache_file
;;
1183 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1184 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1185 cache_file
=$ac_optarg ;;
1187 --config-cache | -C)
1188 cache_file
=config.cache
;;
1190 -datadir | --datadir | --datadi | --datad)
1192 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1193 datadir
=$ac_optarg ;;
1195 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1196 | --dataroo | --dataro | --datar)
1197 ac_prev
=datarootdir
;;
1198 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1199 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1200 datarootdir
=$ac_optarg ;;
1202 -disable-* | --disable-*)
1203 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1204 # Reject names that are not valid shell variable names.
1205 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1206 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1207 { (exit 1); exit 1; }; }
1208 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1209 eval enable_
$ac_feature=no
;;
1211 -docdir | --docdir | --docdi | --doc | --do)
1213 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1214 docdir
=$ac_optarg ;;
1216 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1218 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1219 dvidir
=$ac_optarg ;;
1221 -enable-* | --enable-*)
1222 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1225 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1226 { (exit 1); exit 1; }; }
1227 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
1228 eval enable_
$ac_feature=\
$ac_optarg ;;
1230 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1231 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1232 | --exec | --exe | --ex)
1233 ac_prev
=exec_prefix
;;
1234 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1235 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1236 | --exec=* | --exe=* | --ex=*)
1237 exec_prefix
=$ac_optarg ;;
1239 -gas | --gas | --ga | --g)
1240 # Obsolete; use --with-gas.
1243 -help | --help | --hel | --he | -h)
1244 ac_init_help
=long
;;
1245 -help=r
* | --help=r
* | --hel=r
* | --he=r
* | -hr*)
1246 ac_init_help
=recursive
;;
1247 -help=s
* | --help=s
* | --hel=s
* | --he=s
* | -hs*)
1248 ac_init_help
=short
;;
1250 -host | --host | --hos | --ho)
1251 ac_prev
=host_alias
;;
1252 -host=* | --host=* | --hos=* | --ho=*)
1253 host_alias
=$ac_optarg ;;
1255 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1257 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1259 htmldir
=$ac_optarg ;;
1261 -includedir | --includedir | --includedi | --included | --include \
1262 | --includ | --inclu | --incl | --inc)
1263 ac_prev
=includedir
;;
1264 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1265 | --includ=* | --inclu=* | --incl=* | --inc=*)
1266 includedir
=$ac_optarg ;;
1268 -infodir | --infodir | --infodi | --infod | --info | --inf)
1270 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1271 infodir
=$ac_optarg ;;
1273 -libdir | --libdir | --libdi | --libd)
1275 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1276 libdir
=$ac_optarg ;;
1278 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1279 | --libexe | --libex | --libe)
1280 ac_prev
=libexecdir
;;
1281 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1282 | --libexe=* | --libex=* | --libe=*)
1283 libexecdir
=$ac_optarg ;;
1285 -localedir | --localedir | --localedi | --localed | --locale)
1286 ac_prev
=localedir
;;
1287 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1288 localedir
=$ac_optarg ;;
1290 -localstatedir | --localstatedir | --localstatedi | --localstated \
1291 | --localstate | --localstat | --localsta | --localst | --locals)
1292 ac_prev
=localstatedir
;;
1293 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1294 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1295 localstatedir
=$ac_optarg ;;
1297 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1299 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1300 mandir
=$ac_optarg ;;
1302 -nfp | --nfp | --nf)
1303 # Obsolete; use --without-fp.
1306 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1307 | --no-cr | --no-c | -n)
1310 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1311 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1314 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1315 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1316 | --oldin | --oldi | --old | --ol | --o)
1317 ac_prev
=oldincludedir
;;
1318 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1319 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1320 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1321 oldincludedir
=$ac_optarg ;;
1323 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1325 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1326 prefix
=$ac_optarg ;;
1328 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1329 | --program-pre | --program-pr | --program-p)
1330 ac_prev
=program_prefix
;;
1331 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1332 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1333 program_prefix
=$ac_optarg ;;
1335 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1336 | --program-suf | --program-su | --program-s)
1337 ac_prev
=program_suffix
;;
1338 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1339 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1340 program_suffix
=$ac_optarg ;;
1342 -program-transform-name | --program-transform-name \
1343 | --program-transform-nam | --program-transform-na \
1344 | --program-transform-n | --program-transform- \
1345 | --program-transform | --program-transfor \
1346 | --program-transfo | --program-transf \
1347 | --program-trans | --program-tran \
1348 | --progr-tra | --program-tr | --program-t)
1349 ac_prev
=program_transform_name
;;
1350 -program-transform-name=* | --program-transform-name=* \
1351 | --program-transform-nam=* | --program-transform-na=* \
1352 | --program-transform-n=* | --program-transform-=* \
1353 | --program-transform=* | --program-transfor=* \
1354 | --program-transfo=* | --program-transf=* \
1355 | --program-trans=* | --program-tran=* \
1356 | --progr-tra=* | --program-tr=* | --program-t=*)
1357 program_transform_name
=$ac_optarg ;;
1359 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1361 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1362 pdfdir
=$ac_optarg ;;
1364 -psdir | --psdir | --psdi | --psd | --ps)
1366 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1369 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1370 | -silent | --silent | --silen | --sile | --sil)
1373 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1375 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1377 sbindir
=$ac_optarg ;;
1379 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1380 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1381 | --sharedst | --shareds | --shared | --share | --shar \
1383 ac_prev
=sharedstatedir
;;
1384 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1385 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1386 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1388 sharedstatedir
=$ac_optarg ;;
1390 -site | --site | --sit)
1392 -site=* | --site=* | --sit=*)
1395 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1397 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1398 srcdir
=$ac_optarg ;;
1400 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1401 | --syscon | --sysco | --sysc | --sys | --sy)
1402 ac_prev
=sysconfdir
;;
1403 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1404 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1405 sysconfdir
=$ac_optarg ;;
1407 -target | --target | --targe | --targ | --tar | --ta | --t)
1408 ac_prev
=target_alias
;;
1409 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1410 target_alias
=$ac_optarg ;;
1412 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1415 -version | --version | --versio | --versi | --vers | -V)
1416 ac_init_version
=: ;;
1419 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1420 # Reject names that are not valid shell variable names.
1421 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1422 { echo "$as_me: error: invalid package name: $ac_package" >&2
1423 { (exit 1); exit 1; }; }
1424 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1425 eval with_
$ac_package=\
$ac_optarg ;;
1427 -without-* | --without-*)
1428 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1429 # Reject names that are not valid shell variable names.
1430 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1431 { echo "$as_me: error: invalid package name: $ac_package" >&2
1432 { (exit 1); exit 1; }; }
1433 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1434 eval with_
$ac_package=no
;;
1437 # Obsolete; use --with-x.
1440 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1441 | --x-incl | --x-inc | --x-in | --x-i)
1442 ac_prev
=x_includes
;;
1443 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1444 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1445 x_includes
=$ac_optarg ;;
1447 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1448 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1449 ac_prev
=x_libraries
;;
1450 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1451 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1452 x_libraries
=$ac_optarg ;;
1454 -*) { echo "$as_me: error: unrecognized option: $ac_option
1455 Try \`$0 --help' for more information." >&2
1456 { (exit 1); exit 1; }; }
1460 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1461 # Reject names that are not valid shell variable names.
1462 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1463 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1464 { (exit 1); exit 1; }; }
1465 eval $ac_envvar=\
$ac_optarg
1466 export $ac_envvar ;;
1469 # FIXME: should be removed in autoconf 3.0.
1470 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1471 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1472 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1473 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1479 if test -n "$ac_prev"; then
1480 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1481 { echo "$as_me: error: missing argument to $ac_option" >&2
1482 { (exit 1); exit 1; }; }
1485 # Be sure to have absolute directory names.
1486 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1487 datadir sysconfdir sharedstatedir localstatedir includedir \
1488 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1489 libdir localedir mandir
1491 eval ac_val
=\$
$ac_var
1493 [\\/$
]* | ?
:[\\/]* ) continue;;
1494 NONE
| '' ) case $ac_var in *prefix
) continue;; esac;;
1496 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1497 { (exit 1); exit 1; }; }
1500 # There might be people who depend on the old broken behavior: `$host'
1501 # used to hold the argument of --host etc.
1502 # FIXME: To remove some day.
1505 target
=$target_alias
1507 # FIXME: To remove some day.
1508 if test "x$host_alias" != x
; then
1509 if test "x$build_alias" = x
; then
1510 cross_compiling
=maybe
1511 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1512 If a cross compiler is detected then cross compile mode will be used." >&2
1513 elif test "x$build_alias" != "x$host_alias"; then
1519 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1521 test "$silent" = yes && exec 6>/dev
/null
1524 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1525 ac_ls_di
=`ls -di .` &&
1526 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1527 { echo "$as_me: error: Working directory cannot be determined" >&2
1528 { (exit 1); exit 1; }; }
1529 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1530 { echo "$as_me: error: pwd does not report name of working directory" >&2
1531 { (exit 1); exit 1; }; }
1534 # Find the source files, if location was not specified.
1535 if test -z "$srcdir"; then
1536 ac_srcdir_defaulted
=yes
1537 # Try the directory containing this script, then the parent directory.
1538 ac_confdir
=`$as_dirname -- "$0" ||
1539 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1540 X"$0" : 'X\(//\)[^/]' \| \
1541 X"$0" : 'X\(//\)$' \| \
1542 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1544 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1562 if test ! -r "$srcdir/$ac_unique_file"; then
1566 ac_srcdir_defaulted
=no
1568 if test ! -r "$srcdir/$ac_unique_file"; then
1569 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1570 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1571 { (exit 1); exit 1; }; }
1573 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1575 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1576 { (exit 1); exit 1; }; }
1578 # When building in place, set srcdir=.
1579 if test "$ac_abs_confdir" = "$ac_pwd"; then
1582 # Remove unnecessary trailing slashes from srcdir.
1583 # Double slashes in file names in object file debugging info
1584 # mess up M-x gdb in Emacs.
1586 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1588 for ac_var
in $ac_precious_vars; do
1589 eval ac_env_
${ac_var}_set
=\
${${ac_var}+set}
1590 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1591 eval ac_cv_env_
${ac_var}_set
=\
${${ac_var}+set}
1592 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1596 # Report the --help message.
1598 if test "$ac_init_help" = "long"; then
1599 # Omit some internal or obsolete options to make the list less imposing.
1600 # This message is too long to be a string in the A/UX 3.1 sh.
1602 \`configure' configures wxWidgets 2.9.3 to adapt to many kinds of systems.
1604 Usage: $0 [OPTION]... [VAR=VALUE]...
1606 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1607 VAR=VALUE. See below for descriptions of some of the useful variables.
1609 Defaults for the options are specified in brackets.
1612 -h, --help display this help and exit
1613 --help=short display options specific to this package
1614 --help=recursive display the short help of all the included packages
1615 -V, --version display version information and exit
1616 -q, --quiet, --silent do not print \`checking...' messages
1617 --cache-file=FILE cache test results in FILE [disabled]
1618 -C, --config-cache alias for \`--cache-file=config.cache'
1619 -n, --no-create do not create output files
1620 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1622 Installation directories:
1623 --prefix=PREFIX install architecture-independent files in PREFIX
1624 [$ac_default_prefix]
1625 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1628 By default, \`make install' will install all the files in
1629 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1630 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1631 for instance \`--prefix=\$HOME'.
1633 For better control, use the options below.
1635 Fine tuning of the installation directories:
1636 --bindir=DIR user executables [EPREFIX/bin]
1637 --sbindir=DIR system admin executables [EPREFIX/sbin]
1638 --libexecdir=DIR program executables [EPREFIX/libexec]
1639 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1640 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1641 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1642 --libdir=DIR object code libraries [EPREFIX/lib]
1643 --includedir=DIR C header files [PREFIX/include]
1644 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1645 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1646 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1647 --infodir=DIR info documentation [DATAROOTDIR/info]
1648 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1649 --mandir=DIR man documentation [DATAROOTDIR/man]
1650 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1651 --htmldir=DIR html documentation [DOCDIR]
1652 --dvidir=DIR dvi documentation [DOCDIR]
1653 --pdfdir=DIR pdf documentation [DOCDIR]
1654 --psdir=DIR ps documentation [DOCDIR]
1660 --x-includes=DIR X include files are
in DIR
1661 --x-libraries=DIR X library files are
in DIR
1664 --build=BUILD configure
for building on BUILD
[guessed
]
1665 --host=HOST cross
-compile to build programs to run on HOST
[BUILD
]
1669 if test -n "$ac_init_help"; then
1670 case $ac_init_help in
1671 short
| recursive
) echo "Configuration of wxWidgets 2.9.3:";;
1676 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1677 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1678 --disable-gui don
't build GUI parts of the library
1679 --enable-monolithic build wxWidgets as single library
1680 --enable-plugins build parts of wxWidgets as loadable components
1681 --enable-official_build official build of wxWidgets (win32 DLL only)
1682 --enable-vendor=VENDOR vendor name (win32 DLL only)
1683 --disable-all-features disable all optional features to build minimal library
1684 --enable-universal use wxWidgets GUI controls instead of native ones
1685 --enable-nanox use NanoX
1686 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1687 --enable-gpe use GNOME PDA Environment features if possible
1688 --enable-debug build library for debugging
1689 --disable-debug_flag disable all debugging support
1690 --enable-debug_info generate debug information
1691 --enable-debug_gdb create code with extra GDB debugging information
1692 --enable-debug_cntxt obsolete, don't use
: use wxDebugContext
1693 --enable-mem_tracing obsolete
, don
't use: create code with memory tracing
1694 --disable-shared create static library instead of shared
1695 --enable-stl use standard C++ classes for everything
1696 --enable-std_containers use standard C++ container classes
1697 --enable-std_iostreams use standard C++ stream classes
1698 --enable-std_string use standard C++ string classes
1699 --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
1700 --disable-unicode compile without Unicode support
1701 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1702 --enable-utf8 use UTF-8 representation for strings (Unix only)
1703 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1704 --enable-extended_rtti use extended RTTI (XTI)
1705 --enable-omf use OMF object format
1706 --disable-optimise compile without optimisations
1707 --enable-profile create code with profiling information
1708 --enable-no_rtti create code without RTTI information
1709 --enable-no_exceptions create code without C++ exceptions handling
1710 --enable-permissive compile code disregarding strict ANSI
1711 --enable-no_deps create code without dependency information
1712 --disable-vararg_macros don't use vararg macros
, even
if they are supported
1713 --enable-universal_binary create universal binary with Mac PPC and i386
(and x86_64
if using Cocoa
) architectures
1714 --enable-macosx_arch=ARCH build
for just the specified architecture
1715 --enable-compat26 enable wxWidgets
2.6 compatibility
1716 --disable-compat28 disable wxWidgets
2.8 compatibility
1717 --disable-rpath disable use of rpath
for uninstalled builds
1718 --enable-objc_uniquifying enable Objective
-C class name uniquifying
1719 --disable-visibility disable use of ELF symbols visibility even
if supported
1720 --disable-tls disable use of compiler TLS support
1721 --enable-intl use internationalization system
1722 --enable-xlocale use x
-locale support
(requires wxLocale
)
1723 --enable-config use wxConfig
(and derived
) classes
1724 --enable-protocols use wxProtocol and derived classes
1725 --enable-ftp use wxFTP
(requires wxProtocol
1726 --enable-http use wxHTTP
(requires wxProtocol
1727 --enable-fileproto use wxFileProto class
(requires wxProtocol
1728 --enable-sockets use socket
/network classes
1729 --enable-ipv6 enable IPv6 support
in wxSocket
1730 --enable-ole use OLE classes
(Win32 only
)
1731 --enable-dataobj use data object classes
1732 --enable-ipc use interprocess communication
(wxSocket etc.
)
1733 --enable-baseevtloop use event loop
in console programs too
1734 --enable-epollloop use wxEpollDispatcher class
(Linux only
)
1735 --enable-selectloop use wxSelectDispatcher class
1736 --enable-any use wxAny class
1737 --enable-apple_ieee use the Apple IEEE codec
1738 --enable-arcstream use wxArchive streams
1739 --enable-base64 use base64 encoding
/decoding functions
1740 --enable-backtrace use wxStackWalker class
for getting backtraces
1741 --enable-catch_segvs catch signals
in wxApp
::OnFatalException
(Unix only
)
1742 --enable-cmdline use wxCmdLineParser class
1743 --enable-datetime use wxDateTime class
1744 --enable-debugreport use wxDebugReport class
1745 --enable-dialupman use dialup network classes
1746 --enable-dynlib use wxLibrary class
for DLL loading
1747 --enable-dynamicloader use
(new
) wxDynamicLibrary class
1748 --enable-exceptions build exception
-safe library
1749 --enable-ffile use wxFFile class
1750 --enable-file use wxFile class
1751 --enable-filehistory use wxFileHistory class
1752 --enable-filesystem use virtual
file systems classes
1753 --enable-fontenum use wxFontEnumerator class
1754 --enable-fontmap use font encodings conversion classes
1755 --enable-fs_archive use virtual archive filesystems
1756 --enable-fs_inet use virtual HTTP
/FTP filesystems
1757 --enable-fs_zip now replaced by fs_archive
1758 --enable-fswatcher use wxFileSystemWatcher class
1759 --enable-geometry use geometry class
1760 --enable-log use logging system
1761 --enable-longlong use wxLongLong class
1762 --enable-mimetype use wxMimeTypesManager
1763 --enable-printfposparam use wxVsnprintf
() which supports positional parameters
1764 --enable-snglinst use wxSingleInstanceChecker class
1765 --enable-sound use wxSound class
1766 --enable-stdpaths use wxStandardPaths class
1767 --enable-stopwatch use wxStopWatch class
1768 --enable-streams use wxStream etc classes
1769 --enable-sysoptions use wxSystemOptions
1770 --enable-tarstream use wxTar streams
1771 --enable-textbuf use wxTextBuffer class
1772 --enable-textfile use wxTextFile class
1773 --enable-timer use wxTimer class
1774 --enable-variant use wxVariant class
1775 --enable-zipstream use wxZip streams
1776 --enable-url use wxURL class
1777 --enable-protocol use wxProtocol class
1778 --enable-protocol-http HTTP support
in wxProtocol
1779 --enable-protocol-ftp FTP support
in wxProtocol
1780 --enable-protocol-file FILE support
in wxProtocol
1781 --enable-threads use threads
1782 --enable-iniconf use wxIniConfig
(Win32 only
)
1783 --enable-regkey use wxRegKey class
(Win32 only
)
1784 --enable-docview use document view architecture
1785 --enable-help use
help subsystem
1786 --enable-mshtmlhelp use MS HTML Help
(win32
)
1787 --enable-html use wxHTML sub
-library
1788 --enable-htmlhelp use wxHTML
-based help
1789 --enable-xrc use XRC resources sub
-library
1790 --enable-aui use AUI docking library
1791 --enable-propgrid use wxPropertyGrid library
1792 --enable-ribbon use wxRibbon library
1793 --enable-stc use wxStyledTextCtrl library
1794 --enable-constraints use layout
-constraints system
1795 --enable-loggui use standard GUI logger
1796 --enable-logwin use wxLogWindow
1797 --enable-logdialog use wxLogDialog
1798 --enable-mdi use multiple document interface architecture
1799 --enable-mdidoc use docview architecture with MDI
1800 --enable-mediactrl use wxMediaCtrl class
1801 --enable-gstreamer8 force GStreamer
0.8 instead of
0.10 with the wxMediaCtrl class on unix
1802 --enable-richtext use wxRichTextCtrl
1803 --enable-postscript use wxPostscriptDC device context
(default
for gtk
+)
1804 --enable-printarch use printing architecture
1805 --enable-svg use wxSVGFileDC device context
1806 --enable-webkit use wxWebKitCtrl
(Mac
-only, use wxWebView instead
)
1807 --enable-webview use wxWebView library
1808 --enable-graphics_ctx use graphics context
2D drawing API
1809 --enable-clipboard use wxClipboard class
1810 --enable-dnd use Drag
'n'Drop classes
1811 --disable-controls disable compilation of all standard controls
1812 --enable-markup support wxControl
::SetLabelMarkup
1813 --enable-accel use accelerators
1814 --enable-animatectrl use wxAnimationCtrl class
1815 --enable-bannerwindow use wxBannerWindow class
1816 --enable-artstd use standard XPM icons
in wxArtProvider
1817 --enable-arttango use Tango icons
in wxArtProvider
1818 --enable-bmpbutton use wxBitmapButton class
1819 --enable-bmpcombobox use wxBitmapComboBox class
1820 --enable-button use wxButton class
1821 --enable-calendar use wxCalendarCtrl class
1822 --enable-caret use wxCaret class
1823 --enable-checkbox use wxCheckBox class
1824 --enable-checklst use wxCheckListBox
(listbox with checkboxes
) class
1825 --enable-choice use wxChoice class
1826 --enable-choicebook use wxChoicebook class
1827 --enable-collpane use wxCollapsiblePane class
1828 --enable-colourpicker use wxColourPickerCtrl class
1829 --enable-combobox use wxComboBox class
1830 --enable-comboctrl use wxComboCtrl class
1831 --enable-commandlinkbutton use wxCommmandLinkButton class
1832 --enable-dataviewctrl use wxDataViewCtrl class
1833 --enable-datepick use wxDatePickerCtrl class
1834 --enable-detect_sm use code to detect X11 session manager
1835 --enable-dirpicker use wxDirPickerCtrl class
1836 --enable-display use wxDisplay class
1837 --enable-editablebox use wxEditableListBox class
1838 --enable-filectrl use wxFileCtrl class
1839 --enable-filepicker use wxFilePickerCtrl class
1840 --enable-fontpicker use wxFontPickerCtrl class
1841 --enable-gauge use wxGauge class
1842 --enable-grid use wxGrid class
1843 --enable-headerctrl use wxHeaderCtrl class
1844 --enable-hyperlink use wxHyperlinkCtrl class
1845 --enable-imaglist use wxImageList class
1846 --enable-infobar use wxInfoBar class
1847 --enable-listbook use wxListbook class
1848 --enable-listbox use wxListBox class
1849 --enable-listctrl use wxListCtrl class
1850 --enable-notebook use wxNotebook class
1851 --enable-notifmsg use wxNotificationMessage class
1852 --enable-odcombobox use wxOwnerDrawnComboBox class
1853 --enable-popupwin use wxPopUpWindow class
1854 --enable-radiobox use wxRadioBox class
1855 --enable-radiobtn use wxRadioButton class
1856 --enable-richmsgdlg use wxRichMessageDialog class
1857 --enable-rearrangectrl use wxRearrangeList
/Ctrl
/Dialog
1858 --enable-sash use wxSashWindow class
1859 --enable-scrollbar use wxScrollBar class and scrollable windows
1860 --enable-searchctrl use wxSearchCtrl class
1861 --enable-slider use wxSlider class
1862 --enable-spinbtn use wxSpinButton class
1863 --enable-spinctrl use wxSpinCtrl class
1864 --enable-splitter use wxSplitterWindow class
1865 --enable-statbmp use wxStaticBitmap class
1866 --enable-statbox use wxStaticBox class
1867 --enable-statline use wxStaticLine class
1868 --enable-stattext use wxStaticText class
1869 --enable-statusbar use wxStatusBar class
1870 --enable-taskbaricon use wxTaskBarIcon class
1871 --enable-tbarnative use native wxToolBar class
1872 --enable-textctrl use wxTextCtrl class
1873 --enable-timepick use wxTimePickerCtrl class
1874 --enable-tipwindow use wxTipWindow class
1875 --enable-togglebtn use wxToggleButton class
1876 --enable-toolbar use wxToolBar class
1877 --enable-toolbook use wxToolbook class
1878 --enable-treebook use wxTreebook class
1879 --enable-treectrl use wxTreeCtrl class
1880 --enable-treelist use wxTreeListCtrl class
1881 --enable-commondlg use all common dialogs
1882 --enable-aboutdlg use wxAboutBox
1883 --enable-choicedlg use wxChoiceDialog
1884 --enable-coldlg use wxColourDialog
1885 --enable-filedlg use wxFileDialog
1886 --enable-finddlg use wxFindReplaceDialog
1887 --enable-fontdlg use wxFontDialog
1888 --enable-dirdlg use wxDirDialog
1889 --enable-msgdlg use wxMessageDialog
1890 --enable-numberdlg use wxNumberEntryDialog
1891 --enable-splash use wxSplashScreen
1892 --enable-textdlg use wxTextDialog
1893 --enable-tipdlg use startup tips
1894 --enable-progressdlg use wxProgressDialog
1895 --enable-wizarddlg use wxWizard
1896 --enable-menus use wxMenu
/wxMenuBar
/wxMenuItem classes
1897 --enable-miniframe use wxMiniFrame class
1898 --enable-tooltips use wxToolTip class
1899 --enable-splines use spline drawing code
1900 --enable-mousewheel use mousewheel
1901 --enable-validators use wxValidator and derived classes
1902 --enable-busyinfo use wxBusyInfo
1903 --enable-hotkey use wxWindow
::RegisterHotKey
()
1904 --enable-joystick use wxJoystick
1905 --enable-metafiles use wxMetaFile
1906 --enable-dragimage use wxDragImage
1907 --enable-accessibility enable accessibility support
1908 --enable-uiactionsim use wxUIActionSimulator
(experimental
)
1909 --enable-dctransform use wxDC
::SetTransformMatrix and related
1910 --enable-webview-webkit use wxWebView WebKit backend
1911 --enable-palette use wxPalette class
1912 --enable-image use wxImage class
1913 --enable-gif use gif images
(GIF
file format
)
1914 --enable-pcx use pcx images
(PCX
file format
)
1915 --enable-tga use tga images
(TGA
file format
)
1916 --enable-iff use iff images
(IFF
file format
)
1917 --enable-pnm use pnm images
(PNM
file format
)
1918 --enable-xpm use xpm images
(XPM
file format
)
1919 --enable-ico_cur use Windows ICO and CUR formats
1920 --enable-dccache cache temporary wxDC objects
(Win32 only
)
1921 --enable-ps-in-msw use PS printing
in wxMSW
(Win32 only
)
1922 --enable-ownerdrawn use owner drawn controls
(Win32 and OS
/2 only
)
1923 --enable-uxtheme enable support
for Windows XP themed
look (Win32 only
)
1924 --enable-wxdib use wxDIB class
(Win32 only
)
1925 --enable-webview-ie use wxWebView IE backend
(Win32 only
)
1926 --enable-autoidman use automatic ids management
1927 --disable-largefile omit support
for large files
1928 --disable-gtktest do not try to compile and run a
test GTK
+ program
1929 --disable-gtktest Do not try to compile and run a
test GTK program
1930 --disable-sdltest Do not try to compile and run a
test SDL program
1931 --enable-omf use OMF object format
(OS
/2)
1932 --disable-dependency-tracking
1933 don
't use dependency tracking even if the compiler
1935 --disable-precomp-headers
1936 don't use precompiled headers even
if compiler can
1939 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1940 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1941 --without-subdirs don
't generate makefiles for samples/demos/...
1942 --with-flavour=NAME specify a name to identify this build
1943 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1944 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1945 --with-motif use Motif/Lesstif
1946 --with-osx_carbon use Mac OS X (Carbon)
1947 --with-osx_cocoa use Mac OS X (Cocoa)
1948 --with-osx_iphone use iPhone OS X port
1949 --with-osx use Mac OS X (default port, currently Carbon)
1950 --with-carbon same as --with-osx_carbon
1951 --with-cocoa same as --with-osx_cocoa
1952 --with-iphone same as --with-osx_iphone
1953 --with-mac same as --with-osx
1954 --with-old_cocoa use old, deprecated, Cocoa port
1955 --with-wine use Wine
1956 --with-msw use MS-Windows
1957 --with-pm use OS/2 Presentation Manager
1958 --with-mgl use SciTech MGL
1959 --with-directfb use DirectFB
1960 --with-microwin use MicroWindows
1962 --with-libpng use libpng (PNG image format)
1963 --with-libjpeg use libjpeg (JPEG file format)
1964 --with-libtiff use libtiff (TIFF file format)
1965 --with-libxpm use libxpm (XPM file format)
1966 --with-libiconv use libiconv (character conversion)
1967 --with-libmspack use libmspack (CHM help files loading)
1968 --without-gtkprint don't use GTK printing support
1969 --without-gnomeprint don
't use GNOME printing libraries
1970 --with-gnomevfs use GNOME VFS for associating MIME types
1971 --with-hildon use Hildon framework for Nokia 770/800/810
1972 --with-opengl use OpenGL (or Mesa)
1973 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1974 --with-sdl use SDL for audio on Unix
1975 --with-regex enable support for wxRegEx class
1976 --with-zlib use zlib for LZW compression
1977 --with-expat enable XML support using expat parser
1978 --with-macosx-sdk=PATH use an OS X SDK at PATH
1979 --with-macosx-version-min=VER build binaries which require at least this OS X version
1980 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1981 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1982 --with-x use the X Window System
1983 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1984 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1985 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1986 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1987 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1989 Some influential environment variables:
1990 CC C compiler command
1991 CFLAGS C compiler flags
1992 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1993 nonstandard directory <lib dir>
1994 LIBS libraries to pass to the linker, e.g. -l<library>
1995 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1996 you have headers in a nonstandard directory <include dir>
1998 CXX C++ compiler command
1999 CXXFLAGS C++ compiler flags
2000 CXXCPP C++ preprocessor
2001 PKG_CONFIG path to pkg-config utility
2003 C compiler flags for DIRECTFB, overriding pkg-config
2005 linker flags for DIRECTFB, overriding pkg-config
2006 XMKMF Path to xmkmf, Makefile generator for X Window System
2008 C compiler flags for PANGOX, overriding pkg-config
2009 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
2011 C compiler flags for PANGOFT2, overriding pkg-config
2013 linker flags for PANGOFT2, overriding pkg-config
2015 C compiler flags for PANGOXFT, overriding pkg-config
2017 linker flags for PANGOXFT, overriding pkg-config
2019 C compiler flags for GTKPRINT, overriding pkg-config
2021 linker flags for GTKPRINT, overriding pkg-config
2022 LIBGNOMEPRINTUI_CFLAGS
2023 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
2024 LIBGNOMEPRINTUI_LIBS
2025 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
2027 C compiler flags for GNOMEVFS, overriding pkg-config
2029 linker flags for GNOMEVFS, overriding pkg-config
2031 C compiler flags for HILDON, overriding pkg-config
2032 HILDON_LIBS linker flags for HILDON, overriding pkg-config
2034 C compiler flags for HILDON2, overriding pkg-config
2036 linker flags for HILDON2, overriding pkg-config
2038 C compiler flags for CAIRO, overriding pkg-config
2039 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
2040 GST_CFLAGS C compiler flags for GST, overriding pkg-config
2041 GST_LIBS linker flags for GST, overriding pkg-config
2043 Use these variables to override the choices made by `configure' or to
help
2044 it to
find libraries and programs with nonstandard names
/locations.
2046 Report bugs to
<wx
-dev@lists.wxwidgets.org
>.
2051 if test "$ac_init_help" = "recursive"; then
2052 # If there are subdirs, report their specific --help.
2053 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
2054 test -d "$ac_dir" || continue
2058 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2060 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2061 # A ".." for each directory in $ac_dir_suffix.
2062 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2063 case $ac_top_builddir_sub in
2064 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
2065 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
2068 ac_abs_top_builddir
=$ac_pwd
2069 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
2070 # for backward compatibility:
2071 ac_top_builddir
=$ac_top_build_prefix
2074 .
) # We are building in place.
2076 ac_top_srcdir
=$ac_top_builddir_sub
2077 ac_abs_top_srcdir
=$ac_pwd ;;
2078 [\\/]* | ?
:[\\/]* ) # Absolute name.
2079 ac_srcdir
=$srcdir$ac_dir_suffix;
2080 ac_top_srcdir
=$srcdir
2081 ac_abs_top_srcdir
=$srcdir ;;
2083 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
2084 ac_top_srcdir
=$ac_top_build_prefix$srcdir
2085 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
2087 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
2089 cd "$ac_dir" || { ac_status
=$?
; continue; }
2090 # Check for guested configure.
2091 if test -f "$ac_srcdir/configure.gnu"; then
2093 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2094 elif test -f "$ac_srcdir/configure"; then
2096 $SHELL "$ac_srcdir/configure" --help=recursive
2098 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2100 cd "$ac_pwd" || { ac_status
=$?
; break; }
2104 test -n "$ac_init_help" && exit $ac_status
2105 if $ac_init_version; then
2107 wxWidgets configure
2.9.3
2108 generated by GNU Autoconf
2.61
2110 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2111 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
2112 This configure
script is free software
; the Free Software Foundation
2113 gives unlimited permission to copy
, distribute and modify it.
2117 cat >config.log
<<_ACEOF
2118 This file contains any messages produced by compilers while
2119 running configure, to aid debugging if configure makes a mistake.
2121 It was created by wxWidgets $as_me 2.9.3, which was
2122 generated by GNU Autoconf 2.61. Invocation command line was
2134 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2135 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2136 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2137 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2138 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2140 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2141 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2143 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2144 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2145 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2146 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2147 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2148 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2149 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2157 test -z "$as_dir" && as_dir
=.
2158 echo "PATH: $as_dir"
2174 # Keep a trace of the command line.
2175 # Strip out --no-create and --no-recursion so they do not pile up.
2176 # Strip out --silent because we don't want to record it for future runs.
2177 # Also quote any args containing shell meta-characters.
2178 # Make two passes to allow for proper duplicate-argument suppression.
2182 ac_must_keep_next
=false
2188 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2190 | -silent | --silent | --silen | --sile | --sil)
2193 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2196 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
2198 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
2199 if test $ac_must_keep_next = true
; then
2200 ac_must_keep_next
=false
# Got value, back to normal.
2203 *=* | --config-cache | -C | -disable-* | --disable-* \
2204 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2205 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2206 | -with-* | --with-* | -without-* | --without-* | --x)
2207 case "$ac_configure_args0 " in
2208 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2211 -* ) ac_must_keep_next
=true
;;
2214 ac_configure_args
="$ac_configure_args '$ac_arg'"
2219 $as_unset ac_configure_args0
|| test "${ac_configure_args0+set}" != set || { ac_configure_args0
=; export ac_configure_args0
; }
2220 $as_unset ac_configure_args1
|| test "${ac_configure_args1+set}" != set || { ac_configure_args1
=; export ac_configure_args1
; }
2222 # When interrupted or exit'd, cleanup temporary files, and complete
2223 # config.log. We remove comments because anyway the quotes in there
2224 # would cause problems or look ugly.
2225 # WARNING: Use '\'' to represent an apostrophe within the trap.
2226 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2227 trap 'exit_status=$?
2228 # Save into config.log some information that might help in debugging.
2233 ## ---------------- ##
2234 ## Cache variables. ##
2235 ## ---------------- ##
2238 # The following way of writing the cache mishandles newlines in values,
2240 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2241 eval ac_val=\$$ac_var
2245 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2246 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2249 _ | IFS | as_nl) ;; #(
2250 *) $as_unset $ac_var ;;
2255 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2256 *${as_nl}ac_space=\ *)
2258 "s/'\''/'\''\\\\'\'''\''/g;
2259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2262 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2270 ## ----------------- ##
2271 ## Output variables. ##
2272 ## ----------------- ##
2275 for ac_var in $ac_subst_vars
2277 eval ac_val=\$$ac_var
2279 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281 echo "$ac_var='\''$ac_val'\''"
2285 if test -n "$ac_subst_files"; then
2287 ## ------------------- ##
2288 ## File substitutions. ##
2289 ## ------------------- ##
2292 for ac_var
in $ac_subst_files
2294 eval ac_val
=\$
$ac_var
2296 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2298 echo "$ac_var='\''$ac_val'\''"
2303 if test -s confdefs.h; then
2313 test "$ac_signal" != 0 &&
2314 echo "$as_me: caught signal $ac_signal"
2315 echo "$as_me: exit $exit_status"
2317 rm -f core *.core core.conftest.* &&
2318 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2321 for ac_signal
in 1 2 13 15; do
2322 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2326 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2327 rm -f -r conftest
* confdefs.h
2329 # Predefined preprocessor variables.
2331 cat >>confdefs.h
<<_ACEOF
2332 #define PACKAGE_NAME "$PACKAGE_NAME"
2336 cat >>confdefs.h
<<_ACEOF
2337 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2341 cat >>confdefs.h
<<_ACEOF
2342 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2346 cat >>confdefs.h
<<_ACEOF
2347 #define PACKAGE_STRING "$PACKAGE_STRING"
2351 cat >>confdefs.h
<<_ACEOF
2352 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2356 # Let the site file select an alternate cache file if it wants to.
2357 # Prefer explicitly selected file to automatically selected ones.
2358 if test -n "$CONFIG_SITE"; then
2359 set x
"$CONFIG_SITE"
2360 elif test "x$prefix" != xNONE
; then
2361 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
2363 set x
"$ac_default_prefix/share/config.site" \
2364 "$ac_default_prefix/etc/config.site"
2369 if test -r "$ac_site_file"; then
2370 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2371 echo "$as_me: loading site script $ac_site_file" >&6;}
2372 sed 's/^/| /' "$ac_site_file" >&5
2377 if test -r "$cache_file"; then
2378 # Some versions of bash will fail to source /dev/null (special
2379 # files actually), so we avoid doing that.
2380 if test -f "$cache_file"; then
2381 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2382 echo "$as_me: loading cache $cache_file" >&6;}
2384 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2385 *) .
"./$cache_file";;
2389 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2390 echo "$as_me: creating cache $cache_file" >&6;}
2394 # Check that the precious variables saved in the cache have kept the same
2396 ac_cache_corrupted
=false
2397 for ac_var
in $ac_precious_vars; do
2398 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2399 eval ac_new_set
=\
$ac_env_${ac_var}_set
2400 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2401 eval ac_new_val
=\
$ac_env_${ac_var}_value
2402 case $ac_old_set,$ac_new_set in
2404 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2405 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2406 ac_cache_corrupted
=: ;;
2408 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2409 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2410 ac_cache_corrupted
=: ;;
2413 if test "x$ac_old_val" != "x$ac_new_val"; then
2414 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2415 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2416 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2417 echo "$as_me: former value: $ac_old_val" >&2;}
2418 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2419 echo "$as_me: current value: $ac_new_val" >&2;}
2420 ac_cache_corrupted
=:
2423 # Pass precious variables to config.status.
2424 if test "$ac_new_set" = set; then
2426 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2427 *) ac_arg
=$ac_var=$ac_new_val ;;
2429 case " $ac_configure_args " in
2430 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2431 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
2435 if $ac_cache_corrupted; then
2436 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2437 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2438 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2439 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2440 { (exit 1); exit 1; }; }
2468 ac_cpp
='$CPP $CPPFLAGS'
2469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2478 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2479 if test -f "$ac_dir/install-sh"; then
2481 ac_install_sh
="$ac_aux_dir/install-sh -c"
2483 elif test -f "$ac_dir/install.sh"; then
2485 ac_install_sh
="$ac_aux_dir/install.sh -c"
2487 elif test -f "$ac_dir/shtool"; then
2489 ac_install_sh
="$ac_aux_dir/shtool install -c"
2493 if test -z "$ac_aux_dir"; then
2494 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2495 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2496 { (exit 1); exit 1; }; }
2499 # These three variables are undocumented and unsupported,
2500 # and are intended to be withdrawn in a future Autoconf release.
2501 # They can cause serious problems if a builder's source tree is in a directory
2502 # whose full name contains unusual characters.
2503 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2504 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2505 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2508 # Make sure we can run config.sub.
2509 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2510 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2511 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2512 { (exit 1); exit 1; }; }
2514 { echo "$as_me:$LINENO: checking build system type" >&5
2515 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2516 if test "${ac_cv_build+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 ac_build_alias
=$build_alias
2520 test "x$ac_build_alias" = x
&&
2521 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2522 test "x$ac_build_alias" = x
&&
2523 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2524 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2525 { (exit 1); exit 1; }; }
2526 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2527 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2528 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2529 { (exit 1); exit 1; }; }
2532 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2533 echo "${ECHO_T}$ac_cv_build" >&6; }
2534 case $ac_cv_build in
2536 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2537 echo "$as_me: error: invalid value of canonical build" >&2;}
2538 { (exit 1); exit 1; }; };;
2541 ac_save_IFS
=$IFS; IFS
='-'
2547 # Remember, the first character of IFS is used to create $*,
2548 # except with old shells:
2551 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2554 { echo "$as_me:$LINENO: checking host system type" >&5
2555 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2556 if test "${ac_cv_host+set}" = set; then
2557 echo $ECHO_N "(cached) $ECHO_C" >&6
2559 if test "x$host_alias" = x
; then
2560 ac_cv_host
=$ac_cv_build
2562 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2563 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2564 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2565 { (exit 1); exit 1; }; }
2569 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2570 echo "${ECHO_T}$ac_cv_host" >&6; }
2573 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2574 echo "$as_me: error: invalid value of canonical host" >&2;}
2575 { (exit 1); exit 1; }; };;
2578 ac_save_IFS
=$IFS; IFS
='-'
2584 # Remember, the first character of IFS is used to create $*,
2585 # except with old shells:
2588 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2592 if test "$cross_compiling" != "no"; then
2593 HOST_PREFIX
="${host_alias}-"
2594 HOST_SUFFIX
="-$host_alias"
2601 wx_major_version_number
=2
2602 wx_minor_version_number
=9
2604 wx_subrelease_number
=0
2606 WX_RELEASE
=$wx_major_version_number.
$wx_minor_version_number
2607 WX_VERSION
=$WX_RELEASE.
$wx_release_number
2608 WX_SUBVERSION
=$WX_VERSION.
$wx_subrelease_number
2610 WX_MSW_VERSION
=$wx_major_version_number$wx_minor_version_number$wx_release_number
2613 wx_top_builddir
="`pwd`"
2626 USE_BSD
= USE_DARWIN
= USE_FREEBSD
=
2632 USE_SOLARIS
= USE_SUN
= USE_SUNOS
= USE_SVR4
= USE_SYSV
= USE_VMS
=
2638 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
2640 ALL_TOOLKITS
="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MGL MICROWIN MOTIF MSW PM X11 DFB"
2642 DEFAULT_wxUSE_OLD_COCOA
=0
2644 DEFAULT_wxUSE_OSX_CARBON
=0
2645 DEFAULT_wxUSE_OSX_COCOA
=0
2646 DEFAULT_wxUSE_OSX_IPHONE
=0
2648 DEFAULT_wxUSE_MICROWIN
=0
2649 DEFAULT_wxUSE_MOTIF
=0
2655 DEFAULT_DEFAULT_wxUSE_OLD_COCOA
=0
2656 DEFAULT_DEFAULT_wxUSE_GTK
=0
2657 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=0
2658 DEFAULT_DEFAULT_wxUSE_OSX_COCOA
=0
2659 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=0
2660 DEFAULT_DEFAULT_wxUSE_MGL
=0
2661 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
2662 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
2663 DEFAULT_DEFAULT_wxUSE_MSW
=0
2664 DEFAULT_DEFAULT_wxUSE_PM
=0
2665 DEFAULT_DEFAULT_wxUSE_X11
=0
2666 DEFAULT_DEFAULT_wxUSE_DFB
=0
2670 DYLIB_RPATH_INSTALL
=
2671 DYLIB_RPATH_POSTLINK
=
2673 DEFAULT_STD_FLAG
=yes
2678 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2679 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2680 cat >>confdefs.h
<<\_ACEOF
2685 CPPFLAGS
="-D_HPUX_SOURCE $CPPFLAGS"
2689 cat >>confdefs.h
<<\_ACEOF
2694 if test "x$TMP" = "xalpha"; then
2696 cat >>confdefs.h
<<\_ACEOF
2701 DEFAULT_DEFAULT_wxUSE_GTK
=1
2703 *-*-gnu* | *-*-k*bsd
*-gnu )
2706 if test "x$TMP" = "xalpha"; then
2708 cat >>confdefs.h
<<\_ACEOF
2713 DEFAULT_DEFAULT_wxUSE_GTK
=1
2715 *-*-irix5* | *-*-irix6* )
2718 cat >>confdefs.h
<<\_ACEOF
2722 cat >>confdefs.h
<<\_ACEOF
2726 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2730 cat >>confdefs.h
<<\_ACEOF
2734 DEFAULT_DEFAULT_wxUSE_X11
=1
2740 cat >>confdefs.h
<<\_ACEOF
2744 cat >>confdefs.h
<<\_ACEOF
2745 #define __SOLARIS__ 1
2748 cat >>confdefs.h
<<\_ACEOF
2752 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2753 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2759 cat >>confdefs.h
<<\_ACEOF
2763 cat >>confdefs.h
<<\_ACEOF
2767 cat >>confdefs.h
<<\_ACEOF
2771 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2776 cat >>confdefs.h
<<\_ACEOF
2777 #define __FREEBSD__ 1
2780 cat >>confdefs.h
<<\_ACEOF
2784 DEFAULT_DEFAULT_wxUSE_GTK
=1
2786 *-*-openbsd*|*-*-mirbsd*)
2789 cat >>confdefs.h
<<\_ACEOF
2790 #define __OPENBSD__ 1
2793 cat >>confdefs.h
<<\_ACEOF
2797 DEFAULT_DEFAULT_wxUSE_GTK
=1
2802 cat >>confdefs.h
<<\_ACEOF
2803 #define __NETBSD__ 1
2806 cat >>confdefs.h
<<\_ACEOF
2810 DEFAULT_DEFAULT_wxUSE_GTK
=1
2811 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2813 CPPFLAGS
="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2818 cat >>confdefs.h
<<\_ACEOF
2822 cat >>confdefs.h
<<\_ACEOF
2826 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2827 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
2832 cat >>confdefs.h
<<\_ACEOF
2836 cat >>confdefs.h
<<\_ACEOF
2840 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2845 cat >>confdefs.h
<<\_ACEOF
2849 cat >>confdefs.h
<<\_ACEOF
2853 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2859 cat >>confdefs.h
<<\_ACEOF
2863 cat >>confdefs.h
<<\_ACEOF
2867 cat >>confdefs.h
<<\_ACEOF
2871 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
2878 cat >>confdefs.h
<<\_ACEOF
2879 #define __UNIXWARE__ 1
2884 *-*-cygwin* | *-*-mingw32* )
2886 DEFAULT_DEFAULT_wxUSE_MSW
=1
2892 cat >>confdefs.h
<<\_ACEOF
2897 DEFAULT_DEFAULT_wxUSE_MGL
=1
2900 *-pc-os2_emx | *-pc-os2-emx )
2901 cat >>confdefs.h
<<\_ACEOF
2906 cat >>confdefs.h
<<\_ACEOF
2911 DEFAULT_DEFAULT_wxUSE_PM
=1
2913 LDFLAGS
="$LDFLAGS -Zcrtdll"
2914 ac_executable_extensions
=".exe"
2915 export ac_executable_extensions
2919 for ac_dir
in $PATH; do
2921 if test -z "$ac_TEMP_PATH"; then
2922 ac_TEMP_PATH
="$ac_dir"
2924 ac_TEMP_PATH
="$ac_TEMP_PATH/$ac_dir"
2927 export PATH
="$ac_TEMP_PATH"
2935 cat >>confdefs.h
<<\_ACEOF
2939 cat >>confdefs.h
<<\_ACEOF
2940 #define __DARWIN__ 1
2943 DEFAULT_DEFAULT_wxUSE_OSX_IPHONE
=1
2949 cat >>confdefs.h
<<\_ACEOF
2953 cat >>confdefs.h
<<\_ACEOF
2954 #define __DARWIN__ 1
2957 cat >>confdefs.h
<<\_ACEOF
2958 #define TARGET_CARBON 1
2961 DEFAULT_DEFAULT_wxUSE_OSX_CARBON
=1
2966 cat >>confdefs.h
<<\_ACEOF
2973 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2974 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2975 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2976 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2978 DEFAULT_DEFAULT_wxUSE_X11
=1
2979 DEFAULT_wxUSE_SHARED
=no
2984 DEFAULT_wxUSE_ALL_FEATURES
=yes
2986 DEFAULT_wxUSE_STD_CONTAINERS
=no
2987 DEFAULT_wxUSE_STD_IOSTREAM
=$DEFAULT_STD_FLAG
2988 DEFAULT_wxUSE_STD_STRING
=$DEFAULT_STD_FLAG
2990 DEFAULT_wxUSE_DMALLOC
=no
2991 DEFAULT_wxUSE_LIBGNOMEVFS
=no
2992 DEFAULT_wxUSE_LIBHILDON
=no
2993 DEFAULT_wxUSE_LIBHILDON2
=no
2994 DEFAULT_wxUSE_LIBMSPACK
=no
2995 DEFAULT_wxUSE_LIBSDL
=no
2997 DEFAULT_wxUSE_ACCESSIBILITY
=no
2998 DEFAULT_wxUSE_IPV6
=no
2999 DEFAULT_wxUSE_GSTREAMER8
=no
3001 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=auto
3002 DEFAULT_wxUSE_UNICODE_UTF8
=auto
3003 DEFAULT_wxUSE_OPENGL
=auto
3004 DEFAULT_wxUSE_MEDIACTRL
=auto
3005 DEFAULT_wxUSE_COMPILER_TLS
=auto
3006 DEFAULT_wxUSE_HOTKEY
=auto
3007 DEFAULT_wxUSE_METAFILE
=auto
3009 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
=no
3011 DEFAULT_wxUSE_UNIVERSAL_BINARY
=no
3012 DEFAULT_wxUSE_MAC_ARCH
=no
3014 DEFAULT_wxUSE_OFFICIAL_BUILD
=no
3016 DEFAULT_wxUSE_GTK2
=yes
3018 DEFAULT_wxUSE_OBJC_UNIQUIFYING
=no
3024 enablestring
=disable
3026 if test -z "$defaultval"; then
3027 if test x
"$enablestring" = xdisable
; then
3034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3035 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3036 # Check whether --enable-gui was given.
3037 if test "${enable_gui+set}" = set; then
3038 enableval
=$enable_gui;
3039 if test "$enableval" = yes; then
3040 wx_cv_use_gui
='wxUSE_GUI=yes'
3042 wx_cv_use_gui
='wxUSE_GUI=no'
3047 wx_cv_use_gui
='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
3052 eval "$wx_cv_use_gui"
3054 if test x"$enablestring" = xdisable; then
3055 if test $wxUSE_GUI = no; then
3064 { echo "$as_me:$LINENO: result: $result" >&5
3065 echo "${ECHO_T}$result" >&6; }
3070 if test -z "$defaultval"; then
3071 if test x"$enablestring" = xdisable; then
3078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3079 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3080 # Check whether --enable-monolithic was given.
3081 if test "${enable_monolithic+set}" = set; then
3082 enableval=$enable_monolithic;
3083 if test "$enableval" = yes; then
3084 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=yes'
3086 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=no
'
3091 wx_cv_use_monolithic='wxUSE_MONOLITHIC
=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3096 eval "$wx_cv_use_monolithic"
3098 if test x"$enablestring" = xdisable; then
3099 if test $wxUSE_MONOLITHIC = no; then
3105 result=$wxUSE_MONOLITHIC
3108 { echo "$as_me:$LINENO: result
: $result" >&5
3109 echo "${ECHO_T}$result" >&6; }
3114 if test -z "$defaultval"; then
3115 if test x"$enablestring" = xdisable; then
3122 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-plugins" >&5
3123 echo $ECHO_N "checking
for --${enablestring:-enable}-plugins...
$ECHO_C" >&6; }
3124 # Check whether --enable-plugins was given.
3125 if test "${enable_plugins+set}" = set; then
3126 enableval=$enable_plugins;
3127 if test "$enableval" = yes; then
3128 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3130 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3135 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3140 eval "$wx_cv_use_plugins"
3142 if test x
"$enablestring" = xdisable
; then
3143 if test $wxUSE_PLUGINS = no
; then
3149 result
=$wxUSE_PLUGINS
3152 { echo "$as_me:$LINENO: result: $result" >&5
3153 echo "${ECHO_T}$result" >&6; }
3157 defaultval
=$wxUSE_ALL_FEATURES
3158 if test -z "$defaultval"; then
3159 if test x
"$withstring" = xwithout
; then
3165 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3166 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3168 # Check whether --with-subdirs was given.
3169 if test "${with_subdirs+set}" = set; then
3170 withval
=$with_subdirs;
3171 if test "$withval" = yes; then
3172 wx_cv_use_subdirs
='wxWITH_SUBDIRS=yes'
3174 wx_cv_use_subdirs
='wxWITH_SUBDIRS=no'
3179 wx_cv_use_subdirs
='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3184 eval "$wx_cv_use_subdirs"
3186 if test x"$withstring" = xwithout; then
3187 if test $wxWITH_SUBDIRS = yes; then
3193 result=$wxWITH_SUBDIRS
3196 { echo "$as_me:$LINENO: result: $result" >&5
3197 echo "${ECHO_T}$result" >&6; }
3200 # Check whether --with-flavour was given.
3201 if test "${with_flavour+set}" = set; then
3202 withval=$with_flavour; WX_FLAVOUR="$withval"
3208 if test -z "$defaultval"; then
3209 if test x"$enablestring" = xdisable; then
3216 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3217 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3218 # Check whether --enable-official_build was given.
3219 if test "${enable_official_build+set}" = set; then
3220 enableval=$enable_official_build;
3221 if test "$enableval" = yes; then
3222 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=yes'
3224 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=no
'
3229 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD
=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3234 eval "$wx_cv_use_official_build"
3236 if test x"$enablestring" = xdisable; then
3237 if test $wxUSE_OFFICIAL_BUILD = no; then
3243 result=$wxUSE_OFFICIAL_BUILD
3246 { echo "$as_me:$LINENO: result
: $result" >&5
3247 echo "${ECHO_T}$result" >&6; }
3249 # Check whether --enable-vendor was given.
3250 if test "${enable_vendor+set}" = set; then
3251 enableval=$enable_vendor; VENDOR="$enableval"
3254 if test "x
$VENDOR" = "x
"; then
3259 enablestring=disable
3261 if test -z "$defaultval"; then
3262 if test x"$enablestring" = xdisable; then
3269 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-all-features" >&5
3270 echo $ECHO_N "checking
for --${enablestring:-enable}-all-features...
$ECHO_C" >&6; }
3271 # Check whether --enable-all-features was given.
3272 if test "${enable_all_features+set}" = set; then
3273 enableval=$enable_all_features;
3274 if test "$enableval" = yes; then
3275 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3277 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3282 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3287 eval "$wx_cv_use_all_features"
3289 if test x
"$enablestring" = xdisable
; then
3290 if test $wxUSE_ALL_FEATURES = no
; then
3296 result
=$wxUSE_ALL_FEATURES
3299 { echo "$as_me:$LINENO: result: $result" >&5
3300 echo "${ECHO_T}$result" >&6; }
3303 if test "$wxUSE_ALL_FEATURES" = "no"; then
3304 DEFAULT_wxUSE_ARTPROVIDER_TANGO
=no
3305 DEFAULT_wxUSE_MEDIACTRL
=no
3309 if test "$wxUSE_GUI" = "yes"; then
3314 if test -z "$defaultval"; then
3315 if test x
"$enablestring" = xdisable
; then
3322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3323 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3324 # Check whether --enable-universal was given.
3325 if test "${enable_universal+set}" = set; then
3326 enableval
=$enable_universal;
3327 if test "$enableval" = yes; then
3328 wx_cv_use_universal
='wxUSE_UNIVERSAL=yes'
3330 wx_cv_use_universal
='wxUSE_UNIVERSAL=no'
3335 wx_cv_use_universal
='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3340 eval "$wx_cv_use_universal"
3342 if test x"$enablestring" = xdisable; then
3343 if test $wxUSE_UNIVERSAL = no; then
3349 result=$wxUSE_UNIVERSAL
3352 { echo "$as_me:$LINENO: result: $result" >&5
3353 echo "${ECHO_T}$result" >&6; }
3355 if test "$wxUSE_UNIVERSAL" = "yes"; then
3357 # Check whether --with-themes was given.
3358 if test "${with_themes+set}" = set; then
3359 withval=$with_themes; wxUNIV_THEMES="$withval"
3365 # Check whether --with-gtk was given.
3366 if test "${with_gtk+set}" = set; then
3367 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3371 # Check whether --with-motif was given.
3372 if test "${with_motif+set}" = set; then
3373 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3377 # Check whether --with-osx_carbon was given.
3378 if test "${with_osx_carbon+set}" = set; then
3379 withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3383 # Check whether --with-osx_cocoa was given.
3384 if test "${with_osx_cocoa+set}" = set; then
3385 withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3389 # Check whether --with-osx_iphone was given.
3390 if test "${with_osx_iphone+set}" = set; then
3391 withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3395 # Check whether --with-osx was given.
3396 if test "${with_osx+set}" = set; then
3397 withval=$with_osx; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3401 # Check whether --with-carbon was given.
3402 if test "${with_carbon+set}" = set; then
3403 withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3407 # Check whether --with-cocoa was given.
3408 if test "${with_cocoa+set}" = set; then
3409 withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
3413 # Check whether --with-iphone was given.
3414 if test "${with_iphone+set}" = set; then
3415 withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
3419 # Check whether --with-mac was given.
3420 if test "${with_mac+set}" = set; then
3421 withval=$with_mac; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
3425 # Check whether --with-old_cocoa was given.
3426 if test "${with_old_cocoa+set}" = set; then
3427 withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
3431 # Check whether --with-wine was given.
3432 if test "${with_wine+set}" = set; then
3433 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3437 # Check whether --with-msw was given.
3438 if test "${with_msw+set}" = set; then
3439 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3443 # Check whether --with-pm was given.
3444 if test "${with_pm+set}" = set; then
3445 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3449 # Check whether --with-mgl was given.
3450 if test "${with_mgl+set}" = set; then
3451 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3455 # Check whether --with-directfb was given.
3456 if test "${with_directfb+set}" = set; then
3457 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3461 # Check whether --with-microwin was given.
3462 if test "${with_microwin+set}" = set; then
3463 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3467 # Check whether --with-x11 was given.
3468 if test "${with_x11+set}" = set; then
3469 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3475 if test -z "$defaultval"; then
3476 if test x"$enablestring" = xdisable; then
3483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3484 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3485 # Check whether --enable-nanox was given.
3486 if test "${enable_nanox+set}" = set; then
3487 enableval=$enable_nanox;
3488 if test "$enableval" = yes; then
3489 wx_cv_use_nanox='wxUSE_NANOX
=yes'
3491 wx_cv_use_nanox='wxUSE_NANOX
=no
'
3496 wx_cv_use_nanox='wxUSE_NANOX
=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3501 eval "$wx_cv_use_nanox"
3503 if test x"$enablestring" = xdisable; then
3504 if test $wxUSE_NANOX = no; then
3513 { echo "$as_me:$LINENO: result
: $result" >&5
3514 echo "${ECHO_T}$result" >&6; }
3517 # Check whether --enable-gtk2 was given.
3518 if test "${enable_gtk2+set}" = set; then
3519 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3525 if test -z "$defaultval"; then
3526 if test x"$enablestring" = xdisable; then
3533 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gpe" >&5
3534 echo $ECHO_N "checking
for --${enablestring:-enable}-gpe...
$ECHO_C" >&6; }
3535 # Check whether --enable-gpe was given.
3536 if test "${enable_gpe+set}" = set; then
3537 enableval=$enable_gpe;
3538 if test "$enableval" = yes; then
3539 wx_cv_use_gpe='wxUSE_GPE=yes'
3541 wx_cv_use_gpe='wxUSE_GPE=no'
3546 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3551 eval "$wx_cv_use_gpe"
3553 if test x
"$enablestring" = xdisable
; then
3554 if test $wxUSE_GPE = no
; then
3563 { echo "$as_me:$LINENO: result: $result" >&5
3564 echo "${ECHO_T}$result" >&6; }
3568 { echo "$as_me:$LINENO: checking for toolkit" >&5
3569 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3573 # In Wine, we need to default to MSW, not GTK or MOTIF
3574 if test "$wxUSE_WINE" = "yes"; then
3575 DEFAULT_DEFAULT_wxUSE_GTK
=0
3576 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
3577 DEFAULT_DEFAULT_wxUSE_MSW
=1
3584 if test "$wxUSE_GUI" = "yes"; then
3586 if test "$USE_BEOS" = 1; then
3587 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3588 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3589 { (exit 1); exit 1; }; }
3592 if test "$TOOLKIT_GIVEN" = 1; then
3593 for toolkit
in $ALL_TOOLKITS; do
3595 eval "value=\$${var}"
3596 if test "x$value" = "xno"; then
3598 elif test "x$value" != "x"; then
3602 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3603 eval "wx${toolkit}_VERSION=$value"
3607 for toolkit
in $ALL_TOOLKITS; do
3608 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
3609 eval "wxUSE_$toolkit=\$${var}"
3613 NUM_TOOLKITS
=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
3614 + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} \
3615 + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3618 *-pc-os2_emx | *-pc-os2-emx )
3619 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3622 case "$NUM_TOOLKITS" in
3626 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3627 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3628 { (exit 1); exit 1; }; }
3631 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3632 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3633 { (exit 1); exit 1; }; }
3636 # to be removed when --disable-gtk2 isn't needed
3637 if test "x$wxUSE_GTK2" = "xyes"; then
3640 elif test "x$wxUSE_GTK2" = "xno"; then
3645 for toolkit
in $ALL_TOOLKITS; do
3647 eval "value=\$${var}"
3648 if test "$value" = 1; then
3649 toolkit_echo
=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3650 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3651 echo "${ECHO_T}$toolkit_echo" >&6; }
3655 if test "x$host_alias" != "x"; then
3656 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3657 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3659 { echo "$as_me:$LINENO: result: base only" >&5
3660 echo "${ECHO_T}base only" >&6; }
3665 if test "$wxUSE_OSX_CARBON" = 1 \
3666 -o "$wxUSE_OSX_COCOA" = 1 \
3667 -o "$wxUSE_OSX_IPHONE" = 1; then
3673 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3674 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3676 # Check whether --with-libpng was given.
3677 if test "${with_libpng+set}" = set; then
3678 withval
=$with_libpng;
3679 if test "$withval" = yes; then
3680 wx_cv_use_libpng
='wxUSE_LIBPNG=yes'
3681 elif test "$withval" = no
; then
3682 wx_cv_use_libpng
='wxUSE_LIBPNG=no'
3683 elif test "$withval" = sys
; then
3684 wx_cv_use_libpng
='wxUSE_LIBPNG=sys'
3685 elif test "$withval" = builtin; then
3686 wx_cv_use_libpng
='wxUSE_LIBPNG=builtin'
3688 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3689 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3690 { (exit 1); exit 1; }; }
3695 wx_cv_use_libpng
='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3700 eval "$wx_cv_use_libpng"
3702 if test "$wxUSE_LIBPNG" = yes; then
3703 { echo "$as_me:$LINENO: result: yes" >&5
3704 echo "${ECHO_T}yes" >&6; }
3705 elif test "$wxUSE_LIBPNG" = no; then
3706 { echo "$as_me:$LINENO: result: no" >&5
3707 echo "${ECHO_T}no" >&6; }
3708 elif test "$wxUSE_LIBPNG" = sys; then
3709 { echo "$as_me:$LINENO: result: system version" >&5
3710 echo "${ECHO_T}system version" >&6; }
3711 elif test "$wxUSE_LIBPNG" = builtin; then
3712 { echo "$as_me:$LINENO: result: builtin version" >&5
3713 echo "${ECHO_T}builtin version" >&6; }
3715 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3716 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3717 { (exit 1); exit 1; }; }
3721 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3722 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3724 # Check whether --with-libjpeg was given.
3725 if test "${with_libjpeg+set}" = set; then
3726 withval=$with_libjpeg;
3727 if test "$withval" = yes; then
3728 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=yes'
3729 elif test "$withval" = no; then
3730 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=no
'
3731 elif test "$withval" = sys; then
3732 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=sys
'
3733 elif test "$withval" = builtin; then
3734 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=builtin'
3736 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3737 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3738 { (exit 1); exit 1; }; }
3743 wx_cv_use_libjpeg='wxUSE_LIBJPEG
=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3748 eval "$wx_cv_use_libjpeg"
3750 if test "$wxUSE_LIBJPEG" = yes; then
3751 { echo "$as_me:$LINENO: result
: yes" >&5
3752 echo "${ECHO_T}yes" >&6; }
3753 elif test "$wxUSE_LIBJPEG" = no; then
3754 { echo "$as_me:$LINENO: result
: no
" >&5
3755 echo "${ECHO_T}no
" >&6; }
3756 elif test "$wxUSE_LIBJPEG" = sys; then
3757 { echo "$as_me:$LINENO: result
: system version
" >&5
3758 echo "${ECHO_T}system version
" >&6; }
3759 elif test "$wxUSE_LIBJPEG" = builtin; then
3760 { echo "$as_me:$LINENO: result
: builtin version
" >&5
3761 echo "${ECHO_T}builtin version
" >&6; }
3763 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&5
3764 echo "$as_me: error
: Invalid value
for --with-libjpeg: should be
yes, no
, sys
, or
builtin" >&2;}
3765 { (exit 1); exit 1; }; }
3769 { echo "$as_me:$LINENO: checking
for --with-libtiff" >&5
3770 echo $ECHO_N "checking
for --with-libtiff...
$ECHO_C" >&6; }
3772 # Check whether --with-libtiff was given.
3773 if test "${with_libtiff+set}" = set; then
3774 withval=$with_libtiff;
3775 if test "$withval" = yes; then
3776 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3777 elif test "$withval" = no; then
3778 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3779 elif test "$withval" = sys; then
3780 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3781 elif test "$withval" = builtin; then
3782 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3784 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&5
3785 echo "$as_me: error
: Invalid value
for --with-libtiff: should be
yes, no
, sys
, or
builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3791 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3796 eval "$wx_cv_use_libtiff"
3798 if test "$wxUSE_LIBTIFF" = yes; then
3799 { echo "$as_me:$LINENO: result: yes" >&5
3800 echo "${ECHO_T}yes" >&6; }
3801 elif test "$wxUSE_LIBTIFF" = no
; then
3802 { echo "$as_me:$LINENO: result: no" >&5
3803 echo "${ECHO_T}no" >&6; }
3804 elif test "$wxUSE_LIBTIFF" = sys
; then
3805 { echo "$as_me:$LINENO: result: system version" >&5
3806 echo "${ECHO_T}system version" >&6; }
3807 elif test "$wxUSE_LIBTIFF" = builtin; then
3808 { echo "$as_me:$LINENO: result: builtin version" >&5
3809 echo "${ECHO_T}builtin version" >&6; }
3811 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3812 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3813 { (exit 1); exit 1; }; }
3817 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3818 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3820 # Check whether --with-libxpm was given.
3821 if test "${with_libxpm+set}" = set; then
3822 withval
=$with_libxpm;
3823 if test "$withval" = yes; then
3824 wx_cv_use_libxpm
='wxUSE_LIBXPM=yes'
3825 elif test "$withval" = no
; then
3826 wx_cv_use_libxpm
='wxUSE_LIBXPM=no'
3827 elif test "$withval" = sys
; then
3828 wx_cv_use_libxpm
='wxUSE_LIBXPM=sys'
3829 elif test "$withval" = builtin; then
3830 wx_cv_use_libxpm
='wxUSE_LIBXPM=builtin'
3832 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3833 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3834 { (exit 1); exit 1; }; }
3839 wx_cv_use_libxpm
='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3844 eval "$wx_cv_use_libxpm"
3846 if test "$wxUSE_LIBXPM" = yes; then
3847 { echo "$as_me:$LINENO: result: yes" >&5
3848 echo "${ECHO_T}yes" >&6; }
3849 elif test "$wxUSE_LIBXPM" = no; then
3850 { echo "$as_me:$LINENO: result: no" >&5
3851 echo "${ECHO_T}no" >&6; }
3852 elif test "$wxUSE_LIBXPM" = sys; then
3853 { echo "$as_me:$LINENO: result: system version" >&5
3854 echo "${ECHO_T}system version" >&6; }
3855 elif test "$wxUSE_LIBXPM" = builtin; then
3856 { echo "$as_me:$LINENO: result: builtin version" >&5
3857 echo "${ECHO_T}builtin version" >&6; }
3859 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3860 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3861 { (exit 1); exit 1; }; }
3866 defaultval=$wxUSE_ALL_FEATURES
3867 if test -z "$defaultval"; then
3868 if test x"$withstring" = xwithout; then
3874 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3875 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3877 # Check whether --with-libiconv was given.
3878 if test "${with_libiconv+set}" = set; then
3879 withval=$with_libiconv;
3880 if test "$withval" = yes; then
3881 wx_cv_use_libiconv='wxUSE_LIBICONV
=yes'
3883 wx_cv_use_libiconv='wxUSE_LIBICONV
=no
'
3888 wx_cv_use_libiconv='wxUSE_LIBICONV
=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3893 eval "$wx_cv_use_libiconv"
3895 if test x"$withstring" = xwithout; then
3896 if test $wxUSE_LIBICONV = yes; then
3902 result=$wxUSE_LIBICONV
3905 { echo "$as_me:$LINENO: result
: $result" >&5
3906 echo "${ECHO_T}$result" >&6; }
3910 defaultval=$wxUSE_ALL_FEATURES
3911 if test -z "$defaultval"; then
3912 if test x"$withstring" = xwithout; then
3918 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-libmspack" >&5
3919 echo $ECHO_N "checking
for --${withstring:-with}-libmspack...
$ECHO_C" >&6; }
3921 # Check whether --with-libmspack was given.
3922 if test "${with_libmspack+set}" = set; then
3923 withval=$with_libmspack;
3924 if test "$withval" = yes; then
3925 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3927 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3932 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3937 eval "$wx_cv_use_libmspack"
3939 if test x
"$withstring" = xwithout
; then
3940 if test $wxUSE_LIBMSPACK = yes; then
3946 result
=$wxUSE_LIBMSPACK
3949 { echo "$as_me:$LINENO: result: $result" >&5
3950 echo "${ECHO_T}$result" >&6; }
3954 defaultval
=$wxUSE_ALL_FEATURES
3955 if test -z "$defaultval"; then
3956 if test x
"$withstring" = xwithout
; then
3962 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3963 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3965 # Check whether --with-gtkprint was given.
3966 if test "${with_gtkprint+set}" = set; then
3967 withval
=$with_gtkprint;
3968 if test "$withval" = yes; then
3969 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=yes'
3971 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=no'
3976 wx_cv_use_gtkprint
='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3981 eval "$wx_cv_use_gtkprint"
3983 if test x"$withstring" = xwithout; then
3984 if test $wxUSE_GTKPRINT = yes; then
3990 result=$wxUSE_GTKPRINT
3993 { echo "$as_me:$LINENO: result: $result" >&5
3994 echo "${ECHO_T}$result" >&6; }
3998 defaultval=$wxUSE_ALL_FEATURES
3999 if test -z "$defaultval"; then
4000 if test x"$withstring" = xwithout; then
4006 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4007 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4009 # Check whether --with-gnomeprint was given.
4010 if test "${with_gnomeprint+set}" = set; then
4011 withval=$with_gnomeprint;
4012 if test "$withval" = yes; then
4013 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=yes'
4015 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=no
'
4020 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT
=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
4025 eval "$wx_cv_use_gnomeprint"
4027 if test x"$withstring" = xwithout; then
4028 if test $wxUSE_LIBGNOMEPRINT = yes; then
4034 result=$wxUSE_LIBGNOMEPRINT
4037 { echo "$as_me:$LINENO: result
: $result" >&5
4038 echo "${ECHO_T}$result" >&6; }
4042 defaultval=$wxUSE_ALL_FEATURES
4043 if test -z "$defaultval"; then
4044 if test x"$withstring" = xwithout; then
4050 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-gnomevfs" >&5
4051 echo $ECHO_N "checking
for --${withstring:-with}-gnomevfs...
$ECHO_C" >&6; }
4053 # Check whether --with-gnomevfs was given.
4054 if test "${with_gnomevfs+set}" = set; then
4055 withval=$with_gnomevfs;
4056 if test "$withval" = yes; then
4057 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4059 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4064 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
4069 eval "$wx_cv_use_gnomevfs"
4071 if test x
"$withstring" = xwithout
; then
4072 if test $wxUSE_LIBGNOMEVFS = yes; then
4078 result
=$wxUSE_LIBGNOMEVFS
4081 { echo "$as_me:$LINENO: result: $result" >&5
4082 echo "${ECHO_T}$result" >&6; }
4086 defaultval
=$wxUSE_ALL_FEATURES
4087 if test -z "$defaultval"; then
4088 if test x
"$withstring" = xwithout
; then
4094 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4095 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4097 # Check whether --with-hildon was given.
4098 if test "${with_hildon+set}" = set; then
4099 withval
=$with_hildon;
4100 if test "$withval" = yes; then
4101 wx_cv_use_hildon
='wxUSE_LIBHILDON=yes'
4103 wx_cv_use_hildon
='wxUSE_LIBHILDON=no'
4108 wx_cv_use_hildon
='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
4113 eval "$wx_cv_use_hildon"
4115 if test x"$withstring" = xwithout; then
4116 if test $wxUSE_LIBHILDON = yes; then
4122 result=$wxUSE_LIBHILDON
4125 { echo "$as_me:$LINENO: result: $result" >&5
4126 echo "${ECHO_T}$result" >&6; }
4130 defaultval=$wxUSE_ALL_FEATURES
4131 if test -z "$defaultval"; then
4132 if test x"$withstring" = xwithout; then
4138 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4139 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4141 # Check whether --with-opengl was given.
4142 if test "${with_opengl+set}" = set; then
4143 withval=$with_opengl;
4144 if test "$withval" = yes; then
4145 wx_cv_use_opengl='wxUSE_OPENGL
=yes'
4147 wx_cv_use_opengl='wxUSE_OPENGL
=no
'
4152 wx_cv_use_opengl='wxUSE_OPENGL
=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4157 eval "$wx_cv_use_opengl"
4159 if test x"$withstring" = xwithout; then
4160 if test $wxUSE_OPENGL = yes; then
4166 result=$wxUSE_OPENGL
4169 { echo "$as_me:$LINENO: result
: $result" >&5
4170 echo "${ECHO_T}$result" >&6; }
4177 defaultval=$wxUSE_ALL_FEATURES
4178 if test -z "$defaultval"; then
4179 if test x"$withstring" = xwithout; then
4185 { echo "$as_me:$LINENO: checking
for --${withstring:-with}-dmalloc" >&5
4186 echo $ECHO_N "checking
for --${withstring:-with}-dmalloc...
$ECHO_C" >&6; }
4188 # Check whether --with-dmalloc was given.
4189 if test "${with_dmalloc+set}" = set; then
4190 withval=$with_dmalloc;
4191 if test "$withval" = yes; then
4192 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4194 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4199 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4204 eval "$wx_cv_use_dmalloc"
4206 if test x
"$withstring" = xwithout
; then
4207 if test $wxUSE_DMALLOC = yes; then
4213 result
=$wxUSE_DMALLOC
4216 { echo "$as_me:$LINENO: result: $result" >&5
4217 echo "${ECHO_T}$result" >&6; }
4221 defaultval
=$wxUSE_ALL_FEATURES
4222 if test -z "$defaultval"; then
4223 if test x
"$withstring" = xwithout
; then
4229 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4230 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4232 # Check whether --with-sdl was given.
4233 if test "${with_sdl+set}" = set; then
4235 if test "$withval" = yes; then
4236 wx_cv_use_sdl
='wxUSE_LIBSDL=yes'
4238 wx_cv_use_sdl
='wxUSE_LIBSDL=no'
4243 wx_cv_use_sdl
='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4248 eval "$wx_cv_use_sdl"
4250 if test x"$withstring" = xwithout; then
4251 if test $wxUSE_LIBSDL = yes; then
4257 result=$wxUSE_LIBSDL
4260 { echo "$as_me:$LINENO: result: $result" >&5
4261 echo "${ECHO_T}$result" >&6; }
4264 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4265 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4267 # Check whether --with-regex was given.
4268 if test "${with_regex+set}" = set; then
4269 withval=$with_regex;
4270 if test "$withval" = yes; then
4271 wx_cv_use_regex='wxUSE_REGEX
=yes'
4272 elif test "$withval" = no; then
4273 wx_cv_use_regex='wxUSE_REGEX
=no
'
4274 elif test "$withval" = sys; then
4275 wx_cv_use_regex='wxUSE_REGEX
=sys
'
4276 elif test "$withval" = builtin; then
4277 wx_cv_use_regex='wxUSE_REGEX
=builtin'
4279 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4280 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4281 { (exit 1); exit 1; }; }
4286 wx_cv_use_regex='wxUSE_REGEX
=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4291 eval "$wx_cv_use_regex"
4293 if test "$wxUSE_REGEX" = yes; then
4294 { echo "$as_me:$LINENO: result
: yes" >&5
4295 echo "${ECHO_T}yes" >&6; }
4296 elif test "$wxUSE_REGEX" = no; then
4297 { echo "$as_me:$LINENO: result
: no
" >&5
4298 echo "${ECHO_T}no
" >&6; }
4299 elif test "$wxUSE_REGEX" = sys; then
4300 { echo "$as_me:$LINENO: result
: system version
" >&5
4301 echo "${ECHO_T}system version
" >&6; }
4302 elif test "$wxUSE_REGEX" = builtin; then
4303 { echo "$as_me:$LINENO: result
: builtin version
" >&5
4304 echo "${ECHO_T}builtin version
" >&6; }
4306 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&5
4307 echo "$as_me: error
: Invalid value
for --with-regex: should be
yes, no
, sys
, or
builtin" >&2;}
4308 { (exit 1); exit 1; }; }
4312 { echo "$as_me:$LINENO: checking
for --with-zlib" >&5
4313 echo $ECHO_N "checking
for --with-zlib...
$ECHO_C" >&6; }
4315 # Check whether --with-zlib was given.
4316 if test "${with_zlib+set}" = set; then
4318 if test "$withval" = yes; then
4319 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4320 elif test "$withval" = no; then
4321 wx_cv_use_zlib='wxUSE_ZLIB=no'
4322 elif test "$withval" = sys; then
4323 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4324 elif test "$withval" = builtin; then
4325 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4327 { { echo "$as_me:$LINENO: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&5
4328 echo "$as_me: error
: Invalid value
for --with-zlib: should be
yes, no
, sys
, or
builtin" >&2;}
4329 { (exit 1); exit 1; }; }
4334 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4339 eval "$wx_cv_use_zlib"
4341 if test "$wxUSE_ZLIB" = yes; then
4342 { echo "$as_me:$LINENO: result: yes" >&5
4343 echo "${ECHO_T}yes" >&6; }
4344 elif test "$wxUSE_ZLIB" = no
; then
4345 { echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6; }
4347 elif test "$wxUSE_ZLIB" = sys
; then
4348 { echo "$as_me:$LINENO: result: system version" >&5
4349 echo "${ECHO_T}system version" >&6; }
4350 elif test "$wxUSE_ZLIB" = builtin; then
4351 { echo "$as_me:$LINENO: result: builtin version" >&5
4352 echo "${ECHO_T}builtin version" >&6; }
4354 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4355 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4356 { (exit 1); exit 1; }; }
4360 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4361 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4363 # Check whether --with-expat was given.
4364 if test "${with_expat+set}" = set; then
4365 withval
=$with_expat;
4366 if test "$withval" = yes; then
4367 wx_cv_use_expat
='wxUSE_EXPAT=yes'
4368 elif test "$withval" = no
; then
4369 wx_cv_use_expat
='wxUSE_EXPAT=no'
4370 elif test "$withval" = sys
; then
4371 wx_cv_use_expat
='wxUSE_EXPAT=sys'
4372 elif test "$withval" = builtin; then
4373 wx_cv_use_expat
='wxUSE_EXPAT=builtin'
4375 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4376 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4377 { (exit 1); exit 1; }; }
4382 wx_cv_use_expat
='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4387 eval "$wx_cv_use_expat"
4389 if test "$wxUSE_EXPAT" = yes; then
4390 { echo "$as_me:$LINENO: result: yes" >&5
4391 echo "${ECHO_T}yes" >&6; }
4392 elif test "$wxUSE_EXPAT" = no; then
4393 { echo "$as_me:$LINENO: result: no" >&5
4394 echo "${ECHO_T}no" >&6; }
4395 elif test "$wxUSE_EXPAT" = sys; then
4396 { echo "$as_me:$LINENO: result: system version" >&5
4397 echo "${ECHO_T}system version" >&6; }
4398 elif test "$wxUSE_EXPAT" = builtin; then
4399 { echo "$as_me:$LINENO: result: builtin version" >&5
4400 echo "${ECHO_T}builtin version" >&6; }
4402 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4403 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4404 { (exit 1); exit 1; }; }
4408 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4409 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4411 # Check whether --with-macosx-sdk was given.
4412 if test "${with_macosx_sdk+set}" = set; then
4413 withval=$with_macosx_sdk;
4414 wxUSE_MACOSX_SDK=$withval
4415 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4419 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4420 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4422 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4423 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4425 # Check whether --with-macosx-version-min was given.
4426 if test "${with_macosx_version_min+set}" = set; then
4427 withval=$with_macosx_version_min;
4428 wxUSE_MACOSX_VERSION_MIN=$withval
4429 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4433 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4434 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4437 { echo "$as_me:$LINENO: checking for --enable-debug" >&5
4438 echo $ECHO_N "checking for --enable-debug... $ECHO_C" >&6; }
4439 # Check whether --enable-debug was given.
4440 if test "${enable_debug+set}" = set; then
4441 enableval=$enable_debug;
4442 if test "$enableval" = yes; then
4444 elif test "$enableval" = no; then
4446 elif test "$enableval" = max; then
4448 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
4450 { { echo "$as_me:$LINENO: error: Invalid --enable-debug value, must be yes, no or max" >&5
4451 echo "$as_me: error: Invalid --enable-debug value, must be yes, no or max" >&2;}
4452 { (exit 1); exit 1; }; }
4461 case "$wxUSE_DEBUG" in
4463 DEFAULT_wxUSE_DEBUG_FLAG=yes
4464 DEFAULT_wxUSE_DEBUG_INFO=yes
4466 DEFAULT_wxUSE_OPTIMISE=no
4470 DEFAULT_wxUSE_DEBUG_FLAG=no
4471 DEFAULT_wxUSE_DEBUG_INFO=no
4475 DEFAULT_wxUSE_DEBUG_FLAG=yes
4476 DEFAULT_wxUSE_DEBUG_INFO=no
4481 enablestring=disable
4483 if test -z "$defaultval"; then
4484 if test x"$enablestring" = xdisable; then
4491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4492 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4493 # Check whether --enable-debug_flag was given.
4494 if test "${enable_debug_flag+set}" = set; then
4495 enableval=$enable_debug_flag;
4496 if test "$enableval" = yes; then
4497 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=yes'
4499 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=no
'
4504 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG
=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4509 eval "$wx_cv_use_debug_flag"
4511 if test x"$enablestring" = xdisable; then
4512 if test $wxUSE_DEBUG_FLAG = no; then
4518 result=$wxUSE_DEBUG_FLAG
4521 { echo "$as_me:$LINENO: result
: $result" >&5
4522 echo "${ECHO_T}$result" >&6; }
4527 if test -z "$defaultval"; then
4528 if test x"$enablestring" = xdisable; then
4535 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debug_info" >&5
4536 echo $ECHO_N "checking
for --${enablestring:-enable}-debug_info...
$ECHO_C" >&6; }
4537 # Check whether --enable-debug_info was given.
4538 if test "${enable_debug_info+set}" = set; then
4539 enableval=$enable_debug_info;
4540 if test "$enableval" = yes; then
4541 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4543 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4548 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4553 eval "$wx_cv_use_debug_info"
4555 if test x
"$enablestring" = xdisable
; then
4556 if test $wxUSE_DEBUG_INFO = no
; then
4562 result
=$wxUSE_DEBUG_INFO
4565 { echo "$as_me:$LINENO: result: $result" >&5
4566 echo "${ECHO_T}$result" >&6; }
4573 if test -z "$defaultval"; then
4574 if test x
"$enablestring" = xdisable
; then
4581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4582 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4583 # Check whether --enable-debug_gdb was given.
4584 if test "${enable_debug_gdb+set}" = set; then
4585 enableval
=$enable_debug_gdb;
4586 if test "$enableval" = yes; then
4587 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
4589 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
4594 wx_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4599 eval "$wx_cv_use_debug_gdb"
4601 if test x"$enablestring" = xdisable; then
4602 if test $wxUSE_DEBUG_GDB = no; then
4608 result=$wxUSE_DEBUG_GDB
4611 { echo "$as_me:$LINENO: result: $result" >&5
4612 echo "${ECHO_T}$result" >&6; }
4617 if test -z "$defaultval"; then
4618 if test x"$enablestring" = xdisable; then
4625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4626 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4627 # Check whether --enable-debug_cntxt was given.
4628 if test "${enable_debug_cntxt+set}" = set; then
4629 enableval=$enable_debug_cntxt;
4630 if test "$enableval" = yes; then
4631 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=yes'
4633 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=no
'
4638 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT
=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4643 eval "$wx_cv_use_debug_cntxt"
4645 if test x"$enablestring" = xdisable; then
4646 if test $wxUSE_DEBUG_CONTEXT = no; then
4652 result=$wxUSE_DEBUG_CONTEXT
4655 { echo "$as_me:$LINENO: result
: $result" >&5
4656 echo "${ECHO_T}$result" >&6; }
4661 if test -z "$defaultval"; then
4662 if test x"$enablestring" = xdisable; then
4669 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mem_tracing" >&5
4670 echo $ECHO_N "checking
for --${enablestring:-enable}-mem_tracing...
$ECHO_C" >&6; }
4671 # Check whether --enable-mem_tracing was given.
4672 if test "${enable_mem_tracing+set}" = set; then
4673 enableval=$enable_mem_tracing;
4674 if test "$enableval" = yes; then
4675 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4677 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4682 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
4687 eval "$wx_cv_use_mem_tracing"
4689 if test x
"$enablestring" = xdisable
; then
4690 if test $wxUSE_MEM_TRACING = no
; then
4696 result
=$wxUSE_MEM_TRACING
4699 { echo "$as_me:$LINENO: result: $result" >&5
4700 echo "${ECHO_T}$result" >&6; }
4705 enablestring
=disable
4707 if test -z "$defaultval"; then
4708 if test x
"$enablestring" = xdisable
; then
4715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4716 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4717 # Check whether --enable-shared was given.
4718 if test "${enable_shared+set}" = set; then
4719 enableval
=$enable_shared;
4720 if test "$enableval" = yes; then
4721 wx_cv_use_shared
='wxUSE_SHARED=yes'
4723 wx_cv_use_shared
='wxUSE_SHARED=no'
4728 wx_cv_use_shared
='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4733 eval "$wx_cv_use_shared"
4735 if test x"$enablestring" = xdisable; then
4736 if test $wxUSE_SHARED = no; then
4742 result=$wxUSE_SHARED
4745 { echo "$as_me:$LINENO: result: $result" >&5
4746 echo "${ECHO_T}$result" >&6; }
4751 if test -z "$defaultval"; then
4752 if test x"$enablestring" = xdisable; then
4759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4760 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4761 # Check whether --enable-stl was given.
4762 if test "${enable_stl+set}" = set; then
4763 enableval=$enable_stl;
4764 if test "$enableval" = yes; then
4765 wx_cv_use_stl='wxUSE_STL
=yes'
4767 wx_cv_use_stl='wxUSE_STL
=no
'
4772 wx_cv_use_stl='wxUSE_STL
=${'DEFAULT_wxUSE_STL":-$defaultval}"
4777 eval "$wx_cv_use_stl"
4779 if test x"$enablestring" = xdisable; then
4780 if test $wxUSE_STL = no; then
4789 { echo "$as_me:$LINENO: result
: $result" >&5
4790 echo "${ECHO_T}$result" >&6; }
4792 if test "$wxUSE_STL" = "yes"; then
4793 DEFAULT_wxUSE_STD_CONTAINERS=yes
4794 DEFAULT_wxUSE_STD_IOSTREAM=yes
4795 DEFAULT_wxUSE_STD_STRING=yes
4800 if test -z "$defaultval"; then
4801 if test x"$enablestring" = xdisable; then
4808 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_containers" >&5
4809 echo $ECHO_N "checking
for --${enablestring:-enable}-std_containers...
$ECHO_C" >&6; }
4810 # Check whether --enable-std_containers was given.
4811 if test "${enable_std_containers+set}" = set; then
4812 enableval=$enable_std_containers;
4813 if test "$enableval" = yes; then
4814 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
4816 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
4821 wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
4826 eval "$wx_cv_use_std_containers"
4828 if test x
"$enablestring" = xdisable
; then
4829 if test $wxUSE_STD_CONTAINERS = no
; then
4835 result
=$wxUSE_STD_CONTAINERS
4838 { echo "$as_me:$LINENO: result: $result" >&5
4839 echo "${ECHO_T}$result" >&6; }
4844 if test -z "$defaultval"; then
4845 if test x
"$enablestring" = xdisable
; then
4852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4853 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4854 # Check whether --enable-std_iostreams was given.
4855 if test "${enable_std_iostreams+set}" = set; then
4856 enableval
=$enable_std_iostreams;
4857 if test "$enableval" = yes; then
4858 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4860 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4865 wx_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4870 eval "$wx_cv_use_std_iostreams"
4872 if test x"$enablestring" = xdisable; then
4873 if test $wxUSE_STD_IOSTREAM = no; then
4879 result=$wxUSE_STD_IOSTREAM
4882 { echo "$as_me:$LINENO: result: $result" >&5
4883 echo "${ECHO_T}$result" >&6; }
4888 if test -z "$defaultval"; then
4889 if test x"$enablestring" = xdisable; then
4896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4897 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4898 # Check whether --enable-std_string was given.
4899 if test "${enable_std_string+set}" = set; then
4900 enableval=$enable_std_string;
4901 if test "$enableval" = yes; then
4902 wx_cv_use_std_string='wxUSE_STD_STRING
=yes'
4904 wx_cv_use_std_string='wxUSE_STD_STRING
=no
'
4909 wx_cv_use_std_string='wxUSE_STD_STRING
=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4914 eval "$wx_cv_use_std_string"
4916 if test x"$enablestring" = xdisable; then
4917 if test $wxUSE_STD_STRING = no; then
4923 result=$wxUSE_STD_STRING
4926 { echo "$as_me:$LINENO: result
: $result" >&5
4927 echo "${ECHO_T}$result" >&6; }
4932 if test -z "$defaultval"; then
4933 if test x"$enablestring" = xdisable; then
4940 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
4941 echo $ECHO_N "checking
for --${enablestring:-enable}-std_string_conv_in_wxstring...
$ECHO_C" >&6; }
4942 # Check whether --enable-std_string_conv_in_wxstring was given.
4943 if test "${enable_std_string_conv_in_wxstring+set}" = set; then
4944 enableval=$enable_std_string_conv_in_wxstring;
4945 if test "$enableval" = yes; then
4946 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
4948 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
4953 wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
4958 eval "$wx_cv_use_std_string_conv_in_wxstring"
4960 if test x
"$enablestring" = xdisable
; then
4961 if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no
; then
4967 result
=$wxUSE_STD_STRING_CONV_IN_WXSTRING
4970 { echo "$as_me:$LINENO: result: $result" >&5
4971 echo "${ECHO_T}$result" >&6; }
4974 enablestring
=disable
4976 if test -z "$defaultval"; then
4977 if test x
"$enablestring" = xdisable
; then
4984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4985 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4986 # Check whether --enable-unicode was given.
4987 if test "${enable_unicode+set}" = set; then
4988 enableval
=$enable_unicode;
4989 if test "$enableval" = yes; then
4990 wx_cv_use_unicode
='wxUSE_UNICODE=yes'
4992 wx_cv_use_unicode
='wxUSE_UNICODE=no'
4997 wx_cv_use_unicode
='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
5002 eval "$wx_cv_use_unicode"
5004 if test x"$enablestring" = xdisable; then
5005 if test $wxUSE_UNICODE = no; then
5011 result=$wxUSE_UNICODE
5014 { echo "$as_me:$LINENO: result: $result" >&5
5015 echo "${ECHO_T}$result" >&6; }
5020 if test -z "$defaultval"; then
5021 if test x"$enablestring" = xdisable; then
5028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
5030 # Check whether --enable-mslu was given.
5031 if test "${enable_mslu+set}" = set; then
5032 enableval=$enable_mslu;
5033 if test "$enableval" = yes; then
5034 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=yes'
5036 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=no
'
5041 wx_cv_use_mslu='wxUSE_UNICODE_MSLU
=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
5046 eval "$wx_cv_use_mslu"
5048 if test x"$enablestring" = xdisable; then
5049 if test $wxUSE_UNICODE_MSLU = no; then
5055 result=$wxUSE_UNICODE_MSLU
5058 { echo "$as_me:$LINENO: result
: $result" >&5
5059 echo "${ECHO_T}$result" >&6; }
5063 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8" >&5
5064 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8...
$ECHO_C" >&6; }
5065 # Check whether --enable-utf8 was given.
5066 if test "${enable_utf8+set}" = set; then
5067 enableval=$enable_utf8;
5068 wx_cv_use_utf8="wxUSE_UNICODE_UTF8
='$enableval'"
5072 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
5077 eval "$wx_cv_use_utf8"
5079 { echo "$as_me:$LINENO: result
: $wxUSE_UNICODE_UTF8" >&5
5080 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
5085 if test -z "$defaultval"; then
5086 if test x"$enablestring" = xdisable; then
5093 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-utf8only" >&5
5094 echo $ECHO_N "checking
for --${enablestring:-enable}-utf8only...
$ECHO_C" >&6; }
5095 # Check whether --enable-utf8only was given.
5096 if test "${enable_utf8only+set}" = set; then
5097 enableval=$enable_utf8only;
5098 if test "$enableval" = yes; then
5099 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
5101 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
5106 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
5111 eval "$wx_cv_use_utf8only"
5113 if test x
"$enablestring" = xdisable
; then
5114 if test $wxUSE_UNICODE_UTF8_LOCALE = no
; then
5120 result
=$wxUSE_UNICODE_UTF8_LOCALE
5123 { echo "$as_me:$LINENO: result: $result" >&5
5124 echo "${ECHO_T}$result" >&6; }
5129 if test -z "$defaultval"; then
5130 if test x
"$enablestring" = xdisable
; then
5137 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
5138 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
5139 # Check whether --enable-extended_rtti was given.
5140 if test "${enable_extended_rtti+set}" = set; then
5141 enableval
=$enable_extended_rtti;
5142 if test "$enableval" = yes; then
5143 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=yes'
5145 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=no'
5150 wx_cv_use_extended_rtti
='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
5155 eval "$wx_cv_use_extended_rtti"
5157 if test x"$enablestring" = xdisable; then
5158 if test $wxUSE_EXTENDED_RTTI = no; then
5164 result=$wxUSE_EXTENDED_RTTI
5167 { echo "$as_me:$LINENO: result: $result" >&5
5168 echo "${ECHO_T}$result" >&6; }
5170 if test "$USE_OS2" = 1; then
5171 DEFAULT_wxUSE_OMF=no
5175 if test -z "$defaultval"; then
5176 if test x"$enablestring" = xdisable; then
5183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
5184 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
5185 # Check whether --enable-omf was given.
5186 if test "${enable_omf+set}" = set; then
5187 enableval=$enable_omf;
5188 if test "$enableval" = yes; then
5189 wx_cv_use_omf='wxUSE_OMF
=yes'
5191 wx_cv_use_omf='wxUSE_OMF
=no
'
5196 wx_cv_use_omf='wxUSE_OMF
=${'DEFAULT_wxUSE_OMF":-$defaultval}"
5201 eval "$wx_cv_use_omf"
5203 if test x"$enablestring" = xdisable; then
5204 if test $wxUSE_OMF = no; then
5213 { echo "$as_me:$LINENO: result
: $result" >&5
5214 echo "${ECHO_T}$result" >&6; }
5219 enablestring=disable
5221 if test -z "$defaultval"; then
5222 if test x"$enablestring" = xdisable; then
5229 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-optimise" >&5
5230 echo $ECHO_N "checking
for --${enablestring:-enable}-optimise...
$ECHO_C" >&6; }
5231 # Check whether --enable-optimise was given.
5232 if test "${enable_optimise+set}" = set; then
5233 enableval=$enable_optimise;
5234 if test "$enableval" = yes; then
5235 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
5237 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
5242 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
5247 eval "$wx_cv_use_optimise"
5249 if test x
"$enablestring" = xdisable
; then
5250 if test $wxUSE_OPTIMISE = no
; then
5256 result
=$wxUSE_OPTIMISE
5259 { echo "$as_me:$LINENO: result: $result" >&5
5260 echo "${ECHO_T}$result" >&6; }
5266 if test -z "$defaultval"; then
5267 if test x
"$enablestring" = xdisable
; then
5274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5275 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5276 # Check whether --enable-profile was given.
5277 if test "${enable_profile+set}" = set; then
5278 enableval
=$enable_profile;
5279 if test "$enableval" = yes; then
5280 wx_cv_use_profile
='wxUSE_PROFILE=yes'
5282 wx_cv_use_profile
='wxUSE_PROFILE=no'
5287 wx_cv_use_profile
='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5292 eval "$wx_cv_use_profile"
5294 if test x"$enablestring" = xdisable; then
5295 if test $wxUSE_PROFILE = no; then
5301 result=$wxUSE_PROFILE
5304 { echo "$as_me:$LINENO: result: $result" >&5
5305 echo "${ECHO_T}$result" >&6; }
5310 if test -z "$defaultval"; then
5311 if test x"$enablestring" = xdisable; then
5318 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5320 # Check whether --enable-no_rtti was given.
5321 if test "${enable_no_rtti+set}" = set; then
5322 enableval=$enable_no_rtti;
5323 if test "$enableval" = yes; then
5324 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=yes'
5326 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=no
'
5331 wx_cv_use_no_rtti='wxUSE_NO_RTTI
=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5336 eval "$wx_cv_use_no_rtti"
5338 if test x"$enablestring" = xdisable; then
5339 if test $wxUSE_NO_RTTI = no; then
5345 result=$wxUSE_NO_RTTI
5348 { echo "$as_me:$LINENO: result
: $result" >&5
5349 echo "${ECHO_T}$result" >&6; }
5354 if test -z "$defaultval"; then
5355 if test x"$enablestring" = xdisable; then
5362 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-no_exceptions" >&5
5363 echo $ECHO_N "checking
for --${enablestring:-enable}-no_exceptions...
$ECHO_C" >&6; }
5364 # Check whether --enable-no_exceptions was given.
5365 if test "${enable_no_exceptions+set}" = set; then
5366 enableval=$enable_no_exceptions;
5367 if test "$enableval" = yes; then
5368 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5370 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5375 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5380 eval "$wx_cv_use_no_exceptions"
5382 if test x
"$enablestring" = xdisable
; then
5383 if test $wxUSE_NO_EXCEPTIONS = no
; then
5389 result
=$wxUSE_NO_EXCEPTIONS
5392 { echo "$as_me:$LINENO: result: $result" >&5
5393 echo "${ECHO_T}$result" >&6; }
5398 if test -z "$defaultval"; then
5399 if test x
"$enablestring" = xdisable
; then
5406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5407 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5408 # Check whether --enable-permissive was given.
5409 if test "${enable_permissive+set}" = set; then
5410 enableval
=$enable_permissive;
5411 if test "$enableval" = yes; then
5412 wx_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
5414 wx_cv_use_permissive
='wxUSE_PERMISSIVE=no'
5419 wx_cv_use_permissive
='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5424 eval "$wx_cv_use_permissive"
5426 if test x"$enablestring" = xdisable; then
5427 if test $wxUSE_PERMISSIVE = no; then
5433 result=$wxUSE_PERMISSIVE
5436 { echo "$as_me:$LINENO: result: $result" >&5
5437 echo "${ECHO_T}$result" >&6; }
5442 if test -z "$defaultval"; then
5443 if test x"$enablestring" = xdisable; then
5450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5451 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5452 # Check whether --enable-no_deps was given.
5453 if test "${enable_no_deps+set}" = set; then
5454 enableval=$enable_no_deps;
5455 if test "$enableval" = yes; then
5456 wx_cv_use_no_deps='wxUSE_NO_DEPS
=yes'
5458 wx_cv_use_no_deps='wxUSE_NO_DEPS
=no
'
5463 wx_cv_use_no_deps='wxUSE_NO_DEPS
=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5468 eval "$wx_cv_use_no_deps"
5470 if test x"$enablestring" = xdisable; then
5471 if test $wxUSE_NO_DEPS = no; then
5477 result=$wxUSE_NO_DEPS
5480 { echo "$as_me:$LINENO: result
: $result" >&5
5481 echo "${ECHO_T}$result" >&6; }
5484 enablestring=disable
5486 if test -z "$defaultval"; then
5487 if test x"$enablestring" = xdisable; then
5494 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-vararg_macros" >&5
5495 echo $ECHO_N "checking
for --${enablestring:-enable}-vararg_macros...
$ECHO_C" >&6; }
5496 # Check whether --enable-vararg_macros was given.
5497 if test "${enable_vararg_macros+set}" = set; then
5498 enableval=$enable_vararg_macros;
5499 if test "$enableval" = yes; then
5500 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5502 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5507 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5512 eval "$wx_cv_use_vararg_macros"
5514 if test x
"$enablestring" = xdisable
; then
5515 if test $wxUSE_VARARG_MACROS = no
; then
5521 result
=$wxUSE_VARARG_MACROS
5524 { echo "$as_me:$LINENO: result: $result" >&5
5525 echo "${ECHO_T}$result" >&6; }
5530 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5531 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5532 # Check whether --enable-universal_binary was given.
5533 if test "${enable_universal_binary+set}" = set; then
5534 enableval
=$enable_universal_binary;
5535 wx_cv_use_universal_binary
="wxUSE_UNIVERSAL_BINARY='$enableval'"
5539 wx_cv_use_universal_binary
='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5544 eval "$wx_cv_use_universal_binary"
5546 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5547 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-macosx_arch" >&5
5552 echo $ECHO_N "checking for --${enablestring:-enable}-macosx_arch... $ECHO_C" >&6; }
5553 # Check whether --enable-macosx_arch was given.
5554 if test "${enable_macosx_arch+set}" = set; then
5555 enableval
=$enable_macosx_arch;
5556 wx_cv_use_macosx_arch
="wxUSE_MAC_ARCH='$enableval'"
5560 wx_cv_use_macosx_arch
='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
5565 eval "$wx_cv_use_macosx_arch"
5567 { echo "$as_me:$LINENO: result: $wxUSE_MAC_ARCH" >&5
5568 echo "${ECHO_T}$wxUSE_MAC_ARCH" >&6; }
5574 if test -z "$defaultval"; then
5575 if test x
"$enablestring" = xdisable
; then
5582 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5583 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5584 # Check whether --enable-compat26 was given.
5585 if test "${enable_compat26+set}" = set; then
5586 enableval
=$enable_compat26;
5587 if test "$enableval" = yes; then
5588 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=yes'
5590 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=no'
5595 wx_cv_use_compat26
='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5600 eval "$wx_cv_use_compat26"
5602 if test x"$enablestring" = xdisable; then
5603 if test $WXWIN_COMPATIBILITY_2_6 = no; then
5609 result=$WXWIN_COMPATIBILITY_2_6
5612 { echo "$as_me:$LINENO: result: $result" >&5
5613 echo "${ECHO_T}$result" >&6; }
5616 enablestring=disable
5618 if test -z "$defaultval"; then
5619 if test x"$enablestring" = xdisable; then
5626 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5627 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5628 # Check whether --enable-compat28 was given.
5629 if test "${enable_compat28+set}" = set; then
5630 enableval=$enable_compat28;
5631 if test "$enableval" = yes; then
5632 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=yes'
5634 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=no
'
5639 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8
=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5644 eval "$wx_cv_use_compat28"
5646 if test x"$enablestring" = xdisable; then
5647 if test $WXWIN_COMPATIBILITY_2_8 = no; then
5653 result=$WXWIN_COMPATIBILITY_2_8
5656 { echo "$as_me:$LINENO: result
: $result" >&5
5657 echo "${ECHO_T}$result" >&6; }
5661 enablestring=disable
5663 if test -z "$defaultval"; then
5664 if test x"$enablestring" = xdisable; then
5671 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-rpath" >&5
5672 echo $ECHO_N "checking
for --${enablestring:-enable}-rpath...
$ECHO_C" >&6; }
5673 # Check whether --enable-rpath was given.
5674 if test "${enable_rpath+set}" = set; then
5675 enableval=$enable_rpath;
5676 if test "$enableval" = yes; then
5677 wx_cv_use_rpath='wxUSE_RPATH=yes'
5679 wx_cv_use_rpath='wxUSE_RPATH=no'
5684 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5689 eval "$wx_cv_use_rpath"
5691 if test x
"$enablestring" = xdisable
; then
5692 if test $wxUSE_RPATH = no
; then
5701 { echo "$as_me:$LINENO: result: $result" >&5
5702 echo "${ECHO_T}$result" >&6; }
5708 if test -z "$defaultval"; then
5709 if test x
"$enablestring" = xdisable
; then
5716 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5717 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5718 # Check whether --enable-objc_uniquifying was given.
5719 if test "${enable_objc_uniquifying+set}" = set; then
5720 enableval
=$enable_objc_uniquifying;
5721 if test "$enableval" = yes; then
5722 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=yes'
5724 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=no'
5729 wx_cv_use_objc_uniquifying
='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5734 eval "$wx_cv_use_objc_uniquifying"
5736 if test x"$enablestring" = xdisable; then
5737 if test $wxUSE_OBJC_UNIQUIFYING = no; then
5743 result=$wxUSE_OBJC_UNIQUIFYING
5746 { echo "$as_me:$LINENO: result: $result" >&5
5747 echo "${ECHO_T}$result" >&6; }
5751 enablestring=disable
5753 if test -z "$defaultval"; then
5754 if test x"$enablestring" = xdisable; then
5761 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5762 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5763 # Check whether --enable-visibility was given.
5764 if test "${enable_visibility+set}" = set; then
5765 enableval=$enable_visibility;
5766 if test "$enableval" = yes; then
5767 wx_cv_use_visibility='wxUSE_VISIBILITY
=yes'
5769 wx_cv_use_visibility='wxUSE_VISIBILITY
=no
'
5774 wx_cv_use_visibility='wxUSE_VISIBILITY
=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5779 eval "$wx_cv_use_visibility"
5781 if test x"$enablestring" = xdisable; then
5782 if test $wxUSE_VISIBILITY = no; then
5788 result=$wxUSE_VISIBILITY
5791 { echo "$as_me:$LINENO: result
: $result" >&5
5792 echo "${ECHO_T}$result" >&6; }
5795 enablestring=disable
5797 if test -z "$defaultval"; then
5798 if test x"$enablestring" = xdisable; then
5805 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tls" >&5
5806 echo $ECHO_N "checking
for --${enablestring:-enable}-tls...
$ECHO_C" >&6; }
5807 # Check whether --enable-tls was given.
5808 if test "${enable_tls+set}" = set; then
5809 enableval=$enable_tls;
5810 if test "$enableval" = yes; then
5811 wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
5813 wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
5818 wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
5823 eval "$wx_cv_use_tls"
5825 if test x
"$enablestring" = xdisable
; then
5826 if test $wxUSE_COMPILER_TLS = no
; then
5832 result
=$wxUSE_COMPILER_TLS
5835 { echo "$as_me:$LINENO: result: $result" >&5
5836 echo "${ECHO_T}$result" >&6; }
5842 defaultval
=$wxUSE_ALL_FEATURES
5843 if test -z "$defaultval"; then
5844 if test x
"$enablestring" = xdisable
; then
5851 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5853 # Check whether --enable-intl was given.
5854 if test "${enable_intl+set}" = set; then
5855 enableval
=$enable_intl;
5856 if test "$enableval" = yes; then
5857 wx_cv_use_intl
='wxUSE_INTL=yes'
5859 wx_cv_use_intl
='wxUSE_INTL=no'
5864 wx_cv_use_intl
='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5869 eval "$wx_cv_use_intl"
5871 if test x"$enablestring" = xdisable; then
5872 if test $wxUSE_INTL = no; then
5881 { echo "$as_me:$LINENO: result: $result" >&5
5882 echo "${ECHO_T}$result" >&6; }
5886 defaultval=$wxUSE_ALL_FEATURES
5887 if test -z "$defaultval"; then
5888 if test x"$enablestring" = xdisable; then
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5897 # Check whether --enable-xlocale was given.
5898 if test "${enable_xlocale+set}" = set; then
5899 enableval=$enable_xlocale;
5900 if test "$enableval" = yes; then
5901 wx_cv_use_xlocale='wxUSE_XLOCALE
=yes'
5903 wx_cv_use_xlocale='wxUSE_XLOCALE
=no
'
5908 wx_cv_use_xlocale='wxUSE_XLOCALE
=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5913 eval "$wx_cv_use_xlocale"
5915 if test x"$enablestring" = xdisable; then
5916 if test $wxUSE_XLOCALE = no; then
5922 result=$wxUSE_XLOCALE
5925 { echo "$as_me:$LINENO: result
: $result" >&5
5926 echo "${ECHO_T}$result" >&6; }
5930 defaultval=$wxUSE_ALL_FEATURES
5931 if test -z "$defaultval"; then
5932 if test x"$enablestring" = xdisable; then
5939 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-config" >&5
5940 echo $ECHO_N "checking
for --${enablestring:-enable}-config...
$ECHO_C" >&6; }
5941 # Check whether --enable-config was given.
5942 if test "${enable_config+set}" = set; then
5943 enableval=$enable_config;
5944 if test "$enableval" = yes; then
5945 wx_cv_use_config='wxUSE_CONFIG=yes'
5947 wx_cv_use_config='wxUSE_CONFIG=no'
5952 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5957 eval "$wx_cv_use_config"
5959 if test x
"$enablestring" = xdisable
; then
5960 if test $wxUSE_CONFIG = no
; then
5966 result
=$wxUSE_CONFIG
5969 { echo "$as_me:$LINENO: result: $result" >&5
5970 echo "${ECHO_T}$result" >&6; }
5975 defaultval
=$wxUSE_ALL_FEATURES
5976 if test -z "$defaultval"; then
5977 if test x
"$enablestring" = xdisable
; then
5984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5985 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5986 # Check whether --enable-protocols was given.
5987 if test "${enable_protocols+set}" = set; then
5988 enableval
=$enable_protocols;
5989 if test "$enableval" = yes; then
5990 wx_cv_use_protocols
='wxUSE_PROTOCOL=yes'
5992 wx_cv_use_protocols
='wxUSE_PROTOCOL=no'
5997 wx_cv_use_protocols
='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
6002 eval "$wx_cv_use_protocols"
6004 if test x"$enablestring" = xdisable; then
6005 if test $wxUSE_PROTOCOL = no; then
6011 result=$wxUSE_PROTOCOL
6014 { echo "$as_me:$LINENO: result: $result" >&5
6015 echo "${ECHO_T}$result" >&6; }
6019 defaultval=$wxUSE_ALL_FEATURES
6020 if test -z "$defaultval"; then
6021 if test x"$enablestring" = xdisable; then
6028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
6029 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
6030 # Check whether --enable-ftp was given.
6031 if test "${enable_ftp+set}" = set; then
6032 enableval=$enable_ftp;
6033 if test "$enableval" = yes; then
6034 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=yes'
6036 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=no
'
6041 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
6046 eval "$wx_cv_use_ftp"
6048 if test x"$enablestring" = xdisable; then
6049 if test $wxUSE_PROTOCOL_FTP = no; then
6055 result=$wxUSE_PROTOCOL_FTP
6058 { echo "$as_me:$LINENO: result
: $result" >&5
6059 echo "${ECHO_T}$result" >&6; }
6063 defaultval=$wxUSE_ALL_FEATURES
6064 if test -z "$defaultval"; then
6065 if test x"$enablestring" = xdisable; then
6072 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-http" >&5
6073 echo $ECHO_N "checking
for --${enablestring:-enable}-http...
$ECHO_C" >&6; }
6074 # Check whether --enable-http was given.
6075 if test "${enable_http+set}" = set; then
6076 enableval=$enable_http;
6077 if test "$enableval" = yes; then
6078 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
6080 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
6085 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
6090 eval "$wx_cv_use_http"
6092 if test x
"$enablestring" = xdisable
; then
6093 if test $wxUSE_PROTOCOL_HTTP = no
; then
6099 result
=$wxUSE_PROTOCOL_HTTP
6102 { echo "$as_me:$LINENO: result: $result" >&5
6103 echo "${ECHO_T}$result" >&6; }
6107 defaultval
=$wxUSE_ALL_FEATURES
6108 if test -z "$defaultval"; then
6109 if test x
"$enablestring" = xdisable
; then
6116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
6117 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
6118 # Check whether --enable-fileproto was given.
6119 if test "${enable_fileproto+set}" = set; then
6120 enableval
=$enable_fileproto;
6121 if test "$enableval" = yes; then
6122 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
6124 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
6129 wx_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
6134 eval "$wx_cv_use_fileproto"
6136 if test x"$enablestring" = xdisable; then
6137 if test $wxUSE_PROTOCOL_FILE = no; then
6143 result=$wxUSE_PROTOCOL_FILE
6146 { echo "$as_me:$LINENO: result: $result" >&5
6147 echo "${ECHO_T}$result" >&6; }
6151 defaultval=$wxUSE_ALL_FEATURES
6152 if test -z "$defaultval"; then
6153 if test x"$enablestring" = xdisable; then
6160 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
6161 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
6162 # Check whether --enable-sockets was given.
6163 if test "${enable_sockets+set}" = set; then
6164 enableval=$enable_sockets;
6165 if test "$enableval" = yes; then
6166 wx_cv_use_sockets='wxUSE_SOCKETS
=yes'
6168 wx_cv_use_sockets='wxUSE_SOCKETS
=no
'
6173 wx_cv_use_sockets='wxUSE_SOCKETS
=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
6178 eval "$wx_cv_use_sockets"
6180 if test x"$enablestring" = xdisable; then
6181 if test $wxUSE_SOCKETS = no; then
6187 result=$wxUSE_SOCKETS
6190 { echo "$as_me:$LINENO: result
: $result" >&5
6191 echo "${ECHO_T}$result" >&6; }
6195 defaultval=$wxUSE_ALL_FEATURES
6196 if test -z "$defaultval"; then
6197 if test x"$enablestring" = xdisable; then
6204 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipv6" >&5
6205 echo $ECHO_N "checking
for --${enablestring:-enable}-ipv6...
$ECHO_C" >&6; }
6206 # Check whether --enable-ipv6 was given.
6207 if test "${enable_ipv6+set}" = set; then
6208 enableval=$enable_ipv6;
6209 if test "$enableval" = yes; then
6210 wx_cv_use_ipv6='wxUSE_IPV6=yes'
6212 wx_cv_use_ipv6='wxUSE_IPV6=no'
6217 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
6222 eval "$wx_cv_use_ipv6"
6224 if test x
"$enablestring" = xdisable
; then
6225 if test $wxUSE_IPV6 = no
; then
6234 { echo "$as_me:$LINENO: result: $result" >&5
6235 echo "${ECHO_T}$result" >&6; }
6239 defaultval
=$wxUSE_ALL_FEATURES
6240 if test -z "$defaultval"; then
6241 if test x
"$enablestring" = xdisable
; then
6248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
6249 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
6250 # Check whether --enable-ole was given.
6251 if test "${enable_ole+set}" = set; then
6252 enableval
=$enable_ole;
6253 if test "$enableval" = yes; then
6254 wx_cv_use_ole
='wxUSE_OLE=yes'
6256 wx_cv_use_ole
='wxUSE_OLE=no'
6261 wx_cv_use_ole
='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
6266 eval "$wx_cv_use_ole"
6268 if test x"$enablestring" = xdisable; then
6269 if test $wxUSE_OLE = no; then
6278 { echo "$as_me:$LINENO: result: $result" >&5
6279 echo "${ECHO_T}$result" >&6; }
6283 defaultval=$wxUSE_ALL_FEATURES
6284 if test -z "$defaultval"; then
6285 if test x"$enablestring" = xdisable; then
6292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6294 # Check whether --enable-dataobj was given.
6295 if test "${enable_dataobj+set}" = set; then
6296 enableval=$enable_dataobj;
6297 if test "$enableval" = yes; then
6298 wx_cv_use_dataobj='wxUSE_DATAOBJ
=yes'
6300 wx_cv_use_dataobj='wxUSE_DATAOBJ
=no
'
6305 wx_cv_use_dataobj='wxUSE_DATAOBJ
=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6310 eval "$wx_cv_use_dataobj"
6312 if test x"$enablestring" = xdisable; then
6313 if test $wxUSE_DATAOBJ = no; then
6319 result=$wxUSE_DATAOBJ
6322 { echo "$as_me:$LINENO: result
: $result" >&5
6323 echo "${ECHO_T}$result" >&6; }
6328 defaultval=$wxUSE_ALL_FEATURES
6329 if test -z "$defaultval"; then
6330 if test x"$enablestring" = xdisable; then
6337 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ipc" >&5
6338 echo $ECHO_N "checking
for --${enablestring:-enable}-ipc...
$ECHO_C" >&6; }
6339 # Check whether --enable-ipc was given.
6340 if test "${enable_ipc+set}" = set; then
6341 enableval=$enable_ipc;
6342 if test "$enableval" = yes; then
6343 wx_cv_use_ipc='wxUSE_IPC=yes'
6345 wx_cv_use_ipc='wxUSE_IPC=no'
6350 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6355 eval "$wx_cv_use_ipc"
6357 if test x
"$enablestring" = xdisable
; then
6358 if test $wxUSE_IPC = no
; then
6367 { echo "$as_me:$LINENO: result: $result" >&5
6368 echo "${ECHO_T}$result" >&6; }
6373 defaultval
=$wxUSE_ALL_FEATURES
6374 if test -z "$defaultval"; then
6375 if test x
"$enablestring" = xdisable
; then
6382 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6383 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6384 # Check whether --enable-baseevtloop was given.
6385 if test "${enable_baseevtloop+set}" = set; then
6386 enableval
=$enable_baseevtloop;
6387 if test "$enableval" = yes; then
6388 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=yes'
6390 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=no'
6395 wx_cv_use_baseevtloop
='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6400 eval "$wx_cv_use_baseevtloop"
6402 if test x"$enablestring" = xdisable; then
6403 if test $wxUSE_CONSOLE_EVENTLOOP = no; then
6409 result=$wxUSE_CONSOLE_EVENTLOOP
6412 { echo "$as_me:$LINENO: result: $result" >&5
6413 echo "${ECHO_T}$result" >&6; }
6417 defaultval=$wxUSE_ALL_FEATURES
6418 if test -z "$defaultval"; then
6419 if test x"$enablestring" = xdisable; then
6426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6427 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6428 # Check whether --enable-epollloop was given.
6429 if test "${enable_epollloop+set}" = set; then
6430 enableval=$enable_epollloop;
6431 if test "$enableval" = yes; then
6432 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=yes'
6434 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=no
'
6439 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER
=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6444 eval "$wx_cv_use_epollloop"
6446 if test x"$enablestring" = xdisable; then
6447 if test $wxUSE_EPOLL_DISPATCHER = no; then
6453 result=$wxUSE_EPOLL_DISPATCHER
6456 { echo "$as_me:$LINENO: result
: $result" >&5
6457 echo "${ECHO_T}$result" >&6; }
6461 defaultval=$wxUSE_ALL_FEATURES
6462 if test -z "$defaultval"; then
6463 if test x"$enablestring" = xdisable; then
6470 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-selectloop" >&5
6471 echo $ECHO_N "checking
for --${enablestring:-enable}-selectloop...
$ECHO_C" >&6; }
6472 # Check whether --enable-selectloop was given.
6473 if test "${enable_selectloop+set}" = set; then
6474 enableval=$enable_selectloop;
6475 if test "$enableval" = yes; then
6476 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6478 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6483 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6488 eval "$wx_cv_use_selectloop"
6490 if test x
"$enablestring" = xdisable
; then
6491 if test $wxUSE_SELECT_DISPATCHER = no
; then
6497 result
=$wxUSE_SELECT_DISPATCHER
6500 { echo "$as_me:$LINENO: result: $result" >&5
6501 echo "${ECHO_T}$result" >&6; }
6506 defaultval
=$wxUSE_ALL_FEATURES
6507 if test -z "$defaultval"; then
6508 if test x
"$enablestring" = xdisable
; then
6515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-any" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-any... $ECHO_C" >&6; }
6517 # Check whether --enable-any was given.
6518 if test "${enable_any+set}" = set; then
6519 enableval
=$enable_any;
6520 if test "$enableval" = yes; then
6521 wx_cv_use_any
='wxUSE_ANY=yes'
6523 wx_cv_use_any
='wxUSE_ANY=no'
6528 wx_cv_use_any
='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
6533 eval "$wx_cv_use_any"
6535 if test x"$enablestring" = xdisable; then
6536 if test $wxUSE_ANY = no; then
6545 { echo "$as_me:$LINENO: result: $result" >&5
6546 echo "${ECHO_T}$result" >&6; }
6550 defaultval=$wxUSE_ALL_FEATURES
6551 if test -z "$defaultval"; then
6552 if test x"$enablestring" = xdisable; then
6559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6561 # Check whether --enable-apple_ieee was given.
6562 if test "${enable_apple_ieee+set}" = set; then
6563 enableval=$enable_apple_ieee;
6564 if test "$enableval" = yes; then
6565 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=yes'
6567 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=no
'
6572 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE
=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6577 eval "$wx_cv_use_apple_ieee"
6579 if test x"$enablestring" = xdisable; then
6580 if test $wxUSE_APPLE_IEEE = no; then
6586 result=$wxUSE_APPLE_IEEE
6589 { echo "$as_me:$LINENO: result
: $result" >&5
6590 echo "${ECHO_T}$result" >&6; }
6594 defaultval=$wxUSE_ALL_FEATURES
6595 if test -z "$defaultval"; then
6596 if test x"$enablestring" = xdisable; then
6603 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-arcstream" >&5
6604 echo $ECHO_N "checking
for --${enablestring:-enable}-arcstream...
$ECHO_C" >&6; }
6605 # Check whether --enable-arcstream was given.
6606 if test "${enable_arcstream+set}" = set; then
6607 enableval=$enable_arcstream;
6608 if test "$enableval" = yes; then
6609 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6611 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6616 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6621 eval "$wx_cv_use_arcstream"
6623 if test x
"$enablestring" = xdisable
; then
6624 if test $wxUSE_ARCHIVE_STREAMS = no
; then
6630 result
=$wxUSE_ARCHIVE_STREAMS
6633 { echo "$as_me:$LINENO: result: $result" >&5
6634 echo "${ECHO_T}$result" >&6; }
6638 defaultval
=$wxUSE_ALL_FEATURES
6639 if test -z "$defaultval"; then
6640 if test x
"$enablestring" = xdisable
; then
6647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6649 # Check whether --enable-base64 was given.
6650 if test "${enable_base64+set}" = set; then
6651 enableval
=$enable_base64;
6652 if test "$enableval" = yes; then
6653 wx_cv_use_base64
='wxUSE_BASE64=yes'
6655 wx_cv_use_base64
='wxUSE_BASE64=no'
6660 wx_cv_use_base64
='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6665 eval "$wx_cv_use_base64"
6667 if test x"$enablestring" = xdisable; then
6668 if test $wxUSE_BASE64 = no; then
6674 result=$wxUSE_BASE64
6677 { echo "$as_me:$LINENO: result: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6682 defaultval=$wxUSE_ALL_FEATURES
6683 if test -z "$defaultval"; then
6684 if test x"$enablestring" = xdisable; then
6691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6693 # Check whether --enable-backtrace was given.
6694 if test "${enable_backtrace+set}" = set; then
6695 enableval=$enable_backtrace;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_backtrace='wxUSE_STACKWALKER
=yes'
6699 wx_cv_use_backtrace='wxUSE_STACKWALKER
=no
'
6704 wx_cv_use_backtrace='wxUSE_STACKWALKER
=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6709 eval "$wx_cv_use_backtrace"
6711 if test x"$enablestring" = xdisable; then
6712 if test $wxUSE_STACKWALKER = no; then
6718 result=$wxUSE_STACKWALKER
6721 { echo "$as_me:$LINENO: result
: $result" >&5
6722 echo "${ECHO_T}$result" >&6; }
6726 defaultval=$wxUSE_ALL_FEATURES
6727 if test -z "$defaultval"; then
6728 if test x"$enablestring" = xdisable; then
6735 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-catch_segvs" >&5
6736 echo $ECHO_N "checking
for --${enablestring:-enable}-catch_segvs...
$ECHO_C" >&6; }
6737 # Check whether --enable-catch_segvs was given.
6738 if test "${enable_catch_segvs+set}" = set; then
6739 enableval=$enable_catch_segvs;
6740 if test "$enableval" = yes; then
6741 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6743 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6748 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6753 eval "$wx_cv_use_catch_segvs"
6755 if test x
"$enablestring" = xdisable
; then
6756 if test $wxUSE_ON_FATAL_EXCEPTION = no
; then
6762 result
=$wxUSE_ON_FATAL_EXCEPTION
6765 { echo "$as_me:$LINENO: result: $result" >&5
6766 echo "${ECHO_T}$result" >&6; }
6770 defaultval
=$wxUSE_ALL_FEATURES
6771 if test -z "$defaultval"; then
6772 if test x
"$enablestring" = xdisable
; then
6779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6780 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6781 # Check whether --enable-cmdline was given.
6782 if test "${enable_cmdline+set}" = set; then
6783 enableval
=$enable_cmdline;
6784 if test "$enableval" = yes; then
6785 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
6787 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
6792 wx_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6797 eval "$wx_cv_use_cmdline"
6799 if test x"$enablestring" = xdisable; then
6800 if test $wxUSE_CMDLINE_PARSER = no; then
6806 result=$wxUSE_CMDLINE_PARSER
6809 { echo "$as_me:$LINENO: result: $result" >&5
6810 echo "${ECHO_T}$result" >&6; }
6814 defaultval=$wxUSE_ALL_FEATURES
6815 if test -z "$defaultval"; then
6816 if test x"$enablestring" = xdisable; then
6823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6825 # Check whether --enable-datetime was given.
6826 if test "${enable_datetime+set}" = set; then
6827 enableval=$enable_datetime;
6828 if test "$enableval" = yes; then
6829 wx_cv_use_datetime='wxUSE_DATETIME
=yes'
6831 wx_cv_use_datetime='wxUSE_DATETIME
=no
'
6836 wx_cv_use_datetime='wxUSE_DATETIME
=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6841 eval "$wx_cv_use_datetime"
6843 if test x"$enablestring" = xdisable; then
6844 if test $wxUSE_DATETIME = no; then
6850 result=$wxUSE_DATETIME
6853 { echo "$as_me:$LINENO: result
: $result" >&5
6854 echo "${ECHO_T}$result" >&6; }
6858 defaultval=$wxUSE_ALL_FEATURES
6859 if test -z "$defaultval"; then
6860 if test x"$enablestring" = xdisable; then
6867 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-debugreport" >&5
6868 echo $ECHO_N "checking
for --${enablestring:-enable}-debugreport...
$ECHO_C" >&6; }
6869 # Check whether --enable-debugreport was given.
6870 if test "${enable_debugreport+set}" = set; then
6871 enableval=$enable_debugreport;
6872 if test "$enableval" = yes; then
6873 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6875 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6880 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6885 eval "$wx_cv_use_debugreport"
6887 if test x
"$enablestring" = xdisable
; then
6888 if test $wxUSE_DEBUGREPORT = no
; then
6894 result
=$wxUSE_DEBUGREPORT
6897 { echo "$as_me:$LINENO: result: $result" >&5
6898 echo "${ECHO_T}$result" >&6; }
6902 defaultval
=$wxUSE_ALL_FEATURES
6903 if test -z "$defaultval"; then
6904 if test x
"$enablestring" = xdisable
; then
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6913 # Check whether --enable-dialupman was given.
6914 if test "${enable_dialupman+set}" = set; then
6915 enableval
=$enable_dialupman;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
6919 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
6924 wx_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6929 eval "$wx_cv_use_dialupman"
6931 if test x"$enablestring" = xdisable; then
6932 if test $wxUSE_DIALUP_MANAGER = no; then
6938 result=$wxUSE_DIALUP_MANAGER
6941 { echo "$as_me:$LINENO: result: $result" >&5
6942 echo "${ECHO_T}$result" >&6; }
6946 defaultval=$wxUSE_ALL_FEATURES
6947 if test -z "$defaultval"; then
6948 if test x"$enablestring" = xdisable; then
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6957 # Check whether --enable-dynlib was given.
6958 if test "${enable_dynlib+set}" = set; then
6959 enableval=$enable_dynlib;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=yes'
6963 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=no
'
6968 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS
=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6973 eval "$wx_cv_use_dynlib"
6975 if test x"$enablestring" = xdisable; then
6976 if test $wxUSE_DYNLIB_CLASS = no; then
6982 result=$wxUSE_DYNLIB_CLASS
6985 { echo "$as_me:$LINENO: result
: $result" >&5
6986 echo "${ECHO_T}$result" >&6; }
6990 defaultval=$wxUSE_ALL_FEATURES
6991 if test -z "$defaultval"; then
6992 if test x"$enablestring" = xdisable; then
6999 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dynamicloader" >&5
7000 echo $ECHO_N "checking
for --${enablestring:-enable}-dynamicloader...
$ECHO_C" >&6; }
7001 # Check whether --enable-dynamicloader was given.
7002 if test "${enable_dynamicloader+set}" = set; then
7003 enableval=$enable_dynamicloader;
7004 if test "$enableval" = yes; then
7005 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
7007 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
7012 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
7017 eval "$wx_cv_use_dynamicloader"
7019 if test x
"$enablestring" = xdisable
; then
7020 if test $wxUSE_DYNAMIC_LOADER = no
; then
7026 result
=$wxUSE_DYNAMIC_LOADER
7029 { echo "$as_me:$LINENO: result: $result" >&5
7030 echo "${ECHO_T}$result" >&6; }
7034 defaultval
=$wxUSE_ALL_FEATURES
7035 if test -z "$defaultval"; then
7036 if test x
"$enablestring" = xdisable
; then
7043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
7044 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
7045 # Check whether --enable-exceptions was given.
7046 if test "${enable_exceptions+set}" = set; then
7047 enableval
=$enable_exceptions;
7048 if test "$enableval" = yes; then
7049 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=yes'
7051 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=no'
7056 wx_cv_use_exceptions
='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
7061 eval "$wx_cv_use_exceptions"
7063 if test x"$enablestring" = xdisable; then
7064 if test $wxUSE_EXCEPTIONS = no; then
7070 result=$wxUSE_EXCEPTIONS
7073 { echo "$as_me:$LINENO: result: $result" >&5
7074 echo "${ECHO_T}$result" >&6; }
7078 defaultval=$wxUSE_ALL_FEATURES
7079 if test -z "$defaultval"; then
7080 if test x"$enablestring" = xdisable; then
7087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
7089 # Check whether --enable-ffile was given.
7090 if test "${enable_ffile+set}" = set; then
7091 enableval=$enable_ffile;
7092 if test "$enableval" = yes; then
7093 wx_cv_use_ffile='wxUSE_FFILE
=yes'
7095 wx_cv_use_ffile='wxUSE_FFILE
=no
'
7100 wx_cv_use_ffile='wxUSE_FFILE
=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
7105 eval "$wx_cv_use_ffile"
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_FFILE = no; then
7117 { echo "$as_me:$LINENO: result
: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7131 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-file" >&5
7132 echo $ECHO_N "checking
for --${enablestring:-enable}-file...
$ECHO_C" >&6; }
7133 # Check whether --enable-file was given.
7134 if test "${enable_file+set}" = set; then
7135 enableval=$enable_file;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_file='wxUSE_FILE=yes'
7139 wx_cv_use_file='wxUSE_FILE=no'
7144 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
7149 eval "$wx_cv_use_file"
7151 if test x
"$enablestring" = xdisable
; then
7152 if test $wxUSE_FILE = no
; then
7161 { echo "$as_me:$LINENO: result: $result" >&5
7162 echo "${ECHO_T}$result" >&6; }
7166 defaultval
=$wxUSE_ALL_FEATURES
7167 if test -z "$defaultval"; then
7168 if test x
"$enablestring" = xdisable
; then
7175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filehistory" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-filehistory... $ECHO_C" >&6; }
7177 # Check whether --enable-filehistory was given.
7178 if test "${enable_filehistory+set}" = set; then
7179 enableval
=$enable_filehistory;
7180 if test "$enableval" = yes; then
7181 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=yes'
7183 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=no'
7188 wx_cv_use_filehistory
='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
7193 eval "$wx_cv_use_filehistory"
7195 if test x"$enablestring" = xdisable; then
7196 if test $wxUSE_FILE_HISTORY = no; then
7202 result=$wxUSE_FILE_HISTORY
7205 { echo "$as_me:$LINENO: result: $result" >&5
7206 echo "${ECHO_T}$result" >&6; }
7210 defaultval=$wxUSE_ALL_FEATURES
7211 if test -z "$defaultval"; then
7212 if test x"$enablestring" = xdisable; then
7219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
7221 # Check whether --enable-filesystem was given.
7222 if test "${enable_filesystem+set}" = set; then
7223 enableval=$enable_filesystem;
7224 if test "$enableval" = yes; then
7225 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=yes'
7227 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=no
'
7232 wx_cv_use_filesystem='wxUSE_FILESYSTEM
=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
7237 eval "$wx_cv_use_filesystem"
7239 if test x"$enablestring" = xdisable; then
7240 if test $wxUSE_FILESYSTEM = no; then
7246 result=$wxUSE_FILESYSTEM
7249 { echo "$as_me:$LINENO: result
: $result" >&5
7250 echo "${ECHO_T}$result" >&6; }
7254 defaultval=$wxUSE_ALL_FEATURES
7255 if test -z "$defaultval"; then
7256 if test x"$enablestring" = xdisable; then
7263 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontenum" >&5
7264 echo $ECHO_N "checking
for --${enablestring:-enable}-fontenum...
$ECHO_C" >&6; }
7265 # Check whether --enable-fontenum was given.
7266 if test "${enable_fontenum+set}" = set; then
7267 enableval=$enable_fontenum;
7268 if test "$enableval" = yes; then
7269 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
7271 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
7276 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
7281 eval "$wx_cv_use_fontenum"
7283 if test x
"$enablestring" = xdisable
; then
7284 if test $wxUSE_FONTENUM = no
; then
7290 result
=$wxUSE_FONTENUM
7293 { echo "$as_me:$LINENO: result: $result" >&5
7294 echo "${ECHO_T}$result" >&6; }
7298 defaultval
=$wxUSE_ALL_FEATURES
7299 if test -z "$defaultval"; then
7300 if test x
"$enablestring" = xdisable
; then
7307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
7309 # Check whether --enable-fontmap was given.
7310 if test "${enable_fontmap+set}" = set; then
7311 enableval
=$enable_fontmap;
7312 if test "$enableval" = yes; then
7313 wx_cv_use_fontmap
='wxUSE_FONTMAP=yes'
7315 wx_cv_use_fontmap
='wxUSE_FONTMAP=no'
7320 wx_cv_use_fontmap
='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
7325 eval "$wx_cv_use_fontmap"
7327 if test x"$enablestring" = xdisable; then
7328 if test $wxUSE_FONTMAP = no; then
7334 result=$wxUSE_FONTMAP
7337 { echo "$as_me:$LINENO: result: $result" >&5
7338 echo "${ECHO_T}$result" >&6; }
7342 defaultval=$wxUSE_ALL_FEATURES
7343 if test -z "$defaultval"; then
7344 if test x"$enablestring" = xdisable; then
7351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7353 # Check whether --enable-fs_archive was given.
7354 if test "${enable_fs_archive+set}" = set; then
7355 enableval=$enable_fs_archive;
7356 if test "$enableval" = yes; then
7357 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=yes'
7359 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=no
'
7364 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE
=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7369 eval "$wx_cv_use_fs_archive"
7371 if test x"$enablestring" = xdisable; then
7372 if test $wxUSE_FS_ARCHIVE = no; then
7378 result=$wxUSE_FS_ARCHIVE
7381 { echo "$as_me:$LINENO: result
: $result" >&5
7382 echo "${ECHO_T}$result" >&6; }
7386 defaultval=$wxUSE_ALL_FEATURES
7387 if test -z "$defaultval"; then
7388 if test x"$enablestring" = xdisable; then
7395 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fs_inet" >&5
7396 echo $ECHO_N "checking
for --${enablestring:-enable}-fs_inet...
$ECHO_C" >&6; }
7397 # Check whether --enable-fs_inet was given.
7398 if test "${enable_fs_inet+set}" = set; then
7399 enableval=$enable_fs_inet;
7400 if test "$enableval" = yes; then
7401 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7403 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7408 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7413 eval "$wx_cv_use_fs_inet"
7415 if test x
"$enablestring" = xdisable
; then
7416 if test $wxUSE_FS_INET = no
; then
7422 result
=$wxUSE_FS_INET
7425 { echo "$as_me:$LINENO: result: $result" >&5
7426 echo "${ECHO_T}$result" >&6; }
7430 defaultval
=$wxUSE_ALL_FEATURES
7431 if test -z "$defaultval"; then
7432 if test x
"$enablestring" = xdisable
; then
7439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7440 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7441 # Check whether --enable-fs_zip was given.
7442 if test "${enable_fs_zip+set}" = set; then
7443 enableval
=$enable_fs_zip;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
7447 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
7452 wx_cv_use_fs_zip
='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7457 eval "$wx_cv_use_fs_zip"
7459 if test x"$enablestring" = xdisable; then
7460 if test $wxUSE_FS_ZIP = no; then
7466 result=$wxUSE_FS_ZIP
7469 { echo "$as_me:$LINENO: result: $result" >&5
7470 echo "${ECHO_T}$result" >&6; }
7474 defaultval=$wxUSE_ALL_FEATURES
7475 if test -z "$defaultval"; then
7476 if test x"$enablestring" = xdisable; then
7483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fswatcher" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-fswatcher... $ECHO_C" >&6; }
7485 # Check whether --enable-fswatcher was given.
7486 if test "${enable_fswatcher+set}" = set; then
7487 enableval=$enable_fswatcher;
7488 if test "$enableval" = yes; then
7489 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=yes'
7491 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=no
'
7496 wx_cv_use_fswatcher='wxUSE_FSWATCHER
=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
7501 eval "$wx_cv_use_fswatcher"
7503 if test x"$enablestring" = xdisable; then
7504 if test $wxUSE_FSWATCHER = no; then
7510 result=$wxUSE_FSWATCHER
7513 { echo "$as_me:$LINENO: result
: $result" >&5
7514 echo "${ECHO_T}$result" >&6; }
7518 defaultval=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x"$enablestring" = xdisable; then
7527 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-geometry" >&5
7528 echo $ECHO_N "checking
for --${enablestring:-enable}-geometry...
$ECHO_C" >&6; }
7529 # Check whether --enable-geometry was given.
7530 if test "${enable_geometry+set}" = set; then
7531 enableval=$enable_geometry;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7535 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7540 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7545 eval "$wx_cv_use_geometry"
7547 if test x
"$enablestring" = xdisable
; then
7548 if test $wxUSE_GEOMETRY = no
; then
7554 result
=$wxUSE_GEOMETRY
7557 { echo "$as_me:$LINENO: result: $result" >&5
7558 echo "${ECHO_T}$result" >&6; }
7562 defaultval
=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x
"$enablestring" = xdisable
; then
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7573 # Check whether --enable-log was given.
7574 if test "${enable_log+set}" = set; then
7575 enableval
=$enable_log;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_log
='wxUSE_LOG=yes'
7579 wx_cv_use_log
='wxUSE_LOG=no'
7584 wx_cv_use_log
='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7589 eval "$wx_cv_use_log"
7591 if test x"$enablestring" = xdisable; then
7592 if test $wxUSE_LOG = no; then
7601 { echo "$as_me:$LINENO: result: $result" >&5
7602 echo "${ECHO_T}$result" >&6; }
7606 defaultval=$wxUSE_ALL_FEATURES
7607 if test -z "$defaultval"; then
7608 if test x"$enablestring" = xdisable; then
7615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7616 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7617 # Check whether --enable-longlong was given.
7618 if test "${enable_longlong+set}" = set; then
7619 enableval=$enable_longlong;
7620 if test "$enableval" = yes; then
7621 wx_cv_use_longlong='wxUSE_LONGLONG
=yes'
7623 wx_cv_use_longlong='wxUSE_LONGLONG
=no
'
7628 wx_cv_use_longlong='wxUSE_LONGLONG
=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7633 eval "$wx_cv_use_longlong"
7635 if test x"$enablestring" = xdisable; then
7636 if test $wxUSE_LONGLONG = no; then
7642 result=$wxUSE_LONGLONG
7645 { echo "$as_me:$LINENO: result
: $result" >&5
7646 echo "${ECHO_T}$result" >&6; }
7650 defaultval=$wxUSE_ALL_FEATURES
7651 if test -z "$defaultval"; then
7652 if test x"$enablestring" = xdisable; then
7659 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mimetype" >&5
7660 echo $ECHO_N "checking
for --${enablestring:-enable}-mimetype...
$ECHO_C" >&6; }
7661 # Check whether --enable-mimetype was given.
7662 if test "${enable_mimetype+set}" = set; then
7663 enableval=$enable_mimetype;
7664 if test "$enableval" = yes; then
7665 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7667 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7672 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7677 eval "$wx_cv_use_mimetype"
7679 if test x
"$enablestring" = xdisable
; then
7680 if test $wxUSE_MIMETYPE = no
; then
7686 result
=$wxUSE_MIMETYPE
7689 { echo "$as_me:$LINENO: result: $result" >&5
7690 echo "${ECHO_T}$result" >&6; }
7694 defaultval
=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x
"$enablestring" = xdisable
; then
7703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7705 # Check whether --enable-printfposparam was given.
7706 if test "${enable_printfposparam+set}" = set; then
7707 enableval
=$enable_printfposparam;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=yes'
7711 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=no'
7716 wx_cv_use_printfposparam
='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7721 eval "$wx_cv_use_printfposparam"
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_PRINTF_POS_PARAMS = no; then
7730 result=$wxUSE_PRINTF_POS_PARAMS
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7749 # Check whether --enable-snglinst was given.
7750 if test "${enable_snglinst+set}" = set; then
7751 enableval=$enable_snglinst;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=yes'
7755 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=no
'
7760 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER
=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7765 eval "$wx_cv_use_snglinst"
7767 if test x"$enablestring" = xdisable; then
7768 if test $wxUSE_SNGLINST_CHECKER = no; then
7774 result=$wxUSE_SNGLINST_CHECKER
7777 { echo "$as_me:$LINENO: result
: $result" >&5
7778 echo "${ECHO_T}$result" >&6; }
7782 defaultval=$wxUSE_ALL_FEATURES
7783 if test -z "$defaultval"; then
7784 if test x"$enablestring" = xdisable; then
7791 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sound" >&5
7792 echo $ECHO_N "checking
for --${enablestring:-enable}-sound...
$ECHO_C" >&6; }
7793 # Check whether --enable-sound was given.
7794 if test "${enable_sound+set}" = set; then
7795 enableval=$enable_sound;
7796 if test "$enableval" = yes; then
7797 wx_cv_use_sound='wxUSE_SOUND=yes'
7799 wx_cv_use_sound='wxUSE_SOUND=no'
7804 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7809 eval "$wx_cv_use_sound"
7811 if test x
"$enablestring" = xdisable
; then
7812 if test $wxUSE_SOUND = no
; then
7821 { echo "$as_me:$LINENO: result: $result" >&5
7822 echo "${ECHO_T}$result" >&6; }
7826 defaultval
=$wxUSE_ALL_FEATURES
7827 if test -z "$defaultval"; then
7828 if test x
"$enablestring" = xdisable
; then
7835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7837 # Check whether --enable-stdpaths was given.
7838 if test "${enable_stdpaths+set}" = set; then
7839 enableval
=$enable_stdpaths;
7840 if test "$enableval" = yes; then
7841 wx_cv_use_stdpaths
='wxUSE_STDPATHS=yes'
7843 wx_cv_use_stdpaths
='wxUSE_STDPATHS=no'
7848 wx_cv_use_stdpaths
='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7853 eval "$wx_cv_use_stdpaths"
7855 if test x"$enablestring" = xdisable; then
7856 if test $wxUSE_STDPATHS = no; then
7862 result=$wxUSE_STDPATHS
7865 { echo "$as_me:$LINENO: result: $result" >&5
7866 echo "${ECHO_T}$result" >&6; }
7870 defaultval=$wxUSE_ALL_FEATURES
7871 if test -z "$defaultval"; then
7872 if test x"$enablestring" = xdisable; then
7879 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7880 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7881 # Check whether --enable-stopwatch was given.
7882 if test "${enable_stopwatch+set}" = set; then
7883 enableval=$enable_stopwatch;
7884 if test "$enableval" = yes; then
7885 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=yes'
7887 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=no
'
7892 wx_cv_use_stopwatch='wxUSE_STOPWATCH
=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7897 eval "$wx_cv_use_stopwatch"
7899 if test x"$enablestring" = xdisable; then
7900 if test $wxUSE_STOPWATCH = no; then
7906 result=$wxUSE_STOPWATCH
7909 { echo "$as_me:$LINENO: result
: $result" >&5
7910 echo "${ECHO_T}$result" >&6; }
7914 defaultval=$wxUSE_ALL_FEATURES
7915 if test -z "$defaultval"; then
7916 if test x"$enablestring" = xdisable; then
7923 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-streams" >&5
7924 echo $ECHO_N "checking
for --${enablestring:-enable}-streams...
$ECHO_C" >&6; }
7925 # Check whether --enable-streams was given.
7926 if test "${enable_streams+set}" = set; then
7927 enableval=$enable_streams;
7928 if test "$enableval" = yes; then
7929 wx_cv_use_streams='wxUSE_STREAMS=yes'
7931 wx_cv_use_streams='wxUSE_STREAMS=no'
7936 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7941 eval "$wx_cv_use_streams"
7943 if test x
"$enablestring" = xdisable
; then
7944 if test $wxUSE_STREAMS = no
; then
7950 result
=$wxUSE_STREAMS
7953 { echo "$as_me:$LINENO: result: $result" >&5
7954 echo "${ECHO_T}$result" >&6; }
7958 defaultval
=$wxUSE_ALL_FEATURES
7959 if test -z "$defaultval"; then
7960 if test x
"$enablestring" = xdisable
; then
7967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sysoptions" >&5
7968 echo $ECHO_N "checking for --${enablestring:-enable}-sysoptions... $ECHO_C" >&6; }
7969 # Check whether --enable-sysoptions was given.
7970 if test "${enable_sysoptions+set}" = set; then
7971 enableval
=$enable_sysoptions;
7972 if test "$enableval" = yes; then
7973 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=yes'
7975 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=no'
7980 wx_cv_use_sysoptions
='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7985 eval "$wx_cv_use_sysoptions"
7987 if test x"$enablestring" = xdisable; then
7988 if test $wxUSE_SYSTEM_OPTIONS = no; then
7994 result=$wxUSE_SYSTEM_OPTIONS
7997 { echo "$as_me:$LINENO: result: $result" >&5
7998 echo "${ECHO_T}$result" >&6; }
8002 defaultval=$wxUSE_ALL_FEATURES
8003 if test -z "$defaultval"; then
8004 if test x"$enablestring" = xdisable; then
8011 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
8012 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
8013 # Check whether --enable-tarstream was given.
8014 if test "${enable_tarstream+set}" = set; then
8015 enableval=$enable_tarstream;
8016 if test "$enableval" = yes; then
8017 wx_cv_use_tarstream='wxUSE_TARSTREAM
=yes'
8019 wx_cv_use_tarstream='wxUSE_TARSTREAM
=no
'
8024 wx_cv_use_tarstream='wxUSE_TARSTREAM
=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
8029 eval "$wx_cv_use_tarstream"
8031 if test x"$enablestring" = xdisable; then
8032 if test $wxUSE_TARSTREAM = no; then
8038 result=$wxUSE_TARSTREAM
8041 { echo "$as_me:$LINENO: result
: $result" >&5
8042 echo "${ECHO_T}$result" >&6; }
8046 defaultval=$wxUSE_ALL_FEATURES
8047 if test -z "$defaultval"; then
8048 if test x"$enablestring" = xdisable; then
8055 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-textbuf" >&5
8056 echo $ECHO_N "checking
for --${enablestring:-enable}-textbuf...
$ECHO_C" >&6; }
8057 # Check whether --enable-textbuf was given.
8058 if test "${enable_textbuf+set}" = set; then
8059 enableval=$enable_textbuf;
8060 if test "$enableval" = yes; then
8061 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
8063 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
8068 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
8073 eval "$wx_cv_use_textbuf"
8075 if test x
"$enablestring" = xdisable
; then
8076 if test $wxUSE_TEXTBUFFER = no
; then
8082 result
=$wxUSE_TEXTBUFFER
8085 { echo "$as_me:$LINENO: result: $result" >&5
8086 echo "${ECHO_T}$result" >&6; }
8090 defaultval
=$wxUSE_ALL_FEATURES
8091 if test -z "$defaultval"; then
8092 if test x
"$enablestring" = xdisable
; then
8099 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
8100 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
8101 # Check whether --enable-textfile was given.
8102 if test "${enable_textfile+set}" = set; then
8103 enableval
=$enable_textfile;
8104 if test "$enableval" = yes; then
8105 wx_cv_use_textfile
='wxUSE_TEXTFILE=yes'
8107 wx_cv_use_textfile
='wxUSE_TEXTFILE=no'
8112 wx_cv_use_textfile
='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
8117 eval "$wx_cv_use_textfile"
8119 if test x"$enablestring" = xdisable; then
8120 if test $wxUSE_TEXTFILE = no; then
8126 result=$wxUSE_TEXTFILE
8129 { echo "$as_me:$LINENO: result: $result" >&5
8130 echo "${ECHO_T}$result" >&6; }
8134 defaultval=$wxUSE_ALL_FEATURES
8135 if test -z "$defaultval"; then
8136 if test x"$enablestring" = xdisable; then
8143 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
8145 # Check whether --enable-timer was given.
8146 if test "${enable_timer+set}" = set; then
8147 enableval=$enable_timer;
8148 if test "$enableval" = yes; then
8149 wx_cv_use_timer='wxUSE_TIMER
=yes'
8151 wx_cv_use_timer='wxUSE_TIMER
=no
'
8156 wx_cv_use_timer='wxUSE_TIMER
=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
8161 eval "$wx_cv_use_timer"
8163 if test x"$enablestring" = xdisable; then
8164 if test $wxUSE_TIMER = no; then
8173 { echo "$as_me:$LINENO: result
: $result" >&5
8174 echo "${ECHO_T}$result" >&6; }
8178 defaultval=$wxUSE_ALL_FEATURES
8179 if test -z "$defaultval"; then
8180 if test x"$enablestring" = xdisable; then
8187 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-variant" >&5
8188 echo $ECHO_N "checking
for --${enablestring:-enable}-variant...
$ECHO_C" >&6; }
8189 # Check whether --enable-variant was given.
8190 if test "${enable_variant+set}" = set; then
8191 enableval=$enable_variant;
8192 if test "$enableval" = yes; then
8193 wx_cv_use_variant='wxUSE_VARIANT=yes'
8195 wx_cv_use_variant='wxUSE_VARIANT=no'
8200 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
8205 eval "$wx_cv_use_variant"
8207 if test x
"$enablestring" = xdisable
; then
8208 if test $wxUSE_VARIANT = no
; then
8214 result
=$wxUSE_VARIANT
8217 { echo "$as_me:$LINENO: result: $result" >&5
8218 echo "${ECHO_T}$result" >&6; }
8222 defaultval
=$wxUSE_ALL_FEATURES
8223 if test -z "$defaultval"; then
8224 if test x
"$enablestring" = xdisable
; then
8231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
8233 # Check whether --enable-zipstream was given.
8234 if test "${enable_zipstream+set}" = set; then
8235 enableval
=$enable_zipstream;
8236 if test "$enableval" = yes; then
8237 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
8239 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
8244 wx_cv_use_zipstream
='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
8249 eval "$wx_cv_use_zipstream"
8251 if test x"$enablestring" = xdisable; then
8252 if test $wxUSE_ZIPSTREAM = no; then
8258 result=$wxUSE_ZIPSTREAM
8261 { echo "$as_me:$LINENO: result: $result" >&5
8262 echo "${ECHO_T}$result" >&6; }
8267 defaultval=$wxUSE_ALL_FEATURES
8268 if test -z "$defaultval"; then
8269 if test x"$enablestring" = xdisable; then
8276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
8278 # Check whether --enable-url was given.
8279 if test "${enable_url+set}" = set; then
8280 enableval=$enable_url;
8281 if test "$enableval" = yes; then
8282 wx_cv_use_url='wxUSE_URL
=yes'
8284 wx_cv_use_url='wxUSE_URL
=no
'
8289 wx_cv_use_url='wxUSE_URL
=${'DEFAULT_wxUSE_URL":-$defaultval}"
8294 eval "$wx_cv_use_url"
8296 if test x"$enablestring" = xdisable; then
8297 if test $wxUSE_URL = no; then
8306 { echo "$as_me:$LINENO: result
: $result" >&5
8307 echo "${ECHO_T}$result" >&6; }
8311 defaultval=$wxUSE_ALL_FEATURES
8312 if test -z "$defaultval"; then
8313 if test x"$enablestring" = xdisable; then
8320 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol" >&5
8321 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol...
$ECHO_C" >&6; }
8322 # Check whether --enable-protocol was given.
8323 if test "${enable_protocol+set}" = set; then
8324 enableval=$enable_protocol;
8325 if test "$enableval" = yes; then
8326 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
8328 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
8333 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
8338 eval "$wx_cv_use_protocol"
8340 if test x
"$enablestring" = xdisable
; then
8341 if test $wxUSE_PROTOCOL = no
; then
8347 result
=$wxUSE_PROTOCOL
8350 { echo "$as_me:$LINENO: result: $result" >&5
8351 echo "${ECHO_T}$result" >&6; }
8355 defaultval
=$wxUSE_ALL_FEATURES
8356 if test -z "$defaultval"; then
8357 if test x
"$enablestring" = xdisable
; then
8364 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8365 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8366 # Check whether --enable-protocol_http was given.
8367 if test "${enable_protocol_http+set}" = set; then
8368 enableval
=$enable_protocol_http;
8369 if test "$enableval" = yes; then
8370 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
8372 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
8377 wx_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8382 eval "$wx_cv_use_protocol_http"
8384 if test x"$enablestring" = xdisable; then
8385 if test $wxUSE_PROTOCOL_HTTP = no; then
8391 result=$wxUSE_PROTOCOL_HTTP
8394 { echo "$as_me:$LINENO: result: $result" >&5
8395 echo "${ECHO_T}$result" >&6; }
8399 defaultval=$wxUSE_ALL_FEATURES
8400 if test -z "$defaultval"; then
8401 if test x"$enablestring" = xdisable; then
8408 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8409 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8410 # Check whether --enable-protocol_ftp was given.
8411 if test "${enable_protocol_ftp+set}" = set; then
8412 enableval=$enable_protocol_ftp;
8413 if test "$enableval" = yes; then
8414 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=yes'
8416 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=no
'
8421 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP
=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8426 eval "$wx_cv_use_protocol_ftp"
8428 if test x"$enablestring" = xdisable; then
8429 if test $wxUSE_PROTOCOL_FTP = no; then
8435 result=$wxUSE_PROTOCOL_FTP
8438 { echo "$as_me:$LINENO: result
: $result" >&5
8439 echo "${ECHO_T}$result" >&6; }
8443 defaultval=$wxUSE_ALL_FEATURES
8444 if test -z "$defaultval"; then
8445 if test x"$enablestring" = xdisable; then
8452 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-protocol_file" >&5
8453 echo $ECHO_N "checking
for --${enablestring:-enable}-protocol_file...
$ECHO_C" >&6; }
8454 # Check whether --enable-protocol_file was given.
8455 if test "${enable_protocol_file+set}" = set; then
8456 enableval=$enable_protocol_file;
8457 if test "$enableval" = yes; then
8458 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8460 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8465 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8470 eval "$wx_cv_use_protocol_file"
8472 if test x
"$enablestring" = xdisable
; then
8473 if test $wxUSE_PROTOCOL_FILE = no
; then
8479 result
=$wxUSE_PROTOCOL_FILE
8482 { echo "$as_me:$LINENO: result: $result" >&5
8483 echo "${ECHO_T}$result" >&6; }
8488 defaultval
=$wxUSE_ALL_FEATURES
8489 if test -z "$defaultval"; then
8490 if test x
"$enablestring" = xdisable
; then
8497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8498 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8499 # Check whether --enable-threads was given.
8500 if test "${enable_threads+set}" = set; then
8501 enableval
=$enable_threads;
8502 if test "$enableval" = yes; then
8503 wx_cv_use_threads
='wxUSE_THREADS=yes'
8505 wx_cv_use_threads
='wxUSE_THREADS=no'
8510 wx_cv_use_threads
='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8515 eval "$wx_cv_use_threads"
8517 if test x"$enablestring" = xdisable; then
8518 if test $wxUSE_THREADS = no; then
8524 result=$wxUSE_THREADS
8527 { echo "$as_me:$LINENO: result: $result" >&5
8528 echo "${ECHO_T}$result" >&6; }
8534 if test -z "$defaultval"; then
8535 if test x"$enablestring" = xdisable; then
8542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8543 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8544 # Check whether --enable-iniconf was given.
8545 if test "${enable_iniconf+set}" = set; then
8546 enableval=$enable_iniconf;
8547 if test "$enableval" = yes; then
8548 wx_cv_use_iniconf='wxUSE_INICONF
=yes'
8550 wx_cv_use_iniconf='wxUSE_INICONF
=no
'
8555 wx_cv_use_iniconf='wxUSE_INICONF
=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8560 eval "$wx_cv_use_iniconf"
8562 if test x"$enablestring" = xdisable; then
8563 if test $wxUSE_INICONF = no; then
8569 result=$wxUSE_INICONF
8572 { echo "$as_me:$LINENO: result
: $result" >&5
8573 echo "${ECHO_T}$result" >&6; }
8577 defaultval=$wxUSE_ALL_FEATURES
8578 if test -z "$defaultval"; then
8579 if test x"$enablestring" = xdisable; then
8586 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-regkey" >&5
8587 echo $ECHO_N "checking
for --${enablestring:-enable}-regkey...
$ECHO_C" >&6; }
8588 # Check whether --enable-regkey was given.
8589 if test "${enable_regkey+set}" = set; then
8590 enableval=$enable_regkey;
8591 if test "$enableval" = yes; then
8592 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8594 wx_cv_use_regkey='wxUSE_REGKEY=no'
8599 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8604 eval "$wx_cv_use_regkey"
8606 if test x
"$enablestring" = xdisable
; then
8607 if test $wxUSE_REGKEY = no
; then
8613 result
=$wxUSE_REGKEY
8616 { echo "$as_me:$LINENO: result: $result" >&5
8617 echo "${ECHO_T}$result" >&6; }
8620 if test "$wxUSE_GUI" = "yes"; then
8625 defaultval
=$wxUSE_ALL_FEATURES
8626 if test -z "$defaultval"; then
8627 if test x
"$enablestring" = xdisable
; then
8634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8636 # Check whether --enable-docview was given.
8637 if test "${enable_docview+set}" = set; then
8638 enableval
=$enable_docview;
8639 if test "$enableval" = yes; then
8640 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8642 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8647 wx_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8652 eval "$wx_cv_use_docview"
8654 if test x"$enablestring" = xdisable; then
8655 if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
8661 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8664 { echo "$as_me:$LINENO: result: $result" >&5
8665 echo "${ECHO_T}$result" >&6; }
8669 defaultval=$wxUSE_ALL_FEATURES
8670 if test -z "$defaultval"; then
8671 if test x"$enablestring" = xdisable; then
8678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8679 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8680 # Check whether --enable-help was given.
8681 if test "${enable_help+set}" = set; then
8682 enableval=$enable_help;
8683 if test "$enableval" = yes; then
8684 wx_cv_use_help='wxUSE_HELP
=yes'
8686 wx_cv_use_help='wxUSE_HELP
=no
'
8691 wx_cv_use_help='wxUSE_HELP
=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8696 eval "$wx_cv_use_help"
8698 if test x"$enablestring" = xdisable; then
8699 if test $wxUSE_HELP = no; then
8708 { echo "$as_me:$LINENO: result
: $result" >&5
8709 echo "${ECHO_T}$result" >&6; }
8713 defaultval=$wxUSE_ALL_FEATURES
8714 if test -z "$defaultval"; then
8715 if test x"$enablestring" = xdisable; then
8722 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mshtmlhelp" >&5
8723 echo $ECHO_N "checking
for --${enablestring:-enable}-mshtmlhelp...
$ECHO_C" >&6; }
8724 # Check whether --enable-mshtmlhelp was given.
8725 if test "${enable_mshtmlhelp+set}" = set; then
8726 enableval=$enable_mshtmlhelp;
8727 if test "$enableval" = yes; then
8728 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8730 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8735 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8740 eval "$wx_cv_use_mshtmlhelp"
8742 if test x
"$enablestring" = xdisable
; then
8743 if test $wxUSE_MS_HTML_HELP = no
; then
8749 result
=$wxUSE_MS_HTML_HELP
8752 { echo "$as_me:$LINENO: result: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8757 defaultval
=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x
"$enablestring" = xdisable
; then
8766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8768 # Check whether --enable-html was given.
8769 if test "${enable_html+set}" = set; then
8770 enableval
=$enable_html;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_html
='wxUSE_HTML=yes'
8774 wx_cv_use_html
='wxUSE_HTML=no'
8779 wx_cv_use_html
='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8784 eval "$wx_cv_use_html"
8786 if test x"$enablestring" = xdisable; then
8787 if test $wxUSE_HTML = no; then
8796 { echo "$as_me:$LINENO: result: $result" >&5
8797 echo "${ECHO_T}$result" >&6; }
8801 defaultval=$wxUSE_ALL_FEATURES
8802 if test -z "$defaultval"; then
8803 if test x"$enablestring" = xdisable; then
8810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8812 # Check whether --enable-htmlhelp was given.
8813 if test "${enable_htmlhelp+set}" = set; then
8814 enableval=$enable_htmlhelp;
8815 if test "$enableval" = yes; then
8816 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=yes'
8818 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=no
'
8823 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP
=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8828 eval "$wx_cv_use_htmlhelp"
8830 if test x"$enablestring" = xdisable; then
8831 if test $wxUSE_WXHTML_HELP = no; then
8837 result=$wxUSE_WXHTML_HELP
8840 { echo "$as_me:$LINENO: result
: $result" >&5
8841 echo "${ECHO_T}$result" >&6; }
8845 defaultval=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x"$enablestring" = xdisable; then
8854 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xrc" >&5
8855 echo $ECHO_N "checking
for --${enablestring:-enable}-xrc...
$ECHO_C" >&6; }
8856 # Check whether --enable-xrc was given.
8857 if test "${enable_xrc+set}" = set; then
8858 enableval=$enable_xrc;
8859 if test "$enableval" = yes; then
8860 wx_cv_use_xrc='wxUSE_XRC=yes'
8862 wx_cv_use_xrc='wxUSE_XRC=no'
8867 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8872 eval "$wx_cv_use_xrc"
8874 if test x
"$enablestring" = xdisable
; then
8875 if test $wxUSE_XRC = no
; then
8884 { echo "$as_me:$LINENO: result: $result" >&5
8885 echo "${ECHO_T}$result" >&6; }
8889 defaultval
=$wxUSE_ALL_FEATURES
8890 if test -z "$defaultval"; then
8891 if test x
"$enablestring" = xdisable
; then
8898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8900 # Check whether --enable-aui was given.
8901 if test "${enable_aui+set}" = set; then
8902 enableval
=$enable_aui;
8903 if test "$enableval" = yes; then
8904 wx_cv_use_aui
='wxUSE_AUI=yes'
8906 wx_cv_use_aui
='wxUSE_AUI=no'
8911 wx_cv_use_aui
='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8916 eval "$wx_cv_use_aui"
8918 if test x"$enablestring" = xdisable; then
8919 if test $wxUSE_AUI = no; then
8928 { echo "$as_me:$LINENO: result: $result" >&5
8929 echo "${ECHO_T}$result" >&6; }
8933 defaultval=$wxUSE_ALL_FEATURES
8934 if test -z "$defaultval"; then
8935 if test x"$enablestring" = xdisable; then
8942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-propgrid" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-propgrid... $ECHO_C" >&6; }
8944 # Check whether --enable-propgrid was given.
8945 if test "${enable_propgrid+set}" = set; then
8946 enableval=$enable_propgrid;
8947 if test "$enableval" = yes; then
8948 wx_cv_use_propgrid='wxUSE_PROPGRID
=yes'
8950 wx_cv_use_propgrid='wxUSE_PROPGRID
=no
'
8955 wx_cv_use_propgrid='wxUSE_PROPGRID
=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
8960 eval "$wx_cv_use_propgrid"
8962 if test x"$enablestring" = xdisable; then
8963 if test $wxUSE_PROPGRID = no; then
8969 result=$wxUSE_PROPGRID
8972 { echo "$as_me:$LINENO: result
: $result" >&5
8973 echo "${ECHO_T}$result" >&6; }
8977 defaultval=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x"$enablestring" = xdisable; then
8986 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ribbon" >&5
8987 echo $ECHO_N "checking
for --${enablestring:-enable}-ribbon...
$ECHO_C" >&6; }
8988 # Check whether --enable-ribbon was given.
8989 if test "${enable_ribbon+set}" = set; then
8990 enableval=$enable_ribbon;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_ribbon='wxUSE_RIBBON=yes'
8994 wx_cv_use_ribbon='wxUSE_RIBBON=no'
8999 wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
9004 eval "$wx_cv_use_ribbon"
9006 if test x
"$enablestring" = xdisable
; then
9007 if test $wxUSE_RIBBON = no
; then
9013 result
=$wxUSE_RIBBON
9016 { echo "$as_me:$LINENO: result: $result" >&5
9017 echo "${ECHO_T}$result" >&6; }
9021 defaultval
=$wxUSE_ALL_FEATURES
9022 if test -z "$defaultval"; then
9023 if test x
"$enablestring" = xdisable
; then
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
9032 # Check whether --enable-stc was given.
9033 if test "${enable_stc+set}" = set; then
9034 enableval
=$enable_stc;
9035 if test "$enableval" = yes; then
9036 wx_cv_use_stc
='wxUSE_STC=yes'
9038 wx_cv_use_stc
='wxUSE_STC=no'
9043 wx_cv_use_stc
='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
9048 eval "$wx_cv_use_stc"
9050 if test x"$enablestring" = xdisable; then
9051 if test $wxUSE_STC = no; then
9060 { echo "$as_me:$LINENO: result: $result" >&5
9061 echo "${ECHO_T}$result" >&6; }
9065 defaultval=$wxUSE_ALL_FEATURES
9066 if test -z "$defaultval"; then
9067 if test x"$enablestring" = xdisable; then
9074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
9076 # Check whether --enable-constraints was given.
9077 if test "${enable_constraints+set}" = set; then
9078 enableval=$enable_constraints;
9079 if test "$enableval" = yes; then
9080 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=yes'
9082 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=no
'
9087 wx_cv_use_constraints='wxUSE_CONSTRAINTS
=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
9092 eval "$wx_cv_use_constraints"
9094 if test x"$enablestring" = xdisable; then
9095 if test $wxUSE_CONSTRAINTS = no; then
9101 result=$wxUSE_CONSTRAINTS
9104 { echo "$as_me:$LINENO: result
: $result" >&5
9105 echo "${ECHO_T}$result" >&6; }
9109 defaultval=$wxUSE_ALL_FEATURES
9110 if test -z "$defaultval"; then
9111 if test x"$enablestring" = xdisable; then
9118 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-loggui" >&5
9119 echo $ECHO_N "checking
for --${enablestring:-enable}-loggui...
$ECHO_C" >&6; }
9120 # Check whether --enable-loggui was given.
9121 if test "${enable_loggui+set}" = set; then
9122 enableval=$enable_loggui;
9123 if test "$enableval" = yes; then
9124 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
9126 wx_cv_use_loggui='wxUSE_LOGGUI=no'
9131 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
9136 eval "$wx_cv_use_loggui"
9138 if test x
"$enablestring" = xdisable
; then
9139 if test $wxUSE_LOGGUI = no
; then
9145 result
=$wxUSE_LOGGUI
9148 { echo "$as_me:$LINENO: result: $result" >&5
9149 echo "${ECHO_T}$result" >&6; }
9153 defaultval
=$wxUSE_ALL_FEATURES
9154 if test -z "$defaultval"; then
9155 if test x
"$enablestring" = xdisable
; then
9162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
9164 # Check whether --enable-logwin was given.
9165 if test "${enable_logwin+set}" = set; then
9166 enableval
=$enable_logwin;
9167 if test "$enableval" = yes; then
9168 wx_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
9170 wx_cv_use_logwin
='wxUSE_LOGWINDOW=no'
9175 wx_cv_use_logwin
='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
9180 eval "$wx_cv_use_logwin"
9182 if test x"$enablestring" = xdisable; then
9183 if test $wxUSE_LOGWINDOW = no; then
9189 result=$wxUSE_LOGWINDOW
9192 { echo "$as_me:$LINENO: result: $result" >&5
9193 echo "${ECHO_T}$result" >&6; }
9197 defaultval=$wxUSE_ALL_FEATURES
9198 if test -z "$defaultval"; then
9199 if test x"$enablestring" = xdisable; then
9206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
9207 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
9208 # Check whether --enable-logdialog was given.
9209 if test "${enable_logdialog+set}" = set; then
9210 enableval=$enable_logdialog;
9211 if test "$enableval" = yes; then
9212 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=yes'
9214 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=no
'
9219 wx_cv_use_logdialog='wxUSE_LOGDIALOG
=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
9224 eval "$wx_cv_use_logdialog"
9226 if test x"$enablestring" = xdisable; then
9227 if test $wxUSE_LOGDIALOG = no; then
9233 result=$wxUSE_LOGDIALOG
9236 { echo "$as_me:$LINENO: result
: $result" >&5
9237 echo "${ECHO_T}$result" >&6; }
9241 defaultval=$wxUSE_ALL_FEATURES
9242 if test -z "$defaultval"; then
9243 if test x"$enablestring" = xdisable; then
9250 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mdi" >&5
9251 echo $ECHO_N "checking
for --${enablestring:-enable}-mdi...
$ECHO_C" >&6; }
9252 # Check whether --enable-mdi was given.
9253 if test "${enable_mdi+set}" = set; then
9254 enableval=$enable_mdi;
9255 if test "$enableval" = yes; then
9256 wx_cv_use_mdi='wxUSE_MDI=yes'
9258 wx_cv_use_mdi='wxUSE_MDI=no'
9263 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
9268 eval "$wx_cv_use_mdi"
9270 if test x
"$enablestring" = xdisable
; then
9271 if test $wxUSE_MDI = no
; then
9280 { echo "$as_me:$LINENO: result: $result" >&5
9281 echo "${ECHO_T}$result" >&6; }
9285 defaultval
=$wxUSE_ALL_FEATURES
9286 if test -z "$defaultval"; then
9287 if test x
"$enablestring" = xdisable
; then
9294 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
9296 # Check whether --enable-mdidoc was given.
9297 if test "${enable_mdidoc+set}" = set; then
9298 enableval
=$enable_mdidoc;
9299 if test "$enableval" = yes; then
9300 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=yes'
9302 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=no'
9307 wx_cv_use_mdidoc
='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
9312 eval "$wx_cv_use_mdidoc"
9314 if test x"$enablestring" = xdisable; then
9315 if test $wxUSE_MDI_ARCHITECTURE = no; then
9321 result=$wxUSE_MDI_ARCHITECTURE
9324 { echo "$as_me:$LINENO: result: $result" >&5
9325 echo "${ECHO_T}$result" >&6; }
9329 defaultval=$wxUSE_ALL_FEATURES
9330 if test -z "$defaultval"; then
9331 if test x"$enablestring" = xdisable; then
9338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
9339 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
9340 # Check whether --enable-mediactrl was given.
9341 if test "${enable_mediactrl+set}" = set; then
9342 enableval=$enable_mediactrl;
9343 if test "$enableval" = yes; then
9344 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=yes'
9346 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=no
'
9351 wx_cv_use_mediactrl='wxUSE_MEDIACTRL
=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
9356 eval "$wx_cv_use_mediactrl"
9358 if test x"$enablestring" = xdisable; then
9359 if test $wxUSE_MEDIACTRL = no; then
9365 result=$wxUSE_MEDIACTRL
9368 { echo "$as_me:$LINENO: result
: $result" >&5
9369 echo "${ECHO_T}$result" >&6; }
9373 defaultval=$wxUSE_ALL_FEATURES
9374 if test -z "$defaultval"; then
9375 if test x"$enablestring" = xdisable; then
9382 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-gstreamer8" >&5
9383 echo $ECHO_N "checking
for --${enablestring:-enable}-gstreamer8...
$ECHO_C" >&6; }
9384 # Check whether --enable-gstreamer8 was given.
9385 if test "${enable_gstreamer8+set}" = set; then
9386 enableval=$enable_gstreamer8;
9387 if test "$enableval" = yes; then
9388 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
9390 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
9395 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
9400 eval "$wx_cv_use_gstreamer8"
9402 if test x
"$enablestring" = xdisable
; then
9403 if test $wxUSE_GSTREAMER8 = no
; then
9409 result
=$wxUSE_GSTREAMER8
9412 { echo "$as_me:$LINENO: result: $result" >&5
9413 echo "${ECHO_T}$result" >&6; }
9417 defaultval
=$wxUSE_ALL_FEATURES
9418 if test -z "$defaultval"; then
9419 if test x
"$enablestring" = xdisable
; then
9426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
9427 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
9428 # Check whether --enable-richtext was given.
9429 if test "${enable_richtext+set}" = set; then
9430 enableval
=$enable_richtext;
9431 if test "$enableval" = yes; then
9432 wx_cv_use_richtext
='wxUSE_RICHTEXT=yes'
9434 wx_cv_use_richtext
='wxUSE_RICHTEXT=no'
9439 wx_cv_use_richtext
='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9444 eval "$wx_cv_use_richtext"
9446 if test x"$enablestring" = xdisable; then
9447 if test $wxUSE_RICHTEXT = no; then
9453 result=$wxUSE_RICHTEXT
9456 { echo "$as_me:$LINENO: result: $result" >&5
9457 echo "${ECHO_T}$result" >&6; }
9461 defaultval=$wxUSE_ALL_FEATURES
9462 if test -z "$defaultval"; then
9463 if test x"$enablestring" = xdisable; then
9470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9472 # Check whether --enable-postscript was given.
9473 if test "${enable_postscript+set}" = set; then
9474 enableval=$enable_postscript;
9475 if test "$enableval" = yes; then
9476 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=yes'
9478 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=no
'
9483 wx_cv_use_postscript='wxUSE_POSTSCRIPT
=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9488 eval "$wx_cv_use_postscript"
9490 if test x"$enablestring" = xdisable; then
9491 if test $wxUSE_POSTSCRIPT = no; then
9497 result=$wxUSE_POSTSCRIPT
9500 { echo "$as_me:$LINENO: result
: $result" >&5
9501 echo "${ECHO_T}$result" >&6; }
9505 defaultval=$wxUSE_ALL_FEATURES
9506 if test -z "$defaultval"; then
9507 if test x"$enablestring" = xdisable; then
9514 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-printarch" >&5
9515 echo $ECHO_N "checking
for --${enablestring:-enable}-printarch...
$ECHO_C" >&6; }
9516 # Check whether --enable-printarch was given.
9517 if test "${enable_printarch+set}" = set; then
9518 enableval=$enable_printarch;
9519 if test "$enableval" = yes; then
9520 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9522 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9527 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9532 eval "$wx_cv_use_printarch"
9534 if test x
"$enablestring" = xdisable
; then
9535 if test $wxUSE_PRINTING_ARCHITECTURE = no
; then
9541 result
=$wxUSE_PRINTING_ARCHITECTURE
9544 { echo "$as_me:$LINENO: result: $result" >&5
9545 echo "${ECHO_T}$result" >&6; }
9549 defaultval
=$wxUSE_ALL_FEATURES
9550 if test -z "$defaultval"; then
9551 if test x
"$enablestring" = xdisable
; then
9558 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9559 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9560 # Check whether --enable-svg was given.
9561 if test "${enable_svg+set}" = set; then
9562 enableval
=$enable_svg;
9563 if test "$enableval" = yes; then
9564 wx_cv_use_svg
='wxUSE_SVG=yes'
9566 wx_cv_use_svg
='wxUSE_SVG=no'
9571 wx_cv_use_svg
='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9576 eval "$wx_cv_use_svg"
9578 if test x"$enablestring" = xdisable; then
9579 if test $wxUSE_SVG = no; then
9588 { echo "$as_me:$LINENO: result: $result" >&5
9589 echo "${ECHO_T}$result" >&6; }
9593 defaultval=$wxUSE_ALL_FEATURES
9594 if test -z "$defaultval"; then
9595 if test x"$enablestring" = xdisable; then
9602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
9603 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
9604 # Check whether --enable-webkit was given.
9605 if test "${enable_webkit+set}" = set; then
9606 enableval=$enable_webkit;
9607 if test "$enableval" = yes; then
9608 wx_cv_use_webkit='wxUSE_WEBKIT
=yes'
9610 wx_cv_use_webkit='wxUSE_WEBKIT
=no
'
9615 wx_cv_use_webkit='wxUSE_WEBKIT
=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
9620 eval "$wx_cv_use_webkit"
9622 if test x"$enablestring" = xdisable; then
9623 if test $wxUSE_WEBKIT = no; then
9629 result=$wxUSE_WEBKIT
9632 { echo "$as_me:$LINENO: result
: $result" >&5
9633 echo "${ECHO_T}$result" >&6; }
9637 defaultval=$wxUSE_ALL_FEATURES
9638 if test -z "$defaultval"; then
9639 if test x"$enablestring" = xdisable; then
9646 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-webview" >&5
9647 echo $ECHO_N "checking
for --${enablestring:-enable}-webview...
$ECHO_C" >&6; }
9648 # Check whether --enable-webview was given.
9649 if test "${enable_webview+set}" = set; then
9650 enableval=$enable_webview;
9651 if test "$enableval" = yes; then
9652 wx_cv_use_webview='wxUSE_WEBVIEW=yes'
9654 wx_cv_use_webview='wxUSE_WEBVIEW=no'
9659 wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
9664 eval "$wx_cv_use_webview"
9666 if test x
"$enablestring" = xdisable
; then
9667 if test $wxUSE_WEBVIEW = no
; then
9673 result
=$wxUSE_WEBVIEW
9676 { echo "$as_me:$LINENO: result: $result" >&5
9677 echo "${ECHO_T}$result" >&6; }
9680 if test "$wxUSE_MAC" != 1; then
9683 defaultval
=$wxUSE_ALL_FEATURES
9684 if test -z "$defaultval"; then
9685 if test x
"$enablestring" = xdisable
; then
9692 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9693 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9694 # Check whether --enable-graphics_ctx was given.
9695 if test "${enable_graphics_ctx+set}" = set; then
9696 enableval
=$enable_graphics_ctx;
9697 if test "$enableval" = yes; then
9698 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=yes'
9700 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=no'
9705 wx_cv_use_graphics_ctx
='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9710 eval "$wx_cv_use_graphics_ctx"
9712 if test x"$enablestring" = xdisable; then
9713 if test $wxUSE_GRAPHICS_CONTEXT = no; then
9719 result=$wxUSE_GRAPHICS_CONTEXT
9722 { echo "$as_me:$LINENO: result: $result" >&5
9723 echo "${ECHO_T}$result" >&6; }
9730 defaultval=$wxUSE_ALL_FEATURES
9731 if test -z "$defaultval"; then
9732 if test x"$enablestring" = xdisable; then
9739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9740 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9741 # Check whether --enable-clipboard was given.
9742 if test "${enable_clipboard+set}" = set; then
9743 enableval=$enable_clipboard;
9744 if test "$enableval" = yes; then
9745 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=yes'
9747 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=no
'
9752 wx_cv_use_clipboard='wxUSE_CLIPBOARD
=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9757 eval "$wx_cv_use_clipboard"
9759 if test x"$enablestring" = xdisable; then
9760 if test $wxUSE_CLIPBOARD = no; then
9766 result=$wxUSE_CLIPBOARD
9769 { echo "$as_me:$LINENO: result
: $result" >&5
9770 echo "${ECHO_T}$result" >&6; }
9774 defaultval=$wxUSE_ALL_FEATURES
9775 if test -z "$defaultval"; then
9776 if test x"$enablestring" = xdisable; then
9783 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dnd" >&5
9784 echo $ECHO_N "checking
for --${enablestring:-enable}-dnd...
$ECHO_C" >&6; }
9785 # Check whether --enable-dnd was given.
9786 if test "${enable_dnd+set}" = set; then
9787 enableval=$enable_dnd;
9788 if test "$enableval" = yes; then
9789 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9791 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9796 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9801 eval "$wx_cv_use_dnd"
9803 if test x
"$enablestring" = xdisable
; then
9804 if test $wxUSE_DRAG_AND_DROP = no
; then
9810 result
=$wxUSE_DRAG_AND_DROP
9813 { echo "$as_me:$LINENO: result: $result" >&5
9814 echo "${ECHO_T}$result" >&6; }
9818 DEFAULT_wxUSE_CONTROLS
=none
9820 enablestring
=disable
9822 if test -z "$defaultval"; then
9823 if test x
"$enablestring" = xdisable
; then
9830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9831 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9832 # Check whether --enable-controls was given.
9833 if test "${enable_controls+set}" = set; then
9834 enableval
=$enable_controls;
9835 if test "$enableval" = yes; then
9836 wx_cv_use_controls
='wxUSE_CONTROLS=yes'
9838 wx_cv_use_controls
='wxUSE_CONTROLS=no'
9843 wx_cv_use_controls
='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9848 eval "$wx_cv_use_controls"
9850 if test x"$enablestring" = xdisable; then
9851 if test $wxUSE_CONTROLS = no; then
9857 result=$wxUSE_CONTROLS
9860 { echo "$as_me:$LINENO: result: $result" >&5
9861 echo "${ECHO_T}$result" >&6; }
9864 if test "$wxUSE_CONTROLS" = "no"; then
9865 DEFAULT_wxUSE_ACCEL=no
9866 DEFAULT_wxUSE_ANIMATIONCTRL=no
9867 DEFAULT_wxUSE_BANNERWINDOW=no
9868 DEFAULT_wxUSE_BMPBUTTON=no
9869 DEFAULT_wxUSE_BUTTON=no
9870 DEFAULT_wxUSE_CALCTRL=no
9871 DEFAULT_wxUSE_CARET=no
9872 DEFAULT_wxUSE_CHECKBOX=no
9873 DEFAULT_wxUSE_CHECKLISTBOX=no
9874 DEFAULT_wxUSE_CHOICE=no
9875 DEFAULT_wxUSE_CHOICEBOOK=no
9876 DEFAULT_wxUSE_COLLPANE=no
9877 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9878 DEFAULT_wxUSE_COMBOBOX=no
9879 DEFAULT_wxUSE_COMBOBOX=no
9880 DEFAULT_wxUSE_COMMANDLINKBUTTON=no
9881 DEFAULT_wxUSE_DATAVIEWCTRL=no
9882 DEFAULT_wxUSE_DATEPICKCTRL=no
9883 DEFAULT_wxUSE_DETECT_SM=no
9884 DEFAULT_wxUSE_DIRPICKERCTRL=no
9885 DEFAULT_wxUSE_DISPLAY=no
9886 DEFAULT_wxUSE_FILECTRL=no
9887 DEFAULT_wxUSE_FILEPICKERCTRL=no
9888 DEFAULT_wxUSE_FONTPICKERCTRL=no
9889 DEFAULT_wxUSE_GAUGE=no
9890 DEFAULT_wxUSE_GRID=no
9891 DEFAULT_wxUSE_HEADERCTRL=no
9892 DEFAULT_wxUSE_HYPERLINKCTRL=no
9893 DEFAULT_wxUSE_IMAGLIST=no
9894 DEFAULT_wxUSE_LISTBOOK=no
9895 DEFAULT_wxUSE_LISTBOX=no
9896 DEFAULT_wxUSE_LISTCTRL=no
9897 DEFAULT_wxUSE_MARKUP=no
9898 DEFAULT_wxUSE_NOTEBOOK=no
9899 DEFAULT_wxUSE_POPUPWIN=no
9900 DEFAULT_wxUSE_RADIOBOX=no
9901 DEFAULT_wxUSE_RADIOBTN=no
9902 DEFAULT_wxUSE_RICHMSGDLG=no
9903 DEFAULT_wxUSE_REARRANGECTRL=no
9904 DEFAULT_wxUSE_SASH=no
9905 DEFAULT_wxUSE_SCROLLBAR=no
9906 DEFAULT_wxUSE_SEARCHCTRL=no
9907 DEFAULT_wxUSE_SLIDER=no
9908 DEFAULT_wxUSE_SPINBTN=no
9909 DEFAULT_wxUSE_SPINCTRL=no
9910 DEFAULT_wxUSE_SPLITTER=no
9911 DEFAULT_wxUSE_STATBMP=no
9912 DEFAULT_wxUSE_STATBOX=no
9913 DEFAULT_wxUSE_STATLINE=no
9914 DEFAULT_wxUSE_STATUSBAR=no
9915 DEFAULT_wxUSE_TIMEPICKCTRL=no
9916 DEFAULT_wxUSE_TIPWINDOW=no
9917 DEFAULT_wxUSE_TOGGLEBTN=no
9918 DEFAULT_wxUSE_TOOLBAR=no
9919 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9920 DEFAULT_wxUSE_TOOLBOOK=no
9921 DEFAULT_wxUSE_TOOLTIPS=no
9922 DEFAULT_wxUSE_TREEBOOK=no
9923 DEFAULT_wxUSE_TREECTRL=no
9924 DEFAULT_wxUSE_TREELISTCTRL=no
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-markup" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-markup... $ECHO_C" >&6; }
9940 # Check whether --enable-markup was given.
9941 if test "${enable_markup+set}" = set; then
9942 enableval=$enable_markup;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_markup='wxUSE_MARKUP
=yes'
9946 wx_cv_use_markup='wxUSE_MARKUP
=no
'
9951 wx_cv_use_markup='wxUSE_MARKUP
=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
9956 eval "$wx_cv_use_markup"
9958 if test x"$enablestring" = xdisable; then
9959 if test $wxUSE_MARKUP = no; then
9965 result=$wxUSE_MARKUP
9968 { echo "$as_me:$LINENO: result
: $result" >&5
9969 echo "${ECHO_T}$result" >&6; }
9974 defaultval=$wxUSE_ALL_FEATURES
9975 if test -z "$defaultval"; then
9976 if test x"$enablestring" = xdisable; then
9983 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-accel" >&5
9984 echo $ECHO_N "checking
for --${enablestring:-enable}-accel...
$ECHO_C" >&6; }
9985 # Check whether --enable-accel was given.
9986 if test "${enable_accel+set}" = set; then
9987 enableval=$enable_accel;
9988 if test "$enableval" = yes; then
9989 wx_cv_use_accel='wxUSE_ACCEL=yes'
9991 wx_cv_use_accel='wxUSE_ACCEL=no'
9996 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
10001 eval "$wx_cv_use_accel"
10003 if test x
"$enablestring" = xdisable
; then
10004 if test $wxUSE_ACCEL = no
; then
10010 result
=$wxUSE_ACCEL
10013 { echo "$as_me:$LINENO: result: $result" >&5
10014 echo "${ECHO_T}$result" >&6; }
10018 defaultval
=$wxUSE_ALL_FEATURES
10019 if test -z "$defaultval"; then
10020 if test x
"$enablestring" = xdisable
; then
10027 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
10028 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
10029 # Check whether --enable-animatectrl was given.
10030 if test "${enable_animatectrl+set}" = set; then
10031 enableval
=$enable_animatectrl;
10032 if test "$enableval" = yes; then
10033 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=yes'
10035 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=no'
10040 wx_cv_use_animatectrl
='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
10045 eval "$wx_cv_use_animatectrl"
10047 if test x"$enablestring" = xdisable; then
10048 if test $wxUSE_ANIMATIONCTRL = no; then
10054 result=$wxUSE_ANIMATIONCTRL
10057 { echo "$as_me:$LINENO: result: $result" >&5
10058 echo "${ECHO_T}$result" >&6; }
10062 defaultval=$wxUSE_ALL_FEATURES
10063 if test -z "$defaultval"; then
10064 if test x"$enablestring" = xdisable; then
10071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bannerwindow" >&5
10072 echo $ECHO_N "checking for --${enablestring:-enable}-bannerwindow... $ECHO_C" >&6; }
10073 # Check whether --enable-bannerwindow was given.
10074 if test "${enable_bannerwindow+set}" = set; then
10075 enableval=$enable_bannerwindow;
10076 if test "$enableval" = yes; then
10077 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=yes'
10079 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=no
'
10084 wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW
=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
10089 eval "$wx_cv_use_bannerwindow"
10091 if test x"$enablestring" = xdisable; then
10092 if test $wxUSE_BANNERWINDOW = no; then
10098 result=$wxUSE_BANNERWINDOW
10101 { echo "$as_me:$LINENO: result
: $result" >&5
10102 echo "${ECHO_T}$result" >&6; }
10106 defaultval=$wxUSE_ALL_FEATURES
10107 if test -z "$defaultval"; then
10108 if test x"$enablestring" = xdisable; then
10115 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-artstd" >&5
10116 echo $ECHO_N "checking
for --${enablestring:-enable}-artstd...
$ECHO_C" >&6; }
10117 # Check whether --enable-artstd was given.
10118 if test "${enable_artstd+set}" = set; then
10119 enableval=$enable_artstd;
10120 if test "$enableval" = yes; then
10121 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
10123 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
10128 wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
10133 eval "$wx_cv_use_artstd"
10135 if test x
"$enablestring" = xdisable
; then
10136 if test $wxUSE_ARTPROVIDER_STD = no
; then
10142 result
=$wxUSE_ARTPROVIDER_STD
10145 { echo "$as_me:$LINENO: result: $result" >&5
10146 echo "${ECHO_T}$result" >&6; }
10150 defaultval
=$wxUSE_ALL_FEATURES
10151 if test -z "$defaultval"; then
10152 if test x
"$enablestring" = xdisable
; then
10159 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arttango" >&5
10160 echo $ECHO_N "checking for --${enablestring:-enable}-arttango... $ECHO_C" >&6; }
10161 # Check whether --enable-arttango was given.
10162 if test "${enable_arttango+set}" = set; then
10163 enableval
=$enable_arttango;
10164 if test "$enableval" = yes; then
10165 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=yes'
10167 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=no'
10172 wx_cv_use_arttango
='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
10177 eval "$wx_cv_use_arttango"
10179 if test x"$enablestring" = xdisable; then
10180 if test $wxUSE_ARTPROVIDER_TANGO = no; then
10186 result=$wxUSE_ARTPROVIDER_TANGO
10189 { echo "$as_me:$LINENO: result: $result" >&5
10190 echo "${ECHO_T}$result" >&6; }
10194 defaultval=$wxUSE_ALL_FEATURES
10195 if test -z "$defaultval"; then
10196 if test x"$enablestring" = xdisable; then
10203 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
10205 # Check whether --enable-bmpbutton was given.
10206 if test "${enable_bmpbutton+set}" = set; then
10207 enableval=$enable_bmpbutton;
10208 if test "$enableval" = yes; then
10209 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=yes'
10211 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=no
'
10216 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON
=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
10221 eval "$wx_cv_use_bmpbutton"
10223 if test x"$enablestring" = xdisable; then
10224 if test $wxUSE_BMPBUTTON = no; then
10230 result=$wxUSE_BMPBUTTON
10233 { echo "$as_me:$LINENO: result
: $result" >&5
10234 echo "${ECHO_T}$result" >&6; }
10238 defaultval=$wxUSE_ALL_FEATURES
10239 if test -z "$defaultval"; then
10240 if test x"$enablestring" = xdisable; then
10247 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-bmpcombobox" >&5
10248 echo $ECHO_N "checking
for --${enablestring:-enable}-bmpcombobox...
$ECHO_C" >&6; }
10249 # Check whether --enable-bmpcombobox was given.
10250 if test "${enable_bmpcombobox+set}" = set; then
10251 enableval=$enable_bmpcombobox;
10252 if test "$enableval" = yes; then
10253 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
10255 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
10260 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
10265 eval "$wx_cv_use_bmpcombobox"
10267 if test x
"$enablestring" = xdisable
; then
10268 if test $wxUSE_BITMAPCOMBOBOX = no
; then
10274 result
=$wxUSE_BITMAPCOMBOBOX
10277 { echo "$as_me:$LINENO: result: $result" >&5
10278 echo "${ECHO_T}$result" >&6; }
10282 defaultval
=$wxUSE_ALL_FEATURES
10283 if test -z "$defaultval"; then
10284 if test x
"$enablestring" = xdisable
; then
10291 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
10292 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
10293 # Check whether --enable-button was given.
10294 if test "${enable_button+set}" = set; then
10295 enableval
=$enable_button;
10296 if test "$enableval" = yes; then
10297 wx_cv_use_button
='wxUSE_BUTTON=yes'
10299 wx_cv_use_button
='wxUSE_BUTTON=no'
10304 wx_cv_use_button
='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
10309 eval "$wx_cv_use_button"
10311 if test x"$enablestring" = xdisable; then
10312 if test $wxUSE_BUTTON = no; then
10318 result=$wxUSE_BUTTON
10321 { echo "$as_me:$LINENO: result: $result" >&5
10322 echo "${ECHO_T}$result" >&6; }
10326 defaultval=$wxUSE_ALL_FEATURES
10327 if test -z "$defaultval"; then
10328 if test x"$enablestring" = xdisable; then
10335 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
10336 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
10337 # Check whether --enable-calendar was given.
10338 if test "${enable_calendar+set}" = set; then
10339 enableval=$enable_calendar;
10340 if test "$enableval" = yes; then
10341 wx_cv_use_calendar='wxUSE_CALCTRL
=yes'
10343 wx_cv_use_calendar='wxUSE_CALCTRL
=no
'
10348 wx_cv_use_calendar='wxUSE_CALCTRL
=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
10353 eval "$wx_cv_use_calendar"
10355 if test x"$enablestring" = xdisable; then
10356 if test $wxUSE_CALCTRL = no; then
10362 result=$wxUSE_CALCTRL
10365 { echo "$as_me:$LINENO: result
: $result" >&5
10366 echo "${ECHO_T}$result" >&6; }
10370 defaultval=$wxUSE_ALL_FEATURES
10371 if test -z "$defaultval"; then
10372 if test x"$enablestring" = xdisable; then
10379 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-caret" >&5
10380 echo $ECHO_N "checking
for --${enablestring:-enable}-caret...
$ECHO_C" >&6; }
10381 # Check whether --enable-caret was given.
10382 if test "${enable_caret+set}" = set; then
10383 enableval=$enable_caret;
10384 if test "$enableval" = yes; then
10385 wx_cv_use_caret='wxUSE_CARET=yes'
10387 wx_cv_use_caret='wxUSE_CARET=no'
10392 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
10397 eval "$wx_cv_use_caret"
10399 if test x
"$enablestring" = xdisable
; then
10400 if test $wxUSE_CARET = no
; then
10406 result
=$wxUSE_CARET
10409 { echo "$as_me:$LINENO: result: $result" >&5
10410 echo "${ECHO_T}$result" >&6; }
10414 defaultval
=$wxUSE_ALL_FEATURES
10415 if test -z "$defaultval"; then
10416 if test x
"$enablestring" = xdisable
; then
10423 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
10424 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
10425 # Check whether --enable-checkbox was given.
10426 if test "${enable_checkbox+set}" = set; then
10427 enableval
=$enable_checkbox;
10428 if test "$enableval" = yes; then
10429 wx_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
10431 wx_cv_use_checkbox
='wxUSE_CHECKBOX=no'
10436 wx_cv_use_checkbox
='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
10441 eval "$wx_cv_use_checkbox"
10443 if test x"$enablestring" = xdisable; then
10444 if test $wxUSE_CHECKBOX = no; then
10450 result=$wxUSE_CHECKBOX
10453 { echo "$as_me:$LINENO: result: $result" >&5
10454 echo "${ECHO_T}$result" >&6; }
10458 defaultval=$wxUSE_ALL_FEATURES
10459 if test -z "$defaultval"; then
10460 if test x"$enablestring" = xdisable; then
10467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
10468 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
10469 # Check whether --enable-checklst was given.
10470 if test "${enable_checklst+set}" = set; then
10471 enableval=$enable_checklst;
10472 if test "$enableval" = yes; then
10473 wx_cv_use_checklst='wxUSE_CHECKLST
=yes'
10475 wx_cv_use_checklst='wxUSE_CHECKLST
=no
'
10480 wx_cv_use_checklst='wxUSE_CHECKLST
=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
10485 eval "$wx_cv_use_checklst"
10487 if test x"$enablestring" = xdisable; then
10488 if test $wxUSE_CHECKLST = no; then
10494 result=$wxUSE_CHECKLST
10497 { echo "$as_me:$LINENO: result
: $result" >&5
10498 echo "${ECHO_T}$result" >&6; }
10502 defaultval=$wxUSE_ALL_FEATURES
10503 if test -z "$defaultval"; then
10504 if test x"$enablestring" = xdisable; then
10511 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-choice" >&5
10512 echo $ECHO_N "checking
for --${enablestring:-enable}-choice...
$ECHO_C" >&6; }
10513 # Check whether --enable-choice was given.
10514 if test "${enable_choice+set}" = set; then
10515 enableval=$enable_choice;
10516 if test "$enableval" = yes; then
10517 wx_cv_use_choice='wxUSE_CHOICE=yes'
10519 wx_cv_use_choice='wxUSE_CHOICE=no'
10524 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
10529 eval "$wx_cv_use_choice"
10531 if test x
"$enablestring" = xdisable
; then
10532 if test $wxUSE_CHOICE = no
; then
10538 result
=$wxUSE_CHOICE
10541 { echo "$as_me:$LINENO: result: $result" >&5
10542 echo "${ECHO_T}$result" >&6; }
10546 defaultval
=$wxUSE_ALL_FEATURES
10547 if test -z "$defaultval"; then
10548 if test x
"$enablestring" = xdisable
; then
10555 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
10556 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
10557 # Check whether --enable-choicebook was given.
10558 if test "${enable_choicebook+set}" = set; then
10559 enableval
=$enable_choicebook;
10560 if test "$enableval" = yes; then
10561 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=yes'
10563 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=no'
10568 wx_cv_use_choicebook
='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
10573 eval "$wx_cv_use_choicebook"
10575 if test x"$enablestring" = xdisable; then
10576 if test $wxUSE_CHOICEBOOK = no; then
10582 result=$wxUSE_CHOICEBOOK
10585 { echo "$as_me:$LINENO: result: $result" >&5
10586 echo "${ECHO_T}$result" >&6; }
10590 defaultval=$wxUSE_ALL_FEATURES
10591 if test -z "$defaultval"; then
10592 if test x"$enablestring" = xdisable; then
10599 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
10600 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
10601 # Check whether --enable-collpane was given.
10602 if test "${enable_collpane+set}" = set; then
10603 enableval=$enable_collpane;
10604 if test "$enableval" = yes; then
10605 wx_cv_use_collpane='wxUSE_COLLPANE
=yes'
10607 wx_cv_use_collpane='wxUSE_COLLPANE
=no
'
10612 wx_cv_use_collpane='wxUSE_COLLPANE
=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
10617 eval "$wx_cv_use_collpane"
10619 if test x"$enablestring" = xdisable; then
10620 if test $wxUSE_COLLPANE = no; then
10626 result=$wxUSE_COLLPANE
10629 { echo "$as_me:$LINENO: result
: $result" >&5
10630 echo "${ECHO_T}$result" >&6; }
10634 defaultval=$wxUSE_ALL_FEATURES
10635 if test -z "$defaultval"; then
10636 if test x"$enablestring" = xdisable; then
10643 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-colourpicker" >&5
10644 echo $ECHO_N "checking
for --${enablestring:-enable}-colourpicker...
$ECHO_C" >&6; }
10645 # Check whether --enable-colourpicker was given.
10646 if test "${enable_colourpicker+set}" = set; then
10647 enableval=$enable_colourpicker;
10648 if test "$enableval" = yes; then
10649 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10651 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10656 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10661 eval "$wx_cv_use_colourpicker"
10663 if test x
"$enablestring" = xdisable
; then
10664 if test $wxUSE_COLOURPICKERCTRL = no
; then
10670 result
=$wxUSE_COLOURPICKERCTRL
10673 { echo "$as_me:$LINENO: result: $result" >&5
10674 echo "${ECHO_T}$result" >&6; }
10678 defaultval
=$wxUSE_ALL_FEATURES
10679 if test -z "$defaultval"; then
10680 if test x
"$enablestring" = xdisable
; then
10687 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10689 # Check whether --enable-combobox was given.
10690 if test "${enable_combobox+set}" = set; then
10691 enableval
=$enable_combobox;
10692 if test "$enableval" = yes; then
10693 wx_cv_use_combobox
='wxUSE_COMBOBOX=yes'
10695 wx_cv_use_combobox
='wxUSE_COMBOBOX=no'
10700 wx_cv_use_combobox
='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10705 eval "$wx_cv_use_combobox"
10707 if test x"$enablestring" = xdisable; then
10708 if test $wxUSE_COMBOBOX = no; then
10714 result=$wxUSE_COMBOBOX
10717 { echo "$as_me:$LINENO: result: $result" >&5
10718 echo "${ECHO_T}$result" >&6; }
10722 defaultval=$wxUSE_ALL_FEATURES
10723 if test -z "$defaultval"; then
10724 if test x"$enablestring" = xdisable; then
10731 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10732 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10733 # Check whether --enable-comboctrl was given.
10734 if test "${enable_comboctrl+set}" = set; then
10735 enableval=$enable_comboctrl;
10736 if test "$enableval" = yes; then
10737 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=yes'
10739 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=no
'
10744 wx_cv_use_comboctrl='wxUSE_COMBOCTRL
=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10749 eval "$wx_cv_use_comboctrl"
10751 if test x"$enablestring" = xdisable; then
10752 if test $wxUSE_COMBOCTRL = no; then
10758 result=$wxUSE_COMBOCTRL
10761 { echo "$as_me:$LINENO: result
: $result" >&5
10762 echo "${ECHO_T}$result" >&6; }
10766 defaultval=$wxUSE_ALL_FEATURES
10767 if test -z "$defaultval"; then
10768 if test x"$enablestring" = xdisable; then
10775 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-commandlinkbutton" >&5
10776 echo $ECHO_N "checking
for --${enablestring:-enable}-commandlinkbutton...
$ECHO_C" >&6; }
10777 # Check whether --enable-commandlinkbutton was given.
10778 if test "${enable_commandlinkbutton+set}" = set; then
10779 enableval=$enable_commandlinkbutton;
10780 if test "$enableval" = yes; then
10781 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
10783 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
10788 wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
10793 eval "$wx_cv_use_commandlinkbutton"
10795 if test x
"$enablestring" = xdisable
; then
10796 if test $wxUSE_COMMANDLINKBUTTON = no
; then
10802 result
=$wxUSE_COMMANDLINKBUTTON
10805 { echo "$as_me:$LINENO: result: $result" >&5
10806 echo "${ECHO_T}$result" >&6; }
10810 defaultval
=$wxUSE_ALL_FEATURES
10811 if test -z "$defaultval"; then
10812 if test x
"$enablestring" = xdisable
; then
10819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10820 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10821 # Check whether --enable-dataviewctrl was given.
10822 if test "${enable_dataviewctrl+set}" = set; then
10823 enableval
=$enable_dataviewctrl;
10824 if test "$enableval" = yes; then
10825 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=yes'
10827 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=no'
10832 wx_cv_use_dataviewctrl
='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10837 eval "$wx_cv_use_dataviewctrl"
10839 if test x"$enablestring" = xdisable; then
10840 if test $wxUSE_DATAVIEWCTRL = no; then
10846 result=$wxUSE_DATAVIEWCTRL
10849 { echo "$as_me:$LINENO: result: $result" >&5
10850 echo "${ECHO_T}$result" >&6; }
10854 defaultval=$wxUSE_ALL_FEATURES
10855 if test -z "$defaultval"; then
10856 if test x"$enablestring" = xdisable; then
10863 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10865 # Check whether --enable-datepick was given.
10866 if test "${enable_datepick+set}" = set; then
10867 enableval=$enable_datepick;
10868 if test "$enableval" = yes; then
10869 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=yes'
10871 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=no
'
10876 wx_cv_use_datepick='wxUSE_DATEPICKCTRL
=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10881 eval "$wx_cv_use_datepick"
10883 if test x"$enablestring" = xdisable; then
10884 if test $wxUSE_DATEPICKCTRL = no; then
10890 result=$wxUSE_DATEPICKCTRL
10893 { echo "$as_me:$LINENO: result
: $result" >&5
10894 echo "${ECHO_T}$result" >&6; }
10898 defaultval=$wxUSE_ALL_FEATURES
10899 if test -z "$defaultval"; then
10900 if test x"$enablestring" = xdisable; then
10907 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-detect_sm" >&5
10908 echo $ECHO_N "checking
for --${enablestring:-enable}-detect_sm...
$ECHO_C" >&6; }
10909 # Check whether --enable-detect_sm was given.
10910 if test "${enable_detect_sm+set}" = set; then
10911 enableval=$enable_detect_sm;
10912 if test "$enableval" = yes; then
10913 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10915 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10920 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10925 eval "$wx_cv_use_detect_sm"
10927 if test x
"$enablestring" = xdisable
; then
10928 if test $wxUSE_DETECT_SM = no
; then
10934 result
=$wxUSE_DETECT_SM
10937 { echo "$as_me:$LINENO: result: $result" >&5
10938 echo "${ECHO_T}$result" >&6; }
10942 defaultval
=$wxUSE_ALL_FEATURES
10943 if test -z "$defaultval"; then
10944 if test x
"$enablestring" = xdisable
; then
10951 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10952 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10953 # Check whether --enable-dirpicker was given.
10954 if test "${enable_dirpicker+set}" = set; then
10955 enableval
=$enable_dirpicker;
10956 if test "$enableval" = yes; then
10957 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=yes'
10959 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=no'
10964 wx_cv_use_dirpicker
='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10969 eval "$wx_cv_use_dirpicker"
10971 if test x"$enablestring" = xdisable; then
10972 if test $wxUSE_DIRPICKERCTRL = no; then
10978 result=$wxUSE_DIRPICKERCTRL
10981 { echo "$as_me:$LINENO: result: $result" >&5
10982 echo "${ECHO_T}$result" >&6; }
10986 defaultval=$wxUSE_ALL_FEATURES
10987 if test -z "$defaultval"; then
10988 if test x"$enablestring" = xdisable; then
10995 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10996 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10997 # Check whether --enable-display was given.
10998 if test "${enable_display+set}" = set; then
10999 enableval=$enable_display;
11000 if test "$enableval" = yes; then
11001 wx_cv_use_display='wxUSE_DISPLAY
=yes'
11003 wx_cv_use_display='wxUSE_DISPLAY
=no
'
11008 wx_cv_use_display='wxUSE_DISPLAY
=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
11013 eval "$wx_cv_use_display"
11015 if test x"$enablestring" = xdisable; then
11016 if test $wxUSE_DISPLAY = no; then
11022 result=$wxUSE_DISPLAY
11025 { echo "$as_me:$LINENO: result
: $result" >&5
11026 echo "${ECHO_T}$result" >&6; }
11030 defaultval=$wxUSE_ALL_FEATURES
11031 if test -z "$defaultval"; then
11032 if test x"$enablestring" = xdisable; then
11039 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-editablebox" >&5
11040 echo $ECHO_N "checking
for --${enablestring:-enable}-editablebox...
$ECHO_C" >&6; }
11041 # Check whether --enable-editablebox was given.
11042 if test "${enable_editablebox+set}" = set; then
11043 enableval=$enable_editablebox;
11044 if test "$enableval" = yes; then
11045 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
11047 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
11052 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
11057 eval "$wx_cv_use_editablebox"
11059 if test x
"$enablestring" = xdisable
; then
11060 if test $wxUSE_EDITABLELISTBOX = no
; then
11066 result
=$wxUSE_EDITABLELISTBOX
11069 { echo "$as_me:$LINENO: result: $result" >&5
11070 echo "${ECHO_T}$result" >&6; }
11074 defaultval
=$wxUSE_ALL_FEATURES
11075 if test -z "$defaultval"; then
11076 if test x
"$enablestring" = xdisable
; then
11083 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
11084 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
11085 # Check whether --enable-filectrl was given.
11086 if test "${enable_filectrl+set}" = set; then
11087 enableval
=$enable_filectrl;
11088 if test "$enableval" = yes; then
11089 wx_cv_use_filectrl
='wxUSE_FILECTRL=yes'
11091 wx_cv_use_filectrl
='wxUSE_FILECTRL=no'
11096 wx_cv_use_filectrl
='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
11101 eval "$wx_cv_use_filectrl"
11103 if test x"$enablestring" = xdisable; then
11104 if test $wxUSE_FILECTRL = no; then
11110 result=$wxUSE_FILECTRL
11113 { echo "$as_me:$LINENO: result: $result" >&5
11114 echo "${ECHO_T}$result" >&6; }
11118 defaultval=$wxUSE_ALL_FEATURES
11119 if test -z "$defaultval"; then
11120 if test x"$enablestring" = xdisable; then
11127 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
11128 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
11129 # Check whether --enable-filepicker was given.
11130 if test "${enable_filepicker+set}" = set; then
11131 enableval=$enable_filepicker;
11132 if test "$enableval" = yes; then
11133 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=yes'
11135 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=no
'
11140 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL
=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
11145 eval "$wx_cv_use_filepicker"
11147 if test x"$enablestring" = xdisable; then
11148 if test $wxUSE_FILEPICKERCTRL = no; then
11154 result=$wxUSE_FILEPICKERCTRL
11157 { echo "$as_me:$LINENO: result
: $result" >&5
11158 echo "${ECHO_T}$result" >&6; }
11162 defaultval=$wxUSE_ALL_FEATURES
11163 if test -z "$defaultval"; then
11164 if test x"$enablestring" = xdisable; then
11171 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-fontpicker" >&5
11172 echo $ECHO_N "checking
for --${enablestring:-enable}-fontpicker...
$ECHO_C" >&6; }
11173 # Check whether --enable-fontpicker was given.
11174 if test "${enable_fontpicker+set}" = set; then
11175 enableval=$enable_fontpicker;
11176 if test "$enableval" = yes; then
11177 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
11179 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
11184 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
11189 eval "$wx_cv_use_fontpicker"
11191 if test x
"$enablestring" = xdisable
; then
11192 if test $wxUSE_FONTPICKERCTRL = no
; then
11198 result
=$wxUSE_FONTPICKERCTRL
11201 { echo "$as_me:$LINENO: result: $result" >&5
11202 echo "${ECHO_T}$result" >&6; }
11206 defaultval
=$wxUSE_ALL_FEATURES
11207 if test -z "$defaultval"; then
11208 if test x
"$enablestring" = xdisable
; then
11215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
11216 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
11217 # Check whether --enable-gauge was given.
11218 if test "${enable_gauge+set}" = set; then
11219 enableval
=$enable_gauge;
11220 if test "$enableval" = yes; then
11221 wx_cv_use_gauge
='wxUSE_GAUGE=yes'
11223 wx_cv_use_gauge
='wxUSE_GAUGE=no'
11228 wx_cv_use_gauge
='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
11233 eval "$wx_cv_use_gauge"
11235 if test x"$enablestring" = xdisable; then
11236 if test $wxUSE_GAUGE = no; then
11242 result=$wxUSE_GAUGE
11245 { echo "$as_me:$LINENO: result: $result" >&5
11246 echo "${ECHO_T}$result" >&6; }
11250 defaultval=$wxUSE_ALL_FEATURES
11251 if test -z "$defaultval"; then
11252 if test x"$enablestring" = xdisable; then
11259 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
11260 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
11261 # Check whether --enable-grid was given.
11262 if test "${enable_grid+set}" = set; then
11263 enableval=$enable_grid;
11264 if test "$enableval" = yes; then
11265 wx_cv_use_grid='wxUSE_GRID
=yes'
11267 wx_cv_use_grid='wxUSE_GRID
=no
'
11272 wx_cv_use_grid='wxUSE_GRID
=${'DEFAULT_wxUSE_GRID":-$defaultval}"
11277 eval "$wx_cv_use_grid"
11279 if test x"$enablestring" = xdisable; then
11280 if test $wxUSE_GRID = no; then
11289 { echo "$as_me:$LINENO: result
: $result" >&5
11290 echo "${ECHO_T}$result" >&6; }
11294 defaultval=$wxUSE_ALL_FEATURES
11295 if test -z "$defaultval"; then
11296 if test x"$enablestring" = xdisable; then
11303 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-headerctrl" >&5
11304 echo $ECHO_N "checking
for --${enablestring:-enable}-headerctrl...
$ECHO_C" >&6; }
11305 # Check whether --enable-headerctrl was given.
11306 if test "${enable_headerctrl+set}" = set; then
11307 enableval=$enable_headerctrl;
11308 if test "$enableval" = yes; then
11309 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
11311 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
11316 wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
11321 eval "$wx_cv_use_headerctrl"
11323 if test x
"$enablestring" = xdisable
; then
11324 if test $wxUSE_HEADERCTRL = no
; then
11330 result
=$wxUSE_HEADERCTRL
11333 { echo "$as_me:$LINENO: result: $result" >&5
11334 echo "${ECHO_T}$result" >&6; }
11338 defaultval
=$wxUSE_ALL_FEATURES
11339 if test -z "$defaultval"; then
11340 if test x
"$enablestring" = xdisable
; then
11347 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
11348 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
11349 # Check whether --enable-hyperlink was given.
11350 if test "${enable_hyperlink+set}" = set; then
11351 enableval
=$enable_hyperlink;
11352 if test "$enableval" = yes; then
11353 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=yes'
11355 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=no'
11360 wx_cv_use_hyperlink
='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
11365 eval "$wx_cv_use_hyperlink"
11367 if test x"$enablestring" = xdisable; then
11368 if test $wxUSE_HYPERLINKCTRL = no; then
11374 result=$wxUSE_HYPERLINKCTRL
11377 { echo "$as_me:$LINENO: result: $result" >&5
11378 echo "${ECHO_T}$result" >&6; }
11382 defaultval=$wxUSE_ALL_FEATURES
11383 if test -z "$defaultval"; then
11384 if test x"$enablestring" = xdisable; then
11391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
11392 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
11393 # Check whether --enable-imaglist was given.
11394 if test "${enable_imaglist+set}" = set; then
11395 enableval=$enable_imaglist;
11396 if test "$enableval" = yes; then
11397 wx_cv_use_imaglist='wxUSE_IMAGLIST
=yes'
11399 wx_cv_use_imaglist='wxUSE_IMAGLIST
=no
'
11404 wx_cv_use_imaglist='wxUSE_IMAGLIST
=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
11409 eval "$wx_cv_use_imaglist"
11411 if test x"$enablestring" = xdisable; then
11412 if test $wxUSE_IMAGLIST = no; then
11418 result=$wxUSE_IMAGLIST
11421 { echo "$as_me:$LINENO: result
: $result" >&5
11422 echo "${ECHO_T}$result" >&6; }
11426 defaultval=$wxUSE_ALL_FEATURES
11427 if test -z "$defaultval"; then
11428 if test x"$enablestring" = xdisable; then
11435 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-infobar" >&5
11436 echo $ECHO_N "checking
for --${enablestring:-enable}-infobar...
$ECHO_C" >&6; }
11437 # Check whether --enable-infobar was given.
11438 if test "${enable_infobar+set}" = set; then
11439 enableval=$enable_infobar;
11440 if test "$enableval" = yes; then
11441 wx_cv_use_infobar='wxUSE_INFOBAR=yes'
11443 wx_cv_use_infobar='wxUSE_INFOBAR=no'
11448 wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
11453 eval "$wx_cv_use_infobar"
11455 if test x
"$enablestring" = xdisable
; then
11456 if test $wxUSE_INFOBAR = no
; then
11462 result
=$wxUSE_INFOBAR
11465 { echo "$as_me:$LINENO: result: $result" >&5
11466 echo "${ECHO_T}$result" >&6; }
11470 defaultval
=$wxUSE_ALL_FEATURES
11471 if test -z "$defaultval"; then
11472 if test x
"$enablestring" = xdisable
; then
11479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
11480 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
11481 # Check whether --enable-listbook was given.
11482 if test "${enable_listbook+set}" = set; then
11483 enableval
=$enable_listbook;
11484 if test "$enableval" = yes; then
11485 wx_cv_use_listbook
='wxUSE_LISTBOOK=yes'
11487 wx_cv_use_listbook
='wxUSE_LISTBOOK=no'
11492 wx_cv_use_listbook
='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
11497 eval "$wx_cv_use_listbook"
11499 if test x"$enablestring" = xdisable; then
11500 if test $wxUSE_LISTBOOK = no; then
11506 result=$wxUSE_LISTBOOK
11509 { echo "$as_me:$LINENO: result: $result" >&5
11510 echo "${ECHO_T}$result" >&6; }
11514 defaultval=$wxUSE_ALL_FEATURES
11515 if test -z "$defaultval"; then
11516 if test x"$enablestring" = xdisable; then
11523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
11524 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
11525 # Check whether --enable-listbox was given.
11526 if test "${enable_listbox+set}" = set; then
11527 enableval=$enable_listbox;
11528 if test "$enableval" = yes; then
11529 wx_cv_use_listbox='wxUSE_LISTBOX
=yes'
11531 wx_cv_use_listbox='wxUSE_LISTBOX
=no
'
11536 wx_cv_use_listbox='wxUSE_LISTBOX
=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
11541 eval "$wx_cv_use_listbox"
11543 if test x"$enablestring" = xdisable; then
11544 if test $wxUSE_LISTBOX = no; then
11550 result=$wxUSE_LISTBOX
11553 { echo "$as_me:$LINENO: result
: $result" >&5
11554 echo "${ECHO_T}$result" >&6; }
11558 defaultval=$wxUSE_ALL_FEATURES
11559 if test -z "$defaultval"; then
11560 if test x"$enablestring" = xdisable; then
11567 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-listctrl" >&5
11568 echo $ECHO_N "checking
for --${enablestring:-enable}-listctrl...
$ECHO_C" >&6; }
11569 # Check whether --enable-listctrl was given.
11570 if test "${enable_listctrl+set}" = set; then
11571 enableval=$enable_listctrl;
11572 if test "$enableval" = yes; then
11573 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
11575 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
11580 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
11585 eval "$wx_cv_use_listctrl"
11587 if test x
"$enablestring" = xdisable
; then
11588 if test $wxUSE_LISTCTRL = no
; then
11594 result
=$wxUSE_LISTCTRL
11597 { echo "$as_me:$LINENO: result: $result" >&5
11598 echo "${ECHO_T}$result" >&6; }
11602 defaultval
=$wxUSE_ALL_FEATURES
11603 if test -z "$defaultval"; then
11604 if test x
"$enablestring" = xdisable
; then
11611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
11612 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
11613 # Check whether --enable-notebook was given.
11614 if test "${enable_notebook+set}" = set; then
11615 enableval
=$enable_notebook;
11616 if test "$enableval" = yes; then
11617 wx_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
11619 wx_cv_use_notebook
='wxUSE_NOTEBOOK=no'
11624 wx_cv_use_notebook
='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
11629 eval "$wx_cv_use_notebook"
11631 if test x"$enablestring" = xdisable; then
11632 if test $wxUSE_NOTEBOOK = no; then
11638 result=$wxUSE_NOTEBOOK
11641 { echo "$as_me:$LINENO: result: $result" >&5
11642 echo "${ECHO_T}$result" >&6; }
11646 defaultval=$wxUSE_ALL_FEATURES
11647 if test -z "$defaultval"; then
11648 if test x"$enablestring" = xdisable; then
11655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
11656 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
11657 # Check whether --enable-notifmsg was given.
11658 if test "${enable_notifmsg+set}" = set; then
11659 enableval=$enable_notifmsg;
11660 if test "$enableval" = yes; then
11661 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=yes'
11663 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=no
'
11668 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE
=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
11673 eval "$wx_cv_use_notifmsg"
11675 if test x"$enablestring" = xdisable; then
11676 if test $wxUSE_NOTIFICATION_MESSAGE = no; then
11682 result=$wxUSE_NOTIFICATION_MESSAGE
11685 { echo "$as_me:$LINENO: result
: $result" >&5
11686 echo "${ECHO_T}$result" >&6; }
11690 defaultval=$wxUSE_ALL_FEATURES
11691 if test -z "$defaultval"; then
11692 if test x"$enablestring" = xdisable; then
11699 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-odcombobox" >&5
11700 echo $ECHO_N "checking
for --${enablestring:-enable}-odcombobox...
$ECHO_C" >&6; }
11701 # Check whether --enable-odcombobox was given.
11702 if test "${enable_odcombobox+set}" = set; then
11703 enableval=$enable_odcombobox;
11704 if test "$enableval" = yes; then
11705 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
11707 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
11712 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
11717 eval "$wx_cv_use_odcombobox"
11719 if test x
"$enablestring" = xdisable
; then
11720 if test $wxUSE_ODCOMBOBOX = no
; then
11726 result
=$wxUSE_ODCOMBOBOX
11729 { echo "$as_me:$LINENO: result: $result" >&5
11730 echo "${ECHO_T}$result" >&6; }
11734 defaultval
=$wxUSE_ALL_FEATURES
11735 if test -z "$defaultval"; then
11736 if test x
"$enablestring" = xdisable
; then
11743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11744 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11745 # Check whether --enable-popupwin was given.
11746 if test "${enable_popupwin+set}" = set; then
11747 enableval
=$enable_popupwin;
11748 if test "$enableval" = yes; then
11749 wx_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
11751 wx_cv_use_popupwin
='wxUSE_POPUPWIN=no'
11756 wx_cv_use_popupwin
='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
11761 eval "$wx_cv_use_popupwin"
11763 if test x"$enablestring" = xdisable; then
11764 if test $wxUSE_POPUPWIN = no; then
11770 result=$wxUSE_POPUPWIN
11773 { echo "$as_me:$LINENO: result: $result" >&5
11774 echo "${ECHO_T}$result" >&6; }
11778 defaultval=$wxUSE_ALL_FEATURES
11779 if test -z "$defaultval"; then
11780 if test x"$enablestring" = xdisable; then
11787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
11788 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
11789 # Check whether --enable-radiobox was given.
11790 if test "${enable_radiobox+set}" = set; then
11791 enableval=$enable_radiobox;
11792 if test "$enableval" = yes; then
11793 wx_cv_use_radiobox='wxUSE_RADIOBOX
=yes'
11795 wx_cv_use_radiobox='wxUSE_RADIOBOX
=no
'
11800 wx_cv_use_radiobox='wxUSE_RADIOBOX
=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11805 eval "$wx_cv_use_radiobox"
11807 if test x"$enablestring" = xdisable; then
11808 if test $wxUSE_RADIOBOX = no; then
11814 result=$wxUSE_RADIOBOX
11817 { echo "$as_me:$LINENO: result
: $result" >&5
11818 echo "${ECHO_T}$result" >&6; }
11822 defaultval=$wxUSE_ALL_FEATURES
11823 if test -z "$defaultval"; then
11824 if test x"$enablestring" = xdisable; then
11831 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-radiobtn" >&5
11832 echo $ECHO_N "checking
for --${enablestring:-enable}-radiobtn...
$ECHO_C" >&6; }
11833 # Check whether --enable-radiobtn was given.
11834 if test "${enable_radiobtn+set}" = set; then
11835 enableval=$enable_radiobtn;
11836 if test "$enableval" = yes; then
11837 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11839 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11844 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11849 eval "$wx_cv_use_radiobtn"
11851 if test x
"$enablestring" = xdisable
; then
11852 if test $wxUSE_RADIOBTN = no
; then
11858 result
=$wxUSE_RADIOBTN
11861 { echo "$as_me:$LINENO: result: $result" >&5
11862 echo "${ECHO_T}$result" >&6; }
11866 defaultval
=$wxUSE_ALL_FEATURES
11867 if test -z "$defaultval"; then
11868 if test x
"$enablestring" = xdisable
; then
11875 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richmsgdlg" >&5
11876 echo $ECHO_N "checking for --${enablestring:-enable}-richmsgdlg... $ECHO_C" >&6; }
11877 # Check whether --enable-richmsgdlg was given.
11878 if test "${enable_richmsgdlg+set}" = set; then
11879 enableval
=$enable_richmsgdlg;
11880 if test "$enableval" = yes; then
11881 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=yes'
11883 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=no'
11888 wx_cv_use_richmsgdlg
='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
11893 eval "$wx_cv_use_richmsgdlg"
11895 if test x"$enablestring" = xdisable; then
11896 if test $wxUSE_RICHMSGDLG = no; then
11902 result=$wxUSE_RICHMSGDLG
11905 { echo "$as_me:$LINENO: result: $result" >&5
11906 echo "${ECHO_T}$result" >&6; }
11910 defaultval=$wxUSE_ALL_FEATURES
11911 if test -z "$defaultval"; then
11912 if test x"$enablestring" = xdisable; then
11919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rearrangectrl" >&5
11920 echo $ECHO_N "checking for --${enablestring:-enable}-rearrangectrl... $ECHO_C" >&6; }
11921 # Check whether --enable-rearrangectrl was given.
11922 if test "${enable_rearrangectrl+set}" = set; then
11923 enableval=$enable_rearrangectrl;
11924 if test "$enableval" = yes; then
11925 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=yes'
11927 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=no
'
11932 wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL
=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
11937 eval "$wx_cv_use_rearrangectrl"
11939 if test x"$enablestring" = xdisable; then
11940 if test $wxUSE_REARRANGECTRL = no; then
11946 result=$wxUSE_REARRANGECTRL
11949 { echo "$as_me:$LINENO: result
: $result" >&5
11950 echo "${ECHO_T}$result" >&6; }
11954 defaultval=$wxUSE_ALL_FEATURES
11955 if test -z "$defaultval"; then
11956 if test x"$enablestring" = xdisable; then
11963 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-sash" >&5
11964 echo $ECHO_N "checking
for --${enablestring:-enable}-sash...
$ECHO_C" >&6; }
11965 # Check whether --enable-sash was given.
11966 if test "${enable_sash+set}" = set; then
11967 enableval=$enable_sash;
11968 if test "$enableval" = yes; then
11969 wx_cv_use_sash='wxUSE_SASH=yes'
11971 wx_cv_use_sash='wxUSE_SASH=no'
11976 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11981 eval "$wx_cv_use_sash"
11983 if test x
"$enablestring" = xdisable
; then
11984 if test $wxUSE_SASH = no
; then
11993 { echo "$as_me:$LINENO: result: $result" >&5
11994 echo "${ECHO_T}$result" >&6; }
11998 defaultval
=$wxUSE_ALL_FEATURES
11999 if test -z "$defaultval"; then
12000 if test x
"$enablestring" = xdisable
; then
12007 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
12008 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
12009 # Check whether --enable-scrollbar was given.
12010 if test "${enable_scrollbar+set}" = set; then
12011 enableval
=$enable_scrollbar;
12012 if test "$enableval" = yes; then
12013 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
12015 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
12020 wx_cv_use_scrollbar
='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
12025 eval "$wx_cv_use_scrollbar"
12027 if test x"$enablestring" = xdisable; then
12028 if test $wxUSE_SCROLLBAR = no; then
12034 result=$wxUSE_SCROLLBAR
12037 { echo "$as_me:$LINENO: result: $result" >&5
12038 echo "${ECHO_T}$result" >&6; }
12042 defaultval=$wxUSE_ALL_FEATURES
12043 if test -z "$defaultval"; then
12044 if test x"$enablestring" = xdisable; then
12051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
12052 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
12053 # Check whether --enable-searchctrl was given.
12054 if test "${enable_searchctrl+set}" = set; then
12055 enableval=$enable_searchctrl;
12056 if test "$enableval" = yes; then
12057 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=yes'
12059 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=no
'
12064 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL
=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
12069 eval "$wx_cv_use_searchctrl"
12071 if test x"$enablestring" = xdisable; then
12072 if test $wxUSE_SEARCHCTRL = no; then
12078 result=$wxUSE_SEARCHCTRL
12081 { echo "$as_me:$LINENO: result
: $result" >&5
12082 echo "${ECHO_T}$result" >&6; }
12086 defaultval=$wxUSE_ALL_FEATURES
12087 if test -z "$defaultval"; then
12088 if test x"$enablestring" = xdisable; then
12095 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-slider" >&5
12096 echo $ECHO_N "checking
for --${enablestring:-enable}-slider...
$ECHO_C" >&6; }
12097 # Check whether --enable-slider was given.
12098 if test "${enable_slider+set}" = set; then
12099 enableval=$enable_slider;
12100 if test "$enableval" = yes; then
12101 wx_cv_use_slider='wxUSE_SLIDER=yes'
12103 wx_cv_use_slider='wxUSE_SLIDER=no'
12108 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
12113 eval "$wx_cv_use_slider"
12115 if test x
"$enablestring" = xdisable
; then
12116 if test $wxUSE_SLIDER = no
; then
12122 result
=$wxUSE_SLIDER
12125 { echo "$as_me:$LINENO: result: $result" >&5
12126 echo "${ECHO_T}$result" >&6; }
12130 defaultval
=$wxUSE_ALL_FEATURES
12131 if test -z "$defaultval"; then
12132 if test x
"$enablestring" = xdisable
; then
12139 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
12140 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
12141 # Check whether --enable-spinbtn was given.
12142 if test "${enable_spinbtn+set}" = set; then
12143 enableval
=$enable_spinbtn;
12144 if test "$enableval" = yes; then
12145 wx_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
12147 wx_cv_use_spinbtn
='wxUSE_SPINBTN=no'
12152 wx_cv_use_spinbtn
='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
12157 eval "$wx_cv_use_spinbtn"
12159 if test x"$enablestring" = xdisable; then
12160 if test $wxUSE_SPINBTN = no; then
12166 result=$wxUSE_SPINBTN
12169 { echo "$as_me:$LINENO: result: $result" >&5
12170 echo "${ECHO_T}$result" >&6; }
12174 defaultval=$wxUSE_ALL_FEATURES
12175 if test -z "$defaultval"; then
12176 if test x"$enablestring" = xdisable; then
12183 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
12184 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
12185 # Check whether --enable-spinctrl was given.
12186 if test "${enable_spinctrl+set}" = set; then
12187 enableval=$enable_spinctrl;
12188 if test "$enableval" = yes; then
12189 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=yes'
12191 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=no
'
12196 wx_cv_use_spinctrl='wxUSE_SPINCTRL
=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
12201 eval "$wx_cv_use_spinctrl"
12203 if test x"$enablestring" = xdisable; then
12204 if test $wxUSE_SPINCTRL = no; then
12210 result=$wxUSE_SPINCTRL
12213 { echo "$as_me:$LINENO: result
: $result" >&5
12214 echo "${ECHO_T}$result" >&6; }
12218 defaultval=$wxUSE_ALL_FEATURES
12219 if test -z "$defaultval"; then
12220 if test x"$enablestring" = xdisable; then
12227 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splitter" >&5
12228 echo $ECHO_N "checking
for --${enablestring:-enable}-splitter...
$ECHO_C" >&6; }
12229 # Check whether --enable-splitter was given.
12230 if test "${enable_splitter+set}" = set; then
12231 enableval=$enable_splitter;
12232 if test "$enableval" = yes; then
12233 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
12235 wx_cv_use_splitter='wxUSE_SPLITTER=no'
12240 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
12245 eval "$wx_cv_use_splitter"
12247 if test x
"$enablestring" = xdisable
; then
12248 if test $wxUSE_SPLITTER = no
; then
12254 result
=$wxUSE_SPLITTER
12257 { echo "$as_me:$LINENO: result: $result" >&5
12258 echo "${ECHO_T}$result" >&6; }
12262 defaultval
=$wxUSE_ALL_FEATURES
12263 if test -z "$defaultval"; then
12264 if test x
"$enablestring" = xdisable
; then
12271 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
12272 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
12273 # Check whether --enable-statbmp was given.
12274 if test "${enable_statbmp+set}" = set; then
12275 enableval
=$enable_statbmp;
12276 if test "$enableval" = yes; then
12277 wx_cv_use_statbmp
='wxUSE_STATBMP=yes'
12279 wx_cv_use_statbmp
='wxUSE_STATBMP=no'
12284 wx_cv_use_statbmp
='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
12289 eval "$wx_cv_use_statbmp"
12291 if test x"$enablestring" = xdisable; then
12292 if test $wxUSE_STATBMP = no; then
12298 result=$wxUSE_STATBMP
12301 { echo "$as_me:$LINENO: result: $result" >&5
12302 echo "${ECHO_T}$result" >&6; }
12306 defaultval=$wxUSE_ALL_FEATURES
12307 if test -z "$defaultval"; then
12308 if test x"$enablestring" = xdisable; then
12315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
12316 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
12317 # Check whether --enable-statbox was given.
12318 if test "${enable_statbox+set}" = set; then
12319 enableval=$enable_statbox;
12320 if test "$enableval" = yes; then
12321 wx_cv_use_statbox='wxUSE_STATBOX
=yes'
12323 wx_cv_use_statbox='wxUSE_STATBOX
=no
'
12328 wx_cv_use_statbox='wxUSE_STATBOX
=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
12333 eval "$wx_cv_use_statbox"
12335 if test x"$enablestring" = xdisable; then
12336 if test $wxUSE_STATBOX = no; then
12342 result=$wxUSE_STATBOX
12345 { echo "$as_me:$LINENO: result
: $result" >&5
12346 echo "${ECHO_T}$result" >&6; }
12350 defaultval=$wxUSE_ALL_FEATURES
12351 if test -z "$defaultval"; then
12352 if test x"$enablestring" = xdisable; then
12359 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-statline" >&5
12360 echo $ECHO_N "checking
for --${enablestring:-enable}-statline...
$ECHO_C" >&6; }
12361 # Check whether --enable-statline was given.
12362 if test "${enable_statline+set}" = set; then
12363 enableval=$enable_statline;
12364 if test "$enableval" = yes; then
12365 wx_cv_use_statline='wxUSE_STATLINE=yes'
12367 wx_cv_use_statline='wxUSE_STATLINE=no'
12372 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
12377 eval "$wx_cv_use_statline"
12379 if test x
"$enablestring" = xdisable
; then
12380 if test $wxUSE_STATLINE = no
; then
12386 result
=$wxUSE_STATLINE
12389 { echo "$as_me:$LINENO: result: $result" >&5
12390 echo "${ECHO_T}$result" >&6; }
12394 defaultval
=$wxUSE_ALL_FEATURES
12395 if test -z "$defaultval"; then
12396 if test x
"$enablestring" = xdisable
; then
12403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
12404 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
12405 # Check whether --enable-stattext was given.
12406 if test "${enable_stattext+set}" = set; then
12407 enableval
=$enable_stattext;
12408 if test "$enableval" = yes; then
12409 wx_cv_use_stattext
='wxUSE_STATTEXT=yes'
12411 wx_cv_use_stattext
='wxUSE_STATTEXT=no'
12416 wx_cv_use_stattext
='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
12421 eval "$wx_cv_use_stattext"
12423 if test x"$enablestring" = xdisable; then
12424 if test $wxUSE_STATTEXT = no; then
12430 result=$wxUSE_STATTEXT
12433 { echo "$as_me:$LINENO: result: $result" >&5
12434 echo "${ECHO_T}$result" >&6; }
12438 defaultval=$wxUSE_ALL_FEATURES
12439 if test -z "$defaultval"; then
12440 if test x"$enablestring" = xdisable; then
12447 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
12448 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
12449 # Check whether --enable-statusbar was given.
12450 if test "${enable_statusbar+set}" = set; then
12451 enableval=$enable_statusbar;
12452 if test "$enableval" = yes; then
12453 wx_cv_use_statusbar='wxUSE_STATUSBAR
=yes'
12455 wx_cv_use_statusbar='wxUSE_STATUSBAR
=no
'
12460 wx_cv_use_statusbar='wxUSE_STATUSBAR
=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
12465 eval "$wx_cv_use_statusbar"
12467 if test x"$enablestring" = xdisable; then
12468 if test $wxUSE_STATUSBAR = no; then
12474 result=$wxUSE_STATUSBAR
12477 { echo "$as_me:$LINENO: result
: $result" >&5
12478 echo "${ECHO_T}$result" >&6; }
12482 defaultval=$wxUSE_ALL_FEATURES
12483 if test -z "$defaultval"; then
12484 if test x"$enablestring" = xdisable; then
12491 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-taskbaricon" >&5
12492 echo $ECHO_N "checking
for --${enablestring:-enable}-taskbaricon...
$ECHO_C" >&6; }
12493 # Check whether --enable-taskbaricon was given.
12494 if test "${enable_taskbaricon+set}" = set; then
12495 enableval=$enable_taskbaricon;
12496 if test "$enableval" = yes; then
12497 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
12499 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
12504 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
12509 eval "$wx_cv_use_taskbaricon"
12511 if test x
"$enablestring" = xdisable
; then
12512 if test $wxUSE_TASKBARICON = no
; then
12518 result
=$wxUSE_TASKBARICON
12521 { echo "$as_me:$LINENO: result: $result" >&5
12522 echo "${ECHO_T}$result" >&6; }
12526 defaultval
=$wxUSE_ALL_FEATURES
12527 if test -z "$defaultval"; then
12528 if test x
"$enablestring" = xdisable
; then
12535 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
12536 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
12537 # Check whether --enable-tbarnative was given.
12538 if test "${enable_tbarnative+set}" = set; then
12539 enableval
=$enable_tbarnative;
12540 if test "$enableval" = yes; then
12541 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
12543 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
12548 wx_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
12553 eval "$wx_cv_use_tbarnative"
12555 if test x"$enablestring" = xdisable; then
12556 if test $wxUSE_TOOLBAR_NATIVE = no; then
12562 result=$wxUSE_TOOLBAR_NATIVE
12565 { echo "$as_me:$LINENO: result: $result" >&5
12566 echo "${ECHO_T}$result" >&6; }
12570 defaultval=$wxUSE_ALL_FEATURES
12571 if test -z "$defaultval"; then
12572 if test x"$enablestring" = xdisable; then
12579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
12580 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
12581 # Check whether --enable-textctrl was given.
12582 if test "${enable_textctrl+set}" = set; then
12583 enableval=$enable_textctrl;
12584 if test "$enableval" = yes; then
12585 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=yes'
12587 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=no
'
12592 wx_cv_use_textctrl='wxUSE_TEXTCTRL
=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
12597 eval "$wx_cv_use_textctrl"
12599 if test x"$enablestring" = xdisable; then
12600 if test $wxUSE_TEXTCTRL = no; then
12606 result=$wxUSE_TEXTCTRL
12609 { echo "$as_me:$LINENO: result
: $result" >&5
12610 echo "${ECHO_T}$result" >&6; }
12614 defaultval=$wxUSE_ALL_FEATURES
12615 if test -z "$defaultval"; then
12616 if test x"$enablestring" = xdisable; then
12623 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-datepick" >&5
12624 echo $ECHO_N "checking
for --${enablestring:-enable}-datepick...
$ECHO_C" >&6; }
12625 # Check whether --enable-datepick was given.
12626 if test "${enable_datepick+set}" = set; then
12627 enableval=$enable_datepick;
12628 if test "$enableval" = yes; then
12629 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
12631 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
12636 wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
12641 eval "$wx_cv_use_datepick"
12643 if test x
"$enablestring" = xdisable
; then
12644 if test $wxUSE_TIMEPICKCTRL = no
; then
12650 result
=$wxUSE_TIMEPICKCTRL
12653 { echo "$as_me:$LINENO: result: $result" >&5
12654 echo "${ECHO_T}$result" >&6; }
12658 defaultval
=$wxUSE_ALL_FEATURES
12659 if test -z "$defaultval"; then
12660 if test x
"$enablestring" = xdisable
; then
12667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12668 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12669 # Check whether --enable-tipwindow was given.
12670 if test "${enable_tipwindow+set}" = set; then
12671 enableval
=$enable_tipwindow;
12672 if test "$enableval" = yes; then
12673 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
12675 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
12680 wx_cv_use_tipwindow
='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12685 eval "$wx_cv_use_tipwindow"
12687 if test x"$enablestring" = xdisable; then
12688 if test $wxUSE_TIPWINDOW = no; then
12694 result=$wxUSE_TIPWINDOW
12697 { echo "$as_me:$LINENO: result: $result" >&5
12698 echo "${ECHO_T}$result" >&6; }
12702 defaultval=$wxUSE_ALL_FEATURES
12703 if test -z "$defaultval"; then
12704 if test x"$enablestring" = xdisable; then
12711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
12712 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
12713 # Check whether --enable-togglebtn was given.
12714 if test "${enable_togglebtn+set}" = set; then
12715 enableval=$enable_togglebtn;
12716 if test "$enableval" = yes; then
12717 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=yes'
12719 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=no
'
12724 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN
=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
12729 eval "$wx_cv_use_togglebtn"
12731 if test x"$enablestring" = xdisable; then
12732 if test $wxUSE_TOGGLEBTN = no; then
12738 result=$wxUSE_TOGGLEBTN
12741 { echo "$as_me:$LINENO: result
: $result" >&5
12742 echo "${ECHO_T}$result" >&6; }
12746 defaultval=$wxUSE_ALL_FEATURES
12747 if test -z "$defaultval"; then
12748 if test x"$enablestring" = xdisable; then
12755 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-toolbar" >&5
12756 echo $ECHO_N "checking
for --${enablestring:-enable}-toolbar...
$ECHO_C" >&6; }
12757 # Check whether --enable-toolbar was given.
12758 if test "${enable_toolbar+set}" = set; then
12759 enableval=$enable_toolbar;
12760 if test "$enableval" = yes; then
12761 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
12763 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
12768 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
12773 eval "$wx_cv_use_toolbar"
12775 if test x
"$enablestring" = xdisable
; then
12776 if test $wxUSE_TOOLBAR = no
; then
12782 result
=$wxUSE_TOOLBAR
12785 { echo "$as_me:$LINENO: result: $result" >&5
12786 echo "${ECHO_T}$result" >&6; }
12790 defaultval
=$wxUSE_ALL_FEATURES
12791 if test -z "$defaultval"; then
12792 if test x
"$enablestring" = xdisable
; then
12799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
12800 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
12801 # Check whether --enable-toolbook was given.
12802 if test "${enable_toolbook+set}" = set; then
12803 enableval
=$enable_toolbook;
12804 if test "$enableval" = yes; then
12805 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=yes'
12807 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=no'
12812 wx_cv_use_toolbook
='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
12817 eval "$wx_cv_use_toolbook"
12819 if test x"$enablestring" = xdisable; then
12820 if test $wxUSE_TOOLBOOK = no; then
12826 result=$wxUSE_TOOLBOOK
12829 { echo "$as_me:$LINENO: result: $result" >&5
12830 echo "${ECHO_T}$result" >&6; }
12834 defaultval=$wxUSE_ALL_FEATURES
12835 if test -z "$defaultval"; then
12836 if test x"$enablestring" = xdisable; then
12843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
12844 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
12845 # Check whether --enable-treebook was given.
12846 if test "${enable_treebook+set}" = set; then
12847 enableval=$enable_treebook;
12848 if test "$enableval" = yes; then
12849 wx_cv_use_treebook='wxUSE_TREEBOOK
=yes'
12851 wx_cv_use_treebook='wxUSE_TREEBOOK
=no
'
12856 wx_cv_use_treebook='wxUSE_TREEBOOK
=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
12861 eval "$wx_cv_use_treebook"
12863 if test x"$enablestring" = xdisable; then
12864 if test $wxUSE_TREEBOOK = no; then
12870 result=$wxUSE_TREEBOOK
12873 { echo "$as_me:$LINENO: result
: $result" >&5
12874 echo "${ECHO_T}$result" >&6; }
12878 defaultval=$wxUSE_ALL_FEATURES
12879 if test -z "$defaultval"; then
12880 if test x"$enablestring" = xdisable; then
12887 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-treectrl" >&5
12888 echo $ECHO_N "checking
for --${enablestring:-enable}-treectrl...
$ECHO_C" >&6; }
12889 # Check whether --enable-treectrl was given.
12890 if test "${enable_treectrl+set}" = set; then
12891 enableval=$enable_treectrl;
12892 if test "$enableval" = yes; then
12893 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
12895 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
12900 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
12905 eval "$wx_cv_use_treectrl"
12907 if test x
"$enablestring" = xdisable
; then
12908 if test $wxUSE_TREECTRL = no
; then
12914 result
=$wxUSE_TREECTRL
12917 { echo "$as_me:$LINENO: result: $result" >&5
12918 echo "${ECHO_T}$result" >&6; }
12922 defaultval
=$wxUSE_ALL_FEATURES
12923 if test -z "$defaultval"; then
12924 if test x
"$enablestring" = xdisable
; then
12931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treelist" >&5
12932 echo $ECHO_N "checking for --${enablestring:-enable}-treelist... $ECHO_C" >&6; }
12933 # Check whether --enable-treelist was given.
12934 if test "${enable_treelist+set}" = set; then
12935 enableval
=$enable_treelist;
12936 if test "$enableval" = yes; then
12937 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=yes'
12939 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=no'
12944 wx_cv_use_treelist
='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
12949 eval "$wx_cv_use_treelist"
12951 if test x"$enablestring" = xdisable; then
12952 if test $wxUSE_TREELISTCTRL = no; then
12958 result=$wxUSE_TREELISTCTRL
12961 { echo "$as_me:$LINENO: result: $result" >&5
12962 echo "${ECHO_T}$result" >&6; }
12968 defaultval=$wxUSE_ALL_FEATURES
12969 if test -z "$defaultval"; then
12970 if test x"$enablestring" = xdisable; then
12977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12978 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12979 # Check whether --enable-commondlg was given.
12980 if test "${enable_commondlg+set}" = set; then
12981 enableval=$enable_commondlg;
12982 if test "$enableval" = yes; then
12983 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=yes'
12985 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=no
'
12990 wx_cv_use_commondlg='wxUSE_COMMONDLGS
=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12995 eval "$wx_cv_use_commondlg"
12997 if test x"$enablestring" = xdisable; then
12998 if test $wxUSE_COMMONDLGS = no; then
13004 result=$wxUSE_COMMONDLGS
13007 { echo "$as_me:$LINENO: result
: $result" >&5
13008 echo "${ECHO_T}$result" >&6; }
13012 defaultval=$wxUSE_ALL_FEATURES
13013 if test -z "$defaultval"; then
13014 if test x"$enablestring" = xdisable; then
13021 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-aboutdlg" >&5
13022 echo $ECHO_N "checking
for --${enablestring:-enable}-aboutdlg...
$ECHO_C" >&6; }
13023 # Check whether --enable-aboutdlg was given.
13024 if test "${enable_aboutdlg+set}" = set; then
13025 enableval=$enable_aboutdlg;
13026 if test "$enableval" = yes; then
13027 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
13029 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
13034 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
13039 eval "$wx_cv_use_aboutdlg"
13041 if test x
"$enablestring" = xdisable
; then
13042 if test $wxUSE_ABOUTDLG = no
; then
13048 result
=$wxUSE_ABOUTDLG
13051 { echo "$as_me:$LINENO: result: $result" >&5
13052 echo "${ECHO_T}$result" >&6; }
13056 defaultval
=$wxUSE_ALL_FEATURES
13057 if test -z "$defaultval"; then
13058 if test x
"$enablestring" = xdisable
; then
13065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
13066 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
13067 # Check whether --enable-choicedlg was given.
13068 if test "${enable_choicedlg+set}" = set; then
13069 enableval
=$enable_choicedlg;
13070 if test "$enableval" = yes; then
13071 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
13073 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
13078 wx_cv_use_choicedlg
='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
13083 eval "$wx_cv_use_choicedlg"
13085 if test x"$enablestring" = xdisable; then
13086 if test $wxUSE_CHOICEDLG = no; then
13092 result=$wxUSE_CHOICEDLG
13095 { echo "$as_me:$LINENO: result: $result" >&5
13096 echo "${ECHO_T}$result" >&6; }
13100 defaultval=$wxUSE_ALL_FEATURES
13101 if test -z "$defaultval"; then
13102 if test x"$enablestring" = xdisable; then
13109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
13110 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
13111 # Check whether --enable-coldlg was given.
13112 if test "${enable_coldlg+set}" = set; then
13113 enableval=$enable_coldlg;
13114 if test "$enableval" = yes; then
13115 wx_cv_use_coldlg='wxUSE_COLOURDLG
=yes'
13117 wx_cv_use_coldlg='wxUSE_COLOURDLG
=no
'
13122 wx_cv_use_coldlg='wxUSE_COLOURDLG
=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
13127 eval "$wx_cv_use_coldlg"
13129 if test x"$enablestring" = xdisable; then
13130 if test $wxUSE_COLOURDLG = no; then
13136 result=$wxUSE_COLOURDLG
13139 { echo "$as_me:$LINENO: result
: $result" >&5
13140 echo "${ECHO_T}$result" >&6; }
13144 defaultval=$wxUSE_ALL_FEATURES
13145 if test -z "$defaultval"; then
13146 if test x"$enablestring" = xdisable; then
13153 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-filedlg" >&5
13154 echo $ECHO_N "checking
for --${enablestring:-enable}-filedlg...
$ECHO_C" >&6; }
13155 # Check whether --enable-filedlg was given.
13156 if test "${enable_filedlg+set}" = set; then
13157 enableval=$enable_filedlg;
13158 if test "$enableval" = yes; then
13159 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
13161 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
13166 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
13171 eval "$wx_cv_use_filedlg"
13173 if test x
"$enablestring" = xdisable
; then
13174 if test $wxUSE_FILEDLG = no
; then
13180 result
=$wxUSE_FILEDLG
13183 { echo "$as_me:$LINENO: result: $result" >&5
13184 echo "${ECHO_T}$result" >&6; }
13188 defaultval
=$wxUSE_ALL_FEATURES
13189 if test -z "$defaultval"; then
13190 if test x
"$enablestring" = xdisable
; then
13197 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
13198 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
13199 # Check whether --enable-finddlg was given.
13200 if test "${enable_finddlg+set}" = set; then
13201 enableval
=$enable_finddlg;
13202 if test "$enableval" = yes; then
13203 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
13205 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
13210 wx_cv_use_finddlg
='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
13215 eval "$wx_cv_use_finddlg"
13217 if test x"$enablestring" = xdisable; then
13218 if test $wxUSE_FINDREPLDLG = no; then
13224 result=$wxUSE_FINDREPLDLG
13227 { echo "$as_me:$LINENO: result: $result" >&5
13228 echo "${ECHO_T}$result" >&6; }
13232 defaultval=$wxUSE_ALL_FEATURES
13233 if test -z "$defaultval"; then
13234 if test x"$enablestring" = xdisable; then
13241 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
13242 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
13243 # Check whether --enable-fontdlg was given.
13244 if test "${enable_fontdlg+set}" = set; then
13245 enableval=$enable_fontdlg;
13246 if test "$enableval" = yes; then
13247 wx_cv_use_fontdlg='wxUSE_FONTDLG
=yes'
13249 wx_cv_use_fontdlg='wxUSE_FONTDLG
=no
'
13254 wx_cv_use_fontdlg='wxUSE_FONTDLG
=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
13259 eval "$wx_cv_use_fontdlg"
13261 if test x"$enablestring" = xdisable; then
13262 if test $wxUSE_FONTDLG = no; then
13268 result=$wxUSE_FONTDLG
13271 { echo "$as_me:$LINENO: result
: $result" >&5
13272 echo "${ECHO_T}$result" >&6; }
13276 defaultval=$wxUSE_ALL_FEATURES
13277 if test -z "$defaultval"; then
13278 if test x"$enablestring" = xdisable; then
13285 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dirdlg" >&5
13286 echo $ECHO_N "checking
for --${enablestring:-enable}-dirdlg...
$ECHO_C" >&6; }
13287 # Check whether --enable-dirdlg was given.
13288 if test "${enable_dirdlg+set}" = set; then
13289 enableval=$enable_dirdlg;
13290 if test "$enableval" = yes; then
13291 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
13293 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
13298 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
13303 eval "$wx_cv_use_dirdlg"
13305 if test x
"$enablestring" = xdisable
; then
13306 if test $wxUSE_DIRDLG = no
; then
13312 result
=$wxUSE_DIRDLG
13315 { echo "$as_me:$LINENO: result: $result" >&5
13316 echo "${ECHO_T}$result" >&6; }
13320 defaultval
=$wxUSE_ALL_FEATURES
13321 if test -z "$defaultval"; then
13322 if test x
"$enablestring" = xdisable
; then
13329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
13330 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
13331 # Check whether --enable-msgdlg was given.
13332 if test "${enable_msgdlg+set}" = set; then
13333 enableval
=$enable_msgdlg;
13334 if test "$enableval" = yes; then
13335 wx_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
13337 wx_cv_use_msgdlg
='wxUSE_MSGDLG=no'
13342 wx_cv_use_msgdlg
='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
13347 eval "$wx_cv_use_msgdlg"
13349 if test x"$enablestring" = xdisable; then
13350 if test $wxUSE_MSGDLG = no; then
13356 result=$wxUSE_MSGDLG
13359 { echo "$as_me:$LINENO: result: $result" >&5
13360 echo "${ECHO_T}$result" >&6; }
13364 defaultval=$wxUSE_ALL_FEATURES
13365 if test -z "$defaultval"; then
13366 if test x"$enablestring" = xdisable; then
13373 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
13374 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
13375 # Check whether --enable-numberdlg was given.
13376 if test "${enable_numberdlg+set}" = set; then
13377 enableval=$enable_numberdlg;
13378 if test "$enableval" = yes; then
13379 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=yes'
13381 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=no
'
13386 wx_cv_use_numberdlg='wxUSE_NUMBERDLG
=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
13391 eval "$wx_cv_use_numberdlg"
13393 if test x"$enablestring" = xdisable; then
13394 if test $wxUSE_NUMBERDLG = no; then
13400 result=$wxUSE_NUMBERDLG
13403 { echo "$as_me:$LINENO: result
: $result" >&5
13404 echo "${ECHO_T}$result" >&6; }
13408 defaultval=$wxUSE_ALL_FEATURES
13409 if test -z "$defaultval"; then
13410 if test x"$enablestring" = xdisable; then
13417 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-splash" >&5
13418 echo $ECHO_N "checking
for --${enablestring:-enable}-splash...
$ECHO_C" >&6; }
13419 # Check whether --enable-splash was given.
13420 if test "${enable_splash+set}" = set; then
13421 enableval=$enable_splash;
13422 if test "$enableval" = yes; then
13423 wx_cv_use_splash='wxUSE_SPLASH=yes'
13425 wx_cv_use_splash='wxUSE_SPLASH=no'
13430 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
13435 eval "$wx_cv_use_splash"
13437 if test x
"$enablestring" = xdisable
; then
13438 if test $wxUSE_SPLASH = no
; then
13444 result
=$wxUSE_SPLASH
13447 { echo "$as_me:$LINENO: result: $result" >&5
13448 echo "${ECHO_T}$result" >&6; }
13452 defaultval
=$wxUSE_ALL_FEATURES
13453 if test -z "$defaultval"; then
13454 if test x
"$enablestring" = xdisable
; then
13461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
13462 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
13463 # Check whether --enable-textdlg was given.
13464 if test "${enable_textdlg+set}" = set; then
13465 enableval
=$enable_textdlg;
13466 if test "$enableval" = yes; then
13467 wx_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
13469 wx_cv_use_textdlg
='wxUSE_TEXTDLG=no'
13474 wx_cv_use_textdlg
='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
13479 eval "$wx_cv_use_textdlg"
13481 if test x"$enablestring" = xdisable; then
13482 if test $wxUSE_TEXTDLG = no; then
13488 result=$wxUSE_TEXTDLG
13491 { echo "$as_me:$LINENO: result: $result" >&5
13492 echo "${ECHO_T}$result" >&6; }
13496 defaultval=$wxUSE_ALL_FEATURES
13497 if test -z "$defaultval"; then
13498 if test x"$enablestring" = xdisable; then
13505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
13506 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
13507 # Check whether --enable-tipdlg was given.
13508 if test "${enable_tipdlg+set}" = set; then
13509 enableval=$enable_tipdlg;
13510 if test "$enableval" = yes; then
13511 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=yes'
13513 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=no
'
13518 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS
=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
13523 eval "$wx_cv_use_tipdlg"
13525 if test x"$enablestring" = xdisable; then
13526 if test $wxUSE_STARTUP_TIPS = no; then
13532 result=$wxUSE_STARTUP_TIPS
13535 { echo "$as_me:$LINENO: result
: $result" >&5
13536 echo "${ECHO_T}$result" >&6; }
13540 defaultval=$wxUSE_ALL_FEATURES
13541 if test -z "$defaultval"; then
13542 if test x"$enablestring" = xdisable; then
13549 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-progressdlg" >&5
13550 echo $ECHO_N "checking
for --${enablestring:-enable}-progressdlg...
$ECHO_C" >&6; }
13551 # Check whether --enable-progressdlg was given.
13552 if test "${enable_progressdlg+set}" = set; then
13553 enableval=$enable_progressdlg;
13554 if test "$enableval" = yes; then
13555 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
13557 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
13562 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
13567 eval "$wx_cv_use_progressdlg"
13569 if test x
"$enablestring" = xdisable
; then
13570 if test $wxUSE_PROGRESSDLG = no
; then
13576 result
=$wxUSE_PROGRESSDLG
13579 { echo "$as_me:$LINENO: result: $result" >&5
13580 echo "${ECHO_T}$result" >&6; }
13584 defaultval
=$wxUSE_ALL_FEATURES
13585 if test -z "$defaultval"; then
13586 if test x
"$enablestring" = xdisable
; then
13593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
13594 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
13595 # Check whether --enable-wizarddlg was given.
13596 if test "${enable_wizarddlg+set}" = set; then
13597 enableval
=$enable_wizarddlg;
13598 if test "$enableval" = yes; then
13599 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
13601 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
13606 wx_cv_use_wizarddlg
='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
13611 eval "$wx_cv_use_wizarddlg"
13613 if test x"$enablestring" = xdisable; then
13614 if test $wxUSE_WIZARDDLG = no; then
13620 result=$wxUSE_WIZARDDLG
13623 { echo "$as_me:$LINENO: result: $result" >&5
13624 echo "${ECHO_T}$result" >&6; }
13630 defaultval=$wxUSE_ALL_FEATURES
13631 if test -z "$defaultval"; then
13632 if test x"$enablestring" = xdisable; then
13639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
13640 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
13641 # Check whether --enable-menus was given.
13642 if test "${enable_menus+set}" = set; then
13643 enableval=$enable_menus;
13644 if test "$enableval" = yes; then
13645 wx_cv_use_menus='wxUSE_MENUS
=yes'
13647 wx_cv_use_menus='wxUSE_MENUS
=no
'
13652 wx_cv_use_menus='wxUSE_MENUS
=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
13657 eval "$wx_cv_use_menus"
13659 if test x"$enablestring" = xdisable; then
13660 if test $wxUSE_MENUS = no; then
13666 result=$wxUSE_MENUS
13669 { echo "$as_me:$LINENO: result
: $result" >&5
13670 echo "${ECHO_T}$result" >&6; }
13674 defaultval=$wxUSE_ALL_FEATURES
13675 if test -z "$defaultval"; then
13676 if test x"$enablestring" = xdisable; then
13683 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-miniframe" >&5
13684 echo $ECHO_N "checking
for --${enablestring:-enable}-miniframe...
$ECHO_C" >&6; }
13685 # Check whether --enable-miniframe was given.
13686 if test "${enable_miniframe+set}" = set; then
13687 enableval=$enable_miniframe;
13688 if test "$enableval" = yes; then
13689 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
13691 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
13696 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
13701 eval "$wx_cv_use_miniframe"
13703 if test x
"$enablestring" = xdisable
; then
13704 if test $wxUSE_MINIFRAME = no
; then
13710 result
=$wxUSE_MINIFRAME
13713 { echo "$as_me:$LINENO: result: $result" >&5
13714 echo "${ECHO_T}$result" >&6; }
13718 defaultval
=$wxUSE_ALL_FEATURES
13719 if test -z "$defaultval"; then
13720 if test x
"$enablestring" = xdisable
; then
13727 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
13728 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
13729 # Check whether --enable-tooltips was given.
13730 if test "${enable_tooltips+set}" = set; then
13731 enableval
=$enable_tooltips;
13732 if test "$enableval" = yes; then
13733 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
13735 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
13740 wx_cv_use_tooltips
='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
13745 eval "$wx_cv_use_tooltips"
13747 if test x"$enablestring" = xdisable; then
13748 if test $wxUSE_TOOLTIPS = no; then
13754 result=$wxUSE_TOOLTIPS
13757 { echo "$as_me:$LINENO: result: $result" >&5
13758 echo "${ECHO_T}$result" >&6; }
13762 defaultval=$wxUSE_ALL_FEATURES
13763 if test -z "$defaultval"; then
13764 if test x"$enablestring" = xdisable; then
13771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
13772 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
13773 # Check whether --enable-splines was given.
13774 if test "${enable_splines+set}" = set; then
13775 enableval=$enable_splines;
13776 if test "$enableval" = yes; then
13777 wx_cv_use_splines='wxUSE_SPLINES
=yes'
13779 wx_cv_use_splines='wxUSE_SPLINES
=no
'
13784 wx_cv_use_splines='wxUSE_SPLINES
=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
13789 eval "$wx_cv_use_splines"
13791 if test x"$enablestring" = xdisable; then
13792 if test $wxUSE_SPLINES = no; then
13798 result=$wxUSE_SPLINES
13801 { echo "$as_me:$LINENO: result
: $result" >&5
13802 echo "${ECHO_T}$result" >&6; }
13806 defaultval=$wxUSE_ALL_FEATURES
13807 if test -z "$defaultval"; then
13808 if test x"$enablestring" = xdisable; then
13815 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-mousewheel" >&5
13816 echo $ECHO_N "checking
for --${enablestring:-enable}-mousewheel...
$ECHO_C" >&6; }
13817 # Check whether --enable-mousewheel was given.
13818 if test "${enable_mousewheel+set}" = set; then
13819 enableval=$enable_mousewheel;
13820 if test "$enableval" = yes; then
13821 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
13823 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
13828 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
13833 eval "$wx_cv_use_mousewheel"
13835 if test x
"$enablestring" = xdisable
; then
13836 if test $wxUSE_MOUSEWHEEL = no
; then
13842 result
=$wxUSE_MOUSEWHEEL
13845 { echo "$as_me:$LINENO: result: $result" >&5
13846 echo "${ECHO_T}$result" >&6; }
13850 defaultval
=$wxUSE_ALL_FEATURES
13851 if test -z "$defaultval"; then
13852 if test x
"$enablestring" = xdisable
; then
13859 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
13860 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
13861 # Check whether --enable-validators was given.
13862 if test "${enable_validators+set}" = set; then
13863 enableval
=$enable_validators;
13864 if test "$enableval" = yes; then
13865 wx_cv_use_validators
='wxUSE_VALIDATORS=yes'
13867 wx_cv_use_validators
='wxUSE_VALIDATORS=no'
13872 wx_cv_use_validators
='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
13877 eval "$wx_cv_use_validators"
13879 if test x"$enablestring" = xdisable; then
13880 if test $wxUSE_VALIDATORS = no; then
13886 result=$wxUSE_VALIDATORS
13889 { echo "$as_me:$LINENO: result: $result" >&5
13890 echo "${ECHO_T}$result" >&6; }
13894 defaultval=$wxUSE_ALL_FEATURES
13895 if test -z "$defaultval"; then
13896 if test x"$enablestring" = xdisable; then
13903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13904 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13905 # Check whether --enable-busyinfo was given.
13906 if test "${enable_busyinfo+set}" = set; then
13907 enableval=$enable_busyinfo;
13908 if test "$enableval" = yes; then
13909 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=yes'
13911 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=no
'
13916 wx_cv_use_busyinfo='wxUSE_BUSYINFO
=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13921 eval "$wx_cv_use_busyinfo"
13923 if test x"$enablestring" = xdisable; then
13924 if test $wxUSE_BUSYINFO = no; then
13930 result=$wxUSE_BUSYINFO
13933 { echo "$as_me:$LINENO: result
: $result" >&5
13934 echo "${ECHO_T}$result" >&6; }
13938 defaultval=$wxUSE_ALL_FEATURES
13939 if test -z "$defaultval"; then
13940 if test x"$enablestring" = xdisable; then
13947 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-hotkey" >&5
13948 echo $ECHO_N "checking
for --${enablestring:-enable}-hotkey...
$ECHO_C" >&6; }
13949 # Check whether --enable-hotkey was given.
13950 if test "${enable_hotkey+set}" = set; then
13951 enableval=$enable_hotkey;
13952 if test "$enableval" = yes; then
13953 wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
13955 wx_cv_use_hotkey='wxUSE_HOTKEY=no'
13960 wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
13965 eval "$wx_cv_use_hotkey"
13967 if test x
"$enablestring" = xdisable
; then
13968 if test $wxUSE_HOTKEY = no
; then
13974 result
=$wxUSE_HOTKEY
13977 { echo "$as_me:$LINENO: result: $result" >&5
13978 echo "${ECHO_T}$result" >&6; }
13982 defaultval
=$wxUSE_ALL_FEATURES
13983 if test -z "$defaultval"; then
13984 if test x
"$enablestring" = xdisable
; then
13991 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13992 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13993 # Check whether --enable-joystick was given.
13994 if test "${enable_joystick+set}" = set; then
13995 enableval
=$enable_joystick;
13996 if test "$enableval" = yes; then
13997 wx_cv_use_joystick
='wxUSE_JOYSTICK=yes'
13999 wx_cv_use_joystick
='wxUSE_JOYSTICK=no'
14004 wx_cv_use_joystick
='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
14009 eval "$wx_cv_use_joystick"
14011 if test x"$enablestring" = xdisable; then
14012 if test $wxUSE_JOYSTICK = no; then
14018 result=$wxUSE_JOYSTICK
14021 { echo "$as_me:$LINENO: result: $result" >&5
14022 echo "${ECHO_T}$result" >&6; }
14026 defaultval=$wxUSE_ALL_FEATURES
14027 if test -z "$defaultval"; then
14028 if test x"$enablestring" = xdisable; then
14035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
14036 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
14037 # Check whether --enable-metafile was given.
14038 if test "${enable_metafile+set}" = set; then
14039 enableval=$enable_metafile;
14040 if test "$enableval" = yes; then
14041 wx_cv_use_metafile='wxUSE_METAFILE
=yes'
14043 wx_cv_use_metafile='wxUSE_METAFILE
=no
'
14048 wx_cv_use_metafile='wxUSE_METAFILE
=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
14053 eval "$wx_cv_use_metafile"
14055 if test x"$enablestring" = xdisable; then
14056 if test $wxUSE_METAFILE = no; then
14062 result=$wxUSE_METAFILE
14065 { echo "$as_me:$LINENO: result
: $result" >&5
14066 echo "${ECHO_T}$result" >&6; }
14070 defaultval=$wxUSE_ALL_FEATURES
14071 if test -z "$defaultval"; then
14072 if test x"$enablestring" = xdisable; then
14079 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dragimage" >&5
14080 echo $ECHO_N "checking
for --${enablestring:-enable}-dragimage...
$ECHO_C" >&6; }
14081 # Check whether --enable-dragimage was given.
14082 if test "${enable_dragimage+set}" = set; then
14083 enableval=$enable_dragimage;
14084 if test "$enableval" = yes; then
14085 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
14087 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
14092 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
14097 eval "$wx_cv_use_dragimage"
14099 if test x
"$enablestring" = xdisable
; then
14100 if test $wxUSE_DRAGIMAGE = no
; then
14106 result
=$wxUSE_DRAGIMAGE
14109 { echo "$as_me:$LINENO: result: $result" >&5
14110 echo "${ECHO_T}$result" >&6; }
14114 defaultval
=$wxUSE_ALL_FEATURES
14115 if test -z "$defaultval"; then
14116 if test x
"$enablestring" = xdisable
; then
14123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
14124 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
14125 # Check whether --enable-accessibility was given.
14126 if test "${enable_accessibility+set}" = set; then
14127 enableval
=$enable_accessibility;
14128 if test "$enableval" = yes; then
14129 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=yes'
14131 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=no'
14136 wx_cv_use_accessibility
='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
14141 eval "$wx_cv_use_accessibility"
14143 if test x"$enablestring" = xdisable; then
14144 if test $wxUSE_ACCESSIBILITY = no; then
14150 result=$wxUSE_ACCESSIBILITY
14153 { echo "$as_me:$LINENO: result: $result" >&5
14154 echo "${ECHO_T}$result" >&6; }
14158 defaultval=$wxUSE_ALL_FEATURES
14159 if test -z "$defaultval"; then
14160 if test x"$enablestring" = xdisable; then
14167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uiactionsim" >&5
14168 echo $ECHO_N "checking for --${enablestring:-enable}-uiactionsim... $ECHO_C" >&6; }
14169 # Check whether --enable-uiactionsim was given.
14170 if test "${enable_uiactionsim+set}" = set; then
14171 enableval=$enable_uiactionsim;
14172 if test "$enableval" = yes; then
14173 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=yes'
14175 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=no
'
14180 wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR
=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
14185 eval "$wx_cv_use_uiactionsim"
14187 if test x"$enablestring" = xdisable; then
14188 if test $wxUSE_UIACTIONSIMULATOR = no; then
14194 result=$wxUSE_UIACTIONSIMULATOR
14197 { echo "$as_me:$LINENO: result
: $result" >&5
14198 echo "${ECHO_T}$result" >&6; }
14202 defaultval=$wxUSE_ALL_FEATURES
14203 if test -z "$defaultval"; then
14204 if test x"$enablestring" = xdisable; then
14211 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-dctransform" >&5
14212 echo $ECHO_N "checking
for --${enablestring:-enable}-dctransform...
$ECHO_C" >&6; }
14213 # Check whether --enable-dctransform was given.
14214 if test "${enable_dctransform+set}" = set; then
14215 enableval=$enable_dctransform;
14216 if test "$enableval" = yes; then
14217 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
14219 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
14224 wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
14229 eval "$wx_cv_use_dctransform"
14231 if test x
"$enablestring" = xdisable
; then
14232 if test $wxUSE_DC_TRANSFORM_MATRIX = no
; then
14238 result
=$wxUSE_DC_TRANSFORM_MATRIX
14241 { echo "$as_me:$LINENO: result: $result" >&5
14242 echo "${ECHO_T}$result" >&6; }
14246 defaultval
=$wxUSE_ALL_FEATURES
14247 if test -z "$defaultval"; then
14248 if test x
"$enablestring" = xdisable
; then
14255 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewwebkit" >&5
14256 echo $ECHO_N "checking for --${enablestring:-enable}-webviewwebkit... $ECHO_C" >&6; }
14257 # Check whether --enable-webviewwebkit was given.
14258 if test "${enable_webviewwebkit+set}" = set; then
14259 enableval
=$enable_webviewwebkit;
14260 if test "$enableval" = yes; then
14261 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=yes'
14263 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=no'
14268 wx_cv_use_webviewwebkit
='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
14273 eval "$wx_cv_use_webviewwebkit"
14275 if test x"$enablestring" = xdisable; then
14276 if test $wxUSE_WEBVIEW_WEBKIT = no; then
14282 result=$wxUSE_WEBVIEW_WEBKIT
14285 { echo "$as_me:$LINENO: result: $result" >&5
14286 echo "${ECHO_T}$result" >&6; }
14292 defaultval=$wxUSE_ALL_FEATURES
14293 if test -z "$defaultval"; then
14294 if test x"$enablestring" = xdisable; then
14301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
14302 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
14303 # Check whether --enable-palette was given.
14304 if test "${enable_palette+set}" = set; then
14305 enableval=$enable_palette;
14306 if test "$enableval" = yes; then
14307 wx_cv_use_palette='wxUSE_PALETTE
=yes'
14309 wx_cv_use_palette='wxUSE_PALETTE
=no
'
14314 wx_cv_use_palette='wxUSE_PALETTE
=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
14319 eval "$wx_cv_use_palette"
14321 if test x"$enablestring" = xdisable; then
14322 if test $wxUSE_PALETTE = no; then
14328 result=$wxUSE_PALETTE
14331 { echo "$as_me:$LINENO: result
: $result" >&5
14332 echo "${ECHO_T}$result" >&6; }
14336 defaultval=$wxUSE_ALL_FEATURES
14337 if test -z "$defaultval"; then
14338 if test x"$enablestring" = xdisable; then
14345 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-image" >&5
14346 echo $ECHO_N "checking
for --${enablestring:-enable}-image...
$ECHO_C" >&6; }
14347 # Check whether --enable-image was given.
14348 if test "${enable_image+set}" = set; then
14349 enableval=$enable_image;
14350 if test "$enableval" = yes; then
14351 wx_cv_use_image='wxUSE_IMAGE=yes'
14353 wx_cv_use_image='wxUSE_IMAGE=no'
14358 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
14363 eval "$wx_cv_use_image"
14365 if test x
"$enablestring" = xdisable
; then
14366 if test $wxUSE_IMAGE = no
; then
14372 result
=$wxUSE_IMAGE
14375 { echo "$as_me:$LINENO: result: $result" >&5
14376 echo "${ECHO_T}$result" >&6; }
14380 defaultval
=$wxUSE_ALL_FEATURES
14381 if test -z "$defaultval"; then
14382 if test x
"$enablestring" = xdisable
; then
14389 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
14390 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
14391 # Check whether --enable-gif was given.
14392 if test "${enable_gif+set}" = set; then
14393 enableval
=$enable_gif;
14394 if test "$enableval" = yes; then
14395 wx_cv_use_gif
='wxUSE_GIF=yes'
14397 wx_cv_use_gif
='wxUSE_GIF=no'
14402 wx_cv_use_gif
='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
14407 eval "$wx_cv_use_gif"
14409 if test x"$enablestring" = xdisable; then
14410 if test $wxUSE_GIF = no; then
14419 { echo "$as_me:$LINENO: result: $result" >&5
14420 echo "${ECHO_T}$result" >&6; }
14424 defaultval=$wxUSE_ALL_FEATURES
14425 if test -z "$defaultval"; then
14426 if test x"$enablestring" = xdisable; then
14433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
14434 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
14435 # Check whether --enable-pcx was given.
14436 if test "${enable_pcx+set}" = set; then
14437 enableval=$enable_pcx;
14438 if test "$enableval" = yes; then
14439 wx_cv_use_pcx='wxUSE_PCX
=yes'
14441 wx_cv_use_pcx='wxUSE_PCX
=no
'
14446 wx_cv_use_pcx='wxUSE_PCX
=${'DEFAULT_wxUSE_PCX":-$defaultval}"
14451 eval "$wx_cv_use_pcx"
14453 if test x"$enablestring" = xdisable; then
14454 if test $wxUSE_PCX = no; then
14463 { echo "$as_me:$LINENO: result
: $result" >&5
14464 echo "${ECHO_T}$result" >&6; }
14468 defaultval=$wxUSE_ALL_FEATURES
14469 if test -z "$defaultval"; then
14470 if test x"$enablestring" = xdisable; then
14477 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-tga" >&5
14478 echo $ECHO_N "checking
for --${enablestring:-enable}-tga...
$ECHO_C" >&6; }
14479 # Check whether --enable-tga was given.
14480 if test "${enable_tga+set}" = set; then
14481 enableval=$enable_tga;
14482 if test "$enableval" = yes; then
14483 wx_cv_use_tga='wxUSE_TGA=yes'
14485 wx_cv_use_tga='wxUSE_TGA=no'
14490 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
14495 eval "$wx_cv_use_tga"
14497 if test x
"$enablestring" = xdisable
; then
14498 if test $wxUSE_TGA = no
; then
14507 { echo "$as_me:$LINENO: result: $result" >&5
14508 echo "${ECHO_T}$result" >&6; }
14512 defaultval
=$wxUSE_ALL_FEATURES
14513 if test -z "$defaultval"; then
14514 if test x
"$enablestring" = xdisable
; then
14521 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
14522 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
14523 # Check whether --enable-iff was given.
14524 if test "${enable_iff+set}" = set; then
14525 enableval
=$enable_iff;
14526 if test "$enableval" = yes; then
14527 wx_cv_use_iff
='wxUSE_IFF=yes'
14529 wx_cv_use_iff
='wxUSE_IFF=no'
14534 wx_cv_use_iff
='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
14539 eval "$wx_cv_use_iff"
14541 if test x"$enablestring" = xdisable; then
14542 if test $wxUSE_IFF = no; then
14551 { echo "$as_me:$LINENO: result: $result" >&5
14552 echo "${ECHO_T}$result" >&6; }
14556 defaultval=$wxUSE_ALL_FEATURES
14557 if test -z "$defaultval"; then
14558 if test x"$enablestring" = xdisable; then
14565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
14566 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
14567 # Check whether --enable-pnm was given.
14568 if test "${enable_pnm+set}" = set; then
14569 enableval=$enable_pnm;
14570 if test "$enableval" = yes; then
14571 wx_cv_use_pnm='wxUSE_PNM
=yes'
14573 wx_cv_use_pnm='wxUSE_PNM
=no
'
14578 wx_cv_use_pnm='wxUSE_PNM
=${'DEFAULT_wxUSE_PNM":-$defaultval}"
14583 eval "$wx_cv_use_pnm"
14585 if test x"$enablestring" = xdisable; then
14586 if test $wxUSE_PNM = no; then
14595 { echo "$as_me:$LINENO: result
: $result" >&5
14596 echo "${ECHO_T}$result" >&6; }
14600 defaultval=$wxUSE_ALL_FEATURES
14601 if test -z "$defaultval"; then
14602 if test x"$enablestring" = xdisable; then
14609 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-xpm" >&5
14610 echo $ECHO_N "checking
for --${enablestring:-enable}-xpm...
$ECHO_C" >&6; }
14611 # Check whether --enable-xpm was given.
14612 if test "${enable_xpm+set}" = set; then
14613 enableval=$enable_xpm;
14614 if test "$enableval" = yes; then
14615 wx_cv_use_xpm='wxUSE_XPM=yes'
14617 wx_cv_use_xpm='wxUSE_XPM=no'
14622 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
14627 eval "$wx_cv_use_xpm"
14629 if test x
"$enablestring" = xdisable
; then
14630 if test $wxUSE_XPM = no
; then
14639 { echo "$as_me:$LINENO: result: $result" >&5
14640 echo "${ECHO_T}$result" >&6; }
14644 defaultval
=$wxUSE_ALL_FEATURES
14645 if test -z "$defaultval"; then
14646 if test x
"$enablestring" = xdisable
; then
14653 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
14654 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
14655 # Check whether --enable-ico_cur was given.
14656 if test "${enable_ico_cur+set}" = set; then
14657 enableval
=$enable_ico_cur;
14658 if test "$enableval" = yes; then
14659 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
14661 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
14666 wx_cv_use_ico_cur
='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
14671 eval "$wx_cv_use_ico_cur"
14673 if test x"$enablestring" = xdisable; then
14674 if test $wxUSE_ICO_CUR = no; then
14680 result=$wxUSE_ICO_CUR
14683 { echo "$as_me:$LINENO: result: $result" >&5
14684 echo "${ECHO_T}$result" >&6; }
14690 defaultval=$wxUSE_ALL_FEATURES
14691 if test -z "$defaultval"; then
14692 if test x"$enablestring" = xdisable; then
14699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
14700 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
14701 # Check whether --enable-dccache was given.
14702 if test "${enable_dccache+set}" = set; then
14703 enableval=$enable_dccache;
14704 if test "$enableval" = yes; then
14705 wx_cv_use_dccache='wxUSE_DC_CACHEING
=yes'
14707 wx_cv_use_dccache='wxUSE_DC_CACHEING
=no
'
14712 wx_cv_use_dccache='wxUSE_DC_CACHEING
=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
14717 eval "$wx_cv_use_dccache"
14719 if test x"$enablestring" = xdisable; then
14720 if test $wxUSE_DC_CACHEING = no; then
14726 result=$wxUSE_DC_CACHEING
14729 { echo "$as_me:$LINENO: result
: $result" >&5
14730 echo "${ECHO_T}$result" >&6; }
14734 defaultval=$wxUSE_ALL_FEATURES
14735 if test -z "$defaultval"; then
14736 if test x"$enablestring" = xdisable; then
14743 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-ps-in-msw" >&5
14744 echo $ECHO_N "checking
for --${enablestring:-enable}-ps-in-msw...
$ECHO_C" >&6; }
14745 # Check whether --enable-ps-in-msw was given.
14746 if test "${enable_ps_in_msw+set}" = set; then
14747 enableval=$enable_ps_in_msw;
14748 if test "$enableval" = yes; then
14749 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
14751 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
14756 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
14761 eval "$wx_cv_use_ps_in_msw"
14763 if test x
"$enablestring" = xdisable
; then
14764 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no
; then
14770 result
=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
14773 { echo "$as_me:$LINENO: result: $result" >&5
14774 echo "${ECHO_T}$result" >&6; }
14778 defaultval
=$wxUSE_ALL_FEATURES
14779 if test -z "$defaultval"; then
14780 if test x
"$enablestring" = xdisable
; then
14787 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
14788 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
14789 # Check whether --enable-ownerdrawn was given.
14790 if test "${enable_ownerdrawn+set}" = set; then
14791 enableval
=$enable_ownerdrawn;
14792 if test "$enableval" = yes; then
14793 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=yes'
14795 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=no'
14800 wx_cv_use_ownerdrawn
='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
14805 eval "$wx_cv_use_ownerdrawn"
14807 if test x"$enablestring" = xdisable; then
14808 if test $wxUSE_OWNER_DRAWN = no; then
14814 result=$wxUSE_OWNER_DRAWN
14817 { echo "$as_me:$LINENO: result: $result" >&5
14818 echo "${ECHO_T}$result" >&6; }
14822 defaultval=$wxUSE_ALL_FEATURES
14823 if test -z "$defaultval"; then
14824 if test x"$enablestring" = xdisable; then
14831 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
14832 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
14833 # Check whether --enable-uxtheme was given.
14834 if test "${enable_uxtheme+set}" = set; then
14835 enableval=$enable_uxtheme;
14836 if test "$enableval" = yes; then
14837 wx_cv_use_uxtheme='wxUSE_UXTHEME
=yes'
14839 wx_cv_use_uxtheme='wxUSE_UXTHEME
=no
'
14844 wx_cv_use_uxtheme='wxUSE_UXTHEME
=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
14849 eval "$wx_cv_use_uxtheme"
14851 if test x"$enablestring" = xdisable; then
14852 if test $wxUSE_UXTHEME = no; then
14858 result=$wxUSE_UXTHEME
14861 { echo "$as_me:$LINENO: result
: $result" >&5
14862 echo "${ECHO_T}$result" >&6; }
14866 defaultval=$wxUSE_ALL_FEATURES
14867 if test -z "$defaultval"; then
14868 if test x"$enablestring" = xdisable; then
14875 { echo "$as_me:$LINENO: checking
for --${enablestring:-enable}-wxdib" >&5
14876 echo $ECHO_N "checking
for --${enablestring:-enable}-wxdib...
$ECHO_C" >&6; }
14877 # Check whether --enable-wxdib was given.
14878 if test "${enable_wxdib+set}" = set; then
14879 enableval=$enable_wxdib;
14880 if test "$enableval" = yes; then
14881 wx_cv_use_wxdib='wxUSE_DIB=yes'
14883 wx_cv_use_wxdib='wxUSE_DIB=no'
14888 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
14893 eval "$wx_cv_use_wxdib"
14895 if test x
"$enablestring" = xdisable
; then
14896 if test $wxUSE_DIB = no
; then
14905 { echo "$as_me:$LINENO: result: $result" >&5
14906 echo "${ECHO_T}$result" >&6; }
14910 defaultval
=$wxUSE_ALL_FEATURES
14911 if test -z "$defaultval"; then
14912 if test x
"$enablestring" = xdisable
; then
14919 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webviewie" >&5
14920 echo $ECHO_N "checking for --${enablestring:-enable}-webviewie... $ECHO_C" >&6; }
14921 # Check whether --enable-webviewie was given.
14922 if test "${enable_webviewie+set}" = set; then
14923 enableval
=$enable_webviewie;
14924 if test "$enableval" = yes; then
14925 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=yes'
14927 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=no'
14932 wx_cv_use_webviewie
='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
14937 eval "$wx_cv_use_webviewie"
14939 if test x"$enablestring" = xdisable; then
14940 if test $wxUSE_WEBVIEW_IE = no; then
14946 result=$wxUSE_WEBVIEW_IE
14949 { echo "$as_me:$LINENO: result: $result" >&5
14950 echo "${ECHO_T}$result" >&6; }
14953 if test "$wxUSE_MSW" != 1; then
14954 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
14959 defaultval=$wxUSE_ALL_FEATURES
14960 if test -z "$defaultval"; then
14961 if test x"$enablestring" = xdisable; then
14968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
14969 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
14970 # Check whether --enable-autoidman was given.
14971 if test "${enable_autoidman+set}" = set; then
14972 enableval=$enable_autoidman;
14973 if test "$enableval" = yes; then
14974 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=yes'
14976 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=no
'
14981 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT
=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
14986 eval "$wx_cv_use_autoidman"
14988 if test x"$enablestring" = xdisable; then
14989 if test $wxUSE_AUTOID_MANAGEMENT = no; then
14995 result=$wxUSE_AUTOID_MANAGEMENT
14998 { echo "$as_me:$LINENO: result
: $result" >&5
14999 echo "${ECHO_T}$result" >&6; }
15005 cat >confcache <<\_ACEOF
15006 # This file is a shell script that caches the results of configure
15007 # tests run on this system so they can be shared between configure
15008 # scripts and configure runs, see configure's option --config-cache.
15009 # It is not useful on other systems. If it contains results you don't
15010 # want to keep, you may remove or edit it.
15012 # config.status only pays attention to the cache file if you give it
15013 # the --recheck option to rerun configure.
15015 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15016 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15017 # following values.
15021 # The following way of writing the cache mishandles newlines in values,
15022 # but we know of no workaround that is simple, portable, and efficient.
15023 # So, we kill variables containing newlines.
15024 # Ultrix sh set writes to stderr and can't be redirected directly,
15025 # and sets the high bit in the cache file unless we assign to the vars.
15027 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15028 eval ac_val=\$$ac_var
15032 *_cv_*) { echo "$as_me:$LINENO: WARNING
: Cache variable
$ac_var contains a newline.
" >&5
15033 echo "$as_me: WARNING
: Cache variable
$ac_var contains a newline.
" >&2;} ;;
15036 _ | IFS | as_nl) ;; #(
15037 *) $as_unset $ac_var ;;
15043 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15044 *${as_nl}ac_space=\ *)
15045 # `set' does not quote correctly, so add quotes (double-quote
15046 # substitution turns \\\\ into \\, and sed turns \\ into \).
15049 s
/^
\\([_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*\\)=\\(.
*\\)/\\1='\\2'/p
"
15052 # `set' quotes correctly as required by POSIX, so do not add quotes.
15053 sed -n "/^
[_
$as_cr_alnum]*_cv_
[_
$as_cr_alnum]*=/p
"
15062 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15064 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15066 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
15067 if test -w "$cache_file"; then
15068 test "x
$cache_file" != "x
/dev
/null
" &&
15069 { echo "$as_me:$LINENO: updating cache
$cache_file" >&5
15070 echo "$as_me: updating cache
$cache_file" >&6;}
15071 cat confcache >$cache_file
15073 { echo "$as_me:$LINENO: not updating unwritable cache
$cache_file" >&5
15074 echo "$as_me: not updating unwritable cache
$cache_file" >&6;}
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15085 if test -n "$ac_tool_prefix"; then
15086 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
15087 set dummy ${ac_tool_prefix}gcc; ac_word=$2
15088 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15089 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15090 if test "${ac_cv_prog_CC+set}" = set; then
15091 echo $ECHO_N "(cached
) $ECHO_C" >&6
15093 if test -n "$CC"; then
15094 ac_cv_prog_CC="$CC" # Let the user override the test.
15096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15097 for as_dir in $PATH
15100 test -z "$as_dir" && as_dir=.
15101 for ac_exec_ext in '' $ac_executable_extensions; do
15102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15103 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
15104 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15114 if test -n "$CC"; then
15115 { echo "$as_me:$LINENO: result
: $CC" >&5
15116 echo "${ECHO_T}$CC" >&6; }
15118 { echo "$as_me:$LINENO: result
: no
" >&5
15119 echo "${ECHO_T}no
" >&6; }
15124 if test -z "$ac_cv_prog_CC"; then
15126 # Extract the first word of "gcc
", so it can be a program name with args.
15127 set dummy gcc; ac_word=$2
15128 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15129 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15130 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15131 echo $ECHO_N "(cached
) $ECHO_C" >&6
15133 if test -n "$ac_ct_CC"; then
15134 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15137 for as_dir in $PATH
15140 test -z "$as_dir" && as_dir=.
15141 for ac_exec_ext in '' $ac_executable_extensions; do
15142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15143 ac_cv_prog_ac_ct_CC="gcc
"
15144 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15153 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15154 if test -n "$ac_ct_CC"; then
15155 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
15156 echo "${ECHO_T}$ac_ct_CC" >&6; }
15158 { echo "$as_me:$LINENO: result
: no
" >&5
15159 echo "${ECHO_T}no
" >&6; }
15162 if test "x
$ac_ct_CC" = x; then
15165 case $cross_compiling:$ac_tool_warned in
15167 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
15168 whose name does not start with the
host triplet. If you think this
15169 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
15170 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
15171 whose name does not start with the
host triplet. If you think this
15172 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
15173 ac_tool_warned=yes ;;
15178 CC="$ac_cv_prog_CC"
15181 if test -z "$CC"; then
15182 if test -n "$ac_tool_prefix"; then
15183 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
15184 set dummy ${ac_tool_prefix}cc; ac_word=$2
15185 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15186 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15187 if test "${ac_cv_prog_CC+set}" = set; then
15188 echo $ECHO_N "(cached
) $ECHO_C" >&6
15190 if test -n "$CC"; then
15191 ac_cv_prog_CC="$CC" # Let the user override the test.
15193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15194 for as_dir in $PATH
15197 test -z "$as_dir" && as_dir=.
15198 for ac_exec_ext in '' $ac_executable_extensions; do
15199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15200 ac_cv_prog_CC="${ac_tool_prefix}cc
"
15201 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15211 if test -n "$CC"; then
15212 { echo "$as_me:$LINENO: result
: $CC" >&5
15213 echo "${ECHO_T}$CC" >&6; }
15215 { echo "$as_me:$LINENO: result
: no
" >&5
15216 echo "${ECHO_T}no
" >&6; }
15222 if test -z "$CC"; then
15223 # Extract the first word of "cc
", so it can be a program name with args.
15224 set dummy cc; ac_word=$2
15225 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15226 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15227 if test "${ac_cv_prog_CC+set}" = set; then
15228 echo $ECHO_N "(cached
) $ECHO_C" >&6
15230 if test -n "$CC"; then
15231 ac_cv_prog_CC="$CC" # Let the user override the test.
15233 ac_prog_rejected=no
15234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15235 for as_dir in $PATH
15238 test -z "$as_dir" && as_dir=.
15239 for ac_exec_ext in '' $ac_executable_extensions; do
15240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15241 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
15242 ac_prog_rejected=yes
15246 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15253 if test $ac_prog_rejected = yes; then
15254 # We found a bogon in the path, so make sure we never use it.
15255 set dummy $ac_cv_prog_CC
15257 if test $# != 0; then
15258 # We chose a different compiler from the bogus one.
15259 # However, it has the same basename, so the bogon will be chosen
15260 # first if we set CC to just the basename; use the full file name.
15262 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
15268 if test -n "$CC"; then
15269 { echo "$as_me:$LINENO: result
: $CC" >&5
15270 echo "${ECHO_T}$CC" >&6; }
15272 { echo "$as_me:$LINENO: result
: no
" >&5
15273 echo "${ECHO_T}no
" >&6; }
15278 if test -z "$CC"; then
15279 if test -n "$ac_tool_prefix"; then
15280 for ac_prog in cl.exe
15282 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15283 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15284 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15285 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15286 if test "${ac_cv_prog_CC+set}" = set; then
15287 echo $ECHO_N "(cached
) $ECHO_C" >&6
15289 if test -n "$CC"; then
15290 ac_cv_prog_CC="$CC" # Let the user override the test.
15292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15293 for as_dir in $PATH
15296 test -z "$as_dir" && as_dir=.
15297 for ac_exec_ext in '' $ac_executable_extensions; do
15298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15299 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
15300 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15310 if test -n "$CC"; then
15311 { echo "$as_me:$LINENO: result
: $CC" >&5
15312 echo "${ECHO_T}$CC" >&6; }
15314 { echo "$as_me:$LINENO: result
: no
" >&5
15315 echo "${ECHO_T}no
" >&6; }
15319 test -n "$CC" && break
15322 if test -z "$CC"; then
15324 for ac_prog in cl.exe
15326 # Extract the first word of "$ac_prog", so it can be a program name with args.
15327 set dummy $ac_prog; ac_word=$2
15328 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
15329 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
15330 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
15331 echo $ECHO_N "(cached
) $ECHO_C" >&6
15333 if test -n "$ac_ct_CC"; then
15334 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
15336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15337 for as_dir in $PATH
15340 test -z "$as_dir" && as_dir=.
15341 for ac_exec_ext in '' $ac_executable_extensions; do
15342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15343 ac_cv_prog_ac_ct_CC="$ac_prog"
15344 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
15353 ac_ct_CC=$ac_cv_prog_ac_ct_CC
15354 if test -n "$ac_ct_CC"; then
15355 { echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
15356 echo "${ECHO_T}$ac_ct_CC" >&6; }
15358 { echo "$as_me:$LINENO: result
: no
" >&5
15359 echo "${ECHO_T}no
" >&6; }
15363 test -n "$ac_ct_CC" && break
15366 if test "x
$ac_ct_CC" = x; then
15369 case $cross_compiling:$ac_tool_warned in
15371 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross
-tools
15372 whose name does not start with the
host triplet. If you think this
15373 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
15374 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross
-tools
15375 whose name does not start with the
host triplet. If you think this
15376 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
15377 ac_tool_warned=yes ;;
15386 test -z "$CC" && { { echo "$as_me:$LINENO: error
: no acceptable C compiler found
in \
$PATH
15387 See \
`config.log' for more details." >&5
15388 echo "$as_me: error: no acceptable C compiler found in \$PATH
15389 See \`config.log
' for more details." >&2;}
15390 { (exit 1); exit 1; }; }
15392 # Provide some information about the compiler.
15393 echo "$as_me:$LINENO: checking for C compiler version" >&5
15394 ac_compiler=`set X $ac_compile; echo $2`
15395 { (ac_try="$ac_compiler --version >&5"
15396 case "(($ac_try" in
15397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15398 *) ac_try_echo=$ac_try;;
15400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15401 (eval "$ac_compiler --version >&5") 2>&5
15403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15404 (exit $ac_status); }
15405 { (ac_try="$ac_compiler -v >&5"
15406 case "(($ac_try" in
15407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15408 *) ac_try_echo=$ac_try;;
15410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15411 (eval "$ac_compiler -v >&5") 2>&5
15413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15414 (exit $ac_status); }
15415 { (ac_try="$ac_compiler -V >&5"
15416 case "(($ac_try" in
15417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15418 *) ac_try_echo=$ac_try;;
15420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15421 (eval "$ac_compiler -V >&5") 2>&5
15423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15424 (exit $ac_status); }
15426 cat >conftest.$ac_ext <<_ACEOF
15429 cat confdefs.h >>conftest.$ac_ext
15430 cat >>conftest.$ac_ext <<_ACEOF
15431 /* end confdefs.h. */
15441 ac_clean_files_save=$ac_clean_files
15442 ac_clean_files="$ac_clean_files a.out a.exe b.out"
15443 # Try to create an executable without -o first, disregard a.out.
15444 # It will help us diagnose broken compilers, and finding out an intuition
15446 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
15447 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
15448 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
15450 # List of possible output files, starting from the most likely.
15451 # The algorithm is not robust to junk in `.', hence go to wildcards
(a.
*)
15452 # only as a last resort. b.out is created by i960 compilers.
15453 ac_files
='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
15455 # The IRIX 6 linker writes into existing files which may not be
15456 # executable, retaining their permissions. Remove them first so a
15457 # subsequent execution test works.
15459 for ac_file
in $ac_files
15462 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15463 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
15468 if { (ac_try
="$ac_link_default"
15469 case "(($ac_try" in
15470 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15471 *) ac_try_echo=$ac_try;;
15473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15474 (eval "$ac_link_default") 2>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); }; then
15478 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
15479 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
15480 # in a Makefile. We should not override ac_cv_exeext if it was cached,
15481 # so that the user can short-circuit this test for compilers unknown to
15483 for ac_file in $ac_files ''
15485 test -f "$ac_file" || continue
15487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
15490 # We found the default executable, but exeext='' is most
15494 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
15496 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
15498 # We set ac_cv_exeext here because the later test for it is not
15499 # safe: cross compilers may not add the suffix if given an `-o'
15500 # argument, so we may need to know it at that point already.
15501 # Even if this section looks crufty: it has the advantage of
15502 # actually working.
15508 test "$ac_cv_exeext" = no && ac_cv_exeext=
15514 { echo "$as_me:$LINENO: result: $ac_file" >&5
15515 echo "${ECHO_T}$ac_file" >&6; }
15516 if test -z "$ac_file"; then
15517 echo "$as_me: failed program was:" >&5
15518 sed 's
/^
/| /' conftest.$ac_ext >&5
15520 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
15521 See \`config.log' for more details.
" >&5
15522 echo "$as_me: error
: C compiler cannot create executables
15523 See \
`config.log' for more details." >&2;}
15524 { (exit 77); exit 77; }; }
15527 ac_exeext=$ac_cv_exeext
15529 # Check that the compiler produces executables we can run. If not, either
15530 # the compiler is broken, or we cross compile.
15531 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
15532 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
15533 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
15534 # If not cross compiling, check that we can run a simple program.
15535 if test "$cross_compiling" != yes; then
15536 if { ac_try='./$ac_file'
15537 { (case "(($ac_try" in
15538 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
15539 *) ac_try_echo
=$ac_try;;
15541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15542 (eval "$ac_try") 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; }; then
15548 if test "$cross_compiling" = maybe
; then
15549 cross_compiling
=yes
15551 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
15552 If you meant to cross compile, use \`--host'.
15553 See \`config.log' for more details." >&5
15554 echo "$as_me: error: cannot run C compiled programs.
15555 If you meant to cross compile, use \`--host'.
15556 See \`config.log' for more details." >&2;}
15557 { (exit 1); exit 1; }; }
15561 { echo "$as_me:$LINENO: result: yes" >&5
15562 echo "${ECHO_T}yes" >&6; }
15564 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
15565 ac_clean_files
=$ac_clean_files_save
15566 # Check that the compiler produces executables we can run. If not, either
15567 # the compiler is broken, or we cross compile.
15568 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
15569 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
15570 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
15571 echo "${ECHO_T}$cross_compiling" >&6; }
15573 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
15574 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
15575 if { (ac_try
="$ac_link"
15576 case "(($ac_try" in
15577 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15578 *) ac_try_echo=$ac_try;;
15580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15581 (eval "$ac_link") 2>&5
15583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15584 (exit $ac_status); }; then
15585 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
15586 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
15587 # work properly (i.e., refer to `conftest.exe'), while it won't with
15589 for ac_file
in conftest.exe conftest conftest.
*; do
15590 test -f "$ac_file" || continue
15592 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
| *.bb
| *.bbg
| *.map
| *.inf
| *.o
| *.obj
) ;;
15593 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
15599 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
15600 See \`config.log' for more details." >&5
15601 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
15602 See \`config.log' for more details." >&2;}
15603 { (exit 1); exit 1; }; }
15606 rm -f conftest
$ac_cv_exeext
15607 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
15608 echo "${ECHO_T}$ac_cv_exeext" >&6; }
15610 rm -f conftest.
$ac_ext
15611 EXEEXT
=$ac_cv_exeext
15613 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
15614 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
15615 if test "${ac_cv_objext+set}" = set; then
15616 echo $ECHO_N "(cached) $ECHO_C" >&6
15618 cat >conftest.
$ac_ext <<_ACEOF
15621 cat confdefs.h
>>conftest.
$ac_ext
15622 cat >>conftest.
$ac_ext <<_ACEOF
15623 /* end confdefs.h. */
15633 rm -f conftest.o conftest.obj
15634 if { (ac_try
="$ac_compile"
15635 case "(($ac_try" in
15636 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
15637 *) ac_try_echo=$ac_try;;
15639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15640 (eval "$ac_compile") 2>&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); }; then
15644 for ac_file in conftest.o conftest.obj conftest.*; do
15645 test -f "$ac_file" || continue;
15647 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
15648 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.$ac_ext >&5
15656 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
15657 See \`config.log
' for more details." >&5
15658 echo "$as_me: error: cannot compute suffix of object files: cannot compile
15659 See \`config.log' for more details.
" >&2;}
15660 { (exit 1); exit 1; }; }
15663 rm -f conftest.$ac_cv_objext conftest.$ac_ext
15665 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
15666 echo "${ECHO_T}$ac_cv_objext" >&6; }
15667 OBJEXT=$ac_cv_objext
15669 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
15670 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
15671 if test "${ac_cv_c_compiler_gnu+set}" = set; then
15672 echo $ECHO_N "(cached
) $ECHO_C" >&6
15674 cat >conftest.$ac_ext <<_ACEOF
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15692 rm -f conftest.$ac_objext
15693 if { (ac_try="$ac_compile"
15694 case "(($ac_try" in
15695 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15696 *) ac_try_echo=$ac_try;;
15698 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15699 (eval "$ac_compile") 2>conftest.er1
15701 grep -v '^ *+' conftest.er1 >conftest.err
15703 cat conftest.err >&5
15704 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15705 (exit $ac_status); } && {
15706 test -z "$ac_c_werror_flag" ||
15707 test ! -s conftest.err
15708 } && test -s conftest.$ac_objext; then
15709 ac_compiler_gnu=yes
15711 echo "$as_me: failed program was
:" >&5
15712 sed 's/^/| /' conftest.$ac_ext >&5
15717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15718 ac_cv_c_compiler_gnu=$ac_compiler_gnu
15721 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
15722 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
15723 GCC=`test $ac_compiler_gnu = yes && echo yes`
15724 ac_test_CFLAGS=${CFLAGS+set}
15725 ac_save_CFLAGS=$CFLAGS
15726 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
15727 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
15728 if test "${ac_cv_prog_cc_g+set}" = set; then
15729 echo $ECHO_N "(cached
) $ECHO_C" >&6
15731 ac_save_c_werror_flag=$ac_c_werror_flag
15732 ac_c_werror_flag=yes
15735 cat >conftest.$ac_ext <<_ACEOF
15738 cat confdefs.h >>conftest.$ac_ext
15739 cat >>conftest.$ac_ext <<_ACEOF
15740 /* end confdefs.h. */
15750 rm -f conftest.$ac_objext
15751 if { (ac_try="$ac_compile"
15752 case "(($ac_try" in
15753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15754 *) ac_try_echo=$ac_try;;
15756 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15757 (eval "$ac_compile") 2>conftest.er1
15759 grep -v '^ *+' conftest.er1 >conftest.err
15761 cat conftest.err >&5
15762 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15763 (exit $ac_status); } && {
15764 test -z "$ac_c_werror_flag" ||
15765 test ! -s conftest.err
15766 } && test -s conftest.$ac_objext; then
15767 ac_cv_prog_cc_g=yes
15769 echo "$as_me: failed program was
:" >&5
15770 sed 's/^/| /' conftest.$ac_ext >&5
15773 cat >conftest.$ac_ext <<_ACEOF
15776 cat confdefs.h >>conftest.$ac_ext
15777 cat >>conftest.$ac_ext <<_ACEOF
15778 /* end confdefs.h. */
15788 rm -f conftest.$ac_objext
15789 if { (ac_try="$ac_compile"
15790 case "(($ac_try" in
15791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15792 *) ac_try_echo=$ac_try;;
15794 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15795 (eval "$ac_compile") 2>conftest.er1
15797 grep -v '^ *+' conftest.er1 >conftest.err
15799 cat conftest.err >&5
15800 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15801 (exit $ac_status); } && {
15802 test -z "$ac_c_werror_flag" ||
15803 test ! -s conftest.err
15804 } && test -s conftest.$ac_objext; then
15807 echo "$as_me: failed program was
:" >&5
15808 sed 's/^/| /' conftest.$ac_ext >&5
15810 ac_c_werror_flag=$ac_save_c_werror_flag
15812 cat >conftest.$ac_ext <<_ACEOF
15815 cat confdefs.h >>conftest.$ac_ext
15816 cat >>conftest.$ac_ext <<_ACEOF
15817 /* end confdefs.h. */
15827 rm -f conftest.$ac_objext
15828 if { (ac_try="$ac_compile"
15829 case "(($ac_try" in
15830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15831 *) ac_try_echo=$ac_try;;
15833 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15834 (eval "$ac_compile") 2>conftest.er1
15836 grep -v '^ *+' conftest.er1 >conftest.err
15838 cat conftest.err >&5
15839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15840 (exit $ac_status); } && {
15841 test -z "$ac_c_werror_flag" ||
15842 test ! -s conftest.err
15843 } && test -s conftest.$ac_objext; then
15844 ac_cv_prog_cc_g=yes
15846 echo "$as_me: failed program was
:" >&5
15847 sed 's/^/| /' conftest.$ac_ext >&5
15852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15859 ac_c_werror_flag=$ac_save_c_werror_flag
15861 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
15862 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15863 if test "$ac_test_CFLAGS" = set; then
15864 CFLAGS=$ac_save_CFLAGS
15865 elif test $ac_cv_prog_cc_g = yes; then
15866 if test "$GCC" = yes; then
15872 if test "$GCC" = yes; then
15878 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
15879 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
15880 if test "${ac_cv_prog_cc_c89+set}" = set; then
15881 echo $ECHO_N "(cached
) $ECHO_C" >&6
15883 ac_cv_prog_cc_c89=no
15885 cat >conftest.$ac_ext <<_ACEOF
15888 cat confdefs.h >>conftest.$ac_ext
15889 cat >>conftest.$ac_ext <<_ACEOF
15890 /* end confdefs.h. */
15891 #include <stdarg.h>
15893 #include <sys/types.h>
15894 #include <sys/stat.h>
15895 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
15896 struct buf { int x; };
15897 FILE * (*rcsopen) (struct buf *, struct stat *, int);
15898 static char *e (p, i)
15904 static char *f (char * (*g) (char **, int), char **p, ...)
15909 s = g (p, va_arg (v,int));
15914 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
15915 function prototypes and stuff, but not '\xHH' hex character constants.
15916 These don't provoke an error unfortunately, instead are silently treated
15917 as 'x'. The following induces an error, until -std is added to get
15918 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
15919 array size at least. It's necessary to write '\x00'==0 to get something
15920 that's true only with -std. */
15921 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
15923 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
15924 inside strings and character constants. */
15926 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
15928 int test (int i, double x);
15929 struct s1 {int (*f) (int a);};
15930 struct s2 {int (*f) (double a);};
15931 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
15937 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
15942 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
15943 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
15945 CC="$ac_save_CC $ac_arg"
15946 rm -f conftest.$ac_objext
15947 if { (ac_try="$ac_compile"
15948 case "(($ac_try" in
15949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15950 *) ac_try_echo=$ac_try;;
15952 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
15953 (eval "$ac_compile") 2>conftest.er1
15955 grep -v '^ *+' conftest.er1 >conftest.err
15957 cat conftest.err >&5
15958 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
15959 (exit $ac_status); } && {
15960 test -z "$ac_c_werror_flag" ||
15961 test ! -s conftest.err
15962 } && test -s conftest.$ac_objext; then
15963 ac_cv_prog_cc_c89=$ac_arg
15965 echo "$as_me: failed program was
:" >&5
15966 sed 's/^/| /' conftest.$ac_ext >&5
15971 rm -f core conftest.err conftest.$ac_objext
15972 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
15974 rm -f conftest.$ac_ext
15979 case "x
$ac_cv_prog_cc_c89" in
15981 { echo "$as_me:$LINENO: result
: none needed
" >&5
15982 echo "${ECHO_T}none needed
" >&6; } ;;
15984 { echo "$as_me:$LINENO: result
: unsupported
" >&5
15985 echo "${ECHO_T}unsupported
" >&6; } ;;
15987 CC="$CC $ac_cv_prog_cc_c89"
15988 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
15989 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
15994 ac_cpp='$CPP $CPPFLAGS'
15995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16012 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler
" >&5
16013 echo $ECHO_N "checking whether we are using the Intel C compiler...
$ECHO_C" >&6; }
16014 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
16015 echo $ECHO_N "(cached
) $ECHO_C" >&6
16017 cat >conftest.$ac_ext <<_ACEOF
16020 cat confdefs.h >>conftest.$ac_ext
16021 cat >>conftest.$ac_ext <<_ACEOF
16022 /* end confdefs.h. */
16028 #ifndef __INTEL_COMPILER
16036 rm -f conftest.$ac_objext
16037 if { (ac_try="$ac_compile"
16038 case "(($ac_try" in
16039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16040 *) ac_try_echo=$ac_try;;
16042 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16043 (eval "$ac_compile") 2>conftest.er1
16045 grep -v '^ *+' conftest.er1 >conftest.err
16047 cat conftest.err >&5
16048 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16049 (exit $ac_status); } && {
16050 test -z "$ac_c_werror_flag" ||
16051 test ! -s conftest.err
16052 } && test -s conftest.$ac_objext; then
16053 bakefile_cv_c_compiler___INTEL_COMPILER=yes
16055 echo "$as_me: failed program was
:" >&5
16056 sed 's/^/| /' conftest.$ac_ext >&5
16058 bakefile_cv_c_compiler___INTEL_COMPILER=no
16062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16066 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
16067 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
16068 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes
"; then
16074 ac_cpp='$CPP $CPPFLAGS'
16075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16082 if test "$INTELCC" = "yes"; then
16086 ac_cpp='$CPP $CPPFLAGS'
16087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16091 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v8 or later
" >&5
16092 echo $ECHO_N "checking whether we are using Intel C compiler v8 or later...
$ECHO_C" >&6; }
16093 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+set}" = set; then
16094 echo $ECHO_N "(cached
) $ECHO_C" >&6
16096 cat >conftest.$ac_ext <<_ACEOF
16099 cat confdefs.h >>conftest.$ac_ext
16100 cat >>conftest.$ac_ext <<_ACEOF
16101 /* end confdefs.h. */
16107 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
16115 rm -f conftest.$ac_objext
16116 if { (ac_try="$ac_compile"
16117 case "(($ac_try" in
16118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16119 *) ac_try_echo=$ac_try;;
16121 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16122 (eval "$ac_compile") 2>conftest.er1
16124 grep -v '^ *+' conftest.er1 >conftest.err
16126 cat conftest.err >&5
16127 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16128 (exit $ac_status); } && {
16129 test -z "$ac_c_werror_flag" ||
16130 test ! -s conftest.err
16131 } && test -s conftest.$ac_objext; then
16132 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
16134 echo "$as_me: failed program was
:" >&5
16135 sed 's/^/| /' conftest.$ac_ext >&5
16137 bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
16141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16145 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
16146 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
16147 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes
"; then
16153 ac_cpp='$CPP $CPPFLAGS'
16154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16163 ac_cpp='$CPP $CPPFLAGS'
16164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16168 { echo "$as_me:$LINENO: checking whether we are using Intel C compiler v10 or later
" >&5
16169 echo $ECHO_N "checking whether we are using Intel C compiler v10 or later...
$ECHO_C" >&6; }
16170 if test "${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
16171 echo $ECHO_N "(cached
) $ECHO_C" >&6
16173 cat >conftest.$ac_ext <<_ACEOF
16176 cat confdefs.h >>conftest.$ac_ext
16177 cat >>conftest.$ac_ext <<_ACEOF
16178 /* end confdefs.h. */
16184 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
16192 rm -f conftest.$ac_objext
16193 if { (ac_try="$ac_compile"
16194 case "(($ac_try" in
16195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16196 *) ac_try_echo=$ac_try;;
16198 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
16199 (eval "$ac_compile") 2>conftest.er1
16201 grep -v '^ *+' conftest.er1 >conftest.err
16203 cat conftest.err >&5
16204 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16205 (exit $ac_status); } && {
16206 test -z "$ac_c_werror_flag" ||
16207 test ! -s conftest.err
16208 } && test -s conftest.$ac_objext; then
16209 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
16211 echo "$as_me: failed program was
:" >&5
16212 sed 's/^/| /' conftest.$ac_ext >&5
16214 bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
16218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16222 { echo "$as_me:$LINENO: result
: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
16223 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
16224 if test "x
$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes
"; then
16230 ac_cpp='$CPP $CPPFLAGS'
16231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16239 if test "x
$GCC" != "xyes
"; then
16240 if test "xCC
" = "xC
"; then
16241 { echo "$as_me:$LINENO: checking
if the C compiler requires
-ext o
" >&5
16242 echo $ECHO_N "checking
if the C compiler requires
-ext o...
$ECHO_C" >&6; }
16243 if test "${bakefile_cv_c_exto+set}" = set; then
16244 echo $ECHO_N "(cached
) $ECHO_C" >&6
16246 cat >conftest.$ac_ext <<_ACEOF
16249 cat confdefs.h >>conftest.$ac_ext
16250 cat >>conftest.$ac_ext <<_ACEOF
16251 /* end confdefs.h. */
16261 rm -f conftest.$ac_objext conftest.$ac_ext.o
16262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16263 (eval $ac_compile) 2>&5
16265 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
16266 (exit $ac_status); }; then
16267 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16269 conftest.$ac_ext.o)
16270 bakefile_cv_c_exto="-ext o
"
16277 { { echo "$as_me:$LINENO: error
: cannot figure out
if compiler needs
-ext o
: cannot compile
16278 See \
`config.log' for more details." >&5
16279 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16280 See \`config.log
' for more details." >&2;}
16281 { (exit 1); exit 1; }; }
16285 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16288 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16289 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16290 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16291 if test "c" = "c"; then
16292 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16294 if test "c" = "cxx"; then
16295 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16299 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16300 unset ac_cv_prog_cc_g
16301 ac_test_CFLAGS=${CFLAGS+set}
16302 ac_save_CFLAGS=$CFLAGS
16303 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16304 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16305 if test "${ac_cv_prog_cc_g+set}" = set; then
16306 echo $ECHO_N "(cached) $ECHO_C" >&6
16308 ac_save_c_werror_flag=$ac_c_werror_flag
16309 ac_c_werror_flag=yes
16312 cat >conftest.$ac_ext <<_ACEOF
16315 cat confdefs.h >>conftest.$ac_ext
16316 cat >>conftest.$ac_ext <<_ACEOF
16317 /* end confdefs.h. */
16327 rm -f conftest.$ac_objext
16328 if { (ac_try="$ac_compile"
16329 case "(($ac_try" in
16330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16331 *) ac_try_echo=$ac_try;;
16333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16334 (eval "$ac_compile") 2>conftest.er1
16336 grep -v '^
*+' conftest.er1 >conftest.err
16338 cat conftest.err >&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); } && {
16341 test -z "$ac_c_werror_flag" ||
16342 test ! -s conftest.err
16343 } && test -s conftest.$ac_objext; then
16344 ac_cv_prog_cc_g=yes
16346 echo "$as_me: failed program was:" >&5
16347 sed 's
/^
/| /' conftest.$ac_ext >&5
16350 cat >conftest.$ac_ext <<_ACEOF
16353 cat confdefs.h >>conftest.$ac_ext
16354 cat >>conftest.$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16365 rm -f conftest.$ac_objext
16366 if { (ac_try="$ac_compile"
16367 case "(($ac_try" in
16368 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16369 *) ac_try_echo=$ac_try;;
16371 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16372 (eval "$ac_compile") 2>conftest.er1
16374 grep -v '^
*+' conftest.er1 >conftest.err
16376 cat conftest.err >&5
16377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16378 (exit $ac_status); } && {
16379 test -z "$ac_c_werror_flag" ||
16380 test ! -s conftest.err
16381 } && test -s conftest.$ac_objext; then
16384 echo "$as_me: failed program was:" >&5
16385 sed 's
/^
/| /' conftest.$ac_ext >&5
16387 ac_c_werror_flag=$ac_save_c_werror_flag
16389 cat >conftest.$ac_ext <<_ACEOF
16392 cat confdefs.h >>conftest.$ac_ext
16393 cat >>conftest.$ac_ext <<_ACEOF
16394 /* end confdefs.h. */
16404 rm -f conftest.$ac_objext
16405 if { (ac_try="$ac_compile"
16406 case "(($ac_try" in
16407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16408 *) ac_try_echo=$ac_try;;
16410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16411 (eval "$ac_compile") 2>conftest.er1
16413 grep -v '^
*+' conftest.er1 >conftest.err
16415 cat conftest.err >&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } && {
16418 test -z "$ac_c_werror_flag" ||
16419 test ! -s conftest.err
16420 } && test -s conftest.$ac_objext; then
16421 ac_cv_prog_cc_g=yes
16423 echo "$as_me: failed program was:" >&5
16424 sed 's
/^
/| /' conftest.$ac_ext >&5
16429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16436 ac_c_werror_flag=$ac_save_c_werror_flag
16438 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16439 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16440 if test "$ac_test_CFLAGS" = set; then
16441 CFLAGS=$ac_save_CFLAGS
16442 elif test $ac_cv_prog_cc_g = yes; then
16443 if test "$GCC" = yes; then
16449 if test "$GCC" = yes; then
16463 ac_cpp='$CPP $CPPFLAGS'
16464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16465 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16468 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16469 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16470 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16471 echo $ECHO_N "(cached) $ECHO_C" >&6
16473 cat >conftest.$ac_ext <<_ACEOF
16476 cat confdefs.h >>conftest.$ac_ext
16477 cat >>conftest.$ac_ext <<_ACEOF
16478 /* end confdefs.h. */
16492 rm -f conftest.$ac_objext
16493 if { (ac_try="$ac_compile"
16494 case "(($ac_try" in
16495 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16496 *) ac_try_echo=$ac_try;;
16498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16499 (eval "$ac_compile") 2>conftest.er1
16501 grep -v '^
*+' conftest.er1 >conftest.err
16503 cat conftest.err >&5
16504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16505 (exit $ac_status); } && {
16506 test -z "$ac_c_werror_flag" ||
16507 test ! -s conftest.err
16508 } && test -s conftest.$ac_objext; then
16509 bakefile_cv_c_compiler___xlC__=yes
16511 echo "$as_me: failed program was:" >&5
16512 sed 's
/^
/| /' conftest.$ac_ext >&5
16514 bakefile_cv_c_compiler___xlC__=no
16518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16522 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16523 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16524 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16530 ac_cpp='$CPP $CPPFLAGS'
16531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16532 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16543 ac_cpp='$CPP $CPPFLAGS'
16544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16545 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16548 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
16549 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
16550 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
16551 echo $ECHO_N "(cached) $ECHO_C" >&6
16553 cat >conftest.$ac_ext <<_ACEOF
16556 cat confdefs.h >>conftest.$ac_ext
16557 cat >>conftest.$ac_ext <<_ACEOF
16558 /* end confdefs.h. */
16572 rm -f conftest.$ac_objext
16573 if { (ac_try="$ac_compile"
16574 case "(($ac_try" in
16575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16576 *) ac_try_echo=$ac_try;;
16578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16579 (eval "$ac_compile") 2>conftest.er1
16581 grep -v '^
*+' conftest.er1 >conftest.err
16583 cat conftest.err >&5
16584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16585 (exit $ac_status); } && {
16586 test -z "$ac_c_werror_flag" ||
16587 test ! -s conftest.err
16588 } && test -s conftest.$ac_objext; then
16589 bakefile_cv_c_compiler___MWERKS__=yes
16591 echo "$as_me: failed program was:" >&5
16592 sed 's
/^
/| /' conftest.$ac_ext >&5
16594 bakefile_cv_c_compiler___MWERKS__=no
16598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16602 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
16603 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
16604 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
16610 ac_cpp='$CPP $CPPFLAGS'
16611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16612 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16617 if test "$MWCC" != "yes"; then
16621 ac_cpp='$CPP $CPPFLAGS'
16622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16623 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16626 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
16627 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
16628 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
16629 echo $ECHO_N "(cached) $ECHO_C" >&6
16631 cat >conftest.$ac_ext <<_ACEOF
16634 cat confdefs.h >>conftest.$ac_ext
16635 cat >>conftest.$ac_ext <<_ACEOF
16636 /* end confdefs.h. */
16650 rm -f conftest.$ac_objext
16651 if { (ac_try="$ac_compile"
16652 case "(($ac_try" in
16653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16654 *) ac_try_echo=$ac_try;;
16656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16657 (eval "$ac_compile") 2>conftest.er1
16659 grep -v '^
*+' conftest.er1 >conftest.err
16661 cat conftest.err >&5
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } && {
16664 test -z "$ac_c_werror_flag" ||
16665 test ! -s conftest.err
16666 } && test -s conftest.$ac_objext; then
16667 bakefile_cv_c_compiler___xlC__=yes
16669 echo "$as_me: failed program was:" >&5
16670 sed 's
/^
/| /' conftest.$ac_ext >&5
16672 bakefile_cv_c_compiler___xlC__=no
16676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16680 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
16681 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
16682 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
16688 ac_cpp='$CPP $CPPFLAGS'
16689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16690 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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 SGI C compiler" >&5
16708 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
16709 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+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. */
16723 #ifndef _SGI_COMPILER_VERSION
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__SGI_COMPILER_VERSION=yes
16750 echo "$as_me: failed program was:" >&5
16751 sed 's
/^
/| /' conftest.$ac_ext >&5
16753 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
16757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16761 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
16762 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
16763 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "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
16779 if test "$INTELCC" != "yes"; then
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 Sun C compiler" >&5
16789 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
16790 if test "${bakefile_cv_c_compiler___SUNPRO_C+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. */
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___SUNPRO_C=yes
16831 echo "$as_me: failed program was:" >&5
16832 sed 's
/^
/| /' conftest.$ac_ext >&5
16834 bakefile_cv_c_compiler___SUNPRO_C=no
16838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16842 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
16843 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
16844 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "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
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 HP C compiler" >&5
16870 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
16871 if test "${bakefile_cv_c_compiler___HP_cc+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___HP_cc=yes
16912 echo "$as_me: failed program was:" >&5
16913 sed 's
/^
/| /' conftest.$ac_ext >&5
16915 bakefile_cv_c_compiler___HP_cc=no
16919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16923 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
16924 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
16925 if test "x$bakefile_cv_c_compiler___HP_cc" = "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
16944 ac_cpp='$CPP $CPPFLAGS'
16945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
16946 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
16947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16949 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
16950 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
16951 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
16952 echo $ECHO_N "(cached) $ECHO_C" >&6
16954 cat >conftest.$ac_ext <<_ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16973 rm -f conftest.$ac_objext
16974 if { (ac_try="$ac_compile"
16975 case "(($ac_try" in
16976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16977 *) ac_try_echo=$ac_try;;
16979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16980 (eval "$ac_compile") 2>conftest.er1
16982 grep -v '^
*+' conftest.er1 >conftest.err
16984 cat conftest.err >&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } && {
16987 test -z "$ac_c_werror_flag" ||
16988 test ! -s conftest.err
16989 } && test -s conftest.$ac_objext; then
16990 bakefile_cv_c_compiler___DECC=yes
16992 echo "$as_me: failed program was:" >&5
16993 sed 's
/^
/| /' conftest.$ac_ext >&5
16995 bakefile_cv_c_compiler___DECC=no
16999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17003 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
17004 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
17005 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
17011 ac_cpp='$CPP $CPPFLAGS'
17012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17013 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17024 ac_cpp='$CPP $CPPFLAGS'
17025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17026 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17029 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
17030 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
17031 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
17032 echo $ECHO_N "(cached) $ECHO_C" >&6
17034 cat >conftest.$ac_ext <<_ACEOF
17037 cat confdefs.h >>conftest.$ac_ext
17038 cat >>conftest.$ac_ext <<_ACEOF
17039 /* end confdefs.h. */
17053 rm -f conftest.$ac_objext
17054 if { (ac_try="$ac_compile"
17055 case "(($ac_try" in
17056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17057 *) ac_try_echo=$ac_try;;
17059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17060 (eval "$ac_compile") 2>conftest.er1
17062 grep -v '^
*+' conftest.er1 >conftest.err
17064 cat conftest.err >&5
17065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17066 (exit $ac_status); } && {
17067 test -z "$ac_c_werror_flag" ||
17068 test ! -s conftest.err
17069 } && test -s conftest.$ac_objext; then
17070 bakefile_cv_c_compiler___SUNPRO_C=yes
17072 echo "$as_me: failed program was:" >&5
17073 sed 's
/^
/| /' conftest.$ac_ext >&5
17075 bakefile_cv_c_compiler___SUNPRO_C=no
17079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17083 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
17084 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
17085 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
17091 ac_cpp='$CPP $CPPFLAGS'
17092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
17093 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
17094 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
17109 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
17110 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
17111 # On Suns, sometimes $CPP names a directory.
17112 if test -n "$CPP" && test -d "$CPP"; then
17115 if test -z "$CPP"; then
17116 if test "${ac_cv_prog_CPP+set}" = set; then
17117 echo $ECHO_N "(cached) $ECHO_C" >&6
17119 # Double quotes because CPP needs to be expanded
17120 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
17122 ac_preproc_ok=false
17123 for ac_c_preproc_warn_flag in '' yes
17125 # Use a header file that comes with gcc, so configuring glibc
17126 # with a fresh cross-compiler works.
17127 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17128 # <limits.h> exists even on freestanding compilers.
17129 # On the NeXT, cc -E runs the code through the compiler's parser
,
17130 # not just through cpp. "Syntax error" is here to catch this case.
17131 cat >conftest.
$ac_ext <<_ACEOF
17134 cat confdefs.h
>>conftest.
$ac_ext
17135 cat >>conftest.
$ac_ext <<_ACEOF
17136 /* end confdefs.h. */
17138 # include <limits.h>
17140 # include <assert.h>
17144 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17145 case "(($ac_try" in
17146 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17152 grep -v '^ *+' conftest.er1 >conftest.err
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } >/dev/null && {
17157 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17158 test ! -s conftest.err
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17165 # Broken: fails on valid input.
17169 rm -f conftest.err conftest.$ac_ext
17171 # OK, works on sane cases. Now check whether nonexistent headers
17172 # can be detected and how.
17173 cat >conftest.$ac_ext <<_ACEOF
17176 cat confdefs.h >>conftest.$ac_ext
17177 cat >>conftest.$ac_ext <<_ACEOF
17178 /* end confdefs.h. */
17179 #include <ac_nonexistent.h>
17181 if { (ac_try="$ac_cpp conftest.$ac_ext"
17182 case "(($ac_try" in
17183 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17184 *) ac_try_echo
=$ac_try;;
17186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17187 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17189 grep -v '^ *+' conftest.er1
>conftest.err
17191 cat conftest.err
>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); } >/dev
/null
&& {
17194 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17195 test ! -s conftest.err
17197 # Broken: success on invalid input.
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.
$ac_ext >&5
17203 # Passes both tests.
17208 rm -f conftest.err conftest.
$ac_ext
17211 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17212 rm -f conftest.err conftest.
$ac_ext
17213 if $ac_preproc_ok; then
17218 ac_cv_prog_CPP
=$CPP
17221 CPP
=$ac_cv_prog_CPP
17223 ac_cv_prog_CPP
=$CPP
17225 { echo "$as_me:$LINENO: result: $CPP" >&5
17226 echo "${ECHO_T}$CPP" >&6; }
17227 ac_preproc_ok
=false
17228 for ac_c_preproc_warn_flag
in '' yes
17230 # Use a header file that comes with gcc, so configuring glibc
17231 # with a fresh cross-compiler works.
17232 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17233 # <limits.h> exists even on freestanding compilers.
17234 # On the NeXT, cc -E runs the code through the compiler's parser,
17235 # not just through cpp. "Syntax error" is here to catch this case.
17236 cat >conftest.
$ac_ext <<_ACEOF
17239 cat confdefs.h
>>conftest.
$ac_ext
17240 cat >>conftest.
$ac_ext <<_ACEOF
17241 /* end confdefs.h. */
17243 # include <limits.h>
17245 # include <assert.h>
17249 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17250 case "(($ac_try" in
17251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17252 *) ac_try_echo=$ac_try;;
17254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17257 grep -v '^ *+' conftest.er1 >conftest.err
17259 cat conftest.err >&5
17260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17261 (exit $ac_status); } >/dev/null && {
17262 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17263 test ! -s conftest.err
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.$ac_ext >&5
17270 # Broken: fails on valid input.
17274 rm -f conftest.err conftest.$ac_ext
17276 # OK, works on sane cases. Now check whether nonexistent headers
17277 # can be detected and how.
17278 cat >conftest.$ac_ext <<_ACEOF
17281 cat confdefs.h >>conftest.$ac_ext
17282 cat >>conftest.$ac_ext <<_ACEOF
17283 /* end confdefs.h. */
17284 #include <ac_nonexistent.h>
17286 if { (ac_try="$ac_cpp conftest.$ac_ext"
17287 case "(($ac_try" in
17288 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17289 *) ac_try_echo
=$ac_try;;
17291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17292 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17294 grep -v '^ *+' conftest.er1
>conftest.err
17296 cat conftest.err
>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } >/dev
/null
&& {
17299 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17300 test ! -s conftest.err
17302 # Broken: success on invalid input.
17305 echo "$as_me: failed program was:" >&5
17306 sed 's/^/| /' conftest.
$ac_ext >&5
17308 # Passes both tests.
17313 rm -f conftest.err conftest.
$ac_ext
17316 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17317 rm -f conftest.err conftest.
$ac_ext
17318 if $ac_preproc_ok; then
17321 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
17322 See \`config.log' for more details." >&5
17323 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
17324 See \`config.log' for more details." >&2;}
17325 { (exit 1); exit 1; }; }
17329 ac_cpp
='$CPP $CPPFLAGS'
17330 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17331 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17332 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17335 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
17336 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
17337 if test "${ac_cv_path_GREP+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 # Extract the first word of "grep ggrep" to use in msg output
17341 if test -z "$GREP"; then
17342 set dummy
grep ggrep
; ac_prog_name
=$2
17343 if test "${ac_cv_path_GREP+set}" = set; then
17344 echo $ECHO_N "(cached) $ECHO_C" >&6
17346 ac_path_GREP_found
=false
17347 # Loop through the user's path and test for each of PROGNAME-LIST
17348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17349 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17352 test -z "$as_dir" && as_dir
=.
17353 for ac_prog
in grep ggrep
; do
17354 for ac_exec_ext
in '' $ac_executable_extensions; do
17355 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
17356 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
17357 # Check for GNU ac_path_GREP and select it if it is found.
17358 # Check for GNU $ac_path_GREP
17359 case `"$ac_path_GREP" --version 2>&1` in
17361 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
17364 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17367 cat "conftest.in" "conftest.in" >"conftest.tmp"
17368 mv "conftest.tmp" "conftest.in"
17369 cp "conftest.in" "conftest.nl"
17370 echo 'GREP' >> "conftest.nl"
17371 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17372 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17373 ac_count
=`expr $ac_count + 1`
17374 if test $ac_count -gt ${ac_path_GREP_max-0}; then
17375 # Best one so far, save it but keep looking for a better one
17376 ac_cv_path_GREP
="$ac_path_GREP"
17377 ac_path_GREP_max
=$ac_count
17379 # 10*(2^10) chars as input seems more than enough
17380 test $ac_count -gt 10 && break
17382 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17386 $ac_path_GREP_found && break 3
17396 GREP
="$ac_cv_path_GREP"
17397 if test -z "$GREP"; then
17398 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17399 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17400 { (exit 1); exit 1; }; }
17404 ac_cv_path_GREP
=$GREP
17409 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
17410 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
17411 GREP
="$ac_cv_path_GREP"
17414 { echo "$as_me:$LINENO: checking for egrep" >&5
17415 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
17416 if test "${ac_cv_path_EGREP+set}" = set; then
17417 echo $ECHO_N "(cached) $ECHO_C" >&6
17419 if echo a
| $GREP -E '(a|b)' >/dev
/null
2>&1
17420 then ac_cv_path_EGREP
="$GREP -E"
17422 # Extract the first word of "egrep" to use in msg output
17423 if test -z "$EGREP"; then
17424 set dummy
egrep; ac_prog_name
=$2
17425 if test "${ac_cv_path_EGREP+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 ac_path_EGREP_found
=false
17429 # Loop through the user's path and test for each of PROGNAME-LIST
17430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17431 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
17434 test -z "$as_dir" && as_dir
=.
17435 for ac_prog
in egrep; do
17436 for ac_exec_ext
in '' $ac_executable_extensions; do
17437 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
17438 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
17439 # Check for GNU ac_path_EGREP and select it if it is found.
17440 # Check for GNU $ac_path_EGREP
17441 case `"$ac_path_EGREP" --version 2>&1` in
17443 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
17446 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
17449 cat "conftest.in" "conftest.in" >"conftest.tmp"
17450 mv "conftest.tmp" "conftest.in"
17451 cp "conftest.in" "conftest.nl"
17452 echo 'EGREP' >> "conftest.nl"
17453 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null
|| break
17454 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 || break
17455 ac_count
=`expr $ac_count + 1`
17456 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
17457 # Best one so far, save it but keep looking for a better one
17458 ac_cv_path_EGREP
="$ac_path_EGREP"
17459 ac_path_EGREP_max
=$ac_count
17461 # 10*(2^10) chars as input seems more than enough
17462 test $ac_count -gt 10 && break
17464 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
17468 $ac_path_EGREP_found && break 3
17478 EGREP
="$ac_cv_path_EGREP"
17479 if test -z "$EGREP"; then
17480 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
17481 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
17482 { (exit 1); exit 1; }; }
17486 ac_cv_path_EGREP
=$EGREP
17492 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
17493 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
17494 EGREP
="$ac_cv_path_EGREP"
17497 if test $ac_cv_c_compiler_gnu = yes; then
17498 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
17499 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
17500 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
17501 echo $ECHO_N "(cached) $ECHO_C" >&6
17503 ac_pattern
="Autoconf.*'x'"
17504 cat >conftest.
$ac_ext <<_ACEOF
17507 cat confdefs.h
>>conftest.
$ac_ext
17508 cat >>conftest.
$ac_ext <<_ACEOF
17509 /* end confdefs.h. */
17513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17514 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17515 ac_cv_prog_gcc_traditional
=yes
17517 ac_cv_prog_gcc_traditional
=no
17522 if test $ac_cv_prog_gcc_traditional = no
; then
17523 cat >conftest.
$ac_ext <<_ACEOF
17526 cat confdefs.h
>>conftest.
$ac_ext
17527 cat >>conftest.
$ac_ext <<_ACEOF
17528 /* end confdefs.h. */
17529 #include <termio.h>
17532 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17533 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
17534 ac_cv_prog_gcc_traditional
=yes
17540 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
17541 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
17542 if test $ac_cv_prog_gcc_traditional = yes; then
17543 CC
="$CC -traditional"
17548 CXXFLAGS
=${CXXFLAGS:=}
17550 ac_cpp
='$CXXCPP $CPPFLAGS'
17551 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17552 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17553 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17554 if test -z "$CXX"; then
17555 if test -n "$CCC"; then
17558 if test -n "$ac_tool_prefix"; then
17559 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17561 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
17562 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
17563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17565 if test "${ac_cv_prog_CXX+set}" = set; then
17566 echo $ECHO_N "(cached) $ECHO_C" >&6
17568 if test -n "$CXX"; then
17569 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
17571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17572 for as_dir
in $PATH
17575 test -z "$as_dir" && as_dir
=.
17576 for ac_exec_ext
in '' $ac_executable_extensions; do
17577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17578 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
17579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17588 CXX
=$ac_cv_prog_CXX
17589 if test -n "$CXX"; then
17590 { echo "$as_me:$LINENO: result: $CXX" >&5
17591 echo "${ECHO_T}$CXX" >&6; }
17593 { echo "$as_me:$LINENO: result: no" >&5
17594 echo "${ECHO_T}no" >&6; }
17598 test -n "$CXX" && break
17601 if test -z "$CXX"; then
17603 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
17605 # Extract the first word of "$ac_prog", so it can be a program name with args.
17606 set dummy
$ac_prog; ac_word
=$2
17607 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17609 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
17610 echo $ECHO_N "(cached) $ECHO_C" >&6
17612 if test -n "$ac_ct_CXX"; then
17613 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
17615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
17616 for as_dir
in $PATH
17619 test -z "$as_dir" && as_dir
=.
17620 for ac_exec_ext
in '' $ac_executable_extensions; do
17621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17622 ac_cv_prog_ac_ct_CXX
="$ac_prog"
17623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17632 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
17633 if test -n "$ac_ct_CXX"; then
17634 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
17635 echo "${ECHO_T}$ac_ct_CXX" >&6; }
17637 { echo "$as_me:$LINENO: result: no" >&5
17638 echo "${ECHO_T}no" >&6; }
17642 test -n "$ac_ct_CXX" && break
17645 if test "x$ac_ct_CXX" = x
; then
17648 case $cross_compiling:$ac_tool_warned in
17650 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17651 whose name does not start with the host triplet. If you think this
17652 configuration is useful to you, please write to autoconf@gnu.org." >&5
17653 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17654 whose name does not start with the host triplet. If you think this
17655 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17656 ac_tool_warned
=yes ;;
17664 # Provide some information about the compiler.
17665 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
17666 ac_compiler
=`set X $ac_compile; echo $2`
17667 { (ac_try
="$ac_compiler --version >&5"
17668 case "(($ac_try" in
17669 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17670 *) ac_try_echo=$ac_try;;
17672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17673 (eval "$ac_compiler --version >&5") 2>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); }
17677 { (ac_try="$ac_compiler -v >&5"
17678 case "(($ac_try" in
17679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17680 *) ac_try_echo
=$ac_try;;
17682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17683 (eval "$ac_compiler -v >&5") 2>&5
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }
17687 { (ac_try
="$ac_compiler -V >&5"
17688 case "(($ac_try" in
17689 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17690 *) ac_try_echo=$ac_try;;
17692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17693 (eval "$ac_compiler -V >&5") 2>&5
17695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17696 (exit $ac_status); }
17698 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
17699 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
17700 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
17701 echo $ECHO_N "(cached) $ECHO_C" >&6
17703 cat >conftest.$ac_ext <<_ACEOF
17706 cat confdefs.h >>conftest.$ac_ext
17707 cat >>conftest.$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17721 rm -f conftest.$ac_objext
17722 if { (ac_try="$ac_compile"
17723 case "(($ac_try" in
17724 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17725 *) ac_try_echo
=$ac_try;;
17727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17728 (eval "$ac_compile") 2>conftest.er1
17730 grep -v '^ *+' conftest.er1
>conftest.err
17732 cat conftest.err
>&5
17733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17734 (exit $ac_status); } && {
17735 test -z "$ac_cxx_werror_flag" ||
17736 test ! -s conftest.err
17737 } && test -s conftest.
$ac_objext; then
17738 ac_compiler_gnu
=yes
17740 echo "$as_me: failed program was:" >&5
17741 sed 's/^/| /' conftest.
$ac_ext >&5
17746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17747 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
17750 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
17751 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
17752 GXX
=`test $ac_compiler_gnu = yes && echo yes`
17753 ac_test_CXXFLAGS
=${CXXFLAGS+set}
17754 ac_save_CXXFLAGS
=$CXXFLAGS
17755 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
17756 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
17757 if test "${ac_cv_prog_cxx_g+set}" = set; then
17758 echo $ECHO_N "(cached) $ECHO_C" >&6
17760 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
17761 ac_cxx_werror_flag
=yes
17762 ac_cv_prog_cxx_g
=no
17764 cat >conftest.
$ac_ext <<_ACEOF
17767 cat confdefs.h
>>conftest.
$ac_ext
17768 cat >>conftest.
$ac_ext <<_ACEOF
17769 /* end confdefs.h. */
17779 rm -f conftest.
$ac_objext
17780 if { (ac_try
="$ac_compile"
17781 case "(($ac_try" in
17782 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17783 *) ac_try_echo=$ac_try;;
17785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17786 (eval "$ac_compile") 2>conftest.er1
17788 grep -v '^ *+' conftest.er1 >conftest.err
17790 cat conftest.err >&5
17791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17792 (exit $ac_status); } && {
17793 test -z "$ac_cxx_werror_flag" ||
17794 test ! -s conftest.err
17795 } && test -s conftest.$ac_objext; then
17796 ac_cv_prog_cxx_g=yes
17798 echo "$as_me: failed program was:" >&5
17799 sed 's/^/| /' conftest.$ac_ext >&5
17802 cat >conftest.$ac_ext <<_ACEOF
17805 cat confdefs.h >>conftest.$ac_ext
17806 cat >>conftest.$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17817 rm -f conftest.$ac_objext
17818 if { (ac_try="$ac_compile"
17819 case "(($ac_try" in
17820 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17821 *) ac_try_echo
=$ac_try;;
17823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17824 (eval "$ac_compile") 2>conftest.er1
17826 grep -v '^ *+' conftest.er1
>conftest.err
17828 cat conftest.err
>&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); } && {
17831 test -z "$ac_cxx_werror_flag" ||
17832 test ! -s conftest.err
17833 } && test -s conftest.
$ac_objext; then
17836 echo "$as_me: failed program was:" >&5
17837 sed 's/^/| /' conftest.
$ac_ext >&5
17839 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
17841 cat >conftest.
$ac_ext <<_ACEOF
17844 cat confdefs.h
>>conftest.
$ac_ext
17845 cat >>conftest.
$ac_ext <<_ACEOF
17846 /* end confdefs.h. */
17856 rm -f conftest.
$ac_objext
17857 if { (ac_try
="$ac_compile"
17858 case "(($ac_try" in
17859 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
17860 *) ac_try_echo=$ac_try;;
17862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17863 (eval "$ac_compile") 2>conftest.er1
17865 grep -v '^ *+' conftest.er1 >conftest.err
17867 cat conftest.err >&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); } && {
17870 test -z "$ac_cxx_werror_flag" ||
17871 test ! -s conftest.err
17872 } && test -s conftest.$ac_objext; then
17873 ac_cv_prog_cxx_g=yes
17875 echo "$as_me: failed program was:" >&5
17876 sed 's/^/| /' conftest.$ac_ext >&5
17881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17888 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
17890 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
17891 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
17892 if test "$ac_test_CXXFLAGS" = set; then
17893 CXXFLAGS=$ac_save_CXXFLAGS
17894 elif test $ac_cv_prog_cxx_g = yes; then
17895 if test "$GXX" = yes; then
17901 if test "$GXX" = yes; then
17908 ac_cpp='$CPP $CPPFLAGS'
17909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17921 ac_cpp='$CXXCPP $CPPFLAGS'
17922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17926 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
17927 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
17928 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
17929 echo $ECHO_N "(cached) $ECHO_C" >&6
17931 cat >conftest.$ac_ext <<_ACEOF
17934 cat confdefs.h >>conftest.$ac_ext
17935 cat >>conftest.$ac_ext <<_ACEOF
17936 /* end confdefs.h. */
17942 #ifndef __INTEL_COMPILER
17950 rm -f conftest.$ac_objext
17951 if { (ac_try="$ac_compile"
17952 case "(($ac_try" in
17953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
17954 *) ac_try_echo
=$ac_try;;
17956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17957 (eval "$ac_compile") 2>conftest.er1
17959 grep -v '^ *+' conftest.er1
>conftest.err
17961 cat conftest.err
>&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } && {
17964 test -z "$ac_cxx_werror_flag" ||
17965 test ! -s conftest.err
17966 } && test -s conftest.
$ac_objext; then
17967 bakefile_cv_cxx_compiler___INTEL_COMPILER
=yes
17969 echo "$as_me: failed program was:" >&5
17970 sed 's/^/| /' conftest.
$ac_ext >&5
17972 bakefile_cv_cxx_compiler___INTEL_COMPILER
=no
17976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17980 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
17981 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
17982 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
17988 ac_cpp
='$CPP $CPPFLAGS'
17989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17996 if test "$INTELCXX" = "yes"; then
18000 ac_cpp
='$CXXCPP $CPPFLAGS'
18001 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18002 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18003 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18005 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v8 or later" >&5
18006 echo $ECHO_N "checking whether we are using Intel C++ compiler v8 or later... $ECHO_C" >&6; }
18007 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+set}" = set; then
18008 echo $ECHO_N "(cached) $ECHO_C" >&6
18010 cat >conftest.
$ac_ext <<_ACEOF
18013 cat confdefs.h
>>conftest.
$ac_ext
18014 cat >>conftest.
$ac_ext <<_ACEOF
18015 /* end confdefs.h. */
18021 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
18029 rm -f conftest.
$ac_objext
18030 if { (ac_try
="$ac_compile"
18031 case "(($ac_try" in
18032 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18033 *) ac_try_echo=$ac_try;;
18035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18036 (eval "$ac_compile") 2>conftest.er1
18038 grep -v '^ *+' conftest.er1 >conftest.err
18040 cat conftest.err >&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } && {
18043 test -z "$ac_cxx_werror_flag" ||
18044 test ! -s conftest.err
18045 } && test -s conftest.$ac_objext; then
18046 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
18048 echo "$as_me: failed program was:" >&5
18049 sed 's/^/| /' conftest.$ac_ext >&5
18051 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
18055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18059 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
18060 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
18061 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
18067 ac_cpp='$CPP $CPPFLAGS'
18068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18077 ac_cpp='$CXXCPP $CPPFLAGS'
18078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18082 { echo "$as_me:$LINENO: checking whether we are using Intel C++ compiler v10 or later" >&5
18083 echo $ECHO_N "checking whether we are using Intel C++ compiler v10 or later... $ECHO_C" >&6; }
18084 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+set}" = set; then
18085 echo $ECHO_N "(cached) $ECHO_C" >&6
18087 cat >conftest.$ac_ext <<_ACEOF
18090 cat confdefs.h >>conftest.$ac_ext
18091 cat >>conftest.$ac_ext <<_ACEOF
18092 /* end confdefs.h. */
18098 #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
18106 rm -f conftest.$ac_objext
18107 if { (ac_try="$ac_compile"
18108 case "(($ac_try" in
18109 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18110 *) ac_try_echo
=$ac_try;;
18112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18113 (eval "$ac_compile") 2>conftest.er1
18115 grep -v '^ *+' conftest.er1
>conftest.err
18117 cat conftest.err
>&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } && {
18120 test -z "$ac_cxx_werror_flag" ||
18121 test ! -s conftest.err
18122 } && test -s conftest.
$ac_objext; then
18123 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=yes
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.
$ac_ext >&5
18128 bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000
=no
18132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18136 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
18137 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
18138 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
18144 ac_cpp
='$CPP $CPPFLAGS'
18145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18153 if test "x$GCXX" != "xyes"; then
18154 if test "xCXX" = "xC"; then
18155 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
18156 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
18157 if test "${bakefile_cv_c_exto+set}" = set; then
18158 echo $ECHO_N "(cached) $ECHO_C" >&6
18160 cat >conftest.
$ac_ext <<_ACEOF
18163 cat confdefs.h
>>conftest.
$ac_ext
18164 cat >>conftest.
$ac_ext <<_ACEOF
18165 /* end confdefs.h. */
18175 rm -f conftest.
$ac_objext conftest.
$ac_ext.o
18176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18177 (eval $ac_compile) 2>&5
18179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18180 (exit $ac_status); }; then
18181 for ac_file
in `(ls conftest.* 2>/dev/null)`; do
18183 conftest.
$ac_ext.o
)
18184 bakefile_cv_c_exto
="-ext o"
18191 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
18192 See \`config.log' for more details." >&5
18193 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
18194 See \`config.log' for more details." >&2;}
18195 { (exit 1); exit 1; }; }
18199 rm -f conftest.
$ac_ext.o conftest.
$ac_objext conftest.
$ac_ext
18202 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
18203 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
18204 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18205 if test "c" = "c"; then
18206 CFLAGS
="$bakefile_cv_c_exto $CFLAGS"
18208 if test "c" = "cxx"; then
18209 CXXFLAGS
="$bakefile_cv_c_exto $CXXFLAGS"
18213 if test "x$bakefile_cv_c_exto" '!=' "x"; then
18214 unset ac_cv_prog_cc_g
18215 ac_test_CFLAGS
=${CFLAGS+set}
18216 ac_save_CFLAGS
=$CFLAGS
18217 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18218 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18219 if test "${ac_cv_prog_cc_g+set}" = set; then
18220 echo $ECHO_N "(cached) $ECHO_C" >&6
18222 ac_save_c_werror_flag
=$ac_c_werror_flag
18223 ac_c_werror_flag
=yes
18226 cat >conftest.
$ac_ext <<_ACEOF
18229 cat confdefs.h
>>conftest.
$ac_ext
18230 cat >>conftest.
$ac_ext <<_ACEOF
18231 /* end confdefs.h. */
18241 rm -f conftest.
$ac_objext
18242 if { (ac_try
="$ac_compile"
18243 case "(($ac_try" in
18244 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18245 *) ac_try_echo=$ac_try;;
18247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18248 (eval "$ac_compile") 2>conftest.er1
18250 grep -v '^ *+' conftest.er1 >conftest.err
18252 cat conftest.err >&5
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); } && {
18255 test -z "$ac_c_werror_flag" ||
18256 test ! -s conftest.err
18257 } && test -s conftest.$ac_objext; then
18258 ac_cv_prog_cc_g=yes
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.$ac_ext >&5
18264 cat >conftest.$ac_ext <<_ACEOF
18267 cat confdefs.h >>conftest.$ac_ext
18268 cat >>conftest.$ac_ext <<_ACEOF
18269 /* end confdefs.h. */
18279 rm -f conftest.$ac_objext
18280 if { (ac_try="$ac_compile"
18281 case "(($ac_try" in
18282 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18283 *) ac_try_echo
=$ac_try;;
18285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18286 (eval "$ac_compile") 2>conftest.er1
18288 grep -v '^ *+' conftest.er1
>conftest.err
18290 cat conftest.err
>&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } && {
18293 test -z "$ac_c_werror_flag" ||
18294 test ! -s conftest.err
18295 } && test -s conftest.
$ac_objext; then
18298 echo "$as_me: failed program was:" >&5
18299 sed 's/^/| /' conftest.
$ac_ext >&5
18301 ac_c_werror_flag
=$ac_save_c_werror_flag
18303 cat >conftest.
$ac_ext <<_ACEOF
18306 cat confdefs.h
>>conftest.
$ac_ext
18307 cat >>conftest.
$ac_ext <<_ACEOF
18308 /* end confdefs.h. */
18318 rm -f conftest.
$ac_objext
18319 if { (ac_try
="$ac_compile"
18320 case "(($ac_try" in
18321 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18322 *) ac_try_echo=$ac_try;;
18324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18325 (eval "$ac_compile") 2>conftest.er1
18327 grep -v '^ *+' conftest.er1 >conftest.err
18329 cat conftest.err >&5
18330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18331 (exit $ac_status); } && {
18332 test -z "$ac_c_werror_flag" ||
18333 test ! -s conftest.err
18334 } && test -s conftest.$ac_objext; then
18335 ac_cv_prog_cc_g=yes
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18350 ac_c_werror_flag=$ac_save_c_werror_flag
18352 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18353 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18354 if test "$ac_test_CFLAGS" = set; then
18355 CFLAGS=$ac_save_CFLAGS
18356 elif test $ac_cv_prog_cc_g = yes; then
18357 if test "$GCC" = yes; then
18363 if test "$GCC" = yes; then
18377 ac_cpp='$CXXCPP $CPPFLAGS'
18378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18382 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18383 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18384 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18385 echo $ECHO_N "(cached) $ECHO_C" >&6
18387 cat >conftest.$ac_ext <<_ACEOF
18390 cat confdefs.h >>conftest.$ac_ext
18391 cat >>conftest.$ac_ext <<_ACEOF
18392 /* end confdefs.h. */
18406 rm -f conftest.$ac_objext
18407 if { (ac_try="$ac_compile"
18408 case "(($ac_try" in
18409 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18410 *) ac_try_echo
=$ac_try;;
18412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18413 (eval "$ac_compile") 2>conftest.er1
18415 grep -v '^ *+' conftest.er1
>conftest.err
18417 cat conftest.err
>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } && {
18420 test -z "$ac_cxx_werror_flag" ||
18421 test ! -s conftest.err
18422 } && test -s conftest.
$ac_objext; then
18423 bakefile_cv_cxx_compiler___xlC__
=yes
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.
$ac_ext >&5
18428 bakefile_cv_cxx_compiler___xlC__
=no
18432 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18436 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18437 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18438 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18444 ac_cpp
='$CPP $CPPFLAGS'
18445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18457 ac_cpp
='$CXXCPP $CPPFLAGS'
18458 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18459 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18460 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18462 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
18463 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
18464 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
18465 echo $ECHO_N "(cached) $ECHO_C" >&6
18467 cat >conftest.
$ac_ext <<_ACEOF
18470 cat confdefs.h
>>conftest.
$ac_ext
18471 cat >>conftest.
$ac_ext <<_ACEOF
18472 /* end confdefs.h. */
18486 rm -f conftest.
$ac_objext
18487 if { (ac_try
="$ac_compile"
18488 case "(($ac_try" in
18489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18490 *) ac_try_echo=$ac_try;;
18492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18493 (eval "$ac_compile") 2>conftest.er1
18495 grep -v '^ *+' conftest.er1 >conftest.err
18497 cat conftest.err >&5
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); } && {
18500 test -z "$ac_cxx_werror_flag" ||
18501 test ! -s conftest.err
18502 } && test -s conftest.$ac_objext; then
18503 bakefile_cv_cxx_compiler___MWERKS__=yes
18505 echo "$as_me: failed program was:" >&5
18506 sed 's/^/| /' conftest.$ac_ext >&5
18508 bakefile_cv_cxx_compiler___MWERKS__=no
18512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18516 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
18517 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
18518 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
18524 ac_cpp='$CPP $CPPFLAGS'
18525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18531 if test "$MWCXX" != "yes"; then
18535 ac_cpp='$CXXCPP $CPPFLAGS'
18536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18540 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
18541 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
18542 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
18543 echo $ECHO_N "(cached) $ECHO_C" >&6
18545 cat >conftest.$ac_ext <<_ACEOF
18548 cat confdefs.h >>conftest.$ac_ext
18549 cat >>conftest.$ac_ext <<_ACEOF
18550 /* end confdefs.h. */
18564 rm -f conftest.$ac_objext
18565 if { (ac_try="$ac_compile"
18566 case "(($ac_try" in
18567 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18568 *) ac_try_echo
=$ac_try;;
18570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18571 (eval "$ac_compile") 2>conftest.er1
18573 grep -v '^ *+' conftest.er1
>conftest.err
18575 cat conftest.err
>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); } && {
18578 test -z "$ac_cxx_werror_flag" ||
18579 test ! -s conftest.err
18580 } && test -s conftest.
$ac_objext; then
18581 bakefile_cv_cxx_compiler___xlC__
=yes
18583 echo "$as_me: failed program was:" >&5
18584 sed 's/^/| /' conftest.
$ac_ext >&5
18586 bakefile_cv_cxx_compiler___xlC__
=no
18590 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18594 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
18595 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
18596 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
18602 ac_cpp
='$CPP $CPPFLAGS'
18603 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18604 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18605 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
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 SGI C++ compiler" >&5
18622 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
18623 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+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. */
18637 #ifndef _SGI_COMPILER_VERSION
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__SGI_COMPILER_VERSION=yes
18664 echo "$as_me: failed program was:" >&5
18665 sed 's/^/| /' conftest.$ac_ext >&5
18667 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
18671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18675 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
18676 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
18677 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "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
18693 if test "$INTELCXX" != "yes"; then
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 Sun C++ compiler" >&5
18703 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18704 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+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 __SUNPRO_CC
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___SUNPRO_CC
=yes
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.
$ac_ext >&5
18748 bakefile_cv_cxx_compiler___SUNPRO_CC
=no
18752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18756 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18757 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18758 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "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
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 HP C++ compiler" >&5
18784 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
18785 if test "${bakefile_cv_cxx_compiler___HP_aCC+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. */
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___HP_aCC=yes
18826 echo "$as_me: failed program was:" >&5
18827 sed 's/^/| /' conftest.$ac_ext >&5
18829 bakefile_cv_cxx_compiler___HP_aCC=no
18833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18837 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
18838 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
18839 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "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
18858 ac_cpp='$CXXCPP $CPPFLAGS'
18859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18863 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
18864 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
18865 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
18866 echo $ECHO_N "(cached) $ECHO_C" >&6
18868 cat >conftest.$ac_ext <<_ACEOF
18871 cat confdefs.h >>conftest.$ac_ext
18872 cat >>conftest.$ac_ext <<_ACEOF
18873 /* end confdefs.h. */
18887 rm -f conftest.$ac_objext
18888 if { (ac_try="$ac_compile"
18889 case "(($ac_try" in
18890 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
18891 *) ac_try_echo
=$ac_try;;
18893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18894 (eval "$ac_compile") 2>conftest.er1
18896 grep -v '^ *+' conftest.er1
>conftest.err
18898 cat conftest.err
>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } && {
18901 test -z "$ac_cxx_werror_flag" ||
18902 test ! -s conftest.err
18903 } && test -s conftest.
$ac_objext; then
18904 bakefile_cv_cxx_compiler___DECCXX
=yes
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.
$ac_ext >&5
18909 bakefile_cv_cxx_compiler___DECCXX
=no
18913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18917 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
18918 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
18919 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
18925 ac_cpp
='$CPP $CPPFLAGS'
18926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18938 ac_cpp
='$CXXCPP $CPPFLAGS'
18939 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18940 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18941 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18943 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
18944 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
18945 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
18946 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 cat >conftest.
$ac_ext <<_ACEOF
18951 cat confdefs.h
>>conftest.
$ac_ext
18952 cat >>conftest.
$ac_ext <<_ACEOF
18953 /* end confdefs.h. */
18959 #ifndef __SUNPRO_CC
18967 rm -f conftest.
$ac_objext
18968 if { (ac_try
="$ac_compile"
18969 case "(($ac_try" in
18970 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
18971 *) ac_try_echo=$ac_try;;
18973 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18974 (eval "$ac_compile") 2>conftest.er1
18976 grep -v '^ *+' conftest.er1 >conftest.err
18978 cat conftest.err >&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); } && {
18981 test -z "$ac_cxx_werror_flag" ||
18982 test ! -s conftest.err
18983 } && test -s conftest.$ac_objext; then
18984 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
18986 echo "$as_me: failed program was:" >&5
18987 sed 's/^/| /' conftest.$ac_ext >&5
18989 bakefile_cv_cxx_compiler___SUNPRO_CC=no
18993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18997 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
18998 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
18999 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
19005 ac_cpp='$CPP $CPPFLAGS'
19006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19018 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
19019 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
19020 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
19021 { (exit 1); exit 1; }; }
19024 if test "x$SUNCXX" != xyes; then
19025 if test -n "$ac_tool_prefix"; then
19026 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
19027 set dummy ${ac_tool_prefix}ar; ac_word=$2
19028 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19029 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19030 if test "${ac_cv_prog_AR+set}" = set; then
19031 echo $ECHO_N "(cached) $ECHO_C" >&6
19033 if test -n "$AR"; then
19034 ac_cv_prog_AR="$AR" # Let the user override the test.
19036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19037 for as_dir in $PATH
19040 test -z "$as_dir" && as_dir=.
19041 for ac_exec_ext in '' $ac_executable_extensions; do
19042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19043 ac_cv_prog_AR="${ac_tool_prefix}ar"
19044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19054 if test -n "$AR"; then
19055 { echo "$as_me:$LINENO: result: $AR" >&5
19056 echo "${ECHO_T}$AR" >&6; }
19058 { echo "$as_me:$LINENO: result: no" >&5
19059 echo "${ECHO_T}no" >&6; }
19064 if test -z "$ac_cv_prog_AR"; then
19066 # Extract the first word of "ar", so it can be a program name with args.
19067 set dummy ar; ac_word=$2
19068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19070 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
19071 echo $ECHO_N "(cached) $ECHO_C" >&6
19073 if test -n "$ac_ct_AR"; then
19074 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
19076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19077 for as_dir in $PATH
19080 test -z "$as_dir" && as_dir=.
19081 for ac_exec_ext in '' $ac_executable_extensions; do
19082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19083 ac_cv_prog_ac_ct_AR="ar"
19084 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19093 ac_ct_AR=$ac_cv_prog_ac_ct_AR
19094 if test -n "$ac_ct_AR"; then
19095 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
19096 echo "${ECHO_T}$ac_ct_AR" >&6; }
19098 { echo "$as_me:$LINENO: result: no" >&5
19099 echo "${ECHO_T}no" >&6; }
19102 if test "x$ac_ct_AR" = x; then
19105 case $cross_compiling:$ac_tool_warned in
19107 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
19108 whose name does not start with the host triplet. If you think this
19109 configuration is useful to you, please write to autoconf@gnu.org." >&5
19110 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
19111 whose name does not start with the host triplet. If you think this
19112 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
19113 ac_tool_warned=yes ;;
19118 AR="$ac_cv_prog_AR"
19121 if test "x$AR" = "x" ; then
19122 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
19123 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
19124 { (exit 1); exit 1; }; }
19129 if test "$wxUSE_MAC" = 1; then
19131 retest_macosx_linking=no
19134 if test "x$wxUSE_MAC_ARCH" != xno; then
19135 OSX_ARCH_OPTS="-arch $wxUSE_MAC_ARCH"
19138 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
19139 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
19140 # Implicitly turn on the new --with-macosx-sdk using the default
19141 # SDK which provides the behaviour this option has always had.
19142 if test "x$wxUSE_MACOSX_SDK" = "x"; then
19143 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
19144 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
19145 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
19146 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
19147 wxUSE_MACOSX_SDK=yes
19150 # Complain to user if he specified an argument to --enable-universal_binary
19151 # and also 1) specified --with-macosx-sdk using the default (yes) or
19152 # 2) specified --with-macosx-sdk using a path or 3) specified
19153 # --without-macosx-sdk (no).
19154 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
19155 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19156 See \`config.log
' for more details." >&5
19157 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
19158 See \`config.log' for more details.
" >&2;}
19159 { (exit 1); exit 1; }; }
19161 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
19162 # special-case the empty string because the below test simply
19163 # converts "no
" to the empty string anyway.
19164 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
19165 { echo "$as_me:$LINENO: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&5
19166 echo "$as_me: WARNING
: Please use
--with-macosx-sdk=PATH and
--enable-universal_binary without an argument
" >&2;}
19169 OSX_ARCH_OPTS="-arch ppc
-arch i386
"
19170 if test "$wxUSE_OSX_COCOA" = 1; then
19171 OSX_ARCH_OPTS="$OSX_ARCH_OPTS -arch x86_64
"
19173 { echo "$as_me:$LINENO: checking
for universal binary architectures
" >&5
19174 echo $ECHO_N "checking
for universal binary architectures...
$ECHO_C" >&6; }
19175 { echo "$as_me:$LINENO: result
: $OSX_ARCH_OPTS" >&5
19176 echo "${ECHO_T}$OSX_ARCH_OPTS" >&6; }
19178 retest_macosx_linking=yes
19180 { echo "$as_me:$LINENO: WARNING
: Disabling precompiled headers due to universal binary build.
" >&5
19181 echo "$as_me: WARNING
: Disabling precompiled headers due to universal binary build.
" >&2;}
19185 CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
19186 CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
19187 OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
19188 OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
19189 LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
19191 if test "x
$wxUSE_MACOSX_SDK" = "xno
"; then
19193 elif test "x
$wxUSE_MACOSX_SDK" = "xyes
"; then
19194 # TODO: Search for most recent SDK and use it.
19195 wxUSE_MACOSX_SDK="/Developer
/SDKs
/MacOSX10.4u.sdk
"
19199 if test "x
$wxUSE_MACOSX_SDK" != "x
"; then
19200 { echo "$as_me:$LINENO: checking
for SDK directory
$wxUSE_MACOSX_SDK" >&5
19201 echo $ECHO_N "checking
for SDK directory
$wxUSE_MACOSX_SDK...
$ECHO_C" >&6; }
19202 if ! test -d "$wxUSE_MACOSX_SDK"; then
19203 { { echo "$as_me:$LINENO: error
: not found
19204 See \
`config.log' for more details." >&5
19205 echo "$as_me: error: not found
19206 See \`config.log
' for more details." >&2;}
19207 { (exit 1); exit 1; }; }
19209 { echo "$as_me:$LINENO: result: exists" >&5
19210 echo "${ECHO_T}exists" >&6; }
19212 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
19213 retest_macosx_linking=yes
19216 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
19217 wxUSE_MACOSX_VERSION_MIN=
19218 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
19219 if test "x$wxUSE_MACOSX_SDK" != "x"; then
19220 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
19221 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
19223 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/'`
19225 # If that failed, try again with the new key
19226 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
19228 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/'`
19232 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
19233 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
19234 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
19235 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
19237 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
19238 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
19239 wxUSE_MACOSX_VERSION_MIN=
19242 wxUSE_MACOSX_VERSION_MIN=
19244 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
19245 for ac_prog in sw_vers
19247 # Extract the first word of "$ac_prog", so it can be a program name with args.
19248 set dummy $ac_prog; ac_word=$2
19249 { echo "$as_me:$LINENO: checking for $ac_word" >&5
19250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
19251 if test "${ac_cv_prog_OSX_SW_VERS+set}" = set; then
19252 echo $ECHO_N "(cached) $ECHO_C" >&6
19254 if test -n "$OSX_SW_VERS"; then
19255 ac_cv_prog_OSX_SW_VERS="$OSX_SW_VERS" # Let the user override the test.
19257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19258 for as_dir in $PATH
19261 test -z "$as_dir" && as_dir=.
19262 for ac_exec_ext in '' $ac_executable_extensions; do
19263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
19264 ac_cv_prog_OSX_SW_VERS="$ac_prog"
19265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19274 OSX_SW_VERS=$ac_cv_prog_OSX_SW_VERS
19275 if test -n "$OSX_SW_VERS"; then
19276 { echo "$as_me:$LINENO: result: $OSX_SW_VERS" >&5
19277 echo "${ECHO_T}$OSX_SW_VERS" >&6; }
19279 { echo "$as_me:$LINENO: result: no" >&5
19280 echo "${ECHO_T}no" >&6; }
19284 test -n "$OSX_SW_VERS" && break
19287 if test "$OSX_SW_VERS" != ""; then
19288 OSX_VERSION=`sw_vers -productVersion | grep 10.[0-9]`
19290 { echo "$as_me:$LINENO: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&5
19291 echo "$as_me: WARNING: Assuming OS X 10.4, use --with-macosx-version-min to override." >&2;}
19295 case "$OSX_VERSION" in
19297 wxUSE_MACOSX_VERSION_MIN=10.4
19301 if test "$wxUSE_OSX_CARBON" = 1; then
19302 # otherwise configure stops on leopard for universal_binary
19303 wxUSE_MACOSX_VERSION_MIN=10.4
19305 # for Cocoa, use 10.5 to be able to compile it in 64 bits too
19306 wxUSE_MACOSX_VERSION_MIN=10.5
19313 if test "x$wxUSE_MACOSX_VERSION_MIN" == "x10.4"; then
19317 if test "$wxUSE_OSX_CARBON" = 1; then
19321 if test "x$NEEDS_GCC40" == "xyes"; then
19322 # gcc 4.2 cannot compile 10.4 compatible code, so if the user is using it
19323 # and wants 10.4 compatible code, then 'downgrade
' to 4.0
19324 # This is also the simplest way to get 32-bit binaries on Snow Leopard.
19325 if test "x$CC" = "xgcc"; then
19326 CCVERSION=`$CC --version | grep 4.[2-9].`
19327 if test "x$CCVERSION" != "x"; then
19328 echo "$as_me:$LINENO: WARNING: gcc >= 4.2 cannot compile 10.4 compatible code. Using gcc 4.0 instead."
19333 if test "x$CXX" = "xg++"; then
19334 CCVERSION=`$CXX --version | grep 4.[2-9].`
19335 if test "x$CCVERSION" != "x"; then
19341 if test "x$MACOSX_SDK_OPTS" != "x"; then
19342 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
19343 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
19344 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
19347 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
19348 if test "$wxUSE_OSX_IPHONE" = 1; then
19349 MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
19351 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
19353 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
19354 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
19355 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
19356 retest_macosx_linking=yes
19359 if test "x$retest_macosx_linking" = "xyes"; then
19361 ac_cpp='$CPP $CPPFLAGS'
19362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
19363 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
19364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19366 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
19367 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
19368 cat >conftest.$ac_ext <<_ACEOF
19371 cat confdefs.h >>conftest.$ac_ext
19372 cat >>conftest.$ac_ext <<_ACEOF
19373 /* end confdefs.h. */
19383 rm -f conftest.$ac_objext conftest$ac_exeext
19384 if { (ac_try="$ac_link"
19385 case "(($ac_try" in
19386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19387 *) ac_try_echo=$ac_try;;
19389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19390 (eval "$ac_link") 2>conftest.er1
19392 grep -v '^
*+' conftest.er1 >conftest.err
19394 cat conftest.err >&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); } && {
19397 test -z "$ac_c_werror_flag" ||
19398 test ! -s conftest.err
19399 } && test -s conftest$ac_exeext &&
19400 $as_test_x conftest$ac_exeext; then
19401 { echo "$as_me:$LINENO: result: yes" >&5
19402 echo "${ECHO_T}yes" >&6; }
19404 echo "$as_me: failed program was:" >&5
19405 sed 's
/^
/| /' conftest.$ac_ext >&5
19407 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19408 See \`config.log' for more details.
" >&5
19409 echo "$as_me: error
: no. Try a different SDK
19410 See \
`config.log' for more details." >&2;}
19411 { (exit 1); exit 1; }; }; exit 1
19414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19415 conftest$ac_exeext conftest.$ac_ext
19417 ac_cpp='$CPP $CPPFLAGS'
19418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19424 ac_cpp='$CXXCPP $CPPFLAGS'
19425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19429 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
19430 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
19431 cat >conftest.$ac_ext <<_ACEOF
19434 cat confdefs.h >>conftest.$ac_ext
19435 cat >>conftest.$ac_ext <<_ACEOF
19436 /* end confdefs.h. */
19446 rm -f conftest.$ac_objext conftest$ac_exeext
19447 if { (ac_try="$ac_link"
19448 case "(($ac_try" in
19449 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19450 *) ac_try_echo
=$ac_try;;
19452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19453 (eval "$ac_link") 2>conftest.er1
19455 grep -v '^ *+' conftest.er1
>conftest.err
19457 cat conftest.err
>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); } && {
19460 test -z "$ac_cxx_werror_flag" ||
19461 test ! -s conftest.err
19462 } && test -s conftest
$ac_exeext &&
19463 $as_test_x conftest
$ac_exeext; then
19464 { echo "$as_me:$LINENO: result: yes" >&5
19465 echo "${ECHO_T}yes" >&6; }
19467 echo "$as_me: failed program was:" >&5
19468 sed 's/^/| /' conftest.
$ac_ext >&5
19470 { { echo "$as_me:$LINENO: error: no. Try a different SDK
19471 See \`config.log' for more details." >&5
19472 echo "$as_me: error: no. Try a different SDK
19473 See \`config.log' for more details." >&2;}
19474 { (exit 1); exit 1; }; }; exit 1
19477 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
19478 conftest
$ac_exeext conftest.
$ac_ext
19480 ac_cpp
='$CPP $CPPFLAGS'
19481 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19482 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19483 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19491 INSTALL_PROGRAM
="cp -fp"
19492 INSTALL_DATA
="cp -fp"
19499 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
19500 CXXFLAGS
="-qunique $CXXFLAGS"
19504 powerpc
-*-darwin* )
19505 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
19506 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
19507 cat >conftest.
$ac_ext <<_ACEOF
19510 cat confdefs.h
>>conftest.
$ac_ext
19511 cat >>conftest.
$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19517 #ifndef __POWERPC__
19518 choke me for lack of PowerPC
19525 rm -f conftest.
$ac_objext
19526 if { (ac_try
="$ac_compile"
19527 case "(($ac_try" in
19528 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19529 *) ac_try_echo=$ac_try;;
19531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19532 (eval "$ac_compile") 2>conftest.er1
19534 grep -v '^ *+' conftest.er1 >conftest.err
19536 cat conftest.err >&5
19537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19538 (exit $ac_status); } && {
19539 test -z "$ac_c_werror_flag" ||
19540 test ! -s conftest.err
19541 } && test -s conftest.$ac_objext; then
19542 { echo "$as_me:$LINENO: result: yes" >&5
19543 echo "${ECHO_T}yes" >&6; }
19545 echo "$as_me: failed program was:" >&5
19546 sed 's/^/| /' conftest.$ac_ext >&5
19548 { echo "$as_me:$LINENO: result: no" >&5
19549 echo "${ECHO_T}no" >&6; }
19550 cat >>confdefs.h <<\_ACEOF
19551 #define __POWERPC__ 1
19557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19563 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
19564 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
19565 cat >conftest.$ac_ext <<_ACEOF
19568 cat confdefs.h >>conftest.$ac_ext
19569 cat >>conftest.$ac_ext <<_ACEOF
19570 /* end confdefs.h. */
19571 #include <CoreFoundation/CFBase.h>
19581 rm -f conftest.$ac_objext
19582 if { (ac_try="$ac_compile"
19583 case "(($ac_try" in
19584 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
19585 *) ac_try_echo
=$ac_try;;
19587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19588 (eval "$ac_compile") 2>conftest.er1
19590 grep -v '^ *+' conftest.er1
>conftest.err
19592 cat conftest.err
>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); } && {
19595 test -z "$ac_c_werror_flag" ||
19596 test ! -s conftest.err
19597 } && test -s conftest.
$ac_objext; then
19598 { echo "$as_me:$LINENO: result: yes" >&5
19599 echo "${ECHO_T}yes" >&6; }
19601 echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.
$ac_ext >&5
19604 { echo "$as_me:$LINENO: result: no" >&5
19605 echo "${ECHO_T}no" >&6; }
19606 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
19607 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
19608 cat >conftest.
$ac_ext <<_ACEOF
19611 cat confdefs.h
>>conftest.
$ac_ext
19612 cat >>conftest.
$ac_ext <<_ACEOF
19613 /* end confdefs.h. */
19614 #define __CF_USE_FRAMEWORK_INCLUDES__
19615 #include <CoreFoundation/CFBase.h>
19625 rm -f conftest.
$ac_objext
19626 if { (ac_try
="$ac_compile"
19627 case "(($ac_try" in
19628 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
19629 *) ac_try_echo=$ac_try;;
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_compile") 2>conftest.er1
19634 grep -v '^ *+' conftest.er1 >conftest.err
19636 cat conftest.err >&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); } && {
19639 test -z "$ac_c_werror_flag" ||
19640 test ! -s conftest.err
19641 } && test -s conftest.$ac_objext; then
19642 { echo "$as_me:$LINENO: result: yes" >&5
19643 echo "${ECHO_T}yes" >&6; }
19644 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
19646 echo "$as_me: failed program was:" >&5
19647 sed 's/^/| /' conftest.$ac_ext >&5
19649 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
19650 See \`config.log
' for more details." >&5
19651 echo "$as_me: error: no. CoreFoundation not available.
19652 See \`config.log' for more details.
" >&2;}
19653 { (exit 1); exit 1; }; }
19657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19667 doesnt_want_win32=0
19670 if test "$wxUSE_MSW" = 1 ; then
19673 { echo "$as_me:$LINENO: checking
if -mno-cygwin is
in effect
" >&5
19674 echo $ECHO_N "checking
if -mno-cygwin is
in effect...
$ECHO_C" >&6; }
19675 if test "${wx_cv_nocygwin+set}" = set; then
19676 echo $ECHO_N "(cached
) $ECHO_C" >&6
19679 cat >conftest.$ac_ext <<_ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19698 rm -f conftest.$ac_objext
19699 if { (ac_try="$ac_compile"
19700 case "(($ac_try" in
19701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19702 *) ac_try_echo=$ac_try;;
19704 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19705 (eval "$ac_compile") 2>conftest.er1
19707 grep -v '^ *+' conftest.er1 >conftest.err
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19711 (exit $ac_status); } && {
19712 test -z "$ac_c_werror_flag" ||
19713 test ! -s conftest.err
19714 } && test -s conftest.$ac_objext; then
19717 echo "$as_me: failed program was
:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19728 { echo "$as_me:$LINENO: result
: $wx_cv_nocygwin" >&5
19729 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
19731 if test "$wx_cv_nocygwin" = "yes"; then
19734 doesnt_want_win32=1
19737 if test "$wants_win32" = 1 ; then
19738 BAKEFILE_FORCE_PLATFORM=win32
19746 if test "$wxUSE_WINE" = "yes"; then
19748 LDFLAGS_GUI="-mwindows"
19751 if test "$wants_win32" = 1 ; then
19754 cat >>confdefs.h <<\_ACEOF
19755 #define __WIN32__ 1
19758 cat >>confdefs.h <<\_ACEOF
19759 #define __WIN95__ 1
19762 cat >>confdefs.h <<\_ACEOF
19763 #define __WINDOWS__ 1
19766 cat >>confdefs.h <<\_ACEOF
19767 #define __GNUWIN32__ 1
19770 cat >>confdefs.h <<\_ACEOF
19775 if test "$doesnt_want_win32" = 1 ; then
19780 if test "$USE_UNIX" = 1 ; then
19782 cat >>confdefs.h <<\_ACEOF
19789 *-pc-os2_emx | *-pc-os2-emx )
19790 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
19791 { echo "$as_me:$LINENO: checking
for drand48
in -lcExt" >&5
19792 echo $ECHO_N "checking
for drand48
in -lcExt...
$ECHO_C" >&6; }
19793 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
19794 echo $ECHO_N "(cached
) $ECHO_C" >&6
19796 ac_check_lib_save_LIBS=$LIBS
19797 LIBS="-lcExt $LIBS"
19798 cat >conftest.$ac_ext <<_ACEOF
19801 cat confdefs.h >>conftest.$ac_ext
19802 cat >>conftest.$ac_ext <<_ACEOF
19803 /* end confdefs.h. */
19805 /* Override any GCC internal prototype to avoid an error.
19806 Use char because int might match the return type of a GCC
19807 builtin and then its argument prototype would still apply. */
19820 rm -f conftest.$ac_objext conftest$ac_exeext
19821 if { (ac_try="$ac_link"
19822 case "(($ac_try" in
19823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19824 *) ac_try_echo=$ac_try;;
19826 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19827 (eval "$ac_link") 2>conftest.er1
19829 grep -v '^ *+' conftest.er1 >conftest.err
19831 cat conftest.err >&5
19832 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19833 (exit $ac_status); } && {
19834 test -z "$ac_c_werror_flag" ||
19835 test ! -s conftest.err
19836 } && test -s conftest$ac_exeext &&
19837 $as_test_x conftest$ac_exeext; then
19838 ac_cv_lib_cExt_drand48=yes
19840 echo "$as_me: failed program was
:" >&5
19841 sed 's/^/| /' conftest.$ac_ext >&5
19843 ac_cv_lib_cExt_drand48=no
19846 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
19847 conftest$ac_exeext conftest.$ac_ext
19848 LIBS=$ac_check_lib_save_LIBS
19850 { echo "$as_me:$LINENO: result
: $ac_cv_lib_cExt_drand48" >&5
19851 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
19852 if test $ac_cv_lib_cExt_drand48 = yes; then
19853 LIBS="$LIBS -lcExt"
19857 RESPROGRAMOBJ="\
${top_srcdir}/include
/wx
/os
2/wx.res
"
19859 { echo "$as_me:$LINENO: checking
for gcc
/libc version
" >&5
19860 echo $ECHO_N "checking
for gcc
/libc version...
$ECHO_C" >&6; }
19861 if test "${wx_cv_gccversion+set}" = set; then
19862 echo $ECHO_N "(cached
) $ECHO_C" >&6
19865 if test "$cross_compiling" = yes; then
19866 wx_cv_gccversion="EMX2
"
19869 cat >conftest.$ac_ext <<_ACEOF
19872 cat confdefs.h >>conftest.$ac_ext
19873 cat >>conftest.$ac_ext <<_ACEOF
19874 /* end confdefs.h. */
19880 FILE *f=fopen("conftestval
", "w
");
19885 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
19887 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
19897 rm -f conftest$ac_exeext
19898 if { (ac_try="$ac_link"
19899 case "(($ac_try" in
19900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19901 *) ac_try_echo=$ac_try;;
19903 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19904 (eval "$ac_link") 2>&5
19906 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19907 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19908 { (case "(($ac_try" in
19909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19910 *) ac_try_echo=$ac_try;;
19912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19913 (eval "$ac_try") 2>&5
19915 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19916 (exit $ac_status); }; }; then
19917 wx_cv_gccversion=`cat conftestval`
19919 echo "$as_me: program exited with status
$ac_status" >&5
19920 echo "$as_me: failed program was
:" >&5
19921 sed 's/^/| /' conftest.$ac_ext >&5
19923 ( exit $ac_status )
19924 wx_cv_gccversion="EMX2
"
19926 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19932 { echo "$as_me:$LINENO: result
: $wx_cv_gccversion" >&5
19933 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
19934 if test "$wx_cv_gccversion" = "EMX2
"; then
19935 LIBS="$LIBS -lstdcpp"
19936 LDFLAGS="$LDFLAGS -Zsysv-signals"
19938 if test "$wx_cv_gccversion" = "EMX3
"; then
19939 LIBS="$LIBS -lstdcxx -lgcc"
19940 LDFLAGS="$LDFLAGS -Zsysv-signals"
19942 LIBS="$LIBS -lstdc++"
19945 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no
"; then
19946 { echo "$as_me:$LINENO: WARNING
: Building DLLs requires OMF mode
, enabled
" >&5
19947 echo "$as_me: WARNING
: Building DLLs requires OMF mode
, enabled
" >&2;}
19954 { echo "$as_me:$LINENO: checking
for strcasecmp
() in string.h
" >&5
19955 echo $ECHO_N "checking
for strcasecmp
() in string.h...
$ECHO_C" >&6; }
19956 if test "${ac_cv_string_strcasecmp+set}" = set; then
19957 echo $ECHO_N "(cached
) $ECHO_C" >&6
19960 cat >conftest.$ac_ext <<_ACEOF
19963 cat confdefs.h >>conftest.$ac_ext
19964 cat >>conftest.$ac_ext <<_ACEOF
19965 /* end confdefs.h. */
19967 #include <string.h>
19973 strcasecmp("foo
", "bar
");
19979 rm -f conftest.$ac_objext conftest$ac_exeext
19980 if { (ac_try="$ac_link"
19981 case "(($ac_try" in
19982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19983 *) ac_try_echo=$ac_try;;
19985 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
19986 (eval "$ac_link") 2>conftest.er1
19988 grep -v '^ *+' conftest.er1 >conftest.err
19990 cat conftest.err >&5
19991 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
19992 (exit $ac_status); } && {
19993 test -z "$ac_c_werror_flag" ||
19994 test ! -s conftest.err
19995 } && test -s conftest$ac_exeext &&
19996 $as_test_x conftest$ac_exeext; then
19997 ac_cv_string_strcasecmp=yes
19999 echo "$as_me: failed program was
:" >&5
20000 sed 's/^/| /' conftest.$ac_ext >&5
20002 ac_cv_string_strcasecmp=no
20006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20007 conftest$ac_exeext conftest.$ac_ext
20010 { echo "$as_me:$LINENO: result
: $ac_cv_string_strcasecmp" >&5
20011 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
20013 if test x"$ac_cv_string_strcasecmp" = "xyes
"; then
20014 cat >>confdefs.h <<\_ACEOF
20015 #define HAVE_STRCASECMP_IN_STRING_H 1
20019 { echo "$as_me:$LINENO: checking
for strcasecmp
() in strings.h
" >&5
20020 echo $ECHO_N "checking
for strcasecmp
() in strings.h...
$ECHO_C" >&6; }
20021 if test "${ac_cv_strings_strcasecmp+set}" = set; then
20022 echo $ECHO_N "(cached
) $ECHO_C" >&6
20025 cat >conftest.$ac_ext <<_ACEOF
20028 cat confdefs.h >>conftest.$ac_ext
20029 cat >>conftest.$ac_ext <<_ACEOF
20030 /* end confdefs.h. */
20032 #include <strings.h>
20038 strcasecmp("foo
", "bar
");
20044 rm -f conftest.$ac_objext conftest$ac_exeext
20045 if { (ac_try="$ac_link"
20046 case "(($ac_try" in
20047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20048 *) ac_try_echo=$ac_try;;
20050 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20051 (eval "$ac_link") 2>conftest.er1
20053 grep -v '^ *+' conftest.er1 >conftest.err
20055 cat conftest.err >&5
20056 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20057 (exit $ac_status); } && {
20058 test -z "$ac_c_werror_flag" ||
20059 test ! -s conftest.err
20060 } && test -s conftest$ac_exeext &&
20061 $as_test_x conftest$ac_exeext; then
20062 ac_cv_strings_strcasecmp=yes
20064 echo "$as_me: failed program was
:" >&5
20065 sed 's/^/| /' conftest.$ac_ext >&5
20067 ac_cv_strings_strcasecmp=no
20071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20072 conftest$ac_exeext conftest.$ac_ext
20075 { echo "$as_me:$LINENO: result
: $ac_cv_strings_strcasecmp" >&5
20076 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
20078 if test x"$ac_cv_strings_strcasecmp" = "xyes
"; then
20079 cat >>confdefs.h <<\_ACEOF
20080 #define HAVE_STRCASECMP_IN_STRINGS_H 1
20084 { { echo "$as_me:$LINENO: error
: No
case-insensitive string comparison
function found.
" >&5
20085 echo "$as_me: error
: No
case-insensitive string comparison
function found.
" >&2;}
20086 { (exit 1); exit 1; }; }
20094 { echo "$as_me:$LINENO: checking
for ANSI C header files
" >&5
20095 echo $ECHO_N "checking
for ANSI C header files...
$ECHO_C" >&6; }
20096 if test "${ac_cv_header_stdc+set}" = set; then
20097 echo $ECHO_N "(cached
) $ECHO_C" >&6
20099 cat >conftest.$ac_ext <<_ACEOF
20102 cat confdefs.h >>conftest.$ac_ext
20103 cat >>conftest.$ac_ext <<_ACEOF
20104 /* end confdefs.h. */
20105 #include <stdlib.h>
20106 #include <stdarg.h>
20107 #include <string.h>
20118 rm -f conftest.$ac_objext
20119 if { (ac_try="$ac_compile"
20120 case "(($ac_try" in
20121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20122 *) ac_try_echo=$ac_try;;
20124 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20125 (eval "$ac_compile") 2>conftest.er1
20127 grep -v '^ *+' conftest.er1 >conftest.err
20129 cat conftest.err >&5
20130 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20131 (exit $ac_status); } && {
20132 test -z "$ac_c_werror_flag" ||
20133 test ! -s conftest.err
20134 } && test -s conftest.$ac_objext; then
20135 ac_cv_header_stdc=yes
20137 echo "$as_me: failed program was
:" >&5
20138 sed 's/^/| /' conftest.$ac_ext >&5
20140 ac_cv_header_stdc=no
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20145 if test $ac_cv_header_stdc = yes; then
20146 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20147 cat >conftest.$ac_ext <<_ACEOF
20150 cat confdefs.h >>conftest.$ac_ext
20151 cat >>conftest.$ac_ext <<_ACEOF
20152 /* end confdefs.h. */
20153 #include <string.h>
20156 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20157 $EGREP "memchr
" >/dev/null 2>&1; then
20160 ac_cv_header_stdc=no
20166 if test $ac_cv_header_stdc = yes; then
20167 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20168 cat >conftest.$ac_ext <<_ACEOF
20171 cat confdefs.h >>conftest.$ac_ext
20172 cat >>conftest.$ac_ext <<_ACEOF
20173 /* end confdefs.h. */
20174 #include <stdlib.h>
20177 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
20178 $EGREP "free
" >/dev/null 2>&1; then
20181 ac_cv_header_stdc=no
20187 if test $ac_cv_header_stdc = yes; then
20188 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20189 if test "$cross_compiling" = yes; then
20192 cat >conftest.$ac_ext <<_ACEOF
20195 cat confdefs.h >>conftest.$ac_ext
20196 cat >>conftest.$ac_ext <<_ACEOF
20197 /* end confdefs.h. */
20199 #include <stdlib.h>
20200 #if ((' ' & 0x0FF) == 0x020)
20201 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20202 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20204 # define ISLOWER(c) \
20205 (('a' <= (c) && (c) <= 'i') \
20206 || ('j' <= (c) && (c) <= 'r') \
20207 || ('s' <= (c) && (c) <= 'z'))
20208 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20211 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20216 for (i = 0; i < 256; i++)
20217 if (XOR (islower (i), ISLOWER (i))
20218 || toupper (i) != TOUPPER (i))
20223 rm -f conftest$ac_exeext
20224 if { (ac_try="$ac_link"
20225 case "(($ac_try" in
20226 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20227 *) ac_try_echo=$ac_try;;
20229 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20230 (eval "$ac_link") 2>&5
20232 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20233 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20234 { (case "(($ac_try" in
20235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20236 *) ac_try_echo=$ac_try;;
20238 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20239 (eval "$ac_try") 2>&5
20241 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20242 (exit $ac_status); }; }; then
20245 echo "$as_me: program exited with status
$ac_status" >&5
20246 echo "$as_me: failed program was
:" >&5
20247 sed 's/^/| /' conftest.$ac_ext >&5
20249 ( exit $ac_status )
20250 ac_cv_header_stdc=no
20252 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20258 { echo "$as_me:$LINENO: result
: $ac_cv_header_stdc" >&5
20259 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
20260 if test $ac_cv_header_stdc = yes; then
20262 cat >>confdefs.h <<\_ACEOF
20263 #define STDC_HEADERS 1
20268 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
20278 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
20279 inttypes.h stdint.h unistd.h
20281 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20282 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20283 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20284 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20285 echo $ECHO_N "(cached
) $ECHO_C" >&6
20287 cat >conftest.$ac_ext <<_ACEOF
20290 cat confdefs.h >>conftest.$ac_ext
20291 cat >>conftest.$ac_ext <<_ACEOF
20292 /* end confdefs.h. */
20293 $ac_includes_default
20295 #include <$ac_header>
20297 rm -f conftest.$ac_objext
20298 if { (ac_try="$ac_compile"
20299 case "(($ac_try" in
20300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20301 *) ac_try_echo=$ac_try;;
20303 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20304 (eval "$ac_compile") 2>conftest.er1
20306 grep -v '^ *+' conftest.er1 >conftest.err
20308 cat conftest.err >&5
20309 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20310 (exit $ac_status); } && {
20311 test -z "$ac_c_werror_flag" ||
20312 test ! -s conftest.err
20313 } && test -s conftest.$ac_objext; then
20314 eval "$as_ac_Header=yes"
20316 echo "$as_me: failed program was
:" >&5
20317 sed 's/^/| /' conftest.$ac_ext >&5
20319 eval "$as_ac_Header=no
"
20322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20324 ac_res=`eval echo '${'$as_ac_Header'}'`
20325 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20326 echo "${ECHO_T}$ac_res" >&6; }
20327 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20328 cat >>confdefs.h <<_ACEOF
20329 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20339 for ac_header in langinfo.h wchar.h
20341 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20342 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20343 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20344 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20345 echo $ECHO_N "(cached
) $ECHO_C" >&6
20347 cat >conftest.$ac_ext <<_ACEOF
20350 cat confdefs.h >>conftest.$ac_ext
20351 cat >>conftest.$ac_ext <<_ACEOF
20352 /* end confdefs.h. */
20353 $ac_includes_default
20355 #include <$ac_header>
20357 rm -f conftest.$ac_objext
20358 if { (ac_try="$ac_compile"
20359 case "(($ac_try" in
20360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20361 *) ac_try_echo=$ac_try;;
20363 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20364 (eval "$ac_compile") 2>conftest.er1
20366 grep -v '^ *+' conftest.er1 >conftest.err
20368 cat conftest.err >&5
20369 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20370 (exit $ac_status); } && {
20371 test -z "$ac_c_werror_flag" ||
20372 test ! -s conftest.err
20373 } && test -s conftest.$ac_objext; then
20374 eval "$as_ac_Header=yes"
20376 echo "$as_me: failed program was
:" >&5
20377 sed 's/^/| /' conftest.$ac_ext >&5
20379 eval "$as_ac_Header=no
"
20382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20384 ac_res=`eval echo '${'$as_ac_Header'}'`
20385 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20386 echo "${ECHO_T}$ac_res" >&6; }
20387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20388 cat >>confdefs.h <<_ACEOF
20389 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20397 if test "$ac_cv_header_wchar_h" != "yes"; then
20399 for ac_header in wcstr.h
20401 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20402 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20403 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20404 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20405 echo $ECHO_N "(cached
) $ECHO_C" >&6
20407 cat >conftest.$ac_ext <<_ACEOF
20410 cat confdefs.h >>conftest.$ac_ext
20411 cat >>conftest.$ac_ext <<_ACEOF
20412 /* end confdefs.h. */
20413 $ac_includes_default
20415 #include <$ac_header>
20417 rm -f conftest.$ac_objext
20418 if { (ac_try="$ac_compile"
20419 case "(($ac_try" in
20420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20421 *) ac_try_echo=$ac_try;;
20423 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20424 (eval "$ac_compile") 2>conftest.er1
20426 grep -v '^ *+' conftest.er1 >conftest.err
20428 cat conftest.err >&5
20429 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20430 (exit $ac_status); } && {
20431 test -z "$ac_c_werror_flag" ||
20432 test ! -s conftest.err
20433 } && test -s conftest.$ac_objext; then
20434 eval "$as_ac_Header=yes"
20436 echo "$as_me: failed program was
:" >&5
20437 sed 's/^/| /' conftest.$ac_ext >&5
20439 eval "$as_ac_Header=no
"
20442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20444 ac_res=`eval echo '${'$as_ac_Header'}'`
20445 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20446 echo "${ECHO_T}$ac_res" >&6; }
20447 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20448 cat >>confdefs.h <<_ACEOF
20449 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20459 *-pc-os2_emx | *-pc-os2-emx )
20460 if test $ac_cv_header_langinfo_h = "yes" \
20461 -a \( "$wx_cv_gccversion" = "EMX2
" \
20462 -o "$wx_cv_gccversion" = "EMX3
" \
20463 -o "$wx_cv_gccversion" = "Innotek5
" \); then
20464 LIBS="$LIBS -lintl"
20469 if test "$USE_UNIX" = 1 ; then
20471 for ac_header in sys/select.h
20473 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
20474 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
20475 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
20476 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
20477 echo $ECHO_N "(cached
) $ECHO_C" >&6
20479 cat >conftest.$ac_ext <<_ACEOF
20482 cat confdefs.h >>conftest.$ac_ext
20483 cat >>conftest.$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20485 $ac_includes_default
20487 #include <$ac_header>
20489 rm -f conftest.$ac_objext
20490 if { (ac_try="$ac_compile"
20491 case "(($ac_try" in
20492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20493 *) ac_try_echo=$ac_try;;
20495 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20496 (eval "$ac_compile") 2>conftest.er1
20498 grep -v '^ *+' conftest.er1 >conftest.err
20500 cat conftest.err >&5
20501 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20502 (exit $ac_status); } && {
20503 test -z "$ac_c_werror_flag" ||
20504 test ! -s conftest.err
20505 } && test -s conftest.$ac_objext; then
20506 eval "$as_ac_Header=yes"
20508 echo "$as_me: failed program was
:" >&5
20509 sed 's/^/| /' conftest.$ac_ext >&5
20511 eval "$as_ac_Header=no
"
20514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20516 ac_res=`eval echo '${'$as_ac_Header'}'`
20517 { echo "$as_me:$LINENO: result
: $ac_res" >&5
20518 echo "${ECHO_T}$ac_res" >&6; }
20519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20520 cat >>confdefs.h <<_ACEOF
20521 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
20531 { echo "$as_me:$LINENO: checking
for an ANSI C
-conforming const
" >&5
20532 echo $ECHO_N "checking
for an ANSI C
-conforming const...
$ECHO_C" >&6; }
20533 if test "${ac_cv_c_const+set}" = set; then
20534 echo $ECHO_N "(cached
) $ECHO_C" >&6
20536 cat >conftest.$ac_ext <<_ACEOF
20539 cat confdefs.h >>conftest.$ac_ext
20540 cat >>conftest.$ac_ext <<_ACEOF
20541 /* end confdefs.h. */
20546 /* FIXME: Include the comments suggested by Paul. */
20547 #ifndef __cplusplus
20548 /* Ultrix mips cc rejects this. */
20549 typedef int charset[2];
20551 /* SunOS 4.1.1 cc rejects this. */
20552 char const *const *pcpcc;
20554 /* NEC SVR4.0.2 mips cc rejects this. */
20555 struct point {int x, y;};
20556 static struct point const zero = {0,0};
20557 /* AIX XL C 1.02.0.0 rejects this.
20558 It does not let you subtract one const X* pointer from another in
20559 an arm of an if-expression whose if-part is not a constant
20561 const char *g = "string
";
20562 pcpcc = &g + (g ? g-g : 0);
20563 /* HPUX 7.0 cc rejects these. */
20565 ppc = (char**) pcpcc;
20566 pcpcc = (char const *const *) ppc;
20567 { /* SCO 3.2v4 cc rejects this. */
20569 char const *s = 0 ? (char *) 0 : (char const *) 0;
20574 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20575 int x[] = {25, 17};
20576 const int *foo = &x[0];
20579 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20580 typedef const int *iptr;
20584 { /* AIX XL C 1.02.0.0 rejects this saying
20585 "k.c
", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20586 struct s { int j; const int *ap[3]; };
20587 struct s *b; b->j = 5;
20589 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20590 const int foo = 10;
20591 if (!foo) return 0;
20593 return !cs[0] && !zero.x;
20600 rm -f conftest.$ac_objext
20601 if { (ac_try="$ac_compile"
20602 case "(($ac_try" in
20603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20604 *) ac_try_echo=$ac_try;;
20606 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20607 (eval "$ac_compile") 2>conftest.er1
20609 grep -v '^ *+' conftest.er1 >conftest.err
20611 cat conftest.err >&5
20612 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20613 (exit $ac_status); } && {
20614 test -z "$ac_c_werror_flag" ||
20615 test ! -s conftest.err
20616 } && test -s conftest.$ac_objext; then
20619 echo "$as_me: failed program was
:" >&5
20620 sed 's/^/| /' conftest.$ac_ext >&5
20625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627 { echo "$as_me:$LINENO: result
: $ac_cv_c_const" >&5
20628 echo "${ECHO_T}$ac_cv_c_const" >&6; }
20629 if test $ac_cv_c_const = no; then
20631 cat >>confdefs.h <<\_ACEOF
20637 { echo "$as_me:$LINENO: checking
for inline
" >&5
20638 echo $ECHO_N "checking
for inline...
$ECHO_C" >&6; }
20639 if test "${ac_cv_c_inline+set}" = set; then
20640 echo $ECHO_N "(cached
) $ECHO_C" >&6
20643 for ac_kw in inline __inline__ __inline; do
20644 cat >conftest.$ac_ext <<_ACEOF
20647 cat confdefs.h >>conftest.$ac_ext
20648 cat >>conftest.$ac_ext <<_ACEOF
20649 /* end confdefs.h. */
20650 #ifndef __cplusplus
20652 static $ac_kw foo_t static_foo () {return 0; }
20653 $ac_kw foo_t foo () {return 0; }
20657 rm -f conftest.$ac_objext
20658 if { (ac_try="$ac_compile"
20659 case "(($ac_try" in
20660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20661 *) ac_try_echo=$ac_try;;
20663 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20664 (eval "$ac_compile") 2>conftest.er1
20666 grep -v '^ *+' conftest.er1 >conftest.err
20668 cat conftest.err >&5
20669 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20670 (exit $ac_status); } && {
20671 test -z "$ac_c_werror_flag" ||
20672 test ! -s conftest.err
20673 } && test -s conftest.$ac_objext; then
20674 ac_cv_c_inline=$ac_kw
20676 echo "$as_me: failed program was
:" >&5
20677 sed 's/^/| /' conftest.$ac_ext >&5
20682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20683 test "$ac_cv_c_inline" != no && break
20687 { echo "$as_me:$LINENO: result
: $ac_cv_c_inline" >&5
20688 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
20691 case $ac_cv_c_inline in
20694 case $ac_cv_c_inline in
20696 *) ac_val=$ac_cv_c_inline;;
20698 cat >>confdefs.h <<_ACEOF
20699 #ifndef __cplusplus
20700 #define inline $ac_val
20707 { echo "$as_me:$LINENO: checking
for short
" >&5
20708 echo $ECHO_N "checking
for short...
$ECHO_C" >&6; }
20709 if test "${ac_cv_type_short+set}" = set; then
20710 echo $ECHO_N "(cached
) $ECHO_C" >&6
20712 cat >conftest.$ac_ext <<_ACEOF
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20718 $ac_includes_default
20719 typedef short ac__type_new_;
20723 if ((ac__type_new_ *) 0)
20725 if (sizeof (ac__type_new_))
20731 rm -f conftest.$ac_objext
20732 if { (ac_try="$ac_compile"
20733 case "(($ac_try" in
20734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20735 *) ac_try_echo=$ac_try;;
20737 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20738 (eval "$ac_compile") 2>conftest.er1
20740 grep -v '^ *+' conftest.er1 >conftest.err
20742 cat conftest.err >&5
20743 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20744 (exit $ac_status); } && {
20745 test -z "$ac_c_werror_flag" ||
20746 test ! -s conftest.err
20747 } && test -s conftest.$ac_objext; then
20748 ac_cv_type_short=yes
20750 echo "$as_me: failed program was
:" >&5
20751 sed 's/^/| /' conftest.$ac_ext >&5
20753 ac_cv_type_short=no
20756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20758 { echo "$as_me:$LINENO: result
: $ac_cv_type_short" >&5
20759 echo "${ECHO_T}$ac_cv_type_short" >&6; }
20761 # The cast to long int works around a bug in the HP C Compiler
20762 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20763 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20764 # This bug is HP SR number 8606223364.
20765 { echo "$as_me:$LINENO: checking size of short
" >&5
20766 echo $ECHO_N "checking size of short...
$ECHO_C" >&6; }
20767 if test "${ac_cv_sizeof_short+set}" = set; then
20768 echo $ECHO_N "(cached
) $ECHO_C" >&6
20770 if test "$cross_compiling" = yes; then
20771 # Depending upon the size, compute the lo and hi bounds.
20772 cat >conftest.$ac_ext <<_ACEOF
20775 cat confdefs.h >>conftest.$ac_ext
20776 cat >>conftest.$ac_ext <<_ACEOF
20777 /* end confdefs.h. */
20778 $ac_includes_default
20779 typedef short ac__type_sizeof_;
20783 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20790 rm -f conftest.$ac_objext
20791 if { (ac_try="$ac_compile"
20792 case "(($ac_try" in
20793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20794 *) ac_try_echo=$ac_try;;
20796 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20797 (eval "$ac_compile") 2>conftest.er1
20799 grep -v '^ *+' conftest.er1 >conftest.err
20801 cat conftest.err >&5
20802 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20803 (exit $ac_status); } && {
20804 test -z "$ac_c_werror_flag" ||
20805 test ! -s conftest.err
20806 } && test -s conftest.$ac_objext; then
20809 cat >conftest.$ac_ext <<_ACEOF
20812 cat confdefs.h >>conftest.$ac_ext
20813 cat >>conftest.$ac_ext <<_ACEOF
20814 /* end confdefs.h. */
20815 $ac_includes_default
20816 typedef short ac__type_sizeof_;
20820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20827 rm -f conftest.$ac_objext
20828 if { (ac_try="$ac_compile"
20829 case "(($ac_try" in
20830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20831 *) ac_try_echo=$ac_try;;
20833 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20834 (eval "$ac_compile") 2>conftest.er1
20836 grep -v '^ *+' conftest.er1 >conftest.err
20838 cat conftest.err >&5
20839 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20840 (exit $ac_status); } && {
20841 test -z "$ac_c_werror_flag" ||
20842 test ! -s conftest.err
20843 } && test -s conftest.$ac_objext; then
20844 ac_hi=$ac_mid; break
20846 echo "$as_me: failed program was
:" >&5
20847 sed 's/^/| /' conftest.$ac_ext >&5
20849 ac_lo=`expr $ac_mid + 1`
20850 if test $ac_lo -le $ac_mid; then
20854 ac_mid=`expr 2 '*' $ac_mid + 1`
20857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20860 echo "$as_me: failed program was
:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20863 cat >conftest.$ac_ext <<_ACEOF
20866 cat confdefs.h >>conftest.$ac_ext
20867 cat >>conftest.$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20869 $ac_includes_default
20870 typedef short ac__type_sizeof_;
20874 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20881 rm -f conftest.$ac_objext
20882 if { (ac_try="$ac_compile"
20883 case "(($ac_try" in
20884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20885 *) ac_try_echo=$ac_try;;
20887 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20888 (eval "$ac_compile") 2>conftest.er1
20890 grep -v '^ *+' conftest.er1 >conftest.err
20892 cat conftest.err >&5
20893 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20894 (exit $ac_status); } && {
20895 test -z "$ac_c_werror_flag" ||
20896 test ! -s conftest.err
20897 } && test -s conftest.$ac_objext; then
20900 cat >conftest.$ac_ext <<_ACEOF
20903 cat confdefs.h >>conftest.$ac_ext
20904 cat >>conftest.$ac_ext <<_ACEOF
20905 /* end confdefs.h. */
20906 $ac_includes_default
20907 typedef short ac__type_sizeof_;
20911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20918 rm -f conftest.$ac_objext
20919 if { (ac_try="$ac_compile"
20920 case "(($ac_try" in
20921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20922 *) ac_try_echo=$ac_try;;
20924 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20925 (eval "$ac_compile") 2>conftest.er1
20927 grep -v '^ *+' conftest.er1 >conftest.err
20929 cat conftest.err >&5
20930 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20931 (exit $ac_status); } && {
20932 test -z "$ac_c_werror_flag" ||
20933 test ! -s conftest.err
20934 } && test -s conftest.$ac_objext; then
20935 ac_lo=$ac_mid; break
20937 echo "$as_me: failed program was
:" >&5
20938 sed 's/^/| /' conftest.$ac_ext >&5
20940 ac_hi=`expr '(' $ac_mid ')' - 1`
20941 if test $ac_mid -le $ac_hi; then
20945 ac_mid=`expr 2 '*' $ac_mid`
20948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20951 echo "$as_me: failed program was
:" >&5
20952 sed 's/^/| /' conftest.$ac_ext >&5
20957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20961 # Binary search between lo and hi bounds.
20962 while test "x
$ac_lo" != "x
$ac_hi"; do
20963 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20964 cat >conftest.$ac_ext <<_ACEOF
20967 cat confdefs.h >>conftest.$ac_ext
20968 cat >>conftest.$ac_ext <<_ACEOF
20969 /* end confdefs.h. */
20970 $ac_includes_default
20971 typedef short ac__type_sizeof_;
20975 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20982 rm -f conftest.$ac_objext
20983 if { (ac_try="$ac_compile"
20984 case "(($ac_try" in
20985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20986 *) ac_try_echo=$ac_try;;
20988 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
20989 (eval "$ac_compile") 2>conftest.er1
20991 grep -v '^ *+' conftest.er1 >conftest.err
20993 cat conftest.err >&5
20994 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
20995 (exit $ac_status); } && {
20996 test -z "$ac_c_werror_flag" ||
20997 test ! -s conftest.err
20998 } && test -s conftest.$ac_objext; then
21001 echo "$as_me: failed program was
:" >&5
21002 sed 's/^/| /' conftest.$ac_ext >&5
21004 ac_lo=`expr '(' $ac_mid ')' + 1`
21007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21010 ?*) ac_cv_sizeof_short=$ac_lo;;
21011 '') if test "$ac_cv_type_short" = yes; then
21012 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(short
)
21013 See \
`config.log' for more details." >&5
21014 echo "$as_me: error: cannot compute sizeof (short)
21015 See \`config.log
' for more details." >&2;}
21016 { (exit 77); exit 77; }; }
21018 ac_cv_sizeof_short=0
21022 cat >conftest.$ac_ext <<_ACEOF
21025 cat confdefs.h >>conftest.$ac_ext
21026 cat >>conftest.$ac_ext <<_ACEOF
21027 /* end confdefs.h. */
21028 $ac_includes_default
21029 typedef short ac__type_sizeof_;
21030 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21031 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21033 #include <stdlib.h>
21038 FILE *f = fopen ("conftest.val", "w");
21041 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21043 long int i = longval ();
21044 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21046 fprintf (f, "%ld\n", i);
21050 unsigned long int i = ulongval ();
21051 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21053 fprintf (f, "%lu\n", i);
21055 return ferror (f) || fclose (f) != 0;
21061 rm -f conftest$ac_exeext
21062 if { (ac_try="$ac_link"
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_link") 2>&5
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
21072 { (case "(($ac_try" in
21073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21074 *) ac_try_echo=$ac_try;;
21076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21077 (eval "$ac_try") 2>&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); }; }; then
21081 ac_cv_sizeof_short=`cat conftest.val`
21083 echo "$as_me: program exited with status $ac_status" >&5
21084 echo "$as_me: failed program was:" >&5
21085 sed 's
/^
/| /' conftest.$ac_ext >&5
21087 ( exit $ac_status )
21088 if test "$ac_cv_type_short" = yes; then
21089 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
21090 See \`config.log' for more details.
" >&5
21091 echo "$as_me: error
: cannot compute sizeof
(short
)
21092 See \
`config.log' for more details." >&2;}
21093 { (exit 77); exit 77; }; }
21095 ac_cv_sizeof_short=0
21098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21102 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
21103 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
21107 cat >>confdefs.h <<_ACEOF
21108 #define SIZEOF_SHORT $ac_cv_sizeof_short
21112 { echo "$as_me:$LINENO: checking for void *" >&5
21113 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
21114 if test "${ac_cv_type_void_p+set}" = set; then
21115 echo $ECHO_N "(cached) $ECHO_C" >&6
21117 cat >conftest.$ac_ext <<_ACEOF
21120 cat confdefs.h >>conftest.$ac_ext
21121 cat >>conftest.$ac_ext <<_ACEOF
21122 /* end confdefs.h. */
21123 $ac_includes_default
21124 typedef void * ac__type_new_;
21128 if ((ac__type_new_ *) 0)
21130 if (sizeof (ac__type_new_))
21136 rm -f conftest.$ac_objext
21137 if { (ac_try="$ac_compile"
21138 case "(($ac_try" in
21139 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21140 *) ac_try_echo
=$ac_try;;
21142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21143 (eval "$ac_compile") 2>conftest.er1
21145 grep -v '^ *+' conftest.er1
>conftest.err
21147 cat conftest.err
>&5
21148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21149 (exit $ac_status); } && {
21150 test -z "$ac_c_werror_flag" ||
21151 test ! -s conftest.err
21152 } && test -s conftest.
$ac_objext; then
21153 ac_cv_type_void_p
=yes
21155 echo "$as_me: failed program was:" >&5
21156 sed 's/^/| /' conftest.
$ac_ext >&5
21158 ac_cv_type_void_p
=no
21161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21163 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
21164 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
21166 # The cast to long int works around a bug in the HP C Compiler
21167 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21168 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21169 # This bug is HP SR number 8606223364.
21170 { echo "$as_me:$LINENO: checking size of void *" >&5
21171 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
21172 if test "${ac_cv_sizeof_void_p+set}" = set; then
21173 echo $ECHO_N "(cached) $ECHO_C" >&6
21175 if test "$cross_compiling" = yes; then
21176 # Depending upon the size, compute the lo and hi bounds.
21177 cat >conftest.
$ac_ext <<_ACEOF
21180 cat confdefs.h
>>conftest.
$ac_ext
21181 cat >>conftest.
$ac_ext <<_ACEOF
21182 /* end confdefs.h. */
21183 $ac_includes_default
21184 typedef void * ac__type_sizeof_;
21188 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21195 rm -f conftest.
$ac_objext
21196 if { (ac_try
="$ac_compile"
21197 case "(($ac_try" in
21198 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21199 *) ac_try_echo=$ac_try;;
21201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21202 (eval "$ac_compile") 2>conftest.er1
21204 grep -v '^ *+' conftest.er1 >conftest.err
21206 cat conftest.err >&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); } && {
21209 test -z "$ac_c_werror_flag" ||
21210 test ! -s conftest.err
21211 } && test -s conftest.$ac_objext; then
21214 cat >conftest.$ac_ext <<_ACEOF
21217 cat confdefs.h >>conftest.$ac_ext
21218 cat >>conftest.$ac_ext <<_ACEOF
21219 /* end confdefs.h. */
21220 $ac_includes_default
21221 typedef void * ac__type_sizeof_;
21225 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21232 rm -f conftest.$ac_objext
21233 if { (ac_try="$ac_compile"
21234 case "(($ac_try" in
21235 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21236 *) ac_try_echo
=$ac_try;;
21238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21239 (eval "$ac_compile") 2>conftest.er1
21241 grep -v '^ *+' conftest.er1
>conftest.err
21243 cat conftest.err
>&5
21244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21245 (exit $ac_status); } && {
21246 test -z "$ac_c_werror_flag" ||
21247 test ! -s conftest.err
21248 } && test -s conftest.
$ac_objext; then
21249 ac_hi
=$ac_mid; break
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.
$ac_ext >&5
21254 ac_lo
=`expr $ac_mid + 1`
21255 if test $ac_lo -le $ac_mid; then
21259 ac_mid
=`expr 2 '*' $ac_mid + 1`
21262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21265 echo "$as_me: failed program was:" >&5
21266 sed 's/^/| /' conftest.
$ac_ext >&5
21268 cat >conftest.
$ac_ext <<_ACEOF
21271 cat confdefs.h
>>conftest.
$ac_ext
21272 cat >>conftest.
$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 $ac_includes_default
21275 typedef void * ac__type_sizeof_;
21279 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21286 rm -f conftest.
$ac_objext
21287 if { (ac_try
="$ac_compile"
21288 case "(($ac_try" in
21289 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21290 *) ac_try_echo=$ac_try;;
21292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21293 (eval "$ac_compile") 2>conftest.er1
21295 grep -v '^ *+' conftest.er1 >conftest.err
21297 cat conftest.err >&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); } && {
21300 test -z "$ac_c_werror_flag" ||
21301 test ! -s conftest.err
21302 } && test -s conftest.$ac_objext; then
21305 cat >conftest.$ac_ext <<_ACEOF
21308 cat confdefs.h >>conftest.$ac_ext
21309 cat >>conftest.$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 $ac_includes_default
21312 typedef void * ac__type_sizeof_;
21316 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21323 rm -f conftest.$ac_objext
21324 if { (ac_try="$ac_compile"
21325 case "(($ac_try" in
21326 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21327 *) ac_try_echo
=$ac_try;;
21329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21330 (eval "$ac_compile") 2>conftest.er1
21332 grep -v '^ *+' conftest.er1
>conftest.err
21334 cat conftest.err
>&5
21335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21336 (exit $ac_status); } && {
21337 test -z "$ac_c_werror_flag" ||
21338 test ! -s conftest.err
21339 } && test -s conftest.
$ac_objext; then
21340 ac_lo
=$ac_mid; break
21342 echo "$as_me: failed program was:" >&5
21343 sed 's/^/| /' conftest.
$ac_ext >&5
21345 ac_hi
=`expr '(' $ac_mid ')' - 1`
21346 if test $ac_mid -le $ac_hi; then
21350 ac_mid
=`expr 2 '*' $ac_mid`
21353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21356 echo "$as_me: failed program was:" >&5
21357 sed 's/^/| /' conftest.
$ac_ext >&5
21362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21365 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21366 # Binary search between lo and hi bounds.
21367 while test "x$ac_lo" != "x$ac_hi"; do
21368 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21369 cat >conftest.
$ac_ext <<_ACEOF
21372 cat confdefs.h
>>conftest.
$ac_ext
21373 cat >>conftest.
$ac_ext <<_ACEOF
21374 /* end confdefs.h. */
21375 $ac_includes_default
21376 typedef void * ac__type_sizeof_;
21380 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21387 rm -f conftest.
$ac_objext
21388 if { (ac_try
="$ac_compile"
21389 case "(($ac_try" in
21390 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21391 *) ac_try_echo=$ac_try;;
21393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21394 (eval "$ac_compile") 2>conftest.er1
21396 grep -v '^ *+' conftest.er1 >conftest.err
21398 cat conftest.err >&5
21399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21400 (exit $ac_status); } && {
21401 test -z "$ac_c_werror_flag" ||
21402 test ! -s conftest.err
21403 } && test -s conftest.$ac_objext; then
21406 echo "$as_me: failed program was:" >&5
21407 sed 's/^/| /' conftest.$ac_ext >&5
21409 ac_lo=`expr '(' $ac_mid ')' + 1`
21412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21415 ?*) ac_cv_sizeof_void_p=$ac_lo;;
21416 '') if test "$ac_cv_type_void_p" = yes; then
21417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
21418 See \`config.log
' for more details." >&5
21419 echo "$as_me: error: cannot compute sizeof (void *)
21420 See \`config.log' for more details.
" >&2;}
21421 { (exit 77); exit 77; }; }
21423 ac_cv_sizeof_void_p=0
21427 cat >conftest.$ac_ext <<_ACEOF
21430 cat confdefs.h >>conftest.$ac_ext
21431 cat >>conftest.$ac_ext <<_ACEOF
21432 /* end confdefs.h. */
21433 $ac_includes_default
21434 typedef void * ac__type_sizeof_;
21435 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21436 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21438 #include <stdlib.h>
21443 FILE *f = fopen ("conftest.val
", "w
");
21446 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21448 long int i = longval ();
21449 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21451 fprintf (f, "%ld
\n", i);
21455 unsigned long int i = ulongval ();
21456 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21458 fprintf (f, "%lu
\n", i);
21460 return ferror (f) || fclose (f) != 0;
21466 rm -f conftest$ac_exeext
21467 if { (ac_try="$ac_link"
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_link") 2>&5
21475 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21476 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21477 { (case "(($ac_try" in
21478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21479 *) ac_try_echo=$ac_try;;
21481 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21482 (eval "$ac_try") 2>&5
21484 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21485 (exit $ac_status); }; }; then
21486 ac_cv_sizeof_void_p=`cat conftest.val`
21488 echo "$as_me: program exited with status
$ac_status" >&5
21489 echo "$as_me: failed program was
:" >&5
21490 sed 's/^/| /' conftest.$ac_ext >&5
21492 ( exit $ac_status )
21493 if test "$ac_cv_type_void_p" = yes; then
21494 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(void
*)
21495 See \
`config.log' for more details." >&5
21496 echo "$as_me: error: cannot compute sizeof (void *)
21497 See \`config.log
' for more details." >&2;}
21498 { (exit 77); exit 77; }; }
21500 ac_cv_sizeof_void_p=0
21503 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21507 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
21508 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
21512 cat >>confdefs.h <<_ACEOF
21513 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
21517 { echo "$as_me:$LINENO: checking for int" >&5
21518 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
21519 if test "${ac_cv_type_int+set}" = set; then
21520 echo $ECHO_N "(cached) $ECHO_C" >&6
21522 cat >conftest.$ac_ext <<_ACEOF
21525 cat confdefs.h >>conftest.$ac_ext
21526 cat >>conftest.$ac_ext <<_ACEOF
21527 /* end confdefs.h. */
21528 $ac_includes_default
21529 typedef int ac__type_new_;
21533 if ((ac__type_new_ *) 0)
21535 if (sizeof (ac__type_new_))
21541 rm -f conftest.$ac_objext
21542 if { (ac_try="$ac_compile"
21543 case "(($ac_try" in
21544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21545 *) ac_try_echo=$ac_try;;
21547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21548 (eval "$ac_compile") 2>conftest.er1
21550 grep -v '^
*+' conftest.er1 >conftest.err
21552 cat conftest.err >&5
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); } && {
21555 test -z "$ac_c_werror_flag" ||
21556 test ! -s conftest.err
21557 } && test -s conftest.$ac_objext; then
21560 echo "$as_me: failed program was:" >&5
21561 sed 's
/^
/| /' conftest.$ac_ext >&5
21566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21568 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
21569 echo "${ECHO_T}$ac_cv_type_int" >&6; }
21571 # The cast to long int works around a bug in the HP C Compiler
21572 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21573 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21574 # This bug is HP SR number 8606223364.
21575 { echo "$as_me:$LINENO: checking size of int" >&5
21576 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
21577 if test "${ac_cv_sizeof_int+set}" = set; then
21578 echo $ECHO_N "(cached) $ECHO_C" >&6
21580 if test "$cross_compiling" = yes; then
21581 # Depending upon the size, compute the lo and hi bounds.
21582 cat >conftest.
$ac_ext <<_ACEOF
21585 cat confdefs.h
>>conftest.
$ac_ext
21586 cat >>conftest.
$ac_ext <<_ACEOF
21587 /* end confdefs.h. */
21588 $ac_includes_default
21589 typedef int ac__type_sizeof_;
21593 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21600 rm -f conftest.
$ac_objext
21601 if { (ac_try
="$ac_compile"
21602 case "(($ac_try" in
21603 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21604 *) ac_try_echo=$ac_try;;
21606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21607 (eval "$ac_compile") 2>conftest.er1
21609 grep -v '^ *+' conftest.er1 >conftest.err
21611 cat conftest.err >&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); } && {
21614 test -z "$ac_c_werror_flag" ||
21615 test ! -s conftest.err
21616 } && test -s conftest.$ac_objext; then
21619 cat >conftest.$ac_ext <<_ACEOF
21622 cat confdefs.h >>conftest.$ac_ext
21623 cat >>conftest.$ac_ext <<_ACEOF
21624 /* end confdefs.h. */
21625 $ac_includes_default
21626 typedef int ac__type_sizeof_;
21630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21637 rm -f conftest.$ac_objext
21638 if { (ac_try="$ac_compile"
21639 case "(($ac_try" in
21640 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21641 *) ac_try_echo
=$ac_try;;
21643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21644 (eval "$ac_compile") 2>conftest.er1
21646 grep -v '^ *+' conftest.er1
>conftest.err
21648 cat conftest.err
>&5
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); } && {
21651 test -z "$ac_c_werror_flag" ||
21652 test ! -s conftest.err
21653 } && test -s conftest.
$ac_objext; then
21654 ac_hi
=$ac_mid; break
21656 echo "$as_me: failed program was:" >&5
21657 sed 's/^/| /' conftest.
$ac_ext >&5
21659 ac_lo
=`expr $ac_mid + 1`
21660 if test $ac_lo -le $ac_mid; then
21664 ac_mid
=`expr 2 '*' $ac_mid + 1`
21667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.
$ac_ext >&5
21673 cat >conftest.
$ac_ext <<_ACEOF
21676 cat confdefs.h
>>conftest.
$ac_ext
21677 cat >>conftest.
$ac_ext <<_ACEOF
21678 /* end confdefs.h. */
21679 $ac_includes_default
21680 typedef int ac__type_sizeof_;
21684 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21691 rm -f conftest.
$ac_objext
21692 if { (ac_try
="$ac_compile"
21693 case "(($ac_try" in
21694 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21695 *) ac_try_echo=$ac_try;;
21697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21698 (eval "$ac_compile") 2>conftest.er1
21700 grep -v '^ *+' conftest.er1 >conftest.err
21702 cat conftest.err >&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } && {
21705 test -z "$ac_c_werror_flag" ||
21706 test ! -s conftest.err
21707 } && test -s conftest.$ac_objext; then
21710 cat >conftest.$ac_ext <<_ACEOF
21713 cat confdefs.h >>conftest.$ac_ext
21714 cat >>conftest.$ac_ext <<_ACEOF
21715 /* end confdefs.h. */
21716 $ac_includes_default
21717 typedef int ac__type_sizeof_;
21721 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21728 rm -f conftest.$ac_objext
21729 if { (ac_try="$ac_compile"
21730 case "(($ac_try" in
21731 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
21732 *) ac_try_echo
=$ac_try;;
21734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21735 (eval "$ac_compile") 2>conftest.er1
21737 grep -v '^ *+' conftest.er1
>conftest.err
21739 cat conftest.err
>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } && {
21742 test -z "$ac_c_werror_flag" ||
21743 test ! -s conftest.err
21744 } && test -s conftest.
$ac_objext; then
21745 ac_lo
=$ac_mid; break
21747 echo "$as_me: failed program was:" >&5
21748 sed 's/^/| /' conftest.
$ac_ext >&5
21750 ac_hi
=`expr '(' $ac_mid ')' - 1`
21751 if test $ac_mid -le $ac_hi; then
21755 ac_mid
=`expr 2 '*' $ac_mid`
21758 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.
$ac_ext >&5
21767 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21771 # Binary search between lo and hi bounds.
21772 while test "x$ac_lo" != "x$ac_hi"; do
21773 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21774 cat >conftest.
$ac_ext <<_ACEOF
21777 cat confdefs.h
>>conftest.
$ac_ext
21778 cat >>conftest.
$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21780 $ac_includes_default
21781 typedef int ac__type_sizeof_;
21785 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21792 rm -f conftest.
$ac_objext
21793 if { (ac_try
="$ac_compile"
21794 case "(($ac_try" in
21795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
21796 *) ac_try_echo=$ac_try;;
21798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21799 (eval "$ac_compile") 2>conftest.er1
21801 grep -v '^ *+' conftest.er1 >conftest.err
21803 cat conftest.err >&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); } && {
21806 test -z "$ac_c_werror_flag" ||
21807 test ! -s conftest.err
21808 } && test -s conftest.$ac_objext; then
21811 echo "$as_me: failed program was:" >&5
21812 sed 's/^/| /' conftest.$ac_ext >&5
21814 ac_lo=`expr '(' $ac_mid ')' + 1`
21817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21820 ?*) ac_cv_sizeof_int=$ac_lo;;
21821 '') if test "$ac_cv_type_int" = yes; then
21822 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
21823 See \`config.log
' for more details." >&5
21824 echo "$as_me: error: cannot compute sizeof (int)
21825 See \`config.log' for more details.
" >&2;}
21826 { (exit 77); exit 77; }; }
21832 cat >conftest.$ac_ext <<_ACEOF
21835 cat confdefs.h >>conftest.$ac_ext
21836 cat >>conftest.$ac_ext <<_ACEOF
21837 /* end confdefs.h. */
21838 $ac_includes_default
21839 typedef int ac__type_sizeof_;
21840 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21841 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21843 #include <stdlib.h>
21848 FILE *f = fopen ("conftest.val
", "w
");
21851 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21853 long int i = longval ();
21854 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21856 fprintf (f, "%ld
\n", i);
21860 unsigned long int i = ulongval ();
21861 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21863 fprintf (f, "%lu
\n", i);
21865 return ferror (f) || fclose (f) != 0;
21871 rm -f conftest$ac_exeext
21872 if { (ac_try="$ac_link"
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_link") 2>&5
21880 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21881 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21882 { (case "(($ac_try" in
21883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21884 *) ac_try_echo=$ac_try;;
21886 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
21887 (eval "$ac_try") 2>&5
21889 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
21890 (exit $ac_status); }; }; then
21891 ac_cv_sizeof_int=`cat conftest.val`
21893 echo "$as_me: program exited with status
$ac_status" >&5
21894 echo "$as_me: failed program was
:" >&5
21895 sed 's/^/| /' conftest.$ac_ext >&5
21897 ( exit $ac_status )
21898 if test "$ac_cv_type_int" = yes; then
21899 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(int
)
21900 See \
`config.log' for more details." >&5
21901 echo "$as_me: error: cannot compute sizeof (int)
21902 See \`config.log
' for more details." >&2;}
21903 { (exit 77); exit 77; }; }
21908 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21912 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
21913 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
21917 cat >>confdefs.h <<_ACEOF
21918 #define SIZEOF_INT $ac_cv_sizeof_int
21922 { echo "$as_me:$LINENO: checking for long" >&5
21923 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
21924 if test "${ac_cv_type_long+set}" = set; then
21925 echo $ECHO_N "(cached) $ECHO_C" >&6
21927 cat >conftest.$ac_ext <<_ACEOF
21930 cat confdefs.h >>conftest.$ac_ext
21931 cat >>conftest.$ac_ext <<_ACEOF
21932 /* end confdefs.h. */
21933 $ac_includes_default
21934 typedef long ac__type_new_;
21938 if ((ac__type_new_ *) 0)
21940 if (sizeof (ac__type_new_))
21946 rm -f conftest.$ac_objext
21947 if { (ac_try="$ac_compile"
21948 case "(($ac_try" in
21949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21950 *) ac_try_echo=$ac_try;;
21952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21953 (eval "$ac_compile") 2>conftest.er1
21955 grep -v '^
*+' conftest.er1 >conftest.err
21957 cat conftest.err >&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } && {
21960 test -z "$ac_c_werror_flag" ||
21961 test ! -s conftest.err
21962 } && test -s conftest.$ac_objext; then
21963 ac_cv_type_long=yes
21965 echo "$as_me: failed program was:" >&5
21966 sed 's
/^
/| /' conftest.$ac_ext >&5
21971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21973 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
21974 echo "${ECHO_T}$ac_cv_type_long" >&6; }
21976 # The cast to long int works around a bug in the HP C Compiler
21977 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21978 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21979 # This bug is HP SR number 8606223364.
21980 { echo "$as_me:$LINENO: checking size of long" >&5
21981 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
21982 if test "${ac_cv_sizeof_long+set}" = set; then
21983 echo $ECHO_N "(cached) $ECHO_C" >&6
21985 if test "$cross_compiling" = yes; then
21986 # Depending upon the size, compute the lo and hi bounds.
21987 cat >conftest.
$ac_ext <<_ACEOF
21990 cat confdefs.h
>>conftest.
$ac_ext
21991 cat >>conftest.
$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 $ac_includes_default
21994 typedef long ac__type_sizeof_;
21998 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22005 rm -f conftest.
$ac_objext
22006 if { (ac_try
="$ac_compile"
22007 case "(($ac_try" in
22008 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22009 *) ac_try_echo=$ac_try;;
22011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22012 (eval "$ac_compile") 2>conftest.er1
22014 grep -v '^ *+' conftest.er1 >conftest.err
22016 cat conftest.err >&5
22017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22018 (exit $ac_status); } && {
22019 test -z "$ac_c_werror_flag" ||
22020 test ! -s conftest.err
22021 } && test -s conftest.$ac_objext; then
22024 cat >conftest.$ac_ext <<_ACEOF
22027 cat confdefs.h >>conftest.$ac_ext
22028 cat >>conftest.$ac_ext <<_ACEOF
22029 /* end confdefs.h. */
22030 $ac_includes_default
22031 typedef long ac__type_sizeof_;
22035 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22042 rm -f conftest.$ac_objext
22043 if { (ac_try="$ac_compile"
22044 case "(($ac_try" in
22045 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22046 *) ac_try_echo
=$ac_try;;
22048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22049 (eval "$ac_compile") 2>conftest.er1
22051 grep -v '^ *+' conftest.er1
>conftest.err
22053 cat conftest.err
>&5
22054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22055 (exit $ac_status); } && {
22056 test -z "$ac_c_werror_flag" ||
22057 test ! -s conftest.err
22058 } && test -s conftest.
$ac_objext; then
22059 ac_hi
=$ac_mid; break
22061 echo "$as_me: failed program was:" >&5
22062 sed 's/^/| /' conftest.
$ac_ext >&5
22064 ac_lo
=`expr $ac_mid + 1`
22065 if test $ac_lo -le $ac_mid; then
22069 ac_mid
=`expr 2 '*' $ac_mid + 1`
22072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22075 echo "$as_me: failed program was:" >&5
22076 sed 's/^/| /' conftest.
$ac_ext >&5
22078 cat >conftest.
$ac_ext <<_ACEOF
22081 cat confdefs.h
>>conftest.
$ac_ext
22082 cat >>conftest.
$ac_ext <<_ACEOF
22083 /* end confdefs.h. */
22084 $ac_includes_default
22085 typedef long ac__type_sizeof_;
22089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22096 rm -f conftest.
$ac_objext
22097 if { (ac_try
="$ac_compile"
22098 case "(($ac_try" in
22099 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22100 *) ac_try_echo=$ac_try;;
22102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22103 (eval "$ac_compile") 2>conftest.er1
22105 grep -v '^ *+' conftest.er1 >conftest.err
22107 cat conftest.err >&5
22108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22109 (exit $ac_status); } && {
22110 test -z "$ac_c_werror_flag" ||
22111 test ! -s conftest.err
22112 } && test -s conftest.$ac_objext; then
22115 cat >conftest.$ac_ext <<_ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22121 $ac_includes_default
22122 typedef long ac__type_sizeof_;
22126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22133 rm -f conftest.$ac_objext
22134 if { (ac_try="$ac_compile"
22135 case "(($ac_try" in
22136 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22137 *) ac_try_echo
=$ac_try;;
22139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22140 (eval "$ac_compile") 2>conftest.er1
22142 grep -v '^ *+' conftest.er1
>conftest.err
22144 cat conftest.err
>&5
22145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146 (exit $ac_status); } && {
22147 test -z "$ac_c_werror_flag" ||
22148 test ! -s conftest.err
22149 } && test -s conftest.
$ac_objext; then
22150 ac_lo
=$ac_mid; break
22152 echo "$as_me: failed program was:" >&5
22153 sed 's/^/| /' conftest.
$ac_ext >&5
22155 ac_hi
=`expr '(' $ac_mid ')' - 1`
22156 if test $ac_mid -le $ac_hi; then
22160 ac_mid
=`expr 2 '*' $ac_mid`
22163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.
$ac_ext >&5
22172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22176 # Binary search between lo and hi bounds.
22177 while test "x$ac_lo" != "x$ac_hi"; do
22178 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22179 cat >conftest.
$ac_ext <<_ACEOF
22182 cat confdefs.h
>>conftest.
$ac_ext
22183 cat >>conftest.
$ac_ext <<_ACEOF
22184 /* end confdefs.h. */
22185 $ac_includes_default
22186 typedef long ac__type_sizeof_;
22190 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22197 rm -f conftest.
$ac_objext
22198 if { (ac_try
="$ac_compile"
22199 case "(($ac_try" in
22200 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22201 *) ac_try_echo=$ac_try;;
22203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22204 (eval "$ac_compile") 2>conftest.er1
22206 grep -v '^ *+' conftest.er1 >conftest.err
22208 cat conftest.err >&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); } && {
22211 test -z "$ac_c_werror_flag" ||
22212 test ! -s conftest.err
22213 } && test -s conftest.$ac_objext; then
22216 echo "$as_me: failed program was:" >&5
22217 sed 's/^/| /' conftest.$ac_ext >&5
22219 ac_lo=`expr '(' $ac_mid ')' + 1`
22222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22225 ?*) ac_cv_sizeof_long=$ac_lo;;
22226 '') if test "$ac_cv_type_long" = yes; then
22227 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
22228 See \`config.log
' for more details." >&5
22229 echo "$as_me: error: cannot compute sizeof (long)
22230 See \`config.log' for more details.
" >&2;}
22231 { (exit 77); exit 77; }; }
22233 ac_cv_sizeof_long=0
22237 cat >conftest.$ac_ext <<_ACEOF
22240 cat confdefs.h >>conftest.$ac_ext
22241 cat >>conftest.$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22243 $ac_includes_default
22244 typedef long ac__type_sizeof_;
22245 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22246 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22248 #include <stdlib.h>
22253 FILE *f = fopen ("conftest.val
", "w
");
22256 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22258 long int i = longval ();
22259 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22261 fprintf (f, "%ld
\n", i);
22265 unsigned long int i = ulongval ();
22266 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22268 fprintf (f, "%lu
\n", i);
22270 return ferror (f) || fclose (f) != 0;
22276 rm -f conftest$ac_exeext
22277 if { (ac_try="$ac_link"
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_link") 2>&5
22285 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22287 { (case "(($ac_try" in
22288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22289 *) ac_try_echo=$ac_try;;
22291 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22292 (eval "$ac_try") 2>&5
22294 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22295 (exit $ac_status); }; }; then
22296 ac_cv_sizeof_long=`cat conftest.val`
22298 echo "$as_me: program exited with status
$ac_status" >&5
22299 echo "$as_me: failed program was
:" >&5
22300 sed 's/^/| /' conftest.$ac_ext >&5
22302 ( exit $ac_status )
22303 if test "$ac_cv_type_long" = yes; then
22304 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long
)
22305 See \
`config.log' for more details." >&5
22306 echo "$as_me: error: cannot compute sizeof (long)
22307 See \`config.log
' for more details." >&2;}
22308 { (exit 77); exit 77; }; }
22310 ac_cv_sizeof_long=0
22313 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22317 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
22318 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
22322 cat >>confdefs.h <<_ACEOF
22323 #define SIZEOF_LONG $ac_cv_sizeof_long
22327 { echo "$as_me:$LINENO: checking for size_t" >&5
22328 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
22329 if test "${ac_cv_type_size_t+set}" = set; then
22330 echo $ECHO_N "(cached) $ECHO_C" >&6
22332 cat >conftest.$ac_ext <<_ACEOF
22335 cat confdefs.h >>conftest.$ac_ext
22336 cat >>conftest.$ac_ext <<_ACEOF
22337 /* end confdefs.h. */
22338 $ac_includes_default
22339 typedef size_t ac__type_new_;
22343 if ((ac__type_new_ *) 0)
22345 if (sizeof (ac__type_new_))
22351 rm -f conftest.$ac_objext
22352 if { (ac_try="$ac_compile"
22353 case "(($ac_try" in
22354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22355 *) ac_try_echo=$ac_try;;
22357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22358 (eval "$ac_compile") 2>conftest.er1
22360 grep -v '^
*+' conftest.er1 >conftest.err
22362 cat conftest.err >&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); } && {
22365 test -z "$ac_c_werror_flag" ||
22366 test ! -s conftest.err
22367 } && test -s conftest.$ac_objext; then
22368 ac_cv_type_size_t=yes
22370 echo "$as_me: failed program was:" >&5
22371 sed 's
/^
/| /' conftest.$ac_ext >&5
22373 ac_cv_type_size_t=no
22376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22378 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
22379 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
22381 # The cast to long int works around a bug in the HP C Compiler
22382 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22383 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22384 # This bug is HP SR number 8606223364.
22385 { echo "$as_me:$LINENO: checking size of size_t" >&5
22386 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
22387 if test "${ac_cv_sizeof_size_t+set}" = set; then
22388 echo $ECHO_N "(cached) $ECHO_C" >&6
22390 if test "$cross_compiling" = yes; then
22391 # Depending upon the size, compute the lo and hi bounds.
22392 cat >conftest.
$ac_ext <<_ACEOF
22395 cat confdefs.h
>>conftest.
$ac_ext
22396 cat >>conftest.
$ac_ext <<_ACEOF
22397 /* end confdefs.h. */
22398 $ac_includes_default
22399 typedef size_t ac__type_sizeof_;
22403 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22410 rm -f conftest.
$ac_objext
22411 if { (ac_try
="$ac_compile"
22412 case "(($ac_try" in
22413 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22414 *) ac_try_echo=$ac_try;;
22416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22417 (eval "$ac_compile") 2>conftest.er1
22419 grep -v '^ *+' conftest.er1 >conftest.err
22421 cat conftest.err >&5
22422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22423 (exit $ac_status); } && {
22424 test -z "$ac_c_werror_flag" ||
22425 test ! -s conftest.err
22426 } && test -s conftest.$ac_objext; then
22429 cat >conftest.$ac_ext <<_ACEOF
22432 cat confdefs.h >>conftest.$ac_ext
22433 cat >>conftest.$ac_ext <<_ACEOF
22434 /* end confdefs.h. */
22435 $ac_includes_default
22436 typedef size_t ac__type_sizeof_;
22440 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22447 rm -f conftest.$ac_objext
22448 if { (ac_try="$ac_compile"
22449 case "(($ac_try" in
22450 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22451 *) ac_try_echo
=$ac_try;;
22453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22454 (eval "$ac_compile") 2>conftest.er1
22456 grep -v '^ *+' conftest.er1
>conftest.err
22458 cat conftest.err
>&5
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); } && {
22461 test -z "$ac_c_werror_flag" ||
22462 test ! -s conftest.err
22463 } && test -s conftest.
$ac_objext; then
22464 ac_hi
=$ac_mid; break
22466 echo "$as_me: failed program was:" >&5
22467 sed 's/^/| /' conftest.
$ac_ext >&5
22469 ac_lo
=`expr $ac_mid + 1`
22470 if test $ac_lo -le $ac_mid; then
22474 ac_mid
=`expr 2 '*' $ac_mid + 1`
22477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22480 echo "$as_me: failed program was:" >&5
22481 sed 's/^/| /' conftest.
$ac_ext >&5
22483 cat >conftest.
$ac_ext <<_ACEOF
22486 cat confdefs.h
>>conftest.
$ac_ext
22487 cat >>conftest.
$ac_ext <<_ACEOF
22488 /* end confdefs.h. */
22489 $ac_includes_default
22490 typedef size_t ac__type_sizeof_;
22494 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22501 rm -f conftest.
$ac_objext
22502 if { (ac_try
="$ac_compile"
22503 case "(($ac_try" in
22504 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22505 *) ac_try_echo=$ac_try;;
22507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22508 (eval "$ac_compile") 2>conftest.er1
22510 grep -v '^ *+' conftest.er1 >conftest.err
22512 cat conftest.err >&5
22513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22514 (exit $ac_status); } && {
22515 test -z "$ac_c_werror_flag" ||
22516 test ! -s conftest.err
22517 } && test -s conftest.$ac_objext; then
22520 cat >conftest.$ac_ext <<_ACEOF
22523 cat confdefs.h >>conftest.$ac_ext
22524 cat >>conftest.$ac_ext <<_ACEOF
22525 /* end confdefs.h. */
22526 $ac_includes_default
22527 typedef size_t ac__type_sizeof_;
22531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22538 rm -f conftest.$ac_objext
22539 if { (ac_try="$ac_compile"
22540 case "(($ac_try" in
22541 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22542 *) ac_try_echo
=$ac_try;;
22544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22545 (eval "$ac_compile") 2>conftest.er1
22547 grep -v '^ *+' conftest.er1
>conftest.err
22549 cat conftest.err
>&5
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); } && {
22552 test -z "$ac_c_werror_flag" ||
22553 test ! -s conftest.err
22554 } && test -s conftest.
$ac_objext; then
22555 ac_lo
=$ac_mid; break
22557 echo "$as_me: failed program was:" >&5
22558 sed 's/^/| /' conftest.
$ac_ext >&5
22560 ac_hi
=`expr '(' $ac_mid ')' - 1`
22561 if test $ac_mid -le $ac_hi; then
22565 ac_mid
=`expr 2 '*' $ac_mid`
22568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22571 echo "$as_me: failed program was:" >&5
22572 sed 's/^/| /' conftest.
$ac_ext >&5
22577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22581 # Binary search between lo and hi bounds.
22582 while test "x$ac_lo" != "x$ac_hi"; do
22583 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22584 cat >conftest.
$ac_ext <<_ACEOF
22587 cat confdefs.h
>>conftest.
$ac_ext
22588 cat >>conftest.
$ac_ext <<_ACEOF
22589 /* end confdefs.h. */
22590 $ac_includes_default
22591 typedef size_t ac__type_sizeof_;
22595 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22602 rm -f conftest.
$ac_objext
22603 if { (ac_try
="$ac_compile"
22604 case "(($ac_try" in
22605 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22606 *) ac_try_echo=$ac_try;;
22608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22609 (eval "$ac_compile") 2>conftest.er1
22611 grep -v '^ *+' conftest.er1 >conftest.err
22613 cat conftest.err >&5
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); } && {
22616 test -z "$ac_c_werror_flag" ||
22617 test ! -s conftest.err
22618 } && test -s conftest.$ac_objext; then
22621 echo "$as_me: failed program was:" >&5
22622 sed 's/^/| /' conftest.$ac_ext >&5
22624 ac_lo=`expr '(' $ac_mid ')' + 1`
22627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22630 ?*) ac_cv_sizeof_size_t=$ac_lo;;
22631 '') if test "$ac_cv_type_size_t" = yes; then
22632 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
22633 See \`config.log
' for more details." >&5
22634 echo "$as_me: error: cannot compute sizeof (size_t)
22635 See \`config.log' for more details.
" >&2;}
22636 { (exit 77); exit 77; }; }
22638 ac_cv_sizeof_size_t=0
22642 cat >conftest.$ac_ext <<_ACEOF
22645 cat confdefs.h >>conftest.$ac_ext
22646 cat >>conftest.$ac_ext <<_ACEOF
22647 /* end confdefs.h. */
22648 $ac_includes_default
22649 typedef size_t ac__type_sizeof_;
22650 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22651 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22653 #include <stdlib.h>
22658 FILE *f = fopen ("conftest.val
", "w
");
22661 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22663 long int i = longval ();
22664 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22666 fprintf (f, "%ld
\n", i);
22670 unsigned long int i = ulongval ();
22671 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22673 fprintf (f, "%lu
\n", i);
22675 return ferror (f) || fclose (f) != 0;
22681 rm -f conftest$ac_exeext
22682 if { (ac_try="$ac_link"
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_link") 2>&5
22690 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22691 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22692 { (case "(($ac_try" in
22693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22694 *) ac_try_echo=$ac_try;;
22696 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
22697 (eval "$ac_try") 2>&5
22699 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
22700 (exit $ac_status); }; }; then
22701 ac_cv_sizeof_size_t=`cat conftest.val`
22703 echo "$as_me: program exited with status
$ac_status" >&5
22704 echo "$as_me: failed program was
:" >&5
22705 sed 's/^/| /' conftest.$ac_ext >&5
22707 ( exit $ac_status )
22708 if test "$ac_cv_type_size_t" = yes; then
22709 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(size_t
)
22710 See \
`config.log' for more details." >&5
22711 echo "$as_me: error: cannot compute sizeof (size_t)
22712 See \`config.log
' for more details." >&2;}
22713 { (exit 77); exit 77; }; }
22715 ac_cv_sizeof_size_t=0
22718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22722 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
22723 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
22727 cat >>confdefs.h <<_ACEOF
22728 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
22735 { echo "$as_me:$LINENO: checking for long long" >&5
22736 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22737 if test "${ac_cv_type_long_long+set}" = set; then
22738 echo $ECHO_N "(cached) $ECHO_C" >&6
22740 cat >conftest.$ac_ext <<_ACEOF
22743 cat confdefs.h >>conftest.$ac_ext
22744 cat >>conftest.$ac_ext <<_ACEOF
22745 /* end confdefs.h. */
22746 $ac_includes_default
22747 typedef long long ac__type_new_;
22751 if ((ac__type_new_ *) 0)
22753 if (sizeof (ac__type_new_))
22759 rm -f conftest.$ac_objext
22760 if { (ac_try="$ac_compile"
22761 case "(($ac_try" in
22762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22763 *) ac_try_echo=$ac_try;;
22765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22766 (eval "$ac_compile") 2>conftest.er1
22768 grep -v '^
*+' conftest.er1 >conftest.err
22770 cat conftest.err >&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); } && {
22773 test -z "$ac_c_werror_flag" ||
22774 test ! -s conftest.err
22775 } && test -s conftest.$ac_objext; then
22776 ac_cv_type_long_long=yes
22778 echo "$as_me: failed program was:" >&5
22779 sed 's
/^
/| /' conftest.$ac_ext >&5
22781 ac_cv_type_long_long=no
22784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22786 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22787 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22789 # The cast to long int works around a bug in the HP C Compiler
22790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22792 # This bug is HP SR number 8606223364.
22793 { echo "$as_me:$LINENO: checking size of long long" >&5
22794 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22795 if test "${ac_cv_sizeof_long_long+set}" = set; then
22796 echo $ECHO_N "(cached) $ECHO_C" >&6
22798 if test "$cross_compiling" = yes; then
22799 # Depending upon the size, compute the lo and hi bounds.
22800 cat >conftest.
$ac_ext <<_ACEOF
22803 cat confdefs.h
>>conftest.
$ac_ext
22804 cat >>conftest.
$ac_ext <<_ACEOF
22805 /* end confdefs.h. */
22806 $ac_includes_default
22807 typedef long long ac__type_sizeof_;
22811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22818 rm -f conftest.
$ac_objext
22819 if { (ac_try
="$ac_compile"
22820 case "(($ac_try" in
22821 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22822 *) ac_try_echo=$ac_try;;
22824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22825 (eval "$ac_compile") 2>conftest.er1
22827 grep -v '^ *+' conftest.er1 >conftest.err
22829 cat conftest.err >&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); } && {
22832 test -z "$ac_c_werror_flag" ||
22833 test ! -s conftest.err
22834 } && test -s conftest.$ac_objext; then
22837 cat >conftest.$ac_ext <<_ACEOF
22840 cat confdefs.h >>conftest.$ac_ext
22841 cat >>conftest.$ac_ext <<_ACEOF
22842 /* end confdefs.h. */
22843 $ac_includes_default
22844 typedef long long ac__type_sizeof_;
22848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22855 rm -f conftest.$ac_objext
22856 if { (ac_try="$ac_compile"
22857 case "(($ac_try" in
22858 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22859 *) ac_try_echo
=$ac_try;;
22861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22862 (eval "$ac_compile") 2>conftest.er1
22864 grep -v '^ *+' conftest.er1
>conftest.err
22866 cat conftest.err
>&5
22867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22868 (exit $ac_status); } && {
22869 test -z "$ac_c_werror_flag" ||
22870 test ! -s conftest.err
22871 } && test -s conftest.
$ac_objext; then
22872 ac_hi
=$ac_mid; break
22874 echo "$as_me: failed program was:" >&5
22875 sed 's/^/| /' conftest.
$ac_ext >&5
22877 ac_lo
=`expr $ac_mid + 1`
22878 if test $ac_lo -le $ac_mid; then
22882 ac_mid
=`expr 2 '*' $ac_mid + 1`
22885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22888 echo "$as_me: failed program was:" >&5
22889 sed 's/^/| /' conftest.
$ac_ext >&5
22891 cat >conftest.
$ac_ext <<_ACEOF
22894 cat confdefs.h
>>conftest.
$ac_ext
22895 cat >>conftest.
$ac_ext <<_ACEOF
22896 /* end confdefs.h. */
22897 $ac_includes_default
22898 typedef long long ac__type_sizeof_;
22902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22909 rm -f conftest.
$ac_objext
22910 if { (ac_try
="$ac_compile"
22911 case "(($ac_try" in
22912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
22913 *) ac_try_echo=$ac_try;;
22915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22916 (eval "$ac_compile") 2>conftest.er1
22918 grep -v '^ *+' conftest.er1 >conftest.err
22920 cat conftest.err >&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); } && {
22923 test -z "$ac_c_werror_flag" ||
22924 test ! -s conftest.err
22925 } && test -s conftest.$ac_objext; then
22928 cat >conftest.$ac_ext <<_ACEOF
22931 cat confdefs.h >>conftest.$ac_ext
22932 cat >>conftest.$ac_ext <<_ACEOF
22933 /* end confdefs.h. */
22934 $ac_includes_default
22935 typedef long long ac__type_sizeof_;
22939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22946 rm -f conftest.$ac_objext
22947 if { (ac_try="$ac_compile"
22948 case "(($ac_try" in
22949 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
22950 *) ac_try_echo
=$ac_try;;
22952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22953 (eval "$ac_compile") 2>conftest.er1
22955 grep -v '^ *+' conftest.er1
>conftest.err
22957 cat conftest.err
>&5
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); } && {
22960 test -z "$ac_c_werror_flag" ||
22961 test ! -s conftest.err
22962 } && test -s conftest.
$ac_objext; then
22963 ac_lo
=$ac_mid; break
22965 echo "$as_me: failed program was:" >&5
22966 sed 's/^/| /' conftest.
$ac_ext >&5
22968 ac_hi
=`expr '(' $ac_mid ')' - 1`
22969 if test $ac_mid -le $ac_hi; then
22973 ac_mid
=`expr 2 '*' $ac_mid`
22976 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22979 echo "$as_me: failed program was:" >&5
22980 sed 's/^/| /' conftest.
$ac_ext >&5
22985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22989 # Binary search between lo and hi bounds.
22990 while test "x$ac_lo" != "x$ac_hi"; do
22991 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22992 cat >conftest.
$ac_ext <<_ACEOF
22995 cat confdefs.h
>>conftest.
$ac_ext
22996 cat >>conftest.
$ac_ext <<_ACEOF
22997 /* end confdefs.h. */
22998 $ac_includes_default
22999 typedef long long ac__type_sizeof_;
23003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23010 rm -f conftest.
$ac_objext
23011 if { (ac_try
="$ac_compile"
23012 case "(($ac_try" in
23013 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23014 *) ac_try_echo=$ac_try;;
23016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23017 (eval "$ac_compile") 2>conftest.er1
23019 grep -v '^ *+' conftest.er1 >conftest.err
23021 cat conftest.err >&5
23022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23023 (exit $ac_status); } && {
23024 test -z "$ac_c_werror_flag" ||
23025 test ! -s conftest.err
23026 } && test -s conftest.$ac_objext; then
23029 echo "$as_me: failed program was:" >&5
23030 sed 's/^/| /' conftest.$ac_ext >&5
23032 ac_lo=`expr '(' $ac_mid ')' + 1`
23035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23038 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23039 '') if test "$ac_cv_type_long_long" = yes; then
23040 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23041 See \`config.log
' for more details." >&5
23042 echo "$as_me: error: cannot compute sizeof (long long)
23043 See \`config.log' for more details.
" >&2;}
23044 { (exit 77); exit 77; }; }
23046 ac_cv_sizeof_long_long=0
23050 cat >conftest.$ac_ext <<_ACEOF
23053 cat confdefs.h >>conftest.$ac_ext
23054 cat >>conftest.$ac_ext <<_ACEOF
23055 /* end confdefs.h. */
23056 $ac_includes_default
23057 typedef long long ac__type_sizeof_;
23058 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23059 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23061 #include <stdlib.h>
23066 FILE *f = fopen ("conftest.val
", "w
");
23069 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23071 long int i = longval ();
23072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23074 fprintf (f, "%ld
\n", i);
23078 unsigned long int i = ulongval ();
23079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23081 fprintf (f, "%lu
\n", i);
23083 return ferror (f) || fclose (f) != 0;
23089 rm -f conftest$ac_exeext
23090 if { (ac_try="$ac_link"
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_link") 2>&5
23098 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23100 { (case "(($ac_try" in
23101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23102 *) ac_try_echo=$ac_try;;
23104 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23105 (eval "$ac_try") 2>&5
23107 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23108 (exit $ac_status); }; }; then
23109 ac_cv_sizeof_long_long=`cat conftest.val`
23111 echo "$as_me: program exited with status
$ac_status" >&5
23112 echo "$as_me: failed program was
:" >&5
23113 sed 's/^/| /' conftest.$ac_ext >&5
23115 ( exit $ac_status )
23116 if test "$ac_cv_type_long_long" = yes; then
23117 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23118 See \
`config.log' for more details." >&5
23119 echo "$as_me: error: cannot compute sizeof (long long)
23120 See \`config.log
' for more details." >&2;}
23121 { (exit 77); exit 77; }; }
23123 ac_cv_sizeof_long_long=0
23126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23130 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23131 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23135 cat >>confdefs.h <<_ACEOF
23136 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23142 { echo "$as_me:$LINENO: checking for long long" >&5
23143 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23144 if test "${ac_cv_type_long_long+set}" = set; then
23145 echo $ECHO_N "(cached) $ECHO_C" >&6
23147 cat >conftest.$ac_ext <<_ACEOF
23150 cat confdefs.h >>conftest.$ac_ext
23151 cat >>conftest.$ac_ext <<_ACEOF
23152 /* end confdefs.h. */
23153 $ac_includes_default
23154 typedef long long ac__type_new_;
23158 if ((ac__type_new_ *) 0)
23160 if (sizeof (ac__type_new_))
23166 rm -f conftest.$ac_objext
23167 if { (ac_try="$ac_compile"
23168 case "(($ac_try" in
23169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23170 *) ac_try_echo=$ac_try;;
23172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23173 (eval "$ac_compile") 2>conftest.er1
23175 grep -v '^
*+' conftest.er1 >conftest.err
23177 cat conftest.err >&5
23178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179 (exit $ac_status); } && {
23180 test -z "$ac_c_werror_flag" ||
23181 test ! -s conftest.err
23182 } && test -s conftest.$ac_objext; then
23183 ac_cv_type_long_long=yes
23185 echo "$as_me: failed program was:" >&5
23186 sed 's
/^
/| /' conftest.$ac_ext >&5
23188 ac_cv_type_long_long=no
23191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23193 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23194 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23196 # The cast to long int works around a bug in the HP C Compiler
23197 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23198 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23199 # This bug is HP SR number 8606223364.
23200 { echo "$as_me:$LINENO: checking size of long long" >&5
23201 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23202 if test "${ac_cv_sizeof_long_long+set}" = set; then
23203 echo $ECHO_N "(cached) $ECHO_C" >&6
23205 if test "$cross_compiling" = yes; then
23206 # Depending upon the size, compute the lo and hi bounds.
23207 cat >conftest.
$ac_ext <<_ACEOF
23210 cat confdefs.h
>>conftest.
$ac_ext
23211 cat >>conftest.
$ac_ext <<_ACEOF
23212 /* end confdefs.h. */
23213 $ac_includes_default
23214 typedef long long ac__type_sizeof_;
23218 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23225 rm -f conftest.
$ac_objext
23226 if { (ac_try
="$ac_compile"
23227 case "(($ac_try" in
23228 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23229 *) ac_try_echo=$ac_try;;
23231 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23232 (eval "$ac_compile") 2>conftest.er1
23234 grep -v '^ *+' conftest.er1 >conftest.err
23236 cat conftest.err >&5
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); } && {
23239 test -z "$ac_c_werror_flag" ||
23240 test ! -s conftest.err
23241 } && test -s conftest.$ac_objext; then
23244 cat >conftest.$ac_ext <<_ACEOF
23247 cat confdefs.h >>conftest.$ac_ext
23248 cat >>conftest.$ac_ext <<_ACEOF
23249 /* end confdefs.h. */
23250 $ac_includes_default
23251 typedef long long ac__type_sizeof_;
23255 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23262 rm -f conftest.$ac_objext
23263 if { (ac_try="$ac_compile"
23264 case "(($ac_try" in
23265 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23266 *) ac_try_echo
=$ac_try;;
23268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23269 (eval "$ac_compile") 2>conftest.er1
23271 grep -v '^ *+' conftest.er1
>conftest.err
23273 cat conftest.err
>&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); } && {
23276 test -z "$ac_c_werror_flag" ||
23277 test ! -s conftest.err
23278 } && test -s conftest.
$ac_objext; then
23279 ac_hi
=$ac_mid; break
23281 echo "$as_me: failed program was:" >&5
23282 sed 's/^/| /' conftest.
$ac_ext >&5
23284 ac_lo
=`expr $ac_mid + 1`
23285 if test $ac_lo -le $ac_mid; then
23289 ac_mid
=`expr 2 '*' $ac_mid + 1`
23292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23295 echo "$as_me: failed program was:" >&5
23296 sed 's/^/| /' conftest.
$ac_ext >&5
23298 cat >conftest.
$ac_ext <<_ACEOF
23301 cat confdefs.h
>>conftest.
$ac_ext
23302 cat >>conftest.
$ac_ext <<_ACEOF
23303 /* end confdefs.h. */
23304 $ac_includes_default
23305 typedef long long ac__type_sizeof_;
23309 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23316 rm -f conftest.
$ac_objext
23317 if { (ac_try
="$ac_compile"
23318 case "(($ac_try" in
23319 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23320 *) ac_try_echo=$ac_try;;
23322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23323 (eval "$ac_compile") 2>conftest.er1
23325 grep -v '^ *+' conftest.er1 >conftest.err
23327 cat conftest.err >&5
23328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23329 (exit $ac_status); } && {
23330 test -z "$ac_c_werror_flag" ||
23331 test ! -s conftest.err
23332 } && test -s conftest.$ac_objext; then
23335 cat >conftest.$ac_ext <<_ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 $ac_includes_default
23342 typedef long long ac__type_sizeof_;
23346 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23353 rm -f conftest.$ac_objext
23354 if { (ac_try="$ac_compile"
23355 case "(($ac_try" in
23356 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23357 *) ac_try_echo
=$ac_try;;
23359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23360 (eval "$ac_compile") 2>conftest.er1
23362 grep -v '^ *+' conftest.er1
>conftest.err
23364 cat conftest.err
>&5
23365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366 (exit $ac_status); } && {
23367 test -z "$ac_c_werror_flag" ||
23368 test ! -s conftest.err
23369 } && test -s conftest.
$ac_objext; then
23370 ac_lo
=$ac_mid; break
23372 echo "$as_me: failed program was:" >&5
23373 sed 's/^/| /' conftest.
$ac_ext >&5
23375 ac_hi
=`expr '(' $ac_mid ')' - 1`
23376 if test $ac_mid -le $ac_hi; then
23380 ac_mid
=`expr 2 '*' $ac_mid`
23383 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23386 echo "$as_me: failed program was:" >&5
23387 sed 's/^/| /' conftest.
$ac_ext >&5
23392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23396 # Binary search between lo and hi bounds.
23397 while test "x$ac_lo" != "x$ac_hi"; do
23398 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23399 cat >conftest.
$ac_ext <<_ACEOF
23402 cat confdefs.h
>>conftest.
$ac_ext
23403 cat >>conftest.
$ac_ext <<_ACEOF
23404 /* end confdefs.h. */
23405 $ac_includes_default
23406 typedef long long ac__type_sizeof_;
23410 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23417 rm -f conftest.
$ac_objext
23418 if { (ac_try
="$ac_compile"
23419 case "(($ac_try" in
23420 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23421 *) ac_try_echo=$ac_try;;
23423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23424 (eval "$ac_compile") 2>conftest.er1
23426 grep -v '^ *+' conftest.er1 >conftest.err
23428 cat conftest.err >&5
23429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23430 (exit $ac_status); } && {
23431 test -z "$ac_c_werror_flag" ||
23432 test ! -s conftest.err
23433 } && test -s conftest.$ac_objext; then
23436 echo "$as_me: failed program was:" >&5
23437 sed 's/^/| /' conftest.$ac_ext >&5
23439 ac_lo=`expr '(' $ac_mid ')' + 1`
23442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23445 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23446 '') if test "$ac_cv_type_long_long" = yes; then
23447 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23448 See \`config.log
' for more details." >&5
23449 echo "$as_me: error: cannot compute sizeof (long long)
23450 See \`config.log' for more details.
" >&2;}
23451 { (exit 77); exit 77; }; }
23453 ac_cv_sizeof_long_long=0
23457 cat >conftest.$ac_ext <<_ACEOF
23460 cat confdefs.h >>conftest.$ac_ext
23461 cat >>conftest.$ac_ext <<_ACEOF
23462 /* end confdefs.h. */
23463 $ac_includes_default
23464 typedef long long ac__type_sizeof_;
23465 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23466 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23468 #include <stdlib.h>
23473 FILE *f = fopen ("conftest.val
", "w
");
23476 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23478 long int i = longval ();
23479 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23481 fprintf (f, "%ld
\n", i);
23485 unsigned long int i = ulongval ();
23486 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23488 fprintf (f, "%lu
\n", i);
23490 return ferror (f) || fclose (f) != 0;
23496 rm -f conftest$ac_exeext
23497 if { (ac_try="$ac_link"
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_link") 2>&5
23505 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23506 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23507 { (case "(($ac_try" in
23508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23509 *) ac_try_echo=$ac_try;;
23511 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23512 (eval "$ac_try") 2>&5
23514 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23515 (exit $ac_status); }; }; then
23516 ac_cv_sizeof_long_long=`cat conftest.val`
23518 echo "$as_me: program exited with status
$ac_status" >&5
23519 echo "$as_me: failed program was
:" >&5
23520 sed 's/^/| /' conftest.$ac_ext >&5
23522 ( exit $ac_status )
23523 if test "$ac_cv_type_long_long" = yes; then
23524 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23525 See \
`config.log' for more details." >&5
23526 echo "$as_me: error: cannot compute sizeof (long long)
23527 See \`config.log
' for more details." >&2;}
23528 { (exit 77); exit 77; }; }
23530 ac_cv_sizeof_long_long=0
23533 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23537 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23538 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23542 cat >>confdefs.h <<_ACEOF
23543 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23547 if test "$ac_cv_sizeof_long_long" != 0; then
23548 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
23552 { echo "$as_me:$LINENO: checking for long long" >&5
23553 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
23554 if test "${ac_cv_type_long_long+set}" = set; then
23555 echo $ECHO_N "(cached) $ECHO_C" >&6
23557 cat >conftest.$ac_ext <<_ACEOF
23560 cat confdefs.h >>conftest.$ac_ext
23561 cat >>conftest.$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23563 $ac_includes_default
23564 typedef long long ac__type_new_;
23568 if ((ac__type_new_ *) 0)
23570 if (sizeof (ac__type_new_))
23576 rm -f conftest.$ac_objext
23577 if { (ac_try="$ac_compile"
23578 case "(($ac_try" in
23579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23580 *) ac_try_echo=$ac_try;;
23582 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23583 (eval "$ac_compile") 2>conftest.er1
23585 grep -v '^
*+' conftest.er1 >conftest.err
23587 cat conftest.err >&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); } && {
23590 test -z "$ac_c_werror_flag" ||
23591 test ! -s conftest.err
23592 } && test -s conftest.$ac_objext; then
23593 ac_cv_type_long_long=yes
23595 echo "$as_me: failed program was:" >&5
23596 sed 's
/^
/| /' conftest.$ac_ext >&5
23598 ac_cv_type_long_long=no
23601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23603 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
23604 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
23606 # The cast to long int works around a bug in the HP C Compiler
23607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
23608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
23609 # This bug is HP SR number 8606223364.
23610 { echo "$as_me:$LINENO: checking size of long long" >&5
23611 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
23612 if test "${ac_cv_sizeof_long_long+set}" = set; then
23613 echo $ECHO_N "(cached) $ECHO_C" >&6
23615 if test "$cross_compiling" = yes; then
23616 # Depending upon the size, compute the lo and hi bounds.
23617 cat >conftest.
$ac_ext <<_ACEOF
23620 cat confdefs.h
>>conftest.
$ac_ext
23621 cat >>conftest.
$ac_ext <<_ACEOF
23622 /* end confdefs.h. */
23623 $ac_includes_default
23624 typedef long long ac__type_sizeof_;
23628 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
23635 rm -f conftest.
$ac_objext
23636 if { (ac_try
="$ac_compile"
23637 case "(($ac_try" in
23638 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23639 *) ac_try_echo=$ac_try;;
23641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23642 (eval "$ac_compile") 2>conftest.er1
23644 grep -v '^ *+' conftest.er1 >conftest.err
23646 cat conftest.err >&5
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); } && {
23649 test -z "$ac_c_werror_flag" ||
23650 test ! -s conftest.err
23651 } && test -s conftest.$ac_objext; then
23654 cat >conftest.$ac_ext <<_ACEOF
23657 cat confdefs.h >>conftest.$ac_ext
23658 cat >>conftest.$ac_ext <<_ACEOF
23659 /* end confdefs.h. */
23660 $ac_includes_default
23661 typedef long long ac__type_sizeof_;
23665 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23672 rm -f conftest.$ac_objext
23673 if { (ac_try="$ac_compile"
23674 case "(($ac_try" in
23675 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23676 *) ac_try_echo
=$ac_try;;
23678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23679 (eval "$ac_compile") 2>conftest.er1
23681 grep -v '^ *+' conftest.er1
>conftest.err
23683 cat conftest.err
>&5
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); } && {
23686 test -z "$ac_c_werror_flag" ||
23687 test ! -s conftest.err
23688 } && test -s conftest.
$ac_objext; then
23689 ac_hi
=$ac_mid; break
23691 echo "$as_me: failed program was:" >&5
23692 sed 's/^/| /' conftest.
$ac_ext >&5
23694 ac_lo
=`expr $ac_mid + 1`
23695 if test $ac_lo -le $ac_mid; then
23699 ac_mid
=`expr 2 '*' $ac_mid + 1`
23702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23705 echo "$as_me: failed program was:" >&5
23706 sed 's/^/| /' conftest.
$ac_ext >&5
23708 cat >conftest.
$ac_ext <<_ACEOF
23711 cat confdefs.h
>>conftest.
$ac_ext
23712 cat >>conftest.
$ac_ext <<_ACEOF
23713 /* end confdefs.h. */
23714 $ac_includes_default
23715 typedef long long ac__type_sizeof_;
23719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
23726 rm -f conftest.
$ac_objext
23727 if { (ac_try
="$ac_compile"
23728 case "(($ac_try" in
23729 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23730 *) ac_try_echo=$ac_try;;
23732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23733 (eval "$ac_compile") 2>conftest.er1
23735 grep -v '^ *+' conftest.er1 >conftest.err
23737 cat conftest.err >&5
23738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23739 (exit $ac_status); } && {
23740 test -z "$ac_c_werror_flag" ||
23741 test ! -s conftest.err
23742 } && test -s conftest.$ac_objext; then
23745 cat >conftest.$ac_ext <<_ACEOF
23748 cat confdefs.h >>conftest.$ac_ext
23749 cat >>conftest.$ac_ext <<_ACEOF
23750 /* end confdefs.h. */
23751 $ac_includes_default
23752 typedef long long ac__type_sizeof_;
23756 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
23763 rm -f conftest.$ac_objext
23764 if { (ac_try="$ac_compile"
23765 case "(($ac_try" in
23766 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
23767 *) ac_try_echo
=$ac_try;;
23769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23770 (eval "$ac_compile") 2>conftest.er1
23772 grep -v '^ *+' conftest.er1
>conftest.err
23774 cat conftest.err
>&5
23775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23776 (exit $ac_status); } && {
23777 test -z "$ac_c_werror_flag" ||
23778 test ! -s conftest.err
23779 } && test -s conftest.
$ac_objext; then
23780 ac_lo
=$ac_mid; break
23782 echo "$as_me: failed program was:" >&5
23783 sed 's/^/| /' conftest.
$ac_ext >&5
23785 ac_hi
=`expr '(' $ac_mid ')' - 1`
23786 if test $ac_mid -le $ac_hi; then
23790 ac_mid
=`expr 2 '*' $ac_mid`
23793 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23796 echo "$as_me: failed program was:" >&5
23797 sed 's/^/| /' conftest.
$ac_ext >&5
23802 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23806 # Binary search between lo and hi bounds.
23807 while test "x$ac_lo" != "x$ac_hi"; do
23808 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
23809 cat >conftest.
$ac_ext <<_ACEOF
23812 cat confdefs.h
>>conftest.
$ac_ext
23813 cat >>conftest.
$ac_ext <<_ACEOF
23814 /* end confdefs.h. */
23815 $ac_includes_default
23816 typedef long long ac__type_sizeof_;
23820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
23827 rm -f conftest.
$ac_objext
23828 if { (ac_try
="$ac_compile"
23829 case "(($ac_try" in
23830 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
23831 *) ac_try_echo=$ac_try;;
23833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23834 (eval "$ac_compile") 2>conftest.er1
23836 grep -v '^ *+' conftest.er1 >conftest.err
23838 cat conftest.err >&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); } && {
23841 test -z "$ac_c_werror_flag" ||
23842 test ! -s conftest.err
23843 } && test -s conftest.$ac_objext; then
23846 echo "$as_me: failed program was:" >&5
23847 sed 's/^/| /' conftest.$ac_ext >&5
23849 ac_lo=`expr '(' $ac_mid ')' + 1`
23852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23855 ?*) ac_cv_sizeof_long_long=$ac_lo;;
23856 '') if test "$ac_cv_type_long_long" = yes; then
23857 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
23858 See \`config.log
' for more details." >&5
23859 echo "$as_me: error: cannot compute sizeof (long long)
23860 See \`config.log' for more details.
" >&2;}
23861 { (exit 77); exit 77; }; }
23863 ac_cv_sizeof_long_long=0
23867 cat >conftest.$ac_ext <<_ACEOF
23870 cat confdefs.h >>conftest.$ac_ext
23871 cat >>conftest.$ac_ext <<_ACEOF
23872 /* end confdefs.h. */
23873 $ac_includes_default
23874 typedef long long ac__type_sizeof_;
23875 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
23876 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
23878 #include <stdlib.h>
23883 FILE *f = fopen ("conftest.val
", "w
");
23886 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
23888 long int i = longval ();
23889 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23891 fprintf (f, "%ld
\n", i);
23895 unsigned long int i = ulongval ();
23896 if (i != ((long int) (sizeof (ac__type_sizeof_))))
23898 fprintf (f, "%lu
\n", i);
23900 return ferror (f) || fclose (f) != 0;
23906 rm -f conftest$ac_exeext
23907 if { (ac_try="$ac_link"
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_link") 2>&5
23915 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23916 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23917 { (case "(($ac_try" in
23918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23919 *) ac_try_echo=$ac_try;;
23921 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
23922 (eval "$ac_try") 2>&5
23924 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
23925 (exit $ac_status); }; }; then
23926 ac_cv_sizeof_long_long=`cat conftest.val`
23928 echo "$as_me: program exited with status
$ac_status" >&5
23929 echo "$as_me: failed program was
:" >&5
23930 sed 's/^/| /' conftest.$ac_ext >&5
23932 ( exit $ac_status )
23933 if test "$ac_cv_type_long_long" = yes; then
23934 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(long long
)
23935 See \
`config.log' for more details." >&5
23936 echo "$as_me: error: cannot compute sizeof (long long)
23937 See \`config.log
' for more details." >&2;}
23938 { (exit 77); exit 77; }; }
23940 ac_cv_sizeof_long_long=0
23943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23947 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
23948 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
23952 cat >>confdefs.h <<_ACEOF
23953 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
23959 { echo "$as_me:$LINENO: checking for wchar_t" >&5
23960 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
23961 if test "${ac_cv_type_wchar_t+set}" = set; then
23962 echo $ECHO_N "(cached) $ECHO_C" >&6
23964 cat >conftest.$ac_ext <<_ACEOF
23967 cat confdefs.h >>conftest.$ac_ext
23968 cat >>conftest.$ac_ext <<_ACEOF
23969 /* end confdefs.h. */
23971 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
23972 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
23973 # error "fake wchar_t"
23975 #ifdef HAVE_WCHAR_H
23977 # include <stddef.h>
23979 # include <wchar.h>
23981 #ifdef HAVE_STDLIB_H
23982 # include <stdlib.h>
23988 typedef wchar_t ac__type_new_
;
23992 if ((ac__type_new_
*) 0)
23994 if (sizeof
(ac__type_new_
))
24000 rm -f conftest.
$ac_objext
24001 if { (ac_try
="$ac_compile"
24002 case "(($ac_try" in
24003 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24004 *) ac_try_echo=$ac_try;;
24006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24007 (eval "$ac_compile") 2>conftest.er1
24009 grep -v '^ *+' conftest.er1 >conftest.err
24011 cat conftest.err >&5
24012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24013 (exit $ac_status); } && {
24014 test -z "$ac_c_werror_flag" ||
24015 test ! -s conftest.err
24016 } && test -s conftest.$ac_objext; then
24017 ac_cv_type_wchar_t=yes
24019 echo "$as_me: failed program was:" >&5
24020 sed 's/^/| /' conftest.$ac_ext >&5
24022 ac_cv_type_wchar_t=no
24025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24027 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
24028 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
24030 # The cast to long int works around a bug in the HP C Compiler
24031 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
24032 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
24033 # This bug is HP SR number 8606223364.
24034 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
24035 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
24036 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
24037 echo $ECHO_N "(cached) $ECHO_C" >&6
24039 if test "$cross_compiling" = yes; then
24040 # Depending upon the size, compute the lo and hi bounds.
24041 cat >conftest.$ac_ext <<_ACEOF
24044 cat confdefs.h >>conftest.$ac_ext
24045 cat >>conftest.$ac_ext <<_ACEOF
24046 /* end confdefs.h. */
24048 /* DJGPP's wchar_t is now a keyword
in C
++ (still not C though
) */
24049 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24050 # error "fake wchar_t"
24052 #ifdef HAVE_WCHAR_H
24054 # include <stddef.h>
24056 # include <wchar.h>
24058 #ifdef HAVE_STDLIB_H
24059 # include <stdlib.h>
24065 typedef wchar_t ac__type_sizeof_
;
24069 static int test_array
[1 - 2 * !(((long int
) (sizeof
(ac__type_sizeof_
))) >= 0)];
24076 rm -f conftest.
$ac_objext
24077 if { (ac_try
="$ac_compile"
24078 case "(($ac_try" in
24079 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24080 *) ac_try_echo=$ac_try;;
24082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24083 (eval "$ac_compile") 2>conftest.er1
24085 grep -v '^ *+' conftest.er1 >conftest.err
24087 cat conftest.err >&5
24088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24089 (exit $ac_status); } && {
24090 test -z "$ac_c_werror_flag" ||
24091 test ! -s conftest.err
24092 } && test -s conftest.$ac_objext; then
24095 cat >conftest.$ac_ext <<_ACEOF
24098 cat confdefs.h >>conftest.$ac_ext
24099 cat >>conftest.$ac_ext <<_ACEOF
24100 /* end confdefs.h. */
24102 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24103 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24104 # error "fake wchar_t"
24106 #ifdef HAVE_WCHAR_H
24108 # include <stddef.h>
24110 # include <wchar.h>
24112 #ifdef HAVE_STDLIB_H
24113 # include <stdlib.h>
24119 typedef wchar_t ac__type_sizeof_;
24123 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24130 rm -f conftest.$ac_objext
24131 if { (ac_try="$ac_compile"
24132 case "(($ac_try" in
24133 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24134 *) ac_try_echo
=$ac_try;;
24136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24137 (eval "$ac_compile") 2>conftest.er1
24139 grep -v '^ *+' conftest.er1
>conftest.err
24141 cat conftest.err
>&5
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); } && {
24144 test -z "$ac_c_werror_flag" ||
24145 test ! -s conftest.err
24146 } && test -s conftest.
$ac_objext; then
24147 ac_hi
=$ac_mid; break
24149 echo "$as_me: failed program was:" >&5
24150 sed 's/^/| /' conftest.
$ac_ext >&5
24152 ac_lo
=`expr $ac_mid + 1`
24153 if test $ac_lo -le $ac_mid; then
24157 ac_mid
=`expr 2 '*' $ac_mid + 1`
24160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24163 echo "$as_me: failed program was:" >&5
24164 sed 's/^/| /' conftest.
$ac_ext >&5
24166 cat >conftest.
$ac_ext <<_ACEOF
24169 cat confdefs.h
>>conftest.
$ac_ext
24170 cat >>conftest.
$ac_ext <<_ACEOF
24171 /* end confdefs.h. */
24173 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24174 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24175 # error "fake wchar_t"
24177 #ifdef HAVE_WCHAR_H
24179 # include <stddef.h>
24181 # include <wchar.h>
24183 #ifdef HAVE_STDLIB_H
24184 # include <stdlib.h>
24190 typedef wchar_t ac__type_sizeof_;
24194 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
24201 rm -f conftest.
$ac_objext
24202 if { (ac_try
="$ac_compile"
24203 case "(($ac_try" in
24204 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24205 *) ac_try_echo=$ac_try;;
24207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24208 (eval "$ac_compile") 2>conftest.er1
24210 grep -v '^ *+' conftest.er1 >conftest.err
24212 cat conftest.err >&5
24213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24214 (exit $ac_status); } && {
24215 test -z "$ac_c_werror_flag" ||
24216 test ! -s conftest.err
24217 } && test -s conftest.$ac_objext; then
24220 cat >conftest.$ac_ext <<_ACEOF
24223 cat confdefs.h >>conftest.$ac_ext
24224 cat >>conftest.$ac_ext <<_ACEOF
24225 /* end confdefs.h. */
24227 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24228 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24229 # error "fake wchar_t"
24231 #ifdef HAVE_WCHAR_H
24233 # include <stddef.h>
24235 # include <wchar.h>
24237 #ifdef HAVE_STDLIB_H
24238 # include <stdlib.h>
24244 typedef wchar_t ac__type_sizeof_;
24248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
24255 rm -f conftest.$ac_objext
24256 if { (ac_try="$ac_compile"
24257 case "(($ac_try" in
24258 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
24259 *) ac_try_echo
=$ac_try;;
24261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24262 (eval "$ac_compile") 2>conftest.er1
24264 grep -v '^ *+' conftest.er1
>conftest.err
24266 cat conftest.err
>&5
24267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24268 (exit $ac_status); } && {
24269 test -z "$ac_c_werror_flag" ||
24270 test ! -s conftest.err
24271 } && test -s conftest.
$ac_objext; then
24272 ac_lo
=$ac_mid; break
24274 echo "$as_me: failed program was:" >&5
24275 sed 's/^/| /' conftest.
$ac_ext >&5
24277 ac_hi
=`expr '(' $ac_mid ')' - 1`
24278 if test $ac_mid -le $ac_hi; then
24282 ac_mid
=`expr 2 '*' $ac_mid`
24285 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24288 echo "$as_me: failed program was:" >&5
24289 sed 's/^/| /' conftest.
$ac_ext >&5
24294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24297 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24298 # Binary search between lo and hi bounds.
24299 while test "x$ac_lo" != "x$ac_hi"; do
24300 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
24301 cat >conftest.
$ac_ext <<_ACEOF
24304 cat confdefs.h
>>conftest.
$ac_ext
24305 cat >>conftest.
$ac_ext <<_ACEOF
24306 /* end confdefs.h. */
24308 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24309 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24310 # error "fake wchar_t"
24312 #ifdef HAVE_WCHAR_H
24314 # include <stddef.h>
24316 # include <wchar.h>
24318 #ifdef HAVE_STDLIB_H
24319 # include <stdlib.h>
24325 typedef wchar_t ac__type_sizeof_;
24329 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
24336 rm -f conftest.
$ac_objext
24337 if { (ac_try
="$ac_compile"
24338 case "(($ac_try" in
24339 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
24340 *) ac_try_echo=$ac_try;;
24342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24343 (eval "$ac_compile") 2>conftest.er1
24345 grep -v '^ *+' conftest.er1 >conftest.err
24347 cat conftest.err >&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); } && {
24350 test -z "$ac_c_werror_flag" ||
24351 test ! -s conftest.err
24352 } && test -s conftest.$ac_objext; then
24355 echo "$as_me: failed program was:" >&5
24356 sed 's/^/| /' conftest.$ac_ext >&5
24358 ac_lo=`expr '(' $ac_mid ')' + 1`
24361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24364 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
24365 '') if test "$ac_cv_type_wchar_t" = yes; then
24366 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
24367 See \`config.log
' for more details." >&5
24368 echo "$as_me: error: cannot compute sizeof (wchar_t)
24369 See \`config.log' for more details.
" >&2;}
24370 { (exit 77); exit 77; }; }
24372 ac_cv_sizeof_wchar_t=0
24376 cat >conftest.$ac_ext <<_ACEOF
24379 cat confdefs.h >>conftest.$ac_ext
24380 cat >>conftest.$ac_ext <<_ACEOF
24381 /* end confdefs.h. */
24383 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
24384 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
24385 # error "fake wchar_t
"
24387 #ifdef HAVE_WCHAR_H
24389 # include <stddef.h>
24391 # include <wchar.h>
24393 #ifdef HAVE_STDLIB_H
24394 # include <stdlib.h>
24400 typedef wchar_t ac__type_sizeof_;
24401 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
24402 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
24404 #include <stdlib.h>
24409 FILE *f = fopen ("conftest.val
", "w
");
24412 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
24414 long int i = longval ();
24415 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24417 fprintf (f, "%ld
\n", i);
24421 unsigned long int i = ulongval ();
24422 if (i != ((long int) (sizeof (ac__type_sizeof_))))
24424 fprintf (f, "%lu
\n", i);
24426 return ferror (f) || fclose (f) != 0;
24432 rm -f conftest$ac_exeext
24433 if { (ac_try="$ac_link"
24434 case "(($ac_try" in
24435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24436 *) ac_try_echo=$ac_try;;
24438 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24439 (eval "$ac_link") 2>&5
24441 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24442 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
24443 { (case "(($ac_try" in
24444 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24445 *) ac_try_echo=$ac_try;;
24447 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
24448 (eval "$ac_try") 2>&5
24450 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
24451 (exit $ac_status); }; }; then
24452 ac_cv_sizeof_wchar_t=`cat conftest.val`
24454 echo "$as_me: program exited with status
$ac_status" >&5
24455 echo "$as_me: failed program was
:" >&5
24456 sed 's/^/| /' conftest.$ac_ext >&5
24458 ( exit $ac_status )
24459 if test "$ac_cv_type_wchar_t" = yes; then
24460 { { echo "$as_me:$LINENO: error
: cannot compute sizeof
(wchar_t
)
24461 See \
`config.log' for more details." >&5
24462 echo "$as_me: error: cannot compute sizeof (wchar_t)
24463 See \`config.log
' for more details." >&2;}
24464 { (exit 77); exit 77; }; }
24466 ac_cv_sizeof_wchar_t=0
24469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24473 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
24474 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
24478 cat >>confdefs.h <<_ACEOF
24479 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
24483 if test "$ac_cv_sizeof_wchar_t" = 0; then
24484 { { echo "$as_me:$LINENO: error: wxWidgets requires wchar_t support." >&5
24485 echo "$as_me: error: wxWidgets requires wchar_t support." >&2;}
24486 { (exit 1); exit 1; }; }
24488 cat >>confdefs.h <<\_ACEOF
24489 #define wxUSE_WCHAR_T 1
24493 { echo "$as_me:$LINENO: checking for va_copy" >&5
24494 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
24495 if test "${wx_cv_func_va_copy+set}" = set; then
24496 echo $ECHO_N "(cached) $ECHO_C" >&6
24500 ac_cpp='$CXXCPP $CPPFLAGS'
24501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24502 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24505 cat >conftest.$ac_ext <<_ACEOF
24507 #include <stdarg.h>
24508 void foo(char *f, ...)
24522 rm -f conftest.$ac_objext conftest$ac_exeext
24523 if { (ac_try="$ac_link"
24524 case "(($ac_try" in
24525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24526 *) ac_try_echo=$ac_try;;
24528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24529 (eval "$ac_link") 2>conftest.er1
24531 grep -v '^
*+' conftest.er1 >conftest.err
24533 cat conftest.err >&5
24534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24535 (exit $ac_status); } && {
24536 test -z "$ac_cxx_werror_flag" ||
24537 test ! -s conftest.err
24538 } && test -s conftest$ac_exeext &&
24539 $as_test_x conftest$ac_exeext; then
24540 wx_cv_func_va_copy=yes
24542 echo "$as_me: failed program was:" >&5
24543 sed 's
/^
/| /' conftest.$ac_ext >&5
24545 wx_cv_func_va_copy=no
24549 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24550 conftest$ac_exeext conftest.$ac_ext
24552 ac_cpp='$CPP $CPPFLAGS'
24553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24554 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24560 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
24561 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
24563 if test $wx_cv_func_va_copy = "yes"; then
24564 cat >>confdefs.h <<\_ACEOF
24565 #define HAVE_VA_COPY 1
24569 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
24570 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
24571 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
24572 echo $ECHO_N "(cached) $ECHO_C" >&6
24575 if test "$cross_compiling" = yes; then
24576 wx_cv_type_va_list_lvalue=yes
24579 cat >conftest.$ac_ext <<_ACEOF
24581 #include <stdarg.h>
24582 int foo(char *f, ...)
24587 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
24595 return foo("hi", 17);
24598 rm -f conftest$ac_exeext
24599 if { (ac_try="$ac_link"
24600 case "(($ac_try" in
24601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24602 *) ac_try_echo=$ac_try;;
24604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24605 (eval "$ac_link") 2>&5
24607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24608 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
24609 { (case "(($ac_try" in
24610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24611 *) ac_try_echo=$ac_try;;
24613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24614 (eval "$ac_try") 2>&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); }; }; then
24618 wx_cv_type_va_list_lvalue=yes
24620 echo "$as_me: program exited with status $ac_status" >&5
24621 echo "$as_me: failed program was:" >&5
24622 sed 's
/^
/| /' conftest.$ac_ext >&5
24624 ( exit $ac_status )
24625 wx_cv_type_va_list_lvalue=no
24627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
24634 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
24635 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
24637 if test $wx_cv_type_va_list_lvalue != "yes"; then
24638 cat >>confdefs.h <<\_ACEOF
24639 #define VA_LIST_IS_ARRAY 1
24645 if test "$wxUSE_VARARG_MACROS" = "yes"; then
24647 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
24648 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
24649 if test "${wx_cv_have_variadic_macros+set}" = set; then
24650 echo $ECHO_N "(cached) $ECHO_C" >&6
24654 ac_cpp='$CXXCPP $CPPFLAGS'
24655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24656 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24659 cat >conftest.$ac_ext <<_ACEOF
24662 cat confdefs.h >>conftest.$ac_ext
24663 cat >>conftest.$ac_ext <<_ACEOF
24664 /* end confdefs.h. */
24667 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
24673 test("%s %d %p", "test", 1, 0);
24680 rm -f conftest.$ac_objext
24681 if { (ac_try="$ac_compile"
24682 case "(($ac_try" in
24683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24684 *) ac_try_echo=$ac_try;;
24686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24687 (eval "$ac_compile") 2>conftest.er1
24689 grep -v '^
*+' conftest.er1 >conftest.err
24691 cat conftest.err >&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); } && {
24694 test -z "$ac_cxx_werror_flag" ||
24695 test ! -s conftest.err
24696 } && test -s conftest.$ac_objext; then
24697 wx_cv_have_variadic_macros=yes
24699 echo "$as_me: failed program was:" >&5
24700 sed 's
/^
/| /' conftest.$ac_ext >&5
24702 wx_cv_have_variadic_macros=no
24706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24708 ac_cpp='$CPP $CPPFLAGS'
24709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24710 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24716 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
24717 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
24719 if test $wx_cv_have_variadic_macros = "yes"; then
24720 cat >>confdefs.h <<\_ACEOF
24721 #define HAVE_VARIADIC_MACROS 1
24728 LARGEFILE_CPPFLAGS=
24729 # Check whether --enable-largefile was given.
24730 if test "${enable_largefile+set}" = set; then
24731 enableval=$enable_largefile;
24734 if test "$enable_largefile" != no; then
24737 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
24738 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
24739 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
24740 echo $ECHO_N "(cached) $ECHO_C" >&6
24743 cat >conftest.$ac_ext <<_ACEOF
24746 cat confdefs.h >>conftest.$ac_ext
24747 cat >>conftest.$ac_ext <<_ACEOF
24748 /* end confdefs.h. */
24749 #define _FILE_OFFSET_BITS 64
24750 #include <sys/types.h>
24755 unsigned int field: sizeof(off_t) == 8;
24762 rm -f conftest.$ac_objext
24763 if { (ac_try="$ac_compile"
24764 case "(($ac_try" in
24765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24766 *) ac_try_echo=$ac_try;;
24768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24769 (eval "$ac_compile") 2>conftest.er1
24771 grep -v '^
*+' conftest.er1 >conftest.err
24773 cat conftest.err >&5
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); } && {
24776 test -z "$ac_c_werror_flag" ||
24777 test ! -s conftest.err
24778 } && test -s conftest.$ac_objext; then
24779 ac_cv_sys_file_offset_bits=64
24781 echo "$as_me: failed program was:" >&5
24782 sed 's
/^
/| /' conftest.$ac_ext >&5
24784 ac_cv_sys_file_offset_bits=no
24787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24791 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
24792 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
24794 if test "$ac_cv_sys_file_offset_bits" != no; then
24796 cat >>confdefs.h <<_ACEOF
24797 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
24802 if test "x$wx_largefile" != "xyes"; then
24804 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
24805 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
24806 if test "${ac_cv_sys_large_files+set}" = set; then
24807 echo $ECHO_N "(cached) $ECHO_C" >&6
24810 cat >conftest.$ac_ext <<_ACEOF
24813 cat confdefs.h >>conftest.$ac_ext
24814 cat >>conftest.$ac_ext <<_ACEOF
24815 /* end confdefs.h. */
24816 #define _LARGE_FILES 1
24817 #include <sys/types.h>
24822 unsigned int field: sizeof(off_t) == 8;
24829 rm -f conftest.$ac_objext
24830 if { (ac_try="$ac_compile"
24831 case "(($ac_try" in
24832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24833 *) ac_try_echo=$ac_try;;
24835 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24836 (eval "$ac_compile") 2>conftest.er1
24838 grep -v '^
*+' conftest.er1 >conftest.err
24840 cat conftest.err >&5
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); } && {
24843 test -z "$ac_c_werror_flag" ||
24844 test ! -s conftest.err
24845 } && test -s conftest.$ac_objext; then
24846 ac_cv_sys_large_files=1
24848 echo "$as_me: failed program was:" >&5
24849 sed 's
/^
/| /' conftest.$ac_ext >&5
24851 ac_cv_sys_large_files=no
24854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24858 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
24859 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
24861 if test "$ac_cv_sys_large_files" != no; then
24863 cat >>confdefs.h <<_ACEOF
24864 #define _LARGE_FILES $ac_cv_sys_large_files
24871 { echo "$as_me:$LINENO: checking if large file support is available" >&5
24872 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
24873 if test "x$wx_largefile" = "xyes"; then
24874 cat >>confdefs.h <<\_ACEOF
24875 #define HAVE_LARGEFILE_SUPPORT 1
24879 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
24880 echo "${ECHO_T}$wx_largefile" >&6; }
24883 if test "$ac_cv_sys_file_offset_bits" = "64"; then
24884 LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
24885 elif test "$ac_cv_sys_large_files" = 1; then
24886 LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
24889 if test -n "$LARGEFILE_CPPFLAGS"; then
24890 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
24892 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
24893 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
24894 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
24895 if test "${wx_cv_STDC_EXT_required+set}" = set; then
24896 echo $ECHO_N "(cached) $ECHO_C" >&6
24900 ac_cpp='$CXXCPP $CPPFLAGS'
24901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24902 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24905 cat >conftest.$ac_ext <<_ACEOF
24908 cat confdefs.h >>conftest.$ac_ext
24909 cat >>conftest.$ac_ext <<_ACEOF
24910 /* end confdefs.h. */
24916 #ifndef __STDC_EXT__
24924 rm -f conftest.$ac_objext
24925 if { (ac_try="$ac_compile"
24926 case "(($ac_try" in
24927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24928 *) ac_try_echo=$ac_try;;
24930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24931 (eval "$ac_compile") 2>conftest.er1
24933 grep -v '^
*+' conftest.er1 >conftest.err
24935 cat conftest.err >&5
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); } && {
24938 test -z "$ac_cxx_werror_flag" ||
24939 test ! -s conftest.err
24940 } && test -s conftest.$ac_objext; then
24941 wx_cv_STDC_EXT_required=no
24943 echo "$as_me: failed program was:" >&5
24944 sed 's
/^
/| /' conftest.$ac_ext >&5
24946 wx_cv_STDC_EXT_required=yes
24950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24952 ac_cpp='$CPP $CPPFLAGS'
24953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24954 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24960 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
24961 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
24962 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
24963 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
24969 ac_cpp='$CXXCPP $CPPFLAGS'
24970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
24971 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
24972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24974 old_CPPFLAGS="$CPPFLAGS"
24975 CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
24976 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
24977 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
24978 if test "${ac_cv_sys_largefile_source+set}" = set; then
24979 echo $ECHO_N "(cached) $ECHO_C" >&6
24982 cat >conftest.$ac_ext <<_ACEOF
24985 cat confdefs.h >>conftest.$ac_ext
24986 cat >>conftest.$ac_ext <<_ACEOF
24987 /* end confdefs.h. */
24988 #include <sys/types.h> /* for off_t */
24993 int (*fp) (FILE *, off_t, int) = fseeko;
24994 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
24999 rm -f conftest.$ac_objext conftest$ac_exeext
25000 if { (ac_try="$ac_link"
25001 case "(($ac_try" in
25002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25003 *) ac_try_echo=$ac_try;;
25005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25006 (eval "$ac_link") 2>conftest.er1
25008 grep -v '^
*+' conftest.er1 >conftest.err
25010 cat conftest.err >&5
25011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25012 (exit $ac_status); } && {
25013 test -z "$ac_cxx_werror_flag" ||
25014 test ! -s conftest.err
25015 } && test -s conftest$ac_exeext &&
25016 $as_test_x conftest$ac_exeext; then
25017 ac_cv_sys_largefile_source=no; break
25019 echo "$as_me: failed program was:" >&5
25020 sed 's
/^
/| /' conftest.$ac_ext >&5
25025 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25026 conftest$ac_exeext conftest.$ac_ext
25027 cat >conftest.$ac_ext <<_ACEOF
25030 cat confdefs.h >>conftest.$ac_ext
25031 cat >>conftest.$ac_ext <<_ACEOF
25032 /* end confdefs.h. */
25033 #define _LARGEFILE_SOURCE 1
25034 #include <sys/types.h> /* for off_t */
25039 int (*fp) (FILE *, off_t, int) = fseeko;
25040 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
25045 rm -f conftest.$ac_objext conftest$ac_exeext
25046 if { (ac_try="$ac_link"
25047 case "(($ac_try" in
25048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25049 *) ac_try_echo=$ac_try;;
25051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25052 (eval "$ac_link") 2>conftest.er1
25054 grep -v '^
*+' conftest.er1 >conftest.err
25056 cat conftest.err >&5
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); } && {
25059 test -z "$ac_cxx_werror_flag" ||
25060 test ! -s conftest.err
25061 } && test -s conftest$ac_exeext &&
25062 $as_test_x conftest$ac_exeext; then
25063 ac_cv_sys_largefile_source=1; break
25065 echo "$as_me: failed program was:" >&5
25066 sed 's
/^
/| /' conftest.$ac_ext >&5
25071 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25072 conftest$ac_exeext conftest.$ac_ext
25073 ac_cv_sys_largefile_source=unknown
25077 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
25078 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
25079 case $ac_cv_sys_largefile_source in #(
25082 cat >>confdefs.h <<_ACEOF
25083 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
25089 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
25090 # in glibc 2.1.3, but that breaks too many other things.
25091 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
25092 if test $ac_cv_sys_largefile_source != unknown; then
25094 cat >>confdefs.h <<\_ACEOF
25095 #define HAVE_FSEEKO 1
25100 CPPFLAGS="$old_CPPFLAGS"
25102 ac_cpp='$CPP $CPPFLAGS'
25103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25104 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25107 if test "$ac_cv_sys_largefile_source" != no; then
25108 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
25111 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
25112 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
25113 if test "${ac_cv_c_bigendian+set}" = set; then
25114 echo $ECHO_N "(cached) $ECHO_C" >&6
25116 ac_cv_c_bigendian=unknown
25117 # See if sys/param.h defines the BYTE_ORDER macro.
25118 cat >conftest.$ac_ext <<_ACEOF
25121 cat confdefs.h >>conftest.$ac_ext
25122 cat >>conftest.$ac_ext <<_ACEOF
25123 /* end confdefs.h. */
25124 #include <sys/types.h>
25125 #include <sys/param.h>
25130 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
25131 bogus endian macros
25137 rm -f conftest.$ac_objext
25138 if { (ac_try="$ac_compile"
25139 case "(($ac_try" in
25140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25141 *) ac_try_echo=$ac_try;;
25143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25144 (eval "$ac_compile") 2>conftest.er1
25146 grep -v '^
*+' conftest.er1 >conftest.err
25148 cat conftest.err >&5
25149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25150 (exit $ac_status); } && {
25151 test -z "$ac_c_werror_flag" ||
25152 test ! -s conftest.err
25153 } && test -s conftest.$ac_objext; then
25154 # It does; now see whether it defined to BIG_ENDIAN or not.
25155 cat >conftest.$ac_ext <<_ACEOF
25158 cat confdefs.h >>conftest.$ac_ext
25159 cat >>conftest.$ac_ext <<_ACEOF
25160 /* end confdefs.h. */
25161 #include <sys/types.h>
25162 #include <sys/param.h>
25167 #if BYTE_ORDER != BIG_ENDIAN
25174 rm -f conftest.$ac_objext
25175 if { (ac_try="$ac_compile"
25176 case "(($ac_try" in
25177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25178 *) ac_try_echo=$ac_try;;
25180 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25181 (eval "$ac_compile") 2>conftest.er1
25183 grep -v '^
*+' conftest.er1 >conftest.err
25185 cat conftest.err >&5
25186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25187 (exit $ac_status); } && {
25188 test -z "$ac_c_werror_flag" ||
25189 test ! -s conftest.err
25190 } && test -s conftest.$ac_objext; then
25191 ac_cv_c_bigendian=yes
25193 echo "$as_me: failed program was:" >&5
25194 sed 's
/^
/| /' conftest.$ac_ext >&5
25196 ac_cv_c_bigendian=no
25199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25201 echo "$as_me: failed program was:" >&5
25202 sed 's
/^
/| /' conftest.$ac_ext >&5
25207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25208 if test $ac_cv_c_bigendian = unknown; then
25209 if test "$cross_compiling" = yes; then
25210 ac_cv_c_bigendian=unknown
25212 cat >conftest.$ac_ext <<_ACEOF
25215 cat confdefs.h >>conftest.$ac_ext
25216 cat >>conftest.$ac_ext <<_ACEOF
25217 /* end confdefs.h. */
25219 /* Are we little or big endian? From Harbison&Steele. */
25223 char c[sizeof (long)];
25226 exit (u.c[sizeof (long) - 1] == 1);
25229 rm -f conftest$ac_exeext
25230 if { (ac_try="$ac_link"
25231 case "(($ac_try" in
25232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25233 *) ac_try_echo=$ac_try;;
25235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25236 (eval "$ac_link") 2>&5
25238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25239 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
25240 { (case "(($ac_try" in
25241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25242 *) ac_try_echo=$ac_try;;
25244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25245 (eval "$ac_try") 2>&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); }; }; then
25249 ac_cv_c_bigendian=no
25251 echo "$as_me: program exited with status $ac_status" >&5
25252 echo "$as_me: failed program was:" >&5
25253 sed 's
/^
/| /' conftest.$ac_ext >&5
25255 ( exit $ac_status )
25256 ac_cv_c_bigendian=yes
25258 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25264 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
25265 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
25266 if test $ac_cv_c_bigendian = unknown; then
25267 { 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
25268 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;}
25270 if test $ac_cv_c_bigendian = yes; then
25271 cat >>confdefs.h <<\_ACEOF
25272 #define WORDS_BIGENDIAN 1
25281 ac_cpp='$CXXCPP $CPPFLAGS'
25282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25283 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25288 for ac_header in iostream
25290 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25291 { echo "$as_me:$LINENO: checking for $ac_header" >&5
25292 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
25293 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
25294 echo $ECHO_N "(cached) $ECHO_C" >&6
25296 cat >conftest.$ac_ext <<_ACEOF
25299 cat confdefs.h >>conftest.$ac_ext
25300 cat >>conftest.$ac_ext <<_ACEOF
25301 /* end confdefs.h. */
25304 #include <$ac_header>
25306 rm -f conftest.$ac_objext
25307 if { (ac_try="$ac_compile"
25308 case "(($ac_try" in
25309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25310 *) ac_try_echo=$ac_try;;
25312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25313 (eval "$ac_compile") 2>conftest.er1
25315 grep -v '^
*+' conftest.er1 >conftest.err
25317 cat conftest.err >&5
25318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25319 (exit $ac_status); } && {
25320 test -z "$ac_cxx_werror_flag" ||
25321 test ! -s conftest.err
25322 } && test -s conftest.$ac_objext; then
25323 eval "$as_ac_Header=yes"
25325 echo "$as_me: failed program was:" >&5
25326 sed 's
/^
/| /' conftest.$ac_ext >&5
25328 eval "$as_ac_Header=no"
25331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25333 ac_res=`eval echo '${'$as_ac_Header'}'`
25334 { echo "$as_me:$LINENO: result: $ac_res" >&5
25335 echo "${ECHO_T}$ac_res" >&6; }
25336 if test `eval echo '${'$as_ac_Header'}'` = yes; then
25337 cat >>confdefs.h <<_ACEOF
25338 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25346 if test "$ac_cv_header_iostream" = "yes" ; then
25349 cat >>confdefs.h <<\_ACEOF
25350 #define wxUSE_IOSTREAMH 1
25356 ac_cpp='$CPP $CPPFLAGS'
25357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25358 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25364 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
25365 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
25366 if test "${wx_cv_explicit+set}" = set; then
25367 echo $ECHO_N "(cached) $ECHO_C" >&6
25372 ac_cpp='$CXXCPP $CPPFLAGS'
25373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25374 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25378 cat >conftest.$ac_ext <<_ACEOF
25381 cat confdefs.h >>conftest.$ac_ext
25382 cat >>conftest.$ac_ext <<_ACEOF
25383 /* end confdefs.h. */
25385 class Foo { public: explicit Foo(int) {} };
25397 rm -f conftest.$ac_objext
25398 if { (ac_try="$ac_compile"
25399 case "(($ac_try" in
25400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25401 *) ac_try_echo=$ac_try;;
25403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25404 (eval "$ac_compile") 2>conftest.er1
25406 grep -v '^
*+' conftest.er1 >conftest.err
25408 cat conftest.err >&5
25409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25410 (exit $ac_status); } && {
25411 test -z "$ac_cxx_werror_flag" ||
25412 test ! -s conftest.err
25413 } && test -s conftest.$ac_objext; then
25415 cat >conftest.$ac_ext <<_ACEOF
25418 cat confdefs.h >>conftest.$ac_ext
25419 cat >>conftest.$ac_ext <<_ACEOF
25420 /* end confdefs.h. */
25422 class Foo { public: explicit Foo(int) {} };
25423 static void TakeFoo(const Foo& foo) { }
25436 rm -f conftest.$ac_objext
25437 if { (ac_try="$ac_compile"
25438 case "(($ac_try" in
25439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25440 *) ac_try_echo=$ac_try;;
25442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25443 (eval "$ac_compile") 2>conftest.er1
25445 grep -v '^
*+' conftest.er1 >conftest.err
25447 cat conftest.err >&5
25448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25449 (exit $ac_status); } && {
25450 test -z "$ac_cxx_werror_flag" ||
25451 test ! -s conftest.err
25452 } && test -s conftest.$ac_objext; then
25455 echo "$as_me: failed program was:" >&5
25456 sed 's
/^
/| /' conftest.$ac_ext >&5
25462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25465 echo "$as_me: failed program was:" >&5
25466 sed 's
/^
/| /' conftest.$ac_ext >&5
25472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25475 ac_cpp='$CPP $CPPFLAGS'
25476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25477 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25482 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
25483 echo "${ECHO_T}$wx_cv_explicit" >&6; }
25485 if test "$wx_cv_explicit" = "yes"; then
25486 cat >>confdefs.h <<\_ACEOF
25487 #define HAVE_EXPLICIT 1
25493 if test "x$SUNCXX" = xyes; then
25494 CXXFLAGS="-features=tmplife $CXXFLAGS"
25497 if test "x$SUNCC" = xyes; then
25498 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
25501 if test "x$SGICC" = "xyes"; then
25502 { echo "$as_me:$LINENO: checking if cc version is 7.4.4 or greater" >&5
25503 echo $ECHO_N "checking if cc version is 7.4.4 or greater... $ECHO_C" >&6; }
25504 if test "${wx_cv_prog_sgicc744+set}" = set; then
25505 echo $ECHO_N "(cached) $ECHO_C" >&6
25508 cat >conftest.$ac_ext <<_ACEOF
25511 cat confdefs.h >>conftest.$ac_ext
25512 cat >>conftest.$ac_ext <<_ACEOF
25513 /* end confdefs.h. */
25519 #if _SGI_COMPILER_VERSION >= 744
25520 chock me: mipsPro is 7.4.4 or later
25527 rm -f conftest.$ac_objext
25528 if { (ac_try="$ac_compile"
25529 case "(($ac_try" in
25530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25531 *) ac_try_echo=$ac_try;;
25533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25534 (eval "$ac_compile") 2>conftest.er1
25536 grep -v '^
*+' conftest.er1 >conftest.err
25538 cat conftest.err >&5
25539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540 (exit $ac_status); } && {
25541 test -z "$ac_c_werror_flag" ||
25542 test ! -s conftest.err
25543 } && test -s conftest.$ac_objext; then
25544 wx_cv_prog_sgicc744=no
25546 echo "$as_me: failed program was:" >&5
25547 sed 's
/^
/| /' conftest.$ac_ext >&5
25549 wx_cv_prog_sgicc744=yes
25553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25557 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicc744" >&5
25558 echo "${ECHO_T}$wx_cv_prog_sgicc744" >&6; }
25560 if test "x$wx_cv_prog_sgicc744" = "xyes"; then
25561 CFLAGS="-woff 3970 $CFLAGS"
25564 if test "x$SGICXX" = "xyes"; then
25565 { echo "$as_me:$LINENO: checking if CC version is 7.4.4 or greater" >&5
25566 echo $ECHO_N "checking if CC version is 7.4.4 or greater... $ECHO_C" >&6; }
25567 if test "${wx_cv_prog_sgicxx744+set}" = set; then
25568 echo $ECHO_N "(cached) $ECHO_C" >&6
25572 ac_cpp='$CXXCPP $CPPFLAGS'
25573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25574 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25577 cat >conftest.$ac_ext <<_ACEOF
25580 cat confdefs.h >>conftest.$ac_ext
25581 cat >>conftest.$ac_ext <<_ACEOF
25582 /* end confdefs.h. */
25588 #if _SGI_COMPILER_VERSION >= 744
25589 chock me: mipsPro is 7.4.4 or later
25596 rm -f conftest.$ac_objext
25597 if { (ac_try="$ac_compile"
25598 case "(($ac_try" in
25599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25600 *) ac_try_echo=$ac_try;;
25602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25603 (eval "$ac_compile") 2>conftest.er1
25605 grep -v '^
*+' conftest.er1 >conftest.err
25607 cat conftest.err >&5
25608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25609 (exit $ac_status); } && {
25610 test -z "$ac_cxx_werror_flag" ||
25611 test ! -s conftest.err
25612 } && test -s conftest.$ac_objext; then
25613 wx_cv_prog_sgicxx744=no
25615 echo "$as_me: failed program was:" >&5
25616 sed 's
/^
/| /' conftest.$ac_ext >&5
25618 wx_cv_prog_sgicxx744=yes
25622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25624 ac_cpp='$CPP $CPPFLAGS'
25625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25626 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25632 { echo "$as_me:$LINENO: result: $wx_cv_prog_sgicxx744" >&5
25633 echo "${ECHO_T}$wx_cv_prog_sgicxx744" >&6; }
25635 if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
25636 CXXFLAGS="-woff 3970 $CXXFLAGS"
25640 if test "x$HPCC" = "xyes"; then
25641 CFLAGS="+W 2011,2450 $CFLAGS"
25643 if test "x$HPCXX" = "xyes"; then
25644 CXXFLAGS="+W 2340,4232 $CXXFLAGS"
25647 if test "x$COMPAQCXX" = "xyes"; then
25648 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
25652 ac_cpp='$CXXCPP $CPPFLAGS'
25653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
25654 ac_link='$CXX -o conftest
$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
25655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25658 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
25659 if test "$wxUSE_UNICODE" = "yes"; then
25660 std_string="std::wstring"
25661 char_type="wchar_t"
25663 std_string="std::string"
25667 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
25668 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
25669 if test "${wx_cv_class_stdstring+set}" = set; then
25670 echo $ECHO_N "(cached) $ECHO_C" >&6
25673 cat >conftest.$ac_ext <<_ACEOF
25676 cat confdefs.h >>conftest.$ac_ext
25677 cat >>conftest.$ac_ext <<_ACEOF
25678 /* end confdefs.h. */
25688 rm -f conftest.$ac_objext
25689 if { (ac_try="$ac_compile"
25690 case "(($ac_try" in
25691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25692 *) ac_try_echo=$ac_try;;
25694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25695 (eval "$ac_compile") 2>conftest.er1
25697 grep -v '^
*+' conftest.er1 >conftest.err
25699 cat conftest.err >&5
25700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25701 (exit $ac_status); } && {
25702 test -z "$ac_cxx_werror_flag" ||
25703 test ! -s conftest.err
25704 } && test -s conftest.$ac_objext; then
25705 wx_cv_class_stdstring=yes
25707 echo "$as_me: failed program was:" >&5
25708 sed 's
/^
/| /' conftest.$ac_ext >&5
25710 wx_cv_class_stdstring=no
25714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25718 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
25719 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
25721 if test "$wx_cv_class_stdstring" = yes; then
25722 if test "$wxUSE_UNICODE" = "yes"; then
25723 cat >>confdefs.h <<\_ACEOF
25724 #define HAVE_STD_WSTRING 1
25729 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
25730 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
25731 if test "${wx_cv_class_stdbasicstring+set}" = set; then
25732 echo $ECHO_N "(cached) $ECHO_C" >&6
25735 cat >conftest.$ac_ext <<_ACEOF
25738 cat confdefs.h >>conftest.$ac_ext
25739 cat >>conftest.$ac_ext <<_ACEOF
25740 /* end confdefs.h. */
25742 #ifdef HAVE_WCHAR_H
25744 # include <stddef.h>
25746 # include <wchar.h>
25748 #ifdef HAVE_STDLIB_H
25749 # include <stdlib.h>
25757 std::basic_string<$char_type> foo;
25758 const $char_type* dummy = foo.c_str();
25763 rm -f conftest.$ac_objext
25764 if { (ac_try="$ac_compile"
25765 case "(($ac_try" in
25766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25767 *) ac_try_echo=$ac_try;;
25769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25770 (eval "$ac_compile") 2>conftest.er1
25772 grep -v '^
*+' conftest.er1 >conftest.err
25774 cat conftest.err >&5
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); } && {
25777 test -z "$ac_cxx_werror_flag" ||
25778 test ! -s conftest.err
25779 } && test -s conftest.$ac_objext; then
25780 wx_cv_class_stdbasicstring=yes
25782 echo "$as_me: failed program was:" >&5
25783 sed 's
/^
/| /' conftest.$ac_ext >&5
25785 wx_cv_class_stdbasicstring=no
25789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25793 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
25794 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
25796 if test "$wx_cv_class_stdbasicstring" != yes; then
25797 if test "$wxUSE_STL" = "yes"; then
25798 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl without
$std_string or std
::basic_string
<$char_type>" >&5
25799 echo "$as_me: error
: Can
't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
25800 { (exit 1); exit 1; }; }
25801 elif test "$wxUSE_STD_STRING" = "yes"; then
25802 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_string without
$std_string or std
::basic_string
<$char_type>" >&5
25803 echo "$as_me: error
: Can
't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
25804 { (exit 1); exit 1; }; }
25806 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
25807 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
25808 wxUSE_STD_STRING=no
25814 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25815 { echo "$as_me:$LINENO: checking for std::istream" >&5
25816 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
25817 if test "${ac_cv_type_std__istream+set}" = set; then
25818 echo $ECHO_N "(cached) $ECHO_C" >&6
25820 cat >conftest.$ac_ext <<_ACEOF
25823 cat confdefs.h >>conftest.$ac_ext
25824 cat >>conftest.$ac_ext <<_ACEOF
25825 /* end confdefs.h. */
25826 #include <iostream>
25828 typedef std::istream ac__type_new_;
25832 if ((ac__type_new_ *) 0)
25834 if (sizeof (ac__type_new_))
25840 rm -f conftest.$ac_objext
25841 if { (ac_try="$ac_compile"
25842 case "(($ac_try" in
25843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25844 *) ac_try_echo=$ac_try;;
25846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25847 (eval "$ac_compile") 2>conftest.er1
25849 grep -v '^
*+' conftest.er1 >conftest.err
25851 cat conftest.err >&5
25852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25853 (exit $ac_status); } && {
25854 test -z "$ac_cxx_werror_flag" ||
25855 test ! -s conftest.err
25856 } && test -s conftest.$ac_objext; then
25857 ac_cv_type_std__istream=yes
25859 echo "$as_me: failed program was:" >&5
25860 sed 's
/^
/| /' conftest.$ac_ext >&5
25862 ac_cv_type_std__istream=no
25865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25867 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
25868 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
25869 if test $ac_cv_type_std__istream = yes; then
25871 cat >>confdefs.h <<_ACEOF
25872 #define HAVE_STD__ISTREAM 1
25877 wxUSE_STD_IOSTREAM=no
25879 { echo "$as_me:$LINENO: checking for std::ostream" >&5
25880 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
25881 if test "${ac_cv_type_std__ostream+set}" = set; then
25882 echo $ECHO_N "(cached) $ECHO_C" >&6
25884 cat >conftest.$ac_ext <<_ACEOF
25887 cat confdefs.h >>conftest.$ac_ext
25888 cat >>conftest.$ac_ext <<_ACEOF
25889 /* end confdefs.h. */
25890 #include <iostream>
25892 typedef std::ostream ac__type_new_;
25896 if ((ac__type_new_ *) 0)
25898 if (sizeof (ac__type_new_))
25904 rm -f conftest.$ac_objext
25905 if { (ac_try="$ac_compile"
25906 case "(($ac_try" in
25907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25908 *) ac_try_echo=$ac_try;;
25910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25911 (eval "$ac_compile") 2>conftest.er1
25913 grep -v '^
*+' conftest.er1 >conftest.err
25915 cat conftest.err >&5
25916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25917 (exit $ac_status); } && {
25918 test -z "$ac_cxx_werror_flag" ||
25919 test ! -s conftest.err
25920 } && test -s conftest.$ac_objext; then
25921 ac_cv_type_std__ostream=yes
25923 echo "$as_me: failed program was:" >&5
25924 sed 's
/^
/| /' conftest.$ac_ext >&5
25926 ac_cv_type_std__ostream=no
25929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25931 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
25932 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
25933 if test $ac_cv_type_std__ostream = yes; then
25935 cat >>confdefs.h <<_ACEOF
25936 #define HAVE_STD__OSTREAM 1
25941 wxUSE_STD_IOSTREAM=no
25945 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
25946 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
25947 { { echo "$as_me:$LINENO: error: Can't use
--enable-std_iostreams without std
::istream and std
::ostream
" >&5
25948 echo "$as_me: error
: Can
't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
25949 { (exit 1); exit 1; }; }
25951 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
25952 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
25957 if test "$wxUSE_STL" = "yes"; then
25958 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
25959 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
25960 if test "${wx_cv_lib_stl+set}" = set; then
25961 echo $ECHO_N "(cached) $ECHO_C" >&6
25963 cat >conftest.$ac_ext <<_ACEOF
25966 cat confdefs.h >>conftest.$ac_ext
25967 cat >>conftest.$ac_ext <<_ACEOF
25968 /* end confdefs.h. */
25970 #include <functional>
25971 #include <algorithm>
25977 std::vector<int> moo;
25978 std::list<int> foo;
25979 std::vector<int>::iterator it =
25980 std::find_if(moo.begin(), moo.end(),
25981 std::bind2nd(std::less<int>(), 3));
25986 rm -f conftest.$ac_objext
25987 if { (ac_try="$ac_compile"
25988 case "(($ac_try" in
25989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25990 *) ac_try_echo=$ac_try;;
25992 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25993 (eval "$ac_compile") 2>conftest.er1
25995 grep -v '^
*+' conftest.er1 >conftest.err
25997 cat conftest.err >&5
25998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25999 (exit $ac_status); } && {
26000 test -z "$ac_cxx_werror_flag" ||
26001 test ! -s conftest.err
26002 } && test -s conftest.$ac_objext; then
26005 echo "$as_me: failed program was:" >&5
26006 sed 's
/^
/| /' conftest.$ac_ext >&5
26012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26015 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
26016 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
26018 if test "$wx_cv_lib_stl" != yes; then
26019 { { echo "$as_me:$LINENO: error: Can't use
--enable-stl as basic STL functionality is missing
" >&5
26020 echo "$as_me: error
: Can
't use --enable-stl as basic STL functionality is missing" >&2;}
26021 { (exit 1); exit 1; }; }
26024 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
26025 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
26026 if test "${wx_cv_func_stdstring_compare+set}" = set; then
26027 echo $ECHO_N "(cached) $ECHO_C" >&6
26029 cat >conftest.$ac_ext <<_ACEOF
26032 cat confdefs.h >>conftest.$ac_ext
26033 cat >>conftest.$ac_ext <<_ACEOF
26034 /* end confdefs.h. */
26039 std::string foo, bar;
26041 foo.compare(1, 1, bar);
26042 foo.compare(1, 1, bar, 1, 1);
26044 foo.compare(1, 1, "");
26045 foo.compare(1, 1, "", 2);
26050 rm -f conftest.$ac_objext
26051 if { (ac_try="$ac_compile"
26052 case "(($ac_try" in
26053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26054 *) ac_try_echo=$ac_try;;
26056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26057 (eval "$ac_compile") 2>conftest.er1
26059 grep -v '^
*+' conftest.er1 >conftest.err
26061 cat conftest.err >&5
26062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26063 (exit $ac_status); } && {
26064 test -z "$ac_cxx_werror_flag" ||
26065 test ! -s conftest.err
26066 } && test -s conftest.$ac_objext; then
26067 wx_cv_func_stdstring_compare=yes
26069 echo "$as_me: failed program was:" >&5
26070 sed 's
/^
/| /' conftest.$ac_ext >&5
26072 wx_cv_func_stdstring_compare=no
26076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26079 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
26080 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
26082 if test "$wx_cv_func_stdstring_compare" = yes; then
26083 cat >>confdefs.h <<\_ACEOF
26084 #define HAVE_STD_STRING_COMPARE 1
26089 if test "$wx_cv_class_gnuhashmapset" = yes; then
26090 cat >>confdefs.h <<\_ACEOF
26091 #define HAVE_EXT_HASH_MAP 1
26094 cat >>confdefs.h <<\_ACEOF
26095 #define HAVE_GNU_CXX_HASH_MAP 1
26100 { echo "$as_me:$LINENO: checking for unordered_map" >&5
26101 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
26102 if test "${ac_cv_header_unordered_map+set}" = set; then
26103 echo $ECHO_N "(cached) $ECHO_C" >&6
26105 cat >conftest.$ac_ext <<_ACEOF
26108 cat confdefs.h >>conftest.$ac_ext
26109 cat >>conftest.$ac_ext <<_ACEOF
26110 /* end confdefs.h. */
26114 #include <unordered_map>
26116 rm -f conftest.$ac_objext
26117 if { (ac_try="$ac_compile"
26118 case "(($ac_try" in
26119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26120 *) ac_try_echo=$ac_try;;
26122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26123 (eval "$ac_compile") 2>conftest.er1
26125 grep -v '^
*+' conftest.er1 >conftest.err
26127 cat conftest.err >&5
26128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26129 (exit $ac_status); } && {
26130 test -z "$ac_cxx_werror_flag" ||
26131 test ! -s conftest.err
26132 } && test -s conftest.$ac_objext; then
26133 ac_cv_header_unordered_map=yes
26135 echo "$as_me: failed program was:" >&5
26136 sed 's
/^
/| /' conftest.$ac_ext >&5
26138 ac_cv_header_unordered_map=no
26141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26143 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
26144 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
26145 if test $ac_cv_header_unordered_map = yes; then
26146 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
26147 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
26148 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
26149 echo $ECHO_N "(cached) $ECHO_C" >&6
26151 cat >conftest.$ac_ext <<_ACEOF
26154 cat confdefs.h >>conftest.$ac_ext
26155 cat >>conftest.$ac_ext <<_ACEOF
26156 /* end confdefs.h. */
26157 #include <unordered_map>
26158 #include <unordered_set>
26162 std::unordered_map<double*, char*> test1;
26163 std::unordered_set<char*> test2;
26168 rm -f conftest.$ac_objext
26169 if { (ac_try="$ac_compile"
26170 case "(($ac_try" in
26171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26172 *) ac_try_echo=$ac_try;;
26174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26175 (eval "$ac_compile") 2>conftest.er1
26177 grep -v '^
*+' conftest.er1 >conftest.err
26179 cat conftest.err >&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); } && {
26182 test -z "$ac_cxx_werror_flag" ||
26183 test ! -s conftest.err
26184 } && test -s conftest.$ac_objext; then
26185 wx_cv_class_stdunorderedmapset=yes
26187 echo "$as_me: failed program was:" >&5
26188 sed 's
/^
/| /' conftest.$ac_ext >&5
26190 wx_cv_class_stdunorderedmapset=no
26193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26197 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
26198 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
26203 if test "$wx_cv_class_stdunorderedmapset" = yes; then
26204 cat >>confdefs.h <<\_ACEOF
26205 #define HAVE_STD_UNORDERED_MAP 1
26208 cat >>confdefs.h <<\_ACEOF
26209 #define HAVE_STD_UNORDERED_SET 1
26213 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
26214 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
26215 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
26216 echo $ECHO_N "(cached) $ECHO_C" >&6
26218 cat >conftest.$ac_ext <<_ACEOF
26221 cat confdefs.h >>conftest.$ac_ext
26222 cat >>conftest.$ac_ext <<_ACEOF
26223 /* end confdefs.h. */
26227 #include <tr1/unordered_map>
26229 rm -f conftest.$ac_objext
26230 if { (ac_try="$ac_compile"
26231 case "(($ac_try" in
26232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26233 *) ac_try_echo=$ac_try;;
26235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26236 (eval "$ac_compile") 2>conftest.er1
26238 grep -v '^
*+' conftest.er1 >conftest.err
26240 cat conftest.err >&5
26241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26242 (exit $ac_status); } && {
26243 test -z "$ac_cxx_werror_flag" ||
26244 test ! -s conftest.err
26245 } && test -s conftest.$ac_objext; then
26246 ac_cv_header_tr1_unordered_map=yes
26248 echo "$as_me: failed program was:" >&5
26249 sed 's
/^
/| /' conftest.$ac_ext >&5
26251 ac_cv_header_tr1_unordered_map=no
26254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26256 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
26257 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
26258 if test $ac_cv_header_tr1_unordered_map = yes; then
26259 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
26260 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
26261 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
26262 echo $ECHO_N "(cached) $ECHO_C" >&6
26264 cat >conftest.$ac_ext <<_ACEOF
26267 cat confdefs.h >>conftest.$ac_ext
26268 cat >>conftest.$ac_ext <<_ACEOF
26269 /* end confdefs.h. */
26270 #include <tr1/unordered_map>
26271 #include <tr1/unordered_set>
26275 std::tr1::unordered_map<double*, char*> test1;
26276 std::tr1::unordered_set<char*> test2;
26277 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
26278 #error can't use unordered_
{map
,set} with gcc
-4.
[01]: http
://gcc.gnu.org
/PR24389
26284 rm -f conftest.
$ac_objext
26285 if { (ac_try
="$ac_compile"
26286 case "(($ac_try" in
26287 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26288 *) ac_try_echo=$ac_try;;
26290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26291 (eval "$ac_compile") 2>conftest.er1
26293 grep -v '^ *+' conftest.er1 >conftest.err
26295 cat conftest.err >&5
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); } && {
26298 test -z "$ac_cxx_werror_flag" ||
26299 test ! -s conftest.err
26300 } && test -s conftest.$ac_objext; then
26301 wx_cv_class_tr1unorderedmapset=yes
26303 echo "$as_me: failed program was:" >&5
26304 sed 's/^/| /' conftest.$ac_ext >&5
26306 wx_cv_class_tr1unorderedmapset=no
26309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26313 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
26314 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
26319 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
26320 cat >>confdefs.h <<\_ACEOF
26321 #define HAVE_TR1_UNORDERED_MAP 1
26324 cat >>confdefs.h <<\_ACEOF
26325 #define HAVE_TR1_UNORDERED_SET 1
26329 { echo "$as_me:$LINENO: checking for hash_map" >&5
26330 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
26331 if test "${ac_cv_header_hash_map+set}" = set; then
26332 echo $ECHO_N "(cached) $ECHO_C" >&6
26334 cat >conftest.$ac_ext <<_ACEOF
26337 cat confdefs.h >>conftest.$ac_ext
26338 cat >>conftest.$ac_ext <<_ACEOF
26339 /* end confdefs.h. */
26343 #include <hash_map>
26345 rm -f conftest.$ac_objext
26346 if { (ac_try="$ac_compile"
26347 case "(($ac_try" in
26348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26349 *) ac_try_echo
=$ac_try;;
26351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26352 (eval "$ac_compile") 2>conftest.er1
26354 grep -v '^ *+' conftest.er1
>conftest.err
26356 cat conftest.err
>&5
26357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26358 (exit $ac_status); } && {
26359 test -z "$ac_cxx_werror_flag" ||
26360 test ! -s conftest.err
26361 } && test -s conftest.
$ac_objext; then
26362 ac_cv_header_hash_map
=yes
26364 echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.
$ac_ext >&5
26367 ac_cv_header_hash_map
=no
26370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26372 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
26373 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
26374 if test $ac_cv_header_hash_map = yes; then
26375 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
26376 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
26377 if test "${wx_cv_class_stdhashmapset+set}" = set; then
26378 echo $ECHO_N "(cached) $ECHO_C" >&6
26380 cat >conftest.
$ac_ext <<_ACEOF
26383 cat confdefs.h
>>conftest.
$ac_ext
26384 cat >>conftest.
$ac_ext <<_ACEOF
26385 /* end confdefs.h. */
26386 #include <hash_map>
26387 #include <hash_set>
26391 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
26392 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
26397 rm -f conftest.
$ac_objext
26398 if { (ac_try
="$ac_compile"
26399 case "(($ac_try" in
26400 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26401 *) ac_try_echo=$ac_try;;
26403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26404 (eval "$ac_compile") 2>conftest.er1
26406 grep -v '^ *+' conftest.er1 >conftest.err
26408 cat conftest.err >&5
26409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26410 (exit $ac_status); } && {
26411 test -z "$ac_cxx_werror_flag" ||
26412 test ! -s conftest.err
26413 } && test -s conftest.$ac_objext; then
26414 wx_cv_class_stdhashmapset=yes
26416 echo "$as_me: failed program was:" >&5
26417 sed 's/^/| /' conftest.$ac_ext >&5
26419 wx_cv_class_stdhashmapset=no
26422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26426 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
26427 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
26432 if test "$wx_cv_class_stdhashmapset" = yes; then
26433 cat >>confdefs.h <<\_ACEOF
26434 #define HAVE_HASH_MAP 1
26437 cat >>confdefs.h <<\_ACEOF
26438 #define HAVE_STD_HASH_MAP 1
26443 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
26444 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
26445 if test "${ac_cv_header_ext_hash_map+set}" = set; then
26446 echo $ECHO_N "(cached) $ECHO_C" >&6
26448 cat >conftest.$ac_ext <<_ACEOF
26451 cat confdefs.h >>conftest.$ac_ext
26452 cat >>conftest.$ac_ext <<_ACEOF
26453 /* end confdefs.h. */
26457 #include <ext/hash_map>
26459 rm -f conftest.$ac_objext
26460 if { (ac_try="$ac_compile"
26461 case "(($ac_try" in
26462 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26463 *) ac_try_echo
=$ac_try;;
26465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26466 (eval "$ac_compile") 2>conftest.er1
26468 grep -v '^ *+' conftest.er1
>conftest.err
26470 cat conftest.err
>&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } && {
26473 test -z "$ac_cxx_werror_flag" ||
26474 test ! -s conftest.err
26475 } && test -s conftest.
$ac_objext; then
26476 ac_cv_header_ext_hash_map
=yes
26478 echo "$as_me: failed program was:" >&5
26479 sed 's/^/| /' conftest.
$ac_ext >&5
26481 ac_cv_header_ext_hash_map
=no
26484 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26486 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
26487 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
26488 if test $ac_cv_header_ext_hash_map = yes; then
26489 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
26490 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
26491 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
26492 echo $ECHO_N "(cached) $ECHO_C" >&6
26494 cat >conftest.
$ac_ext <<_ACEOF
26497 cat confdefs.h
>>conftest.
$ac_ext
26498 cat >>conftest.
$ac_ext <<_ACEOF
26499 /* end confdefs.h. */
26500 #include <ext/hash_map>
26501 #include <ext/hash_set>
26505 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
26506 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
26511 rm -f conftest.
$ac_objext
26512 if { (ac_try
="$ac_compile"
26513 case "(($ac_try" in
26514 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26515 *) ac_try_echo=$ac_try;;
26517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26518 (eval "$ac_compile") 2>conftest.er1
26520 grep -v '^ *+' conftest.er1 >conftest.err
26522 cat conftest.err >&5
26523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26524 (exit $ac_status); } && {
26525 test -z "$ac_cxx_werror_flag" ||
26526 test ! -s conftest.err
26527 } && test -s conftest.$ac_objext; then
26528 wx_cv_class_gnuhashmapset=yes
26530 echo "$as_me: failed program was:" >&5
26531 sed 's/^/| /' conftest.$ac_ext >&5
26533 wx_cv_class_gnuhashmapset=no
26536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26540 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
26541 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
26551 ac_cpp='$CXXCPP $CPPFLAGS'
26552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26555 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
26556 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
26557 if test -z "$CXXCPP"; then
26558 if test "${ac_cv_prog_CXXCPP+set}" = set; then
26559 echo $ECHO_N "(cached) $ECHO_C" >&6
26561 # Double quotes because CXXCPP needs to be expanded
26562 for CXXCPP in "$CXX -E" "/lib/cpp"
26564 ac_preproc_ok=false
26565 for ac_cxx_preproc_warn_flag in '' yes
26567 # Use a header file that comes with gcc, so configuring glibc
26568 # with a fresh cross-compiler works.
26569 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26570 # <limits.h> exists even on freestanding compilers.
26571 # On the NeXT, cc -E runs the code through the compiler's parser,
26572 # not just through cpp. "Syntax error" is here to catch this case.
26573 cat >conftest.$ac_ext <<_ACEOF
26576 cat confdefs.h >>conftest.$ac_ext
26577 cat >>conftest.$ac_ext <<_ACEOF
26578 /* end confdefs.h. */
26580 # include <limits.h>
26582 # include <assert.h>
26586 if { (ac_try="$ac_cpp conftest.$ac_ext"
26587 case "(($ac_try" in
26588 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26589 *) ac_try_echo
=$ac_try;;
26591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26594 grep -v '^ *+' conftest.er1
>conftest.err
26596 cat conftest.err
>&5
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); } >/dev
/null
&& {
26599 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26600 test ! -s conftest.err
26604 echo "$as_me: failed program was:" >&5
26605 sed 's/^/| /' conftest.
$ac_ext >&5
26607 # Broken: fails on valid input.
26611 rm -f conftest.err conftest.
$ac_ext
26613 # OK, works on sane cases. Now check whether nonexistent headers
26614 # can be detected and how.
26615 cat >conftest.
$ac_ext <<_ACEOF
26618 cat confdefs.h
>>conftest.
$ac_ext
26619 cat >>conftest.
$ac_ext <<_ACEOF
26620 /* end confdefs.h. */
26621 #include <ac_nonexistent.h>
26623 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26624 case "(($ac_try" in
26625 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26626 *) ac_try_echo=$ac_try;;
26628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26629 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26631 grep -v '^ *+' conftest.er1 >conftest.err
26633 cat conftest.err >&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); } >/dev/null && {
26636 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26637 test ! -s conftest.err
26639 # Broken: success on invalid input.
26642 echo "$as_me: failed program was:" >&5
26643 sed 's/^/| /' conftest.$ac_ext >&5
26645 # Passes both tests.
26650 rm -f conftest.err conftest.$ac_ext
26653 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26654 rm -f conftest.err conftest.
$ac_ext
26655 if $ac_preproc_ok; then
26660 ac_cv_prog_CXXCPP
=$CXXCPP
26663 CXXCPP
=$ac_cv_prog_CXXCPP
26665 ac_cv_prog_CXXCPP
=$CXXCPP
26667 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
26668 echo "${ECHO_T}$CXXCPP" >&6; }
26669 ac_preproc_ok
=false
26670 for ac_cxx_preproc_warn_flag
in '' yes
26672 # Use a header file that comes with gcc, so configuring glibc
26673 # with a fresh cross-compiler works.
26674 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26675 # <limits.h> exists even on freestanding compilers.
26676 # On the NeXT, cc -E runs the code through the compiler's parser,
26677 # not just through cpp. "Syntax error" is here to catch this case.
26678 cat >conftest.
$ac_ext <<_ACEOF
26681 cat confdefs.h
>>conftest.
$ac_ext
26682 cat >>conftest.
$ac_ext <<_ACEOF
26683 /* end confdefs.h. */
26685 # include <limits.h>
26687 # include <assert.h>
26691 if { (ac_try
="$ac_cpp conftest.$ac_ext"
26692 case "(($ac_try" in
26693 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26694 *) ac_try_echo=$ac_try;;
26696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26699 grep -v '^ *+' conftest.er1 >conftest.err
26701 cat conftest.err >&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } >/dev/null && {
26704 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26705 test ! -s conftest.err
26709 echo "$as_me: failed program was:" >&5
26710 sed 's/^/| /' conftest.$ac_ext >&5
26712 # Broken: fails on valid input.
26716 rm -f conftest.err conftest.$ac_ext
26718 # OK, works on sane cases. Now check whether nonexistent headers
26719 # can be detected and how.
26720 cat >conftest.$ac_ext <<_ACEOF
26723 cat confdefs.h >>conftest.$ac_ext
26724 cat >>conftest.$ac_ext <<_ACEOF
26725 /* end confdefs.h. */
26726 #include <ac_nonexistent.h>
26728 if { (ac_try="$ac_cpp conftest.$ac_ext"
26729 case "(($ac_try" in
26730 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26731 *) ac_try_echo
=$ac_try;;
26733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26734 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26736 grep -v '^ *+' conftest.er1
>conftest.err
26738 cat conftest.err
>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } >/dev
/null
&& {
26741 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26742 test ! -s conftest.err
26744 # Broken: success on invalid input.
26747 echo "$as_me: failed program was:" >&5
26748 sed 's/^/| /' conftest.
$ac_ext >&5
26750 # Passes both tests.
26755 rm -f conftest.err conftest.
$ac_ext
26758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
26759 rm -f conftest.err conftest.
$ac_ext
26760 if $ac_preproc_ok; then
26763 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26764 See \`config.log' for more details." >&5
26765 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
26766 See \`config.log' for more details." >&2;}
26767 { (exit 1); exit 1; }; }
26771 ac_cpp
='$CXXCPP $CPPFLAGS'
26772 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26773 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26774 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26779 for ac_header
in type_traits tr
1/type_traits
26781 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26782 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26785 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26786 echo $ECHO_N "(cached) $ECHO_C" >&6
26788 ac_res
=`eval echo '${'$as_ac_Header'}'`
26789 { echo "$as_me:$LINENO: result: $ac_res" >&5
26790 echo "${ECHO_T}$ac_res" >&6; }
26792 # Is the header compilable?
26793 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
26794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
26795 cat >conftest.
$ac_ext <<_ACEOF
26798 cat confdefs.h
>>conftest.
$ac_ext
26799 cat >>conftest.
$ac_ext <<_ACEOF
26800 /* end confdefs.h. */
26801 $ac_includes_default
26802 #include <$ac_header>
26804 rm -f conftest.
$ac_objext
26805 if { (ac_try
="$ac_compile"
26806 case "(($ac_try" in
26807 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26808 *) ac_try_echo=$ac_try;;
26810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26811 (eval "$ac_compile") 2>conftest.er1
26813 grep -v '^ *+' conftest.er1 >conftest.err
26815 cat conftest.err >&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); } && {
26818 test -z "$ac_cxx_werror_flag" ||
26819 test ! -s conftest.err
26820 } && test -s conftest.$ac_objext; then
26821 ac_header_compiler=yes
26823 echo "$as_me: failed program was:" >&5
26824 sed 's/^/| /' conftest.$ac_ext >&5
26826 ac_header_compiler=no
26829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26830 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26831 echo "${ECHO_T}$ac_header_compiler" >&6; }
26833 # Is the header present?
26834 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
26835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
26836 cat >conftest.$ac_ext <<_ACEOF
26839 cat confdefs.h >>conftest.$ac_ext
26840 cat >>conftest.$ac_ext <<_ACEOF
26841 /* end confdefs.h. */
26842 #include <$ac_header>
26844 if { (ac_try="$ac_cpp conftest.$ac_ext"
26845 case "(($ac_try" in
26846 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
26847 *) ac_try_echo
=$ac_try;;
26849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26850 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
26852 grep -v '^ *+' conftest.er1
>conftest.err
26854 cat conftest.err
>&5
26855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26856 (exit $ac_status); } >/dev
/null
&& {
26857 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
26858 test ! -s conftest.err
26860 ac_header_preproc
=yes
26862 echo "$as_me: failed program was:" >&5
26863 sed 's/^/| /' conftest.
$ac_ext >&5
26865 ac_header_preproc
=no
26868 rm -f conftest.err conftest.
$ac_ext
26869 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26870 echo "${ECHO_T}$ac_header_preproc" >&6; }
26872 # So? What about this header?
26873 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
26876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
26877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
26878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
26879 ac_header_preproc
=yes
26882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
26883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
26884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
26885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
26886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
26887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
26888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
26889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
26890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
26891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
26892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
26893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
26895 ## ----------------------------------------- ##
26896 ## Report this to wx-dev@lists.wxwidgets.org ##
26897 ## ----------------------------------------- ##
26899 ) | sed "s/^/$as_me: WARNING: /" >&2
26902 { echo "$as_me:$LINENO: checking for $ac_header" >&5
26903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
26904 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
26905 echo $ECHO_N "(cached) $ECHO_C" >&6
26907 eval "$as_ac_Header=\$ac_header_preproc"
26909 ac_res
=`eval echo '${'$as_ac_Header'}'`
26910 { echo "$as_me:$LINENO: result: $ac_res" >&5
26911 echo "${ECHO_T}$ac_res" >&6; }
26914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
26915 cat >>confdefs.h
<<_ACEOF
26916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26926 if test -n "$GCC"; then
26927 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
26928 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
26929 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
26930 echo $ECHO_N "(cached) $ECHO_C" >&6
26933 cat >conftest.
$ac_ext <<_ACEOF
26936 cat confdefs.h
>>conftest.
$ac_ext
26937 cat >>conftest.
$ac_ext <<_ACEOF
26938 /* end confdefs.h. */
26944 unsigned int value=0;
26945 /* wxAtomicInc doesn't use return value here */
26946 __sync_fetch_and_add(&value, 2);
26947 __sync_sub_and_fetch(&value, 1);
26948 /* but wxAtomicDec does, so mimic that: */
26949 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
26955 rm -f conftest.
$ac_objext conftest
$ac_exeext
26956 if { (ac_try
="$ac_link"
26957 case "(($ac_try" in
26958 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
26959 *) ac_try_echo=$ac_try;;
26961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26962 (eval "$ac_link") 2>conftest.er1
26964 grep -v '^ *+' conftest.er1 >conftest.err
26966 cat conftest.err >&5
26967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26968 (exit $ac_status); } && {
26969 test -z "$ac_cxx_werror_flag" ||
26970 test ! -s conftest.err
26971 } && test -s conftest$ac_exeext &&
26972 $as_test_x conftest$ac_exeext; then
26973 wx_cv_cc_gcc_atomic_builtins=yes
26975 echo "$as_me: failed program was:" >&5
26976 sed 's/^/| /' conftest.$ac_ext >&5
26978 wx_cv_cc_gcc_atomic_builtins=no
26981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26982 conftest$ac_exeext conftest.$ac_ext
26986 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
26987 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
26988 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
26989 cat >>confdefs.h <<\_ACEOF
26990 #define HAVE_GCC_ATOMIC_BUILTINS 1
26998 ac_cpp='$CPP $CPPFLAGS'
26999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27006 /usr/local/include \
27007 /usr/local/X11/include \
27008 /usr/local/include/X11 \
27009 /usr/local/X11R7/include \
27010 /usr/local/X11R6/include \
27011 /usr/local/include/X11R7 \
27012 /usr/local/include/X11R6 \
27014 /usr/Motif-2.1/include \
27015 /usr/Motif-1.2/include \
27016 /usr/include/Motif1.2 \
27019 /usr/openwin/include \
27023 /usr/X11R7/include \
27024 /usr/X11R6/include \
27025 /usr/X11R6.4/include \
27027 /usr/include/X11R7 \
27028 /usr/include/X11R6 \
27033 /usr/XFree86/include/X11 \
27036 /usr/local/X1R5/include \
27037 /usr/local/include/X11R5 \
27038 /usr/X11R5/include \
27039 /usr/include/X11R5 \
27041 /usr/local/X11R4/include \
27042 /usr/local/include/X11R4 \
27043 /usr/X11R4/include \
27044 /usr/include/X11R4 \
27046 /usr/openwin/share/include"
27048 { echo "$as_me:$LINENO: checking for libraries directories" >&5
27049 echo $ECHO_N "checking for libraries directories... $ECHO_C" >&6; }
27053 if test "${wx_cv_std_libpath+set}" = set; then
27054 echo $ECHO_N "(cached) $ECHO_C" >&6
27057 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
27058 for e in a so sl dylib dll.a; do
27060 if test -f $libc; then
27063 cat >conftest.$ac_ext <<_ACEOF
27064 int main() { return 0; }
27066 rm -f conftest.$ac_objext conftest$ac_exeext
27067 if { (ac_try="$ac_link"
27068 case "(($ac_try" in
27069 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27070 *) ac_try_echo
=$ac_try;;
27072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27073 (eval "$ac_link") 2>conftest.er1
27075 grep -v '^ *+' conftest.er1
>conftest.err
27077 cat conftest.err
>&5
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); } && {
27080 test -z "$ac_c_werror_flag" ||
27081 test ! -s conftest.err
27082 } && test -s conftest
$ac_exeext &&
27083 $as_test_x conftest
$ac_exeext; then
27084 wx_cv_std_libpath
=`echo $d | sed s@/usr/@@`
27086 echo "$as_me: failed program was:" >&5
27087 sed 's/^/| /' conftest.
$ac_ext >&5
27092 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27093 conftest
$ac_exeext conftest.
$ac_ext
27095 if test "x$wx_cv_std_libpath" != "x"; then
27108 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
27109 wx_cv_std_libpath
="lib/64"
27114 if test "$ac_cv_sizeof_void_p" = 8; then
27115 if test -d "/usr/lib/`uname -m`-linux-gnu"; then
27116 wx_cv_std_libfullpath
="/usr/lib/`uname -m`-linux-gnu"
27117 elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
27118 wx_cv_std_libpath
="lib64"
27123 if test -d '/usr/lib/i386-linux-gnu'; then
27124 wx_cv_std_libfullpath
='/usr/lib/i386-linux-gnu'
27129 if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
27130 wx_cv_std_libfullpath
="$wx_cv_std_libfullpath /usr/lib"
27135 if test -z "$wx_cv_std_libpath"; then
27136 wx_cv_std_libpath
="lib"
27139 if test -z "$wx_cv_std_libfullpath"; then
27140 wx_cv_std_libfullpath
="/usr/$wx_cv_std_libpath"
27144 { echo "$as_me:$LINENO: result: $wx_cv_std_libfullpath" >&5
27145 echo "${ECHO_T}$wx_cv_std_libfullpath" >&6; }
27147 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
27149 if test "$build" != "$host" -a "$GCC" = yes; then
27150 if cross_root
=`$CC -print-prog-name=ld 2>/dev/null`; then
27151 cross_root
=`dirname $cross_root`
27152 cross_root
=`dirname $cross_root`
27154 SEARCH_LIB
=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27155 SEARCH_INCLUDE
=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
27156 SEARCH_INCLUDE
="$SEARCH_INCLUDE $cross_root/include"
27158 if test -z "$PKG_CONFIG_PATH"; then
27159 PKG_CONFIG_PATH
="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
27160 export PKG_CONFIG_PATH
27163 if test -z "$x_includes" -o "$x_includes" = NONE
; then
27166 for ac_dir
in $SEARCH_INCLUDE /usr
/include
27168 if test -f "$ac_dir/X11/Intrinsic.h"; then
27169 ac_find_includes
=$ac_dir
27174 x_includes
=$ac_find_includes
27176 if test -z "$x_libraries" -o "$x_libraries" = NONE
; then
27179 for ac_dir
in $SEARCH_LIB
27181 for ac_extension
in a so sl dylib dll.a
; do
27182 if test -f "$ac_dir/libXt.$ac_extension"; then
27183 ac_find_libraries
=$ac_dir
27189 x_libraries
=$ac_find_libraries
27195 cat >confcache
<<\_ACEOF
27196 # This file is a shell script that caches the results of configure
27197 # tests run on this system so they can be shared between configure
27198 # scripts and configure runs, see configure's option --config-cache.
27199 # It is not useful on other systems. If it contains results you don't
27200 # want to keep, you may remove or edit it.
27202 # config.status only pays attention to the cache file if you give it
27203 # the --recheck option to rerun configure.
27205 # `ac_cv_env_foo' variables (set or unset) will be overridden when
27206 # loading this file, other *unset* `ac_cv_foo' will be assigned the
27207 # following values.
27211 # The following way of writing the cache mishandles newlines in values,
27212 # but we know of no workaround that is simple, portable, and efficient.
27213 # So, we kill variables containing newlines.
27214 # Ultrix sh set writes to stderr and can't be redirected directly,
27215 # and sets the high bit in the cache file unless we assign to the vars.
27217 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
27218 eval ac_val
=\$
$ac_var
27222 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
27223 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
27226 _
| IFS
| as_nl
) ;; #(
27227 *) $as_unset $ac_var ;;
27233 case $as_nl`(ac_space=' '; set) 2>&1` in #(
27234 *${as_nl}ac_space
=\
*)
27235 # `set' does not quote correctly, so add quotes (double-quote
27236 # substitution turns \\\\ into \\, and sed turns \\ into \).
27239 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
27242 # `set' quotes correctly as required by POSIX, so do not add quotes.
27243 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
27252 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
27254 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
27256 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
27257 if test -w "$cache_file"; then
27258 test "x$cache_file" != "x/dev/null" &&
27259 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
27260 echo "$as_me: updating cache $cache_file" >&6;}
27261 cat confcache
>$cache_file
27263 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
27264 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
27269 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
27270 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
27271 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
27272 if test "${wx_cv_lib_glibc21+set}" = set; then
27273 echo $ECHO_N "(cached) $ECHO_C" >&6
27276 cat >conftest.
$ac_ext <<_ACEOF
27279 cat confdefs.h
>>conftest.
$ac_ext
27280 cat >>conftest.
$ac_ext <<_ACEOF
27281 /* end confdefs.h. */
27282 #include <features.h>
27287 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
27295 rm -f conftest.
$ac_objext
27296 if { (ac_try
="$ac_compile"
27297 case "(($ac_try" in
27298 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27299 *) ac_try_echo=$ac_try;;
27301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27302 (eval "$ac_compile") 2>conftest.er1
27304 grep -v '^ *+' conftest.er1 >conftest.err
27306 cat conftest.err >&5
27307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27308 (exit $ac_status); } && {
27309 test -z "$ac_c_werror_flag" ||
27310 test ! -s conftest.err
27311 } && test -s conftest.$ac_objext; then
27313 wx_cv_lib_glibc21=yes
27316 echo "$as_me: failed program was:" >&5
27317 sed 's/^/| /' conftest.$ac_ext >&5
27320 wx_cv_lib_glibc21=no
27325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27328 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
27329 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
27330 if test "$wx_cv_lib_glibc21" = "yes"; then
27331 cat >>confdefs.h <<\_ACEOF
27332 #define wxHAVE_GLIBC2 1
27338 if test "x$wx_cv_lib_glibc21" = "xyes"; then
27339 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
27340 cat >>confdefs.h <<\_ACEOF
27341 #define _GNU_SOURCE 1
27352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27353 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27355 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27356 echo $ECHO_N "(cached) $ECHO_C" >&6
27358 cat >conftest.$ac_ext <<_ACEOF
27361 cat confdefs.h >>conftest.$ac_ext
27362 cat >>conftest.$ac_ext <<_ACEOF
27363 /* end confdefs.h. */
27364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27366 #define $ac_func innocuous_$ac_func
27368 /* System header to define __stub macros and hopefully few prototypes,
27369 which can conflict with char $ac_func (); below.
27370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27371 <limits.h> exists even on freestanding compilers. */
27374 # include <limits.h>
27376 # include <assert.h>
27381 /* Override any GCC internal prototype to avoid an error.
27382 Use char because int might match the return type of a GCC
27383 builtin and then its argument prototype would still apply. */
27388 /* The GNU C library defines this for functions which it implements
27389 to always fail with ENOSYS. Some functions are actually named
27390 something starting with __ and the normal name is an alias. */
27391 #if defined __stub_$ac_func || defined __stub___$ac_func
27398 return $ac_func ();
27403 rm -f conftest.$ac_objext conftest$ac_exeext
27404 if { (ac_try="$ac_link"
27405 case "(($ac_try" in
27406 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27407 *) ac_try_echo
=$ac_try;;
27409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27410 (eval "$ac_link") 2>conftest.er1
27412 grep -v '^ *+' conftest.er1
>conftest.err
27414 cat conftest.err
>&5
27415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27416 (exit $ac_status); } && {
27417 test -z "$ac_c_werror_flag" ||
27418 test ! -s conftest.err
27419 } && test -s conftest
$ac_exeext &&
27420 $as_test_x conftest
$ac_exeext; then
27421 eval "$as_ac_var=yes"
27423 echo "$as_me: failed program was:" >&5
27424 sed 's/^/| /' conftest.
$ac_ext >&5
27426 eval "$as_ac_var=no"
27429 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27430 conftest
$ac_exeext conftest.
$ac_ext
27432 ac_res
=`eval echo '${'$as_ac_var'}'`
27433 { echo "$as_me:$LINENO: result: $ac_res" >&5
27434 echo "${ECHO_T}$ac_res" >&6; }
27435 if test `eval echo '${'$as_ac_var'}'` = yes; then
27436 cat >>confdefs.h
<<_ACEOF
27437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27444 for ac_func
in floor
27446 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27449 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27450 echo $ECHO_N "(cached) $ECHO_C" >&6
27452 cat >conftest.
$ac_ext <<_ACEOF
27455 cat confdefs.h
>>conftest.
$ac_ext
27456 cat >>conftest.
$ac_ext <<_ACEOF
27457 /* end confdefs.h. */
27458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27460 #define $ac_func innocuous_$ac_func
27462 /* System header to define __stub macros and hopefully few prototypes,
27463 which can conflict with char $ac_func (); below.
27464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27465 <limits.h> exists even on freestanding compilers. */
27468 # include <limits.h>
27470 # include <assert.h>
27475 /* Override any GCC internal prototype to avoid an error.
27476 Use char because int might match the return type of a GCC
27477 builtin and then its argument prototype would still apply. */
27482 /* The GNU C library defines this for functions which it implements
27483 to always fail with ENOSYS. Some functions are actually named
27484 something starting with __ and the normal name is an alias. */
27485 #if defined __stub_$ac_func || defined __stub___$ac_func
27492 return $ac_func ();
27497 rm -f conftest.
$ac_objext conftest
$ac_exeext
27498 if { (ac_try
="$ac_link"
27499 case "(($ac_try" in
27500 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27501 *) ac_try_echo=$ac_try;;
27503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27504 (eval "$ac_link") 2>conftest.er1
27506 grep -v '^ *+' conftest.er1 >conftest.err
27508 cat conftest.err >&5
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); } && {
27511 test -z "$ac_c_werror_flag" ||
27512 test ! -s conftest.err
27513 } && test -s conftest$ac_exeext &&
27514 $as_test_x conftest$ac_exeext; then
27515 eval "$as_ac_var=yes"
27517 echo "$as_me: failed program was:" >&5
27518 sed 's/^/| /' conftest.$ac_ext >&5
27520 eval "$as_ac_var=no"
27523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27524 conftest$ac_exeext conftest.$ac_ext
27526 ac_res=`eval echo '${'$as_ac_var'}'`
27527 { echo "$as_me:$LINENO: result: $ac_res" >&5
27528 echo "${ECHO_T}$ac_res" >&6; }
27529 if test `eval echo '${'$as_ac_var'}'` = yes; then
27530 cat >>confdefs.h <<_ACEOF
27531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27537 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
27538 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
27539 if test "$have_cos" = 1 -a "$have_floor" = 1; then
27540 { echo "$as_me:$LINENO: result: yes" >&5
27541 echo "${ECHO_T}yes" >&6; }
27543 { echo "$as_me:$LINENO: result: no" >&5
27544 echo "${ECHO_T}no" >&6; }
27546 # use different functions to avoid configure caching
27552 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27553 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27554 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27555 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27556 echo $ECHO_N "(cached) $ECHO_C" >&6
27558 cat >conftest.$ac_ext <<_ACEOF
27561 cat confdefs.h >>conftest.$ac_ext
27562 cat >>conftest.$ac_ext <<_ACEOF
27563 /* end confdefs.h. */
27564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27566 #define $ac_func innocuous_$ac_func
27568 /* System header to define __stub macros and hopefully few prototypes,
27569 which can conflict with char $ac_func (); below.
27570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27571 <limits.h> exists even on freestanding compilers. */
27574 # include <limits.h>
27576 # include <assert.h>
27581 /* Override any GCC internal prototype to avoid an error.
27582 Use char because int might match the return type of a GCC
27583 builtin and then its argument prototype would still apply. */
27588 /* The GNU C library defines this for functions which it implements
27589 to always fail with ENOSYS. Some functions are actually named
27590 something starting with __ and the normal name is an alias. */
27591 #if defined __stub_$ac_func || defined __stub___$ac_func
27598 return $ac_func ();
27603 rm -f conftest.$ac_objext conftest$ac_exeext
27604 if { (ac_try="$ac_link"
27605 case "(($ac_try" in
27606 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27607 *) ac_try_echo
=$ac_try;;
27609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27610 (eval "$ac_link") 2>conftest.er1
27612 grep -v '^ *+' conftest.er1
>conftest.err
27614 cat conftest.err
>&5
27615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27616 (exit $ac_status); } && {
27617 test -z "$ac_c_werror_flag" ||
27618 test ! -s conftest.err
27619 } && test -s conftest
$ac_exeext &&
27620 $as_test_x conftest
$ac_exeext; then
27621 eval "$as_ac_var=yes"
27623 echo "$as_me: failed program was:" >&5
27624 sed 's/^/| /' conftest.
$ac_ext >&5
27626 eval "$as_ac_var=no"
27629 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27630 conftest
$ac_exeext conftest.
$ac_ext
27632 ac_res
=`eval echo '${'$as_ac_var'}'`
27633 { echo "$as_me:$LINENO: result: $ac_res" >&5
27634 echo "${ECHO_T}$ac_res" >&6; }
27635 if test `eval echo '${'$as_ac_var'}'` = yes; then
27636 cat >>confdefs.h
<<_ACEOF
27637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27644 for ac_func
in ceil
27646 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27649 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27650 echo $ECHO_N "(cached) $ECHO_C" >&6
27652 cat >conftest.
$ac_ext <<_ACEOF
27655 cat confdefs.h
>>conftest.
$ac_ext
27656 cat >>conftest.
$ac_ext <<_ACEOF
27657 /* end confdefs.h. */
27658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27660 #define $ac_func innocuous_$ac_func
27662 /* System header to define __stub macros and hopefully few prototypes,
27663 which can conflict with char $ac_func (); below.
27664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27665 <limits.h> exists even on freestanding compilers. */
27668 # include <limits.h>
27670 # include <assert.h>
27675 /* Override any GCC internal prototype to avoid an error.
27676 Use char because int might match the return type of a GCC
27677 builtin and then its argument prototype would still apply. */
27682 /* The GNU C library defines this for functions which it implements
27683 to always fail with ENOSYS. Some functions are actually named
27684 something starting with __ and the normal name is an alias. */
27685 #if defined __stub_$ac_func || defined __stub___$ac_func
27692 return $ac_func ();
27697 rm -f conftest.
$ac_objext conftest
$ac_exeext
27698 if { (ac_try
="$ac_link"
27699 case "(($ac_try" in
27700 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27701 *) ac_try_echo=$ac_try;;
27703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27704 (eval "$ac_link") 2>conftest.er1
27706 grep -v '^ *+' conftest.er1 >conftest.err
27708 cat conftest.err >&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); } && {
27711 test -z "$ac_c_werror_flag" ||
27712 test ! -s conftest.err
27713 } && test -s conftest$ac_exeext &&
27714 $as_test_x conftest$ac_exeext; then
27715 eval "$as_ac_var=yes"
27717 echo "$as_me: failed program was:" >&5
27718 sed 's/^/| /' conftest.$ac_ext >&5
27720 eval "$as_ac_var=no"
27723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27724 conftest$ac_exeext conftest.$ac_ext
27726 ac_res=`eval echo '${'$as_ac_var'}'`
27727 { echo "$as_me:$LINENO: result: $ac_res" >&5
27728 echo "${ECHO_T}$ac_res" >&6; }
27729 if test `eval echo '${'$as_ac_var'}'` = yes; then
27730 cat >>confdefs.h <<_ACEOF
27731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27737 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
27738 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
27739 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
27740 { echo "$as_me:$LINENO: result: yes" >&5
27741 echo "${ECHO_T}yes" >&6; }
27743 { echo "$as_me:$LINENO: result: no" >&5
27744 echo "${ECHO_T}no" >&6; }
27745 # not sure we should warn the user, crash, etc.
27750 ac_cpp='$CXXCPP $CPPFLAGS'
27751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27755 if test "wxUSE_UNICODE" = "yes"; then
27757 for wx_func in wcstoull
27759 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27760 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27761 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27762 echo $ECHO_N "(cached) $ECHO_C" >&6
27765 cat >conftest.$ac_ext <<_ACEOF
27769 cat confdefs.h >>conftest.$ac_ext
27770 cat >>conftest.$ac_ext <<_ACEOF
27771 /* end confdefs.h. */
27774 $ac_includes_default
27790 rm -f conftest.$ac_objext conftest$ac_exeext
27791 if { (ac_try="$ac_link"
27792 case "(($ac_try" in
27793 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27794 *) ac_try_echo
=$ac_try;;
27796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27797 (eval "$ac_link") 2>conftest.er1
27799 grep -v '^ *+' conftest.er1
>conftest.err
27801 cat conftest.err
>&5
27802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27803 (exit $ac_status); } && {
27804 test -z "$ac_cxx_werror_flag" ||
27805 test ! -s conftest.err
27806 } && test -s conftest
$ac_exeext &&
27807 $as_test_x conftest
$ac_exeext; then
27808 eval wx_cv_func_
$wx_func=yes
27810 echo "$as_me: failed program was:" >&5
27811 sed 's/^/| /' conftest.
$ac_ext >&5
27813 eval wx_cv_func_
$wx_func=no
27816 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
27817 conftest
$ac_exeext conftest.
$ac_ext
27820 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
27821 { echo "$as_me:$LINENO: result: $ac_res" >&5
27822 echo "${ECHO_T}$ac_res" >&6; }
27824 if eval test \
$wx_cv_func_$wx_func = yes
27826 cat >>confdefs.h
<<_ACEOF
27827 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27839 for wx_func
in strtoull
27841 { echo "$as_me:$LINENO: checking for $wx_func" >&5
27842 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
27843 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
27844 echo $ECHO_N "(cached) $ECHO_C" >&6
27847 cat >conftest.
$ac_ext <<_ACEOF
27851 cat confdefs.h
>>conftest.
$ac_ext
27852 cat >>conftest.
$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27856 $ac_includes_default
27872 rm -f conftest.
$ac_objext conftest
$ac_exeext
27873 if { (ac_try
="$ac_link"
27874 case "(($ac_try" in
27875 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
27876 *) ac_try_echo=$ac_try;;
27878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27879 (eval "$ac_link") 2>conftest.er1
27881 grep -v '^ *+' conftest.er1 >conftest.err
27883 cat conftest.err >&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); } && {
27886 test -z "$ac_cxx_werror_flag" ||
27887 test ! -s conftest.err
27888 } && test -s conftest$ac_exeext &&
27889 $as_test_x conftest$ac_exeext; then
27890 eval wx_cv_func_$wx_func=yes
27892 echo "$as_me: failed program was:" >&5
27893 sed 's/^/| /' conftest.$ac_ext >&5
27895 eval wx_cv_func_$wx_func=no
27898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27899 conftest$ac_exeext conftest.$ac_ext
27902 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
27903 { echo "$as_me:$LINENO: result: $ac_res" >&5
27904 echo "${ECHO_T}$ac_res" >&6; }
27906 if eval test \$wx_cv_func_$wx_func = yes
27908 cat >>confdefs.h <<_ACEOF
27909 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
27921 ac_cpp='$CPP $CPPFLAGS'
27922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27929 if test "$wxUSE_REGEX" != "no"; then
27930 cat >>confdefs.h <<\_ACEOF
27931 #define wxUSE_REGEX 1
27935 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
27936 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
27937 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
27938 wxUSE_REGEX=builtin
27941 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
27942 { echo "$as_me:$LINENO: checking for regex.h" >&5
27943 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
27944 if test "${ac_cv_header_regex_h+set}" = set; then
27945 echo $ECHO_N "(cached) $ECHO_C" >&6
27947 cat >conftest.$ac_ext <<_ACEOF
27950 cat confdefs.h >>conftest.$ac_ext
27951 cat >>conftest.$ac_ext <<_ACEOF
27952 /* end confdefs.h. */
27957 rm -f conftest.$ac_objext
27958 if { (ac_try="$ac_compile"
27959 case "(($ac_try" in
27960 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
27961 *) ac_try_echo
=$ac_try;;
27963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27964 (eval "$ac_compile") 2>conftest.er1
27966 grep -v '^ *+' conftest.er1
>conftest.err
27968 cat conftest.err
>&5
27969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27970 (exit $ac_status); } && {
27971 test -z "$ac_c_werror_flag" ||
27972 test ! -s conftest.err
27973 } && test -s conftest.
$ac_objext; then
27974 ac_cv_header_regex_h
=yes
27976 echo "$as_me: failed program was:" >&5
27977 sed 's/^/| /' conftest.
$ac_ext >&5
27979 ac_cv_header_regex_h
=no
27982 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27984 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
27985 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
27986 if test $ac_cv_header_regex_h = yes; then
27989 for ac_func
in regcomp re_search
27991 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27992 { echo "$as_me:$LINENO: checking for $ac_func" >&5
27993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
27994 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
27995 echo $ECHO_N "(cached) $ECHO_C" >&6
27997 cat >conftest.
$ac_ext <<_ACEOF
28000 cat confdefs.h
>>conftest.
$ac_ext
28001 cat >>conftest.
$ac_ext <<_ACEOF
28002 /* end confdefs.h. */
28003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28005 #define $ac_func innocuous_$ac_func
28007 /* System header to define __stub macros and hopefully few prototypes,
28008 which can conflict with char $ac_func (); below.
28009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28010 <limits.h> exists even on freestanding compilers. */
28013 # include <limits.h>
28015 # include <assert.h>
28020 /* Override any GCC internal prototype to avoid an error.
28021 Use char because int might match the return type of a GCC
28022 builtin and then its argument prototype would still apply. */
28027 /* The GNU C library defines this for functions which it implements
28028 to always fail with ENOSYS. Some functions are actually named
28029 something starting with __ and the normal name is an alias. */
28030 #if defined __stub_$ac_func || defined __stub___$ac_func
28037 return $ac_func ();
28042 rm -f conftest.
$ac_objext conftest
$ac_exeext
28043 if { (ac_try
="$ac_link"
28044 case "(($ac_try" in
28045 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28046 *) ac_try_echo=$ac_try;;
28048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28049 (eval "$ac_link") 2>conftest.er1
28051 grep -v '^ *+' conftest.er1 >conftest.err
28053 cat conftest.err >&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); } && {
28056 test -z "$ac_c_werror_flag" ||
28057 test ! -s conftest.err
28058 } && test -s conftest$ac_exeext &&
28059 $as_test_x conftest$ac_exeext; then
28060 eval "$as_ac_var=yes"
28062 echo "$as_me: failed program was:" >&5
28063 sed 's/^/| /' conftest.$ac_ext >&5
28065 eval "$as_ac_var=no"
28068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28069 conftest$ac_exeext conftest.$ac_ext
28071 ac_res=`eval echo '${'$as_ac_var'}'`
28072 { echo "$as_me:$LINENO: result: $ac_res" >&5
28073 echo "${ECHO_T}$ac_res" >&6; }
28074 if test `eval echo '${'$as_ac_var'}'` = yes; then
28075 cat >>confdefs.h <<_ACEOF
28076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28086 if test "x$ac_cv_func_regcomp" != "xyes"; then
28087 if test "$wxUSE_REGEX" = "sys" ; then
28088 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
28089 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
28090 { (exit 1); exit 1; }; }
28092 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
28093 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
28094 wxUSE_REGEX=builtin
28098 cat >>confdefs.h <<\_ACEOF
28099 #define WX_NO_REGEX_ADVANCED 1
28108 if test "$wxUSE_ZLIB" != "no" ; then
28109 cat >>confdefs.h <<\_ACEOF
28110 #define wxUSE_ZLIB 1
28114 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
28115 if test "$USE_DARWIN" = 1; then
28116 system_zlib_h_ok="yes"
28118 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
28119 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
28120 if test "${ac_cv_header_zlib_h+set}" = set; then
28121 echo $ECHO_N "(cached) $ECHO_C" >&6
28123 if test "$cross_compiling" = yes; then
28124 unset ac_cv_header_zlib_h
28127 cat >conftest.$ac_ext <<_ACEOF
28130 cat confdefs.h >>conftest.$ac_ext
28131 cat >>conftest.$ac_ext <<_ACEOF
28132 /* end confdefs.h. */
28139 FILE *f=fopen("conftestval", "w");
28142 ZLIB_VERSION[0] == '1' &&
28143 (ZLIB_VERSION[2] > '1' ||
28144 (ZLIB_VERSION[2] == '1' &&
28145 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
28150 rm -f conftest$ac_exeext
28151 if { (ac_try="$ac_link"
28152 case "(($ac_try" in
28153 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28154 *) ac_try_echo
=$ac_try;;
28156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28157 (eval "$ac_link") 2>&5
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28161 { (case "(($ac_try" in
28162 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28163 *) ac_try_echo=$ac_try;;
28165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28166 (eval "$ac_try") 2>&5
28168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28169 (exit $ac_status); }; }; then
28170 ac_cv_header_zlib_h=`cat conftestval
`
28172 echo "$as_me: program exited with status $ac_status" >&5
28173 echo "$as_me: failed program was:" >&5
28174 sed 's/^/| /' conftest.$ac_ext >&5
28176 ( exit $ac_status )
28177 ac_cv_header_zlib_h=no
28179 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28185 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28186 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28187 { echo "$as_me:$LINENO: checking for zlib.h" >&5
28188 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
28189 if test "${ac_cv_header_zlib_h+set}" = set; then
28190 echo $ECHO_N "(cached) $ECHO_C" >&6
28192 cat >conftest.$ac_ext <<_ACEOF
28195 cat confdefs.h >>conftest.$ac_ext
28196 cat >>conftest.$ac_ext <<_ACEOF
28197 /* end confdefs.h. */
28202 rm -f conftest.$ac_objext
28203 if { (ac_try="$ac_compile"
28204 case "(($ac_try" in
28205 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28206 *) ac_try_echo
=$ac_try;;
28208 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28209 (eval "$ac_compile") 2>conftest.er1
28211 grep -v '^ *+' conftest.er1
>conftest.err
28213 cat conftest.err
>&5
28214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215 (exit $ac_status); } && {
28216 test -z "$ac_c_werror_flag" ||
28217 test ! -s conftest.err
28218 } && test -s conftest.
$ac_objext; then
28219 ac_cv_header_zlib_h
=yes
28221 echo "$as_me: failed program was:" >&5
28222 sed 's/^/| /' conftest.
$ac_ext >&5
28224 ac_cv_header_zlib_h
=no
28227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28229 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
28230 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
28234 system_zlib_h_ok
=$ac_cv_header_zlib_h
28237 if test "$system_zlib_h_ok" = "yes"; then
28238 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
28239 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
28240 if test "${ac_cv_lib_z_deflate+set}" = set; then
28241 echo $ECHO_N "(cached) $ECHO_C" >&6
28243 ac_check_lib_save_LIBS
=$LIBS
28245 cat >conftest.
$ac_ext <<_ACEOF
28248 cat confdefs.h
>>conftest.
$ac_ext
28249 cat >>conftest.
$ac_ext <<_ACEOF
28250 /* end confdefs.h. */
28252 /* Override any GCC internal prototype to avoid an error.
28253 Use char because int might match the return type of a GCC
28254 builtin and then its argument prototype would still apply. */
28267 rm -f conftest.
$ac_objext conftest
$ac_exeext
28268 if { (ac_try
="$ac_link"
28269 case "(($ac_try" in
28270 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28271 *) ac_try_echo=$ac_try;;
28273 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28274 (eval "$ac_link") 2>conftest.er1
28276 grep -v '^ *+' conftest.er1 >conftest.err
28278 cat conftest.err >&5
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); } && {
28281 test -z "$ac_c_werror_flag" ||
28282 test ! -s conftest.err
28283 } && test -s conftest$ac_exeext &&
28284 $as_test_x conftest$ac_exeext; then
28285 ac_cv_lib_z_deflate=yes
28287 echo "$as_me: failed program was:" >&5
28288 sed 's/^/| /' conftest.$ac_ext >&5
28290 ac_cv_lib_z_deflate=no
28293 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28294 conftest$ac_exeext conftest.$ac_ext
28295 LIBS=$ac_check_lib_save_LIBS
28297 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
28298 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
28299 if test $ac_cv_lib_z_deflate = yes; then
28305 if test "x$ZLIB_LINK" = "x" ; then
28306 if test "$wxUSE_ZLIB" = "sys" ; then
28307 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
28308 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
28309 { (exit 1); exit 1; }; }
28311 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
28312 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
28323 if test "$wxUSE_LIBPNG" != "no" ; then
28324 cat >>confdefs.h <<\_ACEOF
28325 #define wxUSE_LIBPNG 1
28329 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
28330 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
28331 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
28335 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
28336 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
28337 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
28338 wxUSE_LIBPNG=builtin
28341 if test "$wxUSE_MGL" != 1 ; then
28342 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
28343 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
28344 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
28345 if test "${ac_cv_header_png_h+set}" = set; then
28346 echo $ECHO_N "(cached) $ECHO_C" >&6
28348 if test "$cross_compiling" = yes; then
28349 unset ac_cv_header_png_h
28352 cat >conftest.$ac_ext <<_ACEOF
28355 cat confdefs.h >>conftest.$ac_ext
28356 cat >>conftest.$ac_ext <<_ACEOF
28357 /* end confdefs.h. */
28364 FILE *f=fopen("conftestval", "w");
28367 PNG_LIBPNG_VER > 90 ? "yes" : "no");
28372 rm -f conftest$ac_exeext
28373 if { (ac_try="$ac_link"
28374 case "(($ac_try" in
28375 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28376 *) ac_try_echo
=$ac_try;;
28378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28379 (eval "$ac_link") 2>&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
28383 { (case "(($ac_try" in
28384 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28385 *) ac_try_echo=$ac_try;;
28387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28388 (eval "$ac_try") 2>&5
28390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28391 (exit $ac_status); }; }; then
28392 ac_cv_header_png_h=`cat conftestval
`
28394 echo "$as_me: program exited with status $ac_status" >&5
28395 echo "$as_me: failed program was:" >&5
28396 sed 's/^/| /' conftest.$ac_ext >&5
28398 ( exit $ac_status )
28399 ac_cv_header_png_h=no
28401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28407 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28408 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28409 { echo "$as_me:$LINENO: checking for png.h" >&5
28410 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
28411 if test "${ac_cv_header_png_h+set}" = set; then
28412 echo $ECHO_N "(cached) $ECHO_C" >&6
28414 cat >conftest.$ac_ext <<_ACEOF
28417 cat confdefs.h >>conftest.$ac_ext
28418 cat >>conftest.$ac_ext <<_ACEOF
28419 /* end confdefs.h. */
28424 rm -f conftest.$ac_objext
28425 if { (ac_try="$ac_compile"
28426 case "(($ac_try" in
28427 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28428 *) ac_try_echo
=$ac_try;;
28430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28431 (eval "$ac_compile") 2>conftest.er1
28433 grep -v '^ *+' conftest.er1
>conftest.err
28435 cat conftest.err
>&5
28436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28437 (exit $ac_status); } && {
28438 test -z "$ac_c_werror_flag" ||
28439 test ! -s conftest.err
28440 } && test -s conftest.
$ac_objext; then
28441 ac_cv_header_png_h
=yes
28443 echo "$as_me: failed program was:" >&5
28444 sed 's/^/| /' conftest.
$ac_ext >&5
28446 ac_cv_header_png_h
=no
28449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28451 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
28452 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
28456 if test "$ac_cv_header_png_h" = "yes"; then
28457 { echo "$as_me:$LINENO: checking for png_sig_cmp in -lpng" >&5
28458 echo $ECHO_N "checking for png_sig_cmp in -lpng... $ECHO_C" >&6; }
28459 if test "${ac_cv_lib_png_png_sig_cmp+set}" = set; then
28460 echo $ECHO_N "(cached) $ECHO_C" >&6
28462 ac_check_lib_save_LIBS
=$LIBS
28463 LIBS
="-lpng -lz -lm $LIBS"
28464 cat >conftest.
$ac_ext <<_ACEOF
28467 cat confdefs.h
>>conftest.
$ac_ext
28468 cat >>conftest.
$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28471 /* Override any GCC internal prototype to avoid an error.
28472 Use char because int might match the return type of a GCC
28473 builtin and then its argument prototype would still apply. */
28477 char png_sig_cmp ();
28481 return png_sig_cmp ();
28486 rm -f conftest.
$ac_objext conftest
$ac_exeext
28487 if { (ac_try
="$ac_link"
28488 case "(($ac_try" in
28489 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28490 *) ac_try_echo=$ac_try;;
28492 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28493 (eval "$ac_link") 2>conftest.er1
28495 grep -v '^ *+' conftest.er1 >conftest.err
28497 cat conftest.err >&5
28498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28499 (exit $ac_status); } && {
28500 test -z "$ac_c_werror_flag" ||
28501 test ! -s conftest.err
28502 } && test -s conftest$ac_exeext &&
28503 $as_test_x conftest$ac_exeext; then
28504 ac_cv_lib_png_png_sig_cmp=yes
28506 echo "$as_me: failed program was:" >&5
28507 sed 's/^/| /' conftest.$ac_ext >&5
28509 ac_cv_lib_png_png_sig_cmp=no
28512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28513 conftest$ac_exeext conftest.$ac_ext
28514 LIBS=$ac_check_lib_save_LIBS
28516 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_sig_cmp" >&5
28517 echo "${ECHO_T}$ac_cv_lib_png_png_sig_cmp" >&6; }
28518 if test $ac_cv_lib_png_png_sig_cmp = yes; then
28519 PNG_LINK=" -lpng -lz"
28524 if test "x$PNG_LINK" = "x" ; then
28525 if test "$wxUSE_LIBPNG" = "sys" ; then
28526 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
28527 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
28528 { (exit 1); exit 1; }; }
28530 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
28531 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
28532 wxUSE_LIBPNG=builtin
28543 if test "$wxUSE_LIBJPEG" != "no" ; then
28544 cat >>confdefs.h <<\_ACEOF
28545 #define wxUSE_LIBJPEG 1
28549 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
28550 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
28551 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
28555 if test "$wxUSE_MGL" != 1 ; then
28556 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
28557 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
28558 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
28559 if test "${ac_cv_header_jpeglib_h+set}" = set; then
28560 echo $ECHO_N "(cached) $ECHO_C" >&6
28562 cat >conftest.$ac_ext <<_ACEOF
28565 cat confdefs.h >>conftest.$ac_ext
28566 cat >>conftest.$ac_ext <<_ACEOF
28567 /* end confdefs.h. */
28569 #undef HAVE_STDLIB_H
28571 #include <jpeglib.h>
28582 rm -f conftest.$ac_objext
28583 if { (ac_try="$ac_compile"
28584 case "(($ac_try" in
28585 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28586 *) ac_try_echo
=$ac_try;;
28588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28589 (eval "$ac_compile") 2>conftest.er1
28591 grep -v '^ *+' conftest.er1
>conftest.err
28593 cat conftest.err
>&5
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); } && {
28596 test -z "$ac_c_werror_flag" ||
28597 test ! -s conftest.err
28598 } && test -s conftest.
$ac_objext; then
28599 ac_cv_header_jpeglib_h
=yes
28601 echo "$as_me: failed program was:" >&5
28602 sed 's/^/| /' conftest.
$ac_ext >&5
28604 ac_cv_header_jpeglib_h
=no
28608 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28612 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
28613 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
28615 if test "$ac_cv_header_jpeglib_h" = "yes"; then
28616 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
28617 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
28618 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
28619 echo $ECHO_N "(cached) $ECHO_C" >&6
28621 ac_check_lib_save_LIBS
=$LIBS
28622 LIBS
="-ljpeg $LIBS"
28623 cat >conftest.
$ac_ext <<_ACEOF
28626 cat confdefs.h
>>conftest.
$ac_ext
28627 cat >>conftest.
$ac_ext <<_ACEOF
28628 /* end confdefs.h. */
28630 /* Override any GCC internal prototype to avoid an error.
28631 Use char because int might match the return type of a GCC
28632 builtin and then its argument prototype would still apply. */
28636 char jpeg_read_header ();
28640 return jpeg_read_header ();
28645 rm -f conftest.
$ac_objext conftest
$ac_exeext
28646 if { (ac_try
="$ac_link"
28647 case "(($ac_try" in
28648 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28649 *) ac_try_echo=$ac_try;;
28651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28652 (eval "$ac_link") 2>conftest.er1
28654 grep -v '^ *+' conftest.er1 >conftest.err
28656 cat conftest.err >&5
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); } && {
28659 test -z "$ac_c_werror_flag" ||
28660 test ! -s conftest.err
28661 } && test -s conftest$ac_exeext &&
28662 $as_test_x conftest$ac_exeext; then
28663 ac_cv_lib_jpeg_jpeg_read_header=yes
28665 echo "$as_me: failed program was:" >&5
28666 sed 's/^/| /' conftest.$ac_ext >&5
28668 ac_cv_lib_jpeg_jpeg_read_header=no
28671 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28672 conftest$ac_exeext conftest.$ac_ext
28673 LIBS=$ac_check_lib_save_LIBS
28675 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
28676 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
28677 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
28678 JPEG_LINK=" -ljpeg"
28683 if test "x$JPEG_LINK" = "x" ; then
28684 if test "$wxUSE_LIBJPEG" = "sys" ; then
28685 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
28686 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
28687 { (exit 1); exit 1; }; }
28689 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
28690 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
28691 wxUSE_LIBJPEG=builtin
28696 if test "$wxUSE_MSW" = 1; then
28697 { echo "$as_me:$LINENO: checking for boolean" >&5
28698 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28699 if test "${ac_cv_type_boolean+set}" = set; then
28700 echo $ECHO_N "(cached) $ECHO_C" >&6
28702 cat >conftest.$ac_ext <<_ACEOF
28705 cat confdefs.h >>conftest.$ac_ext
28706 cat >>conftest.$ac_ext <<_ACEOF
28707 /* end confdefs.h. */
28708 #include <windows.h>
28710 typedef boolean ac__type_new_;
28714 if ((ac__type_new_ *) 0)
28716 if (sizeof (ac__type_new_))
28722 rm -f conftest.$ac_objext
28723 if { (ac_try="$ac_compile"
28724 case "(($ac_try" in
28725 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
28726 *) ac_try_echo
=$ac_try;;
28728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28729 (eval "$ac_compile") 2>conftest.er1
28731 grep -v '^ *+' conftest.er1
>conftest.err
28733 cat conftest.err
>&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); } && {
28736 test -z "$ac_c_werror_flag" ||
28737 test ! -s conftest.err
28738 } && test -s conftest.
$ac_objext; then
28739 ac_cv_type_boolean
=yes
28741 echo "$as_me: failed program was:" >&5
28742 sed 's/^/| /' conftest.
$ac_ext >&5
28744 ac_cv_type_boolean
=no
28747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28749 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28750 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28751 if test $ac_cv_type_boolean = yes; then
28753 cat >>confdefs.h
<<_ACEOF
28754 #define HAVE_BOOLEAN 1
28758 { echo "$as_me:$LINENO: checking for boolean" >&5
28759 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
28760 if test "${ac_cv_type_boolean+set}" = set; then
28761 echo $ECHO_N "(cached) $ECHO_C" >&6
28763 cat >conftest.
$ac_ext <<_ACEOF
28766 cat confdefs.h
>>conftest.
$ac_ext
28767 cat >>conftest.
$ac_ext <<_ACEOF
28768 /* end confdefs.h. */
28770 #undef HAVE_BOOLEAN
28772 #include <jpeglib.h>
28775 typedef boolean ac__type_new_;
28779 if ((ac__type_new_ *) 0)
28781 if (sizeof (ac__type_new_))
28787 rm -f conftest.
$ac_objext
28788 if { (ac_try
="$ac_compile"
28789 case "(($ac_try" in
28790 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
28791 *) ac_try_echo=$ac_try;;
28793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28794 (eval "$ac_compile") 2>conftest.er1
28796 grep -v '^ *+' conftest.er1 >conftest.err
28798 cat conftest.err >&5
28799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28800 (exit $ac_status); } && {
28801 test -z "$ac_c_werror_flag" ||
28802 test ! -s conftest.err
28803 } && test -s conftest.$ac_objext; then
28804 ac_cv_type_boolean=yes
28806 echo "$as_me: failed program was:" >&5
28807 sed 's/^/| /' conftest.$ac_ext >&5
28809 ac_cv_type_boolean=no
28812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28814 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
28815 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
28817 # The cast to long int works around a bug in the HP C Compiler
28818 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
28819 # declarations like `int a3
[[(sizeof
(unsigned char
)) >= 0]];'.
28820 # This bug is HP SR number 8606223364.
28821 { echo "$as_me:$LINENO: checking size of boolean" >&5
28822 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
28823 if test "${ac_cv_sizeof_boolean+set}" = set; then
28824 echo $ECHO_N "(cached) $ECHO_C" >&6
28826 if test "$cross_compiling" = yes; then
28827 # Depending upon the size, compute the lo and hi bounds.
28828 cat >conftest.$ac_ext <<_ACEOF
28831 cat confdefs.h >>conftest.$ac_ext
28832 cat >>conftest.$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28835 #undef HAVE_BOOLEAN
28837 #include <jpeglib.h>
28840 typedef boolean ac__type_sizeof_;
28844 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
28851 rm -f conftest.$ac_objext
28852 if { (ac_try="$ac_compile"
28853 case "(($ac_try" in
28854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28855 *) ac_try_echo=$ac_try;;
28857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28858 (eval "$ac_compile") 2>conftest.er1
28860 grep -v '^
*+' conftest.er1 >conftest.err
28862 cat conftest.err >&5
28863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28864 (exit $ac_status); } && {
28865 test -z "$ac_c_werror_flag" ||
28866 test ! -s conftest.err
28867 } && test -s conftest.$ac_objext; then
28870 cat >conftest.$ac_ext <<_ACEOF
28873 cat confdefs.h >>conftest.$ac_ext
28874 cat >>conftest.$ac_ext <<_ACEOF
28875 /* end confdefs.h. */
28877 #undef HAVE_BOOLEAN
28879 #include <jpeglib.h>
28882 typedef boolean ac__type_sizeof_;
28886 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
28893 rm -f conftest.$ac_objext
28894 if { (ac_try="$ac_compile"
28895 case "(($ac_try" in
28896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28897 *) ac_try_echo=$ac_try;;
28899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28900 (eval "$ac_compile") 2>conftest.er1
28902 grep -v '^
*+' conftest.er1 >conftest.err
28904 cat conftest.err >&5
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); } && {
28907 test -z "$ac_c_werror_flag" ||
28908 test ! -s conftest.err
28909 } && test -s conftest.$ac_objext; then
28910 ac_hi=$ac_mid; break
28912 echo "$as_me: failed program was:" >&5
28913 sed 's
/^
/| /' conftest.$ac_ext >&5
28915 ac_lo=`expr $ac_mid + 1`
28916 if test $ac_lo -le $ac_mid; then
28920 ac_mid=`expr 2 '*' $ac_mid + 1`
28923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28926 echo "$as_me: failed program was:" >&5
28927 sed 's
/^
/| /' conftest.$ac_ext >&5
28929 cat >conftest.$ac_ext <<_ACEOF
28932 cat confdefs.h >>conftest.$ac_ext
28933 cat >>conftest.$ac_ext <<_ACEOF
28934 /* end confdefs.h. */
28936 #undef HAVE_BOOLEAN
28938 #include <jpeglib.h>
28941 typedef boolean ac__type_sizeof_;
28945 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
28952 rm -f conftest.$ac_objext
28953 if { (ac_try="$ac_compile"
28954 case "(($ac_try" in
28955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28956 *) ac_try_echo=$ac_try;;
28958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28959 (eval "$ac_compile") 2>conftest.er1
28961 grep -v '^
*+' conftest.er1 >conftest.err
28963 cat conftest.err >&5
28964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28965 (exit $ac_status); } && {
28966 test -z "$ac_c_werror_flag" ||
28967 test ! -s conftest.err
28968 } && test -s conftest.$ac_objext; then
28971 cat >conftest.$ac_ext <<_ACEOF
28974 cat confdefs.h >>conftest.$ac_ext
28975 cat >>conftest.$ac_ext <<_ACEOF
28976 /* end confdefs.h. */
28978 #undef HAVE_BOOLEAN
28980 #include <jpeglib.h>
28983 typedef boolean ac__type_sizeof_;
28987 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
28994 rm -f conftest.$ac_objext
28995 if { (ac_try="$ac_compile"
28996 case "(($ac_try" in
28997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28998 *) ac_try_echo=$ac_try;;
29000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29001 (eval "$ac_compile") 2>conftest.er1
29003 grep -v '^
*+' conftest.er1 >conftest.err
29005 cat conftest.err >&5
29006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29007 (exit $ac_status); } && {
29008 test -z "$ac_c_werror_flag" ||
29009 test ! -s conftest.err
29010 } && test -s conftest.$ac_objext; then
29011 ac_lo=$ac_mid; break
29013 echo "$as_me: failed program was:" >&5
29014 sed 's
/^
/| /' conftest.$ac_ext >&5
29016 ac_hi=`expr '(' $ac_mid ')' - 1`
29017 if test $ac_mid -le $ac_hi; then
29021 ac_mid=`expr 2 '*' $ac_mid`
29024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29027 echo "$as_me: failed program was:" >&5
29028 sed 's
/^
/| /' conftest.$ac_ext >&5
29033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29037 # Binary search between lo and hi bounds.
29038 while test "x$ac_lo" != "x$ac_hi"; do
29039 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
29040 cat >conftest.$ac_ext <<_ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29047 #undef HAVE_BOOLEAN
29049 #include <jpeglib.h>
29052 typedef boolean ac__type_sizeof_;
29056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
29063 rm -f conftest.$ac_objext
29064 if { (ac_try="$ac_compile"
29065 case "(($ac_try" in
29066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29067 *) ac_try_echo=$ac_try;;
29069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29070 (eval "$ac_compile") 2>conftest.er1
29072 grep -v '^
*+' conftest.er1 >conftest.err
29074 cat conftest.err >&5
29075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29076 (exit $ac_status); } && {
29077 test -z "$ac_c_werror_flag" ||
29078 test ! -s conftest.err
29079 } && test -s conftest.$ac_objext; then
29082 echo "$as_me: failed program was:" >&5
29083 sed 's
/^
/| /' conftest.$ac_ext >&5
29085 ac_lo=`expr '(' $ac_mid ')' + 1`
29088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29091 ?*) ac_cv_sizeof_boolean=$ac_lo;;
29092 '') if test "$ac_cv_type_boolean" = yes; then
29093 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29094 See \`config.log' for more details.
" >&5
29095 echo "$as_me: error
: cannot compute sizeof
(boolean
)
29096 See \
`config.log' for more details." >&2;}
29097 { (exit 77); exit 77; }; }
29099 ac_cv_sizeof_boolean=0
29103 cat >conftest.$ac_ext <<_ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29110 #undef HAVE_BOOLEAN
29112 #include <jpeglib.h>
29115 typedef boolean ac__type_sizeof_;
29116 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
29117 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
29119 #include <stdlib.h>
29124 FILE *f = fopen ("conftest.val", "w");
29127 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
29129 long int i = longval ();
29130 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29132 fprintf (f, "%ld\n", i);
29136 unsigned long int i = ulongval ();
29137 if (i != ((long int) (sizeof (ac__type_sizeof_))))
29139 fprintf (f, "%lu\n", i);
29141 return ferror (f) || fclose (f) != 0;
29147 rm -f conftest$ac_exeext
29148 if { (ac_try="$ac_link"
29149 case "(($ac_try" in
29150 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
29151 *) ac_try_echo
=$ac_try;;
29153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29154 (eval "$ac_link") 2>&5
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
29158 { (case "(($ac_try" in
29159 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
29160 *) ac_try_echo=$ac_try;;
29162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29163 (eval "$ac_try") 2>&5
29165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29166 (exit $ac_status); }; }; then
29167 ac_cv_sizeof_boolean=`cat conftest.val
`
29169 echo "$as_me: program exited with status $ac_status" >&5
29170 echo "$as_me: failed program was:" >&5
29171 sed 's/^/| /' conftest.$ac_ext >&5
29173 ( exit $ac_status )
29174 if test "$ac_cv_type_boolean" = yes; then
29175 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
29176 See \`config.log
' for more details." >&5
29177 echo "$as_me: error: cannot compute sizeof (boolean)
29178 See \`config.log' for more details.
" >&2;}
29179 { (exit 77); exit 77; }; }
29181 ac_cv_sizeof_boolean=0
29184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29188 { echo "$as_me:$LINENO: result
: $ac_cv_sizeof_boolean" >&5
29189 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
29193 cat >>confdefs.h <<_ACEOF
29194 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
29198 cat >>confdefs.h <<_ACEOF
29199 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
29213 TIFF_PREREQ_LINKS=-lm
29214 if test "$wxUSE_LIBTIFF" != "no
" ; then
29215 cat >>confdefs.h <<\_ACEOF
29216 #define wxUSE_LIBTIFF 1
29220 if test "$wxUSE_LIBTIFF" = "sys
" -o "$wxUSE_LIBTIFF" = "yes" ; then
29221 if test "$wxUSE_LIBJPEG" = "sys
"; then
29222 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
29224 if test "$wxUSE_ZLIB" = "sys
"; then
29225 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
29227 { echo "$as_me:$LINENO: checking
for tiffio.h
" >&5
29228 echo $ECHO_N "checking
for tiffio.h...
$ECHO_C" >&6; }
29229 if test "${ac_cv_header_tiffio_h+set}" = set; then
29230 echo $ECHO_N "(cached
) $ECHO_C" >&6
29232 cat >conftest.$ac_ext <<_ACEOF
29235 cat confdefs.h >>conftest.$ac_ext
29236 cat >>conftest.$ac_ext <<_ACEOF
29237 /* end confdefs.h. */
29241 #include <tiffio.h>
29243 rm -f conftest.$ac_objext
29244 if { (ac_try="$ac_compile"
29245 case "(($ac_try" in
29246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29247 *) ac_try_echo=$ac_try;;
29249 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29250 (eval "$ac_compile") 2>conftest.er1
29252 grep -v '^ *+' conftest.er1 >conftest.err
29254 cat conftest.err >&5
29255 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29256 (exit $ac_status); } && {
29257 test -z "$ac_c_werror_flag" ||
29258 test ! -s conftest.err
29259 } && test -s conftest.$ac_objext; then
29260 ac_cv_header_tiffio_h=yes
29262 echo "$as_me: failed program was
:" >&5
29263 sed 's/^/| /' conftest.$ac_ext >&5
29265 ac_cv_header_tiffio_h=no
29268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29270 { echo "$as_me:$LINENO: result
: $ac_cv_header_tiffio_h" >&5
29271 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
29272 if test $ac_cv_header_tiffio_h = yes; then
29274 { echo "$as_me:$LINENO: checking
for TIFFError
in -ltiff" >&5
29275 echo $ECHO_N "checking
for TIFFError
in -ltiff...
$ECHO_C" >&6; }
29276 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
29277 echo $ECHO_N "(cached
) $ECHO_C" >&6
29279 ac_check_lib_save_LIBS=$LIBS
29280 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
29281 cat >conftest.$ac_ext <<_ACEOF
29284 cat confdefs.h >>conftest.$ac_ext
29285 cat >>conftest.$ac_ext <<_ACEOF
29286 /* end confdefs.h. */
29288 /* Override any GCC internal prototype to avoid an error.
29289 Use char because int might match the return type of a GCC
29290 builtin and then its argument prototype would still apply. */
29298 return TIFFError ();
29303 rm -f conftest.$ac_objext conftest$ac_exeext
29304 if { (ac_try="$ac_link"
29305 case "(($ac_try" in
29306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29307 *) ac_try_echo=$ac_try;;
29309 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29310 (eval "$ac_link") 2>conftest.er1
29312 grep -v '^ *+' conftest.er1 >conftest.err
29314 cat conftest.err >&5
29315 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29316 (exit $ac_status); } && {
29317 test -z "$ac_c_werror_flag" ||
29318 test ! -s conftest.err
29319 } && test -s conftest$ac_exeext &&
29320 $as_test_x conftest$ac_exeext; then
29321 ac_cv_lib_tiff_TIFFError=yes
29323 echo "$as_me: failed program was
:" >&5
29324 sed 's/^/| /' conftest.$ac_ext >&5
29326 ac_cv_lib_tiff_TIFFError=no
29329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29330 conftest$ac_exeext conftest.$ac_ext
29331 LIBS=$ac_check_lib_save_LIBS
29333 { echo "$as_me:$LINENO: result
: $ac_cv_lib_tiff_TIFFError" >&5
29334 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
29335 if test $ac_cv_lib_tiff_TIFFError = yes; then
29336 TIFF_LINK=" -ltiff"
29344 if test "x
$TIFF_LINK" = "x
" ; then
29345 if test "$wxUSE_LIBTIFF" = "sys
" ; then
29346 { { echo "$as_me:$LINENO: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&5
29347 echo "$as_me: error
: system tiff library not found
! Use
--with-libtiff=builtin to use built
-in version
" >&2;}
29348 { (exit 1); exit 1; }; }
29350 { echo "$as_me:$LINENO: WARNING
: system tiff library not found
, will use built
-in instead
" >&5
29351 echo "$as_me: WARNING
: system tiff library not found
, will use built
-in instead
" >&2;}
29352 wxUSE_LIBTIFF=builtin
29358 if test "$wxUSE_LIBTIFF" = "builtin" ; then
29359 if test "$wxUSE_LIBJPEG" = "no
"; then
29360 ac_configure_args="$ac_configure_args --disable-jpeg"
29362 subdirs="$subdirs src
/tiff
"
29368 if test "$wxUSE_EXPAT" != "no
"; then
29370 cat >>confdefs.h <<\_ACEOF
29371 #define wxUSE_EXPAT 1
29374 cat >>confdefs.h <<\_ACEOF
29375 #define wxUSE_XML 1
29379 if test "$wxUSE_EXPAT" = "sys
" -o "$wxUSE_EXPAT" = "yes" ; then
29380 { echo "$as_me:$LINENO: checking
for expat.h
" >&5
29381 echo $ECHO_N "checking
for expat.h...
$ECHO_C" >&6; }
29382 if test "${ac_cv_header_expat_h+set}" = set; then
29383 echo $ECHO_N "(cached
) $ECHO_C" >&6
29385 cat >conftest.$ac_ext <<_ACEOF
29388 cat confdefs.h >>conftest.$ac_ext
29389 cat >>conftest.$ac_ext <<_ACEOF
29390 /* end confdefs.h. */
29395 rm -f conftest.$ac_objext
29396 if { (ac_try="$ac_compile"
29397 case "(($ac_try" in
29398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29399 *) ac_try_echo=$ac_try;;
29401 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29402 (eval "$ac_compile") 2>conftest.er1
29404 grep -v '^ *+' conftest.er1 >conftest.err
29406 cat conftest.err >&5
29407 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29408 (exit $ac_status); } && {
29409 test -z "$ac_c_werror_flag" ||
29410 test ! -s conftest.err
29411 } && test -s conftest.$ac_objext; then
29412 ac_cv_header_expat_h=yes
29414 echo "$as_me: failed program was
:" >&5
29415 sed 's/^/| /' conftest.$ac_ext >&5
29417 ac_cv_header_expat_h=no
29420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29422 { echo "$as_me:$LINENO: result
: $ac_cv_header_expat_h" >&5
29423 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
29424 if test $ac_cv_header_expat_h = yes; then
29429 if test "x
$found_expat_h" = "x1
"; then
29430 { echo "$as_me:$LINENO: checking
if expat.h is valid C
++ header
" >&5
29431 echo $ECHO_N "checking
if expat.h is valid C
++ header...
$ECHO_C" >&6; }
29432 if test "${wx_cv_expat_is_not_broken+set}" = set; then
29433 echo $ECHO_N "(cached
) $ECHO_C" >&6
29437 ac_cpp='$CXXCPP $CPPFLAGS'
29438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29442 cat >conftest.$ac_ext <<_ACEOF
29445 cat confdefs.h >>conftest.$ac_ext
29446 cat >>conftest.$ac_ext <<_ACEOF
29447 /* end confdefs.h. */
29457 rm -f conftest.$ac_objext
29458 if { (ac_try="$ac_compile"
29459 case "(($ac_try" in
29460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29461 *) ac_try_echo=$ac_try;;
29463 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29464 (eval "$ac_compile") 2>conftest.er1
29466 grep -v '^ *+' conftest.er1 >conftest.err
29468 cat conftest.err >&5
29469 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29470 (exit $ac_status); } && {
29471 test -z "$ac_cxx_werror_flag" ||
29472 test ! -s conftest.err
29473 } && test -s conftest.$ac_objext; then
29474 wx_cv_expat_is_not_broken=yes
29476 echo "$as_me: failed program was
:" >&5
29477 sed 's/^/| /' conftest.$ac_ext >&5
29479 wx_cv_expat_is_not_broken=no
29483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29485 ac_cpp='$CPP $CPPFLAGS'
29486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29493 { echo "$as_me:$LINENO: result
: $wx_cv_expat_is_not_broken" >&5
29494 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
29495 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
29496 { echo "$as_me:$LINENO: checking
for XML_ParserCreate
in -lexpat" >&5
29497 echo $ECHO_N "checking
for XML_ParserCreate
in -lexpat...
$ECHO_C" >&6; }
29498 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
29499 echo $ECHO_N "(cached
) $ECHO_C" >&6
29501 ac_check_lib_save_LIBS=$LIBS
29502 LIBS="-lexpat $LIBS"
29503 cat >conftest.$ac_ext <<_ACEOF
29506 cat confdefs.h >>conftest.$ac_ext
29507 cat >>conftest.$ac_ext <<_ACEOF
29508 /* end confdefs.h. */
29510 /* Override any GCC internal prototype to avoid an error.
29511 Use char because int might match the return type of a GCC
29512 builtin and then its argument prototype would still apply. */
29516 char XML_ParserCreate ();
29520 return XML_ParserCreate ();
29525 rm -f conftest.$ac_objext conftest$ac_exeext
29526 if { (ac_try="$ac_link"
29527 case "(($ac_try" in
29528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29529 *) ac_try_echo=$ac_try;;
29531 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29532 (eval "$ac_link") 2>conftest.er1
29534 grep -v '^ *+' conftest.er1 >conftest.err
29536 cat conftest.err >&5
29537 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29538 (exit $ac_status); } && {
29539 test -z "$ac_c_werror_flag" ||
29540 test ! -s conftest.err
29541 } && test -s conftest$ac_exeext &&
29542 $as_test_x conftest$ac_exeext; then
29543 ac_cv_lib_expat_XML_ParserCreate=yes
29545 echo "$as_me: failed program was
:" >&5
29546 sed 's/^/| /' conftest.$ac_ext >&5
29548 ac_cv_lib_expat_XML_ParserCreate=no
29551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29552 conftest$ac_exeext conftest.$ac_ext
29553 LIBS=$ac_check_lib_save_LIBS
29555 { echo "$as_me:$LINENO: result
: $ac_cv_lib_expat_XML_ParserCreate" >&5
29556 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
29557 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
29558 EXPAT_LINK=" -lexpat"
29563 if test "x
$EXPAT_LINK" = "x
" ; then
29564 if test "$wxUSE_EXPAT" = "sys
" ; then
29565 { { echo "$as_me:$LINENO: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&5
29566 echo "$as_me: error
: system expat library not found
! Use
--with-expat=builtin to use built
-in version
" >&2;}
29567 { (exit 1); exit 1; }; }
29569 { echo "$as_me:$LINENO: WARNING
: system expat library not found
, will use built
-in instead
" >&5
29570 echo "$as_me: WARNING
: system expat library not found
, will use built
-in instead
" >&2;}
29571 wxUSE_EXPAT=builtin
29577 if test "$wxUSE_EXPAT" = "builtin" ; then
29578 subdirs="$subdirs src
/expat
"
29585 if test "$wxUSE_LIBMSPACK" != "no
"; then
29586 { echo "$as_me:$LINENO: checking
for mspack.h
" >&5
29587 echo $ECHO_N "checking
for mspack.h...
$ECHO_C" >&6; }
29588 if test "${ac_cv_header_mspack_h+set}" = set; then
29589 echo $ECHO_N "(cached
) $ECHO_C" >&6
29591 cat >conftest.$ac_ext <<_ACEOF
29594 cat confdefs.h >>conftest.$ac_ext
29595 cat >>conftest.$ac_ext <<_ACEOF
29596 /* end confdefs.h. */
29599 #include <mspack.h>
29601 rm -f conftest.$ac_objext
29602 if { (ac_try="$ac_compile"
29603 case "(($ac_try" in
29604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29605 *) ac_try_echo=$ac_try;;
29607 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29608 (eval "$ac_compile") 2>conftest.er1
29610 grep -v '^ *+' conftest.er1 >conftest.err
29612 cat conftest.err >&5
29613 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29614 (exit $ac_status); } && {
29615 test -z "$ac_c_werror_flag" ||
29616 test ! -s conftest.err
29617 } && test -s conftest.$ac_objext; then
29618 ac_cv_header_mspack_h=yes
29620 echo "$as_me: failed program was
:" >&5
29621 sed 's/^/| /' conftest.$ac_ext >&5
29623 ac_cv_header_mspack_h=no
29626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29628 { echo "$as_me:$LINENO: result
: $ac_cv_header_mspack_h" >&5
29629 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
29630 if test $ac_cv_header_mspack_h = yes; then
29635 if test "x
$found_mspack_h" = "x1
"; then
29636 { echo "$as_me:$LINENO: checking
for mspack_create_chm_decompressor
in -lmspack" >&5
29637 echo $ECHO_N "checking
for mspack_create_chm_decompressor
in -lmspack...
$ECHO_C" >&6; }
29638 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
29639 echo $ECHO_N "(cached
) $ECHO_C" >&6
29641 ac_check_lib_save_LIBS=$LIBS
29642 LIBS="-lmspack $LIBS"
29643 cat >conftest.$ac_ext <<_ACEOF
29646 cat confdefs.h >>conftest.$ac_ext
29647 cat >>conftest.$ac_ext <<_ACEOF
29648 /* end confdefs.h. */
29650 /* Override any GCC internal prototype to avoid an error.
29651 Use char because int might match the return type of a GCC
29652 builtin and then its argument prototype would still apply. */
29656 char mspack_create_chm_decompressor ();
29660 return mspack_create_chm_decompressor ();
29665 rm -f conftest.$ac_objext conftest$ac_exeext
29666 if { (ac_try="$ac_link"
29667 case "(($ac_try" in
29668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29669 *) ac_try_echo=$ac_try;;
29671 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29672 (eval "$ac_link") 2>conftest.er1
29674 grep -v '^ *+' conftest.er1 >conftest.err
29676 cat conftest.err >&5
29677 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29678 (exit $ac_status); } && {
29679 test -z "$ac_c_werror_flag" ||
29680 test ! -s conftest.err
29681 } && test -s conftest$ac_exeext &&
29682 $as_test_x conftest$ac_exeext; then
29683 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
29685 echo "$as_me: failed program was
:" >&5
29686 sed 's/^/| /' conftest.$ac_ext >&5
29688 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
29691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29692 conftest$ac_exeext conftest.$ac_ext
29693 LIBS=$ac_check_lib_save_LIBS
29695 { echo "$as_me:$LINENO: result
: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
29696 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
29697 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
29698 MSPACK_LINK=" -lmspack"
29702 if test "x
$MSPACK_LINK" = "x
" ; then
29707 if test "$wxUSE_LIBMSPACK" != "no
"; then
29708 cat >>confdefs.h <<\_ACEOF
29709 #define wxUSE_LIBMSPACK 1
29723 if test "$USE_WIN32" = 1 ; then
29725 for ac_header in w32api.h
29727 as_ac_Header=`echo "ac_cv_header_
$ac_header" | $as_tr_sh`
29728 { echo "$as_me:$LINENO: checking
for $ac_header" >&5
29729 echo $ECHO_N "checking
for $ac_header...
$ECHO_C" >&6; }
29730 if { as_var=$as_ac_Header; eval "test \"\
${$as_var+set}\" = set"; }; then
29731 echo $ECHO_N "(cached
) $ECHO_C" >&6
29733 cat >conftest.$ac_ext <<_ACEOF
29736 cat confdefs.h >>conftest.$ac_ext
29737 cat >>conftest.$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29741 #include <$ac_header>
29743 rm -f conftest.$ac_objext
29744 if { (ac_try="$ac_compile"
29745 case "(($ac_try" in
29746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29747 *) ac_try_echo=$ac_try;;
29749 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29750 (eval "$ac_compile") 2>conftest.er1
29752 grep -v '^ *+' conftest.er1 >conftest.err
29754 cat conftest.err >&5
29755 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29756 (exit $ac_status); } && {
29757 test -z "$ac_c_werror_flag" ||
29758 test ! -s conftest.err
29759 } && test -s conftest.$ac_objext; then
29760 eval "$as_ac_Header=yes"
29762 echo "$as_me: failed program was
:" >&5
29763 sed 's/^/| /' conftest.$ac_ext >&5
29765 eval "$as_ac_Header=no
"
29768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29770 ac_res=`eval echo '${'$as_ac_Header'}'`
29771 { echo "$as_me:$LINENO: result
: $ac_res" >&5
29772 echo "${ECHO_T}$ac_res" >&6; }
29773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29774 cat >>confdefs.h <<_ACEOF
29775 #define `echo "HAVE_
$ac_header" | $as_tr_cpp` 1
29782 { echo "$as_me:$LINENO: checking
for windows.h
" >&5
29783 echo $ECHO_N "checking
for windows.h...
$ECHO_C" >&6; }
29784 if test "${ac_cv_header_windows_h+set}" = set; then
29785 echo $ECHO_N "(cached
) $ECHO_C" >&6
29787 cat >conftest.$ac_ext <<_ACEOF
29790 cat confdefs.h >>conftest.$ac_ext
29791 cat >>conftest.$ac_ext <<_ACEOF
29792 /* end confdefs.h. */
29795 #include <windows.h>
29797 rm -f conftest.$ac_objext
29798 if { (ac_try="$ac_compile"
29799 case "(($ac_try" in
29800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29801 *) ac_try_echo=$ac_try;;
29803 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29804 (eval "$ac_compile") 2>conftest.er1
29806 grep -v '^ *+' conftest.er1 >conftest.err
29808 cat conftest.err >&5
29809 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29810 (exit $ac_status); } && {
29811 test -z "$ac_c_werror_flag" ||
29812 test ! -s conftest.err
29813 } && test -s conftest.$ac_objext; then
29814 ac_cv_header_windows_h=yes
29816 echo "$as_me: failed program was
:" >&5
29817 sed 's/^/| /' conftest.$ac_ext >&5
29819 ac_cv_header_windows_h=no
29822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29824 { echo "$as_me:$LINENO: result
: $ac_cv_header_windows_h" >&5
29825 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
29826 if test $ac_cv_header_windows_h = yes; then
29830 { { echo "$as_me:$LINENO: error
: please
set CFLAGS to contain the location of windows.h
" >&5
29831 echo "$as_me: error
: please
set CFLAGS to contain the location of windows.h
" >&2;}
29832 { (exit 1); exit 1; }; }
29838 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
29840 x86_64-*-mingw32* )
29841 WINDRES_CPU_DEFINE="--define WX_CPU_AMD64
"
29844 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
29845 LIBS="$LIBS -loleacc"
29850 LIBS="$LIBS -lkernel32 -luser32"
29853 RESFLAGS="--include-dir \
$(top_srcdir)/include
--include-dir \
$(top_srcdir)/\
$(program_dir) --define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29854 RESPROGRAMOBJ="\
$(PROGRAM)_resources.o
"
29856 WXCONFIG_RESFLAGS="--define __WIN32__
--define __WIN95__
--define __GNUWIN32__
$WINDRES_CPU_DEFINE"
29858 WIN32INSTALL=win32install
29860 { echo "$as_me:$LINENO: checking
for pbt.h
" >&5
29861 echo $ECHO_N "checking
for pbt.h...
$ECHO_C" >&6; }
29862 if test "${ac_cv_header_pbt_h+set}" = set; then
29863 echo $ECHO_N "(cached
) $ECHO_C" >&6
29865 cat >conftest.$ac_ext <<_ACEOF
29868 cat confdefs.h >>conftest.$ac_ext
29869 cat >>conftest.$ac_ext <<_ACEOF
29870 /* end confdefs.h. */
29875 rm -f conftest.$ac_objext
29876 if { (ac_try="$ac_compile"
29877 case "(($ac_try" in
29878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29879 *) ac_try_echo=$ac_try;;
29881 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
29882 (eval "$ac_compile") 2>conftest.er1
29884 grep -v '^ *+' conftest.er1 >conftest.err
29886 cat conftest.err >&5
29887 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
29888 (exit $ac_status); } && {
29889 test -z "$ac_c_werror_flag" ||
29890 test ! -s conftest.err
29891 } && test -s conftest.$ac_objext; then
29892 ac_cv_header_pbt_h=yes
29894 echo "$as_me: failed program was
:" >&5
29895 sed 's/^/| /' conftest.$ac_ext >&5
29897 ac_cv_header_pbt_h=no
29900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29902 { echo "$as_me:$LINENO: result
: $ac_cv_header_pbt_h" >&5
29903 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
29904 if test $ac_cv_header_pbt_h = yes; then
29907 cat >>confdefs.h <<\_ACEOF
29908 #define NEED_PBT_H 1
29916 if test "$wxUSE_GUI" = "yes"; then
29925 if test "$wxUSE_OLD_COCOA" = 1 ; then
29926 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
29927 { echo "$as_me:$LINENO: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&5
29928 echo "$as_me: WARNING
: Printing not supported under wxCocoa yet
, disabled
" >&2;}
29929 wxUSE_PRINTING_ARCHITECTURE=no
29931 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
29932 { echo "$as_me:$LINENO: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&5
29933 echo "$as_me: WARNING
: Drag and Drop not supported under wxCocoa yet
, disabled
" >&2;}
29934 wxUSE_DRAG_AND_DROP=no
29936 if test "$wxUSE_DRAGIMAGE" = "yes"; then
29937 { echo "$as_me:$LINENO: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&5
29938 echo "$as_me: WARNING
: wxDragImage not supported under wxCocoa yet
, disabled
" >&2;}
29943 if test "$wxUSE_MSW" = 1 ; then
29949 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows
-mwindows"
29953 if test "$wxUSE_GTK" = 1; then
29954 { echo "$as_me:$LINENO: checking
for GTK
+ version
" >&5
29955 echo $ECHO_N "checking
for GTK
+ version...
$ECHO_C" >&6; }
29957 gtk_version_cached=1
29958 if test "${wx_cv_lib_gtk+set}" = set; then
29959 echo $ECHO_N "(cached
) $ECHO_C" >&6
29962 gtk_version_cached=0
29963 { echo "$as_me:$LINENO: result
: " >&5
29964 echo "${ECHO_T}" >&6; }
29967 if test "$wxUSE_THREADS" = "yes"; then
29968 GTK_MODULES=gthread
29972 if test "x
$wxGTK_VERSION" != "x1
"
29976 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
29981 # Check whether --enable-gtktest was given.
29982 if test "${enable_gtktest+set}" = set; then
29983 enableval=$enable_gtktest;
29989 pkg_config_args=gtk+-2.0
29990 for module in . $GTK_MODULES
29994 pkg_config_args="$pkg_config_args gthread
-2.0
"
30001 # Extract the first word of "pkg
-config", so it can be a program name with args.
30002 set dummy pkg-config; ac_word=$2
30003 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30004 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30005 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30006 echo $ECHO_N "(cached
) $ECHO_C" >&6
30008 case $PKG_CONFIG in
30010 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30014 for as_dir in $PATH
30017 test -z "$as_dir" && as_dir=.
30018 for ac_exec_ext in '' $ac_executable_extensions; do
30019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30020 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30021 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30028 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no
"
30032 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30033 if test -n "$PKG_CONFIG"; then
30034 { echo "$as_me:$LINENO: result
: $PKG_CONFIG" >&5
30035 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30037 { echo "$as_me:$LINENO: result
: no
" >&5
30038 echo "${ECHO_T}no
" >&6; }
30043 if test x$PKG_CONFIG != xno ; then
30044 if pkg-config --atleast-pkgconfig-version 0.7 ; then
30047 echo "*** pkg
-config too old
; version
0.7 or better required.
"
30055 min_gtk_version=2.4.0
30056 { echo "$as_me:$LINENO: checking
for GTK
+ - version
>= $min_gtk_version" >&5
30057 echo $ECHO_N "checking
for GTK
+ - version
>= $min_gtk_version...
$ECHO_C" >&6; }
30059 if test x$PKG_CONFIG != xno ; then
30060 ## don't try to run the test against uninstalled libtool libs
30061 if $PKG_CONFIG --uninstalled $pkg_config_args; then
30062 echo "Will use uninstalled version of GTK
+ found
in PKG_CONFIG_PATH
"
30066 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
30073 if test x"$no_gtk" = x ; then
30074 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
30075 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
30076 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30077 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30078 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30079 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30080 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
30081 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30082 if test "x
$enable_gtktest" = "xyes
" ; then
30083 ac_save_CFLAGS="$CFLAGS"
30084 ac_save_LIBS="$LIBS"
30085 CFLAGS="$CFLAGS $GTK_CFLAGS"
30086 LIBS="$GTK_LIBS $LIBS"
30088 if test "$cross_compiling" = yes; then
30089 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30091 cat >conftest.$ac_ext <<_ACEOF
30094 cat confdefs.h >>conftest.$ac_ext
30095 cat >>conftest.$ac_ext <<_ACEOF
30096 /* end confdefs.h. */
30098 #include <gtk/gtk.h>
30100 #include <stdlib.h>
30105 int major, minor, micro;
30108 system ("touch conf.gtktest
");
30110 /* HP/UX 9 (%@#!) writes to sscanf strings */
30111 tmp_version = g_strdup("$min_gtk_version");
30112 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30113 printf("%s
, bad version string
\n", "$min_gtk_version");
30117 if ((gtk_major_version != $gtk_config_major_version) ||
30118 (gtk_minor_version != $gtk_config_minor_version) ||
30119 (gtk_micro_version != $gtk_config_micro_version))
30121 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30122 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30123 gtk_major_version, gtk_minor_version, gtk_micro_version);
30124 printf ("*** was found
! If pkg
-config was correct
, then it is best
\n");
30125 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30126 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30127 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30128 printf("*** required on your system.
\n");
30129 printf("*** If pkg
-config was wrong
, set the environment variable PKG_CONFIG_PATH
\n");
30130 printf("*** to point to the correct configuration files
\n");
30132 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30133 (gtk_minor_version != GTK_MINOR_VERSION) ||
30134 (gtk_micro_version != GTK_MICRO_VERSION))
30136 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30137 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30138 printf("*** library
(version
%d.
%d.
%d
)\n",
30139 gtk_major_version, gtk_minor_version, gtk_micro_version);
30143 if ((gtk_major_version > major) ||
30144 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30145 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30151 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30152 gtk_major_version, gtk_minor_version, gtk_micro_version);
30153 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30154 major, minor, micro);
30155 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30157 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30158 printf("*** probably means that the wrong copy of the pkg
-config shell
script is
\n");
30159 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30160 printf("*** of GTK
+, but you can also
set the PKG_CONFIG environment to point to the
\n");
30161 printf("*** correct copy of pkg
-config.
(In this
case, you will have to
\n");
30162 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30163 printf("*** so that the correct libraries are found
at run
-time))\n");
30170 rm -f conftest$ac_exeext
30171 if { (ac_try="$ac_link"
30172 case "(($ac_try" in
30173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30174 *) ac_try_echo=$ac_try;;
30176 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30177 (eval "$ac_link") 2>&5
30179 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30180 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30181 { (case "(($ac_try" in
30182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30183 *) ac_try_echo=$ac_try;;
30185 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30186 (eval "$ac_try") 2>&5
30188 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30189 (exit $ac_status); }; }; then
30192 echo "$as_me: program exited with status
$ac_status" >&5
30193 echo "$as_me: failed program was
:" >&5
30194 sed 's/^/| /' conftest.$ac_ext >&5
30196 ( exit $ac_status )
30199 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30203 CFLAGS="$ac_save_CFLAGS"
30204 LIBS="$ac_save_LIBS"
30207 if test "x
$no_gtk" = x ; then
30208 { echo "$as_me:$LINENO: result
: yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&5
30209 echo "${ECHO_T}yes (version
$gtk_config_major_version.
$gtk_config_minor_version.
$gtk_config_micro_version)" >&6; }
30212 { echo "$as_me:$LINENO: result
: no
" >&5
30213 echo "${ECHO_T}no
" >&6; }
30214 if test "$PKG_CONFIG" = "no
" ; then
30215 echo "*** A new enough version of pkg
-config was not found.
"
30216 echo "*** See http
://pkgconfig.sourceforge.net
"
30218 if test -f conf.gtktest ; then
30221 echo "*** Could not run GTK
+ test program
, checking why...
"
30222 ac_save_CFLAGS="$CFLAGS"
30223 ac_save_LIBS="$LIBS"
30224 CFLAGS="$CFLAGS $GTK_CFLAGS"
30225 LIBS="$LIBS $GTK_LIBS"
30226 cat >conftest.$ac_ext <<_ACEOF
30229 cat confdefs.h >>conftest.$ac_ext
30230 cat >>conftest.$ac_ext <<_ACEOF
30231 /* end confdefs.h. */
30233 #include <gtk/gtk.h>
30239 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30244 rm -f conftest.$ac_objext conftest$ac_exeext
30245 if { (ac_try="$ac_link"
30246 case "(($ac_try" in
30247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30248 *) ac_try_echo=$ac_try;;
30250 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30251 (eval "$ac_link") 2>conftest.er1
30253 grep -v '^ *+' conftest.er1 >conftest.err
30255 cat conftest.err >&5
30256 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30257 (exit $ac_status); } && {
30258 test -z "$ac_c_werror_flag" ||
30259 test ! -s conftest.err
30260 } && test -s conftest$ac_exeext &&
30261 $as_test_x conftest$ac_exeext; then
30262 echo "*** The
test program compiled
, but did not run. This usually means
"
30263 echo "*** that the run
-time linker is not finding GTK
+ or finding the wrong
"
30264 echo "*** version of GTK
+. If it is not finding GTK
+, you
'll need to set your"
30265 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30266 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30267 echo "*** is required on your system"
30269 echo "*** If you have an old version installed, it is best to remove it, although"
30270 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30272 echo "$as_me: failed program was:" >&5
30273 sed 's
/^
/| /' conftest.$ac_ext >&5
30275 echo "*** The test program failed to compile or link. See the file config.log for the"
30276 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
30279 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30280 conftest$ac_exeext conftest.$ac_ext
30281 CFLAGS="$ac_save_CFLAGS"
30282 LIBS="$ac_save_LIBS"
30295 if test -z "$wx_cv_lib_gtk"; then
30296 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
30298 # Check whether --with-gtk-prefix was given.
30299 if test "${with_gtk_prefix+set}" = set; then
30300 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30302 gtk_config_prefix=""
30306 # Check whether --with-gtk-exec-prefix was given.
30307 if test "${with_gtk_exec_prefix+set}" = set; then
30308 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30310 gtk_config_exec_prefix=""
30313 # Check whether --enable-gtktest was given.
30314 if test "${enable_gtktest+set}" = set; then
30315 enableval=$enable_gtktest;
30321 for module in . $GTK_MODULES
30325 gtk_config_args="$gtk_config_args gthread"
30330 if test x$gtk_config_exec_prefix != x ; then
30331 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30332 if test x${GTK_CONFIG+set} != xset ; then
30333 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30336 if test x$gtk_config_prefix != x ; then
30337 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30338 if test x${GTK_CONFIG+set} != xset ; then
30339 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30343 # Extract the first word of "gtk-config", so it can be a program name with args.
30344 set dummy gtk-config; ac_word=$2
30345 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30347 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30348 echo $ECHO_N "(cached) $ECHO_C" >&6
30350 case $GTK_CONFIG in
30352 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30356 for as_dir in $PATH
30359 test -z "$as_dir" && as_dir=.
30360 for ac_exec_ext in '' $ac_executable_extensions; do
30361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30362 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30370 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
30374 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30375 if test -n "$GTK_CONFIG"; then
30376 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
30377 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30379 { echo "$as_me:$LINENO: result: no" >&5
30380 echo "${ECHO_T}no" >&6; }
30384 min_gtk_version=1.2.7
30385 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
30386 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
30388 if test "$GTK_CONFIG" = "no" ; then
30391 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30392 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30393 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30394 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
1/'`
30395 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30396 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
2/'`
30397 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30398 sed 's
/\
([0-9]*\
).\
([0-9]*\
).\
([0-9]*\
)/\
3/'`
30399 if test "x$enable_gtktest" = "xyes" ; then
30400 ac_save_CFLAGS="$CFLAGS"
30401 ac_save_LIBS="$LIBS"
30402 CFLAGS="$CFLAGS $GTK_CFLAGS"
30403 LIBS="$GTK_LIBS $LIBS"
30405 if test "$cross_compiling" = yes; then
30406 echo $ac_n "cross compiling; assumed OK... $ac_c"
30408 cat >conftest.$ac_ext <<_ACEOF
30411 cat confdefs.h >>conftest.$ac_ext
30412 cat >>conftest.$ac_ext <<_ACEOF
30413 /* end confdefs.h. */
30415 #include <gtk/gtk.h>
30417 #include <stdlib.h>
30422 int major, minor, micro;
30425 system ("touch conf.gtktest");
30427 /* HP/UX 9 (%@#!) writes to sscanf strings */
30428 tmp_version = g_strdup("$min_gtk_version");
30429 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
30430 printf("%s, bad version string\n", "$min_gtk_version");
30434 if ((gtk_major_version != $gtk_config_major_version) ||
30435 (gtk_minor_version != $gtk_config_minor_version) ||
30436 (gtk_micro_version != $gtk_config_micro_version))
30438 printf("\n*** 'gtk
-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
30439 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30440 gtk_major_version, gtk_minor_version, gtk_micro_version);
30441 printf ("*** was found! If gtk-config was correct, then it is best\n");
30442 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
30443 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
30444 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
30445 printf("*** required on your system.\n");
30446 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
30447 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
30448 printf("*** before re-running configure\n");
30450 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30451 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30452 (gtk_minor_version != GTK_MINOR_VERSION) ||
30453 (gtk_micro_version != GTK_MICRO_VERSION))
30455 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
30456 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30457 printf("*** library (version %d.%d.%d)\n",
30458 gtk_major_version, gtk_minor_version, gtk_micro_version);
30460 #endif /* defined (GTK_MAJOR_VERSION) ... */
30463 if ((gtk_major_version > major) ||
30464 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30465 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30471 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
30472 gtk_major_version, gtk_minor_version, gtk_micro_version);
30473 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
30474 major, minor, micro);
30475 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
30477 printf("*** If you have already installed a sufficiently new version, this error\n");
30478 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
30479 printf("*** being found. The easiest way to fix this is to remove the old version\n");
30480 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
30481 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
30482 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
30483 printf("*** so that the correct libraries are found at run-time))\n");
30490 rm -f conftest$ac_exeext
30491 if { (ac_try="$ac_link"
30492 case "(($ac_try" in
30493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30494 *) ac_try_echo=$ac_try;;
30496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30497 (eval "$ac_link") 2>&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); } && { ac_try='.
/conftest
$ac_exeext'
30501 { (case "(($ac_try" in
30502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30503 *) ac_try_echo=$ac_try;;
30505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30506 (eval "$ac_try") 2>&5
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); }; }; then
30512 echo "$as_me: program exited with status $ac_status" >&5
30513 echo "$as_me: failed program was:" >&5
30514 sed 's
/^
/| /' conftest.$ac_ext >&5
30516 ( exit $ac_status )
30519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30523 CFLAGS="$ac_save_CFLAGS"
30524 LIBS="$ac_save_LIBS"
30527 if test "x$no_gtk" = x ; then
30528 { echo "$as_me:$LINENO: result: yes" >&5
30529 echo "${ECHO_T}yes" >&6; }
30530 wx_cv_lib_gtk=1.2.7
30532 { echo "$as_me:$LINENO: result: no" >&5
30533 echo "${ECHO_T}no" >&6; }
30534 if test "$GTK_CONFIG" = "no" ; then
30535 echo "*** The gtk-config script installed by GTK could not be found"
30536 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
30537 echo "*** your path, or set the GTK_CONFIG environment variable to the"
30538 echo "*** full path to gtk-config."
30540 if test -f conf.gtktest ; then
30543 echo "*** Could not run GTK test program, checking why..."
30544 CFLAGS="$CFLAGS $GTK_CFLAGS"
30545 LIBS="$LIBS $GTK_LIBS"
30546 cat >conftest.$ac_ext <<_ACEOF
30549 cat confdefs.h >>conftest.$ac_ext
30550 cat >>conftest.$ac_ext <<_ACEOF
30551 /* end confdefs.h. */
30553 #include <gtk/gtk.h>
30559 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30564 rm -f conftest.$ac_objext conftest$ac_exeext
30565 if { (ac_try="$ac_link"
30566 case "(($ac_try" in
30567 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30568 *) ac_try_echo=$ac_try;;
30570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30571 (eval "$ac_link") 2>conftest.er1
30573 grep -v '^
*+' conftest.er1 >conftest.err
30575 cat conftest.err >&5
30576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30577 (exit $ac_status); } && {
30578 test -z "$ac_c_werror_flag" ||
30579 test ! -s conftest.err
30580 } && test -s conftest$ac_exeext &&
30581 $as_test_x conftest$ac_exeext; then
30582 echo "*** The test program compiled, but did not run. This usually means"
30583 echo "*** that the run-time linker is not finding GTK or finding the wrong"
30584 echo "*** version of GTK. If it is not finding GTK, you'll need to
set your
"
30585 echo "*** LD_LIBRARY_PATH environment variable
, or edit
/etc
/ld.so.conf to point
"
30586 echo "*** to the installed location Also
, make sure you have run ldconfig
if that
"
30587 echo "*** is required on your system
"
30589 echo "*** If you have an old version installed
, it is best to remove it
, although
"
30590 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
"
30592 echo "*** If you have a RedHat
5.0 system
, you should remove the GTK package that
"
30593 echo "*** came with the system with the
command"
30595 echo "*** rpm
--erase --nodeps gtk gtk
-devel"
30597 echo "$as_me: failed program was
:" >&5
30598 sed 's/^/| /' conftest.$ac_ext >&5
30600 echo "*** The
test program failed to compile or link. See the
file config.log
for the
"
30601 echo "*** exact error that occured. This usually means GTK was incorrectly installed
"
30602 echo "*** or that you have moved GTK since it was installed. In the latter
case, you
"
30603 echo "*** may want to edit the gtk
-config script: $GTK_CONFIG"
30606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30607 conftest$ac_exeext conftest.$ac_ext
30608 CFLAGS="$ac_save_CFLAGS"
30609 LIBS="$ac_save_LIBS"
30621 if test -z "$wx_cv_lib_gtk"; then
30623 # Check whether --with-gtk-prefix was given.
30624 if test "${with_gtk_prefix+set}" = set; then
30625 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
30627 gtk_config_prefix=""
30631 # Check whether --with-gtk-exec-prefix was given.
30632 if test "${with_gtk_exec_prefix+set}" = set; then
30633 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
30635 gtk_config_exec_prefix=""
30638 # Check whether --enable-gtktest was given.
30639 if test "${enable_gtktest+set}" = set; then
30640 enableval=$enable_gtktest;
30646 for module in . $GTK_MODULES
30650 gtk_config_args="$gtk_config_args gthread
"
30655 if test x$gtk_config_exec_prefix != x ; then
30656 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
30657 if test x${GTK_CONFIG+set} != xset ; then
30658 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
30661 if test x$gtk_config_prefix != x ; then
30662 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
30663 if test x${GTK_CONFIG+set} != xset ; then
30664 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
30668 # Extract the first word of "gtk
-config", so it can be a program name with args.
30669 set dummy gtk-config; ac_word=$2
30670 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
30671 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
30672 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
30673 echo $ECHO_N "(cached
) $ECHO_C" >&6
30675 case $GTK_CONFIG in
30677 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
30680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30681 for as_dir in $PATH
30684 test -z "$as_dir" && as_dir=.
30685 for ac_exec_ext in '' $ac_executable_extensions; do
30686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30687 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30688 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
30695 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no
"
30699 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
30700 if test -n "$GTK_CONFIG"; then
30701 { echo "$as_me:$LINENO: result
: $GTK_CONFIG" >&5
30702 echo "${ECHO_T}$GTK_CONFIG" >&6; }
30704 { echo "$as_me:$LINENO: result
: no
" >&5
30705 echo "${ECHO_T}no
" >&6; }
30709 min_gtk_version=1.2.3
30710 { echo "$as_me:$LINENO: checking
for GTK
- version
>= $min_gtk_version" >&5
30711 echo $ECHO_N "checking
for GTK
- version
>= $min_gtk_version...
$ECHO_C" >&6; }
30713 if test "$GTK_CONFIG" = "no
" ; then
30716 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
30717 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
30718 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
30719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
30720 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
30721 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
30722 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
30723 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
30724 if test "x
$enable_gtktest" = "xyes
" ; then
30725 ac_save_CFLAGS="$CFLAGS"
30726 ac_save_LIBS="$LIBS"
30727 CFLAGS="$CFLAGS $GTK_CFLAGS"
30728 LIBS="$GTK_LIBS $LIBS"
30730 if test "$cross_compiling" = yes; then
30731 echo $ac_n "cross compiling
; assumed OK...
$ac_c"
30733 cat >conftest.$ac_ext <<_ACEOF
30736 cat confdefs.h >>conftest.$ac_ext
30737 cat >>conftest.$ac_ext <<_ACEOF
30738 /* end confdefs.h. */
30740 #include <gtk/gtk.h>
30742 #include <stdlib.h>
30747 int major, minor, micro;
30750 system ("touch conf.gtktest
");
30752 /* HP/UX 9 (%@#!) writes to sscanf strings */
30753 tmp_version = g_strdup("$min_gtk_version");
30754 if (sscanf(tmp_version, "%d.
%d.
%d
", &major, &minor, µ) != 3) {
30755 printf("%s
, bad version string
\n", "$min_gtk_version");
30759 if ((gtk_major_version != $gtk_config_major_version) ||
30760 (gtk_minor_version != $gtk_config_minor_version) ||
30761 (gtk_micro_version != $gtk_config_micro_version))
30763 printf("\n*** 'gtk-config --version' returned
%d.
%d.
%d
, but GTK
+ (%d.
%d.
%d
)\n",
30764 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
30765 gtk_major_version, gtk_minor_version, gtk_micro_version);
30766 printf ("*** was found
! If gtk
-config was correct
, then it is best
\n");
30767 printf ("*** to remove the old version of GTK
+. You may also be able to fix the error
\n");
30768 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable
, or by editing
\n");
30769 printf("*** /etc
/ld.so.conf. Make sure you have run ldconfig
if that is
\n");
30770 printf("*** required on your system.
\n");
30771 printf("*** If gtk
-config was wrong
, set the environment variable GTK_CONFIG
\n");
30772 printf("*** to point to the correct copy of gtk
-config, and remove the
file config.cache
\n");
30773 printf("*** before re
-running configure
\n");
30775 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
30776 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
30777 (gtk_minor_version != GTK_MINOR_VERSION) ||
30778 (gtk_micro_version != GTK_MICRO_VERSION))
30780 printf("*** GTK
+ header files
(version
%d.
%d.
%d
) do not match
\n",
30781 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
30782 printf("*** library
(version
%d.
%d.
%d
)\n",
30783 gtk_major_version, gtk_minor_version, gtk_micro_version);
30785 #endif /* defined (GTK_MAJOR_VERSION) ... */
30788 if ((gtk_major_version > major) ||
30789 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
30790 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
30796 printf("\n*** An old version of GTK
+ (%d.
%d.
%d
) was found.
\n",
30797 gtk_major_version, gtk_minor_version, gtk_micro_version);
30798 printf("*** You need a version of GTK
+ newer than
%d.
%d.
%d. The latest version of
\n",
30799 major, minor, micro);
30800 printf("*** GTK
+ is always available from
ftp://ftp.gtk.org.
\n");
30802 printf("*** If you have already installed a sufficiently new version
, this error
\n");
30803 printf("*** probably means that the wrong copy of the gtk
-config shell
script is
\n");
30804 printf("*** being found. The easiest way to fix this is to remove the old version
\n");
30805 printf("*** of GTK
+, but you can also
set the GTK_CONFIG environment to point to the
\n");
30806 printf("*** correct copy of gtk
-config.
(In this
case, you will have to
\n");
30807 printf("*** modify your LD_LIBRARY_PATH enviroment variable
, or edit
/etc
/ld.so.conf
\n");
30808 printf("*** so that the correct libraries are found
at run
-time))\n");
30815 rm -f conftest$ac_exeext
30816 if { (ac_try="$ac_link"
30817 case "(($ac_try" in
30818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30819 *) ac_try_echo=$ac_try;;
30821 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30822 (eval "$ac_link") 2>&5
30824 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30825 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30826 { (case "(($ac_try" in
30827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30828 *) ac_try_echo=$ac_try;;
30830 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30831 (eval "$ac_try") 2>&5
30833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30834 (exit $ac_status); }; }; then
30837 echo "$as_me: program exited with status
$ac_status" >&5
30838 echo "$as_me: failed program was
:" >&5
30839 sed 's/^/| /' conftest.$ac_ext >&5
30841 ( exit $ac_status )
30844 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30848 CFLAGS="$ac_save_CFLAGS"
30849 LIBS="$ac_save_LIBS"
30852 if test "x
$no_gtk" = x ; then
30853 { echo "$as_me:$LINENO: result
: yes" >&5
30854 echo "${ECHO_T}yes" >&6; }
30855 wx_cv_lib_gtk=1.2.3
30857 { echo "$as_me:$LINENO: result
: no
" >&5
30858 echo "${ECHO_T}no
" >&6; }
30859 if test "$GTK_CONFIG" = "no
" ; then
30860 echo "*** The gtk
-config script installed by GTK could not be found
"
30861 echo "*** If GTK was installed
in PREFIX
, make sure PREFIX
/bin is
in"
30862 echo "*** your path
, or
set the GTK_CONFIG environment variable to the
"
30863 echo "*** full path to gtk
-config.
"
30865 if test -f conf.gtktest ; then
30868 echo "*** Could not run GTK
test program
, checking why...
"
30869 CFLAGS="$CFLAGS $GTK_CFLAGS"
30870 LIBS="$LIBS $GTK_LIBS"
30871 cat >conftest.$ac_ext <<_ACEOF
30874 cat confdefs.h >>conftest.$ac_ext
30875 cat >>conftest.$ac_ext <<_ACEOF
30876 /* end confdefs.h. */
30878 #include <gtk/gtk.h>
30884 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
30889 rm -f conftest.$ac_objext conftest$ac_exeext
30890 if { (ac_try="$ac_link"
30891 case "(($ac_try" in
30892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30893 *) ac_try_echo=$ac_try;;
30895 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
30896 (eval "$ac_link") 2>conftest.er1
30898 grep -v '^ *+' conftest.er1 >conftest.err
30900 cat conftest.err >&5
30901 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
30902 (exit $ac_status); } && {
30903 test -z "$ac_c_werror_flag" ||
30904 test ! -s conftest.err
30905 } && test -s conftest$ac_exeext &&
30906 $as_test_x conftest$ac_exeext; then
30907 echo "*** The
test program compiled
, but did not run. This usually means
"
30908 echo "*** that the run
-time linker is not finding GTK or finding the wrong
"
30909 echo "*** version of GTK. If it is not finding GTK
, you
'll need to set your"
30910 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
30911 echo "*** to the installed location Also, make sure you have run ldconfig if that"
30912 echo "*** is required on your system"
30914 echo "*** If you have an old version installed, it is best to remove it, although"
30915 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
30917 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
30918 echo "*** came with the system with the command"
30920 echo "*** rpm --erase --nodeps gtk gtk-devel"
30922 echo "$as_me: failed program was:" >&5
30923 sed 's
/^
/| /' conftest.$ac_ext >&5
30925 echo "*** The test program failed to compile or link. See the file config.log for the"
30926 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
30927 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
30928 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
30931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30932 conftest$ac_exeext conftest.$ac_ext
30933 CFLAGS="$ac_save_CFLAGS"
30934 LIBS="$ac_save_LIBS"
30949 if test -z "$wx_cv_lib_gtk"; then
30952 GTK_LIBS="$GTK_LIBS -lX11"
30954 wx_cv_cflags_gtk=$GTK_CFLAGS
30955 wx_cv_libs_gtk=$GTK_LIBS
30962 if test "$gtk_version_cached" = 1; then
30963 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
30964 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
30967 case "$wx_cv_lib_gtk" in
30974 *) { { echo "$as_me:$LINENO: error:
30975 The development files for GTK+ were not found. For GTK+ 2, please
30976 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30977 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30978 and that the version is 1.2.3 or above. Also check that the
30979 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30980 --libs' are in the LD_LIBRARY_PATH or equivalent.
30982 echo "$as_me: error:
30983 The development files for GTK+ were not found. For GTK+ 2, please
30984 ensure that pkg-config is in the path and that gtk+-2.0.pc is
30985 installed. For GTK+ 1.2 please check that gtk-config is in the path,
30986 and that the version is 1.2.3 or above. Also check that the
30987 libraries returned by 'pkg
-config gtk
+-2.0
--libs' or 'gtk
-config
30988 --libs' are in the LD_LIBRARY_PATH or equivalent.
30990 { (exit 1); exit 1; }; }
30994 if test "$WXGTK2" = 1; then
30995 save_CFLAGS="$CFLAGS"
30997 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
30998 LIBS="$LIBS $wx_cv_libs_gtk"
31000 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.18" >&5
31001 echo $ECHO_N "checking if GTK+ is version >= 2.18... $ECHO_C" >&6; }
31002 cat >conftest.$ac_ext <<_ACEOF
31005 cat confdefs.h >>conftest.$ac_ext
31006 cat >>conftest.$ac_ext <<_ACEOF
31007 /* end confdefs.h. */
31009 #include <gtk/gtk.h>
31015 #if !GTK_CHECK_VERSION(2,18,0)
31023 rm -f conftest.$ac_objext
31024 if { (ac_try="$ac_compile"
31025 case "(($ac_try" in
31026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31027 *) ac_try_echo=$ac_try;;
31029 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31030 (eval "$ac_compile") 2>conftest.er1
31032 grep -v '^
*+' conftest.er1 >conftest.err
31034 cat conftest.err >&5
31035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31036 (exit $ac_status); } && {
31037 test -z "$ac_c_werror_flag" ||
31038 test ! -s conftest.err
31039 } && test -s conftest.$ac_objext; then
31041 cat >>confdefs.h <<\_ACEOF
31042 #define __WXGTK218__ 1
31045 cat >>confdefs.h <<\_ACEOF
31046 #define __WXGTK210__ 1
31049 cat >>confdefs.h <<\_ACEOF
31050 #define __WXGTK26__ 1
31053 { echo "$as_me:$LINENO: result: yes" >&5
31054 echo "${ECHO_T}yes" >&6; }
31058 echo "$as_me: failed program was:" >&5
31059 sed 's
/^
/| /' conftest.$ac_ext >&5
31062 { echo "$as_me:$LINENO: result: no" >&5
31063 echo "${ECHO_T}no" >&6; }
31068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31070 if test "$ac_wxgtk218" = 0; then
31071 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
31072 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
31073 cat >conftest.$ac_ext <<_ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31080 #include <gtk/gtk.h>
31086 #if !GTK_CHECK_VERSION(2,10,0)
31094 rm -f conftest.$ac_objext
31095 if { (ac_try="$ac_compile"
31096 case "(($ac_try" in
31097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31098 *) ac_try_echo=$ac_try;;
31100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31101 (eval "$ac_compile") 2>conftest.er1
31103 grep -v '^
*+' conftest.er1 >conftest.err
31105 cat conftest.err >&5
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); } && {
31108 test -z "$ac_c_werror_flag" ||
31109 test ! -s conftest.err
31110 } && test -s conftest.$ac_objext; then
31112 cat >>confdefs.h <<\_ACEOF
31113 #define __WXGTK210__ 1
31116 cat >>confdefs.h <<\_ACEOF
31117 #define __WXGTK26__ 1
31120 { echo "$as_me:$LINENO: result: yes" >&5
31121 echo "${ECHO_T}yes" >&6; }
31125 echo "$as_me: failed program was:" >&5
31126 sed 's
/^
/| /' conftest.$ac_ext >&5
31129 { echo "$as_me:$LINENO: result: no" >&5
31130 echo "${ECHO_T}no" >&6; }
31135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31137 if test "$ac_wxgtk210" = 0; then
31138 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
31139 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
31140 cat >conftest.$ac_ext <<_ACEOF
31143 cat confdefs.h >>conftest.$ac_ext
31144 cat >>conftest.$ac_ext <<_ACEOF
31145 /* end confdefs.h. */
31147 #include <gtk/gtk.h>
31153 #if !GTK_CHECK_VERSION(2,6,0)
31161 rm -f conftest.$ac_objext
31162 if { (ac_try="$ac_compile"
31163 case "(($ac_try" in
31164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31165 *) ac_try_echo=$ac_try;;
31167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31168 (eval "$ac_compile") 2>conftest.er1
31170 grep -v '^
*+' conftest.er1 >conftest.err
31172 cat conftest.err >&5
31173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174 (exit $ac_status); } && {
31175 test -z "$ac_c_werror_flag" ||
31176 test ! -s conftest.err
31177 } && test -s conftest.$ac_objext; then
31179 cat >>confdefs.h <<\_ACEOF
31180 #define __WXGTK26__ 1
31183 { echo "$as_me:$LINENO: result: yes" >&5
31184 echo "${ECHO_T}yes" >&6; }
31188 echo "$as_me: failed program was:" >&5
31189 sed 's
/^
/| /' conftest.$ac_ext >&5
31192 { echo "$as_me:$LINENO: result: no" >&5
31193 echo "${ECHO_T}no" >&6; }
31198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31202 CFLAGS="$save_CFLAGS"
31205 if test "$wxUSE_UNICODE" = "yes"; then
31206 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
31207 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
31211 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
31212 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
31213 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
31214 echo $ECHO_N "(cached) $ECHO_C" >&6
31216 ac_check_lib_save_LIBS=$LIBS
31218 cat >conftest.$ac_ext <<_ACEOF
31221 cat confdefs.h >>conftest.$ac_ext
31222 cat >>conftest.$ac_ext <<_ACEOF
31223 /* end confdefs.h. */
31225 /* Override any GCC internal prototype to avoid an error.
31226 Use char because int might match the return type of a GCC
31227 builtin and then its argument prototype would still apply. */
31231 char gdk_im_open ();
31235 return gdk_im_open ();
31240 rm -f conftest.$ac_objext conftest$ac_exeext
31241 if { (ac_try="$ac_link"
31242 case "(($ac_try" in
31243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31244 *) ac_try_echo=$ac_try;;
31246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31247 (eval "$ac_link") 2>conftest.er1
31249 grep -v '^
*+' conftest.er1 >conftest.err
31251 cat conftest.err >&5
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); } && {
31254 test -z "$ac_c_werror_flag" ||
31255 test ! -s conftest.err
31256 } && test -s conftest$ac_exeext &&
31257 $as_test_x conftest$ac_exeext; then
31258 ac_cv_lib_gdk_gdk_im_open=yes
31260 echo "$as_me: failed program was:" >&5
31261 sed 's
/^
/| /' conftest.$ac_ext >&5
31263 ac_cv_lib_gdk_gdk_im_open=no
31266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31267 conftest$ac_exeext conftest.$ac_ext
31268 LIBS=$ac_check_lib_save_LIBS
31270 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
31271 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
31272 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
31273 cat >>confdefs.h <<\_ACEOF
31280 if test "$USE_DARWIN" != 1; then
31282 for ac_func in poll
31284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31285 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31287 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31288 echo $ECHO_N "(cached) $ECHO_C" >&6
31290 cat >conftest.$ac_ext <<_ACEOF
31293 cat confdefs.h >>conftest.$ac_ext
31294 cat >>conftest.$ac_ext <<_ACEOF
31295 /* end confdefs.h. */
31296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31298 #define $ac_func innocuous_$ac_func
31300 /* System header to define __stub macros and hopefully few prototypes,
31301 which can conflict with char $ac_func (); below.
31302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31303 <limits.h> exists even on freestanding compilers. */
31306 # include <limits.h>
31308 # include <assert.h>
31313 /* Override any GCC internal prototype to avoid an error.
31314 Use char because int might match the return type of a GCC
31315 builtin and then its argument prototype would still apply. */
31320 /* The GNU C library defines this for functions which it implements
31321 to always fail with ENOSYS. Some functions are actually named
31322 something starting with __ and the normal name is an alias. */
31323 #if defined __stub_$ac_func || defined __stub___$ac_func
31330 return $ac_func ();
31335 rm -f conftest.$ac_objext conftest$ac_exeext
31336 if { (ac_try="$ac_link"
31337 case "(($ac_try" in
31338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31339 *) ac_try_echo=$ac_try;;
31341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31342 (eval "$ac_link") 2>conftest.er1
31344 grep -v '^
*+' conftest.er1 >conftest.err
31346 cat conftest.err >&5
31347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31348 (exit $ac_status); } && {
31349 test -z "$ac_c_werror_flag" ||
31350 test ! -s conftest.err
31351 } && test -s conftest$ac_exeext &&
31352 $as_test_x conftest$ac_exeext; then
31353 eval "$as_ac_var=yes"
31355 echo "$as_me: failed program was:" >&5
31356 sed 's
/^
/| /' conftest.$ac_ext >&5
31358 eval "$as_ac_var=no"
31361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31362 conftest$ac_exeext conftest.$ac_ext
31364 ac_res=`eval echo '${'$as_ac_var'}'`
31365 { echo "$as_me:$LINENO: result: $ac_res" >&5
31366 echo "${ECHO_T}$ac_res" >&6; }
31367 if test `eval echo '${'$as_ac_var'}'` = yes; then
31368 cat >>confdefs.h <<_ACEOF
31369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31378 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
31379 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
31380 AFMINSTALL=afminstall
31384 if test "$wxUSE_GPE" = "yes"; then
31385 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
31386 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
31389 for ac_dir in $SEARCH_LIB
31391 for ac_extension in a so sl dylib dll.a; do
31392 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
31393 ac_find_libraries=$ac_dir
31399 if test "$ac_find_libraries" != "" ; then
31401 if test "$ac_find_libraries" = "default location"; then
31404 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31406 if test $result = 0; then
31409 ac_path_to_link=" -L$ac_find_libraries"
31413 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
31415 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31416 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31418 { echo "$as_me:$LINENO: result: not found" >&5
31419 echo "${ECHO_T}not found" >&6; }
31425 if test "$wxUSE_MGL" = 1; then
31426 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
31427 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
31428 if test "x$MGL_ROOT" = x ; then
31429 { echo "$as_me:$LINENO: result: not found" >&5
31430 echo "${ECHO_T}not found" >&6; }
31431 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
31432 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
31433 { (exit 1); exit 1; }; }
31435 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
31436 echo "${ECHO_T}$MGL_ROOT" >&6; }
31439 { echo "$as_me:$LINENO: checking for libmgl location" >&5
31440 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
31443 if test "x$wxUSE_SHARED" = xyes ; then
31444 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
31446 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
31450 mgl_os_candidates="dos32/dj2"
31453 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
31454 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
31455 { (exit 1); exit 1; }; }
31461 for mgl_os_i in $mgl_os_candidates ; do
31462 if test "x$mgl_os" = x ; then
31463 if test "$wxUSE_DEBUG_FLAG" = yes ; then
31464 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
31465 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
31470 if test "x$mgl_lib_type" = x ; then
31471 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
31472 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
31473 mgl_lib_type=release
31480 if test "x$mgl_os" = x ; then
31481 { echo "$as_me:$LINENO: result: not found" >&5
31482 echo "${ECHO_T}not found" >&6; }
31483 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
31484 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
31485 { (exit 1); exit 1; }; }
31487 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
31488 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
31490 wxUSE_UNIVERSAL="yes"
31492 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
31493 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
31495 AFMINSTALL=afminstall
31500 if test "$wxUSE_DFB" = 1; then
31503 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31504 if test -n "$ac_tool_prefix"; then
31505 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31506 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31509 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31510 echo $ECHO_N "(cached) $ECHO_C" >&6
31512 case $PKG_CONFIG in
31514 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31518 for as_dir in $PATH
31521 test -z "$as_dir" && as_dir=.
31522 for ac_exec_ext in '' $ac_executable_extensions; do
31523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31524 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31535 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31536 if test -n "$PKG_CONFIG"; then
31537 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31538 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31540 { echo "$as_me:$LINENO: result: no" >&5
31541 echo "${ECHO_T}no" >&6; }
31546 if test -z "$ac_cv_path_PKG_CONFIG"; then
31547 ac_pt_PKG_CONFIG=$PKG_CONFIG
31548 # Extract the first word of "pkg-config", so it can be a program name with args.
31549 set dummy pkg-config; ac_word=$2
31550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31552 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31553 echo $ECHO_N "(cached) $ECHO_C" >&6
31555 case $ac_pt_PKG_CONFIG in
31557 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31561 for as_dir in $PATH
31564 test -z "$as_dir" && as_dir=.
31565 for ac_exec_ext in '' $ac_executable_extensions; do
31566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31567 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31578 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31579 if test -n "$ac_pt_PKG_CONFIG"; then
31580 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31581 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31583 { echo "$as_me:$LINENO: result: no" >&5
31584 echo "${ECHO_T}no" >&6; }
31587 if test "x$ac_pt_PKG_CONFIG" = x; then
31590 case $cross_compiling:$ac_tool_warned in
31592 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31593 whose name does not start with the host triplet. If you think this
31594 configuration is useful to you, please write to autoconf@gnu.org." >&5
31595 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31596 whose name does not start with the host triplet. If you think this
31597 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31598 ac_tool_warned=yes ;;
31600 PKG_CONFIG=$ac_pt_PKG_CONFIG
31603 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31607 if test -n "$PKG_CONFIG"; then
31608 _pkg_min_version=0.9.0
31609 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31610 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31611 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31612 { echo "$as_me:$LINENO: result: yes" >&5
31613 echo "${ECHO_T}yes" >&6; }
31615 { echo "$as_me:$LINENO: result: no" >&5
31616 echo "${ECHO_T}no" >&6; }
31624 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
31625 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
31627 if test -n "$PKG_CONFIG"; then
31628 if test -n "$DIRECTFB_CFLAGS"; then
31629 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
31631 if test -n "$PKG_CONFIG" && \
31632 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31633 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31636 (exit $ac_status); }; then
31637 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
31645 if test -n "$PKG_CONFIG"; then
31646 if test -n "$DIRECTFB_LIBS"; then
31647 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
31649 if test -n "$PKG_CONFIG" && \
31650 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
31651 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
31653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31654 (exit $ac_status); }; then
31655 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
31666 if test $pkg_failed = yes; then
31668 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31669 _pkg_short_errors_supported=yes
31671 _pkg_short_errors_supported=no
31673 if test $_pkg_short_errors_supported = yes; then
31674 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31676 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
31678 # Put the nasty error message in config.log where it belongs
31679 echo "$DIRECTFB_PKG_ERRORS" >&5
31682 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31683 echo "$as_me: error: DirectFB not found." >&2;}
31684 { (exit 1); exit 1; }; }
31687 elif test $pkg_failed = untried; then
31689 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
31690 echo "$as_me: error: DirectFB not found." >&2;}
31691 { (exit 1); exit 1; }; }
31695 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
31696 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
31697 { echo "$as_me:$LINENO: result: yes" >&5
31698 echo "${ECHO_T}yes" >&6; }
31700 wxUSE_UNIVERSAL="yes"
31701 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
31702 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
31709 if test "$wxUSE_MICROWIN" = 1; then
31710 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
31711 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
31712 if test "x$MICROWINDOWS" = x ; then
31713 { echo "$as_me:$LINENO: result: not found" >&5
31714 echo "${ECHO_T}not found" >&6; }
31715 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
31716 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
31717 { (exit 1); exit 1; }; }
31719 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
31720 echo "${ECHO_T}$MICROWINDOWS" >&6; }
31723 if test -f $MICROWINDOWS/lib/libmwin.a; then
31724 { echo "$as_me:$LINENO: result: MicroWindows' libraries found.
" >&5
31725 echo "${ECHO_T}MicroWindows
' libraries found." >&6; }
31727 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
31728 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
31729 { (exit 1); exit 1; }; }
31732 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
31733 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
31735 wxUSE_UNIVERSAL="yes"
31737 AFMINSTALL=afminstall
31739 GUIDIST=MICROWIN_DIST
31741 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
31744 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31745 { echo "$as_me:$LINENO: checking for X" >&5
31746 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
31749 # Check whether --with-x was given.
31750 if test "${with_x+set}" = set; then
31754 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
31755 if test "x$with_x" = xno; then
31756 # The user explicitly disabled X.
31759 case $x_includes,$x_libraries in #(
31760 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
31761 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
31762 { (exit 1); exit 1; }; };; #(
31763 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
31764 echo $ECHO_N "(cached) $ECHO_C" >&6
31766 # One or both of the vars are not set, and there is no cached value.
31767 ac_x_includes=no ac_x_libraries=no
31768 rm -f -r conftest.dir
31769 if mkdir conftest.dir; then
31771 cat >Imakefile <<'_ACEOF'
31773 @echo incroot='${INCROOT}'
31775 @echo usrlibdir='${USRLIBDIR}'
31777 @echo libdir='${LIBDIR}'
31779 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
31780 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
31781 for ac_var in incroot usrlibdir libdir; do
31782 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
31784 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
31785 for ac_extension in a so sl; do
31786 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
31787 test -f "$ac_im_libdir/libX11.$ac_extension"; then
31788 ac_im_usrlibdir=$ac_im_libdir; break
31791 # Screen out bogus values from the imake configuration. They are
31792 # bogus both because they are the default anyway, and because
31793 # using them would break gcc on systems where it needs fixed includes.
31794 case $ac_im_incroot in
31795 /usr/include) ac_x_includes= ;;
31796 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
31798 case $ac_im_usrlibdir in
31799 /usr/lib | /lib) ;;
31800 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
31804 rm -f -r conftest.dir
31807 # Standard set of common directories for X headers.
31808 # Check X11 before X11Rn because it is often a symlink to the current release.
31820 /usr
/local
/X
11/include
31821 /usr
/local
/X
11R
6/include
31822 /usr
/local
/X
11R
5/include
31823 /usr
/local
/X
11R
4/include
31825 /usr
/local
/include
/X11
31826 /usr
/local
/include
/X11R6
31827 /usr
/local
/include
/X11R5
31828 /usr
/local
/include
/X11R4
31832 /usr
/XFree
86/include
/X11
31836 /usr
/unsupported
/include
31837 /usr
/athena
/include
31838 /usr
/local
/x
11r
5/include
31839 /usr
/lpp
/Xamples
/include
31841 /usr
/openwin
/include
31842 /usr
/openwin
/share
/include
'
31844 if test "$ac_x_includes" = no; then
31845 # Guess where to find include files, by looking for Xlib.h.
31846 # First, try using that file with no special directory specified.
31847 cat >conftest.$ac_ext <<_ACEOF
31850 cat confdefs.h >>conftest.$ac_ext
31851 cat >>conftest.$ac_ext <<_ACEOF
31852 /* end confdefs.h. */
31853 #include <X11/Xlib.h>
31855 if { (ac_try="$ac_cpp conftest.$ac_ext"
31856 case "(($ac_try" in
31857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31858 *) ac_try_echo=$ac_try;;
31860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
31863 grep -v '^
*+' conftest.er1 >conftest.err
31865 cat conftest.err >&5
31866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 (exit $ac_status); } >/dev/null && {
31868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
31869 test ! -s conftest.err
31871 # We can compile using X headers with no special include directory.
31874 echo "$as_me: failed program was:" >&5
31875 sed 's
/^
/| /' conftest.$ac_ext >&5
31877 for ac_dir in $ac_x_header_dirs; do
31878 if test -r "$ac_dir/X11/Xlib.h"; then
31879 ac_x_includes=$ac_dir
31885 rm -f conftest.err conftest.$ac_ext
31886 fi # $ac_x_includes = no
31888 if test "$ac_x_libraries" = no; then
31889 # Check for the libraries.
31890 # See if we find them without any special options.
31891 # Don't add to
$LIBS permanently.
31894 cat >conftest.
$ac_ext <<_ACEOF
31897 cat confdefs.h
>>conftest.
$ac_ext
31898 cat >>conftest.
$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31900 #include <X11/Xlib.h>
31909 rm -f conftest.
$ac_objext conftest
$ac_exeext
31910 if { (ac_try
="$ac_link"
31911 case "(($ac_try" in
31912 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
31913 *) ac_try_echo=$ac_try;;
31915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31916 (eval "$ac_link") 2>conftest.er1
31918 grep -v '^ *+' conftest.er1 >conftest.err
31920 cat conftest.err >&5
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); } && {
31923 test -z "$ac_c_werror_flag" ||
31924 test ! -s conftest.err
31925 } && test -s conftest$ac_exeext &&
31926 $as_test_x conftest$ac_exeext; then
31928 # We can link X programs with no special library path.
31931 echo "$as_me: failed program was:" >&5
31932 sed 's/^/| /' conftest.$ac_ext >&5
31935 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s
/include
/lib
/g
`
31937 # Don't even attempt the hair of trying to link an X program!
31938 for ac_extension in a so sl; do
31939 if test -r "$ac_dir/libX11.$ac_extension"; then
31940 ac_x_libraries=$ac_dir
31947 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31948 conftest$ac_exeext conftest.$ac_ext
31949 fi # $ac_x_libraries = no
31951 case $ac_x_includes,$ac_x_libraries in #(
31952 no,* | *,no | *\'*)
31953 # Didn't find X, or a directory has "'" in its name.
31954 ac_cv_have_x="have_x=no";; #(
31956 # Record where we found X for the cache.
31957 ac_cv_have_x="have_x=yes\
31958 ac_x_includes='$ac_x_includes'\
31959 ac_x_libraries='$ac_x_libraries'"
31965 eval "$ac_cv_have_x"
31968 if test "$have_x" != yes; then
31969 { echo "$as_me:$LINENO: result: $have_x" >&5
31970 echo "${ECHO_T}$have_x" >&6; }
31973 # If each of the values was on the command line, it overrides each guess.
31974 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
31975 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
31976 # Update the cache value to reflect the command line values.
31977 ac_cv_have_x="have_x=yes\
31978 ac_x_includes='$x_includes'\
31979 ac_x_libraries='$x_libraries'"
31980 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
31981 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
31984 if test "$no_x" = yes; then
31985 # Not all programs may use this symbol, but it does not hurt to define it.
31987 cat >>confdefs.h <<\_ACEOF
31988 #define X_DISPLAY_MISSING 1
31991 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
31993 if test -n "$x_includes"; then
31994 X_CFLAGS="$X_CFLAGS -I$x_includes"
31997 # It would also be nice to do this for all -L options, not just this one.
31998 if test -n "$x_libraries"; then
31999 X_LIBS="$X_LIBS -L$x_libraries"
32000 # For Solaris; some versions of Sun CC require a space after -R and
32001 # others require no space. Words are not sufficient . . . .
32002 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
32003 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
32004 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
32005 ac_xsave_c_werror_flag=$ac_c_werror_flag
32006 ac_c_werror_flag=yes
32007 cat >conftest.$ac_ext <<_ACEOF
32010 cat confdefs.h >>conftest.$ac_ext
32011 cat >>conftest.$ac_ext <<_ACEOF
32012 /* end confdefs.h. */
32022 rm -f conftest.$ac_objext conftest$ac_exeext
32023 if { (ac_try="$ac_link"
32024 case "(($ac_try" in
32025 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32026 *) ac_try_echo
=$ac_try;;
32028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32029 (eval "$ac_link") 2>conftest.er1
32031 grep -v '^ *+' conftest.er1
>conftest.err
32033 cat conftest.err
>&5
32034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32035 (exit $ac_status); } && {
32036 test -z "$ac_c_werror_flag" ||
32037 test ! -s conftest.err
32038 } && test -s conftest
$ac_exeext &&
32039 $as_test_x conftest
$ac_exeext; then
32040 { echo "$as_me:$LINENO: result: no" >&5
32041 echo "${ECHO_T}no" >&6; }
32042 X_LIBS
="$X_LIBS -R$x_libraries"
32044 echo "$as_me: failed program was:" >&5
32045 sed 's/^/| /' conftest.
$ac_ext >&5
32047 LIBS
="$ac_xsave_LIBS -R $x_libraries"
32048 cat >conftest.
$ac_ext <<_ACEOF
32051 cat confdefs.h
>>conftest.
$ac_ext
32052 cat >>conftest.
$ac_ext <<_ACEOF
32053 /* end confdefs.h. */
32063 rm -f conftest.
$ac_objext conftest
$ac_exeext
32064 if { (ac_try
="$ac_link"
32065 case "(($ac_try" in
32066 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32067 *) ac_try_echo=$ac_try;;
32069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32070 (eval "$ac_link") 2>conftest.er1
32072 grep -v '^ *+' conftest.er1 >conftest.err
32074 cat conftest.err >&5
32075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32076 (exit $ac_status); } && {
32077 test -z "$ac_c_werror_flag" ||
32078 test ! -s conftest.err
32079 } && test -s conftest$ac_exeext &&
32080 $as_test_x conftest$ac_exeext; then
32081 { echo "$as_me:$LINENO: result: yes" >&5
32082 echo "${ECHO_T}yes" >&6; }
32083 X_LIBS="$X_LIBS -R $x_libraries"
32085 echo "$as_me: failed program was:" >&5
32086 sed 's/^/| /' conftest.$ac_ext >&5
32088 { echo "$as_me:$LINENO: result: neither works" >&5
32089 echo "${ECHO_T}neither works" >&6; }
32092 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32093 conftest$ac_exeext conftest.$ac_ext
32096 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32097 conftest$ac_exeext conftest.$ac_ext
32098 ac_c_werror_flag=$ac_xsave_c_werror_flag
32099 LIBS=$ac_xsave_LIBS
32102 # Check for system-dependent libraries X programs must link with.
32103 # Do this before checking for the system-independent R6 libraries
32104 # (-lICE), since we may need -lsocket or whatever for X linking.
32106 if test "$ISC" = yes; then
32107 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
32109 # Martyn Johnson says this is needed for Ultrix, if the X
32110 # libraries were built with DECnet support. And Karl Berry says
32111 # the Alpha needs dnet_stub (dnet does not exist).
32112 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
32113 cat >conftest.$ac_ext <<_ACEOF
32116 cat confdefs.h >>conftest.$ac_ext
32117 cat >>conftest.$ac_ext <<_ACEOF
32118 /* end confdefs.h. */
32120 /* Override any GCC internal prototype to avoid an error.
32121 Use char because int might match the return type of a GCC
32122 builtin and then its argument prototype would still apply. */
32126 char XOpenDisplay ();
32130 return XOpenDisplay ();
32135 rm -f conftest.$ac_objext conftest$ac_exeext
32136 if { (ac_try="$ac_link"
32137 case "(($ac_try" in
32138 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32139 *) ac_try_echo
=$ac_try;;
32141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32142 (eval "$ac_link") 2>conftest.er1
32144 grep -v '^ *+' conftest.er1
>conftest.err
32146 cat conftest.err
>&5
32147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32148 (exit $ac_status); } && {
32149 test -z "$ac_c_werror_flag" ||
32150 test ! -s conftest.err
32151 } && test -s conftest
$ac_exeext &&
32152 $as_test_x conftest
$ac_exeext; then
32155 echo "$as_me: failed program was:" >&5
32156 sed 's/^/| /' conftest.
$ac_ext >&5
32158 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
32159 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
32160 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32163 ac_check_lib_save_LIBS
=$LIBS
32164 LIBS
="-ldnet $LIBS"
32165 cat >conftest.
$ac_ext <<_ACEOF
32168 cat confdefs.h
>>conftest.
$ac_ext
32169 cat >>conftest.
$ac_ext <<_ACEOF
32170 /* end confdefs.h. */
32172 /* Override any GCC internal prototype to avoid an error.
32173 Use char because int might match the return type of a GCC
32174 builtin and then its argument prototype would still apply. */
32182 return dnet_ntoa ();
32187 rm -f conftest.
$ac_objext conftest
$ac_exeext
32188 if { (ac_try
="$ac_link"
32189 case "(($ac_try" in
32190 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32191 *) ac_try_echo=$ac_try;;
32193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32194 (eval "$ac_link") 2>conftest.er1
32196 grep -v '^ *+' conftest.er1 >conftest.err
32198 cat conftest.err >&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); } && {
32201 test -z "$ac_c_werror_flag" ||
32202 test ! -s conftest.err
32203 } && test -s conftest$ac_exeext &&
32204 $as_test_x conftest$ac_exeext; then
32205 ac_cv_lib_dnet_dnet_ntoa=yes
32207 echo "$as_me: failed program was:" >&5
32208 sed 's/^/| /' conftest.$ac_ext >&5
32210 ac_cv_lib_dnet_dnet_ntoa=no
32213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32214 conftest$ac_exeext conftest.$ac_ext
32215 LIBS=$ac_check_lib_save_LIBS
32217 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
32218 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
32219 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
32220 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
32223 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
32224 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
32225 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
32226 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
32227 echo $ECHO_N "(cached) $ECHO_C" >&6
32229 ac_check_lib_save_LIBS=$LIBS
32230 LIBS="-ldnet_stub $LIBS"
32231 cat >conftest.$ac_ext <<_ACEOF
32234 cat confdefs.h >>conftest.$ac_ext
32235 cat >>conftest.$ac_ext <<_ACEOF
32236 /* end confdefs.h. */
32238 /* Override any GCC internal prototype to avoid an error.
32239 Use char because int might match the return type of a GCC
32240 builtin and then its argument prototype would still apply. */
32248 return dnet_ntoa ();
32253 rm -f conftest.$ac_objext conftest$ac_exeext
32254 if { (ac_try="$ac_link"
32255 case "(($ac_try" in
32256 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32257 *) ac_try_echo
=$ac_try;;
32259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32260 (eval "$ac_link") 2>conftest.er1
32262 grep -v '^ *+' conftest.er1
>conftest.err
32264 cat conftest.err
>&5
32265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32266 (exit $ac_status); } && {
32267 test -z "$ac_c_werror_flag" ||
32268 test ! -s conftest.err
32269 } && test -s conftest
$ac_exeext &&
32270 $as_test_x conftest
$ac_exeext; then
32271 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
32273 echo "$as_me: failed program was:" >&5
32274 sed 's/^/| /' conftest.
$ac_ext >&5
32276 ac_cv_lib_dnet_stub_dnet_ntoa
=no
32279 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32280 conftest
$ac_exeext conftest.
$ac_ext
32281 LIBS
=$ac_check_lib_save_LIBS
32283 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
32284 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
32285 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
32286 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
32292 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32293 conftest
$ac_exeext conftest.
$ac_ext
32294 LIBS
="$ac_xsave_LIBS"
32296 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
32297 # to get the SysV transport functions.
32298 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
32300 # The nsl library prevents programs from opening the X display
32301 # on Irix 5.2, according to T.E. Dickey.
32302 # The functions gethostbyname, getservbyname, and inet_addr are
32303 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
32304 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
32305 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
32306 if test "${ac_cv_func_gethostbyname+set}" = set; then
32307 echo $ECHO_N "(cached) $ECHO_C" >&6
32309 cat >conftest.
$ac_ext <<_ACEOF
32312 cat confdefs.h
>>conftest.
$ac_ext
32313 cat >>conftest.
$ac_ext <<_ACEOF
32314 /* end confdefs.h. */
32315 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
32316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32317 #define gethostbyname innocuous_gethostbyname
32319 /* System header to define __stub macros and hopefully few prototypes,
32320 which can conflict with char gethostbyname (); below.
32321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32322 <limits.h> exists even on freestanding compilers. */
32325 # include <limits.h>
32327 # include <assert.h>
32330 #undef gethostbyname
32332 /* Override any GCC internal prototype to avoid an error.
32333 Use char because int might match the return type of a GCC
32334 builtin and then its argument prototype would still apply. */
32338 char gethostbyname ();
32339 /* The GNU C library defines this for functions which it implements
32340 to always fail with ENOSYS. Some functions are actually named
32341 something starting with __ and the normal name is an alias. */
32342 #if defined __stub_gethostbyname || defined __stub___gethostbyname
32349 return gethostbyname ();
32354 rm -f conftest.
$ac_objext conftest
$ac_exeext
32355 if { (ac_try
="$ac_link"
32356 case "(($ac_try" in
32357 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32358 *) ac_try_echo=$ac_try;;
32360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32361 (eval "$ac_link") 2>conftest.er1
32363 grep -v '^ *+' conftest.er1 >conftest.err
32365 cat conftest.err >&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); } && {
32368 test -z "$ac_c_werror_flag" ||
32369 test ! -s conftest.err
32370 } && test -s conftest$ac_exeext &&
32371 $as_test_x conftest$ac_exeext; then
32372 ac_cv_func_gethostbyname=yes
32374 echo "$as_me: failed program was:" >&5
32375 sed 's/^/| /' conftest.$ac_ext >&5
32377 ac_cv_func_gethostbyname=no
32380 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32381 conftest$ac_exeext conftest.$ac_ext
32383 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
32384 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
32386 if test $ac_cv_func_gethostbyname = no; then
32387 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
32388 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
32389 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
32390 echo $ECHO_N "(cached) $ECHO_C" >&6
32392 ac_check_lib_save_LIBS=$LIBS
32394 cat >conftest.$ac_ext <<_ACEOF
32397 cat confdefs.h >>conftest.$ac_ext
32398 cat >>conftest.$ac_ext <<_ACEOF
32399 /* end confdefs.h. */
32401 /* Override any GCC internal prototype to avoid an error.
32402 Use char because int might match the return type of a GCC
32403 builtin and then its argument prototype would still apply. */
32407 char gethostbyname ();
32411 return gethostbyname ();
32416 rm -f conftest.$ac_objext conftest$ac_exeext
32417 if { (ac_try="$ac_link"
32418 case "(($ac_try" in
32419 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32420 *) ac_try_echo
=$ac_try;;
32422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32423 (eval "$ac_link") 2>conftest.er1
32425 grep -v '^ *+' conftest.er1
>conftest.err
32427 cat conftest.err
>&5
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); } && {
32430 test -z "$ac_c_werror_flag" ||
32431 test ! -s conftest.err
32432 } && test -s conftest
$ac_exeext &&
32433 $as_test_x conftest
$ac_exeext; then
32434 ac_cv_lib_nsl_gethostbyname
=yes
32436 echo "$as_me: failed program was:" >&5
32437 sed 's/^/| /' conftest.
$ac_ext >&5
32439 ac_cv_lib_nsl_gethostbyname
=no
32442 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32443 conftest
$ac_exeext conftest.
$ac_ext
32444 LIBS
=$ac_check_lib_save_LIBS
32446 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
32447 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
32448 if test $ac_cv_lib_nsl_gethostbyname = yes; then
32449 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
32452 if test $ac_cv_lib_nsl_gethostbyname = no
; then
32453 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
32454 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
32455 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
32456 echo $ECHO_N "(cached) $ECHO_C" >&6
32458 ac_check_lib_save_LIBS
=$LIBS
32460 cat >conftest.
$ac_ext <<_ACEOF
32463 cat confdefs.h
>>conftest.
$ac_ext
32464 cat >>conftest.
$ac_ext <<_ACEOF
32465 /* end confdefs.h. */
32467 /* Override any GCC internal prototype to avoid an error.
32468 Use char because int might match the return type of a GCC
32469 builtin and then its argument prototype would still apply. */
32473 char gethostbyname ();
32477 return gethostbyname ();
32482 rm -f conftest.
$ac_objext conftest
$ac_exeext
32483 if { (ac_try
="$ac_link"
32484 case "(($ac_try" in
32485 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32486 *) ac_try_echo=$ac_try;;
32488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32489 (eval "$ac_link") 2>conftest.er1
32491 grep -v '^ *+' conftest.er1 >conftest.err
32493 cat conftest.err >&5
32494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495 (exit $ac_status); } && {
32496 test -z "$ac_c_werror_flag" ||
32497 test ! -s conftest.err
32498 } && test -s conftest$ac_exeext &&
32499 $as_test_x conftest$ac_exeext; then
32500 ac_cv_lib_bsd_gethostbyname=yes
32502 echo "$as_me: failed program was:" >&5
32503 sed 's/^/| /' conftest.$ac_ext >&5
32505 ac_cv_lib_bsd_gethostbyname=no
32508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32509 conftest$ac_exeext conftest.$ac_ext
32510 LIBS=$ac_check_lib_save_LIBS
32512 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
32513 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
32514 if test $ac_cv_lib_bsd_gethostbyname = yes; then
32515 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
32521 # lieder@skyler.mavd.honeywell.com says without -lsocket,
32522 # socket/setsockopt and other routines are undefined under SCO ODT
32523 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
32524 # on later versions), says Simon Leinen: it contains gethostby*
32525 # variants that don't use the name server (or something). -lsocket
32526 # must be given before -lnsl if both are needed. We assume that
32527 # if connect needs -lnsl, so does gethostbyname.
32528 { echo "$as_me:$LINENO: checking for connect" >&5
32529 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
32530 if test "${ac_cv_func_connect+set}" = set; then
32531 echo $ECHO_N "(cached) $ECHO_C" >&6
32533 cat >conftest.$ac_ext <<_ACEOF
32536 cat confdefs.h >>conftest.$ac_ext
32537 cat >>conftest.$ac_ext <<_ACEOF
32538 /* end confdefs.h. */
32539 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
32540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32541 #define connect innocuous_connect
32543 /* System header to define __stub macros and hopefully few prototypes,
32544 which can conflict with char connect (); below.
32545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32546 <limits.h> exists even on freestanding compilers. */
32549 # include <limits.h>
32551 # include <assert.h>
32556 /* Override any GCC internal prototype to avoid an error.
32557 Use char because int might match the return type of a GCC
32558 builtin and then its argument prototype would still apply. */
32563 /* The GNU C library defines this for functions which it implements
32564 to always fail with ENOSYS. Some functions are actually named
32565 something starting with __ and the normal name is an alias. */
32566 #if defined __stub_connect || defined __stub___connect
32578 rm -f conftest.$ac_objext conftest$ac_exeext
32579 if { (ac_try="$ac_link"
32580 case "(($ac_try" in
32581 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32582 *) ac_try_echo
=$ac_try;;
32584 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32585 (eval "$ac_link") 2>conftest.er1
32587 grep -v '^ *+' conftest.er1
>conftest.err
32589 cat conftest.err
>&5
32590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32591 (exit $ac_status); } && {
32592 test -z "$ac_c_werror_flag" ||
32593 test ! -s conftest.err
32594 } && test -s conftest
$ac_exeext &&
32595 $as_test_x conftest
$ac_exeext; then
32596 ac_cv_func_connect
=yes
32598 echo "$as_me: failed program was:" >&5
32599 sed 's/^/| /' conftest.
$ac_ext >&5
32601 ac_cv_func_connect
=no
32604 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32605 conftest
$ac_exeext conftest.
$ac_ext
32607 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
32608 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
32610 if test $ac_cv_func_connect = no
; then
32611 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
32612 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
32613 if test "${ac_cv_lib_socket_connect+set}" = set; then
32614 echo $ECHO_N "(cached) $ECHO_C" >&6
32616 ac_check_lib_save_LIBS
=$LIBS
32617 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
32618 cat >conftest.
$ac_ext <<_ACEOF
32621 cat confdefs.h
>>conftest.
$ac_ext
32622 cat >>conftest.
$ac_ext <<_ACEOF
32623 /* end confdefs.h. */
32625 /* Override any GCC internal prototype to avoid an error.
32626 Use char because int might match the return type of a GCC
32627 builtin and then its argument prototype would still apply. */
32640 rm -f conftest.
$ac_objext conftest
$ac_exeext
32641 if { (ac_try
="$ac_link"
32642 case "(($ac_try" in
32643 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32644 *) ac_try_echo=$ac_try;;
32646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32647 (eval "$ac_link") 2>conftest.er1
32649 grep -v '^ *+' conftest.er1 >conftest.err
32651 cat conftest.err >&5
32652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32653 (exit $ac_status); } && {
32654 test -z "$ac_c_werror_flag" ||
32655 test ! -s conftest.err
32656 } && test -s conftest$ac_exeext &&
32657 $as_test_x conftest$ac_exeext; then
32658 ac_cv_lib_socket_connect=yes
32660 echo "$as_me: failed program was:" >&5
32661 sed 's/^/| /' conftest.$ac_ext >&5
32663 ac_cv_lib_socket_connect=no
32666 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32667 conftest$ac_exeext conftest.$ac_ext
32668 LIBS=$ac_check_lib_save_LIBS
32670 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
32671 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
32672 if test $ac_cv_lib_socket_connect = yes; then
32673 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
32678 # Guillermo Gomez says -lposix is necessary on A/UX.
32679 { echo "$as_me:$LINENO: checking for remove" >&5
32680 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
32681 if test "${ac_cv_func_remove+set}" = set; then
32682 echo $ECHO_N "(cached) $ECHO_C" >&6
32684 cat >conftest.$ac_ext <<_ACEOF
32687 cat confdefs.h >>conftest.$ac_ext
32688 cat >>conftest.$ac_ext <<_ACEOF
32689 /* end confdefs.h. */
32690 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
32691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32692 #define remove innocuous_remove
32694 /* System header to define __stub macros and hopefully few prototypes,
32695 which can conflict with char remove (); below.
32696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32697 <limits.h> exists even on freestanding compilers. */
32700 # include <limits.h>
32702 # include <assert.h>
32707 /* Override any GCC internal prototype to avoid an error.
32708 Use char because int might match the return type of a GCC
32709 builtin and then its argument prototype would still apply. */
32714 /* The GNU C library defines this for functions which it implements
32715 to always fail with ENOSYS. Some functions are actually named
32716 something starting with __ and the normal name is an alias. */
32717 #if defined __stub_remove || defined __stub___remove
32729 rm -f conftest.$ac_objext conftest$ac_exeext
32730 if { (ac_try="$ac_link"
32731 case "(($ac_try" in
32732 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32733 *) ac_try_echo
=$ac_try;;
32735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32736 (eval "$ac_link") 2>conftest.er1
32738 grep -v '^ *+' conftest.er1
>conftest.err
32740 cat conftest.err
>&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); } && {
32743 test -z "$ac_c_werror_flag" ||
32744 test ! -s conftest.err
32745 } && test -s conftest
$ac_exeext &&
32746 $as_test_x conftest
$ac_exeext; then
32747 ac_cv_func_remove
=yes
32749 echo "$as_me: failed program was:" >&5
32750 sed 's/^/| /' conftest.
$ac_ext >&5
32752 ac_cv_func_remove
=no
32755 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32756 conftest
$ac_exeext conftest.
$ac_ext
32758 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
32759 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
32761 if test $ac_cv_func_remove = no
; then
32762 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
32763 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
32764 if test "${ac_cv_lib_posix_remove+set}" = set; then
32765 echo $ECHO_N "(cached) $ECHO_C" >&6
32767 ac_check_lib_save_LIBS
=$LIBS
32768 LIBS
="-lposix $LIBS"
32769 cat >conftest.
$ac_ext <<_ACEOF
32772 cat confdefs.h
>>conftest.
$ac_ext
32773 cat >>conftest.
$ac_ext <<_ACEOF
32774 /* end confdefs.h. */
32776 /* Override any GCC internal prototype to avoid an error.
32777 Use char because int might match the return type of a GCC
32778 builtin and then its argument prototype would still apply. */
32791 rm -f conftest.
$ac_objext conftest
$ac_exeext
32792 if { (ac_try
="$ac_link"
32793 case "(($ac_try" in
32794 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32795 *) ac_try_echo=$ac_try;;
32797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32798 (eval "$ac_link") 2>conftest.er1
32800 grep -v '^ *+' conftest.er1 >conftest.err
32802 cat conftest.err >&5
32803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32804 (exit $ac_status); } && {
32805 test -z "$ac_c_werror_flag" ||
32806 test ! -s conftest.err
32807 } && test -s conftest$ac_exeext &&
32808 $as_test_x conftest$ac_exeext; then
32809 ac_cv_lib_posix_remove=yes
32811 echo "$as_me: failed program was:" >&5
32812 sed 's/^/| /' conftest.$ac_ext >&5
32814 ac_cv_lib_posix_remove=no
32817 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32818 conftest$ac_exeext conftest.$ac_ext
32819 LIBS=$ac_check_lib_save_LIBS
32821 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
32822 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
32823 if test $ac_cv_lib_posix_remove = yes; then
32824 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
32829 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
32830 { echo "$as_me:$LINENO: checking for shmat" >&5
32831 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
32832 if test "${ac_cv_func_shmat+set}" = set; then
32833 echo $ECHO_N "(cached) $ECHO_C" >&6
32835 cat >conftest.$ac_ext <<_ACEOF
32838 cat confdefs.h >>conftest.$ac_ext
32839 cat >>conftest.$ac_ext <<_ACEOF
32840 /* end confdefs.h. */
32841 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
32842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32843 #define shmat innocuous_shmat
32845 /* System header to define __stub macros and hopefully few prototypes,
32846 which can conflict with char shmat (); below.
32847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32848 <limits.h> exists even on freestanding compilers. */
32851 # include <limits.h>
32853 # include <assert.h>
32858 /* Override any GCC internal prototype to avoid an error.
32859 Use char because int might match the return type of a GCC
32860 builtin and then its argument prototype would still apply. */
32865 /* The GNU C library defines this for functions which it implements
32866 to always fail with ENOSYS. Some functions are actually named
32867 something starting with __ and the normal name is an alias. */
32868 #if defined __stub_shmat || defined __stub___shmat
32880 rm -f conftest.$ac_objext conftest$ac_exeext
32881 if { (ac_try="$ac_link"
32882 case "(($ac_try" in
32883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
32884 *) ac_try_echo
=$ac_try;;
32886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32887 (eval "$ac_link") 2>conftest.er1
32889 grep -v '^ *+' conftest.er1
>conftest.err
32891 cat conftest.err
>&5
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); } && {
32894 test -z "$ac_c_werror_flag" ||
32895 test ! -s conftest.err
32896 } && test -s conftest
$ac_exeext &&
32897 $as_test_x conftest
$ac_exeext; then
32898 ac_cv_func_shmat
=yes
32900 echo "$as_me: failed program was:" >&5
32901 sed 's/^/| /' conftest.
$ac_ext >&5
32903 ac_cv_func_shmat
=no
32906 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
32907 conftest
$ac_exeext conftest.
$ac_ext
32909 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
32910 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
32912 if test $ac_cv_func_shmat = no
; then
32913 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
32914 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
32915 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
32916 echo $ECHO_N "(cached) $ECHO_C" >&6
32918 ac_check_lib_save_LIBS
=$LIBS
32920 cat >conftest.
$ac_ext <<_ACEOF
32923 cat confdefs.h
>>conftest.
$ac_ext
32924 cat >>conftest.
$ac_ext <<_ACEOF
32925 /* end confdefs.h. */
32927 /* Override any GCC internal prototype to avoid an error.
32928 Use char because int might match the return type of a GCC
32929 builtin and then its argument prototype would still apply. */
32942 rm -f conftest.
$ac_objext conftest
$ac_exeext
32943 if { (ac_try
="$ac_link"
32944 case "(($ac_try" in
32945 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
32946 *) ac_try_echo=$ac_try;;
32948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32949 (eval "$ac_link") 2>conftest.er1
32951 grep -v '^ *+' conftest.er1 >conftest.err
32953 cat conftest.err >&5
32954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32955 (exit $ac_status); } && {
32956 test -z "$ac_c_werror_flag" ||
32957 test ! -s conftest.err
32958 } && test -s conftest$ac_exeext &&
32959 $as_test_x conftest$ac_exeext; then
32960 ac_cv_lib_ipc_shmat=yes
32962 echo "$as_me: failed program was:" >&5
32963 sed 's/^/| /' conftest.$ac_ext >&5
32965 ac_cv_lib_ipc_shmat=no
32968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32969 conftest$ac_exeext conftest.$ac_ext
32970 LIBS=$ac_check_lib_save_LIBS
32972 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
32973 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
32974 if test $ac_cv_lib_ipc_shmat = yes; then
32975 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
32981 # Check for libraries that X11R6 Xt/Xaw programs need.
32982 ac_save_LDFLAGS=$LDFLAGS
32983 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
32984 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
32985 # check for ICE first), but we must link in the order -lSM -lICE or
32986 # we get undefined symbols. So assume we have SM if we have ICE.
32987 # These have to be linked with before -lX11, unlike the other
32988 # libraries we check for below, so use a different variable.
32989 # John Interrante, Karl Berry
32990 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
32991 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
32992 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
32993 echo $ECHO_N "(cached) $ECHO_C" >&6
32995 ac_check_lib_save_LIBS=$LIBS
32996 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
32997 cat >conftest.$ac_ext <<_ACEOF
33000 cat confdefs.h >>conftest.$ac_ext
33001 cat >>conftest.$ac_ext <<_ACEOF
33002 /* end confdefs.h. */
33004 /* Override any GCC internal prototype to avoid an error.
33005 Use char because int might match the return type of a GCC
33006 builtin and then its argument prototype would still apply. */
33010 char IceConnectionNumber ();
33014 return IceConnectionNumber ();
33019 rm -f conftest.$ac_objext conftest$ac_exeext
33020 if { (ac_try="$ac_link"
33021 case "(($ac_try" in
33022 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33023 *) ac_try_echo
=$ac_try;;
33025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33026 (eval "$ac_link") 2>conftest.er1
33028 grep -v '^ *+' conftest.er1
>conftest.err
33030 cat conftest.err
>&5
33031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33032 (exit $ac_status); } && {
33033 test -z "$ac_c_werror_flag" ||
33034 test ! -s conftest.err
33035 } && test -s conftest
$ac_exeext &&
33036 $as_test_x conftest
$ac_exeext; then
33037 ac_cv_lib_ICE_IceConnectionNumber
=yes
33039 echo "$as_me: failed program was:" >&5
33040 sed 's/^/| /' conftest.
$ac_ext >&5
33042 ac_cv_lib_ICE_IceConnectionNumber
=no
33045 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33046 conftest
$ac_exeext conftest.
$ac_ext
33047 LIBS
=$ac_check_lib_save_LIBS
33049 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
33050 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
33051 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
33052 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
33055 LDFLAGS
=$ac_save_LDFLAGS
33060 if test "$no_x" = "yes"; then
33061 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
33062 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
33063 { (exit 1); exit 1; }; }
33066 GUI_TK_LIBRARY
=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
33067 TOOLKIT_INCLUDE
=`echo $X_CFLAGS | sed 's/ -INONE//'`
33068 AFMINSTALL
=afminstall
33069 COMPILED_X_PROGRAM
=0
33073 if test "$wxUSE_X11" = 1; then
33074 if test "$wxUSE_NANOX" = "yes"; then
33075 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
33076 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
33077 if test "x$MICROWIN" = x
; then
33078 { echo "$as_me:$LINENO: result: not found" >&5
33079 echo "${ECHO_T}not found" >&6; }
33080 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
33081 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
33082 { (exit 1); exit 1; }; }
33084 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
33085 echo "${ECHO_T}$MICROWIN" >&6; }
33086 cat >>confdefs.h
<<\_ACEOF
33087 #define wxUSE_NANOX 1
33093 if test "$wxUSE_UNICODE" = "yes"; then
33096 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
33097 if test -n "$ac_tool_prefix"; then
33098 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
33099 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
33100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33102 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
33103 echo $ECHO_N "(cached) $ECHO_C" >&6
33105 case $PKG_CONFIG in
33107 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
33110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33111 for as_dir
in $PATH
33114 test -z "$as_dir" && as_dir
=.
33115 for ac_exec_ext
in '' $ac_executable_extensions; do
33116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33117 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33128 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
33129 if test -n "$PKG_CONFIG"; then
33130 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
33131 echo "${ECHO_T}$PKG_CONFIG" >&6; }
33133 { echo "$as_me:$LINENO: result: no" >&5
33134 echo "${ECHO_T}no" >&6; }
33139 if test -z "$ac_cv_path_PKG_CONFIG"; then
33140 ac_pt_PKG_CONFIG
=$PKG_CONFIG
33141 # Extract the first word of "pkg-config", so it can be a program name with args.
33142 set dummy pkg
-config; ac_word
=$2
33143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33145 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
33146 echo $ECHO_N "(cached) $ECHO_C" >&6
33148 case $ac_pt_PKG_CONFIG in
33150 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
33153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
33154 for as_dir
in $PATH
33157 test -z "$as_dir" && as_dir
=.
33158 for ac_exec_ext
in '' $ac_executable_extensions; do
33159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33160 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
33161 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33171 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
33172 if test -n "$ac_pt_PKG_CONFIG"; then
33173 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
33174 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
33176 { echo "$as_me:$LINENO: result: no" >&5
33177 echo "${ECHO_T}no" >&6; }
33180 if test "x$ac_pt_PKG_CONFIG" = x
; then
33183 case $cross_compiling:$ac_tool_warned in
33185 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
33186 whose name does not start with the host triplet. If you think this
33187 configuration is useful to you, please write to autoconf@gnu.org." >&5
33188 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
33189 whose name does not start with the host triplet. If you think this
33190 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
33191 ac_tool_warned
=yes ;;
33193 PKG_CONFIG
=$ac_pt_PKG_CONFIG
33196 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
33200 if test -n "$PKG_CONFIG"; then
33201 _pkg_min_version
=0.9.0
33202 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
33203 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
33204 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
33205 { echo "$as_me:$LINENO: result: yes" >&5
33206 echo "${ECHO_T}yes" >&6; }
33208 { echo "$as_me:$LINENO: result: no" >&5
33209 echo "${ECHO_T}no" >&6; }
33217 { echo "$as_me:$LINENO: checking for PANGOX" >&5
33218 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
33220 if test -n "$PKG_CONFIG"; then
33221 if test -n "$PANGOX_CFLAGS"; then
33222 pkg_cv_PANGOX_CFLAGS
="$PANGOX_CFLAGS"
33224 if test -n "$PKG_CONFIG" && \
33225 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33226 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33229 (exit $ac_status); }; then
33230 pkg_cv_PANGOX_CFLAGS
=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
33238 if test -n "$PKG_CONFIG"; then
33239 if test -n "$PANGOX_LIBS"; then
33240 pkg_cv_PANGOX_LIBS
="$PANGOX_LIBS"
33242 if test -n "$PKG_CONFIG" && \
33243 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
33244 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
33246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33247 (exit $ac_status); }; then
33248 pkg_cv_PANGOX_LIBS
=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
33259 if test $pkg_failed = yes; then
33261 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33262 _pkg_short_errors_supported
=yes
33264 _pkg_short_errors_supported
=no
33266 if test $_pkg_short_errors_supported = yes; then
33267 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
33269 PANGOX_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
33271 # Put the nasty error message in config.log where it belongs
33272 echo "$PANGOX_PKG_ERRORS" >&5
33275 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33276 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33277 { (exit 1); exit 1; }; }
33280 elif test $pkg_failed = untried
; then
33282 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
33283 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
33284 { (exit 1); exit 1; }; }
33288 PANGOX_CFLAGS
=$pkg_cv_PANGOX_CFLAGS
33289 PANGOX_LIBS
=$pkg_cv_PANGOX_LIBS
33290 { echo "$as_me:$LINENO: result: yes" >&5
33291 echo "${ECHO_T}yes" >&6; }
33293 CFLAGS
="$PANGOX_CFLAGS $CFLAGS"
33294 CXXFLAGS
="$PANGOX_CFLAGS $CXXFLAGS"
33295 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOX_LIBS"
33300 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
33301 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
33303 if test -n "$PKG_CONFIG"; then
33304 if test -n "$PANGOFT2_CFLAGS"; then
33305 pkg_cv_PANGOFT2_CFLAGS
="$PANGOFT2_CFLAGS"
33307 if test -n "$PKG_CONFIG" && \
33308 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33309 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312 (exit $ac_status); }; then
33313 pkg_cv_PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
33321 if test -n "$PKG_CONFIG"; then
33322 if test -n "$PANGOFT2_LIBS"; then
33323 pkg_cv_PANGOFT2_LIBS
="$PANGOFT2_LIBS"
33325 if test -n "$PKG_CONFIG" && \
33326 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
33327 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
33329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33330 (exit $ac_status); }; then
33331 pkg_cv_PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
33342 if test $pkg_failed = yes; then
33344 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33345 _pkg_short_errors_supported
=yes
33347 _pkg_short_errors_supported
=no
33349 if test $_pkg_short_errors_supported = yes; then
33350 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
33352 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
33354 # Put the nasty error message in config.log where it belongs
33355 echo "$PANGOFT2_PKG_ERRORS" >&5
33358 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33359 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33360 wxUSE_PRINTING_ARCHITECTURE
="no"
33363 elif test $pkg_failed = untried
; then
33365 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
33366 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
33367 wxUSE_PRINTING_ARCHITECTURE
="no"
33371 PANGOFT2_CFLAGS
=$pkg_cv_PANGOFT2_CFLAGS
33372 PANGOFT2_LIBS
=$pkg_cv_PANGOFT2_LIBS
33373 { echo "$as_me:$LINENO: result: yes" >&5
33374 echo "${ECHO_T}yes" >&6; }
33376 CFLAGS
="$PANGOFT2_CFLAGS $CFLAGS"
33377 CXXFLAGS
="$PANGOFT2_CFLAGS $CXXFLAGS"
33378 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
33383 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
33384 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
33386 if test -n "$PKG_CONFIG"; then
33387 if test -n "$PANGOXFT_CFLAGS"; then
33388 pkg_cv_PANGOXFT_CFLAGS
="$PANGOXFT_CFLAGS"
33390 if test -n "$PKG_CONFIG" && \
33391 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33392 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33395 (exit $ac_status); }; then
33396 pkg_cv_PANGOXFT_CFLAGS
=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
33404 if test -n "$PKG_CONFIG"; then
33405 if test -n "$PANGOXFT_LIBS"; then
33406 pkg_cv_PANGOXFT_LIBS
="$PANGOXFT_LIBS"
33408 if test -n "$PKG_CONFIG" && \
33409 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
33410 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
33412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33413 (exit $ac_status); }; then
33414 pkg_cv_PANGOXFT_LIBS
=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
33425 if test $pkg_failed = yes; then
33427 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
33428 _pkg_short_errors_supported
=yes
33430 _pkg_short_errors_supported
=no
33432 if test $_pkg_short_errors_supported = yes; then
33433 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
33435 PANGOXFT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
33437 # Put the nasty error message in config.log where it belongs
33438 echo "$PANGOXFT_PKG_ERRORS" >&5
33441 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33442 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33445 elif test $pkg_failed = untried
; then
33447 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
33448 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
33452 PANGOXFT_CFLAGS
=$pkg_cv_PANGOXFT_CFLAGS
33453 PANGOXFT_LIBS
=$pkg_cv_PANGOXFT_LIBS
33454 { echo "$as_me:$LINENO: result: yes" >&5
33455 echo "${ECHO_T}yes" >&6; }
33457 cat >>confdefs.h
<<\_ACEOF
33458 #define HAVE_PANGO_XFT 1
33461 CFLAGS
="$PANGOXFT_CFLAGS $CFLAGS"
33462 CXXFLAGS
="$PANGOXFT_CFLAGS $CXXFLAGS"
33463 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
33467 LIBS
="$LIBS $PANGOX_LIBS"
33469 for ac_func
in pango_font_family_is_monospace
33471 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33472 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33474 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33475 echo $ECHO_N "(cached) $ECHO_C" >&6
33477 cat >conftest.
$ac_ext <<_ACEOF
33480 cat confdefs.h
>>conftest.
$ac_ext
33481 cat >>conftest.
$ac_ext <<_ACEOF
33482 /* end confdefs.h. */
33483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33485 #define $ac_func innocuous_$ac_func
33487 /* System header to define __stub macros and hopefully few prototypes,
33488 which can conflict with char $ac_func (); below.
33489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33490 <limits.h> exists even on freestanding compilers. */
33493 # include <limits.h>
33495 # include <assert.h>
33500 /* Override any GCC internal prototype to avoid an error.
33501 Use char because int might match the return type of a GCC
33502 builtin and then its argument prototype would still apply. */
33507 /* The GNU C library defines this for functions which it implements
33508 to always fail with ENOSYS. Some functions are actually named
33509 something starting with __ and the normal name is an alias. */
33510 #if defined __stub_$ac_func || defined __stub___$ac_func
33517 return $ac_func ();
33522 rm -f conftest.
$ac_objext conftest
$ac_exeext
33523 if { (ac_try
="$ac_link"
33524 case "(($ac_try" in
33525 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33526 *) ac_try_echo=$ac_try;;
33528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33529 (eval "$ac_link") 2>conftest.er1
33531 grep -v '^ *+' conftest.er1 >conftest.err
33533 cat conftest.err >&5
33534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33535 (exit $ac_status); } && {
33536 test -z "$ac_c_werror_flag" ||
33537 test ! -s conftest.err
33538 } && test -s conftest$ac_exeext &&
33539 $as_test_x conftest$ac_exeext; then
33540 eval "$as_ac_var=yes"
33542 echo "$as_me: failed program was:" >&5
33543 sed 's/^/| /' conftest.$ac_ext >&5
33545 eval "$as_ac_var=no"
33548 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33549 conftest$ac_exeext conftest.$ac_ext
33551 ac_res=`eval echo '${'$as_ac_var'}'`
33552 { echo "$as_me:$LINENO: result: $ac_res" >&5
33553 echo "${ECHO_T}$ac_res" >&6; }
33554 if test `eval echo '${'$as_ac_var'}'` = yes; then
33555 cat >>confdefs.h <<_ACEOF
33556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33565 wxUSE_UNIVERSAL="yes"
33567 if test "$wxUSE_NANOX" = "yes"; then
33568 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
33569 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"
33570 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
33572 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
33579 if test "$wxUSE_MOTIF" = 1; then
33580 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
33581 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
33584 for ac_dir in $SEARCH_INCLUDE /usr/include
33586 if test -f "$ac_dir/Xm/Xm.h"; then
33587 ac_find_includes=$ac_dir
33592 if test "$ac_find_includes" != "" ; then
33593 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33594 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33596 if test "x$ac_find_includes" = "x/usr/include"; then
33597 ac_path_to_include=""
33599 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
33601 if test $result = 0; then
33602 ac_path_to_include=""
33604 ac_path_to_include=" -I$ac_find_includes"
33608 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
33610 save_CFLAGS=$CFLAGS
33611 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33613 cat >conftest.$ac_ext <<_ACEOF
33616 cat confdefs.h >>conftest.$ac_ext
33617 cat >>conftest.$ac_ext <<_ACEOF
33618 /* end confdefs.h. */
33627 version = xmUseVersion;
33633 rm -f conftest.$ac_objext
33634 if { (ac_try="$ac_compile"
33635 case "(($ac_try" in
33636 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33637 *) ac_try_echo
=$ac_try;;
33639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33640 (eval "$ac_compile") 2>conftest.er1
33642 grep -v '^ *+' conftest.er1
>conftest.err
33644 cat conftest.err
>&5
33645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33646 (exit $ac_status); } && {
33647 test -z "$ac_c_werror_flag" ||
33648 test ! -s conftest.err
33649 } && test -s conftest.
$ac_objext; then
33651 { echo "$as_me:$LINENO: result: found in default search path" >&5
33652 echo "${ECHO_T}found in default search path" >&6; }
33653 COMPILED_X_PROGRAM
=1
33656 echo "$as_me: failed program was:" >&5
33657 sed 's/^/| /' conftest.
$ac_ext >&5
33660 { echo "$as_me:$LINENO: result: no" >&5
33661 echo "${ECHO_T}no" >&6; }
33662 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
33663 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
33664 { (exit 1); exit 1; }; }
33669 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33671 CFLAGS
=$save_CFLAGS
33675 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
33676 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
33679 for ac_dir
in $SEARCH_LIB
33681 for ac_extension
in a so sl dylib dll.a
; do
33682 if test -f "$ac_dir/libXm.$ac_extension"; then
33683 ac_find_libraries
=$ac_dir
33690 if test "x$ac_find_libraries" != "x" ; then
33691 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33692 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33695 if test "$ac_find_libraries" = "default location"; then
33698 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
33700 if test $result = 0; then
33703 ac_path_to_link
=" -L$ac_find_libraries"
33707 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
33709 save_CFLAGS
=$CFLAGS
33710 CFLAGS
="$TOOLKIT_INCLUDE $CFLAGS"
33712 LIBS
="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
33714 cat >conftest.
$ac_ext <<_ACEOF
33717 cat confdefs.h
>>conftest.
$ac_ext
33718 cat >>conftest.
$ac_ext <<_ACEOF
33719 /* end confdefs.h. */
33728 version = xmUseVersion;
33734 rm -f conftest.
$ac_objext conftest
$ac_exeext
33735 if { (ac_try
="$ac_link"
33736 case "(($ac_try" in
33737 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33738 *) ac_try_echo=$ac_try;;
33740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33741 (eval "$ac_link") 2>conftest.er1
33743 grep -v '^ *+' conftest.er1 >conftest.err
33745 cat conftest.err >&5
33746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33747 (exit $ac_status); } && {
33748 test -z "$ac_c_werror_flag" ||
33749 test ! -s conftest.err
33750 } && test -s conftest$ac_exeext &&
33751 $as_test_x conftest$ac_exeext; then
33753 { echo "$as_me:$LINENO: result: found in default search path" >&5
33754 echo "${ECHO_T}found in default search path" >&6; }
33755 COMPILED_X_PROGRAM=1
33758 echo "$as_me: failed program was:" >&5
33759 sed 's/^/| /' conftest.$ac_ext >&5
33762 { echo "$as_me:$LINENO: result: no" >&5
33763 echo "${ECHO_T}no" >&6; }
33764 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
33765 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
33766 { (exit 1); exit 1; }; }
33771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33772 conftest$ac_exeext conftest.$ac_ext
33774 CFLAGS=$save_CFLAGS
33778 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
33779 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
33783 for libp in "" " -lXp"; do
33784 if test "$libs_found" = 0; then
33785 for libsm_ice in "" " -lSM -lICE"; do
33786 if test "$libs_found" = 0; then
33788 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
33789 save_CFLAGS=$CFLAGS
33790 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33792 cat >conftest.$ac_ext <<_ACEOF
33795 cat confdefs.h >>conftest.$ac_ext
33796 cat >>conftest.$ac_ext <<_ACEOF
33797 /* end confdefs.h. */
33800 #include <Xm/List.h>
33806 XmString string = NULL;
33809 XmListAddItem(w, string, position);
33815 rm -f conftest.$ac_objext conftest$ac_exeext
33816 if { (ac_try="$ac_link"
33817 case "(($ac_try" in
33818 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33819 *) ac_try_echo
=$ac_try;;
33821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33822 (eval "$ac_link") 2>conftest.er1
33824 grep -v '^ *+' conftest.er1
>conftest.err
33826 cat conftest.err
>&5
33827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33828 (exit $ac_status); } && {
33829 test -z "$ac_c_werror_flag" ||
33830 test ! -s conftest.err
33831 } && test -s conftest
$ac_exeext &&
33832 $as_test_x conftest
$ac_exeext; then
33835 libsm_ice_link
="$libsm_ice"
33836 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
33837 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
33841 echo "$as_me: failed program was:" >&5
33842 sed 's/^/| /' conftest.
$ac_ext >&5
33848 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
33849 conftest
$ac_exeext conftest.
$ac_ext
33852 CFLAGS
=$save_CFLAGS
33858 if test "$libs_found" = 0; then
33859 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
33860 echo "${ECHO_T}can't find the right libraries" >&6; }
33861 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
33862 echo "$as_me: error: can't link a simple motif program" >&2;}
33863 { (exit 1); exit 1; }; }
33866 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
33867 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
33868 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
33869 echo $ECHO_N "(cached) $ECHO_C" >&6
33871 ac_check_lib_save_LIBS
=$LIBS
33873 cat >conftest.
$ac_ext <<_ACEOF
33876 cat confdefs.h
>>conftest.
$ac_ext
33877 cat >>conftest.
$ac_ext <<_ACEOF
33878 /* end confdefs.h. */
33880 /* Override any GCC internal prototype to avoid an error.
33881 Use char because int might match the return type of a GCC
33882 builtin and then its argument prototype would still apply. */
33886 char SgCreateList ();
33890 return SgCreateList ();
33895 rm -f conftest.
$ac_objext conftest
$ac_exeext
33896 if { (ac_try
="$ac_link"
33897 case "(($ac_try" in
33898 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
33899 *) ac_try_echo=$ac_try;;
33901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33902 (eval "$ac_link") 2>conftest.er1
33904 grep -v '^ *+' conftest.er1 >conftest.err
33906 cat conftest.err >&5
33907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33908 (exit $ac_status); } && {
33909 test -z "$ac_c_werror_flag" ||
33910 test ! -s conftest.err
33911 } && test -s conftest$ac_exeext &&
33912 $as_test_x conftest$ac_exeext; then
33913 ac_cv_lib_Sgm_SgCreateList=yes
33915 echo "$as_me: failed program was:" >&5
33916 sed 's/^/| /' conftest.$ac_ext >&5
33918 ac_cv_lib_Sgm_SgCreateList=no
33921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33922 conftest$ac_exeext conftest.$ac_ext
33923 LIBS=$ac_check_lib_save_LIBS
33925 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
33926 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
33927 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
33928 libsgm_link=" -lSgm"
33932 save_CFLAGS=$CFLAGS
33933 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
33935 { echo "$as_me:$LINENO: checking for Motif 2" >&5
33936 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
33937 if test "${wx_cv_lib_motif2+set}" = set; then
33938 echo $ECHO_N "(cached) $ECHO_C" >&6
33940 cat >conftest.$ac_ext <<_ACEOF
33943 cat confdefs.h >>conftest.$ac_ext
33944 cat >>conftest.$ac_ext <<_ACEOF
33945 /* end confdefs.h. */
33953 #if XmVersion < 2000
33961 rm -f conftest.$ac_objext
33962 if { (ac_try="$ac_compile"
33963 case "(($ac_try" in
33964 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
33965 *) ac_try_echo
=$ac_try;;
33967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33968 (eval "$ac_compile") 2>conftest.er1
33970 grep -v '^ *+' conftest.er1
>conftest.err
33972 cat conftest.err
>&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); } && {
33975 test -z "$ac_c_werror_flag" ||
33976 test ! -s conftest.err
33977 } && test -s conftest.
$ac_objext; then
33978 wx_cv_lib_motif2
="yes"
33980 echo "$as_me: failed program was:" >&5
33981 sed 's/^/| /' conftest.
$ac_ext >&5
33983 wx_cv_lib_motif2
="no"
33986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33988 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
33989 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
33990 if test "$wx_cv_lib_motif2" = "yes"; then
33991 cat >>confdefs.h
<<\_ACEOF
33992 #define __WXMOTIF20__ 1
33996 cat >>confdefs.h
<<\_ACEOF
33997 #define __WXMOTIF20__ 0
34002 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
34003 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
34004 if test "${wx_cv_lib_lesstif+set}" = set; then
34005 echo $ECHO_N "(cached) $ECHO_C" >&6
34007 cat >conftest.
$ac_ext <<_ACEOF
34010 cat confdefs.h
>>conftest.
$ac_ext
34011 cat >>conftest.
$ac_ext <<_ACEOF
34012 /* end confdefs.h. */
34020 #if !defined(LesstifVersion) || LesstifVersion <= 0
34028 rm -f conftest.
$ac_objext
34029 if { (ac_try
="$ac_compile"
34030 case "(($ac_try" in
34031 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34032 *) ac_try_echo=$ac_try;;
34034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34035 (eval "$ac_compile") 2>conftest.er1
34037 grep -v '^ *+' conftest.er1 >conftest.err
34039 cat conftest.err >&5
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); } && {
34042 test -z "$ac_c_werror_flag" ||
34043 test ! -s conftest.err
34044 } && test -s conftest.$ac_objext; then
34045 wx_cv_lib_lesstif="yes"
34047 echo "$as_me: failed program was:" >&5
34048 sed 's/^/| /' conftest.$ac_ext >&5
34050 wx_cv_lib_lesstif="no"
34053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34056 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
34057 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
34058 if test "$wx_cv_lib_lesstif" = "yes"; then
34059 cat >>confdefs.h <<\_ACEOF
34060 #define __WXLESSTIF__ 1
34064 cat >>confdefs.h <<\_ACEOF
34065 #define __WXLESSTIF__ 0
34070 CFLAGS=$save_CFLAGS
34072 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
34077 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
34078 if test "$wxUSE_LIBXPM" = "sys"; then
34079 { echo "$as_me:$LINENO: checking for Xpm library" >&5
34080 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
34083 for ac_dir in $SEARCH_LIB
34085 for ac_extension in a so sl dylib dll.a; do
34086 if test -f "$ac_dir/libXpm.$ac_extension"; then
34087 ac_find_libraries=$ac_dir
34093 if test "$ac_find_libraries" != "" ; then
34095 if test "$ac_find_libraries" = "default location"; then
34098 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
34100 if test $result = 0; then
34103 ac_path_to_link=" -L$ac_find_libraries"
34107 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
34108 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34109 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
34111 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
34112 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
34113 if test "${wx_cv_x11_xpm_h+set}" = set; then
34114 echo $ECHO_N "(cached) $ECHO_C" >&6
34117 save_CFLAGS=$CFLAGS
34118 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34120 cat >conftest.$ac_ext <<_ACEOF
34123 cat confdefs.h >>conftest.$ac_ext
34124 cat >>conftest.$ac_ext <<_ACEOF
34125 /* end confdefs.h. */
34127 #include <X11/xpm.h>
34134 version = XpmLibraryVersion();
34140 rm -f conftest.$ac_objext
34141 if { (ac_try="$ac_compile"
34142 case "(($ac_try" in
34143 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34144 *) ac_try_echo
=$ac_try;;
34146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34147 (eval "$ac_compile") 2>conftest.er1
34149 grep -v '^ *+' conftest.er1
>conftest.err
34151 cat conftest.err
>&5
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); } && {
34154 test -z "$ac_c_werror_flag" ||
34155 test ! -s conftest.err
34156 } && test -s conftest.
$ac_objext; then
34157 wx_cv_x11_xpm_h
=yes
34159 echo "$as_me: failed program was:" >&5
34160 sed 's/^/| /' conftest.
$ac_ext >&5
34166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34168 CFLAGS
=$save_CFLAGS
34172 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
34173 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
34175 if test $wx_cv_x11_xpm_h = "yes"; then
34176 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXpm"
34177 cat >>confdefs.h
<<\_ACEOF
34178 #define wxHAVE_LIB_XPM 1
34182 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
34183 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
34189 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
34190 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
34191 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
34192 echo $ECHO_N "(cached) $ECHO_C" >&6
34194 ac_check_lib_save_LIBS
=$LIBS
34195 LIBS
="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
34196 cat >conftest.
$ac_ext <<_ACEOF
34199 cat confdefs.h
>>conftest.
$ac_ext
34200 cat >>conftest.
$ac_ext <<_ACEOF
34201 /* end confdefs.h. */
34203 /* Override any GCC internal prototype to avoid an error.
34204 Use char because int might match the return type of a GCC
34205 builtin and then its argument prototype would still apply. */
34209 char XShapeQueryExtension ();
34213 return XShapeQueryExtension ();
34218 rm -f conftest.
$ac_objext conftest
$ac_exeext
34219 if { (ac_try
="$ac_link"
34220 case "(($ac_try" in
34221 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34222 *) ac_try_echo=$ac_try;;
34224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34225 (eval "$ac_link") 2>conftest.er1
34227 grep -v '^ *+' conftest.er1 >conftest.err
34229 cat conftest.err >&5
34230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34231 (exit $ac_status); } && {
34232 test -z "$ac_c_werror_flag" ||
34233 test ! -s conftest.err
34234 } && test -s conftest$ac_exeext &&
34235 $as_test_x conftest$ac_exeext; then
34236 ac_cv_lib_Xext_XShapeQueryExtension=yes
34238 echo "$as_me: failed program was:" >&5
34239 sed 's/^/| /' conftest.$ac_ext >&5
34241 ac_cv_lib_Xext_XShapeQueryExtension=no
34244 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34245 conftest$ac_exeext conftest.$ac_ext
34246 LIBS=$ac_check_lib_save_LIBS
34248 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
34249 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
34250 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
34252 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
34258 if test "$wxHAVE_XEXT_LIB" = 1; then
34259 save_CFLAGS="$CFLAGS"
34260 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
34262 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
34263 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
34264 cat >conftest.$ac_ext <<_ACEOF
34267 cat confdefs.h >>conftest.$ac_ext
34268 cat >>conftest.$ac_ext <<_ACEOF
34269 /* end confdefs.h. */
34271 #include <X11/Xlib.h>
34272 #include <X11/extensions/shape.h>
34278 int dummy1, dummy2;
34279 XShapeQueryExtension((Display*)NULL,
34280 (int*)NULL, (int*)NULL);
34286 rm -f conftest.$ac_objext
34287 if { (ac_try="$ac_compile"
34288 case "(($ac_try" in
34289 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34290 *) ac_try_echo
=$ac_try;;
34292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34293 (eval "$ac_compile") 2>conftest.er1
34295 grep -v '^ *+' conftest.er1
>conftest.err
34297 cat conftest.err
>&5
34298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34299 (exit $ac_status); } && {
34300 test -z "$ac_c_werror_flag" ||
34301 test ! -s conftest.err
34302 } && test -s conftest.
$ac_objext; then
34304 cat >>confdefs.h
<<\_ACEOF
34305 #define HAVE_XSHAPE 1
34308 { echo "$as_me:$LINENO: result: found" >&5
34309 echo "${ECHO_T}found" >&6; }
34312 echo "$as_me: failed program was:" >&5
34313 sed 's/^/| /' conftest.
$ac_ext >&5
34316 { echo "$as_me:$LINENO: result: not found" >&5
34317 echo "${ECHO_T}not found" >&6; }
34321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34322 CFLAGS
="$save_CFLAGS"
34327 if test "$wxUSE_OSX_CARBON" = 1; then
34328 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
34329 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
34330 if test "$GCC" = yes; then
34331 { echo "$as_me:$LINENO: result: gcc" >&5
34332 echo "${ECHO_T}gcc" >&6; }
34333 CPPFLAGS_PASCAL
="-fpascal-strings"
34334 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
34335 { echo "$as_me:$LINENO: result: xlc" >&5
34336 echo "${ECHO_T}xlc" >&6; }
34337 CPPFLAGS_PASCAL
="-qmacpstr"
34339 { echo "$as_me:$LINENO: result: none" >&5
34340 echo "${ECHO_T}none" >&6; }
34343 if test "x$wxUSE_UNIX" = "xyes"; then
34344 CPPFLAGS
="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
34346 CPPFLAGS
="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
34350 GUIDIST
=OSX_CARBON_DIST
34351 WXBASEPORT
="_carbon"
34353 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34356 if test "$wxUSE_OSX_COCOA" = 1; then
34358 GUIDIST
=OSX_COCOA_DIST
34360 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
34363 if test "$wxUSE_OSX_IPHONE" = 1; then
34367 if test "$wxUSE_OLD_COCOA" = 1; then
34372 if test "$wxUSE_PM" = 1; then
34375 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
34376 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
34377 if test "${wx_cv_spbcdata+set}" = set; then
34378 echo $ECHO_N "(cached) $ECHO_C" >&6
34381 cat >conftest.
$ac_ext <<_ACEOF
34384 cat confdefs.h
>>conftest.
$ac_ext
34385 cat >>conftest.
$ac_ext <<_ACEOF
34386 /* end confdefs.h. */
34401 rm -f conftest.
$ac_objext
34402 if { (ac_try
="$ac_compile"
34403 case "(($ac_try" in
34404 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34405 *) ac_try_echo=$ac_try;;
34407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34408 (eval "$ac_compile") 2>conftest.er1
34410 grep -v '^ *+' conftest.er1 >conftest.err
34412 cat conftest.err >&5
34413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34414 (exit $ac_status); } && {
34415 test -z "$ac_c_werror_flag" ||
34416 test ! -s conftest.err
34417 } && test -s conftest.$ac_objext; then
34420 echo "$as_me: failed program was:" >&5
34421 sed 's/^/| /' conftest.$ac_ext >&5
34427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34431 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
34432 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
34434 if test $wx_cv_spbcdata = "yes"; then
34435 cat >>confdefs.h <<\_ACEOF
34436 #define HAVE_SPBCDATA 1
34442 if test "$TOOLKIT" = "PM" ; then
34445 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
34448 if test "$wxUSE_UNIVERSAL" = "yes"; then
34449 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
34453 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
34454 DISTDIR="wx\$(TOOLKIT)"
34460 if test "$USE_WIN32" = 1 ; then
34464 GUIDIST="BASE_DIST"
34470 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
34471 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
34472 wxUSE_UNICODE_UTF8=yes
34473 elif test "$USE_OS2" = 1 ; then
34474 wxUSE_UNICODE_UTF8=yes
34476 wxUSE_UNICODE_UTF8=no
34481 if test "$wxUSE_GUI" = "yes"; then
34482 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
34484 for ac_header in X11/Xlib.h
34486 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34487 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34490 echo $ECHO_N "(cached) $ECHO_C" >&6
34492 cat >conftest.$ac_ext <<_ACEOF
34495 cat confdefs.h >>conftest.$ac_ext
34496 cat >>conftest.$ac_ext <<_ACEOF
34497 /* end confdefs.h. */
34500 #include <$ac_header>
34502 rm -f conftest.$ac_objext
34503 if { (ac_try="$ac_compile"
34504 case "(($ac_try" in
34505 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34506 *) ac_try_echo
=$ac_try;;
34508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34509 (eval "$ac_compile") 2>conftest.er1
34511 grep -v '^ *+' conftest.er1
>conftest.err
34513 cat conftest.err
>&5
34514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515 (exit $ac_status); } && {
34516 test -z "$ac_c_werror_flag" ||
34517 test ! -s conftest.err
34518 } && test -s conftest.
$ac_objext; then
34519 eval "$as_ac_Header=yes"
34521 echo "$as_me: failed program was:" >&5
34522 sed 's/^/| /' conftest.
$ac_ext >&5
34524 eval "$as_ac_Header=no"
34527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34529 ac_res
=`eval echo '${'$as_ac_Header'}'`
34530 { echo "$as_me:$LINENO: result: $ac_res" >&5
34531 echo "${ECHO_T}$ac_res" >&6; }
34532 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34533 cat >>confdefs.h
<<_ACEOF
34534 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34542 for ac_header
in X
11/XKBlib.h
34544 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34545 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34546 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34547 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34548 echo $ECHO_N "(cached) $ECHO_C" >&6
34550 cat >conftest.
$ac_ext <<_ACEOF
34553 cat confdefs.h
>>conftest.
$ac_ext
34554 cat >>conftest.
$ac_ext <<_ACEOF
34555 /* end confdefs.h. */
34557 #if HAVE_X11_XLIB_H
34558 #include <X11/Xlib.h>
34562 #include <$ac_header>
34564 rm -f conftest.
$ac_objext
34565 if { (ac_try
="$ac_compile"
34566 case "(($ac_try" in
34567 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34568 *) ac_try_echo=$ac_try;;
34570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34571 (eval "$ac_compile") 2>conftest.er1
34573 grep -v '^ *+' conftest.er1 >conftest.err
34575 cat conftest.err >&5
34576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34577 (exit $ac_status); } && {
34578 test -z "$ac_c_werror_flag" ||
34579 test ! -s conftest.err
34580 } && test -s conftest.$ac_objext; then
34581 eval "$as_ac_Header=yes"
34583 echo "$as_me: failed program was:" >&5
34584 sed 's/^/| /' conftest.$ac_ext >&5
34586 eval "$as_ac_Header=no"
34589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34591 ac_res=`eval echo '${'$as_ac_Header'}'`
34592 { echo "$as_me:$LINENO: result: $ac_res" >&5
34593 echo "${ECHO_T}$ac_res" >&6; }
34594 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34595 cat >>confdefs.h <<_ACEOF
34596 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34609 if test "$wxUSE_DISPLAY" = "yes"; then
34610 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK1" = 1; then
34611 { echo "$as_me:$LINENO: checking for Xinerama" >&5
34612 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
34615 for ac_dir in $SEARCH_LIB
34617 for ac_extension in a so sl dylib dll.a; do
34618 if test -f "$ac_dir/libXinerama.$ac_extension"; then
34619 ac_find_libraries=$ac_dir
34625 if test "$ac_find_libraries" != "" ; then
34627 if test "$ac_find_libraries" = "default location"; then
34630 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34632 if test $result = 0; then
34635 ac_path_to_link=" -L$ac_find_libraries"
34639 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34640 LDFLAGS="$LDFLAGS $ac_path_to_link"
34643 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
34644 { echo "$as_me:$LINENO: result: yes" >&5
34645 echo "${ECHO_T}yes" >&6; }
34647 { echo "$as_me:$LINENO: result: no" >&5
34648 echo "${ECHO_T}no" >&6; }
34649 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
34650 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
34653 elif test "$wxUSE_MSW" = 1; then
34654 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
34655 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
34656 if test "${ac_cv_header_ddraw_h+set}" = set; then
34657 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 cat >conftest.$ac_ext <<_ACEOF
34662 cat confdefs.h >>conftest.$ac_ext
34663 cat >>conftest.$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34665 #include <windows.h>
34669 rm -f conftest.$ac_objext
34670 if { (ac_try="$ac_compile"
34671 case "(($ac_try" in
34672 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34673 *) ac_try_echo
=$ac_try;;
34675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34676 (eval "$ac_compile") 2>conftest.er1
34678 grep -v '^ *+' conftest.er1
>conftest.err
34680 cat conftest.err
>&5
34681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34682 (exit $ac_status); } && {
34683 test -z "$ac_c_werror_flag" ||
34684 test ! -s conftest.err
34685 } && test -s conftest.
$ac_objext; then
34686 ac_cv_header_ddraw_h
=yes
34688 echo "$as_me: failed program was:" >&5
34689 sed 's/^/| /' conftest.
$ac_ext >&5
34691 ac_cv_header_ddraw_h
=no
34694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34696 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
34697 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
34703 if test "$wxUSE_DISPLAY" = "yes"; then
34704 if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
34705 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
34706 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
34709 for ac_dir
in $SEARCH_LIB
34711 for ac_extension
in a so sl dylib dll.a
; do
34712 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
34713 ac_find_libraries
=$ac_dir
34719 if test "$ac_find_libraries" != "" ; then
34720 { echo "$as_me:$LINENO: result: yes" >&5
34721 echo "${ECHO_T}yes" >&6; }
34723 for ac_header
in X
11/extensions
/xf86vmode.h
34725 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
34726 { echo "$as_me:$LINENO: checking for $ac_header" >&5
34727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
34728 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
34729 echo $ECHO_N "(cached) $ECHO_C" >&6
34731 cat >conftest.
$ac_ext <<_ACEOF
34734 cat confdefs.h
>>conftest.
$ac_ext
34735 cat >>conftest.
$ac_ext <<_ACEOF
34736 /* end confdefs.h. */
34738 #if HAVE_X11_XLIB_H
34739 #include <X11/Xlib.h>
34743 #include <$ac_header>
34745 rm -f conftest.
$ac_objext
34746 if { (ac_try
="$ac_compile"
34747 case "(($ac_try" in
34748 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34749 *) ac_try_echo=$ac_try;;
34751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34752 (eval "$ac_compile") 2>conftest.er1
34754 grep -v '^ *+' conftest.er1 >conftest.err
34756 cat conftest.err >&5
34757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34758 (exit $ac_status); } && {
34759 test -z "$ac_c_werror_flag" ||
34760 test ! -s conftest.err
34761 } && test -s conftest.$ac_objext; then
34762 eval "$as_ac_Header=yes"
34764 echo "$as_me: failed program was:" >&5
34765 sed 's/^/| /' conftest.$ac_ext >&5
34767 eval "$as_ac_Header=no"
34770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34772 ac_res=`eval echo '${'$as_ac_Header'}'`
34773 { echo "$as_me:$LINENO: result: $ac_res" >&5
34774 echo "${ECHO_T}$ac_res" >&6; }
34775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
34776 cat >>confdefs.h <<_ACEOF
34777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
34780 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
34787 { echo "$as_me:$LINENO: result: no" >&5
34788 echo "${ECHO_T}no" >&6; }
34793 if test "$wxUSE_DETECT_SM" = "yes"; then
34794 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
34795 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
34796 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
34799 for ac_dir in $SEARCH_LIB
34801 for ac_extension in a so sl dylib dll.a; do
34802 if test -f "$ac_dir/libSM.$ac_extension"; then
34803 ac_find_libraries=$ac_dir
34809 if test "$ac_find_libraries" != "" ; then
34811 if test "$ac_find_libraries" = "default location"; then
34814 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
34816 if test $result = 0; then
34819 ac_path_to_link=" -L$ac_find_libraries"
34823 if test "$ac_path_to_link" != " -L/usr/lib" ; then
34824 LDFLAGS="$LDFLAGS $ac_path_to_link"
34826 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
34827 { echo "$as_me:$LINENO: result: yes" >&5
34828 echo "${ECHO_T}yes" >&6; }
34830 { echo "$as_me:$LINENO: result: no" >&5
34831 echo "${ECHO_T}no" >&6; }
34832 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
34833 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
34834 wxUSE_DETECT_SM="no"
34837 wxUSE_DETECT_SM="no"
34844 if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
34847 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
34848 OPENGL_LIBS="-framework OpenGL -framework AGL"
34849 elif test "$wxUSE_MSW" = 1; then
34850 OPENGL_LIBS="-lopengl32 -lglu32"
34851 elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK2" = 1 -o "$wxUSE_GTK" = 1; then
34853 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
34854 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
34857 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
34859 if test -f "$ac_dir/GL/gl.h"; then
34860 ac_find_includes=$ac_dir
34865 if test "$ac_find_includes" != "" ; then
34866 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
34867 echo "${ECHO_T}found in $ac_find_includes" >&6; }
34869 if test "x$ac_find_includes" = "x/usr/include"; then
34870 ac_path_to_include=""
34872 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
34874 if test $result = 0; then
34875 ac_path_to_include=""
34877 ac_path_to_include=" -I$ac_find_includes"
34881 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
34883 { echo "$as_me:$LINENO: result: not found" >&5
34884 echo "${ECHO_T}not found" >&6; }
34887 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
34888 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
34889 if test "${ac_cv_header_GL_gl_h+set}" = set; then
34890 echo $ECHO_N "(cached) $ECHO_C" >&6
34892 cat >conftest.$ac_ext <<_ACEOF
34895 cat confdefs.h >>conftest.$ac_ext
34896 cat >>conftest.$ac_ext <<_ACEOF
34897 /* end confdefs.h. */
34902 rm -f conftest.$ac_objext
34903 if { (ac_try="$ac_compile"
34904 case "(($ac_try" in
34905 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
34906 *) ac_try_echo
=$ac_try;;
34908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34909 (eval "$ac_compile") 2>conftest.er1
34911 grep -v '^ *+' conftest.er1
>conftest.err
34913 cat conftest.err
>&5
34914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34915 (exit $ac_status); } && {
34916 test -z "$ac_c_werror_flag" ||
34917 test ! -s conftest.err
34918 } && test -s conftest.
$ac_objext; then
34919 ac_cv_header_GL_gl_h
=yes
34921 echo "$as_me: failed program was:" >&5
34922 sed 's/^/| /' conftest.
$ac_ext >&5
34924 ac_cv_header_GL_gl_h
=no
34927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34929 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
34930 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
34931 if test $ac_cv_header_GL_gl_h = yes; then
34933 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
34934 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
34935 if test "${ac_cv_header_GL_glu_h+set}" = set; then
34936 echo $ECHO_N "(cached) $ECHO_C" >&6
34938 cat >conftest.
$ac_ext <<_ACEOF
34941 cat confdefs.h
>>conftest.
$ac_ext
34942 cat >>conftest.
$ac_ext <<_ACEOF
34943 /* end confdefs.h. */
34946 #include <GL/glu.h>
34948 rm -f conftest.
$ac_objext
34949 if { (ac_try
="$ac_compile"
34950 case "(($ac_try" in
34951 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
34952 *) ac_try_echo=$ac_try;;
34954 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34955 (eval "$ac_compile") 2>conftest.er1
34957 grep -v '^ *+' conftest.er1 >conftest.err
34959 cat conftest.err >&5
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); } && {
34962 test -z "$ac_c_werror_flag" ||
34963 test ! -s conftest.err
34964 } && test -s conftest.$ac_objext; then
34965 ac_cv_header_GL_glu_h=yes
34967 echo "$as_me: failed program was:" >&5
34968 sed 's/^/| /' conftest.$ac_ext >&5
34970 ac_cv_header_GL_glu_h=no
34973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34975 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
34976 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
34977 if test $ac_cv_header_GL_glu_h = yes; then
34981 { echo "$as_me:$LINENO: checking for -lGL" >&5
34982 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
34985 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib
34987 for ac_extension in a so sl dylib dll.a; do
34988 if test -f "$ac_dir/libGL.$ac_extension"; then
34989 ac_find_libraries=$ac_dir
34995 if test "$ac_find_libraries" != "" ; then
34996 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
34997 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
35000 if test "$ac_find_libraries" = "default location"; then
35003 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35005 if test $result = 0; then
35008 ac_path_to_link=" -L$ac_find_libraries"
35012 if test "$ac_path_to_link" != " -L/usr/lib" ; then
35013 LDFLAGS_GL="$ac_path_to_link"
35016 { echo "$as_me:$LINENO: checking for -lGLU" >&5
35017 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
35020 for ac_dir in $SEARCH_LIB
35022 for ac_extension in a so sl dylib dll.a; do
35023 if test -f "$ac_dir/libGLU.$ac_extension"; then
35024 ac_find_libraries=$ac_dir
35030 if test "$ac_find_libraries" != "" ; then
35032 if test "$ac_find_libraries" = "default location"; then
35035 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35037 if test $result = 0; then
35040 ac_path_to_link=" -L$ac_find_libraries"
35044 if test "$ac_path_to_link" != " -L/usr/lib" -a \
35045 "$ac_path_to_link" != "$LDFLAGS_GL"; then
35046 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
35050 OPENGL_LIBS="-lGL -lGLU"
35051 { echo "$as_me:$LINENO: result: yes" >&5
35052 echo "${ECHO_T}yes" >&6; }
35054 { echo "$as_me:$LINENO: result: no" >&5
35055 echo "${ECHO_T}no" >&6; }
35058 { echo "$as_me:$LINENO: result: no" >&5
35059 echo "${ECHO_T}no" >&6; }
35062 if test "$found_gl" != 1; then
35063 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
35064 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
35067 for ac_dir in $SEARCH_LIB
35069 for ac_extension in a so sl dylib dll.a; do
35070 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
35071 ac_find_libraries=$ac_dir
35077 if test "$ac_find_libraries" != "" ; then
35079 if test "$ac_find_libraries" = "default location"; then
35082 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
35084 if test $result = 0; then
35087 ac_path_to_link=" -L$ac_find_libraries"
35091 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
35092 OPENGL_LIBS="-lMesaGL -lMesaGLU"
35093 { echo "$as_me:$LINENO: result: yes" >&5
35094 echo "${ECHO_T}yes" >&6; }
35096 { echo "$as_me:$LINENO: result: no" >&5
35097 echo "${ECHO_T}no" >&6; }
35109 if test "x$OPENGL_LIBS" = "x"; then
35110 if test "$wxUSE_OPENGL" = "yes"; then
35111 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
35112 echo "$as_me: error: OpenGL libraries not available" >&2;}
35113 { (exit 1); exit 1; }; }
35115 { echo "$as_me:$LINENO: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
35116 echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
35122 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
35123 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
35127 if test "$wxUSE_OPENGL" = "auto"; then
35131 if test "$wxUSE_OPENGL" = "yes"; then
35133 cat >>confdefs.h <<\_ACEOF
35134 #define wxUSE_OPENGL 1
35137 cat >>confdefs.h <<\_ACEOF
35138 #define wxUSE_GLCANVAS 1
35141 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
35146 if test -n "$TOOLKIT" ; then
35147 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
35152 if test "$wxUSE_SHARED" = "yes"; then
35156 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
35157 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
35162 if test "$wxUSE_SHARED" = "yes"; then
35166 *-*-cygwin* | *-*-mingw* )
35167 wx_cv_version_script=no
35171 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
35172 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
35173 if test "${wx_cv_version_script+set}" = set; then
35174 echo $ECHO_N "(cached) $ECHO_C" >&6
35177 echo "VER_1 { *; };" >conftest.sym
35178 echo "int main() { return 0; }" >conftest.cpp
35181 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35182 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
35183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35184 (eval $ac_try) 2>&5
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); }; } ; then
35188 if test -s conftest.stderr ; then
35189 wx_cv_version_script=no
35191 wx_cv_version_script=yes
35194 wx_cv_version_script=no
35197 if test $wx_cv_version_script = yes
35199 echo "struct B { virtual ~B() { } }; \
35200 struct D : public B { }; \
35201 void F() { D d; }" > conftest.cpp
35204 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35205 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
35206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35207 (eval $ac_try) 2>&5
35209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35210 (exit $ac_status); }; } &&
35212 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35213 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
35214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35215 (eval $ac_try) 2>&5
35217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35218 (exit $ac_status); }; }
35221 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
35222 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
35223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35224 (eval $ac_try) 2>&5
35226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35227 (exit $ac_status); }; }
35229 wx_cv_version_script=yes
35231 wx_cv_version_script=no
35236 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
35237 rm -f conftest1.output conftest2.output conftest3.output
35240 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
35241 echo "${ECHO_T}$wx_cv_version_script" >&6; }
35243 if test $wx_cv_version_script = yes ; then
35244 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
35250 if test "$wxUSE_VISIBILITY" != "no"; then
35253 if test -n "$GCC"; then
35254 CFLAGS_VISIBILITY="-fvisibility=hidden"
35255 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
35256 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
35257 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
35258 if test "${wx_cv_cc_visibility+set}" = set; then
35259 echo $ECHO_N "(cached) $ECHO_C" >&6
35262 wx_save_CXXFLAGS="$CXXFLAGS"
35263 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35265 ac_cpp='$CXXCPP $CPPFLAGS'
35266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35270 cat >conftest.$ac_ext <<_ACEOF
35273 cat confdefs.h >>conftest.$ac_ext
35274 cat >>conftest.$ac_ext <<_ACEOF
35275 /* end confdefs.h. */
35277 /* we need gcc >= 4.0, older versions with visibility support
35278 didn't have class visibility: */
35279 #if defined(__GNUC__) && __GNUC__ < 4
35280 error this gcc is too old;
35283 /* visibility only makes sense for ELF shared libs: */
35284 #if !defined(__ELF__) && !defined(__APPLE__)
35285 error this platform has no visibility;
35288 /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
35289 #if defined(__clang__)
35290 clang compiler is still broken w.r.t. visibility;
35293 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
35294 extern __attribute__((__visibility__("default"))) int exportedvar;
35295 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
35296 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
35297 class __attribute__((__visibility__("default"))) Foo {
35309 rm -f conftest.$ac_objext
35310 if { (ac_try="$ac_compile"
35311 case "(($ac_try" in
35312 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35313 *) ac_try_echo
=$ac_try;;
35315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35316 (eval "$ac_compile") 2>conftest.er1
35318 grep -v '^ *+' conftest.er1
>conftest.err
35320 cat conftest.err
>&5
35321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35322 (exit $ac_status); } && {
35323 test -z "$ac_cxx_werror_flag" ||
35324 test ! -s conftest.err
35325 } && test -s conftest.
$ac_objext; then
35326 wx_cv_cc_visibility
=yes
35328 echo "$as_me: failed program was:" >&5
35329 sed 's/^/| /' conftest.
$ac_ext >&5
35331 wx_cv_cc_visibility
=no
35334 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35336 ac_cpp
='$CPP $CPPFLAGS'
35337 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35338 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35339 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35341 CXXFLAGS
="$wx_save_CXXFLAGS"
35344 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
35345 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
35346 if test $wx_cv_cc_visibility = yes; then
35347 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
35348 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
35349 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
35350 echo $ECHO_N "(cached) $ECHO_C" >&6
35353 wx_save_CXXFLAGS
="$CXXFLAGS"
35354 wx_save_LDFLAGS
="$LDFLAGS"
35355 CXXFLAGS
="$CXXFLAGS $CXXFLAGS_VISIBILITY"
35356 LDFLAGS
="$LDFLAGS -shared -fPIC"
35358 ac_cpp
='$CXXCPP $CPPFLAGS'
35359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35363 cat >conftest.
$ac_ext <<_ACEOF
35366 cat confdefs.h
>>conftest.
$ac_ext
35367 cat >>conftest.
$ac_ext <<_ACEOF
35368 /* end confdefs.h. */
35376 std::string s("hello");
35383 rm -f conftest.
$ac_objext conftest
$ac_exeext
35384 if { (ac_try
="$ac_link"
35385 case "(($ac_try" in
35386 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35387 *) ac_try_echo=$ac_try;;
35389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35390 (eval "$ac_link") 2>conftest.er1
35392 grep -v '^ *+' conftest.er1 >conftest.err
35394 cat conftest.err >&5
35395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35396 (exit $ac_status); } && {
35397 test -z "$ac_cxx_werror_flag" ||
35398 test ! -s conftest.err
35399 } && test -s conftest$ac_exeext &&
35400 $as_test_x conftest$ac_exeext; then
35401 wx_cv_cc_broken_libstdcxx_visibility=no
35403 echo "$as_me: failed program was:" >&5
35404 sed 's/^/| /' conftest.$ac_ext >&5
35406 wx_cv_cc_broken_libstdcxx_visibility=yes
35409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35410 conftest$ac_exeext conftest.$ac_ext
35412 ac_cpp='$CPP $CPPFLAGS'
35413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35417 CXXFLAGS="$wx_save_CXXFLAGS"
35418 LDFLAGS="$wx_save_LDFLAGS"
35421 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
35422 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
35424 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35425 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
35426 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
35427 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
35428 echo $ECHO_N "(cached) $ECHO_C" >&6
35432 ac_cpp='$CXXCPP $CPPFLAGS'
35433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35437 cat >conftest.$ac_ext <<_ACEOF
35440 cat confdefs.h >>conftest.$ac_ext
35441 cat >>conftest.$ac_ext <<_ACEOF
35442 /* end confdefs.h. */
35444 #pragma GCC visibility push(default)
35446 #pragma GCC visibility pop
35452 std::string s("hello");
35459 rm -f conftest.$ac_objext conftest$ac_exeext
35460 if { (ac_try="$ac_link"
35461 case "(($ac_try" in
35462 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35463 *) ac_try_echo
=$ac_try;;
35465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35466 (eval "$ac_link") 2>conftest.er1
35468 grep -v '^ *+' conftest.er1
>conftest.err
35470 cat conftest.err
>&5
35471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35472 (exit $ac_status); } && {
35473 test -z "$ac_cxx_werror_flag" ||
35474 test ! -s conftest.err
35475 } && test -s conftest
$ac_exeext &&
35476 $as_test_x conftest
$ac_exeext; then
35477 wx_cv_cc_visibility_workaround
=no
35479 echo "$as_me: failed program was:" >&5
35480 sed 's/^/| /' conftest.
$ac_ext >&5
35482 wx_cv_cc_visibility_workaround
=yes
35485 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35486 conftest
$ac_exeext conftest.
$ac_ext
35488 ac_cpp
='$CPP $CPPFLAGS'
35489 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35490 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35491 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35496 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
35497 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
35499 if test $wx_cv_cc_visibility_workaround = no
; then
35500 wx_cv_cc_visibility
=no
35505 if test $wx_cv_cc_visibility = yes; then
35506 cat >>confdefs.h
<<\_ACEOF
35507 #define HAVE_VISIBILITY 1
35510 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
35511 cat >>confdefs.h
<<\_ACEOF
35512 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
35517 CFLAGS_VISIBILITY
=""
35518 CXXFLAGS_VISIBILITY
=""
35526 if test "x$SUNCXX" = xyes
; then
35527 SAMPLES_RPATH_FLAG
="-R\$(wx_top_builddir)/lib"
35528 WXCONFIG_RPATH
="-R\$libdir"
35531 *-*-linux* | *-*-gnu* )
35532 SAMPLES_RPATH_FLAG
="-Wl,-rpath,\$(wx_top_builddir)/lib"
35533 WXCONFIG_RPATH
="-Wl,-rpath,\$libdir"
35538 CPPFLAGS
="-isystem /usr/openwin/include $CPPFLAGS"
35540 saveLdflags
="$LDFLAGS"
35541 LDFLAGS
="$saveLdflags -Wl,-rpath,/"
35542 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
35543 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
35544 cat >conftest.
$ac_ext <<_ACEOF
35547 cat confdefs.h
>>conftest.
$ac_ext
35548 cat >>conftest.
$ac_ext <<_ACEOF
35549 /* end confdefs.h. */
35559 rm -f conftest.
$ac_objext conftest
$ac_exeext
35560 if { (ac_try
="$ac_link"
35561 case "(($ac_try" in
35562 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35563 *) ac_try_echo=$ac_try;;
35565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35566 (eval "$ac_link") 2>conftest.er1
35568 grep -v '^ *+' conftest.er1 >conftest.err
35570 cat conftest.err >&5
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); } && {
35573 test -z "$ac_c_werror_flag" ||
35574 test ! -s conftest.err
35575 } && test -s conftest$ac_exeext &&
35576 $as_test_x conftest$ac_exeext; then
35578 { echo "$as_me:$LINENO: result: yes" >&5
35579 echo "${ECHO_T}yes" >&6; }
35580 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
35581 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
35584 echo "$as_me: failed program was:" >&5
35585 sed 's/^/| /' conftest.$ac_ext >&5
35588 { echo "$as_me:$LINENO: result: no" >&5
35589 echo "${ECHO_T}no" >&6; }
35590 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
35591 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
35592 LDFLAGS="$saveLdflags -Wl,-R,/"
35593 cat >conftest.$ac_ext <<_ACEOF
35596 cat confdefs.h >>conftest.$ac_ext
35597 cat >>conftest.$ac_ext <<_ACEOF
35598 /* end confdefs.h. */
35608 rm -f conftest.$ac_objext conftest$ac_exeext
35609 if { (ac_try="$ac_link"
35610 case "(($ac_try" in
35611 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35612 *) ac_try_echo
=$ac_try;;
35614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35615 (eval "$ac_link") 2>conftest.er1
35617 grep -v '^ *+' conftest.er1
>conftest.err
35619 cat conftest.err
>&5
35620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35621 (exit $ac_status); } && {
35622 test -z "$ac_c_werror_flag" ||
35623 test ! -s conftest.err
35624 } && test -s conftest
$ac_exeext &&
35625 $as_test_x conftest
$ac_exeext; then
35627 { echo "$as_me:$LINENO: result: yes" >&5
35628 echo "${ECHO_T}yes" >&6; }
35629 SAMPLES_RPATH_FLAG
="-Wl,-R,\$(wx_top_builddir)/lib"
35630 WXCONFIG_RPATH
="-Wl,-R,\$libdir"
35633 echo "$as_me: failed program was:" >&5
35634 sed 's/^/| /' conftest.
$ac_ext >&5
35637 { echo "$as_me:$LINENO: result: no" >&5
35638 echo "${ECHO_T}no" >&6; }
35642 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35643 conftest
$ac_exeext conftest.
$ac_ext
35647 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
35648 conftest
$ac_exeext conftest.
$ac_ext
35649 LDFLAGS
="$saveLdflags"
35653 install_name_tool
=`which ${HOST_PREFIX}install_name_tool`
35654 if test "$install_name_tool" -a -x "$install_name_tool"; then
35655 DYLIB_RPATH_POSTLINK
="${HOST_PREFIX}install_name_tool -id \$@ \$@"
35656 cat <<EOF >change-install-names
35658 libnames=\`cd \${2} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
35659 for i in \${libnames} ; do
35660 ${HOST_PREFIX}install_name_tool -id \${3}/\${i} \${1}/\${i}
35661 for dep in \${libnames} ; do
35662 ${HOST_PREFIX}install_name_tool -change \${2}/\${dep} \${3}/\${dep} \${1}/\${i}
35666 chmod +x change
-install-names
35667 DYLIB_RPATH_INSTALL
="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \$(wx_top_builddir)/lib \${libdir}"
35670 HEADER_PAD_OPTION
="-headerpad_max_install_names"
35673 *-*-cygwin* | *-*-mingw32* )
35677 SAMPLES_RPATH_FLAG
="-Wl,+b,\$(wx_top_builddir)/lib"
35678 WXCONFIG_RPATH
="-Wl,+b,\$libdir"
35684 WXCONFIG_ONLY_CPPFLAGS
="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
35686 if test $wxUSE_RPATH = "no"; then
35687 SAMPLES_RPATH_FLAG
=''
35688 DYLIB_PATH_POSTLINK
=''
35696 config_linkage_component
="-static"
35703 lib_unicode_suffix
=
35705 if test "$wxUSE_UNICODE" = "yes"; then
35706 lib_unicode_suffix
=u
35707 WX_CHARTYPE
="unicode"
35711 WX_FLAVOUR
=${WX_FLAVOUR:+-$WX_FLAVOUR}
35712 WX_LIB_FLAVOUR
=`echo $WX_FLAVOUR | tr '-' '_'`
35715 if test "$wxUSE_DEBUG_INFO" = "yes"; then
35719 WX_VERSION_TAG
=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
35721 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
35723 TOOLCHAIN_FULLNAME
="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
35726 if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
35727 WX_LIBRARY_BASENAME_NOGUI
="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35729 WX_LIBRARY_BASENAME_NOGUI
="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35731 if test "${TOOLKIT_DIR}" = "os2"; then
35732 WX_LIBRARY_BASENAME_GUI
="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35734 WX_LIBRARY_BASENAME_GUI
="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
35739 if test "$wxUSE_OLD_COCOA" = 1; then
35742 ac_cpp
='$CPP $CPPFLAGS'
35743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35749 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
35750 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
35751 cat >conftest.
$ac_ext <<_ACEOF
35754 cat confdefs.h
>>conftest.
$ac_ext
35755 cat >>conftest.
$ac_ext <<_ACEOF
35756 /* end confdefs.h. */
35757 #include <AppKit/NSEvent.h>
35758 #include <CoreFoundation/CoreFoundation.h>
35768 rm -f conftest.
$ac_objext
35769 if { (ac_try
="$ac_compile"
35770 case "(($ac_try" in
35771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35772 *) ac_try_echo=$ac_try;;
35774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35775 (eval "$ac_compile") 2>conftest.er1
35777 grep -v '^ *+' conftest.er1 >conftest.err
35779 cat conftest.err >&5
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); } && {
35782 test -z "$ac_c_werror_flag" ||
35783 test ! -s conftest.err
35784 } && test -s conftest.$ac_objext; then
35785 { echo "$as_me:$LINENO: result: no" >&5
35786 echo "${ECHO_T}no" >&6; }
35788 echo "$as_me: failed program was:" >&5
35789 sed 's/^/| /' conftest.$ac_ext >&5
35791 { echo "$as_me:$LINENO: result: yes" >&5
35792 echo "${ECHO_T}yes" >&6; }
35793 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
35794 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
35795 cat >conftest.$ac_ext <<_ACEOF
35798 cat confdefs.h >>conftest.$ac_ext
35799 cat >>conftest.$ac_ext <<_ACEOF
35800 /* end confdefs.h. */
35801 #define __Point__ 1
35802 #include <AppKit/NSEvent.h>
35803 #include <CoreFoundation/CoreFoundation.h>
35813 rm -f conftest.$ac_objext
35814 if { (ac_try="$ac_compile"
35815 case "(($ac_try" in
35816 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35817 *) ac_try_echo
=$ac_try;;
35819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35820 (eval "$ac_compile") 2>conftest.er1
35822 grep -v '^ *+' conftest.er1
>conftest.err
35824 cat conftest.err
>&5
35825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35826 (exit $ac_status); } && {
35827 test -z "$ac_c_werror_flag" ||
35828 test ! -s conftest.err
35829 } && test -s conftest.
$ac_objext; then
35830 { echo "$as_me:$LINENO: result: yes" >&5
35831 echo "${ECHO_T}yes" >&6; }
35832 cat >>confdefs.h
<<\_ACEOF
35833 #define __Point__ 1
35838 echo "$as_me: failed program was:" >&5
35839 sed 's/^/| /' conftest.
$ac_ext >&5
35841 { { echo "$as_me:$LINENO: error: no
35842 See \`config.log' for more details." >&5
35843 echo "$as_me: error: no
35844 See \`config.log' for more details." >&2;}
35845 { (exit 1); exit 1; }; }
35849 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35855 ac_cpp
='$CPP $CPPFLAGS'
35856 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35857 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35858 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35863 { echo "$as_me:$LINENO: checking for mode_t" >&5
35864 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
35865 if test "${ac_cv_type_mode_t+set}" = set; then
35866 echo $ECHO_N "(cached) $ECHO_C" >&6
35868 cat >conftest.
$ac_ext <<_ACEOF
35871 cat confdefs.h
>>conftest.
$ac_ext
35872 cat >>conftest.
$ac_ext <<_ACEOF
35873 /* end confdefs.h. */
35874 $ac_includes_default
35875 typedef mode_t ac__type_new_;
35879 if ((ac__type_new_ *) 0)
35881 if (sizeof (ac__type_new_))
35887 rm -f conftest.
$ac_objext
35888 if { (ac_try
="$ac_compile"
35889 case "(($ac_try" in
35890 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
35891 *) ac_try_echo=$ac_try;;
35893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35894 (eval "$ac_compile") 2>conftest.er1
35896 grep -v '^ *+' conftest.er1 >conftest.err
35898 cat conftest.err >&5
35899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35900 (exit $ac_status); } && {
35901 test -z "$ac_c_werror_flag" ||
35902 test ! -s conftest.err
35903 } && test -s conftest.$ac_objext; then
35904 ac_cv_type_mode_t=yes
35906 echo "$as_me: failed program was:" >&5
35907 sed 's/^/| /' conftest.$ac_ext >&5
35909 ac_cv_type_mode_t=no
35912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35914 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
35915 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
35916 if test $ac_cv_type_mode_t = yes; then
35920 cat >>confdefs.h <<_ACEOF
35926 { echo "$as_me:$LINENO: checking for off_t" >&5
35927 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
35928 if test "${ac_cv_type_off_t+set}" = set; then
35929 echo $ECHO_N "(cached) $ECHO_C" >&6
35931 cat >conftest.$ac_ext <<_ACEOF
35934 cat confdefs.h >>conftest.$ac_ext
35935 cat >>conftest.$ac_ext <<_ACEOF
35936 /* end confdefs.h. */
35937 $ac_includes_default
35938 typedef off_t ac__type_new_;
35942 if ((ac__type_new_ *) 0)
35944 if (sizeof (ac__type_new_))
35950 rm -f conftest.$ac_objext
35951 if { (ac_try="$ac_compile"
35952 case "(($ac_try" in
35953 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
35954 *) ac_try_echo
=$ac_try;;
35956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35957 (eval "$ac_compile") 2>conftest.er1
35959 grep -v '^ *+' conftest.er1
>conftest.err
35961 cat conftest.err
>&5
35962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35963 (exit $ac_status); } && {
35964 test -z "$ac_c_werror_flag" ||
35965 test ! -s conftest.err
35966 } && test -s conftest.
$ac_objext; then
35967 ac_cv_type_off_t
=yes
35969 echo "$as_me: failed program was:" >&5
35970 sed 's/^/| /' conftest.
$ac_ext >&5
35972 ac_cv_type_off_t
=no
35975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35977 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
35978 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
35979 if test $ac_cv_type_off_t = yes; then
35983 cat >>confdefs.h
<<_ACEOF
35984 #define off_t long int
35989 { echo "$as_me:$LINENO: checking for pid_t" >&5
35990 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
35991 if test "${ac_cv_type_pid_t+set}" = set; then
35992 echo $ECHO_N "(cached) $ECHO_C" >&6
35994 cat >conftest.
$ac_ext <<_ACEOF
35997 cat confdefs.h
>>conftest.
$ac_ext
35998 cat >>conftest.
$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36000 $ac_includes_default
36001 typedef pid_t ac__type_new_;
36005 if ((ac__type_new_ *) 0)
36007 if (sizeof (ac__type_new_))
36013 rm -f conftest.
$ac_objext
36014 if { (ac_try
="$ac_compile"
36015 case "(($ac_try" in
36016 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36017 *) ac_try_echo=$ac_try;;
36019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36020 (eval "$ac_compile") 2>conftest.er1
36022 grep -v '^ *+' conftest.er1 >conftest.err
36024 cat conftest.err >&5
36025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36026 (exit $ac_status); } && {
36027 test -z "$ac_c_werror_flag" ||
36028 test ! -s conftest.err
36029 } && test -s conftest.$ac_objext; then
36030 ac_cv_type_pid_t=yes
36032 echo "$as_me: failed program was:" >&5
36033 sed 's/^/| /' conftest.$ac_ext >&5
36035 ac_cv_type_pid_t=no
36038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36040 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
36041 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
36042 if test $ac_cv_type_pid_t = yes; then
36046 cat >>confdefs.h <<_ACEOF
36052 { echo "$as_me:$LINENO: checking for size_t" >&5
36053 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
36054 if test "${ac_cv_type_size_t+set}" = set; then
36055 echo $ECHO_N "(cached) $ECHO_C" >&6
36057 cat >conftest.$ac_ext <<_ACEOF
36060 cat confdefs.h >>conftest.$ac_ext
36061 cat >>conftest.$ac_ext <<_ACEOF
36062 /* end confdefs.h. */
36063 $ac_includes_default
36064 typedef size_t ac__type_new_;
36068 if ((ac__type_new_ *) 0)
36070 if (sizeof (ac__type_new_))
36076 rm -f conftest.$ac_objext
36077 if { (ac_try="$ac_compile"
36078 case "(($ac_try" in
36079 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36080 *) ac_try_echo
=$ac_try;;
36082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36083 (eval "$ac_compile") 2>conftest.er1
36085 grep -v '^ *+' conftest.er1
>conftest.err
36087 cat conftest.err
>&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); } && {
36090 test -z "$ac_c_werror_flag" ||
36091 test ! -s conftest.err
36092 } && test -s conftest.
$ac_objext; then
36093 ac_cv_type_size_t
=yes
36095 echo "$as_me: failed program was:" >&5
36096 sed 's/^/| /' conftest.
$ac_ext >&5
36098 ac_cv_type_size_t
=no
36101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36103 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
36104 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
36105 if test $ac_cv_type_size_t = yes; then
36109 cat >>confdefs.h
<<_ACEOF
36110 #define size_t unsigned int
36116 { echo "$as_me:$LINENO: checking for ssize_t" >&5
36117 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
36118 if test "${ac_cv_type_ssize_t+set}" = set; then
36119 echo $ECHO_N "(cached) $ECHO_C" >&6
36121 cat >conftest.
$ac_ext <<_ACEOF
36124 cat confdefs.h
>>conftest.
$ac_ext
36125 cat >>conftest.
$ac_ext <<_ACEOF
36126 /* end confdefs.h. */
36127 $ac_includes_default
36128 typedef ssize_t ac__type_new_;
36132 if ((ac__type_new_ *) 0)
36134 if (sizeof (ac__type_new_))
36140 rm -f conftest.
$ac_objext
36141 if { (ac_try
="$ac_compile"
36142 case "(($ac_try" in
36143 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36144 *) ac_try_echo=$ac_try;;
36146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36147 (eval "$ac_compile") 2>conftest.er1
36149 grep -v '^ *+' conftest.er1 >conftest.err
36151 cat conftest.err >&5
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); } && {
36154 test -z "$ac_c_werror_flag" ||
36155 test ! -s conftest.err
36156 } && test -s conftest.$ac_objext; then
36157 ac_cv_type_ssize_t=yes
36159 echo "$as_me: failed program was:" >&5
36160 sed 's/^/| /' conftest.$ac_ext >&5
36162 ac_cv_type_ssize_t=no
36165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36167 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
36168 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
36169 if test $ac_cv_type_ssize_t = yes; then
36171 cat >>confdefs.h <<_ACEOF
36172 #define HAVE_SSIZE_T 1
36180 ac_cpp='$CXXCPP $CPPFLAGS'
36181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36184 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
36185 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
36186 if test "${wx_cv_size_t_is_uint+set}" = set; then
36187 echo $ECHO_N "(cached) $ECHO_C" >&6
36190 cat >conftest.$ac_ext <<_ACEOF
36193 cat confdefs.h >>conftest.$ac_ext
36194 cat >>conftest.$ac_ext <<_ACEOF
36195 /* end confdefs.h. */
36196 #include <stddef.h>
36203 struct Foo { void foo(size_t); void foo(unsigned int); };
36211 rm -f conftest.$ac_objext
36212 if { (ac_try="$ac_compile"
36213 case "(($ac_try" in
36214 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36215 *) ac_try_echo
=$ac_try;;
36217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36218 (eval "$ac_compile") 2>conftest.er1
36220 grep -v '^ *+' conftest.er1
>conftest.err
36222 cat conftest.err
>&5
36223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36224 (exit $ac_status); } && {
36225 test -z "$ac_cxx_werror_flag" ||
36226 test ! -s conftest.err
36227 } && test -s conftest.
$ac_objext; then
36228 wx_cv_size_t_is_uint
=no
36230 echo "$as_me: failed program was:" >&5
36231 sed 's/^/| /' conftest.
$ac_ext >&5
36233 wx_cv_size_t_is_uint
=yes
36237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36241 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
36242 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
36244 if test "$wx_cv_size_t_is_uint" = "yes"; then
36245 cat >>confdefs.h
<<\_ACEOF
36246 #define wxSIZE_T_IS_UINT 1
36250 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
36251 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
36252 if test "${wx_cv_size_t_is_ulong+set}" = set; then
36253 echo $ECHO_N "(cached) $ECHO_C" >&6
36255 cat >conftest.
$ac_ext <<_ACEOF
36258 cat confdefs.h
>>conftest.
$ac_ext
36259 cat >>conftest.
$ac_ext <<_ACEOF
36260 /* end confdefs.h. */
36261 #include <stddef.h>
36268 struct Foo { void foo(size_t); void foo(unsigned long); };
36276 rm -f conftest.
$ac_objext
36277 if { (ac_try
="$ac_compile"
36278 case "(($ac_try" in
36279 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36280 *) ac_try_echo=$ac_try;;
36282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36283 (eval "$ac_compile") 2>conftest.er1
36285 grep -v '^ *+' conftest.er1 >conftest.err
36287 cat conftest.err >&5
36288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36289 (exit $ac_status); } && {
36290 test -z "$ac_cxx_werror_flag" ||
36291 test ! -s conftest.err
36292 } && test -s conftest.$ac_objext; then
36293 wx_cv_size_t_is_ulong=no
36295 echo "$as_me: failed program was:" >&5
36296 sed 's/^/| /' conftest.$ac_ext >&5
36298 wx_cv_size_t_is_ulong=yes
36302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36305 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
36306 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
36308 if test "$wx_cv_size_t_is_ulong" = "yes"; then
36309 cat >>confdefs.h <<\_ACEOF
36310 #define wxSIZE_T_IS_ULONG 1
36316 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
36317 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
36318 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
36319 echo $ECHO_N "(cached) $ECHO_C" >&6
36321 cat >conftest.$ac_ext <<_ACEOF
36324 cat confdefs.h >>conftest.$ac_ext
36325 cat >>conftest.$ac_ext <<_ACEOF
36326 /* end confdefs.h. */
36334 struct Foo { void foo(wchar_t);
36335 void foo(unsigned short);
36336 void foo(unsigned int);
36337 void foo(unsigned long); };
36345 rm -f conftest.$ac_objext
36346 if { (ac_try="$ac_compile"
36347 case "(($ac_try" in
36348 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36349 *) ac_try_echo
=$ac_try;;
36351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36352 (eval "$ac_compile") 2>conftest.er1
36354 grep -v '^ *+' conftest.er1
>conftest.err
36356 cat conftest.err
>&5
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); } && {
36359 test -z "$ac_cxx_werror_flag" ||
36360 test ! -s conftest.err
36361 } && test -s conftest.
$ac_objext; then
36362 wx_cv_wchar_t_is_separate_type
=yes
36364 echo "$as_me: failed program was:" >&5
36365 sed 's/^/| /' conftest.
$ac_ext >&5
36367 wx_cv_wchar_t_is_separate_type
=no
36371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36374 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
36375 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
36377 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
36378 cat >>confdefs.h
<<\_ACEOF
36379 #define wxWCHAR_T_IS_REAL_TYPE 1
36383 cat >>confdefs.h
<<\_ACEOF
36384 #define wxWCHAR_T_IS_REAL_TYPE 0
36390 ac_cpp
='$CPP $CPPFLAGS'
36391 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36392 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36393 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36396 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
36397 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
36398 if test "${wx_cv_struct_pw_gecos+set}" = set; then
36399 echo $ECHO_N "(cached) $ECHO_C" >&6
36402 cat >conftest.
$ac_ext <<_ACEOF
36405 cat confdefs.h
>>conftest.
$ac_ext
36406 cat >>conftest.
$ac_ext <<_ACEOF
36407 /* end confdefs.h. */
36421 rm -f conftest.
$ac_objext
36422 if { (ac_try
="$ac_compile"
36423 case "(($ac_try" in
36424 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36425 *) ac_try_echo=$ac_try;;
36427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36428 (eval "$ac_compile") 2>conftest.er1
36430 grep -v '^ *+' conftest.er1 >conftest.err
36432 cat conftest.err >&5
36433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434 (exit $ac_status); } && {
36435 test -z "$ac_c_werror_flag" ||
36436 test ! -s conftest.err
36437 } && test -s conftest.$ac_objext; then
36439 wx_cv_struct_pw_gecos=yes
36442 echo "$as_me: failed program was:" >&5
36443 sed 's/^/| /' conftest.$ac_ext >&5
36446 wx_cv_struct_pw_gecos=no
36451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36455 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
36456 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
36458 if test "$wx_cv_struct_pw_gecos" = "yes"; then
36459 cat >>confdefs.h <<\_ACEOF
36460 #define HAVE_PW_GECOS 1
36469 for ac_func in wcslen
36471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36472 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36474 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36475 echo $ECHO_N "(cached) $ECHO_C" >&6
36477 cat >conftest.$ac_ext <<_ACEOF
36480 cat confdefs.h >>conftest.$ac_ext
36481 cat >>conftest.$ac_ext <<_ACEOF
36482 /* end confdefs.h. */
36483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36485 #define $ac_func innocuous_$ac_func
36487 /* System header to define __stub macros and hopefully few prototypes,
36488 which can conflict with char $ac_func (); below.
36489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36490 <limits.h> exists even on freestanding compilers. */
36493 # include <limits.h>
36495 # include <assert.h>
36500 /* Override any GCC internal prototype to avoid an error.
36501 Use char because int might match the return type of a GCC
36502 builtin and then its argument prototype would still apply. */
36507 /* The GNU C library defines this for functions which it implements
36508 to always fail with ENOSYS. Some functions are actually named
36509 something starting with __ and the normal name is an alias. */
36510 #if defined __stub_$ac_func || defined __stub___$ac_func
36517 return $ac_func ();
36522 rm -f conftest.$ac_objext conftest$ac_exeext
36523 if { (ac_try="$ac_link"
36524 case "(($ac_try" in
36525 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36526 *) ac_try_echo
=$ac_try;;
36528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36529 (eval "$ac_link") 2>conftest.er1
36531 grep -v '^ *+' conftest.er1
>conftest.err
36533 cat conftest.err
>&5
36534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36535 (exit $ac_status); } && {
36536 test -z "$ac_c_werror_flag" ||
36537 test ! -s conftest.err
36538 } && test -s conftest
$ac_exeext &&
36539 $as_test_x conftest
$ac_exeext; then
36540 eval "$as_ac_var=yes"
36542 echo "$as_me: failed program was:" >&5
36543 sed 's/^/| /' conftest.
$ac_ext >&5
36545 eval "$as_ac_var=no"
36548 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36549 conftest
$ac_exeext conftest.
$ac_ext
36551 ac_res
=`eval echo '${'$as_ac_var'}'`
36552 { echo "$as_me:$LINENO: result: $ac_res" >&5
36553 echo "${ECHO_T}$ac_res" >&6; }
36554 if test `eval echo '${'$as_ac_var'}'` = yes; then
36555 cat >>confdefs.h
<<_ACEOF
36556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36563 if test "$WCSLEN_FOUND" = 0; then
36564 if test "$TOOLKIT" = "MSW"; then
36565 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
36566 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
36567 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
36568 echo $ECHO_N "(cached) $ECHO_C" >&6
36570 ac_check_lib_save_LIBS
=$LIBS
36571 LIBS
="-lmsvcrt $LIBS"
36572 cat >conftest.
$ac_ext <<_ACEOF
36575 cat confdefs.h
>>conftest.
$ac_ext
36576 cat >>conftest.
$ac_ext <<_ACEOF
36577 /* end confdefs.h. */
36579 /* Override any GCC internal prototype to avoid an error.
36580 Use char because int might match the return type of a GCC
36581 builtin and then its argument prototype would still apply. */
36594 rm -f conftest.
$ac_objext conftest
$ac_exeext
36595 if { (ac_try
="$ac_link"
36596 case "(($ac_try" in
36597 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36598 *) ac_try_echo=$ac_try;;
36600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36601 (eval "$ac_link") 2>conftest.er1
36603 grep -v '^ *+' conftest.er1 >conftest.err
36605 cat conftest.err >&5
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); } && {
36608 test -z "$ac_c_werror_flag" ||
36609 test ! -s conftest.err
36610 } && test -s conftest$ac_exeext &&
36611 $as_test_x conftest$ac_exeext; then
36612 ac_cv_lib_msvcrt_wcslen=yes
36614 echo "$as_me: failed program was:" >&5
36615 sed 's/^/| /' conftest.$ac_ext >&5
36617 ac_cv_lib_msvcrt_wcslen=no
36620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36621 conftest$ac_exeext conftest.$ac_ext
36622 LIBS=$ac_check_lib_save_LIBS
36624 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
36625 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
36626 if test $ac_cv_lib_msvcrt_wcslen = yes; then
36631 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
36632 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
36633 if test "${ac_cv_lib_w_wcslen+set}" = set; then
36634 echo $ECHO_N "(cached) $ECHO_C" >&6
36636 ac_check_lib_save_LIBS=$LIBS
36638 cat >conftest.$ac_ext <<_ACEOF
36641 cat confdefs.h >>conftest.$ac_ext
36642 cat >>conftest.$ac_ext <<_ACEOF
36643 /* end confdefs.h. */
36645 /* Override any GCC internal prototype to avoid an error.
36646 Use char because int might match the return type of a GCC
36647 builtin and then its argument prototype would still apply. */
36660 rm -f conftest.$ac_objext conftest$ac_exeext
36661 if { (ac_try="$ac_link"
36662 case "(($ac_try" in
36663 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36664 *) ac_try_echo
=$ac_try;;
36666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36667 (eval "$ac_link") 2>conftest.er1
36669 grep -v '^ *+' conftest.er1
>conftest.err
36671 cat conftest.err
>&5
36672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36673 (exit $ac_status); } && {
36674 test -z "$ac_c_werror_flag" ||
36675 test ! -s conftest.err
36676 } && test -s conftest
$ac_exeext &&
36677 $as_test_x conftest
$ac_exeext; then
36678 ac_cv_lib_w_wcslen
=yes
36680 echo "$as_me: failed program was:" >&5
36681 sed 's/^/| /' conftest.
$ac_ext >&5
36683 ac_cv_lib_w_wcslen
=no
36686 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
36687 conftest
$ac_exeext conftest.
$ac_ext
36688 LIBS
=$ac_check_lib_save_LIBS
36690 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
36691 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
36692 if test $ac_cv_lib_w_wcslen = yes; then
36702 if test "$WCSLEN_FOUND" = 1; then
36703 cat >>confdefs.h
<<\_ACEOF
36704 #define HAVE_WCSLEN 1
36715 for ac_func
in wcsdup wcsftime strnlen wcsnlen wcscasecmp wcsncasecmp
36717 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36718 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36719 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36720 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36721 echo $ECHO_N "(cached) $ECHO_C" >&6
36723 cat >conftest.
$ac_ext <<_ACEOF
36726 cat confdefs.h
>>conftest.
$ac_ext
36727 cat >>conftest.
$ac_ext <<_ACEOF
36728 /* end confdefs.h. */
36729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36731 #define $ac_func innocuous_$ac_func
36733 /* System header to define __stub macros and hopefully few prototypes,
36734 which can conflict with char $ac_func (); below.
36735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36736 <limits.h> exists even on freestanding compilers. */
36739 # include <limits.h>
36741 # include <assert.h>
36746 /* Override any GCC internal prototype to avoid an error.
36747 Use char because int might match the return type of a GCC
36748 builtin and then its argument prototype would still apply. */
36753 /* The GNU C library defines this for functions which it implements
36754 to always fail with ENOSYS. Some functions are actually named
36755 something starting with __ and the normal name is an alias. */
36756 #if defined __stub_$ac_func || defined __stub___$ac_func
36763 return $ac_func ();
36768 rm -f conftest.
$ac_objext conftest
$ac_exeext
36769 if { (ac_try
="$ac_link"
36770 case "(($ac_try" in
36771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36772 *) ac_try_echo=$ac_try;;
36774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36775 (eval "$ac_link") 2>conftest.er1
36777 grep -v '^ *+' conftest.er1 >conftest.err
36779 cat conftest.err >&5
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); } && {
36782 test -z "$ac_c_werror_flag" ||
36783 test ! -s conftest.err
36784 } && test -s conftest$ac_exeext &&
36785 $as_test_x conftest$ac_exeext; then
36786 eval "$as_ac_var=yes"
36788 echo "$as_me: failed program was:" >&5
36789 sed 's/^/| /' conftest.$ac_ext >&5
36791 eval "$as_ac_var=no"
36794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36795 conftest$ac_exeext conftest.$ac_ext
36797 ac_res=`eval echo '${'$as_ac_var'}'`
36798 { echo "$as_me:$LINENO: result: $ac_res" >&5
36799 echo "${ECHO_T}$ac_res" >&6; }
36800 if test `eval echo '${'$as_ac_var'}'` = yes; then
36801 cat >>confdefs.h <<_ACEOF
36802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36809 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
36810 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
36813 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
36814 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
36815 if test "${ac_cv_type_mbstate_t+set}" = set; then
36816 echo $ECHO_N "(cached) $ECHO_C" >&6
36818 cat >conftest.$ac_ext <<_ACEOF
36821 cat confdefs.h >>conftest.$ac_ext
36822 cat >>conftest.$ac_ext <<_ACEOF
36823 /* end confdefs.h. */
36826 typedef mbstate_t ac__type_new_;
36830 if ((ac__type_new_ *) 0)
36832 if (sizeof (ac__type_new_))
36838 rm -f conftest.$ac_objext
36839 if { (ac_try="$ac_compile"
36840 case "(($ac_try" in
36841 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
36842 *) ac_try_echo
=$ac_try;;
36844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36845 (eval "$ac_compile") 2>conftest.er1
36847 grep -v '^ *+' conftest.er1
>conftest.err
36849 cat conftest.err
>&5
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); } && {
36852 test -z "$ac_c_werror_flag" ||
36853 test ! -s conftest.err
36854 } && test -s conftest.
$ac_objext; then
36855 ac_cv_type_mbstate_t
=yes
36857 echo "$as_me: failed program was:" >&5
36858 sed 's/^/| /' conftest.
$ac_ext >&5
36860 ac_cv_type_mbstate_t
=no
36863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36865 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
36866 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
36867 if test $ac_cv_type_mbstate_t = yes; then
36869 cat >>confdefs.h
<<_ACEOF
36870 #define HAVE_MBSTATE_T 1
36874 for ac_func
in wcsrtombs
36876 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36877 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36879 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36880 echo $ECHO_N "(cached) $ECHO_C" >&6
36882 cat >conftest.
$ac_ext <<_ACEOF
36885 cat confdefs.h
>>conftest.
$ac_ext
36886 cat >>conftest.
$ac_ext <<_ACEOF
36887 /* end confdefs.h. */
36888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36890 #define $ac_func innocuous_$ac_func
36892 /* System header to define __stub macros and hopefully few prototypes,
36893 which can conflict with char $ac_func (); below.
36894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36895 <limits.h> exists even on freestanding compilers. */
36898 # include <limits.h>
36900 # include <assert.h>
36905 /* Override any GCC internal prototype to avoid an error.
36906 Use char because int might match the return type of a GCC
36907 builtin and then its argument prototype would still apply. */
36912 /* The GNU C library defines this for functions which it implements
36913 to always fail with ENOSYS. Some functions are actually named
36914 something starting with __ and the normal name is an alias. */
36915 #if defined __stub_$ac_func || defined __stub___$ac_func
36922 return $ac_func ();
36927 rm -f conftest.
$ac_objext conftest
$ac_exeext
36928 if { (ac_try
="$ac_link"
36929 case "(($ac_try" in
36930 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
36931 *) ac_try_echo=$ac_try;;
36933 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36934 (eval "$ac_link") 2>conftest.er1
36936 grep -v '^ *+' conftest.er1 >conftest.err
36938 cat conftest.err >&5
36939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36940 (exit $ac_status); } && {
36941 test -z "$ac_c_werror_flag" ||
36942 test ! -s conftest.err
36943 } && test -s conftest$ac_exeext &&
36944 $as_test_x conftest$ac_exeext; then
36945 eval "$as_ac_var=yes"
36947 echo "$as_me: failed program was:" >&5
36948 sed 's/^/| /' conftest.$ac_ext >&5
36950 eval "$as_ac_var=no"
36953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36954 conftest$ac_exeext conftest.$ac_ext
36956 ac_res=`eval echo '${'$as_ac_var'}'`
36957 { echo "$as_me:$LINENO: result: $ac_res" >&5
36958 echo "${ECHO_T}$ac_res" >&6; }
36959 if test `eval echo '${'$as_ac_var'}'` = yes; then
36960 cat >>confdefs.h <<_ACEOF
36961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36973 for ac_func in snprintf vsnprintf vsscanf
36975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36976 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36978 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36979 echo $ECHO_N "(cached) $ECHO_C" >&6
36981 cat >conftest.$ac_ext <<_ACEOF
36984 cat confdefs.h >>conftest.$ac_ext
36985 cat >>conftest.$ac_ext <<_ACEOF
36986 /* end confdefs.h. */
36987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36989 #define $ac_func innocuous_$ac_func
36991 /* System header to define __stub macros and hopefully few prototypes,
36992 which can conflict with char $ac_func (); below.
36993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36994 <limits.h> exists even on freestanding compilers. */
36997 # include <limits.h>
36999 # include <assert.h>
37004 /* Override any GCC internal prototype to avoid an error.
37005 Use char because int might match the return type of a GCC
37006 builtin and then its argument prototype would still apply. */
37011 /* The GNU C library defines this for functions which it implements
37012 to always fail with ENOSYS. Some functions are actually named
37013 something starting with __ and the normal name is an alias. */
37014 #if defined __stub_$ac_func || defined __stub___$ac_func
37021 return $ac_func ();
37026 rm -f conftest.$ac_objext conftest$ac_exeext
37027 if { (ac_try="$ac_link"
37028 case "(($ac_try" in
37029 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37030 *) ac_try_echo
=$ac_try;;
37032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37033 (eval "$ac_link") 2>conftest.er1
37035 grep -v '^ *+' conftest.er1
>conftest.err
37037 cat conftest.err
>&5
37038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37039 (exit $ac_status); } && {
37040 test -z "$ac_c_werror_flag" ||
37041 test ! -s conftest.err
37042 } && test -s conftest
$ac_exeext &&
37043 $as_test_x conftest
$ac_exeext; then
37044 eval "$as_ac_var=yes"
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.
$ac_ext >&5
37049 eval "$as_ac_var=no"
37052 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37053 conftest
$ac_exeext conftest.
$ac_ext
37055 ac_res
=`eval echo '${'$as_ac_var'}'`
37056 { echo "$as_me:$LINENO: result: $ac_res" >&5
37057 echo "${ECHO_T}$ac_res" >&6; }
37058 if test `eval echo '${'$as_ac_var'}'` = yes; then
37059 cat >>confdefs.h
<<_ACEOF
37060 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37068 ac_cpp
='$CXXCPP $CPPFLAGS'
37069 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37070 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37071 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37073 if test "$ac_cv_func_vsnprintf" = "yes"; then
37074 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
37075 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
37076 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
37077 echo $ECHO_N "(cached) $ECHO_C" >&6
37080 cat >conftest.
$ac_ext <<_ACEOF
37083 cat confdefs.h
>>conftest.
$ac_ext
37084 cat >>conftest.
$ac_ext <<_ACEOF
37085 /* end confdefs.h. */
37088 #include <stdarg.h>
37090 #if __MSL__ >= 0x6000
37092 using namespace std;
37102 vsnprintf(buf, 10u, "%s", ap);
37108 rm -f conftest.
$ac_objext
37109 if { (ac_try
="$ac_compile"
37110 case "(($ac_try" in
37111 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37112 *) ac_try_echo=$ac_try;;
37114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37115 (eval "$ac_compile") 2>conftest.er1
37117 grep -v '^ *+' conftest.er1 >conftest.err
37119 cat conftest.err >&5
37120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37121 (exit $ac_status); } && {
37122 test -z "$ac_cxx_werror_flag" ||
37123 test ! -s conftest.err
37124 } && test -s conftest.$ac_objext; then
37125 wx_cv_func_vsnprintf_decl=yes
37127 echo "$as_me: failed program was:" >&5
37128 sed 's/^/| /' conftest.$ac_ext >&5
37130 wx_cv_func_vsnprintf_decl=no
37134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37138 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
37139 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
37141 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
37142 cat >>confdefs.h <<\_ACEOF
37143 #define HAVE_VSNPRINTF_DECL 1
37147 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
37148 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
37149 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
37150 echo $ECHO_N "(cached) $ECHO_C" >&6
37153 cat >conftest.$ac_ext <<_ACEOF
37156 cat confdefs.h >>conftest.$ac_ext
37157 cat >>conftest.$ac_ext <<_ACEOF
37158 /* end confdefs.h. */
37161 #include <stdarg.h>
37163 #if __MSL__ >= 0x6000
37165 using namespace std;
37175 const char *fmt = "%s";
37176 vsnprintf(buf, 10u, fmt, ap);
37182 rm -f conftest.$ac_objext
37183 if { (ac_try="$ac_compile"
37184 case "(($ac_try" in
37185 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37186 *) ac_try_echo
=$ac_try;;
37188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37189 (eval "$ac_compile") 2>conftest.er1
37191 grep -v '^ *+' conftest.er1
>conftest.err
37193 cat conftest.err
>&5
37194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37195 (exit $ac_status); } && {
37196 test -z "$ac_cxx_werror_flag" ||
37197 test ! -s conftest.err
37198 } && test -s conftest.
$ac_objext; then
37199 wx_cv_func_broken_vsnprintf_decl
=no
37201 echo "$as_me: failed program was:" >&5
37202 sed 's/^/| /' conftest.
$ac_ext >&5
37204 wx_cv_func_broken_vsnprintf_decl
=yes
37208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37212 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
37213 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
37215 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
37216 cat >>confdefs.h
<<\_ACEOF
37217 #define HAVE_BROKEN_VSNPRINTF_DECL 1
37224 if test "$ac_cv_func_snprintf" = "yes"; then
37225 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
37226 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
37227 if test "${wx_cv_func_snprintf_decl+set}" = set; then
37228 echo $ECHO_N "(cached) $ECHO_C" >&6
37231 cat >conftest.
$ac_ext <<_ACEOF
37234 cat confdefs.h
>>conftest.
$ac_ext
37235 cat >>conftest.
$ac_ext <<_ACEOF
37236 /* end confdefs.h. */
37239 #include <stdarg.h>
37241 #if __MSL__ >= 0x6000
37243 using namespace std;
37252 snprintf(buf, 10u, "%s", "wx");
37258 rm -f conftest.
$ac_objext
37259 if { (ac_try
="$ac_compile"
37260 case "(($ac_try" in
37261 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37262 *) ac_try_echo=$ac_try;;
37264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37265 (eval "$ac_compile") 2>conftest.er1
37267 grep -v '^ *+' conftest.er1 >conftest.err
37269 cat conftest.err >&5
37270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37271 (exit $ac_status); } && {
37272 test -z "$ac_cxx_werror_flag" ||
37273 test ! -s conftest.err
37274 } && test -s conftest.$ac_objext; then
37275 wx_cv_func_snprintf_decl=yes
37277 echo "$as_me: failed program was:" >&5
37278 sed 's/^/| /' conftest.$ac_ext >&5
37280 wx_cv_func_snprintf_decl=no
37284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37288 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
37289 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
37291 if test "$wx_cv_func_snprintf_decl" = "yes"; then
37292 cat >>confdefs.h <<\_ACEOF
37293 #define HAVE_SNPRINTF_DECL 1
37298 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
37300 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
37301 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
37302 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
37303 echo $ECHO_N "(cached) $ECHO_C" >&6
37306 if test "$cross_compiling" = yes; then
37308 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
37309 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
37310 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
37311 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
37312 wx_cv_func_snprintf_pos_params=no
37316 cat >conftest.$ac_ext <<_ACEOF
37319 cat confdefs.h >>conftest.$ac_ext
37320 cat >>conftest.$ac_ext <<_ACEOF
37321 /* end confdefs.h. */
37328 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
37329 if (strcmp ("2 3 1", buffer) == 0)
37335 rm -f conftest$ac_exeext
37336 if { (ac_try="$ac_link"
37337 case "(($ac_try" in
37338 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37339 *) ac_try_echo
=$ac_try;;
37341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37342 (eval "$ac_link") 2>&5
37344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37345 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
37346 { (case "(($ac_try" in
37347 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37348 *) ac_try_echo=$ac_try;;
37350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37351 (eval "$ac_try") 2>&5
37353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37354 (exit $ac_status); }; }; then
37355 wx_cv_func_snprintf_pos_params=no
37357 echo "$as_me: program exited with status $ac_status" >&5
37358 echo "$as_me: failed program was:" >&5
37359 sed 's/^/| /' conftest.$ac_ext >&5
37361 ( exit $ac_status )
37362 wx_cv_func_snprintf_pos_params=yes
37364 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
37371 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
37372 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
37374 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
37375 cat >>confdefs.h <<\_ACEOF
37376 #define HAVE_UNIX98_PRINTF 1
37383 if test "$ac_cv_func_vsscanf" = "yes"; then
37384 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
37385 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
37386 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
37387 echo $ECHO_N "(cached) $ECHO_C" >&6
37390 cat >conftest.$ac_ext <<_ACEOF
37393 cat confdefs.h >>conftest.$ac_ext
37394 cat >>conftest.$ac_ext <<_ACEOF
37395 /* end confdefs.h. */
37398 #include <stdarg.h>
37400 #if __MSL__ >= 0x6000
37402 using namespace std;
37412 vsscanf(buf, "%s", args);
37418 rm -f conftest.$ac_objext
37419 if { (ac_try="$ac_compile"
37420 case "(($ac_try" in
37421 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37422 *) ac_try_echo
=$ac_try;;
37424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37425 (eval "$ac_compile") 2>conftest.er1
37427 grep -v '^ *+' conftest.er1
>conftest.err
37429 cat conftest.err
>&5
37430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37431 (exit $ac_status); } && {
37432 test -z "$ac_cxx_werror_flag" ||
37433 test ! -s conftest.err
37434 } && test -s conftest.
$ac_objext; then
37435 wx_cv_func_vsscanf_decl
=yes
37437 echo "$as_me: failed program was:" >&5
37438 sed 's/^/| /' conftest.
$ac_ext >&5
37440 wx_cv_func_vsscanf_decl
=no
37444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37448 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
37449 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
37451 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
37452 cat >>confdefs.h
<<\_ACEOF
37453 #define HAVE_VSSCANF_DECL 1
37459 ac_cpp
='$CPP $CPPFLAGS'
37460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37465 if test "$wxUSE_UNICODE" = yes; then
37467 wchar_headers
="#include <stdio.h>
37468 #include <wchar.h>"
37472 for ac_header
in widec.h
37474 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
37475 { echo "$as_me:$LINENO: checking for $ac_header" >&5
37476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
37477 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
37478 echo $ECHO_N "(cached) $ECHO_C" >&6
37480 cat >conftest.
$ac_ext <<_ACEOF
37483 cat confdefs.h
>>conftest.
$ac_ext
37484 cat >>conftest.
$ac_ext <<_ACEOF
37485 /* end confdefs.h. */
37486 $ac_includes_default
37488 #include <$ac_header>
37490 rm -f conftest.
$ac_objext
37491 if { (ac_try
="$ac_compile"
37492 case "(($ac_try" in
37493 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37494 *) ac_try_echo=$ac_try;;
37496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37497 (eval "$ac_compile") 2>conftest.er1
37499 grep -v '^ *+' conftest.er1 >conftest.err
37501 cat conftest.err >&5
37502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503 (exit $ac_status); } && {
37504 test -z "$ac_c_werror_flag" ||
37505 test ! -s conftest.err
37506 } && test -s conftest.$ac_objext; then
37507 eval "$as_ac_Header=yes"
37509 echo "$as_me: failed program was:" >&5
37510 sed 's/^/| /' conftest.$ac_ext >&5
37512 eval "$as_ac_Header=no"
37515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37517 ac_res=`eval echo '${'$as_ac_Header'}'`
37518 { echo "$as_me:$LINENO: result: $ac_res" >&5
37519 echo "${ECHO_T}$ac_res" >&6; }
37520 if test `eval echo '${'$as_ac_Header'}'` = yes; then
37521 cat >>confdefs.h <<_ACEOF
37522 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
37529 if test "$ac_cv_header_widec_h" = "yes"; then
37530 wchar_headers="$wchar_headers
37531 #include <widec.h>"
37536 for wx_func in putws fputws wprintf vswprintf vswscanf
37538 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37539 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37540 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37541 echo $ECHO_N "(cached) $ECHO_C" >&6
37544 cat >conftest.$ac_ext <<_ACEOF
37548 cat confdefs.h >>conftest.$ac_ext
37549 cat >>conftest.$ac_ext <<_ACEOF
37550 /* end confdefs.h. */
37553 $ac_includes_default
37569 rm -f conftest.$ac_objext conftest$ac_exeext
37570 if { (ac_try="$ac_link"
37571 case "(($ac_try" in
37572 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37573 *) ac_try_echo
=$ac_try;;
37575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37576 (eval "$ac_link") 2>conftest.er1
37578 grep -v '^ *+' conftest.er1
>conftest.err
37580 cat conftest.err
>&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); } && {
37583 test -z "$ac_c_werror_flag" ||
37584 test ! -s conftest.err
37585 } && test -s conftest
$ac_exeext &&
37586 $as_test_x conftest
$ac_exeext; then
37587 eval wx_cv_func_
$wx_func=yes
37589 echo "$as_me: failed program was:" >&5
37590 sed 's/^/| /' conftest.
$ac_ext >&5
37592 eval wx_cv_func_
$wx_func=no
37595 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37596 conftest
$ac_exeext conftest.
$ac_ext
37599 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37600 { echo "$as_me:$LINENO: result: $ac_res" >&5
37601 echo "${ECHO_T}$ac_res" >&6; }
37603 if eval test \
$wx_cv_func_$wx_func = yes
37605 cat >>confdefs.h
<<_ACEOF
37606 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37617 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
37618 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
37619 cat >conftest.
$ac_ext <<_ACEOF
37622 cat confdefs.h
>>conftest.
$ac_ext
37623 cat >>conftest.
$ac_ext <<_ACEOF
37624 /* end confdefs.h. */
37634 rm -f conftest.
$ac_objext
37635 if { (ac_try
="$ac_compile"
37636 case "(($ac_try" in
37637 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37638 *) ac_try_echo=$ac_try;;
37640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37641 (eval "$ac_compile") 2>conftest.er1
37643 grep -v '^ *+' conftest.er1 >conftest.err
37645 cat conftest.err >&5
37646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37647 (exit $ac_status); } && {
37648 test -z "$ac_c_werror_flag" ||
37649 test ! -s conftest.err
37650 } && test -s conftest.$ac_objext; then
37651 { echo "$as_me:$LINENO: result: yes" >&5
37652 echo "${ECHO_T}yes" >&6; }
37653 cat >>confdefs.h <<\_ACEOF
37654 #define HAVE__VSNWPRINTF 1
37658 echo "$as_me: failed program was:" >&5
37659 sed 's/^/| /' conftest.$ac_ext >&5
37661 { echo "$as_me:$LINENO: result: no" >&5
37662 echo "${ECHO_T}no" >&6; }
37665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
37668 if test "$wxUSE_FILE" = "yes"; then
37670 for wx_func in fsync
37672 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37673 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37674 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37675 echo $ECHO_N "(cached) $ECHO_C" >&6
37678 cat >conftest.$ac_ext <<_ACEOF
37682 cat confdefs.h >>conftest.$ac_ext
37683 cat >>conftest.$ac_ext <<_ACEOF
37684 /* end confdefs.h. */
37687 $ac_includes_default
37703 rm -f conftest.$ac_objext conftest$ac_exeext
37704 if { (ac_try="$ac_link"
37705 case "(($ac_try" in
37706 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37707 *) ac_try_echo
=$ac_try;;
37709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37710 (eval "$ac_link") 2>conftest.er1
37712 grep -v '^ *+' conftest.er1
>conftest.err
37714 cat conftest.err
>&5
37715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37716 (exit $ac_status); } && {
37717 test -z "$ac_c_werror_flag" ||
37718 test ! -s conftest.err
37719 } && test -s conftest
$ac_exeext &&
37720 $as_test_x conftest
$ac_exeext; then
37721 eval wx_cv_func_
$wx_func=yes
37723 echo "$as_me: failed program was:" >&5
37724 sed 's/^/| /' conftest.
$ac_ext >&5
37726 eval wx_cv_func_
$wx_func=no
37729 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37730 conftest
$ac_exeext conftest.
$ac_ext
37733 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
37734 { echo "$as_me:$LINENO: result: $ac_res" >&5
37735 echo "${ECHO_T}$ac_res" >&6; }
37737 if eval test \
$wx_cv_func_$wx_func = yes
37739 cat >>confdefs.h
<<_ACEOF
37740 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37753 ac_cpp
='$CXXCPP $CPPFLAGS'
37754 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37755 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37756 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37759 for wx_func
in round
37761 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37762 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37763 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37764 echo $ECHO_N "(cached) $ECHO_C" >&6
37767 cat >conftest.
$ac_ext <<_ACEOF
37771 cat confdefs.h
>>conftest.
$ac_ext
37772 cat >>conftest.
$ac_ext <<_ACEOF
37773 /* end confdefs.h. */
37776 $ac_includes_default
37792 rm -f conftest.
$ac_objext conftest
$ac_exeext
37793 if { (ac_try
="$ac_link"
37794 case "(($ac_try" in
37795 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37796 *) ac_try_echo=$ac_try;;
37798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37799 (eval "$ac_link") 2>conftest.er1
37801 grep -v '^ *+' conftest.er1 >conftest.err
37803 cat conftest.err >&5
37804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37805 (exit $ac_status); } && {
37806 test -z "$ac_cxx_werror_flag" ||
37807 test ! -s conftest.err
37808 } && test -s conftest$ac_exeext &&
37809 $as_test_x conftest$ac_exeext; then
37810 eval wx_cv_func_$wx_func=yes
37812 echo "$as_me: failed program was:" >&5
37813 sed 's/^/| /' conftest.$ac_ext >&5
37815 eval wx_cv_func_$wx_func=no
37818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37819 conftest$ac_exeext conftest.$ac_ext
37822 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37823 { echo "$as_me:$LINENO: result: $ac_res" >&5
37824 echo "${ECHO_T}$ac_res" >&6; }
37826 if eval test \$wx_cv_func_$wx_func = yes
37828 cat >>confdefs.h <<_ACEOF
37829 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37840 ac_cpp='$CPP $CPPFLAGS'
37841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37846 if test "$TOOLKIT" != "MSW"; then
37848 if test "$wxUSE_LIBICONV" != "no" ; then
37852 # Check whether --with-libiconv-prefix was given.
37853 if test "${with_libiconv_prefix+set}" = set; then
37854 withval=$with_libiconv_prefix;
37855 for dir in `echo "$withval" | tr : ' '`; do
37856 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
37857 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
37863 { echo "$as_me:$LINENO: checking for iconv" >&5
37864 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
37865 if test "${am_cv_func_iconv+set}" = set; then
37866 echo $ECHO_N "(cached) $ECHO_C" >&6
37869 am_cv_func_iconv="no, consider installing GNU libiconv"
37871 cat >conftest.$ac_ext <<_ACEOF
37874 cat confdefs.h >>conftest.$ac_ext
37875 cat >>conftest.$ac_ext <<_ACEOF
37876 /* end confdefs.h. */
37877 #include <stdlib.h>
37882 iconv_t cd = iconv_open("","");
37883 iconv(cd,NULL,NULL,NULL,NULL);
37889 rm -f conftest.$ac_objext conftest$ac_exeext
37890 if { (ac_try="$ac_link"
37891 case "(($ac_try" in
37892 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
37893 *) ac_try_echo
=$ac_try;;
37895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37896 (eval "$ac_link") 2>conftest.er1
37898 grep -v '^ *+' conftest.er1
>conftest.err
37900 cat conftest.err
>&5
37901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37902 (exit $ac_status); } && {
37903 test -z "$ac_c_werror_flag" ||
37904 test ! -s conftest.err
37905 } && test -s conftest
$ac_exeext &&
37906 $as_test_x conftest
$ac_exeext; then
37907 am_cv_func_iconv
=yes
37909 echo "$as_me: failed program was:" >&5
37910 sed 's/^/| /' conftest.
$ac_ext >&5
37915 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
37916 conftest
$ac_exeext conftest.
$ac_ext
37917 if test "$am_cv_func_iconv" != yes; then
37918 am_save_LIBS
="$LIBS"
37919 LIBS
="$LIBS -liconv"
37920 cat >conftest.
$ac_ext <<_ACEOF
37923 cat confdefs.h
>>conftest.
$ac_ext
37924 cat >>conftest.
$ac_ext <<_ACEOF
37925 /* end confdefs.h. */
37926 #include <stdlib.h>
37931 iconv_t cd = iconv_open("","");
37932 iconv(cd,NULL,NULL,NULL,NULL);
37938 rm -f conftest.
$ac_objext conftest
$ac_exeext
37939 if { (ac_try
="$ac_link"
37940 case "(($ac_try" in
37941 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
37942 *) ac_try_echo=$ac_try;;
37944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37945 (eval "$ac_link") 2>conftest.er1
37947 grep -v '^ *+' conftest.er1 >conftest.err
37949 cat conftest.err >&5
37950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37951 (exit $ac_status); } && {
37952 test -z "$ac_c_werror_flag" ||
37953 test ! -s conftest.err
37954 } && test -s conftest$ac_exeext &&
37955 $as_test_x conftest$ac_exeext; then
37956 am_cv_lib_iconv=yes
37957 am_cv_func_iconv=yes
37959 echo "$as_me: failed program was:" >&5
37960 sed 's/^/| /' conftest.$ac_ext >&5
37965 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37966 conftest$ac_exeext conftest.$ac_ext
37967 LIBS="$am_save_LIBS"
37971 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
37972 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
37973 if test "$am_cv_func_iconv" = yes; then
37975 cat >>confdefs.h <<\_ACEOF
37976 #define HAVE_ICONV 1
37979 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
37980 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
37981 if test "${wx_cv_func_iconv_const+set}" = set; then
37982 echo $ECHO_N "(cached) $ECHO_C" >&6
37984 cat >conftest.$ac_ext <<_ACEOF
37987 cat confdefs.h >>conftest.$ac_ext
37988 cat >>conftest.$ac_ext <<_ACEOF
37989 /* end confdefs.h. */
37991 #include <stdlib.h>
37997 #if defined(__STDC__) || defined(__cplusplus)
37998 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38011 rm -f conftest.$ac_objext
38012 if { (ac_try="$ac_compile"
38013 case "(($ac_try" in
38014 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38015 *) ac_try_echo
=$ac_try;;
38017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38018 (eval "$ac_compile") 2>conftest.er1
38020 grep -v '^ *+' conftest.er1
>conftest.err
38022 cat conftest.err
>&5
38023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38024 (exit $ac_status); } && {
38025 test -z "$ac_c_werror_flag" ||
38026 test ! -s conftest.err
38027 } && test -s conftest.
$ac_objext; then
38028 wx_cv_func_iconv_const
="no"
38030 echo "$as_me: failed program was:" >&5
38031 sed 's/^/| /' conftest.
$ac_ext >&5
38033 wx_cv_func_iconv_const
="yes"
38037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38040 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
38041 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
38044 if test "x$wx_cv_func_iconv_const" = "xyes"; then
38045 iconv_const
="const"
38049 cat >>confdefs.h
<<_ACEOF
38050 #define ICONV_CONST $iconv_const
38055 if test "$am_cv_lib_iconv" = yes; then
38060 LIBS
="$LIBICONV $LIBS"
38063 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38065 for ac_func
in sigaction
38067 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38068 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38070 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38071 echo $ECHO_N "(cached) $ECHO_C" >&6
38073 cat >conftest.
$ac_ext <<_ACEOF
38076 cat confdefs.h
>>conftest.
$ac_ext
38077 cat >>conftest.
$ac_ext <<_ACEOF
38078 /* end confdefs.h. */
38079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38081 #define $ac_func innocuous_$ac_func
38083 /* System header to define __stub macros and hopefully few prototypes,
38084 which can conflict with char $ac_func (); below.
38085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38086 <limits.h> exists even on freestanding compilers. */
38089 # include <limits.h>
38091 # include <assert.h>
38096 /* Override any GCC internal prototype to avoid an error.
38097 Use char because int might match the return type of a GCC
38098 builtin and then its argument prototype would still apply. */
38103 /* The GNU C library defines this for functions which it implements
38104 to always fail with ENOSYS. Some functions are actually named
38105 something starting with __ and the normal name is an alias. */
38106 #if defined __stub_$ac_func || defined __stub___$ac_func
38113 return $ac_func ();
38118 rm -f conftest.
$ac_objext conftest
$ac_exeext
38119 if { (ac_try
="$ac_link"
38120 case "(($ac_try" in
38121 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38122 *) ac_try_echo=$ac_try;;
38124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38125 (eval "$ac_link") 2>conftest.er1
38127 grep -v '^ *+' conftest.er1 >conftest.err
38129 cat conftest.err >&5
38130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38131 (exit $ac_status); } && {
38132 test -z "$ac_c_werror_flag" ||
38133 test ! -s conftest.err
38134 } && test -s conftest$ac_exeext &&
38135 $as_test_x conftest$ac_exeext; then
38136 eval "$as_ac_var=yes"
38138 echo "$as_me: failed program was:" >&5
38139 sed 's/^/| /' conftest.$ac_ext >&5
38141 eval "$as_ac_var=no"
38144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38145 conftest$ac_exeext conftest.$ac_ext
38147 ac_res=`eval echo '${'$as_ac_var'}'`
38148 { echo "$as_me:$LINENO: result: $ac_res" >&5
38149 echo "${ECHO_T}$ac_res" >&6; }
38150 if test `eval echo '${'$as_ac_var'}'` = yes; then
38151 cat >>confdefs.h <<_ACEOF
38152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38159 if test "$ac_cv_func_sigaction" = "no"; then
38160 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
38161 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
38162 wxUSE_ON_FATAL_EXCEPTION=no
38165 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
38166 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
38167 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
38168 if test "${wx_cv_type_sa_handler+set}" = set; then
38169 echo $ECHO_N "(cached) $ECHO_C" >&6
38173 ac_cpp='$CXXCPP $CPPFLAGS'
38174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38178 cat >conftest.$ac_ext <<_ACEOF
38181 cat confdefs.h >>conftest.$ac_ext
38182 cat >>conftest.$ac_ext <<_ACEOF
38183 /* end confdefs.h. */
38184 #include <signal.h>
38189 extern void testSigHandler(int);
38191 struct sigaction sa;
38192 sa.sa_handler = testSigHandler;
38198 rm -f conftest.$ac_objext
38199 if { (ac_try="$ac_compile"
38200 case "(($ac_try" in
38201 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38202 *) ac_try_echo
=$ac_try;;
38204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38205 (eval "$ac_compile") 2>conftest.er1
38207 grep -v '^ *+' conftest.er1
>conftest.err
38209 cat conftest.err
>&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); } && {
38212 test -z "$ac_cxx_werror_flag" ||
38213 test ! -s conftest.err
38214 } && test -s conftest.
$ac_objext; then
38216 wx_cv_type_sa_handler
=int
38219 echo "$as_me: failed program was:" >&5
38220 sed 's/^/| /' conftest.
$ac_ext >&5
38223 wx_cv_type_sa_handler
=void
38227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38229 ac_cpp
='$CPP $CPPFLAGS'
38230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38236 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
38237 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
38239 cat >>confdefs.h
<<_ACEOF
38240 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
38246 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
38247 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
38248 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
38249 if test "${wx_cv_func_backtrace+set}" = set; then
38250 echo $ECHO_N "(cached) $ECHO_C" >&6
38254 ac_cpp
='$CXXCPP $CPPFLAGS'
38255 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38256 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38257 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38259 cat >conftest.
$ac_ext <<_ACEOF
38262 cat confdefs.h
>>conftest.
$ac_ext
38263 cat >>conftest.
$ac_ext <<_ACEOF
38264 /* end confdefs.h. */
38265 #include <execinfo.h>
38273 backtrace(trace, 1);
38274 messages = backtrace_symbols(trace, 1);
38280 rm -f conftest.
$ac_objext
38281 if { (ac_try
="$ac_compile"
38282 case "(($ac_try" in
38283 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38284 *) ac_try_echo=$ac_try;;
38286 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38287 (eval "$ac_compile") 2>conftest.er1
38289 grep -v '^ *+' conftest.er1 >conftest.err
38291 cat conftest.err >&5
38292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38293 (exit $ac_status); } && {
38294 test -z "$ac_cxx_werror_flag" ||
38295 test ! -s conftest.err
38296 } && test -s conftest.$ac_objext; then
38297 wx_cv_func_backtrace=yes
38299 echo "$as_me: failed program was:" >&5
38300 sed 's/^/| /' conftest.$ac_ext >&5
38302 wx_cv_func_backtrace=no
38306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38308 ac_cpp='$CPP $CPPFLAGS'
38309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38316 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
38317 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
38320 if test "$wx_cv_func_backtrace" = "no"; then
38321 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
38322 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
38323 wxUSE_STACKWALKER=no
38325 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
38326 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
38327 if test "${wx_cv_func_cxa_demangle+set}" = set; then
38328 echo $ECHO_N "(cached) $ECHO_C" >&6
38332 ac_cpp='$CXXCPP $CPPFLAGS'
38333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38337 cat >conftest.$ac_ext <<_ACEOF
38340 cat confdefs.h >>conftest.$ac_ext
38341 cat >>conftest.$ac_ext <<_ACEOF
38342 /* end confdefs.h. */
38343 #include <cxxabi.h>
38349 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
38355 rm -f conftest.$ac_objext conftest$ac_exeext
38356 if { (ac_try="$ac_link"
38357 case "(($ac_try" in
38358 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38359 *) ac_try_echo
=$ac_try;;
38361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38362 (eval "$ac_link") 2>conftest.er1
38364 grep -v '^ *+' conftest.er1
>conftest.err
38366 cat conftest.err
>&5
38367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38368 (exit $ac_status); } && {
38369 test -z "$ac_cxx_werror_flag" ||
38370 test ! -s conftest.err
38371 } && test -s conftest
$ac_exeext &&
38372 $as_test_x conftest
$ac_exeext; then
38373 wx_cv_func_cxa_demangle
=yes
38375 echo "$as_me: failed program was:" >&5
38376 sed 's/^/| /' conftest.
$ac_ext >&5
38378 wx_cv_func_cxa_demangle
=no
38382 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
38383 conftest
$ac_exeext conftest.
$ac_ext
38385 ac_cpp
='$CPP $CPPFLAGS'
38386 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38387 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38388 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38393 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
38394 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
38396 if test "$wx_cv_func_cxa_demangle" = "yes"; then
38397 cat >>confdefs.h
<<\_ACEOF
38398 #define HAVE_CXA_DEMANGLE 1
38405 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
38406 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
38407 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
38408 wxUSE_STACKWALKER
=no
38414 for ac_func
in mkstemp mktemp
38416 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38417 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38419 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38420 echo $ECHO_N "(cached) $ECHO_C" >&6
38422 cat >conftest.
$ac_ext <<_ACEOF
38425 cat confdefs.h
>>conftest.
$ac_ext
38426 cat >>conftest.
$ac_ext <<_ACEOF
38427 /* end confdefs.h. */
38428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38430 #define $ac_func innocuous_$ac_func
38432 /* System header to define __stub macros and hopefully few prototypes,
38433 which can conflict with char $ac_func (); below.
38434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38435 <limits.h> exists even on freestanding compilers. */
38438 # include <limits.h>
38440 # include <assert.h>
38445 /* Override any GCC internal prototype to avoid an error.
38446 Use char because int might match the return type of a GCC
38447 builtin and then its argument prototype would still apply. */
38452 /* The GNU C library defines this for functions which it implements
38453 to always fail with ENOSYS. Some functions are actually named
38454 something starting with __ and the normal name is an alias. */
38455 #if defined __stub_$ac_func || defined __stub___$ac_func
38462 return $ac_func ();
38467 rm -f conftest.
$ac_objext conftest
$ac_exeext
38468 if { (ac_try
="$ac_link"
38469 case "(($ac_try" in
38470 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38471 *) ac_try_echo=$ac_try;;
38473 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38474 (eval "$ac_link") 2>conftest.er1
38476 grep -v '^ *+' conftest.er1 >conftest.err
38478 cat conftest.err >&5
38479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38480 (exit $ac_status); } && {
38481 test -z "$ac_c_werror_flag" ||
38482 test ! -s conftest.err
38483 } && test -s conftest$ac_exeext &&
38484 $as_test_x conftest$ac_exeext; then
38485 eval "$as_ac_var=yes"
38487 echo "$as_me: failed program was:" >&5
38488 sed 's/^/| /' conftest.$ac_ext >&5
38490 eval "$as_ac_var=no"
38493 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38494 conftest$ac_exeext conftest.$ac_ext
38496 ac_res=`eval echo '${'$as_ac_var'}'`
38497 { echo "$as_me:$LINENO: result: $ac_res" >&5
38498 echo "${ECHO_T}$ac_res" >&6; }
38499 if test `eval echo '${'$as_ac_var'}'` = yes; then
38500 cat >>confdefs.h <<_ACEOF
38501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38508 { echo "$as_me:$LINENO: checking for statfs" >&5
38509 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
38510 if test "${wx_cv_func_statfs+set}" = set; then
38511 echo $ECHO_N "(cached) $ECHO_C" >&6
38513 cat >conftest.$ac_ext <<_ACEOF
38516 cat confdefs.h >>conftest.$ac_ext
38517 cat >>conftest.$ac_ext <<_ACEOF
38518 /* end confdefs.h. */
38520 #if defined(__BSD__)
38521 #include <sys/param.h>
38522 #include <sys/mount.h>
38524 #include <sys/vfs.h>
38542 rm -f conftest.$ac_objext
38543 if { (ac_try="$ac_compile"
38544 case "(($ac_try" in
38545 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38546 *) ac_try_echo
=$ac_try;;
38548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38549 (eval "$ac_compile") 2>conftest.er1
38551 grep -v '^ *+' conftest.er1
>conftest.err
38553 cat conftest.err
>&5
38554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38555 (exit $ac_status); } && {
38556 test -z "$ac_c_werror_flag" ||
38557 test ! -s conftest.err
38558 } && test -s conftest.
$ac_objext; then
38559 wx_cv_func_statfs
=yes
38561 echo "$as_me: failed program was:" >&5
38562 sed 's/^/| /' conftest.
$ac_ext >&5
38564 wx_cv_func_statfs
=no
38568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38571 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
38572 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
38574 if test "$wx_cv_func_statfs" = "yes"; then
38575 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
38576 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
38577 if test "${wx_cv_func_statfs_decl+set}" = set; then
38578 echo $ECHO_N "(cached) $ECHO_C" >&6
38581 ac_cpp
='$CXXCPP $CPPFLAGS'
38582 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38583 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38584 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38586 cat >conftest.
$ac_ext <<_ACEOF
38589 cat confdefs.h
>>conftest.
$ac_ext
38590 cat >>conftest.
$ac_ext <<_ACEOF
38591 /* end confdefs.h. */
38593 #if defined(__BSD__)
38594 #include <sys/param.h>
38595 #include <sys/mount.h>
38597 #include <sys/vfs.h>
38611 rm -f conftest.
$ac_objext
38612 if { (ac_try
="$ac_compile"
38613 case "(($ac_try" in
38614 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38615 *) ac_try_echo=$ac_try;;
38617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38618 (eval "$ac_compile") 2>conftest.er1
38620 grep -v '^ *+' conftest.er1 >conftest.err
38622 cat conftest.err >&5
38623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38624 (exit $ac_status); } && {
38625 test -z "$ac_cxx_werror_flag" ||
38626 test ! -s conftest.err
38627 } && test -s conftest.$ac_objext; then
38628 wx_cv_func_statfs_decl=yes
38630 echo "$as_me: failed program was:" >&5
38631 sed 's/^/| /' conftest.$ac_ext >&5
38633 wx_cv_func_statfs_decl=no
38637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38639 ac_cpp='$CPP $CPPFLAGS'
38640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38646 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
38647 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
38649 if test "$wx_cv_func_statfs_decl" = "yes"; then
38650 cat >>confdefs.h <<\_ACEOF
38651 #define HAVE_STATFS_DECL 1
38656 wx_cv_type_statvfs_t="struct statfs"
38657 cat >>confdefs.h <<\_ACEOF
38658 #define HAVE_STATFS 1
38662 { echo "$as_me:$LINENO: checking for statvfs" >&5
38663 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
38664 if test "${wx_cv_func_statvfs+set}" = set; then
38665 echo $ECHO_N "(cached) $ECHO_C" >&6
38667 cat >conftest.$ac_ext <<_ACEOF
38670 cat confdefs.h >>conftest.$ac_ext
38671 cat >>conftest.$ac_ext <<_ACEOF
38672 /* end confdefs.h. */
38674 #include <stddef.h>
38675 #include <sys/statvfs.h>
38681 statvfs("/", NULL);
38687 rm -f conftest.$ac_objext
38688 if { (ac_try="$ac_compile"
38689 case "(($ac_try" in
38690 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38691 *) ac_try_echo
=$ac_try;;
38693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38694 (eval "$ac_compile") 2>conftest.er1
38696 grep -v '^ *+' conftest.er1
>conftest.err
38698 cat conftest.err
>&5
38699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38700 (exit $ac_status); } && {
38701 test -z "$ac_c_werror_flag" ||
38702 test ! -s conftest.err
38703 } && test -s conftest.
$ac_objext; then
38704 wx_cv_func_statvfs
=yes
38706 echo "$as_me: failed program was:" >&5
38707 sed 's/^/| /' conftest.
$ac_ext >&5
38709 wx_cv_func_statvfs
=no
38713 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38716 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
38717 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
38719 if test "$wx_cv_func_statvfs" = "yes"; then
38720 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
38721 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
38722 if test "${wx_cv_type_statvfs_t+set}" = set; then
38723 echo $ECHO_N "(cached) $ECHO_C" >&6
38726 ac_cpp
='$CXXCPP $CPPFLAGS'
38727 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38728 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38729 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38731 cat >conftest.
$ac_ext <<_ACEOF
38734 cat confdefs.h
>>conftest.
$ac_ext
38735 cat >>conftest.
$ac_ext <<_ACEOF
38736 /* end confdefs.h. */
38738 #include <sys/statvfs.h>
38755 rm -f conftest.
$ac_objext
38756 if { (ac_try
="$ac_compile"
38757 case "(($ac_try" in
38758 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38759 *) ac_try_echo=$ac_try;;
38761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38762 (eval "$ac_compile") 2>conftest.er1
38764 grep -v '^ *+' conftest.er1 >conftest.err
38766 cat conftest.err >&5
38767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38768 (exit $ac_status); } && {
38769 test -z "$ac_cxx_werror_flag" ||
38770 test ! -s conftest.err
38771 } && test -s conftest.$ac_objext; then
38772 wx_cv_type_statvfs_t=statvfs_t
38774 echo "$as_me: failed program was:" >&5
38775 sed 's/^/| /' conftest.$ac_ext >&5
38778 cat >conftest.$ac_ext <<_ACEOF
38781 cat confdefs.h >>conftest.$ac_ext
38782 cat >>conftest.$ac_ext <<_ACEOF
38783 /* end confdefs.h. */
38785 #include <sys/statvfs.h>
38802 rm -f conftest.$ac_objext
38803 if { (ac_try="$ac_compile"
38804 case "(($ac_try" in
38805 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
38806 *) ac_try_echo
=$ac_try;;
38808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38809 (eval "$ac_compile") 2>conftest.er1
38811 grep -v '^ *+' conftest.er1
>conftest.err
38813 cat conftest.err
>&5
38814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38815 (exit $ac_status); } && {
38816 test -z "$ac_cxx_werror_flag" ||
38817 test ! -s conftest.err
38818 } && test -s conftest.
$ac_objext; then
38819 wx_cv_type_statvfs_t
="struct statvfs"
38821 echo "$as_me: failed program was:" >&5
38822 sed 's/^/| /' conftest.
$ac_ext >&5
38824 wx_cv_type_statvfs_t
="unknown"
38828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38833 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38835 ac_cpp
='$CPP $CPPFLAGS'
38836 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38837 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38838 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38842 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
38843 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
38845 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38846 cat >>confdefs.h
<<\_ACEOF
38847 #define HAVE_STATVFS 1
38852 wx_cv_type_statvfs_t
="unknown"
38856 if test "$wx_cv_type_statvfs_t" != "unknown"; then
38857 cat >>confdefs.h
<<_ACEOF
38858 #define WX_STATFS_T $wx_cv_type_statvfs_t
38862 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
38863 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
38866 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
38869 for ac_func
in fcntl flock
38871 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38872 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38874 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38875 echo $ECHO_N "(cached) $ECHO_C" >&6
38877 cat >conftest.
$ac_ext <<_ACEOF
38880 cat confdefs.h
>>conftest.
$ac_ext
38881 cat >>conftest.
$ac_ext <<_ACEOF
38882 /* end confdefs.h. */
38883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38885 #define $ac_func innocuous_$ac_func
38887 /* System header to define __stub macros and hopefully few prototypes,
38888 which can conflict with char $ac_func (); below.
38889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38890 <limits.h> exists even on freestanding compilers. */
38893 # include <limits.h>
38895 # include <assert.h>
38900 /* Override any GCC internal prototype to avoid an error.
38901 Use char because int might match the return type of a GCC
38902 builtin and then its argument prototype would still apply. */
38907 /* The GNU C library defines this for functions which it implements
38908 to always fail with ENOSYS. Some functions are actually named
38909 something starting with __ and the normal name is an alias. */
38910 #if defined __stub_$ac_func || defined __stub___$ac_func
38917 return $ac_func ();
38922 rm -f conftest.
$ac_objext conftest
$ac_exeext
38923 if { (ac_try
="$ac_link"
38924 case "(($ac_try" in
38925 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
38926 *) ac_try_echo=$ac_try;;
38928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38929 (eval "$ac_link") 2>conftest.er1
38931 grep -v '^ *+' conftest.er1 >conftest.err
38933 cat conftest.err >&5
38934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38935 (exit $ac_status); } && {
38936 test -z "$ac_c_werror_flag" ||
38937 test ! -s conftest.err
38938 } && test -s conftest$ac_exeext &&
38939 $as_test_x conftest$ac_exeext; then
38940 eval "$as_ac_var=yes"
38942 echo "$as_me: failed program was:" >&5
38943 sed 's/^/| /' conftest.$ac_ext >&5
38945 eval "$as_ac_var=no"
38948 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38949 conftest$ac_exeext conftest.$ac_ext
38951 ac_res=`eval echo '${'$as_ac_var'}'`
38952 { echo "$as_me:$LINENO: result: $ac_res" >&5
38953 echo "${ECHO_T}$ac_res" >&6; }
38954 if test `eval echo '${'$as_ac_var'}'` = yes; then
38955 cat >>confdefs.h <<_ACEOF
38956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38963 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
38964 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
38965 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
38966 wxUSE_SNGLINST_CHECKER=no
38972 for ac_func in setenv putenv
38974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38975 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38977 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38978 echo $ECHO_N "(cached) $ECHO_C" >&6
38980 cat >conftest.$ac_ext <<_ACEOF
38983 cat confdefs.h >>conftest.$ac_ext
38984 cat >>conftest.$ac_ext <<_ACEOF
38985 /* end confdefs.h. */
38986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38988 #define $ac_func innocuous_$ac_func
38990 /* System header to define __stub macros and hopefully few prototypes,
38991 which can conflict with char $ac_func (); below.
38992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38993 <limits.h> exists even on freestanding compilers. */
38996 # include <limits.h>
38998 # include <assert.h>
39003 /* Override any GCC internal prototype to avoid an error.
39004 Use char because int might match the return type of a GCC
39005 builtin and then its argument prototype would still apply. */
39010 /* The GNU C library defines this for functions which it implements
39011 to always fail with ENOSYS. Some functions are actually named
39012 something starting with __ and the normal name is an alias. */
39013 #if defined __stub_$ac_func || defined __stub___$ac_func
39020 return $ac_func ();
39025 rm -f conftest.$ac_objext conftest$ac_exeext
39026 if { (ac_try="$ac_link"
39027 case "(($ac_try" in
39028 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39029 *) ac_try_echo
=$ac_try;;
39031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39032 (eval "$ac_link") 2>conftest.er1
39034 grep -v '^ *+' conftest.er1
>conftest.err
39036 cat conftest.err
>&5
39037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39038 (exit $ac_status); } && {
39039 test -z "$ac_c_werror_flag" ||
39040 test ! -s conftest.err
39041 } && test -s conftest
$ac_exeext &&
39042 $as_test_x conftest
$ac_exeext; then
39043 eval "$as_ac_var=yes"
39045 echo "$as_me: failed program was:" >&5
39046 sed 's/^/| /' conftest.
$ac_ext >&5
39048 eval "$as_ac_var=no"
39051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39052 conftest
$ac_exeext conftest.
$ac_ext
39054 ac_res
=`eval echo '${'$as_ac_var'}'`
39055 { echo "$as_me:$LINENO: result: $ac_res" >&5
39056 echo "${ECHO_T}$ac_res" >&6; }
39057 if test `eval echo '${'$as_ac_var'}'` = yes; then
39058 cat >>confdefs.h
<<_ACEOF
39059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39065 if test "$ac_cv_func_setenv" = "yes"; then
39067 for ac_func
in unsetenv
39069 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39070 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39072 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39073 echo $ECHO_N "(cached) $ECHO_C" >&6
39075 cat >conftest.
$ac_ext <<_ACEOF
39078 cat confdefs.h
>>conftest.
$ac_ext
39079 cat >>conftest.
$ac_ext <<_ACEOF
39080 /* end confdefs.h. */
39081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39083 #define $ac_func innocuous_$ac_func
39085 /* System header to define __stub macros and hopefully few prototypes,
39086 which can conflict with char $ac_func (); below.
39087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39088 <limits.h> exists even on freestanding compilers. */
39091 # include <limits.h>
39093 # include <assert.h>
39098 /* Override any GCC internal prototype to avoid an error.
39099 Use char because int might match the return type of a GCC
39100 builtin and then its argument prototype would still apply. */
39105 /* The GNU C library defines this for functions which it implements
39106 to always fail with ENOSYS. Some functions are actually named
39107 something starting with __ and the normal name is an alias. */
39108 #if defined __stub_$ac_func || defined __stub___$ac_func
39115 return $ac_func ();
39120 rm -f conftest.
$ac_objext conftest
$ac_exeext
39121 if { (ac_try
="$ac_link"
39122 case "(($ac_try" in
39123 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39124 *) ac_try_echo=$ac_try;;
39126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39127 (eval "$ac_link") 2>conftest.er1
39129 grep -v '^ *+' conftest.er1 >conftest.err
39131 cat conftest.err >&5
39132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39133 (exit $ac_status); } && {
39134 test -z "$ac_c_werror_flag" ||
39135 test ! -s conftest.err
39136 } && test -s conftest$ac_exeext &&
39137 $as_test_x conftest$ac_exeext; then
39138 eval "$as_ac_var=yes"
39140 echo "$as_me: failed program was:" >&5
39141 sed 's/^/| /' conftest.$ac_ext >&5
39143 eval "$as_ac_var=no"
39146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39147 conftest$ac_exeext conftest.$ac_ext
39149 ac_res=`eval echo '${'$as_ac_var'}'`
39150 { echo "$as_me:$LINENO: result: $ac_res" >&5
39151 echo "${ECHO_T}$ac_res" >&6; }
39152 if test `eval echo '${'$as_ac_var'}'` = yes; then
39153 cat >>confdefs.h <<_ACEOF
39154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39162 HAVE_SOME_SLEEP_FUNC=0
39163 if test "$USE_BEOS" = 1; then
39164 cat >>confdefs.h <<\_ACEOF
39165 #define HAVE_SLEEP 1
39168 HAVE_SOME_SLEEP_FUNC=1
39171 if test "$USE_DARWIN" = 1; then
39172 cat >>confdefs.h <<\_ACEOF
39173 #define HAVE_USLEEP 1
39176 HAVE_SOME_SLEEP_FUNC=1
39179 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
39182 for ac_func in nanosleep
39184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39185 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39187 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39188 echo $ECHO_N "(cached) $ECHO_C" >&6
39190 cat >conftest.$ac_ext <<_ACEOF
39193 cat confdefs.h >>conftest.$ac_ext
39194 cat >>conftest.$ac_ext <<_ACEOF
39195 /* end confdefs.h. */
39196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39198 #define $ac_func innocuous_$ac_func
39200 /* System header to define __stub macros and hopefully few prototypes,
39201 which can conflict with char $ac_func (); below.
39202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39203 <limits.h> exists even on freestanding compilers. */
39206 # include <limits.h>
39208 # include <assert.h>
39213 /* Override any GCC internal prototype to avoid an error.
39214 Use char because int might match the return type of a GCC
39215 builtin and then its argument prototype would still apply. */
39220 /* The GNU C library defines this for functions which it implements
39221 to always fail with ENOSYS. Some functions are actually named
39222 something starting with __ and the normal name is an alias. */
39223 #if defined __stub_$ac_func || defined __stub___$ac_func
39230 return $ac_func ();
39235 rm -f conftest.$ac_objext conftest$ac_exeext
39236 if { (ac_try="$ac_link"
39237 case "(($ac_try" in
39238 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39239 *) ac_try_echo
=$ac_try;;
39241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39242 (eval "$ac_link") 2>conftest.er1
39244 grep -v '^ *+' conftest.er1
>conftest.err
39246 cat conftest.err
>&5
39247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39248 (exit $ac_status); } && {
39249 test -z "$ac_c_werror_flag" ||
39250 test ! -s conftest.err
39251 } && test -s conftest
$ac_exeext &&
39252 $as_test_x conftest
$ac_exeext; then
39253 eval "$as_ac_var=yes"
39255 echo "$as_me: failed program was:" >&5
39256 sed 's/^/| /' conftest.
$ac_ext >&5
39258 eval "$as_ac_var=no"
39261 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39262 conftest
$ac_exeext conftest.
$ac_ext
39264 ac_res
=`eval echo '${'$as_ac_var'}'`
39265 { echo "$as_me:$LINENO: result: $ac_res" >&5
39266 echo "${ECHO_T}$ac_res" >&6; }
39267 if test `eval echo '${'$as_ac_var'}'` = yes; then
39268 cat >>confdefs.h
<<_ACEOF
39269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39271 cat >>confdefs.h
<<\_ACEOF
39272 #define HAVE_NANOSLEEP 1
39277 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
39278 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
39279 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
39280 echo $ECHO_N "(cached) $ECHO_C" >&6
39282 ac_check_lib_save_LIBS
=$LIBS
39283 LIBS
="-lposix4 $LIBS"
39284 cat >conftest.
$ac_ext <<_ACEOF
39287 cat confdefs.h
>>conftest.
$ac_ext
39288 cat >>conftest.
$ac_ext <<_ACEOF
39289 /* end confdefs.h. */
39291 /* Override any GCC internal prototype to avoid an error.
39292 Use char because int might match the return type of a GCC
39293 builtin and then its argument prototype would still apply. */
39301 return nanosleep ();
39306 rm -f conftest.
$ac_objext conftest
$ac_exeext
39307 if { (ac_try
="$ac_link"
39308 case "(($ac_try" in
39309 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39310 *) ac_try_echo=$ac_try;;
39312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39313 (eval "$ac_link") 2>conftest.er1
39315 grep -v '^ *+' conftest.er1 >conftest.err
39317 cat conftest.err >&5
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); } && {
39320 test -z "$ac_c_werror_flag" ||
39321 test ! -s conftest.err
39322 } && test -s conftest$ac_exeext &&
39323 $as_test_x conftest$ac_exeext; then
39324 ac_cv_lib_posix4_nanosleep=yes
39326 echo "$as_me: failed program was:" >&5
39327 sed 's/^/| /' conftest.$ac_ext >&5
39329 ac_cv_lib_posix4_nanosleep=no
39332 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39333 conftest$ac_exeext conftest.$ac_ext
39334 LIBS=$ac_check_lib_save_LIBS
39336 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
39337 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
39338 if test $ac_cv_lib_posix4_nanosleep = yes; then
39340 cat >>confdefs.h <<\_ACEOF
39341 #define HAVE_NANOSLEEP 1
39344 POSIX4_LINK=" -lposix4"
39349 for wx_func in usleep
39351 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39352 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39353 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39354 echo $ECHO_N "(cached) $ECHO_C" >&6
39357 cat >conftest.$ac_ext <<_ACEOF
39361 cat confdefs.h >>conftest.$ac_ext
39362 cat >>conftest.$ac_ext <<_ACEOF
39363 /* end confdefs.h. */
39366 $ac_includes_default
39382 rm -f conftest.$ac_objext conftest$ac_exeext
39383 if { (ac_try="$ac_link"
39384 case "(($ac_try" in
39385 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39386 *) ac_try_echo
=$ac_try;;
39388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39389 (eval "$ac_link") 2>conftest.er1
39391 grep -v '^ *+' conftest.er1
>conftest.err
39393 cat conftest.err
>&5
39394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39395 (exit $ac_status); } && {
39396 test -z "$ac_c_werror_flag" ||
39397 test ! -s conftest.err
39398 } && test -s conftest
$ac_exeext &&
39399 $as_test_x conftest
$ac_exeext; then
39400 eval wx_cv_func_
$wx_func=yes
39402 echo "$as_me: failed program was:" >&5
39403 sed 's/^/| /' conftest.
$ac_ext >&5
39405 eval wx_cv_func_
$wx_func=no
39408 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39409 conftest
$ac_exeext conftest.
$ac_ext
39412 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39413 { echo "$as_me:$LINENO: result: $ac_res" >&5
39414 echo "${ECHO_T}$ac_res" >&6; }
39416 if eval test \
$wx_cv_func_$wx_func = yes
39418 cat >>confdefs.h
<<_ACEOF
39419 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39425 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
39426 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
39443 for wx_func
in uname
39445 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39446 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39447 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39448 echo $ECHO_N "(cached) $ECHO_C" >&6
39451 cat >conftest.
$ac_ext <<_ACEOF
39455 cat confdefs.h
>>conftest.
$ac_ext
39456 cat >>conftest.
$ac_ext <<_ACEOF
39457 /* end confdefs.h. */
39459 #include <sys/utsname.h>
39460 $ac_includes_default
39476 rm -f conftest.
$ac_objext conftest
$ac_exeext
39477 if { (ac_try
="$ac_link"
39478 case "(($ac_try" in
39479 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39480 *) ac_try_echo=$ac_try;;
39482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39483 (eval "$ac_link") 2>conftest.er1
39485 grep -v '^ *+' conftest.er1 >conftest.err
39487 cat conftest.err >&5
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); } && {
39490 test -z "$ac_c_werror_flag" ||
39491 test ! -s conftest.err
39492 } && test -s conftest$ac_exeext &&
39493 $as_test_x conftest$ac_exeext; then
39494 eval wx_cv_func_$wx_func=yes
39496 echo "$as_me: failed program was:" >&5
39497 sed 's/^/| /' conftest.$ac_ext >&5
39499 eval wx_cv_func_$wx_func=no
39502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39503 conftest$ac_exeext conftest.$ac_ext
39506 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39507 { echo "$as_me:$LINENO: result: $ac_res" >&5
39508 echo "${ECHO_T}$ac_res" >&6; }
39510 if eval test \$wx_cv_func_$wx_func = yes
39512 cat >>confdefs.h <<_ACEOF
39513 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39523 if test "$wx_cv_func_uname" != yes; then
39525 for wx_func in gethostname
39527 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39528 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39529 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39530 echo $ECHO_N "(cached) $ECHO_C" >&6
39533 cat >conftest.$ac_ext <<_ACEOF
39537 cat confdefs.h >>conftest.$ac_ext
39538 cat >>conftest.$ac_ext <<_ACEOF
39539 /* end confdefs.h. */
39542 $ac_includes_default
39558 rm -f conftest.$ac_objext conftest$ac_exeext
39559 if { (ac_try="$ac_link"
39560 case "(($ac_try" in
39561 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39562 *) ac_try_echo
=$ac_try;;
39564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39565 (eval "$ac_link") 2>conftest.er1
39567 grep -v '^ *+' conftest.er1
>conftest.err
39569 cat conftest.err
>&5
39570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39571 (exit $ac_status); } && {
39572 test -z "$ac_c_werror_flag" ||
39573 test ! -s conftest.err
39574 } && test -s conftest
$ac_exeext &&
39575 $as_test_x conftest
$ac_exeext; then
39576 eval wx_cv_func_
$wx_func=yes
39578 echo "$as_me: failed program was:" >&5
39579 sed 's/^/| /' conftest.
$ac_ext >&5
39581 eval wx_cv_func_
$wx_func=no
39584 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39585 conftest
$ac_exeext conftest.
$ac_ext
39588 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
39589 { echo "$as_me:$LINENO: result: $ac_res" >&5
39590 echo "${ECHO_T}$ac_res" >&6; }
39592 if eval test \
$wx_cv_func_$wx_func = yes
39594 cat >>confdefs.h
<<_ACEOF
39595 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39608 for wx_func
in strtok_r
39610 { echo "$as_me:$LINENO: checking for $wx_func" >&5
39611 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
39612 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
39613 echo $ECHO_N "(cached) $ECHO_C" >&6
39616 cat >conftest.
$ac_ext <<_ACEOF
39620 cat confdefs.h
>>conftest.
$ac_ext
39621 cat >>conftest.
$ac_ext <<_ACEOF
39622 /* end confdefs.h. */
39625 $ac_includes_default
39641 rm -f conftest.
$ac_objext conftest
$ac_exeext
39642 if { (ac_try
="$ac_link"
39643 case "(($ac_try" in
39644 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39645 *) ac_try_echo=$ac_try;;
39647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39648 (eval "$ac_link") 2>conftest.er1
39650 grep -v '^ *+' conftest.er1 >conftest.err
39652 cat conftest.err >&5
39653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39654 (exit $ac_status); } && {
39655 test -z "$ac_c_werror_flag" ||
39656 test ! -s conftest.err
39657 } && test -s conftest$ac_exeext &&
39658 $as_test_x conftest$ac_exeext; then
39659 eval wx_cv_func_$wx_func=yes
39661 echo "$as_me: failed program was:" >&5
39662 sed 's/^/| /' conftest.$ac_ext >&5
39664 eval wx_cv_func_$wx_func=no
39667 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39668 conftest$ac_exeext conftest.$ac_ext
39671 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
39672 { echo "$as_me:$LINENO: result: $ac_res" >&5
39673 echo "${ECHO_T}$ac_res" >&6; }
39675 if eval test \$wx_cv_func_$wx_func = yes
39677 cat >>confdefs.h <<_ACEOF
39678 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
39691 for ac_func in inet_addr
39693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39694 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39696 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39697 echo $ECHO_N "(cached) $ECHO_C" >&6
39699 cat >conftest.$ac_ext <<_ACEOF
39702 cat confdefs.h >>conftest.$ac_ext
39703 cat >>conftest.$ac_ext <<_ACEOF
39704 /* end confdefs.h. */
39705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39707 #define $ac_func innocuous_$ac_func
39709 /* System header to define __stub macros and hopefully few prototypes,
39710 which can conflict with char $ac_func (); below.
39711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39712 <limits.h> exists even on freestanding compilers. */
39715 # include <limits.h>
39717 # include <assert.h>
39722 /* Override any GCC internal prototype to avoid an error.
39723 Use char because int might match the return type of a GCC
39724 builtin and then its argument prototype would still apply. */
39729 /* The GNU C library defines this for functions which it implements
39730 to always fail with ENOSYS. Some functions are actually named
39731 something starting with __ and the normal name is an alias. */
39732 #if defined __stub_$ac_func || defined __stub___$ac_func
39739 return $ac_func ();
39744 rm -f conftest.$ac_objext conftest$ac_exeext
39745 if { (ac_try="$ac_link"
39746 case "(($ac_try" in
39747 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39748 *) ac_try_echo
=$ac_try;;
39750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39751 (eval "$ac_link") 2>conftest.er1
39753 grep -v '^ *+' conftest.er1
>conftest.err
39755 cat conftest.err
>&5
39756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39757 (exit $ac_status); } && {
39758 test -z "$ac_c_werror_flag" ||
39759 test ! -s conftest.err
39760 } && test -s conftest
$ac_exeext &&
39761 $as_test_x conftest
$ac_exeext; then
39762 eval "$as_ac_var=yes"
39764 echo "$as_me: failed program was:" >&5
39765 sed 's/^/| /' conftest.
$ac_ext >&5
39767 eval "$as_ac_var=no"
39770 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39771 conftest
$ac_exeext conftest.
$ac_ext
39773 ac_res
=`eval echo '${'$as_ac_var'}'`
39774 { echo "$as_me:$LINENO: result: $ac_res" >&5
39775 echo "${ECHO_T}$ac_res" >&6; }
39776 if test `eval echo '${'$as_ac_var'}'` = yes; then
39777 cat >>confdefs.h
<<_ACEOF
39778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39780 cat >>confdefs.h
<<\_ACEOF
39781 #define HAVE_INET_ADDR 1
39786 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
39787 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
39788 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
39789 echo $ECHO_N "(cached) $ECHO_C" >&6
39791 ac_check_lib_save_LIBS
=$LIBS
39793 cat >conftest.
$ac_ext <<_ACEOF
39796 cat confdefs.h
>>conftest.
$ac_ext
39797 cat >>conftest.
$ac_ext <<_ACEOF
39798 /* end confdefs.h. */
39800 /* Override any GCC internal prototype to avoid an error.
39801 Use char because int might match the return type of a GCC
39802 builtin and then its argument prototype would still apply. */
39810 return inet_addr ();
39815 rm -f conftest.
$ac_objext conftest
$ac_exeext
39816 if { (ac_try
="$ac_link"
39817 case "(($ac_try" in
39818 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39819 *) ac_try_echo=$ac_try;;
39821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39822 (eval "$ac_link") 2>conftest.er1
39824 grep -v '^ *+' conftest.er1 >conftest.err
39826 cat conftest.err >&5
39827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39828 (exit $ac_status); } && {
39829 test -z "$ac_c_werror_flag" ||
39830 test ! -s conftest.err
39831 } && test -s conftest$ac_exeext &&
39832 $as_test_x conftest$ac_exeext; then
39833 ac_cv_lib_nsl_inet_addr=yes
39835 echo "$as_me: failed program was:" >&5
39836 sed 's/^/| /' conftest.$ac_ext >&5
39838 ac_cv_lib_nsl_inet_addr=no
39841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39842 conftest$ac_exeext conftest.$ac_ext
39843 LIBS=$ac_check_lib_save_LIBS
39845 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
39846 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
39847 if test $ac_cv_lib_nsl_inet_addr = yes; then
39851 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
39852 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
39853 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
39854 echo $ECHO_N "(cached) $ECHO_C" >&6
39856 ac_check_lib_save_LIBS=$LIBS
39857 LIBS="-lresolv $LIBS"
39858 cat >conftest.$ac_ext <<_ACEOF
39861 cat confdefs.h >>conftest.$ac_ext
39862 cat >>conftest.$ac_ext <<_ACEOF
39863 /* end confdefs.h. */
39865 /* Override any GCC internal prototype to avoid an error.
39866 Use char because int might match the return type of a GCC
39867 builtin and then its argument prototype would still apply. */
39875 return inet_addr ();
39880 rm -f conftest.$ac_objext conftest$ac_exeext
39881 if { (ac_try="$ac_link"
39882 case "(($ac_try" in
39883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
39884 *) ac_try_echo
=$ac_try;;
39886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39887 (eval "$ac_link") 2>conftest.er1
39889 grep -v '^ *+' conftest.er1
>conftest.err
39891 cat conftest.err
>&5
39892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39893 (exit $ac_status); } && {
39894 test -z "$ac_c_werror_flag" ||
39895 test ! -s conftest.err
39896 } && test -s conftest
$ac_exeext &&
39897 $as_test_x conftest
$ac_exeext; then
39898 ac_cv_lib_resolv_inet_addr
=yes
39900 echo "$as_me: failed program was:" >&5
39901 sed 's/^/| /' conftest.
$ac_ext >&5
39903 ac_cv_lib_resolv_inet_addr
=no
39906 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
39907 conftest
$ac_exeext conftest.
$ac_ext
39908 LIBS
=$ac_check_lib_save_LIBS
39910 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
39911 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
39912 if test $ac_cv_lib_resolv_inet_addr = yes; then
39916 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
39917 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
39918 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
39919 echo $ECHO_N "(cached) $ECHO_C" >&6
39921 ac_check_lib_save_LIBS
=$LIBS
39922 LIBS
="-lsocket $LIBS"
39923 cat >conftest.
$ac_ext <<_ACEOF
39926 cat confdefs.h
>>conftest.
$ac_ext
39927 cat >>conftest.
$ac_ext <<_ACEOF
39928 /* end confdefs.h. */
39930 /* Override any GCC internal prototype to avoid an error.
39931 Use char because int might match the return type of a GCC
39932 builtin and then its argument prototype would still apply. */
39940 return inet_addr ();
39945 rm -f conftest.
$ac_objext conftest
$ac_exeext
39946 if { (ac_try
="$ac_link"
39947 case "(($ac_try" in
39948 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
39949 *) ac_try_echo=$ac_try;;
39951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39952 (eval "$ac_link") 2>conftest.er1
39954 grep -v '^ *+' conftest.er1 >conftest.err
39956 cat conftest.err >&5
39957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39958 (exit $ac_status); } && {
39959 test -z "$ac_c_werror_flag" ||
39960 test ! -s conftest.err
39961 } && test -s conftest$ac_exeext &&
39962 $as_test_x conftest$ac_exeext; then
39963 ac_cv_lib_socket_inet_addr=yes
39965 echo "$as_me: failed program was:" >&5
39966 sed 's/^/| /' conftest.$ac_ext >&5
39968 ac_cv_lib_socket_inet_addr=no
39971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39972 conftest$ac_exeext conftest.$ac_ext
39973 LIBS=$ac_check_lib_save_LIBS
39975 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
39976 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
39977 if test $ac_cv_lib_socket_inet_addr = yes; then
39997 for ac_func in inet_aton
39999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40000 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40002 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40003 echo $ECHO_N "(cached) $ECHO_C" >&6
40005 cat >conftest.$ac_ext <<_ACEOF
40008 cat confdefs.h >>conftest.$ac_ext
40009 cat >>conftest.$ac_ext <<_ACEOF
40010 /* end confdefs.h. */
40011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40013 #define $ac_func innocuous_$ac_func
40015 /* System header to define __stub macros and hopefully few prototypes,
40016 which can conflict with char $ac_func (); below.
40017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40018 <limits.h> exists even on freestanding compilers. */
40021 # include <limits.h>
40023 # include <assert.h>
40028 /* Override any GCC internal prototype to avoid an error.
40029 Use char because int might match the return type of a GCC
40030 builtin and then its argument prototype would still apply. */
40035 /* The GNU C library defines this for functions which it implements
40036 to always fail with ENOSYS. Some functions are actually named
40037 something starting with __ and the normal name is an alias. */
40038 #if defined __stub_$ac_func || defined __stub___$ac_func
40045 return $ac_func ();
40050 rm -f conftest.$ac_objext conftest$ac_exeext
40051 if { (ac_try="$ac_link"
40052 case "(($ac_try" in
40053 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40054 *) ac_try_echo
=$ac_try;;
40056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40057 (eval "$ac_link") 2>conftest.er1
40059 grep -v '^ *+' conftest.er1
>conftest.err
40061 cat conftest.err
>&5
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); } && {
40064 test -z "$ac_c_werror_flag" ||
40065 test ! -s conftest.err
40066 } && test -s conftest
$ac_exeext &&
40067 $as_test_x conftest
$ac_exeext; then
40068 eval "$as_ac_var=yes"
40070 echo "$as_me: failed program was:" >&5
40071 sed 's/^/| /' conftest.
$ac_ext >&5
40073 eval "$as_ac_var=no"
40076 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40077 conftest
$ac_exeext conftest.
$ac_ext
40079 ac_res
=`eval echo '${'$as_ac_var'}'`
40080 { echo "$as_me:$LINENO: result: $ac_res" >&5
40081 echo "${ECHO_T}$ac_res" >&6; }
40082 if test `eval echo '${'$as_ac_var'}'` = yes; then
40083 cat >>confdefs.h
<<_ACEOF
40084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40086 cat >>confdefs.h
<<\_ACEOF
40087 #define HAVE_INET_ATON 1
40092 as_ac_Lib
=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
40093 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
40094 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
40095 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
40096 echo $ECHO_N "(cached) $ECHO_C" >&6
40098 ac_check_lib_save_LIBS
=$LIBS
40099 LIBS
="-l$INET_LINK $LIBS"
40100 cat >conftest.
$ac_ext <<_ACEOF
40103 cat confdefs.h
>>conftest.
$ac_ext
40104 cat >>conftest.
$ac_ext <<_ACEOF
40105 /* end confdefs.h. */
40107 /* Override any GCC internal prototype to avoid an error.
40108 Use char because int might match the return type of a GCC
40109 builtin and then its argument prototype would still apply. */
40117 return inet_aton ();
40122 rm -f conftest.
$ac_objext conftest
$ac_exeext
40123 if { (ac_try
="$ac_link"
40124 case "(($ac_try" in
40125 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40126 *) ac_try_echo=$ac_try;;
40128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40129 (eval "$ac_link") 2>conftest.er1
40131 grep -v '^ *+' conftest.er1 >conftest.err
40133 cat conftest.err >&5
40134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40135 (exit $ac_status); } && {
40136 test -z "$ac_c_werror_flag" ||
40137 test ! -s conftest.err
40138 } && test -s conftest$ac_exeext &&
40139 $as_test_x conftest$ac_exeext; then
40140 eval "$as_ac_Lib=yes"
40142 echo "$as_me: failed program was:" >&5
40143 sed 's/^/| /' conftest.$ac_ext >&5
40145 eval "$as_ac_Lib=no"
40148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40149 conftest$ac_exeext conftest.$ac_ext
40150 LIBS=$ac_check_lib_save_LIBS
40152 ac_res=`eval echo '${'$as_ac_Lib'}'`
40153 { echo "$as_me:$LINENO: result: $ac_res" >&5
40154 echo "${ECHO_T}$ac_res" >&6; }
40155 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
40156 cat >>confdefs.h <<\_ACEOF
40157 #define HAVE_INET_ATON 1
40167 if test "x$INET_LINK" != "x"; then
40168 cat >>confdefs.h <<\_ACEOF
40169 #define HAVE_INET_ADDR 1
40172 INET_LINK=" -l$INET_LINK"
40176 for wx_func in fdopen
40178 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40179 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40180 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40181 echo $ECHO_N "(cached) $ECHO_C" >&6
40184 cat >conftest.$ac_ext <<_ACEOF
40188 cat confdefs.h >>conftest.$ac_ext
40189 cat >>conftest.$ac_ext <<_ACEOF
40190 /* end confdefs.h. */
40193 $ac_includes_default
40209 rm -f conftest.$ac_objext conftest$ac_exeext
40210 if { (ac_try="$ac_link"
40211 case "(($ac_try" in
40212 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40213 *) ac_try_echo
=$ac_try;;
40215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40216 (eval "$ac_link") 2>conftest.er1
40218 grep -v '^ *+' conftest.er1
>conftest.err
40220 cat conftest.err
>&5
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); } && {
40223 test -z "$ac_c_werror_flag" ||
40224 test ! -s conftest.err
40225 } && test -s conftest
$ac_exeext &&
40226 $as_test_x conftest
$ac_exeext; then
40227 eval wx_cv_func_
$wx_func=yes
40229 echo "$as_me: failed program was:" >&5
40230 sed 's/^/| /' conftest.
$ac_ext >&5
40232 eval wx_cv_func_
$wx_func=no
40235 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40236 conftest
$ac_exeext conftest.
$ac_ext
40239 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40240 { echo "$as_me:$LINENO: result: $ac_res" >&5
40241 echo "${ECHO_T}$ac_res" >&6; }
40243 if eval test \
$wx_cv_func_$wx_func = yes
40245 cat >>confdefs.h
<<_ACEOF
40246 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40257 if test "$wxUSE_TARSTREAM" = "yes"; then
40259 for wx_func
in sysconf
40261 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40262 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40263 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40264 echo $ECHO_N "(cached) $ECHO_C" >&6
40267 cat >conftest.
$ac_ext <<_ACEOF
40271 cat confdefs.h
>>conftest.
$ac_ext
40272 cat >>conftest.
$ac_ext <<_ACEOF
40273 /* end confdefs.h. */
40276 $ac_includes_default
40292 rm -f conftest.
$ac_objext conftest
$ac_exeext
40293 if { (ac_try
="$ac_link"
40294 case "(($ac_try" in
40295 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40296 *) ac_try_echo=$ac_try;;
40298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40299 (eval "$ac_link") 2>conftest.er1
40301 grep -v '^ *+' conftest.er1 >conftest.err
40303 cat conftest.err >&5
40304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40305 (exit $ac_status); } && {
40306 test -z "$ac_c_werror_flag" ||
40307 test ! -s conftest.err
40308 } && test -s conftest$ac_exeext &&
40309 $as_test_x conftest$ac_exeext; then
40310 eval wx_cv_func_$wx_func=yes
40312 echo "$as_me: failed program was:" >&5
40313 sed 's/^/| /' conftest.$ac_ext >&5
40315 eval wx_cv_func_$wx_func=no
40318 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40319 conftest$ac_exeext conftest.$ac_ext
40322 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40323 { echo "$as_me:$LINENO: result: $ac_res" >&5
40324 echo "${ECHO_T}$ac_res" >&6; }
40326 if eval test \$wx_cv_func_$wx_func = yes
40328 cat >>confdefs.h <<_ACEOF
40329 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40341 for wx_func in getpwuid_r
40343 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40344 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40345 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40346 echo $ECHO_N "(cached) $ECHO_C" >&6
40349 cat >conftest.$ac_ext <<_ACEOF
40353 cat confdefs.h >>conftest.$ac_ext
40354 cat >>conftest.$ac_ext <<_ACEOF
40355 /* end confdefs.h. */
40361 $ac_includes_default
40371 struct passwd pw, *ppw;
40373 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
40381 rm -f conftest.$ac_objext conftest$ac_exeext
40382 if { (ac_try="$ac_link"
40383 case "(($ac_try" in
40384 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40385 *) ac_try_echo
=$ac_try;;
40387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40388 (eval "$ac_link") 2>conftest.er1
40390 grep -v '^ *+' conftest.er1
>conftest.err
40392 cat conftest.err
>&5
40393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40394 (exit $ac_status); } && {
40395 test -z "$ac_c_werror_flag" ||
40396 test ! -s conftest.err
40397 } && test -s conftest
$ac_exeext &&
40398 $as_test_x conftest
$ac_exeext; then
40399 eval wx_cv_func_
$wx_func=yes
40401 echo "$as_me: failed program was:" >&5
40402 sed 's/^/| /' conftest.
$ac_ext >&5
40404 eval wx_cv_func_
$wx_func=no
40407 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40408 conftest
$ac_exeext conftest.
$ac_ext
40411 ac_res
=`eval echo '${'wx_cv_func_$wx_func'}'`
40412 { echo "$as_me:$LINENO: result: $ac_res" >&5
40413 echo "${ECHO_T}$ac_res" >&6; }
40415 if eval test \
$wx_cv_func_$wx_func = yes
40417 cat >>confdefs.h
<<_ACEOF
40418 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40430 for wx_func
in getgrgid_r
40432 { echo "$as_me:$LINENO: checking for $wx_func" >&5
40433 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
40434 if { as_var
=wx_cv_func_
$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
40435 echo $ECHO_N "(cached) $ECHO_C" >&6
40438 cat >conftest.
$ac_ext <<_ACEOF
40442 cat confdefs.h
>>conftest.
$ac_ext
40443 cat >>conftest.
$ac_ext <<_ACEOF
40444 /* end confdefs.h. */
40450 $ac_includes_default
40460 struct group grp, *pgrp;
40462 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
40470 rm -f conftest.
$ac_objext conftest
$ac_exeext
40471 if { (ac_try
="$ac_link"
40472 case "(($ac_try" in
40473 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40474 *) ac_try_echo=$ac_try;;
40476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40477 (eval "$ac_link") 2>conftest.er1
40479 grep -v '^ *+' conftest.er1 >conftest.err
40481 cat conftest.err >&5
40482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40483 (exit $ac_status); } && {
40484 test -z "$ac_c_werror_flag" ||
40485 test ! -s conftest.err
40486 } && test -s conftest$ac_exeext &&
40487 $as_test_x conftest$ac_exeext; then
40488 eval wx_cv_func_$wx_func=yes
40490 echo "$as_me: failed program was:" >&5
40491 sed 's/^/| /' conftest.$ac_ext >&5
40493 eval wx_cv_func_$wx_func=no
40496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40497 conftest$ac_exeext conftest.$ac_ext
40500 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
40501 { echo "$as_me:$LINENO: result: $ac_res" >&5
40502 echo "${ECHO_T}$ac_res" >&6; }
40504 if eval test \$wx_cv_func_$wx_func = yes
40506 cat >>confdefs.h <<_ACEOF
40507 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
40523 cat >confcache <<\_ACEOF
40524 # This file is a shell script that caches the results of configure
40525 # tests run on this system so they can be shared between configure
40526 # scripts and configure runs, see configure's option --config-cache.
40527 # It is not useful on other systems. If it contains results you don't
40528 # want to keep, you may remove or edit it.
40530 # config.status only pays attention to the cache file if you give it
40531 # the --recheck option to rerun configure.
40533 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
40534 # loading this file, other *unset* `ac_cv_foo' will be assigned the
40535 # following values.
40539 # The following way of writing the cache mishandles newlines in values,
40540 # but we know of no workaround that is simple, portable, and efficient.
40541 # So, we kill variables containing newlines.
40542 # Ultrix sh set writes to stderr and can't be redirected directly,
40543 # and sets the high bit in the cache file unless we assign to the vars.
40545 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
40546 eval ac_val
=\$
$ac_var
40550 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
40551 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
40554 _
| IFS
| as_nl
) ;; #(
40555 *) $as_unset $ac_var ;;
40561 case $as_nl`(ac_space=' '; set) 2>&1` in #(
40562 *${as_nl}ac_space
=\
*)
40563 # `set' does not quote correctly, so add quotes (double-quote
40564 # substitution turns \\\\ into \\, and sed turns \\ into \).
40567 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
40570 # `set' quotes correctly as required by POSIX, so do not add quotes.
40571 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
40580 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
40582 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
40584 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
40585 if test -w "$cache_file"; then
40586 test "x$cache_file" != "x/dev/null" &&
40587 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
40588 echo "$as_me: updating cache $cache_file" >&6;}
40589 cat confcache
>$cache_file
40591 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
40592 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
40598 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40604 if test "$wxUSE_THREADS" = "yes" ; then
40605 if test "$USE_BEOS" = 1; then
40606 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
40607 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
40612 if test "$wxUSE_THREADS" = "yes" ; then
40615 THREAD_OPTS
="-pthread"
40616 if test "x$SUNCXX" = xyes
; then
40617 THREAD_OPTS
="-mt lthread $THREAD_OPTS"
40621 *-*-solaris2* | *-*-sunos4* )
40622 if test "x$GCC" = "xyes"; then
40623 THREAD_OPTS
="-pthreads $THREAD_OPTS"
40627 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
40629 *-*-darwin* | *-*-cygwin* )
40633 THREAD_OPTS
="pthreads"
40636 if test "x$GCC" = "xyes"; then
40637 $CXX -dumpspecs | grep 'pthread:' >/dev
/null
||
40645 if test "x$GCC" = "xyes"; then
40655 if test "x$GCC" != "xyes"; then
40656 THREAD_OPTS
="-Ethread"
40663 THREAD_OPTS
="none pthread"
40667 THREAD_OPTS
="$THREAD_OPTS pthread none"
40672 for flag
in $THREAD_OPTS; do
40675 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
40676 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
40680 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
40681 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
40682 THREADS_CFLAGS
="$flag"
40686 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
40687 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
40688 THREADS_LINK
="-l$flag"
40693 save_CFLAGS
="$CFLAGS"
40694 LIBS
="$THREADS_LINK $LIBS"
40695 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
40697 cat >conftest.
$ac_ext <<_ACEOF
40700 cat confdefs.h
>>conftest.
$ac_ext
40701 cat >>conftest.
$ac_ext <<_ACEOF
40702 /* end confdefs.h. */
40703 #include <pthread.h>
40707 pthread_create(0,0,0,0);
40712 rm -f conftest.
$ac_objext conftest
$ac_exeext
40713 if { (ac_try
="$ac_link"
40714 case "(($ac_try" in
40715 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40716 *) ac_try_echo=$ac_try;;
40718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40719 (eval "$ac_link") 2>conftest.er1
40721 grep -v '^ *+' conftest.er1 >conftest.err
40723 cat conftest.err >&5
40724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40725 (exit $ac_status); } && {
40726 test -z "$ac_c_werror_flag" ||
40727 test ! -s conftest.err
40728 } && test -s conftest$ac_exeext &&
40729 $as_test_x conftest$ac_exeext; then
40732 echo "$as_me: failed program was:" >&5
40733 sed 's/^/| /' conftest.$ac_ext >&5
40738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40739 conftest$ac_exeext conftest.$ac_ext
40742 CFLAGS="$save_CFLAGS"
40744 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
40745 echo "${ECHO_T}$THREADS_OK" >&6; }
40746 if test "x$THREADS_OK" = "xyes"; then
40754 if test "x$THREADS_OK" != "xyes"; then
40756 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
40757 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
40759 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
40760 WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
40761 LIBS="$THREADS_LINK $LIBS"
40763 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
40764 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
40768 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
40769 WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
40770 flag="-D_THREAD_SAFE"
40773 flag="-D_THREAD_SAFE"
40776 flag="-D_REENTRANT"
40777 if test "x$GCC" != "xyes"; then
40778 flag="$flag -D_RWSTD_MULTI_THREAD"
40781 *solaris* | alpha*-osf*)
40782 flag="-D_REENTRANT"
40785 { echo "$as_me:$LINENO: result: ${flag}" >&5
40786 echo "${ECHO_T}${flag}" >&6; }
40787 if test "x$flag" != xno; then
40788 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
40791 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
40795 if test "$wxUSE_THREADS" = "yes" ; then
40797 for ac_func in thr_setconcurrency
40799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40800 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40802 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40803 echo $ECHO_N "(cached) $ECHO_C" >&6
40805 cat >conftest.$ac_ext <<_ACEOF
40808 cat confdefs.h >>conftest.$ac_ext
40809 cat >>conftest.$ac_ext <<_ACEOF
40810 /* end confdefs.h. */
40811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40813 #define $ac_func innocuous_$ac_func
40815 /* System header to define __stub macros and hopefully few prototypes,
40816 which can conflict with char $ac_func (); below.
40817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40818 <limits.h> exists even on freestanding compilers. */
40821 # include <limits.h>
40823 # include <assert.h>
40828 /* Override any GCC internal prototype to avoid an error.
40829 Use char because int might match the return type of a GCC
40830 builtin and then its argument prototype would still apply. */
40835 /* The GNU C library defines this for functions which it implements
40836 to always fail with ENOSYS. Some functions are actually named
40837 something starting with __ and the normal name is an alias. */
40838 #if defined __stub_$ac_func || defined __stub___$ac_func
40845 return $ac_func ();
40850 rm -f conftest.$ac_objext conftest$ac_exeext
40851 if { (ac_try="$ac_link"
40852 case "(($ac_try" in
40853 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40854 *) ac_try_echo
=$ac_try;;
40856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40857 (eval "$ac_link") 2>conftest.er1
40859 grep -v '^ *+' conftest.er1
>conftest.err
40861 cat conftest.err
>&5
40862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863 (exit $ac_status); } && {
40864 test -z "$ac_c_werror_flag" ||
40865 test ! -s conftest.err
40866 } && test -s conftest
$ac_exeext &&
40867 $as_test_x conftest
$ac_exeext; then
40868 eval "$as_ac_var=yes"
40870 echo "$as_me: failed program was:" >&5
40871 sed 's/^/| /' conftest.
$ac_ext >&5
40873 eval "$as_ac_var=no"
40876 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
40877 conftest
$ac_exeext conftest.
$ac_ext
40879 ac_res
=`eval echo '${'$as_ac_var'}'`
40880 { echo "$as_me:$LINENO: result: $ac_res" >&5
40881 echo "${ECHO_T}$ac_res" >&6; }
40882 if test `eval echo '${'$as_ac_var'}'` = yes; then
40883 cat >>confdefs.h
<<_ACEOF
40884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40891 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
40892 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
40893 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
40894 echo $ECHO_N "(cached) $ECHO_C" >&6
40898 ac_cpp
='$CXXCPP $CPPFLAGS'
40899 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40900 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40901 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40903 cat >conftest.
$ac_ext <<_ACEOF
40906 cat confdefs.h
>>conftest.
$ac_ext
40907 cat >>conftest.
$ac_ext <<_ACEOF
40908 /* end confdefs.h. */
40909 #include <pthread.h>
40910 void ThreadCleanupFunc(void *p);
40917 pthread_cleanup_push(ThreadCleanupFunc, p);
40918 pthread_cleanup_pop(0);
40924 rm -f conftest.
$ac_objext
40925 if { (ac_try
="$ac_compile"
40926 case "(($ac_try" in
40927 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
40928 *) ac_try_echo=$ac_try;;
40930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40931 (eval "$ac_compile") 2>conftest.er1
40933 grep -v '^ *+' conftest.er1 >conftest.err
40935 cat conftest.err >&5
40936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40937 (exit $ac_status); } && {
40938 test -z "$ac_cxx_werror_flag" ||
40939 test ! -s conftest.err
40940 } && test -s conftest.$ac_objext; then
40942 wx_cv_func_pthread_cleanup=yes
40945 echo "$as_me: failed program was:" >&5
40946 sed 's/^/| /' conftest.$ac_ext >&5
40949 wx_cv_func_pthread_cleanup=no
40954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40956 ac_cpp='$CPP $CPPFLAGS'
40957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40963 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
40964 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
40965 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
40966 cat >>confdefs.h <<\_ACEOF
40967 #define wxHAVE_PTHREAD_CLEANUP 1
40973 for ac_header in sched.h
40975 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40976 { echo "$as_me:$LINENO: checking for $ac_header" >&5
40977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
40978 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
40979 echo $ECHO_N "(cached) $ECHO_C" >&6
40981 cat >conftest.$ac_ext <<_ACEOF
40984 cat confdefs.h >>conftest.$ac_ext
40985 cat >>conftest.$ac_ext <<_ACEOF
40986 /* end confdefs.h. */
40987 $ac_includes_default
40989 #include <$ac_header>
40991 rm -f conftest.$ac_objext
40992 if { (ac_try="$ac_compile"
40993 case "(($ac_try" in
40994 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
40995 *) ac_try_echo
=$ac_try;;
40997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40998 (eval "$ac_compile") 2>conftest.er1
41000 grep -v '^ *+' conftest.er1
>conftest.err
41002 cat conftest.err
>&5
41003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41004 (exit $ac_status); } && {
41005 test -z "$ac_c_werror_flag" ||
41006 test ! -s conftest.err
41007 } && test -s conftest.
$ac_objext; then
41008 eval "$as_ac_Header=yes"
41010 echo "$as_me: failed program was:" >&5
41011 sed 's/^/| /' conftest.
$ac_ext >&5
41013 eval "$as_ac_Header=no"
41016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41018 ac_res
=`eval echo '${'$as_ac_Header'}'`
41019 { echo "$as_me:$LINENO: result: $ac_res" >&5
41020 echo "${ECHO_T}$ac_res" >&6; }
41021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41022 cat >>confdefs.h
<<_ACEOF
41023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41030 if test "$ac_cv_header_sched_h" = "yes"; then
41031 { echo "$as_me:$LINENO: checking for sched_yield" >&5
41032 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
41033 if test "${ac_cv_func_sched_yield+set}" = set; then
41034 echo $ECHO_N "(cached) $ECHO_C" >&6
41036 cat >conftest.
$ac_ext <<_ACEOF
41039 cat confdefs.h
>>conftest.
$ac_ext
41040 cat >>conftest.
$ac_ext <<_ACEOF
41041 /* end confdefs.h. */
41042 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
41043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41044 #define sched_yield innocuous_sched_yield
41046 /* System header to define __stub macros and hopefully few prototypes,
41047 which can conflict with char sched_yield (); below.
41048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41049 <limits.h> exists even on freestanding compilers. */
41052 # include <limits.h>
41054 # include <assert.h>
41059 /* Override any GCC internal prototype to avoid an error.
41060 Use char because int might match the return type of a GCC
41061 builtin and then its argument prototype would still apply. */
41065 char sched_yield ();
41066 /* The GNU C library defines this for functions which it implements
41067 to always fail with ENOSYS. Some functions are actually named
41068 something starting with __ and the normal name is an alias. */
41069 #if defined __stub_sched_yield || defined __stub___sched_yield
41076 return sched_yield ();
41081 rm -f conftest.
$ac_objext conftest
$ac_exeext
41082 if { (ac_try
="$ac_link"
41083 case "(($ac_try" in
41084 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41085 *) ac_try_echo=$ac_try;;
41087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41088 (eval "$ac_link") 2>conftest.er1
41090 grep -v '^ *+' conftest.er1 >conftest.err
41092 cat conftest.err >&5
41093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41094 (exit $ac_status); } && {
41095 test -z "$ac_c_werror_flag" ||
41096 test ! -s conftest.err
41097 } && test -s conftest$ac_exeext &&
41098 $as_test_x conftest$ac_exeext; then
41099 ac_cv_func_sched_yield=yes
41101 echo "$as_me: failed program was:" >&5
41102 sed 's/^/| /' conftest.$ac_ext >&5
41104 ac_cv_func_sched_yield=no
41107 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41108 conftest$ac_exeext conftest.$ac_ext
41110 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
41111 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
41112 if test $ac_cv_func_sched_yield = yes; then
41113 cat >>confdefs.h <<\_ACEOF
41114 #define HAVE_SCHED_YIELD 1
41119 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
41120 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
41121 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
41122 echo $ECHO_N "(cached) $ECHO_C" >&6
41124 ac_check_lib_save_LIBS=$LIBS
41125 LIBS="-lposix4 $LIBS"
41126 cat >conftest.$ac_ext <<_ACEOF
41129 cat confdefs.h >>conftest.$ac_ext
41130 cat >>conftest.$ac_ext <<_ACEOF
41131 /* end confdefs.h. */
41133 /* Override any GCC internal prototype to avoid an error.
41134 Use char because int might match the return type of a GCC
41135 builtin and then its argument prototype would still apply. */
41139 char sched_yield ();
41143 return sched_yield ();
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 ac_cv_lib_posix4_sched_yield
=yes
41168 echo "$as_me: failed program was:" >&5
41169 sed 's/^/| /' conftest.
$ac_ext >&5
41171 ac_cv_lib_posix4_sched_yield
=no
41174 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41175 conftest
$ac_exeext conftest.
$ac_ext
41176 LIBS
=$ac_check_lib_save_LIBS
41178 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
41179 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
41180 if test $ac_cv_lib_posix4_sched_yield = yes; then
41181 cat >>confdefs.h
<<\_ACEOF
41182 #define HAVE_SCHED_YIELD 1
41184 POSIX4_LINK
=" -lposix4"
41186 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
41187 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
41198 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
41199 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
41200 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
41201 echo $ECHO_N "(cached) $ECHO_C" >&6
41203 cat >conftest.
$ac_ext <<_ACEOF
41206 cat confdefs.h
>>conftest.
$ac_ext
41207 cat >>conftest.
$ac_ext <<_ACEOF
41208 /* end confdefs.h. */
41209 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
41210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41211 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
41213 /* System header to define __stub macros and hopefully few prototypes,
41214 which can conflict with char pthread_attr_getschedpolicy (); below.
41215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41216 <limits.h> exists even on freestanding compilers. */
41219 # include <limits.h>
41221 # include <assert.h>
41224 #undef pthread_attr_getschedpolicy
41226 /* Override any GCC internal prototype to avoid an error.
41227 Use char because int might match the return type of a GCC
41228 builtin and then its argument prototype would still apply. */
41232 char pthread_attr_getschedpolicy ();
41233 /* The GNU C library defines this for functions which it implements
41234 to always fail with ENOSYS. Some functions are actually named
41235 something starting with __ and the normal name is an alias. */
41236 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
41243 return pthread_attr_getschedpolicy ();
41248 rm -f conftest.
$ac_objext conftest
$ac_exeext
41249 if { (ac_try
="$ac_link"
41250 case "(($ac_try" in
41251 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41252 *) ac_try_echo=$ac_try;;
41254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41255 (eval "$ac_link") 2>conftest.er1
41257 grep -v '^ *+' conftest.er1 >conftest.err
41259 cat conftest.err >&5
41260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41261 (exit $ac_status); } && {
41262 test -z "$ac_c_werror_flag" ||
41263 test ! -s conftest.err
41264 } && test -s conftest$ac_exeext &&
41265 $as_test_x conftest$ac_exeext; then
41266 ac_cv_func_pthread_attr_getschedpolicy=yes
41268 echo "$as_me: failed program was:" >&5
41269 sed 's/^/| /' conftest.$ac_ext >&5
41271 ac_cv_func_pthread_attr_getschedpolicy=no
41274 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41275 conftest$ac_exeext conftest.$ac_ext
41277 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
41278 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
41279 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
41280 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
41281 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
41282 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
41283 echo $ECHO_N "(cached) $ECHO_C" >&6
41285 cat >conftest.$ac_ext <<_ACEOF
41288 cat confdefs.h >>conftest.$ac_ext
41289 cat >>conftest.$ac_ext <<_ACEOF
41290 /* end confdefs.h. */
41291 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
41292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41293 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
41295 /* System header to define __stub macros and hopefully few prototypes,
41296 which can conflict with char pthread_attr_setschedparam (); below.
41297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41298 <limits.h> exists even on freestanding compilers. */
41301 # include <limits.h>
41303 # include <assert.h>
41306 #undef pthread_attr_setschedparam
41308 /* Override any GCC internal prototype to avoid an error.
41309 Use char because int might match the return type of a GCC
41310 builtin and then its argument prototype would still apply. */
41314 char pthread_attr_setschedparam ();
41315 /* The GNU C library defines this for functions which it implements
41316 to always fail with ENOSYS. Some functions are actually named
41317 something starting with __ and the normal name is an alias. */
41318 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
41325 return pthread_attr_setschedparam ();
41330 rm -f conftest.$ac_objext conftest$ac_exeext
41331 if { (ac_try="$ac_link"
41332 case "(($ac_try" in
41333 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41334 *) ac_try_echo
=$ac_try;;
41336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41337 (eval "$ac_link") 2>conftest.er1
41339 grep -v '^ *+' conftest.er1
>conftest.err
41341 cat conftest.err
>&5
41342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41343 (exit $ac_status); } && {
41344 test -z "$ac_c_werror_flag" ||
41345 test ! -s conftest.err
41346 } && test -s conftest
$ac_exeext &&
41347 $as_test_x conftest
$ac_exeext; then
41348 ac_cv_func_pthread_attr_setschedparam
=yes
41350 echo "$as_me: failed program was:" >&5
41351 sed 's/^/| /' conftest.
$ac_ext >&5
41353 ac_cv_func_pthread_attr_setschedparam
=no
41356 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41357 conftest
$ac_exeext conftest.
$ac_ext
41359 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
41360 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
41361 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
41362 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
41363 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
41364 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
41365 echo $ECHO_N "(cached) $ECHO_C" >&6
41367 cat >conftest.
$ac_ext <<_ACEOF
41370 cat confdefs.h
>>conftest.
$ac_ext
41371 cat >>conftest.
$ac_ext <<_ACEOF
41372 /* end confdefs.h. */
41373 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
41374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41375 #define sched_get_priority_max innocuous_sched_get_priority_max
41377 /* System header to define __stub macros and hopefully few prototypes,
41378 which can conflict with char sched_get_priority_max (); below.
41379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41380 <limits.h> exists even on freestanding compilers. */
41383 # include <limits.h>
41385 # include <assert.h>
41388 #undef sched_get_priority_max
41390 /* Override any GCC internal prototype to avoid an error.
41391 Use char because int might match the return type of a GCC
41392 builtin and then its argument prototype would still apply. */
41396 char sched_get_priority_max ();
41397 /* The GNU C library defines this for functions which it implements
41398 to always fail with ENOSYS. Some functions are actually named
41399 something starting with __ and the normal name is an alias. */
41400 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
41407 return sched_get_priority_max ();
41412 rm -f conftest.
$ac_objext conftest
$ac_exeext
41413 if { (ac_try
="$ac_link"
41414 case "(($ac_try" in
41415 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41416 *) ac_try_echo=$ac_try;;
41418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41419 (eval "$ac_link") 2>conftest.er1
41421 grep -v '^ *+' conftest.er1 >conftest.err
41423 cat conftest.err >&5
41424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41425 (exit $ac_status); } && {
41426 test -z "$ac_c_werror_flag" ||
41427 test ! -s conftest.err
41428 } && test -s conftest$ac_exeext &&
41429 $as_test_x conftest$ac_exeext; then
41430 ac_cv_func_sched_get_priority_max=yes
41432 echo "$as_me: failed program was:" >&5
41433 sed 's/^/| /' conftest.$ac_ext >&5
41435 ac_cv_func_sched_get_priority_max=no
41438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41439 conftest$ac_exeext conftest.$ac_ext
41441 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
41442 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
41443 if test $ac_cv_func_sched_get_priority_max = yes; then
41446 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
41447 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
41448 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
41449 echo $ECHO_N "(cached) $ECHO_C" >&6
41451 ac_check_lib_save_LIBS=$LIBS
41452 LIBS="-lposix4 $LIBS"
41453 cat >conftest.$ac_ext <<_ACEOF
41456 cat confdefs.h >>conftest.$ac_ext
41457 cat >>conftest.$ac_ext <<_ACEOF
41458 /* end confdefs.h. */
41460 /* Override any GCC internal prototype to avoid an error.
41461 Use char because int might match the return type of a GCC
41462 builtin and then its argument prototype would still apply. */
41466 char sched_get_priority_max ();
41470 return sched_get_priority_max ();
41475 rm -f conftest.$ac_objext conftest$ac_exeext
41476 if { (ac_try="$ac_link"
41477 case "(($ac_try" in
41478 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41479 *) ac_try_echo
=$ac_try;;
41481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41482 (eval "$ac_link") 2>conftest.er1
41484 grep -v '^ *+' conftest.er1
>conftest.err
41486 cat conftest.err
>&5
41487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41488 (exit $ac_status); } && {
41489 test -z "$ac_c_werror_flag" ||
41490 test ! -s conftest.err
41491 } && test -s conftest
$ac_exeext &&
41492 $as_test_x conftest
$ac_exeext; then
41493 ac_cv_lib_posix4_sched_get_priority_max
=yes
41495 echo "$as_me: failed program was:" >&5
41496 sed 's/^/| /' conftest.
$ac_ext >&5
41498 ac_cv_lib_posix4_sched_get_priority_max
=no
41501 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41502 conftest
$ac_exeext conftest.
$ac_ext
41503 LIBS
=$ac_check_lib_save_LIBS
41505 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
41506 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
41507 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
41510 POSIX4_LINK
=" -lposix4"
41524 if test "$HAVE_PRIOR_FUNCS" = 1; then
41525 cat >>confdefs.h
<<\_ACEOF
41526 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
41530 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
41531 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
41534 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
41535 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
41536 if test "${ac_cv_func_pthread_cancel+set}" = set; then
41537 echo $ECHO_N "(cached) $ECHO_C" >&6
41539 cat >conftest.
$ac_ext <<_ACEOF
41542 cat confdefs.h
>>conftest.
$ac_ext
41543 cat >>conftest.
$ac_ext <<_ACEOF
41544 /* end confdefs.h. */
41545 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
41546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41547 #define pthread_cancel innocuous_pthread_cancel
41549 /* System header to define __stub macros and hopefully few prototypes,
41550 which can conflict with char pthread_cancel (); below.
41551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41552 <limits.h> exists even on freestanding compilers. */
41555 # include <limits.h>
41557 # include <assert.h>
41560 #undef pthread_cancel
41562 /* Override any GCC internal prototype to avoid an error.
41563 Use char because int might match the return type of a GCC
41564 builtin and then its argument prototype would still apply. */
41568 char pthread_cancel ();
41569 /* The GNU C library defines this for functions which it implements
41570 to always fail with ENOSYS. Some functions are actually named
41571 something starting with __ and the normal name is an alias. */
41572 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
41579 return pthread_cancel ();
41584 rm -f conftest.
$ac_objext conftest
$ac_exeext
41585 if { (ac_try
="$ac_link"
41586 case "(($ac_try" in
41587 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41588 *) ac_try_echo=$ac_try;;
41590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41591 (eval "$ac_link") 2>conftest.er1
41593 grep -v '^ *+' conftest.er1 >conftest.err
41595 cat conftest.err >&5
41596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41597 (exit $ac_status); } && {
41598 test -z "$ac_c_werror_flag" ||
41599 test ! -s conftest.err
41600 } && test -s conftest$ac_exeext &&
41601 $as_test_x conftest$ac_exeext; then
41602 ac_cv_func_pthread_cancel=yes
41604 echo "$as_me: failed program was:" >&5
41605 sed 's/^/| /' conftest.$ac_ext >&5
41607 ac_cv_func_pthread_cancel=no
41610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41611 conftest$ac_exeext conftest.$ac_ext
41613 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
41614 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
41615 if test $ac_cv_func_pthread_cancel = yes; then
41616 cat >>confdefs.h <<\_ACEOF
41617 #define HAVE_PTHREAD_CANCEL 1
41621 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
41622 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
41626 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
41627 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
41628 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
41629 echo $ECHO_N "(cached) $ECHO_C" >&6
41631 cat >conftest.$ac_ext <<_ACEOF
41634 cat confdefs.h >>conftest.$ac_ext
41635 cat >>conftest.$ac_ext <<_ACEOF
41636 /* end confdefs.h. */
41637 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
41638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41639 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
41641 /* System header to define __stub macros and hopefully few prototypes,
41642 which can conflict with char pthread_mutex_timedlock (); below.
41643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41644 <limits.h> exists even on freestanding compilers. */
41647 # include <limits.h>
41649 # include <assert.h>
41652 #undef pthread_mutex_timedlock
41654 /* Override any GCC internal prototype to avoid an error.
41655 Use char because int might match the return type of a GCC
41656 builtin and then its argument prototype would still apply. */
41660 char pthread_mutex_timedlock ();
41661 /* The GNU C library defines this for functions which it implements
41662 to always fail with ENOSYS. Some functions are actually named
41663 something starting with __ and the normal name is an alias. */
41664 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
41671 return pthread_mutex_timedlock ();
41676 rm -f conftest.$ac_objext conftest$ac_exeext
41677 if { (ac_try="$ac_link"
41678 case "(($ac_try" in
41679 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41680 *) ac_try_echo
=$ac_try;;
41682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41683 (eval "$ac_link") 2>conftest.er1
41685 grep -v '^ *+' conftest.er1
>conftest.err
41687 cat conftest.err
>&5
41688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41689 (exit $ac_status); } && {
41690 test -z "$ac_c_werror_flag" ||
41691 test ! -s conftest.err
41692 } && test -s conftest
$ac_exeext &&
41693 $as_test_x conftest
$ac_exeext; then
41694 ac_cv_func_pthread_mutex_timedlock
=yes
41696 echo "$as_me: failed program was:" >&5
41697 sed 's/^/| /' conftest.
$ac_ext >&5
41699 ac_cv_func_pthread_mutex_timedlock
=no
41702 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
41703 conftest
$ac_exeext conftest.
$ac_ext
41705 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
41706 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
41707 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
41708 cat >>confdefs.h
<<\_ACEOF
41709 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
41713 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
41714 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
41718 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
41719 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
41720 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
41721 echo $ECHO_N "(cached) $ECHO_C" >&6
41723 cat >conftest.
$ac_ext <<_ACEOF
41726 cat confdefs.h
>>conftest.
$ac_ext
41727 cat >>conftest.
$ac_ext <<_ACEOF
41728 /* end confdefs.h. */
41729 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
41730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41731 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
41733 /* System header to define __stub macros and hopefully few prototypes,
41734 which can conflict with char pthread_attr_setstacksize (); below.
41735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41736 <limits.h> exists even on freestanding compilers. */
41739 # include <limits.h>
41741 # include <assert.h>
41744 #undef pthread_attr_setstacksize
41746 /* Override any GCC internal prototype to avoid an error.
41747 Use char because int might match the return type of a GCC
41748 builtin and then its argument prototype would still apply. */
41752 char pthread_attr_setstacksize ();
41753 /* The GNU C library defines this for functions which it implements
41754 to always fail with ENOSYS. Some functions are actually named
41755 something starting with __ and the normal name is an alias. */
41756 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
41763 return pthread_attr_setstacksize ();
41768 rm -f conftest.
$ac_objext conftest
$ac_exeext
41769 if { (ac_try
="$ac_link"
41770 case "(($ac_try" in
41771 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41772 *) ac_try_echo=$ac_try;;
41774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41775 (eval "$ac_link") 2>conftest.er1
41777 grep -v '^ *+' conftest.er1 >conftest.err
41779 cat conftest.err >&5
41780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41781 (exit $ac_status); } && {
41782 test -z "$ac_c_werror_flag" ||
41783 test ! -s conftest.err
41784 } && test -s conftest$ac_exeext &&
41785 $as_test_x conftest$ac_exeext; then
41786 ac_cv_func_pthread_attr_setstacksize=yes
41788 echo "$as_me: failed program was:" >&5
41789 sed 's/^/| /' conftest.$ac_ext >&5
41791 ac_cv_func_pthread_attr_setstacksize=no
41794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41795 conftest$ac_exeext conftest.$ac_ext
41797 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
41798 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
41799 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
41800 cat >>confdefs.h <<\_ACEOF
41801 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
41808 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
41809 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
41810 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
41811 echo $ECHO_N "(cached) $ECHO_C" >&6
41814 cat >conftest.$ac_ext <<_ACEOF
41817 cat confdefs.h >>conftest.$ac_ext
41818 cat >>conftest.$ac_ext <<_ACEOF
41819 /* end confdefs.h. */
41820 #include <pthread.h>
41825 pthread_mutexattr_t attr;
41826 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41832 rm -f conftest.$ac_objext
41833 if { (ac_try="$ac_compile"
41834 case "(($ac_try" in
41835 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41836 *) ac_try_echo
=$ac_try;;
41838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41839 (eval "$ac_compile") 2>conftest.er1
41841 grep -v '^ *+' conftest.er1
>conftest.err
41843 cat conftest.err
>&5
41844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41845 (exit $ac_status); } && {
41846 test -z "$ac_c_werror_flag" ||
41847 test ! -s conftest.err
41848 } && test -s conftest.
$ac_objext; then
41849 wx_cv_type_pthread_mutexattr_t
=yes
41851 echo "$as_me: failed program was:" >&5
41852 sed 's/^/| /' conftest.
$ac_ext >&5
41854 wx_cv_type_pthread_mutexattr_t
=no
41858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41861 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
41862 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
41864 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
41865 cat >>confdefs.h
<<\_ACEOF
41866 #define HAVE_PTHREAD_MUTEXATTR_T 1
41870 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
41871 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
41872 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
41873 echo $ECHO_N "(cached) $ECHO_C" >&6
41876 cat >conftest.
$ac_ext <<_ACEOF
41879 cat confdefs.h
>>conftest.
$ac_ext
41880 cat >>conftest.
$ac_ext <<_ACEOF
41881 /* end confdefs.h. */
41882 #include <pthread.h>
41887 pthread_mutexattr_t attr;
41888 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
41894 rm -f conftest.
$ac_objext
41895 if { (ac_try
="$ac_compile"
41896 case "(($ac_try" in
41897 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
41898 *) ac_try_echo=$ac_try;;
41900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41901 (eval "$ac_compile") 2>conftest.er1
41903 grep -v '^ *+' conftest.er1 >conftest.err
41905 cat conftest.err >&5
41906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41907 (exit $ac_status); } && {
41908 test -z "$ac_c_werror_flag" ||
41909 test ! -s conftest.err
41910 } && test -s conftest.$ac_objext; then
41911 wx_cv_func_pthread_mutexattr_settype_decl=yes
41913 echo "$as_me: failed program was:" >&5
41914 sed 's/^/| /' conftest.$ac_ext >&5
41916 wx_cv_func_pthread_mutexattr_settype_decl=no
41920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41923 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
41924 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
41925 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
41926 cat >>confdefs.h <<\_ACEOF
41927 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
41932 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
41933 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
41934 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
41935 echo $ECHO_N "(cached) $ECHO_C" >&6
41938 cat >conftest.$ac_ext <<_ACEOF
41941 cat confdefs.h >>conftest.$ac_ext
41942 cat >>conftest.$ac_ext <<_ACEOF
41943 /* end confdefs.h. */
41944 #include <pthread.h>
41949 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
41955 rm -f conftest.$ac_objext
41956 if { (ac_try="$ac_compile"
41957 case "(($ac_try" in
41958 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
41959 *) ac_try_echo
=$ac_try;;
41961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41962 (eval "$ac_compile") 2>conftest.er1
41964 grep -v '^ *+' conftest.er1
>conftest.err
41966 cat conftest.err
>&5
41967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41968 (exit $ac_status); } && {
41969 test -z "$ac_c_werror_flag" ||
41970 test ! -s conftest.err
41971 } && test -s conftest.
$ac_objext; then
41973 wx_cv_type_pthread_rec_mutex_init
=yes
41976 echo "$as_me: failed program was:" >&5
41977 sed 's/^/| /' conftest.
$ac_ext >&5
41980 wx_cv_type_pthread_rec_mutex_init
=no
41985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41988 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
41989 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
41990 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
41991 cat >>confdefs.h
<<\_ACEOF
41992 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41996 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41997 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
42001 if test "$wxUSE_COMPILER_TLS" = "auto"; then
42002 if test "$USE_NETBSD" = 1; then
42003 { echo "$as_me:$LINENO: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
42004 echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
42005 wxUSE_COMPILER_TLS
=no
42007 wxUSE_COMPILER_TLS
=yes
42011 if test "$wxUSE_COMPILER_TLS" = "yes"; then
42012 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
42013 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
42014 if test "${wx_cv_cc___thread+set}" = set; then
42015 echo $ECHO_N "(cached) $ECHO_C" >&6
42018 cat >conftest.
$ac_ext <<_ACEOF
42021 cat confdefs.h
>>conftest.
$ac_ext
42022 cat >>conftest.
$ac_ext <<_ACEOF
42023 /* end confdefs.h. */
42024 #include <pthread.h>
42029 static __thread int n = 0;
42030 static __thread int *p = 0;
42036 rm -f conftest.
$ac_objext
42037 if { (ac_try
="$ac_compile"
42038 case "(($ac_try" in
42039 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42040 *) ac_try_echo=$ac_try;;
42042 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42043 (eval "$ac_compile") 2>conftest.er1
42045 grep -v '^ *+' conftest.er1 >conftest.err
42047 cat conftest.err >&5
42048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42049 (exit $ac_status); } && {
42050 test -z "$ac_c_werror_flag" ||
42051 test ! -s conftest.err
42052 } && test -s conftest.$ac_objext; then
42053 wx_cv_cc___thread=yes
42055 echo "$as_me: failed program was:" >&5
42056 sed 's/^/| /' conftest.$ac_ext >&5
42058 wx_cv_cc___thread=no
42062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42066 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
42067 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
42069 if test "$wx_cv_cc___thread" = "yes"; then
42075 { echo "$as_me:$LINENO: checking if gcc accepts -dumpversion option" >&5
42076 echo $ECHO_N "checking if gcc accepts -dumpversion option... $ECHO_C" >&6; }
42078 if test "x$GCC" = "xyes" ; then
42080 if test -z "" ; then
42082 ax_gcc_option_test="int main()
42089 ax_gcc_option_test=""
42094 # Dump the test program to file
42095 cat <<EOF > conftest.c
42096 $ax_gcc_option_test
42099 # Dump back the file to the log, useful for debugging purposes
42100 { ac_try='cat conftest.c 1>&5'
42101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42102 (eval $ac_try) 2>&5
42104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42105 (exit $ac_status); }; }
42107 if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
42108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42109 (eval $ac_try) 2>&5
42111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42112 (exit $ac_status); }; } ; then
42114 { echo "$as_me:$LINENO: result: yes" >&5
42115 echo "${ECHO_T}yes" >&6; }
42117 ax_gcc_version_option=yes
42122 { echo "$as_me:$LINENO: result: no" >&5
42123 echo "${ECHO_T}no" >&6; }
42125 ax_gcc_version_option=no
42133 { echo "$as_me:$LINENO: result: no gcc available" >&5
42134 echo "${ECHO_T}no gcc available" >&6; }
42139 if test "x$GXX" = "xyes"; then
42141 if test "x$ax_gxx_version_option" != "no"; then
42143 { echo "$as_me:$LINENO: checking gxx version" >&5
42144 echo $ECHO_N "checking gxx version... $ECHO_C" >&6; }
42145 if test "${ax_cv_gxx_version+set}" = set; then
42146 echo $ECHO_N "(cached) $ECHO_C" >&6
42149 ax_cv_gxx_version="`$CXX -dumpversion`"
42150 if test "x$ax_cv_gxx_version" = "x"; then
42152 ax_cv_gxx_version=""
42158 { echo "$as_me:$LINENO: result: $ax_cv_gxx_version" >&5
42159 echo "${ECHO_T}$ax_cv_gxx_version" >&6; }
42160 GXX_VERSION=$ax_cv_gxx_version
42169 if test -n "$ax_cv_gxx_version"; then
42170 { echo "$as_me:$LINENO: checking whether __thread support in g++ is usable" >&5
42171 echo $ECHO_N "checking whether __thread support in g++ is usable... $ECHO_C" >&6; }
42172 case "$ax_cv_gxx_version" in
42174 { echo "$as_me:$LINENO: result: no, it's broken" >&5
42175 echo "${ECHO_T}no, it's broken" >&6; }
42176 wx_cv_cc___thread=no
42179 { echo "$as_me:$LINENO: result: yes, it works" >&5
42180 echo "${ECHO_T}yes, it works" >&6; }
42186 if test "$wx_cv_cc___thread" = "yes"; then
42187 cat >>confdefs.h <<\_ACEOF
42188 #define HAVE___THREAD_KEYWORD 1
42196 if test "$wxUSE_THREADS" = "yes" ; then
42198 x86_64-*-mingw32* )
42201 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
42202 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
42203 if test "${wx_cv_cflags_mthread+set}" = set; then
42204 echo $ECHO_N "(cached) $ECHO_C" >&6
42207 CFLAGS_OLD="$CFLAGS"
42208 CFLAGS="-mthreads $CFLAGS"
42209 cat >conftest.$ac_ext <<_ACEOF
42212 cat confdefs.h >>conftest.$ac_ext
42213 cat >>conftest.$ac_ext <<_ACEOF
42214 /* end confdefs.h. */
42224 rm -f conftest.$ac_objext
42225 if { (ac_try="$ac_compile"
42226 case "(($ac_try" in
42227 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42228 *) ac_try_echo
=$ac_try;;
42230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42231 (eval "$ac_compile") 2>conftest.er1
42233 grep -v '^ *+' conftest.er1
>conftest.err
42235 cat conftest.err
>&5
42236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42237 (exit $ac_status); } && {
42238 test -z "$ac_c_werror_flag" ||
42239 test ! -s conftest.err
42240 } && test -s conftest.
$ac_objext; then
42241 wx_cv_cflags_mthread
=yes
42243 echo "$as_me: failed program was:" >&5
42244 sed 's/^/| /' conftest.
$ac_ext >&5
42246 wx_cv_cflags_mthread
=no
42250 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42254 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
42255 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
42257 if test "$wx_cv_cflags_mthread" = "yes"; then
42258 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -mthreads"
42259 LDFLAGS
="$LDFLAGS -mthreads"
42261 CFLAGS
="$CFLAGS_OLD"
42265 WXCONFIG_CFLAGS
="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
42266 LDFLAGS
="$LDFLAGS -Zmt"
42272 { echo "$as_me:$LINENO: checking for localtime_r" >&5
42273 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
42274 if test "${ac_cv_func_localtime_r+set}" = set; then
42275 echo $ECHO_N "(cached) $ECHO_C" >&6
42277 cat >conftest.
$ac_ext <<_ACEOF
42280 cat confdefs.h
>>conftest.
$ac_ext
42281 cat >>conftest.
$ac_ext <<_ACEOF
42282 /* end confdefs.h. */
42283 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
42284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42285 #define localtime_r innocuous_localtime_r
42287 /* System header to define __stub macros and hopefully few prototypes,
42288 which can conflict with char localtime_r (); below.
42289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42290 <limits.h> exists even on freestanding compilers. */
42293 # include <limits.h>
42295 # include <assert.h>
42300 /* Override any GCC internal prototype to avoid an error.
42301 Use char because int might match the return type of a GCC
42302 builtin and then its argument prototype would still apply. */
42306 char localtime_r ();
42307 /* The GNU C library defines this for functions which it implements
42308 to always fail with ENOSYS. Some functions are actually named
42309 something starting with __ and the normal name is an alias. */
42310 #if defined __stub_localtime_r || defined __stub___localtime_r
42317 return localtime_r ();
42322 rm -f conftest.
$ac_objext conftest
$ac_exeext
42323 if { (ac_try
="$ac_link"
42324 case "(($ac_try" in
42325 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42326 *) ac_try_echo=$ac_try;;
42328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42329 (eval "$ac_link") 2>conftest.er1
42331 grep -v '^ *+' conftest.er1 >conftest.err
42333 cat conftest.err >&5
42334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42335 (exit $ac_status); } && {
42336 test -z "$ac_c_werror_flag" ||
42337 test ! -s conftest.err
42338 } && test -s conftest$ac_exeext &&
42339 $as_test_x conftest$ac_exeext; then
42340 ac_cv_func_localtime_r=yes
42342 echo "$as_me: failed program was:" >&5
42343 sed 's/^/| /' conftest.$ac_ext >&5
42345 ac_cv_func_localtime_r=no
42348 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42349 conftest$ac_exeext conftest.$ac_ext
42351 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
42352 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
42353 if test $ac_cv_func_localtime_r = yes; then
42354 cat >>confdefs.h <<\_ACEOF
42355 #define HAVE_LOCALTIME_R 1
42360 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
42361 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
42362 if test "${ac_cv_func_gmtime_r+set}" = set; then
42363 echo $ECHO_N "(cached) $ECHO_C" >&6
42365 cat >conftest.$ac_ext <<_ACEOF
42368 cat confdefs.h >>conftest.$ac_ext
42369 cat >>conftest.$ac_ext <<_ACEOF
42370 /* end confdefs.h. */
42371 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
42372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42373 #define gmtime_r innocuous_gmtime_r
42375 /* System header to define __stub macros and hopefully few prototypes,
42376 which can conflict with char gmtime_r (); below.
42377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42378 <limits.h> exists even on freestanding compilers. */
42381 # include <limits.h>
42383 # include <assert.h>
42388 /* Override any GCC internal prototype to avoid an error.
42389 Use char because int might match the return type of a GCC
42390 builtin and then its argument prototype would still apply. */
42395 /* The GNU C library defines this for functions which it implements
42396 to always fail with ENOSYS. Some functions are actually named
42397 something starting with __ and the normal name is an alias. */
42398 #if defined __stub_gmtime_r || defined __stub___gmtime_r
42405 return gmtime_r ();
42410 rm -f conftest.$ac_objext conftest$ac_exeext
42411 if { (ac_try="$ac_link"
42412 case "(($ac_try" in
42413 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42414 *) ac_try_echo
=$ac_try;;
42416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42417 (eval "$ac_link") 2>conftest.er1
42419 grep -v '^ *+' conftest.er1
>conftest.err
42421 cat conftest.err
>&5
42422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42423 (exit $ac_status); } && {
42424 test -z "$ac_c_werror_flag" ||
42425 test ! -s conftest.err
42426 } && test -s conftest
$ac_exeext &&
42427 $as_test_x conftest
$ac_exeext; then
42428 ac_cv_func_gmtime_r
=yes
42430 echo "$as_me: failed program was:" >&5
42431 sed 's/^/| /' conftest.
$ac_ext >&5
42433 ac_cv_func_gmtime_r
=no
42436 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
42437 conftest
$ac_exeext conftest.
$ac_ext
42439 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
42440 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
42441 if test $ac_cv_func_gmtime_r = yes; then
42442 cat >>confdefs.h
<<\_ACEOF
42443 #define HAVE_GMTIME_R 1
42452 ac_cpp
='$CPP $CPPFLAGS'
42453 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42454 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42455 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42457 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
42458 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
42460 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
42461 echo $ECHO_N "(cached) $ECHO_C" >&6
42465 ################################################################
42467 ac_cv_func_which_gethostbyname_r
=unknown
42470 # ONE ARGUMENT (sanity check)
42473 # This should fail, as there is no variant of gethostbyname_r() that takes
42474 # a single argument. If it actually compiles, then we can assume that
42475 # netdb.h is not declaring the function, and the compiler is thereby
42476 # assuming an implicit prototype. In which case, we're out of luck.
42478 cat >conftest.
$ac_ext <<_ACEOF
42481 cat confdefs.h
>>conftest.
$ac_ext
42482 cat >>conftest.
$ac_ext <<_ACEOF
42483 /* end confdefs.h. */
42489 char *name = "www.gnu.org";
42490 (void)gethostbyname_r(name) /* ; */
42496 rm -f conftest.
$ac_objext
42497 if { (ac_try
="$ac_compile"
42498 case "(($ac_try" in
42499 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42500 *) ac_try_echo=$ac_try;;
42502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42503 (eval "$ac_compile") 2>conftest.er1
42505 grep -v '^ *+' conftest.er1 >conftest.err
42507 cat conftest.err >&5
42508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42509 (exit $ac_status); } && {
42510 test -z "$ac_c_werror_flag" ||
42511 test ! -s conftest.err
42512 } && test -s conftest.$ac_objext; then
42513 ac_cv_func_which_gethostbyname_r=no
42515 echo "$as_me: failed program was:" >&5
42516 sed 's/^/| /' conftest.$ac_ext >&5
42521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42528 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42530 cat >conftest.$ac_ext <<_ACEOF
42533 cat confdefs.h >>conftest.$ac_ext
42534 cat >>conftest.$ac_ext <<_ACEOF
42535 /* end confdefs.h. */
42541 char *name = "www.gnu.org";
42542 struct hostent ret, *retp;
42546 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
42552 rm -f conftest.$ac_objext
42553 if { (ac_try="$ac_compile"
42554 case "(($ac_try" in
42555 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42556 *) ac_try_echo
=$ac_try;;
42558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42559 (eval "$ac_compile") 2>conftest.er1
42561 grep -v '^ *+' conftest.er1
>conftest.err
42563 cat conftest.err
>&5
42564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42565 (exit $ac_status); } && {
42566 test -z "$ac_c_werror_flag" ||
42567 test ! -s conftest.err
42568 } && test -s conftest.
$ac_objext; then
42569 ac_cv_func_which_gethostbyname_r
=six
42571 echo "$as_me: failed program was:" >&5
42572 sed 's/^/| /' conftest.
$ac_ext >&5
42577 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42586 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42588 cat >conftest.
$ac_ext <<_ACEOF
42591 cat confdefs.h
>>conftest.
$ac_ext
42592 cat >>conftest.
$ac_ext <<_ACEOF
42593 /* end confdefs.h. */
42599 char *name = "www.gnu.org";
42600 struct hostent ret;
42604 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
42610 rm -f conftest.
$ac_objext
42611 if { (ac_try
="$ac_compile"
42612 case "(($ac_try" in
42613 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42614 *) ac_try_echo=$ac_try;;
42616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42617 (eval "$ac_compile") 2>conftest.er1
42619 grep -v '^ *+' conftest.er1 >conftest.err
42621 cat conftest.err >&5
42622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42623 (exit $ac_status); } && {
42624 test -z "$ac_c_werror_flag" ||
42625 test ! -s conftest.err
42626 } && test -s conftest.$ac_objext; then
42627 ac_cv_func_which_gethostbyname_r=five
42629 echo "$as_me: failed program was:" >&5
42630 sed 's/^/| /' conftest.$ac_ext >&5
42635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42641 # (e.g. AIX, HP-UX, Tru64)
42644 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
42646 cat >conftest.$ac_ext <<_ACEOF
42649 cat confdefs.h >>conftest.$ac_ext
42650 cat >>conftest.$ac_ext <<_ACEOF
42651 /* end confdefs.h. */
42657 char *name = "www.gnu.org";
42658 struct hostent ret;
42659 struct hostent_data data;
42660 (void)gethostbyname_r(name, &ret, &data) /* ; */
42666 rm -f conftest.$ac_objext
42667 if { (ac_try="$ac_compile"
42668 case "(($ac_try" in
42669 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42670 *) ac_try_echo
=$ac_try;;
42672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42673 (eval "$ac_compile") 2>conftest.er1
42675 grep -v '^ *+' conftest.er1
>conftest.err
42677 cat conftest.err
>&5
42678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42679 (exit $ac_status); } && {
42680 test -z "$ac_c_werror_flag" ||
42681 test ! -s conftest.err
42682 } && test -s conftest.
$ac_objext; then
42683 ac_cv_func_which_gethostbyname_r
=three
42685 echo "$as_me: failed program was:" >&5
42686 sed 's/^/| /' conftest.
$ac_ext >&5
42691 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42695 ################################################################
42700 case "$ac_cv_func_which_gethostbyname_r" in
42702 { echo "$as_me:$LINENO: result: three" >&5
42703 echo "${ECHO_T}three" >&6; }
42704 cat >>confdefs.h
<<\_ACEOF
42705 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
42711 { echo "$as_me:$LINENO: result: five" >&5
42712 echo "${ECHO_T}five" >&6; }
42713 cat >>confdefs.h
<<\_ACEOF
42714 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
42720 { echo "$as_me:$LINENO: result: six" >&5
42721 echo "${ECHO_T}six" >&6; }
42722 cat >>confdefs.h
<<\_ACEOF
42723 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
42729 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
42730 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
42734 { echo "$as_me:$LINENO: result: can't tell" >&5
42735 echo "${ECHO_T}can't tell" >&6; }
42739 { { echo "$as_me:$LINENO: error: internal error" >&5
42740 echo "$as_me: error: internal error" >&2;}
42741 { (exit 1); exit 1; }; }
42746 ac_cpp
='$CPP $CPPFLAGS'
42747 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42748 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42749 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42753 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
42754 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
42755 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
42756 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
42757 if test "${ac_cv_func_gethostbyname+set}" = set; then
42758 echo $ECHO_N "(cached) $ECHO_C" >&6
42760 cat >conftest.
$ac_ext <<_ACEOF
42763 cat confdefs.h
>>conftest.
$ac_ext
42764 cat >>conftest.
$ac_ext <<_ACEOF
42765 /* end confdefs.h. */
42766 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
42767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42768 #define gethostbyname innocuous_gethostbyname
42770 /* System header to define __stub macros and hopefully few prototypes,
42771 which can conflict with char gethostbyname (); below.
42772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42773 <limits.h> exists even on freestanding compilers. */
42776 # include <limits.h>
42778 # include <assert.h>
42781 #undef gethostbyname
42783 /* Override any GCC internal prototype to avoid an error.
42784 Use char because int might match the return type of a GCC
42785 builtin and then its argument prototype would still apply. */
42789 char gethostbyname ();
42790 /* The GNU C library defines this for functions which it implements
42791 to always fail with ENOSYS. Some functions are actually named
42792 something starting with __ and the normal name is an alias. */
42793 #if defined __stub_gethostbyname || defined __stub___gethostbyname
42800 return gethostbyname ();
42805 rm -f conftest.
$ac_objext conftest
$ac_exeext
42806 if { (ac_try
="$ac_link"
42807 case "(($ac_try" in
42808 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42809 *) ac_try_echo=$ac_try;;
42811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42812 (eval "$ac_link") 2>conftest.er1
42814 grep -v '^ *+' conftest.er1 >conftest.err
42816 cat conftest.err >&5
42817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42818 (exit $ac_status); } && {
42819 test -z "$ac_c_werror_flag" ||
42820 test ! -s conftest.err
42821 } && test -s conftest$ac_exeext &&
42822 $as_test_x conftest$ac_exeext; then
42823 ac_cv_func_gethostbyname=yes
42825 echo "$as_me: failed program was:" >&5
42826 sed 's/^/| /' conftest.$ac_ext >&5
42828 ac_cv_func_gethostbyname=no
42831 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42832 conftest$ac_exeext conftest.$ac_ext
42834 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
42835 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
42836 if test $ac_cv_func_gethostbyname = yes; then
42837 cat >>confdefs.h <<\_ACEOF
42838 #define HAVE_GETHOSTBYNAME 1
42845 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
42846 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
42847 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
42848 echo $ECHO_N "(cached) $ECHO_C" >&6
42852 ac_cpp='$CXXCPP $CPPFLAGS'
42853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42858 cat >conftest.$ac_ext <<_ACEOF
42861 cat confdefs.h >>conftest.$ac_ext
42862 cat >>conftest.$ac_ext <<_ACEOF
42863 /* end confdefs.h. */
42871 struct servent *se, *res;
42874 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
42880 rm -f conftest.$ac_objext
42881 if { (ac_try="$ac_compile"
42882 case "(($ac_try" in
42883 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42884 *) ac_try_echo
=$ac_try;;
42886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42887 (eval "$ac_compile") 2>conftest.er1
42889 grep -v '^ *+' conftest.er1
>conftest.err
42891 cat conftest.err
>&5
42892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42893 (exit $ac_status); } && {
42894 test -z "$ac_cxx_werror_flag" ||
42895 test ! -s conftest.err
42896 } && test -s conftest.
$ac_objext; then
42897 ac_cv_func_which_getservbyname_r
=six
42899 echo "$as_me: failed program was:" >&5
42900 sed 's/^/| /' conftest.
$ac_ext >&5
42903 cat >conftest.
$ac_ext <<_ACEOF
42906 cat confdefs.h
>>conftest.
$ac_ext
42907 cat >>conftest.
$ac_ext <<_ACEOF
42908 /* end confdefs.h. */
42916 struct servent *se;
42919 (void) getservbyname_r(name, proto, se, buffer, buflen)
42925 rm -f conftest.
$ac_objext
42926 if { (ac_try
="$ac_compile"
42927 case "(($ac_try" in
42928 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
42929 *) ac_try_echo=$ac_try;;
42931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42932 (eval "$ac_compile") 2>conftest.er1
42934 grep -v '^ *+' conftest.er1 >conftest.err
42936 cat conftest.err >&5
42937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42938 (exit $ac_status); } && {
42939 test -z "$ac_cxx_werror_flag" ||
42940 test ! -s conftest.err
42941 } && test -s conftest.$ac_objext; then
42942 ac_cv_func_which_getservbyname_r=five
42944 echo "$as_me: failed program was:" >&5
42945 sed 's/^/| /' conftest.$ac_ext >&5
42948 cat >conftest.$ac_ext <<_ACEOF
42951 cat confdefs.h >>conftest.$ac_ext
42952 cat >>conftest.$ac_ext <<_ACEOF
42953 /* end confdefs.h. */
42961 struct servent *se;
42962 struct servent_data data;
42963 (void) getservbyname_r(name, proto, se, &data);
42969 rm -f conftest.$ac_objext
42970 if { (ac_try="$ac_compile"
42971 case "(($ac_try" in
42972 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
42973 *) ac_try_echo
=$ac_try;;
42975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42976 (eval "$ac_compile") 2>conftest.er1
42978 grep -v '^ *+' conftest.er1
>conftest.err
42980 cat conftest.err
>&5
42981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42982 (exit $ac_status); } && {
42983 test -z "$ac_cxx_werror_flag" ||
42984 test ! -s conftest.err
42985 } && test -s conftest.
$ac_objext; then
42986 ac_cv_func_which_getservbyname_r
=four
42988 echo "$as_me: failed program was:" >&5
42989 sed 's/^/| /' conftest.
$ac_ext >&5
42991 ac_cv_func_which_getservbyname_r
=no
42995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43007 ac_cpp
='$CPP $CPPFLAGS'
43008 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43009 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43010 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43015 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
43016 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
43018 if test $ac_cv_func_which_getservbyname_r = six
; then
43019 cat >>confdefs.h
<<\_ACEOF
43020 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
43023 elif test $ac_cv_func_which_getservbyname_r = five
; then
43024 cat >>confdefs.h
<<\_ACEOF
43025 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
43028 elif test $ac_cv_func_which_getservbyname_r = four
; then
43029 cat >>confdefs.h
<<\_ACEOF
43030 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
43036 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
43037 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
43039 for ac_func
in getservbyname
43041 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43042 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43044 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43045 echo $ECHO_N "(cached) $ECHO_C" >&6
43047 cat >conftest.
$ac_ext <<_ACEOF
43050 cat confdefs.h
>>conftest.
$ac_ext
43051 cat >>conftest.
$ac_ext <<_ACEOF
43052 /* end confdefs.h. */
43053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43055 #define $ac_func innocuous_$ac_func
43057 /* System header to define __stub macros and hopefully few prototypes,
43058 which can conflict with char $ac_func (); below.
43059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43060 <limits.h> exists even on freestanding compilers. */
43063 # include <limits.h>
43065 # include <assert.h>
43070 /* Override any GCC internal prototype to avoid an error.
43071 Use char because int might match the return type of a GCC
43072 builtin and then its argument prototype would still apply. */
43077 /* The GNU C library defines this for functions which it implements
43078 to always fail with ENOSYS. Some functions are actually named
43079 something starting with __ and the normal name is an alias. */
43080 #if defined __stub_$ac_func || defined __stub___$ac_func
43087 return $ac_func ();
43092 rm -f conftest.
$ac_objext conftest
$ac_exeext
43093 if { (ac_try
="$ac_link"
43094 case "(($ac_try" in
43095 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43096 *) ac_try_echo=$ac_try;;
43098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43099 (eval "$ac_link") 2>conftest.er1
43101 grep -v '^ *+' conftest.er1 >conftest.err
43103 cat conftest.err >&5
43104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105 (exit $ac_status); } && {
43106 test -z "$ac_c_werror_flag" ||
43107 test ! -s conftest.err
43108 } && test -s conftest$ac_exeext &&
43109 $as_test_x conftest$ac_exeext; then
43110 eval "$as_ac_var=yes"
43112 echo "$as_me: failed program was:" >&5
43113 sed 's/^/| /' conftest.$ac_ext >&5
43115 eval "$as_ac_var=no"
43118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43119 conftest$ac_exeext conftest.$ac_ext
43121 ac_res=`eval echo '${'$as_ac_var'}'`
43122 { echo "$as_me:$LINENO: result: $ac_res" >&5
43123 echo "${ECHO_T}$ac_res" >&6; }
43124 if test `eval echo '${'$as_ac_var'}'` = yes; then
43125 cat >>confdefs.h <<_ACEOF
43126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43128 cat >>confdefs.h <<\_ACEOF
43129 #define HAVE_GETSERVBYNAME 1
43137 if test "$wxUSE_THREADS" = "yes"; then
43138 cat >>confdefs.h <<\_ACEOF
43139 #define wxUSE_THREADS 1
43143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
43145 if test "$wx_cv_func_strtok_r" = "yes"; then
43146 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
43147 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
43148 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
43149 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
43150 { echo "$as_me:$LINENO: result: yes" >&5
43151 echo "${ECHO_T}yes" >&6; }
43153 { echo "$as_me:$LINENO: result: no" >&5
43154 echo "${ECHO_T}no" >&6; }
43159 if test "$WXGTK2" = 1 ; then
43160 cat >>confdefs.h <<_ACEOF
43161 #define __WXGTK20__ $WXGTK2
43166 if test "$WXGTK127" = 1 ; then
43167 cat >>confdefs.h <<_ACEOF
43168 #define __WXGTK127__ $WXGTK127
43173 if test "$WXGPE" = 1 ; then
43174 cat >>confdefs.h <<_ACEOF
43175 #define __WXGPE__ $WXGPE
43181 if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev
/null
`; then
43182 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
43183 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
43184 elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
43188 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
43189 wxUSE_DEBUG_INFO=yes
43190 if test "$GCC" = yes; then
43191 DEBUG_CFLAGS="-ggdb"
43195 if test "$wxUSE_DEBUG_FLAG" = "no" ; then
43196 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
43198 if test "$wxUSE_GTK" = 1 ; then
43199 if test "x$wxGTK_VERSION" = "x1" ; then
43200 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
43202 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
43207 if test "$wxUSE_MEM_TRACING" = "yes" ; then
43208 cat >>confdefs.h <<\_ACEOF
43209 #define wxUSE_MEMORY_TRACING 1
43212 cat >>confdefs.h <<\_ACEOF
43213 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
43216 cat >>confdefs.h <<\_ACEOF
43217 #define wxUSE_DEBUG_NEW_ALWAYS 1
43220 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
43223 if test "$wxUSE_DMALLOC" = "yes" ; then
43224 DMALLOC_LIBS="-ldmallocthcxx"
43228 if test "$wxUSE_PROFILE" = "yes" ; then
43229 PROFILE_FLAGS=" -pg"
43232 if test "$GCC" = "yes" ; then
43233 if test "$wxUSE_NO_RTTI" = "yes" ; then
43234 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
43236 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
43237 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
43239 if test "$wxUSE_PERMISSIVE" = "yes" ; then
43240 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
43245 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
43248 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
43254 if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev
/null
`; then
43255 { echo "$as_me:$LINENO: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
43256 echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
43258 if test "$wxUSE_OPTIMISE" = "no" ; then
43259 if test "$GCC" = yes ; then
43260 OPTIMISE_CFLAGS="-O0"
43263 if test "$GCC" = yes ; then
43265 *-pc-os2_emx | *-pc-os2-emx )
43266 OPTIMISE_CFLAGS="-O2"
43269 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
43273 OPTIMISE_CFLAGS="-O"
43279 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
43280 cat >>confdefs.h <<\_ACEOF
43281 #define WXWIN_COMPATIBILITY_2_6 1
43285 WXWIN_COMPATIBILITY_2_8="yes"
43288 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
43289 cat >>confdefs.h <<\_ACEOF
43290 #define WXWIN_COMPATIBILITY_2_8 1
43296 if test "$wxUSE_GUI" = "yes"; then
43297 cat >>confdefs.h <<\_ACEOF
43298 #define wxUSE_GUI 1
43305 if test "$wxUSE_UNIX" = "yes"; then
43306 cat >>confdefs.h <<\_ACEOF
43307 #define wxUSE_UNIX 1
43313 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
43317 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43318 if test "$USE_DOS" = 1; then
43322 for ac_func in dlopen
43324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43325 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43327 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43328 echo $ECHO_N "(cached) $ECHO_C" >&6
43330 cat >conftest.$ac_ext <<_ACEOF
43333 cat confdefs.h >>conftest.$ac_ext
43334 cat >>conftest.$ac_ext <<_ACEOF
43335 /* end confdefs.h. */
43336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43338 #define $ac_func innocuous_$ac_func
43340 /* System header to define __stub macros and hopefully few prototypes,
43341 which can conflict with char $ac_func (); below.
43342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43343 <limits.h> exists even on freestanding compilers. */
43346 # include <limits.h>
43348 # include <assert.h>
43353 /* Override any GCC internal prototype to avoid an error.
43354 Use char because int might match the return type of a GCC
43355 builtin and then its argument prototype would still apply. */
43360 /* The GNU C library defines this for functions which it implements
43361 to always fail with ENOSYS. Some functions are actually named
43362 something starting with __ and the normal name is an alias. */
43363 #if defined __stub_$ac_func || defined __stub___$ac_func
43370 return $ac_func ();
43375 rm -f conftest.$ac_objext conftest$ac_exeext
43376 if { (ac_try="$ac_link"
43377 case "(($ac_try" in
43378 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43379 *) ac_try_echo
=$ac_try;;
43381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43382 (eval "$ac_link") 2>conftest.er1
43384 grep -v '^ *+' conftest.er1
>conftest.err
43386 cat conftest.err
>&5
43387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388 (exit $ac_status); } && {
43389 test -z "$ac_c_werror_flag" ||
43390 test ! -s conftest.err
43391 } && test -s conftest
$ac_exeext &&
43392 $as_test_x conftest
$ac_exeext; then
43393 eval "$as_ac_var=yes"
43395 echo "$as_me: failed program was:" >&5
43396 sed 's/^/| /' conftest.
$ac_ext >&5
43398 eval "$as_ac_var=no"
43401 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43402 conftest
$ac_exeext conftest.
$ac_ext
43404 ac_res
=`eval echo '${'$as_ac_var'}'`
43405 { echo "$as_me:$LINENO: result: $ac_res" >&5
43406 echo "${ECHO_T}$ac_res" >&6; }
43407 if test `eval echo '${'$as_ac_var'}'` = yes; then
43408 cat >>confdefs.h
<<_ACEOF
43409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43412 cat >>confdefs.h
<<\_ACEOF
43413 #define HAVE_DLOPEN 1
43420 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
43421 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
43422 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
43423 echo $ECHO_N "(cached) $ECHO_C" >&6
43425 ac_check_lib_save_LIBS
=$LIBS
43427 cat >conftest.
$ac_ext <<_ACEOF
43430 cat confdefs.h
>>conftest.
$ac_ext
43431 cat >>conftest.
$ac_ext <<_ACEOF
43432 /* end confdefs.h. */
43434 /* Override any GCC internal prototype to avoid an error.
43435 Use char because int might match the return type of a GCC
43436 builtin and then its argument prototype would still apply. */
43449 rm -f conftest.
$ac_objext conftest
$ac_exeext
43450 if { (ac_try
="$ac_link"
43451 case "(($ac_try" in
43452 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43453 *) ac_try_echo=$ac_try;;
43455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43456 (eval "$ac_link") 2>conftest.er1
43458 grep -v '^ *+' conftest.er1 >conftest.err
43460 cat conftest.err >&5
43461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43462 (exit $ac_status); } && {
43463 test -z "$ac_c_werror_flag" ||
43464 test ! -s conftest.err
43465 } && test -s conftest$ac_exeext &&
43466 $as_test_x conftest$ac_exeext; then
43467 ac_cv_lib_dl_dlopen=yes
43469 echo "$as_me: failed program was:" >&5
43470 sed 's/^/| /' conftest.$ac_ext >&5
43472 ac_cv_lib_dl_dlopen=no
43475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43476 conftest$ac_exeext conftest.$ac_ext
43477 LIBS=$ac_check_lib_save_LIBS
43479 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
43480 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
43481 if test $ac_cv_lib_dl_dlopen = yes; then
43483 cat >>confdefs.h <<\_ACEOF
43484 #define HAVE_DLOPEN 1
43488 DL_LINK=" -ldl$DL_LINK"
43493 for ac_func in shl_load
43495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43496 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43498 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43499 echo $ECHO_N "(cached) $ECHO_C" >&6
43501 cat >conftest.$ac_ext <<_ACEOF
43504 cat confdefs.h >>conftest.$ac_ext
43505 cat >>conftest.$ac_ext <<_ACEOF
43506 /* end confdefs.h. */
43507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43509 #define $ac_func innocuous_$ac_func
43511 /* System header to define __stub macros and hopefully few prototypes,
43512 which can conflict with char $ac_func (); below.
43513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43514 <limits.h> exists even on freestanding compilers. */
43517 # include <limits.h>
43519 # include <assert.h>
43524 /* Override any GCC internal prototype to avoid an error.
43525 Use char because int might match the return type of a GCC
43526 builtin and then its argument prototype would still apply. */
43531 /* The GNU C library defines this for functions which it implements
43532 to always fail with ENOSYS. Some functions are actually named
43533 something starting with __ and the normal name is an alias. */
43534 #if defined __stub_$ac_func || defined __stub___$ac_func
43541 return $ac_func ();
43546 rm -f conftest.$ac_objext conftest$ac_exeext
43547 if { (ac_try="$ac_link"
43548 case "(($ac_try" in
43549 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43550 *) ac_try_echo
=$ac_try;;
43552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43553 (eval "$ac_link") 2>conftest.er1
43555 grep -v '^ *+' conftest.er1
>conftest.err
43557 cat conftest.err
>&5
43558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43559 (exit $ac_status); } && {
43560 test -z "$ac_c_werror_flag" ||
43561 test ! -s conftest.err
43562 } && test -s conftest
$ac_exeext &&
43563 $as_test_x conftest
$ac_exeext; then
43564 eval "$as_ac_var=yes"
43566 echo "$as_me: failed program was:" >&5
43567 sed 's/^/| /' conftest.
$ac_ext >&5
43569 eval "$as_ac_var=no"
43572 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43573 conftest
$ac_exeext conftest.
$ac_ext
43575 ac_res
=`eval echo '${'$as_ac_var'}'`
43576 { echo "$as_me:$LINENO: result: $ac_res" >&5
43577 echo "${ECHO_T}$ac_res" >&6; }
43578 if test `eval echo '${'$as_ac_var'}'` = yes; then
43579 cat >>confdefs.h
<<_ACEOF
43580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43583 cat >>confdefs.h
<<\_ACEOF
43584 #define HAVE_SHL_LOAD 1
43591 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
43592 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
43593 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
43594 echo $ECHO_N "(cached) $ECHO_C" >&6
43596 ac_check_lib_save_LIBS
=$LIBS
43597 LIBS
="-lshl_load $LIBS"
43598 cat >conftest.
$ac_ext <<_ACEOF
43601 cat confdefs.h
>>conftest.
$ac_ext
43602 cat >>conftest.
$ac_ext <<_ACEOF
43603 /* end confdefs.h. */
43605 /* Override any GCC internal prototype to avoid an error.
43606 Use char because int might match the return type of a GCC
43607 builtin and then its argument prototype would still apply. */
43620 rm -f conftest.
$ac_objext conftest
$ac_exeext
43621 if { (ac_try
="$ac_link"
43622 case "(($ac_try" in
43623 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43624 *) ac_try_echo=$ac_try;;
43626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43627 (eval "$ac_link") 2>conftest.er1
43629 grep -v '^ *+' conftest.er1 >conftest.err
43631 cat conftest.err >&5
43632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43633 (exit $ac_status); } && {
43634 test -z "$ac_c_werror_flag" ||
43635 test ! -s conftest.err
43636 } && test -s conftest$ac_exeext &&
43637 $as_test_x conftest$ac_exeext; then
43638 ac_cv_lib_shl_load_dld=yes
43640 echo "$as_me: failed program was:" >&5
43641 sed 's/^/| /' conftest.$ac_ext >&5
43643 ac_cv_lib_shl_load_dld=no
43646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43647 conftest$ac_exeext conftest.$ac_ext
43648 LIBS=$ac_check_lib_save_LIBS
43650 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
43651 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
43652 if test $ac_cv_lib_shl_load_dld = yes; then
43655 DL_LINK=" -ldld$DL_LINK"
43671 if test "$HAVE_DL_FUNCS" = 1; then
43673 for ac_func in dlerror
43675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43676 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43678 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43679 echo $ECHO_N "(cached) $ECHO_C" >&6
43681 cat >conftest.$ac_ext <<_ACEOF
43684 cat confdefs.h >>conftest.$ac_ext
43685 cat >>conftest.$ac_ext <<_ACEOF
43686 /* end confdefs.h. */
43687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43689 #define $ac_func innocuous_$ac_func
43691 /* System header to define __stub macros and hopefully few prototypes,
43692 which can conflict with char $ac_func (); below.
43693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43694 <limits.h> exists even on freestanding compilers. */
43697 # include <limits.h>
43699 # include <assert.h>
43704 /* Override any GCC internal prototype to avoid an error.
43705 Use char because int might match the return type of a GCC
43706 builtin and then its argument prototype would still apply. */
43711 /* The GNU C library defines this for functions which it implements
43712 to always fail with ENOSYS. Some functions are actually named
43713 something starting with __ and the normal name is an alias. */
43714 #if defined __stub_$ac_func || defined __stub___$ac_func
43721 return $ac_func ();
43726 rm -f conftest.$ac_objext conftest$ac_exeext
43727 if { (ac_try="$ac_link"
43728 case "(($ac_try" in
43729 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43730 *) ac_try_echo
=$ac_try;;
43732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43733 (eval "$ac_link") 2>conftest.er1
43735 grep -v '^ *+' conftest.er1
>conftest.err
43737 cat conftest.err
>&5
43738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43739 (exit $ac_status); } && {
43740 test -z "$ac_c_werror_flag" ||
43741 test ! -s conftest.err
43742 } && test -s conftest
$ac_exeext &&
43743 $as_test_x conftest
$ac_exeext; then
43744 eval "$as_ac_var=yes"
43746 echo "$as_me: failed program was:" >&5
43747 sed 's/^/| /' conftest.
$ac_ext >&5
43749 eval "$as_ac_var=no"
43752 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
43753 conftest
$ac_exeext conftest.
$ac_ext
43755 ac_res
=`eval echo '${'$as_ac_var'}'`
43756 { echo "$as_me:$LINENO: result: $ac_res" >&5
43757 echo "${ECHO_T}$ac_res" >&6; }
43758 if test `eval echo '${'$as_ac_var'}'` = yes; then
43759 cat >>confdefs.h
<<_ACEOF
43760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43762 cat >>confdefs.h
<<\_ACEOF
43763 #define HAVE_DLERROR 1
43768 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
43769 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
43770 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
43771 echo $ECHO_N "(cached) $ECHO_C" >&6
43773 ac_check_lib_save_LIBS
=$LIBS
43775 cat >conftest.
$ac_ext <<_ACEOF
43778 cat confdefs.h
>>conftest.
$ac_ext
43779 cat >>conftest.
$ac_ext <<_ACEOF
43780 /* end confdefs.h. */
43782 /* Override any GCC internal prototype to avoid an error.
43783 Use char because int might match the return type of a GCC
43784 builtin and then its argument prototype would still apply. */
43797 rm -f conftest.
$ac_objext conftest
$ac_exeext
43798 if { (ac_try
="$ac_link"
43799 case "(($ac_try" in
43800 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43801 *) ac_try_echo=$ac_try;;
43803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43804 (eval "$ac_link") 2>conftest.er1
43806 grep -v '^ *+' conftest.er1 >conftest.err
43808 cat conftest.err >&5
43809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43810 (exit $ac_status); } && {
43811 test -z "$ac_c_werror_flag" ||
43812 test ! -s conftest.err
43813 } && test -s conftest$ac_exeext &&
43814 $as_test_x conftest$ac_exeext; then
43815 ac_cv_lib_dl_dlerror=yes
43817 echo "$as_me: failed program was:" >&5
43818 sed 's/^/| /' conftest.$ac_ext >&5
43820 ac_cv_lib_dl_dlerror=no
43823 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43824 conftest$ac_exeext conftest.$ac_ext
43825 LIBS=$ac_check_lib_save_LIBS
43827 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
43828 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
43829 if test $ac_cv_lib_dl_dlerror = yes; then
43830 cat >>confdefs.h <<\_ACEOF
43831 #define HAVE_DLERROR 1
43844 if test "$USE_DARWIN" = 1; then
43848 if test "$HAVE_DL_FUNCS" = 0; then
43849 if test "$HAVE_SHL_FUNCS" = 0; then
43850 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
43851 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
43852 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
43853 wxUSE_DYNAMIC_LOADER=no
43854 wxUSE_DYNLIB_CLASS=no
43856 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
43857 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
43864 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
43865 cat >>confdefs.h <<\_ACEOF
43866 #define wxUSE_DYNAMIC_LOADER 1
43870 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
43871 cat >>confdefs.h <<\_ACEOF
43872 #define wxUSE_DYNLIB_CLASS 1
43879 if test "$wxUSE_PLUGINS" = "yes" ; then
43880 if test "$wxUSE_SHARED" = "no" ; then
43881 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
43882 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
43885 if test "$wxUSE_MONOLITHIC" = "yes" ; then
43886 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
43887 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
43890 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
43891 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
43892 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
43895 if test "$wxUSE_PLUGINS" = "yes" ; then
43896 cat >>confdefs.h <<\_ACEOF
43897 #define wxUSE_PLUGINS 1
43904 if test "$wxUSE_FSWATCHER" = "yes"; then
43905 if test "$wxUSE_MSW" != "1"; then
43906 if test "$wxUSE_UNIX" = "yes"; then
43908 for ac_header in sys/inotify.h
43910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43911 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43913 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43914 echo $ECHO_N "(cached) $ECHO_C" >&6
43916 cat >conftest.$ac_ext <<_ACEOF
43919 cat confdefs.h >>conftest.$ac_ext
43920 cat >>conftest.$ac_ext <<_ACEOF
43921 /* end confdefs.h. */
43922 $ac_includes_default
43924 #include <$ac_header>
43926 rm -f conftest.$ac_objext
43927 if { (ac_try="$ac_compile"
43928 case "(($ac_try" in
43929 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
43930 *) ac_try_echo
=$ac_try;;
43932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43933 (eval "$ac_compile") 2>conftest.er1
43935 grep -v '^ *+' conftest.er1
>conftest.err
43937 cat conftest.err
>&5
43938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43939 (exit $ac_status); } && {
43940 test -z "$ac_c_werror_flag" ||
43941 test ! -s conftest.err
43942 } && test -s conftest.
$ac_objext; then
43943 eval "$as_ac_Header=yes"
43945 echo "$as_me: failed program was:" >&5
43946 sed 's/^/| /' conftest.
$ac_ext >&5
43948 eval "$as_ac_Header=no"
43951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43953 ac_res
=`eval echo '${'$as_ac_Header'}'`
43954 { echo "$as_me:$LINENO: result: $ac_res" >&5
43955 echo "${ECHO_T}$ac_res" >&6; }
43956 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43957 cat >>confdefs.h
<<_ACEOF
43958 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43965 if test "$ac_cv_header_sys_inotify_h" = "yes"; then
43966 cat >>confdefs.h
<<\_ACEOF
43967 #define wxHAS_INOTIFY 1
43972 for ac_header
in sys
/event.h
43974 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43975 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43977 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43978 echo $ECHO_N "(cached) $ECHO_C" >&6
43980 cat >conftest.
$ac_ext <<_ACEOF
43983 cat confdefs.h
>>conftest.
$ac_ext
43984 cat >>conftest.
$ac_ext <<_ACEOF
43985 /* end confdefs.h. */
43986 $ac_includes_default
43988 #include <$ac_header>
43990 rm -f conftest.
$ac_objext
43991 if { (ac_try
="$ac_compile"
43992 case "(($ac_try" in
43993 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
43994 *) ac_try_echo=$ac_try;;
43996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43997 (eval "$ac_compile") 2>conftest.er1
43999 grep -v '^ *+' conftest.er1 >conftest.err
44001 cat conftest.err >&5
44002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44003 (exit $ac_status); } && {
44004 test -z "$ac_c_werror_flag" ||
44005 test ! -s conftest.err
44006 } && test -s conftest.$ac_objext; then
44007 eval "$as_ac_Header=yes"
44009 echo "$as_me: failed program was:" >&5
44010 sed 's/^/| /' conftest.$ac_ext >&5
44012 eval "$as_ac_Header=no"
44015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44017 ac_res=`eval echo '${'$as_ac_Header'}'`
44018 { echo "$as_me:$LINENO: result: $ac_res" >&5
44019 echo "${ECHO_T}$ac_res" >&6; }
44020 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44021 cat >>confdefs.h <<_ACEOF
44022 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44029 if test "$ac_cv_header_sys_event_h" = "yes"; then
44030 cat >>confdefs.h <<\_ACEOF
44031 #define wxHAS_KQUEUE 1
44042 if test "$wxUSE_THREADS" != "yes"; then
44043 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
44044 echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
44049 if test "$wxUSE_FSWATCHER" = "yes"; then
44050 cat >>confdefs.h <<\_ACEOF
44051 #define wxUSE_FSWATCHER 1
44054 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
44056 { echo "$as_me:$LINENO: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
44057 echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
44062 if test "$wxUSE_STL" = "yes"; then
44063 cat >>confdefs.h <<\_ACEOF
44064 #define wxUSE_STL 1
44069 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
44070 cat >>confdefs.h <<\_ACEOF
44071 #define wxUSE_EXTENDED_RTTI 1
44076 if test "$wxUSE_ANY" = "yes"; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_ANY 1
44083 if test "$wxUSE_APPLE_IEEE" = "yes"; then
44084 cat >>confdefs.h <<\_ACEOF
44085 #define wxUSE_APPLE_IEEE 1
44090 if test "$wxUSE_TIMER" = "yes"; then
44091 cat >>confdefs.h <<\_ACEOF
44092 #define wxUSE_TIMER 1
44097 if test "$USE_UNIX" = 1 ; then
44098 if test "$wxUSE_MGL" != 1; then
44099 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
44100 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
44101 if test "${ac_cv_header_sys_soundcard+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. */
44112 #include <sys/ioctl.h>
44113 #include <sys/soundcard.h>
44119 ioctl(0, SNDCTL_DSP_SPEED, 0);
44125 rm -f conftest.$ac_objext conftest$ac_exeext
44126 if { (ac_try="$ac_link"
44127 case "(($ac_try" in
44128 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44129 *) ac_try_echo
=$ac_try;;
44131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44132 (eval "$ac_link") 2>conftest.er1
44134 grep -v '^ *+' conftest.er1
>conftest.err
44136 cat conftest.err
>&5
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); } && {
44139 test -z "$ac_c_werror_flag" ||
44140 test ! -s conftest.err
44141 } && test -s conftest
$ac_exeext &&
44142 $as_test_x conftest
$ac_exeext; then
44143 ac_cv_header_sys_soundcard
=yes
44145 echo "$as_me: failed program was:" >&5
44146 sed 's/^/| /' conftest.
$ac_ext >&5
44150 LIBS
="$saveLibs -lossaudio"
44151 cat >conftest.
$ac_ext <<_ACEOF
44154 cat confdefs.h
>>conftest.
$ac_ext
44155 cat >>conftest.
$ac_ext <<_ACEOF
44156 /* end confdefs.h. */
44158 #include <sys/ioctl.h>
44159 #include <sys/soundcard.h>
44165 ioctl(0, SNDCTL_DSP_SPEED, 0);
44171 rm -f conftest.
$ac_objext conftest
$ac_exeext
44172 if { (ac_try
="$ac_link"
44173 case "(($ac_try" in
44174 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44175 *) ac_try_echo=$ac_try;;
44177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44178 (eval "$ac_link") 2>conftest.er1
44180 grep -v '^ *+' conftest.er1 >conftest.err
44182 cat conftest.err >&5
44183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44184 (exit $ac_status); } && {
44185 test -z "$ac_c_werror_flag" ||
44186 test ! -s conftest.err
44187 } && test -s conftest$ac_exeext &&
44188 $as_test_x conftest$ac_exeext; then
44189 ac_cv_header_sys_soundcard=yes
44191 echo "$as_me: failed program was:" >&5
44192 sed 's/^/| /' conftest.$ac_ext >&5
44196 ac_cv_header_sys_soundcard=no
44201 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44202 conftest$ac_exeext conftest.$ac_ext
44207 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44208 conftest$ac_exeext conftest.$ac_ext
44211 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
44212 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
44215 if test "$ac_cv_header_sys_soundcard" = "yes"; then
44216 cat >>confdefs.h <<\_ACEOF
44217 #define HAVE_SYS_SOUNDCARD_H 1
44224 if test "$wxUSE_SOUND" = "yes"; then
44225 if test "$USE_UNIX" = 1 ; then
44226 if test "$wxUSE_LIBSDL" != "no"; then
44228 # Check whether --with-sdl-prefix was given.
44229 if test "${with_sdl_prefix+set}" = set; then
44230 withval=$with_sdl_prefix; sdl_prefix="$withval"
44236 # Check whether --with-sdl-exec-prefix was given.
44237 if test "${with_sdl_exec_prefix+set}" = set; then
44238 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
44243 # Check whether --enable-sdltest was given.
44244 if test "${enable_sdltest+set}" = set; then
44245 enableval=$enable_sdltest;
44251 if test x$sdl_exec_prefix != x ; then
44252 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
44253 if test x${SDL_CONFIG+set} != xset ; then
44254 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
44257 if test x$sdl_prefix != x ; then
44258 sdl_args="$sdl_args --prefix=$sdl_prefix"
44259 if test x${SDL_CONFIG+set} != xset ; then
44260 SDL_CONFIG=$sdl_prefix/bin/sdl-config
44264 if test "x$prefix" != xNONE; then
44265 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
44267 # Extract the first word of "sdl-config", so it can be a program name with args.
44268 set dummy sdl-config; ac_word=$2
44269 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44271 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
44272 echo $ECHO_N "(cached) $ECHO_C" >&6
44274 case $SDL_CONFIG in
44276 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
44279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
44280 for as_dir in $PATH
44283 test -z "$as_dir" && as_dir=.
44284 for ac_exec_ext in '' $ac_executable_extensions; do
44285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44286 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
44287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44294 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
44298 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
44299 if test -n "$SDL_CONFIG"; then
44300 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
44301 echo "${ECHO_T}$SDL_CONFIG" >&6; }
44303 { echo "$as_me:$LINENO: result: no" >&5
44304 echo "${ECHO_T}no" >&6; }
44308 min_sdl_version=1.2.0
44309 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
44310 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
44312 if test "$SDL_CONFIG" = "no" ; then
44315 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
44316 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
44318 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
44319 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
44320 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
44321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
44322 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
44323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
44324 if test "x$enable_sdltest" = "xyes" ; then
44325 ac_save_CFLAGS="$CFLAGS"
44326 ac_save_CXXFLAGS="$CXXFLAGS"
44327 ac_save_LIBS="$LIBS"
44328 CFLAGS="$CFLAGS $SDL_CFLAGS"
44329 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44330 LIBS="$LIBS $SDL_LIBS"
44332 if test "$cross_compiling" = yes; then
44333 echo $ac_n "cross compiling; assumed OK... $ac_c"
44335 cat >conftest.$ac_ext <<_ACEOF
44338 cat confdefs.h >>conftest.$ac_ext
44339 cat >>conftest.$ac_ext <<_ACEOF
44340 /* end confdefs.h. */
44343 #include <stdlib.h>
44344 #include <string.h>
44348 my_strdup (char *str)
44354 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
44355 strcpy (new_str, str);
44363 int main (int argc, char *argv[])
44365 int major, minor, micro;
44368 /* This hangs on some systems (?)
44369 system ("touch conf.sdltest");
44371 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
44373 /* HP/UX 9 (%@#!) writes to sscanf strings */
44374 tmp_version = my_strdup("$min_sdl_version");
44375 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
44376 printf("%s, bad version string\n", "$min_sdl_version");
44380 if (($sdl_major_version > major) ||
44381 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
44382 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
44388 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
44389 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
44390 printf("*** best to upgrade to the required version.\n");
44391 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
44392 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
44393 printf("*** config.cache before re-running configure\n");
44400 rm -f conftest$ac_exeext
44401 if { (ac_try="$ac_link"
44402 case "(($ac_try" in
44403 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44404 *) ac_try_echo
=$ac_try;;
44406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44407 (eval "$ac_link") 2>&5
44409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44410 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
44411 { (case "(($ac_try" in
44412 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
44413 *) ac_try_echo=$ac_try;;
44415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44416 (eval "$ac_try") 2>&5
44418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44419 (exit $ac_status); }; }; then
44422 echo "$as_me: program exited with status $ac_status" >&5
44423 echo "$as_me: failed program was:" >&5
44424 sed 's/^/| /' conftest.$ac_ext >&5
44426 ( exit $ac_status )
44429 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
44433 CFLAGS="$ac_save_CFLAGS"
44434 CXXFLAGS="$ac_save_CXXFLAGS"
44435 LIBS="$ac_save_LIBS"
44438 if test "x$no_sdl" = x ; then
44439 { echo "$as_me:$LINENO: result: yes" >&5
44440 echo "${ECHO_T}yes" >&6; }
44442 EXTRALIBS_SDL="$SDL_LIBS"
44443 CFLAGS="$SDL_CFLAGS $CFLAGS"
44444 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
44445 cat >>confdefs.h <<\_ACEOF
44446 #define wxUSE_LIBSDL 1
44451 { echo "$as_me:$LINENO: result: no" >&5
44452 echo "${ECHO_T}no" >&6; }
44453 if test "$SDL_CONFIG" = "no" ; then
44454 echo "*** The sdl-config script installed by SDL could not be found"
44455 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
44456 echo "*** your path, or set the SDL_CONFIG environment variable to the"
44457 echo "*** full path to sdl-config."
44459 if test -f conf.sdltest ; then
44462 echo "*** Could not run SDL test program, checking why..."
44463 CFLAGS="$CFLAGS $SDL_CFLAGS"
44464 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
44465 LIBS="$LIBS $SDL_LIBS"
44466 cat >conftest.$ac_ext <<_ACEOF
44469 cat confdefs.h >>conftest.$ac_ext
44470 cat >>conftest.$ac_ext <<_ACEOF
44471 /* end confdefs.h. */
44476 int main(int argc, char *argv[])
44479 #define main K_and_R_C_main
44489 rm -f conftest.$ac_objext conftest$ac_exeext
44490 if { (ac_try="$ac_link"
44491 case "(($ac_try" in
44492 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
44493 *) ac_try_echo
=$ac_try;;
44495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44496 (eval "$ac_link") 2>conftest.er1
44498 grep -v '^ *+' conftest.er1
>conftest.err
44500 cat conftest.err
>&5
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); } && {
44503 test -z "$ac_c_werror_flag" ||
44504 test ! -s conftest.err
44505 } && test -s conftest
$ac_exeext &&
44506 $as_test_x conftest
$ac_exeext; then
44507 echo "*** The test program compiled, but did not run. This usually means"
44508 echo "*** that the run-time linker is not finding SDL or finding the wrong"
44509 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
44510 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
44511 echo "*** to the installed location Also, make sure you have run ldconfig if that"
44512 echo "*** is required on your system"
44514 echo "*** If you have an old version installed, it is best to remove it, although"
44515 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
44517 echo "$as_me: failed program was:" >&5
44518 sed 's/^/| /' conftest.
$ac_ext >&5
44520 echo "*** The test program failed to compile or link. See the file config.log for the"
44521 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
44522 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
44523 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
44526 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
44527 conftest
$ac_exeext conftest.
$ac_ext
44528 CFLAGS
="$ac_save_CFLAGS"
44529 CXXFLAGS
="$ac_save_CXXFLAGS"
44530 LIBS
="$ac_save_LIBS"
44541 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
44546 if test "$wxUSE_MGL" = 1; then
44547 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
44548 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
44554 if test "$wxUSE_SOUND" = "yes"; then
44555 cat >>confdefs.h
<<\_ACEOF
44556 #define wxUSE_SOUND 1
44559 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sound"
44562 if test "$WXGTK2" = 1; then
44565 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
44566 if test -n "$ac_tool_prefix"; then
44567 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
44568 set dummy
${ac_tool_prefix}pkg
-config; ac_word
=$2
44569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44571 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
44572 echo $ECHO_N "(cached) $ECHO_C" >&6
44574 case $PKG_CONFIG in
44576 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
44579 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44580 for as_dir
in $PATH
44583 test -z "$as_dir" && as_dir
=.
44584 for ac_exec_ext
in '' $ac_executable_extensions; do
44585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44586 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44587 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44597 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
44598 if test -n "$PKG_CONFIG"; then
44599 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
44600 echo "${ECHO_T}$PKG_CONFIG" >&6; }
44602 { echo "$as_me:$LINENO: result: no" >&5
44603 echo "${ECHO_T}no" >&6; }
44608 if test -z "$ac_cv_path_PKG_CONFIG"; then
44609 ac_pt_PKG_CONFIG
=$PKG_CONFIG
44610 # Extract the first word of "pkg-config", so it can be a program name with args.
44611 set dummy pkg
-config; ac_word
=$2
44612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
44613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
44614 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
44615 echo $ECHO_N "(cached) $ECHO_C" >&6
44617 case $ac_pt_PKG_CONFIG in
44619 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
44622 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
44623 for as_dir
in $PATH
44626 test -z "$as_dir" && as_dir
=.
44627 for ac_exec_ext
in '' $ac_executable_extensions; do
44628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
44629 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
44630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
44640 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
44641 if test -n "$ac_pt_PKG_CONFIG"; then
44642 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
44643 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
44645 { echo "$as_me:$LINENO: result: no" >&5
44646 echo "${ECHO_T}no" >&6; }
44649 if test "x$ac_pt_PKG_CONFIG" = x
; then
44652 case $cross_compiling:$ac_tool_warned in
44654 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
44655 whose name does not start with the host triplet. If you think this
44656 configuration is useful to you, please write to autoconf@gnu.org." >&5
44657 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
44658 whose name does not start with the host triplet. If you think this
44659 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
44660 ac_tool_warned
=yes ;;
44662 PKG_CONFIG
=$ac_pt_PKG_CONFIG
44665 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
44669 if test -n "$PKG_CONFIG"; then
44670 _pkg_min_version
=0.9.0
44671 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
44672 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
44673 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
44674 { echo "$as_me:$LINENO: result: yes" >&5
44675 echo "${ECHO_T}yes" >&6; }
44677 { echo "$as_me:$LINENO: result: no" >&5
44678 echo "${ECHO_T}no" >&6; }
44684 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44686 if test "$wxUSE_GTKPRINT" = "yes" ; then
44690 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
44691 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
44693 if test -n "$PKG_CONFIG"; then
44694 if test -n "$GTKPRINT_CFLAGS"; then
44695 pkg_cv_GTKPRINT_CFLAGS
="$GTKPRINT_CFLAGS"
44697 if test -n "$PKG_CONFIG" && \
44698 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44699 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44702 (exit $ac_status); }; then
44703 pkg_cv_GTKPRINT_CFLAGS
=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44711 if test -n "$PKG_CONFIG"; then
44712 if test -n "$GTKPRINT_LIBS"; then
44713 pkg_cv_GTKPRINT_LIBS
="$GTKPRINT_LIBS"
44715 if test -n "$PKG_CONFIG" && \
44716 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
44717 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
44719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44720 (exit $ac_status); }; then
44721 pkg_cv_GTKPRINT_LIBS
=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
44732 if test $pkg_failed = yes; then
44734 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44735 _pkg_short_errors_supported
=yes
44737 _pkg_short_errors_supported
=no
44739 if test $_pkg_short_errors_supported = yes; then
44740 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44742 GTKPRINT_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
44744 # Put the nasty error message in config.log where it belongs
44745 echo "$GTKPRINT_PKG_ERRORS" >&5
44748 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44749 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44750 wxUSE_GTKPRINT
="no"
44753 elif test $pkg_failed = untried
; then
44755 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
44756 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
44757 wxUSE_GTKPRINT
="no"
44761 GTKPRINT_CFLAGS
=$pkg_cv_GTKPRINT_CFLAGS
44762 GTKPRINT_LIBS
=$pkg_cv_GTKPRINT_LIBS
44763 { echo "$as_me:$LINENO: result: yes" >&5
44764 echo "${ECHO_T}yes" >&6; }
44766 CFLAGS
="$GTKPRINT_CFLAGS $CFLAGS"
44767 CXXFLAGS
="$GTKPRINT_CFLAGS $CXXFLAGS"
44768 cat >>confdefs.h
<<\_ACEOF
44769 #define wxUSE_GTKPRINT 1
44776 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
44780 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
44781 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
44783 if test -n "$PKG_CONFIG"; then
44784 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
44785 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS"
44787 if test -n "$PKG_CONFIG" && \
44788 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44789 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44792 (exit $ac_status); }; then
44793 pkg_cv_LIBGNOMEPRINTUI_CFLAGS
=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44801 if test -n "$PKG_CONFIG"; then
44802 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
44803 pkg_cv_LIBGNOMEPRINTUI_LIBS
="$LIBGNOMEPRINTUI_LIBS"
44805 if test -n "$PKG_CONFIG" && \
44806 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
44807 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
44809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44810 (exit $ac_status); }; then
44811 pkg_cv_LIBGNOMEPRINTUI_LIBS
=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
44822 if test $pkg_failed = yes; then
44824 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44825 _pkg_short_errors_supported
=yes
44827 _pkg_short_errors_supported
=no
44829 if test $_pkg_short_errors_supported = yes; then
44830 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44832 LIBGNOMEPRINTUI_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
44834 # Put the nasty error message in config.log where it belongs
44835 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
44838 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44839 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44840 wxUSE_LIBGNOMEPRINT
="no"
44843 elif test $pkg_failed = untried
; then
44845 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
44846 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
44847 wxUSE_LIBGNOMEPRINT
="no"
44851 LIBGNOMEPRINTUI_CFLAGS
=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
44852 LIBGNOMEPRINTUI_LIBS
=$pkg_cv_LIBGNOMEPRINTUI_LIBS
44853 { echo "$as_me:$LINENO: result: yes" >&5
44854 echo "${ECHO_T}yes" >&6; }
44856 CFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
44857 CXXFLAGS
="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
44858 cat >>confdefs.h
<<\_ACEOF
44859 #define wxUSE_LIBGNOMEPRINT 1
44867 if test "$wxUSE_MIMETYPE" = "yes" ; then
44868 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
44872 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
44873 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
44875 if test -n "$PKG_CONFIG"; then
44876 if test -n "$GNOMEVFS_CFLAGS"; then
44877 pkg_cv_GNOMEVFS_CFLAGS
="$GNOMEVFS_CFLAGS"
44879 if test -n "$PKG_CONFIG" && \
44880 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44881 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44884 (exit $ac_status); }; then
44885 pkg_cv_GNOMEVFS_CFLAGS
=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44893 if test -n "$PKG_CONFIG"; then
44894 if test -n "$GNOMEVFS_LIBS"; then
44895 pkg_cv_GNOMEVFS_LIBS
="$GNOMEVFS_LIBS"
44897 if test -n "$PKG_CONFIG" && \
44898 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
44899 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
44901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44902 (exit $ac_status); }; then
44903 pkg_cv_GNOMEVFS_LIBS
=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
44914 if test $pkg_failed = yes; then
44916 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44917 _pkg_short_errors_supported
=yes
44919 _pkg_short_errors_supported
=no
44921 if test $_pkg_short_errors_supported = yes; then
44922 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44924 GNOMEVFS_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
44926 # Put the nasty error message in config.log where it belongs
44927 echo "$GNOMEVFS_PKG_ERRORS" >&5
44930 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44931 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44932 wxUSE_LIBGNOMEVFS
="no"
44935 elif test $pkg_failed = untried
; then
44937 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
44938 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
44939 wxUSE_LIBGNOMEVFS
="no"
44943 GNOMEVFS_CFLAGS
=$pkg_cv_GNOMEVFS_CFLAGS
44944 GNOMEVFS_LIBS
=$pkg_cv_GNOMEVFS_LIBS
44945 { echo "$as_me:$LINENO: result: yes" >&5
44946 echo "${ECHO_T}yes" >&6; }
44948 CFLAGS
="$GNOMEVFS_CFLAGS $CFLAGS"
44949 CXXFLAGS
="$GNOMEVFS_CFLAGS $CXXFLAGS"
44950 cat >>confdefs.h
<<\_ACEOF
44951 #define wxUSE_LIBGNOMEVFS 1
44959 if test "$wxUSE_LIBHILDON" = "yes" ; then
44962 { echo "$as_me:$LINENO: checking for HILDON" >&5
44963 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
44965 if test -n "$PKG_CONFIG"; then
44966 if test -n "$HILDON_CFLAGS"; then
44967 pkg_cv_HILDON_CFLAGS
="$HILDON_CFLAGS"
44969 if test -n "$PKG_CONFIG" && \
44970 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44971 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44974 (exit $ac_status); }; then
44975 pkg_cv_HILDON_CFLAGS
=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
44983 if test -n "$PKG_CONFIG"; then
44984 if test -n "$HILDON_LIBS"; then
44985 pkg_cv_HILDON_LIBS
="$HILDON_LIBS"
44987 if test -n "$PKG_CONFIG" && \
44988 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
44989 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
44991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44992 (exit $ac_status); }; then
44993 pkg_cv_HILDON_LIBS
=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
45004 if test $pkg_failed = yes; then
45006 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45007 _pkg_short_errors_supported
=yes
45009 _pkg_short_errors_supported
=no
45011 if test $_pkg_short_errors_supported = yes; then
45012 HILDON_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45014 HILDON_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
45016 # Put the nasty error message in config.log where it belongs
45017 echo "$HILDON_PKG_ERRORS" >&5
45020 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45021 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45022 wxUSE_LIBHILDON
="no"
45026 elif test $pkg_failed = untried
; then
45028 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
45029 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
45030 wxUSE_LIBHILDON
="no"
45035 HILDON_CFLAGS
=$pkg_cv_HILDON_CFLAGS
45036 HILDON_LIBS
=$pkg_cv_HILDON_LIBS
45037 { echo "$as_me:$LINENO: result: yes" >&5
45038 echo "${ECHO_T}yes" >&6; }
45040 EXTRALIBS_HILDON
="$HILDON_LIBS"
45041 CFLAGS
="$CFLAGS $HILDON_CFLAGS"
45042 CXXFLAGS
="$CXXFLAGS $HILDON_CFLAGS"
45043 cat >>confdefs.h
<<\_ACEOF
45044 #define wxUSE_LIBHILDON 1
45051 if test "$ac_hildon_lgpl" = 0 ; then
45054 { echo "$as_me:$LINENO: checking for HILDON2" >&5
45055 echo $ECHO_N "checking for HILDON2... $ECHO_C" >&6; }
45057 if test -n "$PKG_CONFIG"; then
45058 if test -n "$HILDON2_CFLAGS"; then
45059 pkg_cv_HILDON2_CFLAGS
="$HILDON2_CFLAGS"
45061 if test -n "$PKG_CONFIG" && \
45062 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
45063 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
45065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45066 (exit $ac_status); }; then
45067 pkg_cv_HILDON2_CFLAGS
=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
45075 if test -n "$PKG_CONFIG"; then
45076 if test -n "$HILDON2_LIBS"; then
45077 pkg_cv_HILDON2_LIBS
="$HILDON2_LIBS"
45079 if test -n "$PKG_CONFIG" && \
45080 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\"") >&5
45081 ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
45083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45084 (exit $ac_status); }; then
45085 pkg_cv_HILDON2_LIBS
=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
45096 if test $pkg_failed = yes; then
45098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45099 _pkg_short_errors_supported
=yes
45101 _pkg_short_errors_supported
=no
45103 if test $_pkg_short_errors_supported = yes; then
45104 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
45106 HILDON2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
45108 # Put the nasty error message in config.log where it belongs
45109 echo "$HILDON2_PKG_ERRORS" >&5
45112 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
45113 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
45114 wxUSE_LIBHILDON2
="no"
45117 elif test $pkg_failed = untried
; then
45119 { echo "$as_me:$LINENO: WARNING: libhildon_1 not found" >&5
45120 echo "$as_me: WARNING: libhildon_1 not found" >&2;}
45121 wxUSE_LIBHILDON2
="no"
45125 HILDON2_CFLAGS
=$pkg_cv_HILDON2_CFLAGS
45126 HILDON2_LIBS
=$pkg_cv_HILDON2_LIBS
45127 { echo "$as_me:$LINENO: result: yes" >&5
45128 echo "${ECHO_T}yes" >&6; }
45130 EXTRALIBS_HILDON
="$HILDON2_LIBS"
45131 CFLAGS
="$CFLAGS $HILDON2_CFLAGS"
45132 CXXFLAGS
="$CXXFLAGS $HILDON2_CFLAGS"
45133 cat >>confdefs.h
<<\_ACEOF
45134 #define wxUSE_LIBHILDON2 1
45143 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
45144 cat >>confdefs.h
<<\_ACEOF
45145 #define wxUSE_CMDLINE_PARSER 1
45150 if test "$wxUSE_STOPWATCH" = "yes"; then
45151 cat >>confdefs.h
<<\_ACEOF
45152 #define wxUSE_STOPWATCH 1
45157 if test "$wxUSE_DATETIME" = "yes"; then
45158 cat >>confdefs.h
<<\_ACEOF
45159 #define wxUSE_DATETIME 1
45164 if test "$wxUSE_FILE" = "yes"; then
45165 cat >>confdefs.h
<<\_ACEOF
45166 #define wxUSE_FILE 1
45171 if test "$wxUSE_FFILE" = "yes"; then
45172 cat >>confdefs.h
<<\_ACEOF
45173 #define wxUSE_FFILE 1
45178 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
45179 if test "$wxUSE_STREAMS" != yes; then
45180 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
45181 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
45182 wxUSE_ARCHIVE_STREAMS
=no
45184 cat >>confdefs.h
<<\_ACEOF
45185 #define wxUSE_ARCHIVE_STREAMS 1
45191 if test "$wxUSE_ZIPSTREAM" = "yes"; then
45192 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45193 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
45194 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
45195 elif test "$wxUSE_ZLIB" = "no"; then
45196 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
45197 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
45199 cat >>confdefs.h
<<\_ACEOF
45200 #define wxUSE_ZIPSTREAM 1
45206 if test "$wxUSE_TARSTREAM" = "yes"; then
45207 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
45208 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
45209 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
45211 cat >>confdefs.h
<<\_ACEOF
45212 #define wxUSE_TARSTREAM 1
45218 if test "$wxUSE_FILE_HISTORY" = "yes"; then
45219 cat >>confdefs.h
<<\_ACEOF
45220 #define wxUSE_FILE_HISTORY 1
45225 if test "$wxUSE_FILESYSTEM" = "yes"; then
45226 if test "$wxUSE_STREAMS" != yes -o \
( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \
); then
45227 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
45228 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
45229 wxUSE_FILESYSTEM
=no
45231 cat >>confdefs.h
<<\_ACEOF
45232 #define wxUSE_FILESYSTEM 1
45238 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
45239 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
45240 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
45241 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
45243 cat >>confdefs.h
<<\_ACEOF
45244 #define wxUSE_FS_ARCHIVE 1
45250 if test "$wxUSE_FS_ZIP" = "yes"; then
45251 if test "$wxUSE_FS_ARCHIVE" != yes; then
45252 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
45253 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
45255 cat >>confdefs.h
<<\_ACEOF
45256 #define wxUSE_FS_ZIP 1
45262 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45263 if test "$USE_UNIX" != 1; then
45264 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
45265 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
45266 wxUSE_ON_FATAL_EXCEPTION
=no
45268 cat >>confdefs.h
<<\_ACEOF
45269 #define wxUSE_ON_FATAL_EXCEPTION 1
45275 if test "$wxUSE_STACKWALKER" = "yes"; then
45276 cat >>confdefs.h
<<\_ACEOF
45277 #define wxUSE_STACKWALKER 1
45282 if test "$wxUSE_DEBUGREPORT" = "yes"; then
45283 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
45284 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
45285 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
45286 wxUSE_DEBUGREPORT
=no
45288 cat >>confdefs.h
<<\_ACEOF
45289 #define wxUSE_DEBUGREPORT 1
45292 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
45293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS debugrpt"
45298 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
45299 cat >>confdefs.h
<<\_ACEOF
45300 #define wxUSE_SNGLINST_CHECKER 1
45305 if test "$wxUSE_BUSYINFO" = "yes"; then
45306 cat >>confdefs.h
<<\_ACEOF
45307 #define wxUSE_BUSYINFO 1
45312 if test "$wxUSE_HOTKEY" = "yes"; then
45313 if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
45314 { echo "$as_me:$LINENO: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
45315 echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
45318 elif test "$wxUSE_HOTKEY" = "auto"; then
45319 if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
45323 if test "$wxUSE_HOTKEY" = "yes"; then
45324 cat >>confdefs.h
<<\_ACEOF
45325 #define wxUSE_HOTKEY 1
45330 if test "$wxUSE_STD_CONTAINERS" = "yes"; then
45331 cat >>confdefs.h
<<\_ACEOF
45332 #define wxUSE_STD_CONTAINERS 1
45337 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
45338 cat >>confdefs.h
<<\_ACEOF
45339 #define wxUSE_STD_IOSTREAM 1
45344 if test "$wxUSE_STD_STRING" = "yes"; then
45345 cat >>confdefs.h
<<\_ACEOF
45346 #define wxUSE_STD_STRING 1
45351 if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
45352 cat >>confdefs.h
<<\_ACEOF
45353 #define wxUSE_STD_STRING_CONV_IN_WXSTRING 1
45358 if test "$wxUSE_STDPATHS" = "yes"; then
45359 cat >>confdefs.h
<<\_ACEOF
45360 #define wxUSE_STDPATHS 1
45365 if test "$wxUSE_TEXTBUFFER" = "yes"; then
45366 cat >>confdefs.h
<<\_ACEOF
45367 #define wxUSE_TEXTBUFFER 1
45372 if test "$wxUSE_TEXTFILE" = "yes"; then
45373 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
45374 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
45375 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
45377 cat >>confdefs.h
<<\_ACEOF
45378 #define wxUSE_TEXTFILE 1
45384 if test "$wxUSE_CONFIG" = "yes" ; then
45385 if test "$wxUSE_TEXTFILE" != "yes"; then
45386 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
45387 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
45389 cat >>confdefs.h
<<\_ACEOF
45390 #define wxUSE_CONFIG 1
45393 cat >>confdefs.h
<<\_ACEOF
45394 #define wxUSE_CONFIG_NATIVE 1
45397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
45401 if test "$wxUSE_INTL" = "yes" ; then
45402 if test "$wxUSE_FILE" != "yes"; then
45403 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
45404 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
45406 cat >>confdefs.h
<<\_ACEOF
45407 #define wxUSE_INTL 1
45410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
45411 GUIDIST
="$GUIDIST INTL_DIST"
45415 if test "$wxUSE_XLOCALE" = "yes" ; then
45416 cat >>confdefs.h
<<\_ACEOF
45417 #define wxUSE_XLOCALE 1
45420 { echo "$as_me:$LINENO: checking for locale_t" >&5
45421 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
45422 if test "${ac_cv_type_locale_t+set}" = set; then
45423 echo $ECHO_N "(cached) $ECHO_C" >&6
45425 cat >conftest.
$ac_ext <<_ACEOF
45428 cat confdefs.h
>>conftest.
$ac_ext
45429 cat >>conftest.
$ac_ext <<_ACEOF
45430 /* end confdefs.h. */
45431 #include <xlocale.h>
45432 #include <locale.h>
45434 typedef locale_t ac__type_new_;
45438 if ((ac__type_new_ *) 0)
45440 if (sizeof (ac__type_new_))
45446 rm -f conftest.
$ac_objext
45447 if { (ac_try
="$ac_compile"
45448 case "(($ac_try" in
45449 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45450 *) ac_try_echo=$ac_try;;
45452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45453 (eval "$ac_compile") 2>conftest.er1
45455 grep -v '^ *+' conftest.er1 >conftest.err
45457 cat conftest.err >&5
45458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45459 (exit $ac_status); } && {
45460 test -z "$ac_c_werror_flag" ||
45461 test ! -s conftest.err
45462 } && test -s conftest.$ac_objext; then
45463 ac_cv_type_locale_t=yes
45465 echo "$as_me: failed program was:" >&5
45466 sed 's/^/| /' conftest.$ac_ext >&5
45468 ac_cv_type_locale_t=no
45471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45473 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
45474 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
45475 if test $ac_cv_type_locale_t = yes; then
45477 cat >>confdefs.h <<_ACEOF
45478 #define HAVE_LOCALE_T 1
45486 if test "$wxUSE_LOG" = "yes"; then
45487 cat >>confdefs.h <<\_ACEOF
45488 #define wxUSE_LOG 1
45492 if test "$wxUSE_LOGGUI" = "yes"; then
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_LOGGUI 1
45499 if test "$wxUSE_LOGWINDOW" = "yes"; then
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_LOGWINDOW 1
45506 if test "$wxUSE_LOGDIALOG" = "yes"; then
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_LOG_DIALOG 1
45513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
45516 if test "$wxUSE_LONGLONG" = "yes"; then
45517 cat >>confdefs.h <<\_ACEOF
45518 #define wxUSE_LONGLONG 1
45523 if test "$wxUSE_GEOMETRY" = "yes"; then
45524 cat >>confdefs.h <<\_ACEOF
45525 #define wxUSE_GEOMETRY 1
45530 if test "$wxUSE_BASE64" = "yes"; then
45531 cat >>confdefs.h <<\_ACEOF
45532 #define wxUSE_BASE64 1
45537 if test "$wxUSE_STREAMS" = "yes" ; then
45538 cat >>confdefs.h <<\_ACEOF
45539 #define wxUSE_STREAMS 1
45544 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
45545 cat >>confdefs.h <<\_ACEOF
45546 #define wxUSE_PRINTF_POS_PARAMS 1
45551 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
45552 cat >>confdefs.h <<\_ACEOF
45553 #define wxUSE_OBJC_UNIQUIFYING 1
45559 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
45560 cat >>confdefs.h <<\_ACEOF
45561 #define wxUSE_CONSOLE_EVENTLOOP 1
45565 if test "$wxUSE_UNIX" = "yes"; then
45566 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_SELECT_DISPATCHER 1
45573 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
45575 for ac_header in sys/epoll.h
45577 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45578 { echo "$as_me:$LINENO: checking for $ac_header" >&5
45579 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
45580 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
45581 echo $ECHO_N "(cached) $ECHO_C" >&6
45583 cat >conftest.$ac_ext <<_ACEOF
45586 cat confdefs.h >>conftest.$ac_ext
45587 cat >>conftest.$ac_ext <<_ACEOF
45588 /* end confdefs.h. */
45589 $ac_includes_default
45591 #include <$ac_header>
45593 rm -f conftest.$ac_objext
45594 if { (ac_try="$ac_compile"
45595 case "(($ac_try" in
45596 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45597 *) ac_try_echo
=$ac_try;;
45599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45600 (eval "$ac_compile") 2>conftest.er1
45602 grep -v '^ *+' conftest.er1
>conftest.err
45604 cat conftest.err
>&5
45605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45606 (exit $ac_status); } && {
45607 test -z "$ac_c_werror_flag" ||
45608 test ! -s conftest.err
45609 } && test -s conftest.
$ac_objext; then
45610 eval "$as_ac_Header=yes"
45612 echo "$as_me: failed program was:" >&5
45613 sed 's/^/| /' conftest.
$ac_ext >&5
45615 eval "$as_ac_Header=no"
45618 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45620 ac_res
=`eval echo '${'$as_ac_Header'}'`
45621 { echo "$as_me:$LINENO: result: $ac_res" >&5
45622 echo "${ECHO_T}$ac_res" >&6; }
45623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45624 cat >>confdefs.h
<<_ACEOF
45625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45632 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
45633 cat >>confdefs.h
<<\_ACEOF
45634 #define wxUSE_EPOLL_DISPATCHER 1
45638 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
45639 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
45648 for ac_func
in gettimeofday ftime
45650 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
45652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
45653 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
45654 echo $ECHO_N "(cached) $ECHO_C" >&6
45656 cat >conftest.
$ac_ext <<_ACEOF
45659 cat confdefs.h
>>conftest.
$ac_ext
45660 cat >>conftest.
$ac_ext <<_ACEOF
45661 /* end confdefs.h. */
45662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45664 #define $ac_func innocuous_$ac_func
45666 /* System header to define __stub macros and hopefully few prototypes,
45667 which can conflict with char $ac_func (); below.
45668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45669 <limits.h> exists even on freestanding compilers. */
45672 # include <limits.h>
45674 # include <assert.h>
45679 /* Override any GCC internal prototype to avoid an error.
45680 Use char because int might match the return type of a GCC
45681 builtin and then its argument prototype would still apply. */
45686 /* The GNU C library defines this for functions which it implements
45687 to always fail with ENOSYS. Some functions are actually named
45688 something starting with __ and the normal name is an alias. */
45689 #if defined __stub_$ac_func || defined __stub___$ac_func
45696 return $ac_func ();
45701 rm -f conftest.
$ac_objext conftest
$ac_exeext
45702 if { (ac_try
="$ac_link"
45703 case "(($ac_try" in
45704 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45705 *) ac_try_echo=$ac_try;;
45707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45708 (eval "$ac_link") 2>conftest.er1
45710 grep -v '^ *+' conftest.er1 >conftest.err
45712 cat conftest.err >&5
45713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45714 (exit $ac_status); } && {
45715 test -z "$ac_c_werror_flag" ||
45716 test ! -s conftest.err
45717 } && test -s conftest$ac_exeext &&
45718 $as_test_x conftest$ac_exeext; then
45719 eval "$as_ac_var=yes"
45721 echo "$as_me: failed program was:" >&5
45722 sed 's/^/| /' conftest.$ac_ext >&5
45724 eval "$as_ac_var=no"
45727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45728 conftest$ac_exeext conftest.$ac_ext
45730 ac_res=`eval echo '${'$as_ac_var'}'`
45731 { echo "$as_me:$LINENO: result: $ac_res" >&5
45732 echo "${ECHO_T}$ac_res" >&6; }
45733 if test `eval echo '${'$as_ac_var'}'` = yes; then
45734 cat >>confdefs.h <<_ACEOF
45735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45742 if test "$ac_cv_func_gettimeofday" = "yes"; then
45743 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
45744 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
45745 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
45746 echo $ECHO_N "(cached) $ECHO_C" >&6
45749 cat >conftest.$ac_ext <<_ACEOF
45752 cat confdefs.h >>conftest.$ac_ext
45753 cat >>conftest.$ac_ext <<_ACEOF
45754 /* end confdefs.h. */
45756 #include <sys/time.h>
45757 #include <unistd.h>
45764 gettimeofday(&tv, NULL);
45770 rm -f conftest.$ac_objext
45771 if { (ac_try="$ac_compile"
45772 case "(($ac_try" in
45773 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45774 *) ac_try_echo
=$ac_try;;
45776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45777 (eval "$ac_compile") 2>conftest.er1
45779 grep -v '^ *+' conftest.er1
>conftest.err
45781 cat conftest.err
>&5
45782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45783 (exit $ac_status); } && {
45784 test -z "$ac_c_werror_flag" ||
45785 test ! -s conftest.err
45786 } && test -s conftest.
$ac_objext; then
45787 wx_cv_func_gettimeofday_has_2_args
=yes
45789 echo "$as_me: failed program was:" >&5
45790 sed 's/^/| /' conftest.
$ac_ext >&5
45792 cat >conftest.
$ac_ext <<_ACEOF
45795 cat confdefs.h
>>conftest.
$ac_ext
45796 cat >>conftest.
$ac_ext <<_ACEOF
45797 /* end confdefs.h. */
45799 #include <sys/time.h>
45800 #include <unistd.h>
45813 rm -f conftest.
$ac_objext
45814 if { (ac_try
="$ac_compile"
45815 case "(($ac_try" in
45816 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45817 *) ac_try_echo=$ac_try;;
45819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45820 (eval "$ac_compile") 2>conftest.er1
45822 grep -v '^ *+' conftest.er1 >conftest.err
45824 cat conftest.err >&5
45825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45826 (exit $ac_status); } && {
45827 test -z "$ac_c_werror_flag" ||
45828 test ! -s conftest.err
45829 } && test -s conftest.$ac_objext; then
45830 wx_cv_func_gettimeofday_has_2_args=no
45832 echo "$as_me: failed program was:" >&5
45833 sed 's/^/| /' conftest.$ac_ext >&5
45836 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
45837 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
45838 wx_cv_func_gettimeofday_has_2_args=unknown
45843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45850 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
45851 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
45853 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define WX_GETTIMEOFDAY_NO_TZ 1
45861 if test "$wxUSE_DATETIME" = "yes"; then
45862 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
45863 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
45864 if test "${wx_cv_var_timezone+set}" = set; then
45865 echo $ECHO_N "(cached) $ECHO_C" >&6
45869 ac_cpp='$CXXCPP $CPPFLAGS'
45870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45874 cat >conftest.$ac_ext <<_ACEOF
45877 cat confdefs.h >>conftest.$ac_ext
45878 cat >>conftest.$ac_ext <<_ACEOF
45879 /* end confdefs.h. */
45894 rm -f conftest.$ac_objext
45895 if { (ac_try="$ac_compile"
45896 case "(($ac_try" in
45897 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45898 *) ac_try_echo
=$ac_try;;
45900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45901 (eval "$ac_compile") 2>conftest.er1
45903 grep -v '^ *+' conftest.er1
>conftest.err
45905 cat conftest.err
>&5
45906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45907 (exit $ac_status); } && {
45908 test -z "$ac_cxx_werror_flag" ||
45909 test ! -s conftest.err
45910 } && test -s conftest.
$ac_objext; then
45912 wx_cv_var_timezone
=timezone
45915 echo "$as_me: failed program was:" >&5
45916 sed 's/^/| /' conftest.
$ac_ext >&5
45919 cat >conftest.
$ac_ext <<_ACEOF
45922 cat confdefs.h
>>conftest.
$ac_ext
45923 cat >>conftest.
$ac_ext <<_ACEOF
45924 /* end confdefs.h. */
45939 rm -f conftest.
$ac_objext
45940 if { (ac_try
="$ac_compile"
45941 case "(($ac_try" in
45942 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
45943 *) ac_try_echo=$ac_try;;
45945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45946 (eval "$ac_compile") 2>conftest.er1
45948 grep -v '^ *+' conftest.er1 >conftest.err
45950 cat conftest.err >&5
45951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45952 (exit $ac_status); } && {
45953 test -z "$ac_cxx_werror_flag" ||
45954 test ! -s conftest.err
45955 } && test -s conftest.$ac_objext; then
45957 wx_cv_var_timezone=_timezone
45960 echo "$as_me: failed program was:" >&5
45961 sed 's/^/| /' conftest.$ac_ext >&5
45964 cat >conftest.$ac_ext <<_ACEOF
45967 cat confdefs.h >>conftest.$ac_ext
45968 cat >>conftest.$ac_ext <<_ACEOF
45969 /* end confdefs.h. */
45984 rm -f conftest.$ac_objext
45985 if { (ac_try="$ac_compile"
45986 case "(($ac_try" in
45987 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
45988 *) ac_try_echo
=$ac_try;;
45990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45991 (eval "$ac_compile") 2>conftest.er1
45993 grep -v '^ *+' conftest.er1
>conftest.err
45995 cat conftest.err
>&5
45996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45997 (exit $ac_status); } && {
45998 test -z "$ac_cxx_werror_flag" ||
45999 test ! -s conftest.err
46000 } && test -s conftest.
$ac_objext; then
46002 wx_cv_var_timezone
=__timezone
46005 echo "$as_me: failed program was:" >&5
46006 sed 's/^/| /' conftest.
$ac_ext >&5
46009 if test "$USE_DOS" = 0 ; then
46010 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
46011 echo "$as_me: WARNING: no timezone variable" >&2;}
46017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46029 ac_cpp
='$CPP $CPPFLAGS'
46030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46037 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
46038 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
46040 if test "x$wx_cv_var_timezone" != x
; then
46041 cat >>confdefs.h
<<_ACEOF
46042 #define WX_TIMEZONE $wx_cv_var_timezone
46048 for ac_func
in localtime
46050 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46051 { echo "$as_me:$LINENO: checking for $ac_func" >&5
46052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
46053 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
46054 echo $ECHO_N "(cached) $ECHO_C" >&6
46056 cat >conftest.
$ac_ext <<_ACEOF
46059 cat confdefs.h
>>conftest.
$ac_ext
46060 cat >>conftest.
$ac_ext <<_ACEOF
46061 /* end confdefs.h. */
46062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46064 #define $ac_func innocuous_$ac_func
46066 /* System header to define __stub macros and hopefully few prototypes,
46067 which can conflict with char $ac_func (); below.
46068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46069 <limits.h> exists even on freestanding compilers. */
46072 # include <limits.h>
46074 # include <assert.h>
46079 /* Override any GCC internal prototype to avoid an error.
46080 Use char because int might match the return type of a GCC
46081 builtin and then its argument prototype would still apply. */
46086 /* The GNU C library defines this for functions which it implements
46087 to always fail with ENOSYS. Some functions are actually named
46088 something starting with __ and the normal name is an alias. */
46089 #if defined __stub_$ac_func || defined __stub___$ac_func
46096 return $ac_func ();
46101 rm -f conftest.
$ac_objext conftest
$ac_exeext
46102 if { (ac_try
="$ac_link"
46103 case "(($ac_try" in
46104 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46105 *) ac_try_echo=$ac_try;;
46107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46108 (eval "$ac_link") 2>conftest.er1
46110 grep -v '^ *+' conftest.er1 >conftest.err
46112 cat conftest.err >&5
46113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46114 (exit $ac_status); } && {
46115 test -z "$ac_c_werror_flag" ||
46116 test ! -s conftest.err
46117 } && test -s conftest$ac_exeext &&
46118 $as_test_x conftest$ac_exeext; then
46119 eval "$as_ac_var=yes"
46121 echo "$as_me: failed program was:" >&5
46122 sed 's/^/| /' conftest.$ac_ext >&5
46124 eval "$as_ac_var=no"
46127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46128 conftest$ac_exeext conftest.$ac_ext
46130 ac_res=`eval echo '${'$as_ac_var'}'`
46131 { echo "$as_me:$LINENO: result: $ac_res" >&5
46132 echo "${ECHO_T}$ac_res" >&6; }
46133 if test `eval echo '${'$as_ac_var'}'` = yes; then
46134 cat >>confdefs.h <<_ACEOF
46135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46142 if test "$ac_cv_func_localtime" = "yes"; then
46143 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
46144 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
46145 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
46146 echo $ECHO_N "(cached) $ECHO_C" >&6
46149 cat >conftest.$ac_ext <<_ACEOF
46152 cat confdefs.h >>conftest.$ac_ext
46153 cat >>conftest.$ac_ext <<_ACEOF
46154 /* end confdefs.h. */
46169 rm -f conftest.$ac_objext
46170 if { (ac_try="$ac_compile"
46171 case "(($ac_try" in
46172 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46173 *) ac_try_echo
=$ac_try;;
46175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46176 (eval "$ac_compile") 2>conftest.er1
46178 grep -v '^ *+' conftest.er1
>conftest.err
46180 cat conftest.err
>&5
46181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46182 (exit $ac_status); } && {
46183 test -z "$ac_c_werror_flag" ||
46184 test ! -s conftest.err
46185 } && test -s conftest.
$ac_objext; then
46187 wx_cv_struct_tm_has_gmtoff
=yes
46190 echo "$as_me: failed program was:" >&5
46191 sed 's/^/| /' conftest.
$ac_ext >&5
46193 wx_cv_struct_tm_has_gmtoff
=no
46197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46200 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
46201 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
46204 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
46205 cat >>confdefs.h
<<\_ACEOF
46206 #define WX_GMTOFF_IN_TM 1
46211 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
46215 if test "$wxUSE_SOCKETS" = "yes"; then
46216 if test "$wxUSE_MGL" = 1; then
46217 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
46218 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
46223 if test "$wxUSE_SOCKETS" = "yes"; then
46224 if test "$TOOLKIT" != "MSW"; then
46225 { echo "$as_me:$LINENO: checking for socket" >&5
46226 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
46227 if test "${ac_cv_func_socket+set}" = set; then
46228 echo $ECHO_N "(cached) $ECHO_C" >&6
46230 cat >conftest.
$ac_ext <<_ACEOF
46233 cat confdefs.h
>>conftest.
$ac_ext
46234 cat >>conftest.
$ac_ext <<_ACEOF
46235 /* end confdefs.h. */
46236 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
46237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46238 #define socket innocuous_socket
46240 /* System header to define __stub macros and hopefully few prototypes,
46241 which can conflict with char socket (); below.
46242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46243 <limits.h> exists even on freestanding compilers. */
46246 # include <limits.h>
46248 # include <assert.h>
46253 /* Override any GCC internal prototype to avoid an error.
46254 Use char because int might match the return type of a GCC
46255 builtin and then its argument prototype would still apply. */
46260 /* The GNU C library defines this for functions which it implements
46261 to always fail with ENOSYS. Some functions are actually named
46262 something starting with __ and the normal name is an alias. */
46263 #if defined __stub_socket || defined __stub___socket
46275 rm -f conftest.
$ac_objext conftest
$ac_exeext
46276 if { (ac_try
="$ac_link"
46277 case "(($ac_try" in
46278 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46279 *) ac_try_echo=$ac_try;;
46281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46282 (eval "$ac_link") 2>conftest.er1
46284 grep -v '^ *+' conftest.er1 >conftest.err
46286 cat conftest.err >&5
46287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46288 (exit $ac_status); } && {
46289 test -z "$ac_c_werror_flag" ||
46290 test ! -s conftest.err
46291 } && test -s conftest$ac_exeext &&
46292 $as_test_x conftest$ac_exeext; then
46293 ac_cv_func_socket=yes
46295 echo "$as_me: failed program was:" >&5
46296 sed 's/^/| /' conftest.$ac_ext >&5
46298 ac_cv_func_socket=no
46301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
46302 conftest$ac_exeext conftest.$ac_ext
46304 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
46305 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
46306 if test $ac_cv_func_socket = yes; then
46310 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
46311 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
46312 if test "${ac_cv_lib_socket_socket+set}" = set; then
46313 echo $ECHO_N "(cached) $ECHO_C" >&6
46315 ac_check_lib_save_LIBS=$LIBS
46316 LIBS="-lsocket $LIBS"
46317 cat >conftest.$ac_ext <<_ACEOF
46320 cat confdefs.h >>conftest.$ac_ext
46321 cat >>conftest.$ac_ext <<_ACEOF
46322 /* end confdefs.h. */
46324 /* Override any GCC internal prototype to avoid an error.
46325 Use char because int might match the return type of a GCC
46326 builtin and then its argument prototype would still apply. */
46339 rm -f conftest.$ac_objext conftest$ac_exeext
46340 if { (ac_try="$ac_link"
46341 case "(($ac_try" in
46342 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46343 *) ac_try_echo
=$ac_try;;
46345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46346 (eval "$ac_link") 2>conftest.er1
46348 grep -v '^ *+' conftest.er1
>conftest.err
46350 cat conftest.err
>&5
46351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46352 (exit $ac_status); } && {
46353 test -z "$ac_c_werror_flag" ||
46354 test ! -s conftest.err
46355 } && test -s conftest
$ac_exeext &&
46356 $as_test_x conftest
$ac_exeext; then
46357 ac_cv_lib_socket_socket
=yes
46359 echo "$as_me: failed program was:" >&5
46360 sed 's/^/| /' conftest.
$ac_ext >&5
46362 ac_cv_lib_socket_socket
=no
46365 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
46366 conftest
$ac_exeext conftest.
$ac_ext
46367 LIBS
=$ac_check_lib_save_LIBS
46369 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
46370 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
46371 if test $ac_cv_lib_socket_socket = yes; then
46372 if test "$INET_LINK" != " -lsocket"; then
46373 INET_LINK
="$INET_LINK -lsocket"
46377 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
46378 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
46391 if test "$wxUSE_SOCKETS" = "yes" ; then
46392 if test "$TOOLKIT" != "MSW"; then
46393 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
46394 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
46395 if test "${wx_cv_type_getsockname3+set}" = set; then
46396 echo $ECHO_N "(cached) $ECHO_C" >&6
46400 ac_cpp
='$CXXCPP $CPPFLAGS'
46401 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46402 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46403 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46405 cat >conftest.
$ac_ext <<_ACEOF
46408 cat confdefs.h
>>conftest.
$ac_ext
46409 cat >>conftest.
$ac_ext <<_ACEOF
46410 /* end confdefs.h. */
46412 #include <sys/types.h>
46413 #include <sys/socket.h>
46420 getsockname(0, 0, &len);
46426 rm -f conftest.
$ac_objext
46427 if { (ac_try
="$ac_compile"
46428 case "(($ac_try" in
46429 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46430 *) ac_try_echo=$ac_try;;
46432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46433 (eval "$ac_compile") 2>conftest.er1
46435 grep -v '^ *+' conftest.er1 >conftest.err
46437 cat conftest.err >&5
46438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46439 (exit $ac_status); } && {
46440 test -z "$ac_cxx_werror_flag" ||
46441 test ! -s conftest.err
46442 } && test -s conftest.$ac_objext; then
46443 wx_cv_type_getsockname3=socklen_t
46445 echo "$as_me: failed program was:" >&5
46446 sed 's/^/| /' conftest.$ac_ext >&5
46449 CFLAGS_OLD="$CFLAGS"
46450 if test "$GCC" = yes ; then
46451 CFLAGS="-Werror $CFLAGS"
46454 cat >conftest.$ac_ext <<_ACEOF
46457 cat confdefs.h >>conftest.$ac_ext
46458 cat >>conftest.$ac_ext <<_ACEOF
46459 /* end confdefs.h. */
46461 #include <sys/types.h>
46462 #include <sys/socket.h>
46469 getsockname(0, 0, &len);
46475 rm -f conftest.$ac_objext
46476 if { (ac_try="$ac_compile"
46477 case "(($ac_try" in
46478 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46479 *) ac_try_echo
=$ac_try;;
46481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46482 (eval "$ac_compile") 2>conftest.er1
46484 grep -v '^ *+' conftest.er1
>conftest.err
46486 cat conftest.err
>&5
46487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46488 (exit $ac_status); } && {
46489 test -z "$ac_cxx_werror_flag" ||
46490 test ! -s conftest.err
46491 } && test -s conftest.
$ac_objext; then
46492 wx_cv_type_getsockname3
=size_t
46494 echo "$as_me: failed program was:" >&5
46495 sed 's/^/| /' conftest.
$ac_ext >&5
46497 cat >conftest.
$ac_ext <<_ACEOF
46500 cat confdefs.h
>>conftest.
$ac_ext
46501 cat >>conftest.
$ac_ext <<_ACEOF
46502 /* end confdefs.h. */
46504 #include <sys/types.h>
46505 #include <sys/socket.h>
46512 getsockname(0, 0, &len);
46518 rm -f conftest.
$ac_objext
46519 if { (ac_try
="$ac_compile"
46520 case "(($ac_try" in
46521 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46522 *) ac_try_echo=$ac_try;;
46524 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46525 (eval "$ac_compile") 2>conftest.er1
46527 grep -v '^ *+' conftest.er1 >conftest.err
46529 cat conftest.err >&5
46530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46531 (exit $ac_status); } && {
46532 test -z "$ac_cxx_werror_flag" ||
46533 test ! -s conftest.err
46534 } && test -s conftest.$ac_objext; then
46535 wx_cv_type_getsockname3=int
46537 echo "$as_me: failed program was:" >&5
46538 sed 's/^/| /' conftest.$ac_ext >&5
46540 wx_cv_type_getsockname3=unknown
46544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46550 CFLAGS="$CFLAGS_OLD"
46555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46557 ac_cpp='$CPP $CPPFLAGS'
46558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46564 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
46565 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
46567 if test "$wx_cv_type_getsockname3" = "unknown"; then
46569 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46570 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46572 cat >>confdefs.h <<_ACEOF
46573 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
46577 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
46578 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
46579 if test "${wx_cv_type_getsockopt5+set}" = set; then
46580 echo $ECHO_N "(cached) $ECHO_C" >&6
46584 ac_cpp='$CXXCPP $CPPFLAGS'
46585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46589 cat >conftest.$ac_ext <<_ACEOF
46592 cat confdefs.h >>conftest.$ac_ext
46593 cat >>conftest.$ac_ext <<_ACEOF
46594 /* end confdefs.h. */
46596 #include <sys/types.h>
46597 #include <sys/socket.h>
46604 getsockopt(0, 0, 0, 0, &len);
46610 rm -f conftest.$ac_objext
46611 if { (ac_try="$ac_compile"
46612 case "(($ac_try" in
46613 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46614 *) ac_try_echo
=$ac_try;;
46616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46617 (eval "$ac_compile") 2>conftest.er1
46619 grep -v '^ *+' conftest.er1
>conftest.err
46621 cat conftest.err
>&5
46622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46623 (exit $ac_status); } && {
46624 test -z "$ac_cxx_werror_flag" ||
46625 test ! -s conftest.err
46626 } && test -s conftest.
$ac_objext; then
46627 wx_cv_type_getsockopt5
=socklen_t
46629 echo "$as_me: failed program was:" >&5
46630 sed 's/^/| /' conftest.
$ac_ext >&5
46633 cat >conftest.
$ac_ext <<_ACEOF
46636 cat confdefs.h
>>conftest.
$ac_ext
46637 cat >>conftest.
$ac_ext <<_ACEOF
46638 /* end confdefs.h. */
46640 #include <sys/types.h>
46641 #include <sys/socket.h>
46648 getsockopt(0, 0, 0, 0, &len);
46654 rm -f conftest.
$ac_objext
46655 if { (ac_try
="$ac_compile"
46656 case "(($ac_try" in
46657 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46658 *) ac_try_echo=$ac_try;;
46660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46661 (eval "$ac_compile") 2>conftest.er1
46663 grep -v '^ *+' conftest.er1 >conftest.err
46665 cat conftest.err >&5
46666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46667 (exit $ac_status); } && {
46668 test -z "$ac_cxx_werror_flag" ||
46669 test ! -s conftest.err
46670 } && test -s conftest.$ac_objext; then
46671 wx_cv_type_getsockopt5=size_t
46673 echo "$as_me: failed program was:" >&5
46674 sed 's/^/| /' conftest.$ac_ext >&5
46676 cat >conftest.$ac_ext <<_ACEOF
46679 cat confdefs.h >>conftest.$ac_ext
46680 cat >>conftest.$ac_ext <<_ACEOF
46681 /* end confdefs.h. */
46683 #include <sys/types.h>
46684 #include <sys/socket.h>
46691 getsockopt(0, 0, 0, 0, &len);
46697 rm -f conftest.$ac_objext
46698 if { (ac_try="$ac_compile"
46699 case "(($ac_try" in
46700 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46701 *) ac_try_echo
=$ac_try;;
46703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46704 (eval "$ac_compile") 2>conftest.er1
46706 grep -v '^ *+' conftest.er1
>conftest.err
46708 cat conftest.err
>&5
46709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46710 (exit $ac_status); } && {
46711 test -z "$ac_cxx_werror_flag" ||
46712 test ! -s conftest.err
46713 } && test -s conftest.
$ac_objext; then
46714 wx_cv_type_getsockopt5
=int
46716 echo "$as_me: failed program was:" >&5
46717 sed 's/^/| /' conftest.
$ac_ext >&5
46719 wx_cv_type_getsockopt5
=unknown
46723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46734 ac_cpp
='$CPP $CPPFLAGS'
46735 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46736 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46737 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46741 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
46742 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
46744 if test "$wx_cv_type_getsockopt5" = "unknown"; then
46746 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
46747 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
46749 cat >>confdefs.h
<<_ACEOF
46750 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
46757 if test "$wxUSE_SOCKETS" = "yes" ; then
46758 if test "$wxUSE_IPV6" = "yes"; then
46759 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
46760 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
46761 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
46762 echo $ECHO_N "(cached) $ECHO_C" >&6
46765 cat >conftest.
$ac_ext <<_ACEOF
46768 cat confdefs.h
>>conftest.
$ac_ext
46769 cat >>conftest.
$ac_ext <<_ACEOF
46770 /* end confdefs.h. */
46772 #include <sys/types.h>
46773 #include <sys/socket.h>
46774 #include <netinet/in.h>
46780 struct sockaddr_in6 sa6;
46786 rm -f conftest.
$ac_objext
46787 if { (ac_try
="$ac_compile"
46788 case "(($ac_try" in
46789 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
46790 *) ac_try_echo=$ac_try;;
46792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46793 (eval "$ac_compile") 2>conftest.er1
46795 grep -v '^ *+' conftest.er1 >conftest.err
46797 cat conftest.err >&5
46798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46799 (exit $ac_status); } && {
46800 test -z "$ac_c_werror_flag" ||
46801 test ! -s conftest.err
46802 } && test -s conftest.$ac_objext; then
46803 wx_cv_type_sockaddr_in6=yes
46805 echo "$as_me: failed program was:" >&5
46806 sed 's/^/| /' conftest.$ac_ext >&5
46808 wx_cv_type_sockaddr_in6=no
46812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46816 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
46817 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
46819 if test "$wx_cv_type_sockaddr_in6"="yes"; then
46820 cat >>confdefs.h <<\_ACEOF
46821 #define wxUSE_IPV6 1
46825 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
46826 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
46830 cat >>confdefs.h <<\_ACEOF
46831 #define wxUSE_SOCKETS 1
46834 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46837 if test "$wxUSE_PROTOCOL" = "yes"; then
46838 if test "$wxUSE_SOCKETS" != "yes"; then
46839 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
46840 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
46845 if test "$wxUSE_PROTOCOL" = "yes"; then
46846 cat >>confdefs.h <<\_ACEOF
46847 #define wxUSE_PROTOCOL 1
46851 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
46852 cat >>confdefs.h <<\_ACEOF
46853 #define wxUSE_PROTOCOL_HTTP 1
46857 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
46858 cat >>confdefs.h <<\_ACEOF
46859 #define wxUSE_PROTOCOL_FTP 1
46863 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
46864 cat >>confdefs.h <<\_ACEOF
46865 #define wxUSE_PROTOCOL_FILE 1
46870 if test "$wxUSE_FS_INET" = "yes"; then
46871 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
46872 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
46877 if test "$wxUSE_URL" = "yes"; then
46878 if test "$wxUSE_PROTOCOL" != "yes"; then
46879 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
46880 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
46883 if test "$wxUSE_URL" = "yes"; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_URL 1
46891 if test "$wxUSE_VARIANT" = "yes"; then
46892 cat >>confdefs.h <<\_ACEOF
46893 #define wxUSE_VARIANT 1
46898 if test "$wxUSE_FS_INET" = "yes"; then
46899 cat >>confdefs.h <<\_ACEOF
46900 #define wxUSE_FS_INET 1
46906 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
46909 if test "$TOOLKIT" = "MSW"; then
46912 elif test "$TOOLKIT" = "OSX" -o "$TOOLKIT" = "COCOA"; then
46913 if test "$USE_DARWIN" = 1; then
46914 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
46915 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
46917 ac_cpp='$CXXCPP $CPPFLAGS'
46918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46922 cat >conftest.$ac_ext <<_ACEOF
46925 cat confdefs.h >>conftest.$ac_ext
46926 cat >>conftest.$ac_ext <<_ACEOF
46927 /* end confdefs.h. */
46928 #include <IOKit/hid/IOHIDLib.h>
46932 IOHIDQueueInterface *qi = NULL;
46933 IOHIDCallbackFunction cb = NULL;
46934 qi->setEventCallout(NULL, cb, NULL, NULL);
46939 rm -f conftest.$ac_objext
46940 if { (ac_try="$ac_compile"
46941 case "(($ac_try" in
46942 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
46943 *) ac_try_echo
=$ac_try;;
46945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46946 (eval "$ac_compile") 2>conftest.er1
46948 grep -v '^ *+' conftest.er1
>conftest.err
46950 cat conftest.err
>&5
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); } && {
46953 test -z "$ac_cxx_werror_flag" ||
46954 test ! -s conftest.err
46955 } && test -s conftest.
$ac_objext; then
46959 echo "$as_me: failed program was:" >&5
46960 sed 's/^/| /' conftest.
$ac_ext >&5
46965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46967 ac_cpp
='$CPP $CPPFLAGS'
46968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46972 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
46973 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
46977 if test "$wxUSE_MGL" != 1; then
46979 for ac_header
in linux
/joystick.h
46981 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
46982 { echo "$as_me:$LINENO: checking for $ac_header" >&5
46983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
46984 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
46985 echo $ECHO_N "(cached) $ECHO_C" >&6
46987 cat >conftest.
$ac_ext <<_ACEOF
46990 cat confdefs.h
>>conftest.
$ac_ext
46991 cat >>conftest.
$ac_ext <<_ACEOF
46992 /* end confdefs.h. */
46993 $ac_includes_default
46995 #include <$ac_header>
46997 rm -f conftest.
$ac_objext
46998 if { (ac_try
="$ac_compile"
46999 case "(($ac_try" in
47000 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47001 *) ac_try_echo=$ac_try;;
47003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47004 (eval "$ac_compile") 2>conftest.er1
47006 grep -v '^ *+' conftest.er1 >conftest.err
47008 cat conftest.err >&5
47009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47010 (exit $ac_status); } && {
47011 test -z "$ac_c_werror_flag" ||
47012 test ! -s conftest.err
47013 } && test -s conftest.$ac_objext; then
47014 eval "$as_ac_Header=yes"
47016 echo "$as_me: failed program was:" >&5
47017 sed 's/^/| /' conftest.$ac_ext >&5
47019 eval "$as_ac_Header=no"
47022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47024 ac_res=`eval echo '${'$as_ac_Header'}'`
47025 { echo "$as_me:$LINENO: result: $ac_res" >&5
47026 echo "${ECHO_T}$ac_res" >&6; }
47027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
47028 cat >>confdefs.h <<_ACEOF
47029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
47039 if test "$wxUSE_JOYSTICK" = "yes"; then
47040 cat >>confdefs.h <<\_ACEOF
47041 #define wxUSE_JOYSTICK 1
47044 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
47046 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
47047 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
47053 if test "$wxUSE_FONTENUM" = "yes" ; then
47054 cat >>confdefs.h <<\_ACEOF
47055 #define wxUSE_FONTENUM 1
47060 if test "$wxUSE_FONTMAP" = "yes" ; then
47061 cat >>confdefs.h <<\_ACEOF
47062 #define wxUSE_FONTMAP 1
47067 if test "$wxUSE_UNICODE" = "yes" ; then
47068 cat >>confdefs.h <<\_ACEOF
47069 #define wxUSE_UNICODE 1
47073 if test "$USE_WIN32" != 1; then
47074 wxUSE_UNICODE_MSLU=no
47077 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
47078 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
47079 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
47080 if test "${ac_cv_lib_unicows_main+set}" = set; then
47081 echo $ECHO_N "(cached) $ECHO_C" >&6
47083 ac_check_lib_save_LIBS=$LIBS
47084 LIBS="-lunicows $LIBS"
47085 cat >conftest.$ac_ext <<_ACEOF
47088 cat confdefs.h >>conftest.$ac_ext
47089 cat >>conftest.$ac_ext <<_ACEOF
47090 /* end confdefs.h. */
47101 rm -f conftest.$ac_objext conftest$ac_exeext
47102 if { (ac_try="$ac_link"
47103 case "(($ac_try" in
47104 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47105 *) ac_try_echo
=$ac_try;;
47107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47108 (eval "$ac_link") 2>conftest.er1
47110 grep -v '^ *+' conftest.er1
>conftest.err
47112 cat conftest.err
>&5
47113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47114 (exit $ac_status); } && {
47115 test -z "$ac_c_werror_flag" ||
47116 test ! -s conftest.err
47117 } && test -s conftest
$ac_exeext &&
47118 $as_test_x conftest
$ac_exeext; then
47119 ac_cv_lib_unicows_main
=yes
47121 echo "$as_me: failed program was:" >&5
47122 sed 's/^/| /' conftest.
$ac_ext >&5
47124 ac_cv_lib_unicows_main
=no
47127 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
47128 conftest
$ac_exeext conftest.
$ac_ext
47129 LIBS
=$ac_check_lib_save_LIBS
47131 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
47132 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
47133 if test $ac_cv_lib_unicows_main = yes; then
47135 cat >>confdefs.h
<<\_ACEOF
47136 #define wxUSE_UNICODE_MSLU 1
47142 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47143 Applications will only run on Windows NT/2000/XP!" >&5
47144 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
47145 Applications will only run on Windows NT/2000/XP!" >&2;}
47146 wxUSE_UNICODE_MSLU
=no
47153 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
47154 cat >>confdefs.h
<<\_ACEOF
47155 #define wxUSE_UNICODE_UTF8 1
47159 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
47160 cat >>confdefs.h
<<\_ACEOF
47161 #define wxUSE_UTF8_LOCALE_ONLY 1
47168 if test "$wxUSE_CONSTRAINTS" = "yes"; then
47169 cat >>confdefs.h
<<\_ACEOF
47170 #define wxUSE_CONSTRAINTS 1
47173 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
47176 if test "$wxUSE_MDI" = "yes"; then
47177 cat >>confdefs.h
<<\_ACEOF
47178 #define wxUSE_MDI 1
47182 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
47183 cat >>confdefs.h
<<\_ACEOF
47184 #define wxUSE_MDI_ARCHITECTURE 1
47187 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
47191 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
47192 cat >>confdefs.h
<<\_ACEOF
47193 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
47196 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
47199 if test "$wxUSE_HELP" = "yes"; then
47200 cat >>confdefs.h
<<\_ACEOF
47201 #define wxUSE_HELP 1
47204 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
47206 if test "$wxUSE_MSW" = 1; then
47207 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
47208 cat >>confdefs.h
<<\_ACEOF
47209 #define wxUSE_MS_HTML_HELP 1
47215 if test "$wxUSE_WXHTML_HELP" = "yes"; then
47216 if test "$wxUSE_HTML" = "yes"; then
47217 cat >>confdefs.h
<<\_ACEOF
47218 #define wxUSE_WXHTML_HELP 1
47222 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
47223 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
47224 wxUSE_WXHTML_HELP
=no
47229 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
47230 cat >>confdefs.h
<<\_ACEOF
47231 #define wxUSE_PRINTING_ARCHITECTURE 1
47234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
47237 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
47238 cat >>confdefs.h
<<\_ACEOF
47239 #define wxUSE_POSTSCRIPT 1
47244 cat >>confdefs.h
<<\_ACEOF
47245 #define wxUSE_AFM_FOR_POSTSCRIPT 1
47249 if test "$wxUSE_SVG" = "yes"; then
47250 cat >>confdefs.h
<<\_ACEOF
47251 #define wxUSE_SVG 1
47257 if test "$wxUSE_METAFILE" = "yes"; then
47258 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
47259 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
47260 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
47263 elif test "$wxUSE_METAFILE" = "auto"; then
47264 if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
47269 if test "$wxUSE_METAFILE" = "yes"; then
47270 cat >>confdefs.h
<<\_ACEOF
47271 #define wxUSE_METAFILE 1
47274 if test "$wxUSE_MSW" = 1; then
47275 cat >>confdefs.h
<<\_ACEOF
47276 #define wxUSE_ENH_METAFILE 1
47283 if test "$USE_WIN32" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
47284 -o "$wxUSE_CLIPBOARD" = "yes" \
47285 -o "$wxUSE_OLE" = "yes" \
47286 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
47287 { echo "$as_me:$LINENO: checking for ole2.h" >&5
47288 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
47289 if test "${ac_cv_header_ole2_h+set}" = set; then
47290 echo $ECHO_N "(cached) $ECHO_C" >&6
47292 cat >conftest.
$ac_ext <<_ACEOF
47295 cat confdefs.h
>>conftest.
$ac_ext
47296 cat >>conftest.
$ac_ext <<_ACEOF
47297 /* end confdefs.h. */
47302 rm -f conftest.
$ac_objext
47303 if { (ac_try
="$ac_compile"
47304 case "(($ac_try" in
47305 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
47306 *) ac_try_echo=$ac_try;;
47308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47309 (eval "$ac_compile") 2>conftest.er1
47311 grep -v '^ *+' conftest.er1 >conftest.err
47313 cat conftest.err >&5
47314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47315 (exit $ac_status); } && {
47316 test -z "$ac_c_werror_flag" ||
47317 test ! -s conftest.err
47318 } && test -s conftest.$ac_objext; then
47319 ac_cv_header_ole2_h=yes
47321 echo "$as_me: failed program was:" >&5
47322 sed 's/^/| /' conftest.$ac_ext >&5
47324 ac_cv_header_ole2_h=no
47327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47329 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
47330 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
47334 if test "$ac_cv_header_ole2_h" = "yes" ; then
47335 if test "$GCC" = yes ; then
47336 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
47337 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
47338 cat >conftest.$ac_ext <<_ACEOF
47341 cat confdefs.h >>conftest.$ac_ext
47342 cat >>conftest.$ac_ext <<_ACEOF
47343 /* end confdefs.h. */
47344 #include <windows.h>
47354 rm -f conftest.$ac_objext
47355 if { (ac_try="$ac_compile"
47356 case "(($ac_try" in
47357 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
47358 *) ac_try_echo
=$ac_try;;
47360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47361 (eval "$ac_compile") 2>conftest.er1
47363 grep -v '^ *+' conftest.er1
>conftest.err
47365 cat conftest.err
>&5
47366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47367 (exit $ac_status); } && {
47368 test -z "$ac_c_werror_flag" ||
47369 test ! -s conftest.err
47370 } && test -s conftest.
$ac_objext; then
47371 { echo "$as_me:$LINENO: result: no" >&5
47372 echo "${ECHO_T}no" >&6; }
47374 echo "$as_me: failed program was:" >&5
47375 sed 's/^/| /' conftest.
$ac_ext >&5
47377 { echo "$as_me:$LINENO: result: yes" >&5
47378 echo "${ECHO_T}yes" >&6; }
47379 WXCONFIG_CXXFLAGS
="$WXCONFIG_CXXFLAGS -fvtable-thunks"
47382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47383 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
47384 if test "$wxUSE_OLE" = "yes" ; then
47385 cat >>confdefs.h
<<\_ACEOF
47386 #define wxUSE_OLE 1
47389 cat >>confdefs.h
<<\_ACEOF
47390 #define wxUSE_OLE_AUTOMATION 1
47393 cat >>confdefs.h
<<\_ACEOF
47394 #define wxUSE_ACTIVEX 1
47397 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS oleauto"
47401 if test "$wxUSE_DATAOBJ" = "yes" ; then
47402 cat >>confdefs.h
<<\_ACEOF
47403 #define wxUSE_DATAOBJ 1
47408 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
47409 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
47412 wxUSE_DRAG_AND_DROP
=no
47418 if test "$wxUSE_IPC" = "yes"; then
47419 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
47420 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
47421 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
47425 if test "$wxUSE_IPC" = "yes"; then
47426 cat >>confdefs.h
<<\_ACEOF
47427 #define wxUSE_IPC 1
47430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
47434 if test "$wxUSE_DATAOBJ" = "yes"; then
47435 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47436 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
47437 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
47440 cat >>confdefs.h
<<\_ACEOF
47441 #define wxUSE_DATAOBJ 1
47446 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
47447 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
47449 wxUSE_DRAG_AND_DROP
=no
47452 if test "$wxUSE_CLIPBOARD" = "yes"; then
47453 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
47454 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
47455 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
47459 if test "$wxUSE_CLIPBOARD" = "yes"; then
47460 cat >>confdefs.h
<<\_ACEOF
47461 #define wxUSE_CLIPBOARD 1
47467 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
47468 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
47469 "$wxUSE_DFB" = 1; then
47470 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
47471 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
47472 wxUSE_DRAG_AND_DROP
=no
47475 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
47476 cat >>confdefs.h
<<\_ACEOF
47477 #define wxUSE_DRAG_AND_DROP 1
47484 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
47485 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
47488 if test "$wxUSE_CLIPBOARD" = "yes"; then
47489 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS clipboard"
47492 if test "$wxUSE_SPLINES" = "yes" ; then
47493 cat >>confdefs.h
<<\_ACEOF
47494 #define wxUSE_SPLINES 1
47499 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
47500 cat >>confdefs.h
<<\_ACEOF
47501 #define wxUSE_MOUSEWHEEL 1
47506 if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
47507 cat >>confdefs.h
<<\_ACEOF
47508 #define wxUSE_UIACTIONSIMULATOR 1
47511 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS uiaction"
47514 if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
47515 cat >>confdefs.h
<<\_ACEOF
47516 #define wxUSE_DC_TRANSFORM_MATRIX 1
47523 if test "$wxUSE_CONTROLS" = "yes"; then
47527 if test "$wxUSE_MARKUP" = "yes"; then
47528 cat >>confdefs.h
<<\_ACEOF
47529 #define wxUSE_MARKUP 1
47534 if test "$wxUSE_ACCEL" = "yes"; then
47535 cat >>confdefs.h
<<\_ACEOF
47536 #define wxUSE_ACCEL 1
47542 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
47543 cat >>confdefs.h
<<\_ACEOF
47544 #define wxUSE_ANIMATIONCTRL 1
47548 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS animate"
47551 if test "$wxUSE_BANNERWINDOW" = "yes"; then
47552 cat >>confdefs.h
<<\_ACEOF
47553 #define wxUSE_BANNERWINDOW 1
47558 if test "$wxUSE_BUTTON" = "yes"; then
47559 cat >>confdefs.h
<<\_ACEOF
47560 #define wxUSE_BUTTON 1
47566 if test "$wxUSE_BMPBUTTON" = "yes"; then
47567 cat >>confdefs.h
<<\_ACEOF
47568 #define wxUSE_BMPBUTTON 1
47574 if test "$wxUSE_CALCTRL" = "yes"; then
47575 cat >>confdefs.h
<<\_ACEOF
47576 #define wxUSE_CALENDARCTRL 1
47580 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
47583 if test "$wxUSE_CARET" = "yes"; then
47584 cat >>confdefs.h
<<\_ACEOF
47585 #define wxUSE_CARET 1
47589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
47592 if test "$wxUSE_COLLPANE" = "yes"; then
47593 cat >>confdefs.h
<<\_ACEOF
47594 #define wxUSE_COLLPANE 1
47598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS collpane"
47601 if test "$wxUSE_COMBOBOX" = "yes"; then
47602 cat >>confdefs.h
<<\_ACEOF
47603 #define wxUSE_COMBOBOX 1
47609 if test "$wxUSE_COMBOCTRL" = "yes"; then
47610 cat >>confdefs.h
<<\_ACEOF
47611 #define wxUSE_COMBOCTRL 1
47617 if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
47618 cat >>confdefs.h
<<\_ACEOF
47619 #define wxUSE_COMMANDLINKBUTTON 1
47625 if test "$wxUSE_CHOICE" = "yes"; then
47626 cat >>confdefs.h
<<\_ACEOF
47627 #define wxUSE_CHOICE 1
47633 if test "$wxUSE_CHOICEBOOK" = "yes"; then
47634 cat >>confdefs.h
<<\_ACEOF
47635 #define wxUSE_CHOICEBOOK 1
47641 if test "$wxUSE_CHECKBOX" = "yes"; then
47642 cat >>confdefs.h
<<\_ACEOF
47643 #define wxUSE_CHECKBOX 1
47649 if test "$wxUSE_CHECKLST" = "yes"; then
47650 cat >>confdefs.h
<<\_ACEOF
47651 #define wxUSE_CHECKLISTBOX 1
47657 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
47658 cat >>confdefs.h
<<\_ACEOF
47659 #define wxUSE_COLOURPICKERCTRL 1
47665 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
47666 cat >>confdefs.h
<<\_ACEOF
47667 #define wxUSE_DATEPICKCTRL 1
47673 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
47674 cat >>confdefs.h
<<\_ACEOF
47675 #define wxUSE_DIRPICKERCTRL 1
47681 if test "$wxUSE_FILECTRL" = "yes"; then
47682 cat >>confdefs.h
<<\_ACEOF
47683 #define wxUSE_FILECTRL 1
47689 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
47690 cat >>confdefs.h
<<\_ACEOF
47691 #define wxUSE_FILEPICKERCTRL 1
47697 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
47698 cat >>confdefs.h
<<\_ACEOF
47699 #define wxUSE_FONTPICKERCTRL 1
47705 if test "$wxUSE_DISPLAY" = "yes"; then
47706 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
47707 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
47708 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
47711 cat >>confdefs.h
<<\_ACEOF
47712 #define wxUSE_DISPLAY 1
47715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS display"
47719 if test "$wxUSE_DETECT_SM" = "yes"; then
47720 cat >>confdefs.h
<<\_ACEOF
47721 #define wxUSE_DETECT_SM 1
47726 if test "$wxUSE_GAUGE" = "yes"; then
47727 cat >>confdefs.h
<<\_ACEOF
47728 #define wxUSE_GAUGE 1
47734 if test "$wxUSE_GRID" = "yes"; then
47735 cat >>confdefs.h
<<\_ACEOF
47736 #define wxUSE_GRID 1
47740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
47743 if test "$wxUSE_HEADERCTRL" = "yes"; then
47744 cat >>confdefs.h
<<\_ACEOF
47745 #define wxUSE_HEADERCTRL 1
47751 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
47752 cat >>confdefs.h
<<\_ACEOF
47753 #define wxUSE_HYPERLINKCTRL 1
47759 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
47760 cat >>confdefs.h
<<\_ACEOF
47761 #define wxUSE_BITMAPCOMBOBOX 1
47767 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
47768 cat >>confdefs.h
<<\_ACEOF
47769 #define wxUSE_DATAVIEWCTRL 1
47773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dataview"
47776 if test "$wxUSE_IMAGLIST" = "yes"; then
47777 cat >>confdefs.h
<<\_ACEOF
47778 #define wxUSE_IMAGLIST 1
47783 if test "$wxUSE_INFOBAR" = "yes"; then
47784 cat >>confdefs.h
<<\_ACEOF
47785 #define wxUSE_INFOBAR 1
47790 if test "$wxUSE_LISTBOOK" = "yes"; then
47791 cat >>confdefs.h
<<\_ACEOF
47792 #define wxUSE_LISTBOOK 1
47798 if test "$wxUSE_LISTBOX" = "yes"; then
47799 cat >>confdefs.h
<<\_ACEOF
47800 #define wxUSE_LISTBOX 1
47806 if test "$wxUSE_LISTCTRL" = "yes"; then
47807 if test "$wxUSE_IMAGLIST" = "yes"; then
47808 cat >>confdefs.h
<<\_ACEOF
47809 #define wxUSE_LISTCTRL 1
47813 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
47815 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
47816 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
47820 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
47821 cat >>confdefs.h
<<\_ACEOF
47822 #define wxUSE_EDITABLELISTBOX 1
47828 if test "$wxUSE_NOTEBOOK" = "yes"; then
47829 cat >>confdefs.h
<<\_ACEOF
47830 #define wxUSE_NOTEBOOK 1
47834 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
47837 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
47838 cat >>confdefs.h
<<\_ACEOF
47839 #define wxUSE_NOTIFICATION_MESSAGE 1
47844 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
47845 cat >>confdefs.h
<<\_ACEOF
47846 #define wxUSE_ODCOMBOBOX 1
47850 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS combo"
47853 if test "$wxUSE_RADIOBOX" = "yes"; then
47854 cat >>confdefs.h
<<\_ACEOF
47855 #define wxUSE_RADIOBOX 1
47861 if test "$wxUSE_RADIOBTN" = "yes"; then
47862 cat >>confdefs.h
<<\_ACEOF
47863 #define wxUSE_RADIOBTN 1
47869 if test "$wxUSE_REARRANGECTRL" = "yes"; then
47870 cat >>confdefs.h
<<\_ACEOF
47871 #define wxUSE_REARRANGECTRL 1
47876 if test "$wxUSE_RICHMSGDLG" = "yes"; then
47877 cat >>confdefs.h
<<\_ACEOF
47878 #define wxUSE_RICHMSGDLG 1
47883 if test "$wxUSE_SASH" = "yes"; then
47884 cat >>confdefs.h
<<\_ACEOF
47885 #define wxUSE_SASH 1
47888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
47891 if test "$wxUSE_SCROLLBAR" = "yes"; then
47892 cat >>confdefs.h
<<\_ACEOF
47893 #define wxUSE_SCROLLBAR 1
47897 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
47900 if test "$wxUSE_SEARCHCTRL" = "yes"; then
47901 cat >>confdefs.h
<<\_ACEOF
47902 #define wxUSE_SEARCHCTRL 1
47908 if test "$wxUSE_SLIDER" = "yes"; then
47909 cat >>confdefs.h
<<\_ACEOF
47910 #define wxUSE_SLIDER 1
47916 if test "$wxUSE_SPINBTN" = "yes"; then
47917 cat >>confdefs.h
<<\_ACEOF
47918 #define wxUSE_SPINBTN 1
47924 if test "$wxUSE_SPINCTRL" = "yes"; then
47925 cat >>confdefs.h
<<\_ACEOF
47926 #define wxUSE_SPINCTRL 1
47932 if test "$wxUSE_SPLITTER" = "yes"; then
47933 cat >>confdefs.h
<<\_ACEOF
47934 #define wxUSE_SPLITTER 1
47937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
47940 if test "$wxUSE_STATBMP" = "yes"; then
47941 cat >>confdefs.h
<<\_ACEOF
47942 #define wxUSE_STATBMP 1
47948 if test "$wxUSE_STATBOX" = "yes"; then
47949 cat >>confdefs.h
<<\_ACEOF
47950 #define wxUSE_STATBOX 1
47956 if test "$wxUSE_STATTEXT" = "yes"; then
47957 cat >>confdefs.h
<<\_ACEOF
47958 #define wxUSE_STATTEXT 1
47964 if test "$wxUSE_STATLINE" = "yes"; then
47965 cat >>confdefs.h
<<\_ACEOF
47966 #define wxUSE_STATLINE 1
47972 if test "$wxUSE_STATUSBAR" = "yes"; then
47973 cat >>confdefs.h
<<\_ACEOF
47974 #define wxUSE_NATIVE_STATUSBAR 1
47977 cat >>confdefs.h
<<\_ACEOF
47978 #define wxUSE_STATUSBAR 1
47983 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
47986 if test "$wxUSE_TEXTCTRL" = "yes"; then
47987 cat >>confdefs.h
<<\_ACEOF
47988 #define wxUSE_TEXTCTRL 1
47992 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
47994 cat >>confdefs.h
<<\_ACEOF
47995 #define wxUSE_RICHEDIT 1
47998 cat >>confdefs.h
<<\_ACEOF
47999 #define wxUSE_RICHEDIT2 1
48004 if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
48005 cat >>confdefs.h
<<\_ACEOF
48006 #define wxUSE_TIMEPICKCTRL 1
48012 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48013 if test "$wxUSE_OLD_COCOA" = 1 ; then
48014 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
48015 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
48019 if test "$wxUSE_TOGGLEBTN" = "yes"; then
48020 cat >>confdefs.h
<<\_ACEOF
48021 #define wxUSE_TOGGLEBTN 1
48028 if test "$wxUSE_TOOLBAR" = "yes"; then
48029 cat >>confdefs.h
<<\_ACEOF
48030 #define wxUSE_TOOLBAR 1
48035 if test "$wxUSE_UNIVERSAL" = "yes"; then
48036 wxUSE_TOOLBAR_NATIVE
="no"
48038 wxUSE_TOOLBAR_NATIVE
="yes"
48039 cat >>confdefs.h
<<\_ACEOF
48040 #define wxUSE_TOOLBAR_NATIVE 1
48045 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
48048 if test "$wxUSE_TOOLTIPS" = "yes"; then
48049 if test "$wxUSE_MOTIF" = 1; then
48050 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
48051 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
48053 if test "$wxUSE_UNIVERSAL" = "yes"; then
48054 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
48055 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
48057 cat >>confdefs.h
<<\_ACEOF
48058 #define wxUSE_TOOLTIPS 1
48065 if test "$wxUSE_TREEBOOK" = "yes"; then
48066 cat >>confdefs.h
<<\_ACEOF
48067 #define wxUSE_TREEBOOK 1
48073 if test "$wxUSE_TOOLBOOK" = "yes"; then
48074 cat >>confdefs.h
<<\_ACEOF
48075 #define wxUSE_TOOLBOOK 1
48081 if test "$wxUSE_TREECTRL" = "yes"; then
48082 if test "$wxUSE_IMAGLIST" = "yes"; then
48083 cat >>confdefs.h
<<\_ACEOF
48084 #define wxUSE_TREECTRL 1
48088 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
48090 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
48091 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
48095 if test "$wxUSE_TREELISTCTRL" = "yes"; then
48096 cat >>confdefs.h
<<\_ACEOF
48097 #define wxUSE_TREELISTCTRL 1
48103 if test "$wxUSE_POPUPWIN" = "yes"; then
48104 if test "$wxUSE_OLD_COCOA" = 1 ; then
48105 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
48106 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
48108 if test "$wxUSE_PM" = 1; then
48109 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
48110 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
48112 cat >>confdefs.h
<<\_ACEOF
48113 #define wxUSE_POPUPWIN 1
48116 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS popup"
48123 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
48124 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
48125 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
48126 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
48128 cat >>confdefs.h
<<\_ACEOF
48129 #define wxUSE_DIALUP_MANAGER 1
48132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
48136 if test "$wxUSE_TIPWINDOW" = "yes"; then
48137 if test "$wxUSE_PM" = 1; then
48138 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
48139 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
48141 cat >>confdefs.h
<<\_ACEOF
48142 #define wxUSE_TIPWINDOW 1
48148 if test "$USES_CONTROLS" = 1; then
48149 cat >>confdefs.h
<<\_ACEOF
48150 #define wxUSE_CONTROLS 1
48156 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
48157 cat >>confdefs.h
<<\_ACEOF
48158 #define wxUSE_ACCESSIBILITY 1
48161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS access"
48164 if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
48165 cat >>confdefs.h
<<\_ACEOF
48166 #define wxUSE_ARTPROVIDER_STD 1
48171 if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
48172 if test "$wxUSE_GTK" != 1; then
48173 if test "$wxUSE_LIBPNG" != no
-a \
48174 "$wxUSE_IMAGE" = yes -a \
48175 "$wxUSE_STREAMS" = yes; then
48176 wxUSE_ARTPROVIDER_TANGO
="yes"
48181 if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
48182 cat >>confdefs.h
<<\_ACEOF
48183 #define wxUSE_ARTPROVIDER_TANGO 1
48188 if test "$wxUSE_DRAGIMAGE" = "yes"; then
48189 cat >>confdefs.h
<<\_ACEOF
48190 #define wxUSE_DRAGIMAGE 1
48193 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
48196 if test "$wxUSE_EXCEPTIONS" = "yes"; then
48197 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
48198 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
48199 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
48201 cat >>confdefs.h
<<\_ACEOF
48202 #define wxUSE_EXCEPTIONS 1
48205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS except"
48210 if test "$wxUSE_HTML" = "yes"; then
48211 cat >>confdefs.h
<<\_ACEOF
48212 #define wxUSE_HTML 1
48216 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
48218 if test "$wxUSE_WEBKIT" = "yes"; then
48219 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48220 old_CPPFLAGS
="$CPPFLAGS"
48221 CPPFLAGS
="-x objective-c++ $CPPFLAGS"
48222 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48223 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48224 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48225 echo $ECHO_N "(cached) $ECHO_C" >&6
48227 cat >conftest.
$ac_ext <<_ACEOF
48230 cat confdefs.h
>>conftest.
$ac_ext
48231 cat >>conftest.
$ac_ext <<_ACEOF
48232 /* end confdefs.h. */
48234 #include <Carbon/Carbon.h>
48235 #include <WebKit/WebKit.h>
48238 #include <WebKit/HIWebView.h>
48240 rm -f conftest.
$ac_objext
48241 if { (ac_try
="$ac_compile"
48242 case "(($ac_try" in
48243 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48244 *) ac_try_echo=$ac_try;;
48246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48247 (eval "$ac_compile") 2>conftest.er1
48249 grep -v '^ *+' conftest.er1 >conftest.err
48251 cat conftest.err >&5
48252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48253 (exit $ac_status); } && {
48254 test -z "$ac_c_werror_flag" ||
48255 test ! -s conftest.err
48256 } && test -s conftest.$ac_objext; then
48257 ac_cv_header_WebKit_HIWebView_h=yes
48259 echo "$as_me: failed program was:" >&5
48260 sed 's/^/| /' conftest.$ac_ext >&5
48262 ac_cv_header_WebKit_HIWebView_h=no
48265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48267 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48268 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48269 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48271 cat >>confdefs.h <<\_ACEOF
48272 #define wxUSE_WEBKIT 1
48275 WEBKIT_LINK="-framework WebKit"
48279 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
48280 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
48286 CPPFLAGS="$old_CPPFLAGS"
48287 elif test "$wxUSE_OLD_COCOA" = 1; then
48288 cat >>confdefs.h <<\_ACEOF
48289 #define wxUSE_WEBKIT 1
48295 if test "$wxUSE_WEBKIT" = "yes"; then
48296 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
48301 if test "$wxUSE_XRC" = "yes"; then
48302 if test "$wxUSE_XML" != "yes"; then
48303 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
48304 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
48307 cat >>confdefs.h <<\_ACEOF
48308 #define wxUSE_XRC 1
48312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
48317 if test "$wxUSE_AUI" = "yes"; then
48318 cat >>confdefs.h <<\_ACEOF
48319 #define wxUSE_AUI 1
48323 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
48327 if test "$wxUSE_PROPGRID" = "yes"; then
48328 cat >>confdefs.h <<\_ACEOF
48329 #define wxUSE_PROPGRID 1
48333 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
48337 if test "$wxUSE_RIBBON" = "yes"; then
48338 cat >>confdefs.h <<\_ACEOF
48339 #define wxUSE_RIBBON 1
48343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
48347 if test "$wxUSE_STC" = "yes"; then
48348 cat >>confdefs.h <<\_ACEOF
48349 #define wxUSE_STC 1
48353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
48355 # Extract the first word of "python", so it can be a program name with args.
48356 set dummy python; ac_word=$2
48357 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48359 if test "${ac_cv_path_PYTHON+set}" = set; then
48360 echo $ECHO_N "(cached) $ECHO_C" >&6
48364 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
48367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48368 for as_dir in $PATH
48371 test -z "$as_dir" && as_dir=.
48372 for ac_exec_ext in '' $ac_executable_extensions; do
48373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48374 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
48375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48385 PYTHON=$ac_cv_path_PYTHON
48386 if test -n "$PYTHON"; then
48387 { echo "$as_me:$LINENO: result: $PYTHON" >&5
48388 echo "${ECHO_T}$PYTHON" >&6; }
48390 { echo "$as_me:$LINENO: result: no" >&5
48391 echo "${ECHO_T}no" >&6; }
48395 if test "x$PYTHON" = "x"; then
48401 if test "$wxUSE_MENUS" = "yes"; then
48402 cat >>confdefs.h <<\_ACEOF
48403 #define wxUSE_MENUS 1
48406 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
48409 if test "$wxUSE_MIMETYPE" = "yes"; then
48410 cat >>confdefs.h <<\_ACEOF
48411 #define wxUSE_MIMETYPE 1
48416 if test "$wxUSE_MINIFRAME" = "yes"; then
48417 cat >>confdefs.h <<\_ACEOF
48418 #define wxUSE_MINIFRAME 1
48423 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
48424 cat >>confdefs.h <<\_ACEOF
48425 #define wxUSE_SYSTEM_OPTIONS 1
48430 if test "$wxUSE_TASKBARICON" = "yes"; then
48431 cat >>confdefs.h <<\_ACEOF
48432 #define wxUSE_TASKBARICON 1
48435 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
48439 if test "$wxUSE_VALIDATORS" = "yes"; then
48440 cat >>confdefs.h <<\_ACEOF
48441 #define wxUSE_VALIDATORS 1
48444 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
48447 if test "$wxUSE_PALETTE" = "yes" ; then
48448 if test "$wxUSE_DFB" = 1; then
48449 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
48450 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
48453 cat >>confdefs.h <<\_ACEOF
48454 #define wxUSE_PALETTE 1
48460 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
48461 LIBS=" -lunicows $LIBS"
48465 if test "$wxUSE_RICHTEXT" = "yes"; then
48466 cat >>confdefs.h <<\_ACEOF
48467 #define wxUSE_RICHTEXT 1
48471 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
48474 if test "$wxUSE_WEBVIEW" = "yes"; then
48475 USE_WEBVIEW_WEBKIT=0
48476 if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
48477 if test "$wxUSE_GTK" = 1; then
48478 { echo "$as_me:$LINENO: checking for webkitgtk libraries" >&5
48479 echo $ECHO_N "checking for webkitgtk libraries... $ECHO_C" >&6; }
48482 for ac_dir in $SEARCH_LIB
48484 for ac_extension in a so sl dylib dll.a; do
48485 if test -f "$ac_dir/libwebkitgtk-1.0.$ac_extension"; then
48486 ac_find_libraries=$ac_dir
48492 if test "$ac_find_libraries" != "" ; then
48494 if test "$ac_find_libraries" = "default location"; then
48497 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
48499 if test $result = 0; then
48502 ac_path_to_link=" -L$ac_find_libraries"
48506 if test "$ac_path_to_link" != " -L/usr/lib" ; then
48507 LDFLAGS="$LDFLAGS $ac_path_to_link"
48509 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lwebkitgtk-1.0"
48510 { echo "$as_me:$LINENO: result: yes" >&5
48511 echo "${ECHO_T}yes" >&6; }
48513 { echo "$as_me:$LINENO: checking for webkitgtk headers" >&5
48514 echo $ECHO_N "checking for webkitgtk headers... $ECHO_C" >&6; }
48517 for ac_dir in $SEARCH_INCLUDE /usr/include/webkit-1.0 /usr/include
48519 if test -f "$ac_dir/webkit/webkit.h"; then
48520 ac_find_includes=$ac_dir
48525 if test "$ac_find_includes" != "" ; then
48526 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
48527 echo "${ECHO_T}found in $ac_find_includes" >&6; }
48529 if test "x$ac_find_includes" = "x/usr/include"; then
48530 ac_path_to_include=""
48532 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
48534 if test $result = 0; then
48535 ac_path_to_include=""
48537 ac_path_to_include=" -I$ac_find_includes"
48541 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
48543 { echo "$as_me:$LINENO: checking for libsoup headers" >&5
48544 echo $ECHO_N "checking for libsoup headers... $ECHO_C" >&6; }
48547 for ac_dir in $SEARCH_INCLUDE /usr/include/libsoup-2.4 /usr/include
48549 if test -f "$ac_dir/libsoup/soup.h"; then
48550 ac_find_includes=$ac_dir
48555 if test "$ac_find_includes" != "" ; then
48556 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
48557 echo "${ECHO_T}found in $ac_find_includes" >&6; }
48559 if test "x$ac_find_includes" = "x/usr/include"; then
48560 ac_path_to_include=""
48562 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
48564 if test $result = 0; then
48565 ac_path_to_include=""
48567 ac_path_to_include=" -I$ac_find_includes"
48571 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
48573 USE_WEBVIEW_WEBKIT=1
48575 { echo "$as_me:$LINENO: result: not found" >&5
48576 echo "${ECHO_T}not found" >&6; }
48577 { echo "$as_me:$LINENO: WARNING: libsoup headers not found; disabling WebKit backend" >&5
48578 echo "$as_me: WARNING: libsoup headers not found; disabling WebKit backend" >&2;}
48581 { echo "$as_me:$LINENO: result: not found" >&5
48582 echo "${ECHO_T}not found" >&6; }
48583 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling WebKit backend" >&5
48584 echo "$as_me: WARNING: WebKit headers not found; disabling WebKit backend" >&2;}
48587 { echo "$as_me:$LINENO: result: no" >&5
48588 echo "${ECHO_T}no" >&6; }
48589 { echo "$as_me:$LINENO: WARNING: WebKit libraries not found; disabling WebKit backend" >&5
48590 echo "$as_me: WARNING: WebKit libraries not found; disabling WebKit backend" >&2;}
48592 elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
48593 old_CPPFLAGS="$CPPFLAGS"
48594 CPPFLAGS="-x objective-c++ $CPPFLAGS"
48595 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
48596 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
48597 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
48598 echo $ECHO_N "(cached) $ECHO_C" >&6
48600 cat >conftest.$ac_ext <<_ACEOF
48603 cat confdefs.h >>conftest.$ac_ext
48604 cat >>conftest.$ac_ext <<_ACEOF
48605 /* end confdefs.h. */
48607 #include <Carbon/Carbon.h>
48608 #include <WebKit/WebKit.h>
48611 #include <WebKit/HIWebView.h>
48613 rm -f conftest.$ac_objext
48614 if { (ac_try="$ac_compile"
48615 case "(($ac_try" in
48616 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
48617 *) ac_try_echo
=$ac_try;;
48619 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48620 (eval "$ac_compile") 2>conftest.er1
48622 grep -v '^ *+' conftest.er1
>conftest.err
48624 cat conftest.err
>&5
48625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48626 (exit $ac_status); } && {
48627 test -z "$ac_c_werror_flag" ||
48628 test ! -s conftest.err
48629 } && test -s conftest.
$ac_objext; then
48630 ac_cv_header_WebKit_HIWebView_h
=yes
48632 echo "$as_me: failed program was:" >&5
48633 sed 's/^/| /' conftest.
$ac_ext >&5
48635 ac_cv_header_WebKit_HIWebView_h
=no
48638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48640 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
48641 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
48642 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
48644 USE_WEBVIEW_WEBKIT
=1
48645 WEBKIT_LINK
="-framework WebKit"
48649 { echo "$as_me:$LINENO: WARNING: WebKit headers not found" >&5
48650 echo "$as_me: WARNING: WebKit headers not found" >&2;}
48655 CPPFLAGS
="$old_CPPFLAGS"
48660 if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
48661 if test "$USE_WEBVIEW_WEBKIT" = 1; then
48662 wxUSE_WEBVIEW
="yes"
48663 cat >>confdefs.h
<<\_ACEOF
48664 #define wxUSE_WEBVIEW_WEBKIT 1
48668 { echo "$as_me:$LINENO: WARNING: WebKit not available, disabling wxWebView" >&5
48669 echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
48671 elif test "$wxUSE_MSW" = 1; then
48672 if test "wxUSE_WEBVIEW_IE" = "yes"; then
48673 wxUSE_WEBVIEW
="yes"
48674 cat >>confdefs.h
<<\_ACEOF
48675 #define wxUSE_WEBVIEW_IE 1
48682 if test "$wxUSE_WEBVIEW" = "yes"; then
48684 cat >>confdefs.h
<<\_ACEOF
48685 #define wxUSE_WEBVIEW 1
48688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS webview"
48694 if test "$wxUSE_IMAGE" = "yes" ; then
48695 cat >>confdefs.h
<<\_ACEOF
48696 #define wxUSE_IMAGE 1
48700 if test "$wxUSE_GIF" = "yes" ; then
48701 cat >>confdefs.h
<<\_ACEOF
48702 #define wxUSE_GIF 1
48707 if test "$wxUSE_PCX" = "yes" ; then
48708 cat >>confdefs.h
<<\_ACEOF
48709 #define wxUSE_PCX 1
48714 if test "$wxUSE_TGA" = "yes" ; then
48715 cat >>confdefs.h
<<\_ACEOF
48716 #define wxUSE_TGA 1
48721 if test "$wxUSE_IFF" = "yes" ; then
48722 cat >>confdefs.h
<<\_ACEOF
48723 #define wxUSE_IFF 1
48728 if test "$wxUSE_PNM" = "yes" ; then
48729 cat >>confdefs.h
<<\_ACEOF
48730 #define wxUSE_PNM 1
48735 if test "$wxUSE_XPM" = "yes" ; then
48736 cat >>confdefs.h
<<\_ACEOF
48737 #define wxUSE_XPM 1
48742 if test "$wxUSE_ICO_CUR" = "yes" ; then
48743 cat >>confdefs.h
<<\_ACEOF
48744 #define wxUSE_ICO_CUR 1
48751 if test "$wxUSE_ABOUTDLG" = "yes"; then
48752 cat >>confdefs.h
<<\_ACEOF
48753 #define wxUSE_ABOUTDLG 1
48758 if test "$wxUSE_CHOICEDLG" = "yes"; then
48759 cat >>confdefs.h
<<\_ACEOF
48760 #define wxUSE_CHOICEDLG 1
48765 if test "$wxUSE_COLOURDLG" = "yes"; then
48766 cat >>confdefs.h
<<\_ACEOF
48767 #define wxUSE_COLOURDLG 1
48772 if test "$wxUSE_FILEDLG" = "yes"; then
48773 cat >>confdefs.h
<<\_ACEOF
48774 #define wxUSE_FILEDLG 1
48779 if test "$wxUSE_FINDREPLDLG" = "yes"; then
48780 cat >>confdefs.h
<<\_ACEOF
48781 #define wxUSE_FINDREPLDLG 1
48786 if test "$wxUSE_FONTDLG" = "yes"; then
48787 cat >>confdefs.h
<<\_ACEOF
48788 #define wxUSE_FONTDLG 1
48793 if test "$wxUSE_DIRDLG" = "yes"; then
48794 if test "$wxUSE_TREECTRL" != "yes"; then
48795 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
48796 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
48798 cat >>confdefs.h
<<\_ACEOF
48799 #define wxUSE_DIRDLG 1
48805 if test "$wxUSE_MSGDLG" = "yes"; then
48806 cat >>confdefs.h
<<\_ACEOF
48807 #define wxUSE_MSGDLG 1
48812 if test "$wxUSE_NUMBERDLG" = "yes"; then
48813 cat >>confdefs.h
<<\_ACEOF
48814 #define wxUSE_NUMBERDLG 1
48819 if test "$wxUSE_PROGRESSDLG" = "yes"; then
48820 cat >>confdefs.h
<<\_ACEOF
48821 #define wxUSE_PROGRESSDLG 1
48826 if test "$wxUSE_SPLASH" = "yes"; then
48827 cat >>confdefs.h
<<\_ACEOF
48828 #define wxUSE_SPLASH 1
48831 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splash"
48834 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
48835 cat >>confdefs.h
<<\_ACEOF
48836 #define wxUSE_STARTUP_TIPS 1
48841 if test "$wxUSE_TEXTDLG" = "yes"; then
48842 cat >>confdefs.h
<<\_ACEOF
48843 #define wxUSE_TEXTDLG 1
48848 if test "$wxUSE_WIZARDDLG" = "yes"; then
48849 cat >>confdefs.h
<<\_ACEOF
48850 #define wxUSE_WIZARDDLG 1
48853 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
48857 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
48858 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
48859 cat >>confdefs.h
<<\_ACEOF
48860 #define wxUSE_OWNER_DRAWN 1
48867 if test "$wxUSE_MSW" = 1 ; then
48869 if test "$wxUSE_DC_CACHEING" = "yes"; then
48870 cat >>confdefs.h
<<\_ACEOF
48871 #define wxUSE_DC_CACHEING 1
48876 if test "$wxUSE_DIB" = "yes"; then
48877 cat >>confdefs.h
<<\_ACEOF
48878 #define wxUSE_WXDIB 1
48883 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
48884 cat >>confdefs.h
<<\_ACEOF
48885 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
48890 if test "$wxUSE_UXTHEME" = "yes"; then
48891 cat >>confdefs.h
<<\_ACEOF
48892 #define wxUSE_UXTHEME 1
48899 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
48900 cat >>confdefs.h
<<\_ACEOF
48901 #define wxUSE_AUTOID_MANAGEMENT 1
48906 if test "$USE_WIN32" = 1 ; then
48907 if test "$wxUSE_INICONF" = "yes"; then
48908 cat >>confdefs.h
<<\_ACEOF
48909 #define wxUSE_INICONF 1
48914 if test "$wxUSE_REGKEY" = "yes"; then
48915 cat >>confdefs.h
<<\_ACEOF
48916 #define wxUSE_REGKEY 1
48923 if test "$wxUSE_MAC" = 1; then
48924 wxUSE_GRAPHICS_CONTEXT
="yes"
48927 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
48929 if test "$wxUSE_MSW" = 1; then
48930 { echo "$as_me:$LINENO: checking if GDI+ is available" >&5
48931 echo $ECHO_N "checking if GDI+ is available... $ECHO_C" >&6; }
48932 if test "${wx_cv_lib_gdiplus+set}" = set; then
48933 echo $ECHO_N "(cached) $ECHO_C" >&6
48937 ac_cpp
='$CXXCPP $CPPFLAGS'
48938 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48939 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48940 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48942 cat >conftest.
$ac_ext <<_ACEOF
48945 cat confdefs.h
>>conftest.
$ac_ext
48946 cat >>conftest.
$ac_ext <<_ACEOF
48947 /* end confdefs.h. */
48948 #include <windows.h>
48949 #include <gdiplus.h>
48954 using namespace Gdiplus;
48960 rm -f conftest.
$ac_objext
48961 if { (ac_try
="$ac_compile"
48962 case "(($ac_try" in
48963 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
48964 *) ac_try_echo=$ac_try;;
48966 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48967 (eval "$ac_compile") 2>conftest.er1
48969 grep -v '^ *+' conftest.er1 >conftest.err
48971 cat conftest.err >&5
48972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48973 (exit $ac_status); } && {
48974 test -z "$ac_cxx_werror_flag" ||
48975 test ! -s conftest.err
48976 } && test -s conftest.$ac_objext; then
48977 wx_cv_lib_gdiplus=yes
48979 echo "$as_me: failed program was:" >&5
48980 sed 's/^/| /' conftest.$ac_ext >&5
48982 wx_cv_lib_gdiplus=no
48986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48988 ac_cpp='$CPP $CPPFLAGS'
48989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48996 { echo "$as_me:$LINENO: result: $wx_cv_lib_gdiplus" >&5
48997 echo "${ECHO_T}$wx_cv_lib_gdiplus" >&6; }
48998 if test "$wx_cv_lib_gdiplus" = "yes"; then
49001 elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
49004 { echo "$as_me:$LINENO: checking for CAIRO" >&5
49005 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
49007 if test -n "$PKG_CONFIG"; then
49008 if test -n "$CAIRO_CFLAGS"; then
49009 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
49011 if test -n "$PKG_CONFIG" && \
49012 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49013 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49016 (exit $ac_status); }; then
49017 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev
/null
`
49025 if test -n "$PKG_CONFIG"; then
49026 if test -n "$CAIRO_LIBS"; then
49027 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
49029 if test -n "$PKG_CONFIG" && \
49030 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
49031 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
49033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49034 (exit $ac_status); }; then
49035 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev
/null
`
49046 if test $pkg_failed = yes; then
49048 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49049 _pkg_short_errors_supported=yes
49051 _pkg_short_errors_supported=no
49053 if test $_pkg_short_errors_supported = yes; then
49054 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
49056 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
49058 # Put the nasty error message in config.log where it belongs
49059 echo "$CAIRO_PKG_ERRORS" >&5
49061 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
49062 echo "$as_me: WARNING: Cairo library not found" >&2;}
49064 elif test $pkg_failed = untried; then
49065 { echo "$as_me:$LINENO: WARNING: Cairo library not found" >&5
49066 echo "$as_me: WARNING: Cairo library not found" >&2;}
49069 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
49070 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
49071 { echo "$as_me:$LINENO: result: yes" >&5
49072 echo "${ECHO_T}yes" >&6; }
49075 if test "$wx_has_graphics" = 1; then
49077 LIBS="$LIBS $CAIRO_LIBS"
49079 for ac_func in cairo_push_group
49081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49082 { echo "$as_me:$LINENO: checking for $ac_func" >&5
49083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
49084 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
49085 echo $ECHO_N "(cached) $ECHO_C" >&6
49087 cat >conftest.$ac_ext <<_ACEOF
49090 cat confdefs.h >>conftest.$ac_ext
49091 cat >>conftest.$ac_ext <<_ACEOF
49092 /* end confdefs.h. */
49093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49095 #define $ac_func innocuous_$ac_func
49097 /* System header to define __stub macros and hopefully few prototypes,
49098 which can conflict with char $ac_func (); below.
49099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49100 <limits.h> exists even on freestanding compilers. */
49103 # include <limits.h>
49105 # include <assert.h>
49110 /* Override any GCC internal prototype to avoid an error.
49111 Use char because int might match the return type of a GCC
49112 builtin and then its argument prototype would still apply. */
49117 /* The GNU C library defines this for functions which it implements
49118 to always fail with ENOSYS. Some functions are actually named
49119 something starting with __ and the normal name is an alias. */
49120 #if defined __stub_$ac_func || defined __stub___$ac_func
49127 return $ac_func ();
49132 rm -f conftest.$ac_objext conftest$ac_exeext
49133 if { (ac_try="$ac_link"
49134 case "(($ac_try" in
49135 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
49136 *) ac_try_echo
=$ac_try;;
49138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49139 (eval "$ac_link") 2>conftest.er1
49141 grep -v '^ *+' conftest.er1
>conftest.err
49143 cat conftest.err
>&5
49144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49145 (exit $ac_status); } && {
49146 test -z "$ac_c_werror_flag" ||
49147 test ! -s conftest.err
49148 } && test -s conftest
$ac_exeext &&
49149 $as_test_x conftest
$ac_exeext; then
49150 eval "$as_ac_var=yes"
49152 echo "$as_me: failed program was:" >&5
49153 sed 's/^/| /' conftest.
$ac_ext >&5
49155 eval "$as_ac_var=no"
49158 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
49159 conftest
$ac_exeext conftest.
$ac_ext
49161 ac_res
=`eval echo '${'$as_ac_var'}'`
49162 { echo "$as_me:$LINENO: result: $ac_res" >&5
49163 echo "${ECHO_T}$ac_res" >&6; }
49164 if test `eval echo '${'$as_ac_var'}'` = yes; then
49165 cat >>confdefs.h
<<_ACEOF
49166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49173 if test "$ac_cv_func_cairo_push_group" = "no"; then
49175 { echo "$as_me:$LINENO: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
49176 echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
49178 cat >>confdefs.h
<<\_ACEOF
49179 #define wxUSE_CAIRO 1
49183 if test "$wxUSE_GTK" != 1; then
49184 CPPFLAGS
="$CAIRO_CFLAGS $CPPFLAGS"
49185 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $CAIRO_LIBS"
49193 if test "$wx_has_graphics" = 1; then
49194 cat >>confdefs.h
<<\_ACEOF
49195 #define wxUSE_GRAPHICS_CONTEXT 1
49199 { echo "$as_me:$LINENO: WARNING: wxGraphicsContext won't be available" >&5
49200 echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
49207 if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
49210 if test "$wxUSE_GTK" = 1; then
49211 wxUSE_GSTREAMER
="no"
49213 GST_VERSION_MAJOR
=0
49214 GST_VERSION_MINOR
=10
49215 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
49217 if test "$wxUSE_GSTREAMER8" = "no"; then
49220 { echo "$as_me:$LINENO: checking for GST" >&5
49221 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49223 if test -n "$PKG_CONFIG"; then
49224 if test -n "$GST_CFLAGS"; then
49225 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
49227 if test -n "$PKG_CONFIG" && \
49228 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49229 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49232 (exit $ac_status); }; then
49233 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49241 if test -n "$PKG_CONFIG"; then
49242 if test -n "$GST_LIBS"; then
49243 pkg_cv_GST_LIBS
="$GST_LIBS"
49245 if test -n "$PKG_CONFIG" && \
49246 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
49247 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
49249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49250 (exit $ac_status); }; then
49251 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
49262 if test $pkg_failed = yes; then
49264 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49265 _pkg_short_errors_supported
=yes
49267 _pkg_short_errors_supported
=no
49269 if test $_pkg_short_errors_supported = yes; then
49270 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49272 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
49274 # Put the nasty error message in config.log where it belongs
49275 echo "$GST_PKG_ERRORS" >&5
49278 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49279 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49280 GST_VERSION_MINOR
=8
49283 elif test $pkg_failed = untried
; then
49285 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
49286 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
49287 GST_VERSION_MINOR
=8
49291 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49292 GST_LIBS
=$pkg_cv_GST_LIBS
49293 { echo "$as_me:$LINENO: result: yes" >&5
49294 echo "${ECHO_T}yes" >&6; }
49296 wxUSE_GSTREAMER
="yes"
49297 GST_LIBS
="$GST_LIBS -lgstinterfaces-$GST_VERSION"
49301 GST_VERSION_MINOR
=8
49304 if test $GST_VERSION_MINOR = "8"; then
49305 GST_VERSION
=$GST_VERSION_MAJOR.
$GST_VERSION_MINOR
49308 { echo "$as_me:$LINENO: checking for GST" >&5
49309 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
49311 if test -n "$PKG_CONFIG"; then
49312 if test -n "$GST_CFLAGS"; then
49313 pkg_cv_GST_CFLAGS
="$GST_CFLAGS"
49315 if test -n "$PKG_CONFIG" && \
49316 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49317 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49320 (exit $ac_status); }; then
49321 pkg_cv_GST_CFLAGS
=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49329 if test -n "$PKG_CONFIG"; then
49330 if test -n "$GST_LIBS"; then
49331 pkg_cv_GST_LIBS
="$GST_LIBS"
49333 if test -n "$PKG_CONFIG" && \
49334 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
49335 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
49337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49338 (exit $ac_status); }; then
49339 pkg_cv_GST_LIBS
=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
49350 if test $pkg_failed = yes; then
49352 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
49353 _pkg_short_errors_supported
=yes
49355 _pkg_short_errors_supported
=no
49357 if test $_pkg_short_errors_supported = yes; then
49358 GST_PKG_ERRORS
=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49360 GST_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
49362 # Put the nasty error message in config.log where it belongs
49363 echo "$GST_PKG_ERRORS" >&5
49366 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49367 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49369 elif test $pkg_failed = untried
; then
49371 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
49372 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
49375 GST_CFLAGS
=$pkg_cv_GST_CFLAGS
49376 GST_LIBS
=$pkg_cv_GST_LIBS
49377 { echo "$as_me:$LINENO: result: yes" >&5
49378 echo "${ECHO_T}yes" >&6; }
49379 wxUSE_GSTREAMER
="yes"
49384 if test "$wxUSE_GSTREAMER" = "yes"; then
49385 CPPFLAGS
="$GST_CFLAGS $CPPFLAGS"
49386 EXTRALIBS_MEDIA
="$GST_LIBS"
49388 cat >>confdefs.h
<<\_ACEOF
49389 #define wxUSE_GSTREAMER 1
49397 if test $USE_MEDIA = 1; then
49398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mediaplayer"
49399 cat >>confdefs.h
<<\_ACEOF
49400 #define wxUSE_MEDIACTRL 1
49404 if test "$wxUSE_MEDIACTRL" = "yes"; then
49405 { { echo "$as_me:$LINENO: error: GStreamer not available" >&5
49406 echo "$as_me: error: GStreamer not available" >&2;}
49407 { (exit 1); exit 1; }; }
49409 { echo "$as_me:$LINENO: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
49410 echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
49416 if test "$cross_compiling" != "no"; then
49419 OSINFO
=`uname -s -r -m`
49420 OSINFO
="\"$OSINFO\""
49423 cat >>confdefs.h
<<_ACEOF
49424 #define WXWIN_OS_DESCRIPTION $OSINFO
49429 if test "x$prefix" != "xNONE"; then
49432 wxPREFIX
=$ac_default_prefix
49435 cat >>confdefs.h
<<_ACEOF
49436 #define wxINSTALL_PREFIX "$wxPREFIX"
49442 STD_BASE_LIBS
="base"
49444 BUILT_WX_LIBS
="base"
49445 ALL_WX_LIBS
="xrc stc gl media qa html adv core xml net base"
49447 if test "$wxUSE_SOCKETS" = "yes" ; then
49448 STD_BASE_LIBS
="net $STD_BASE_LIBS"
49449 BUILT_WX_LIBS
="net $BUILT_WX_LIBS"
49451 if test "$wxUSE_XML" = "yes" ; then
49452 STD_BASE_LIBS
="xml $STD_BASE_LIBS"
49453 BUILT_WX_LIBS
="xml $BUILT_WX_LIBS"
49456 if test "$wxUSE_GUI" = "yes"; then
49457 STD_GUI_LIBS
="adv core"
49458 BUILT_WX_LIBS
="$STD_GUI_LIBS $BUILT_WX_LIBS"
49460 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49461 STD_GUI_LIBS
="qa $STD_GUI_LIBS"
49462 BUILT_WX_LIBS
="qa $BUILT_WX_LIBS"
49464 if test "$wxUSE_HTML" = "yes" ; then
49465 STD_GUI_LIBS
="html $STD_GUI_LIBS"
49466 BUILT_WX_LIBS
="html $BUILT_WX_LIBS"
49468 if test "$wxUSE_MEDIACTRL" = "yes" ; then
49469 BUILT_WX_LIBS
="media $BUILT_WX_LIBS"
49471 if test "$wxUSE_OPENGL" = "yes" ; then
49472 BUILT_WX_LIBS
="gl $BUILT_WX_LIBS"
49474 if test "$wxUSE_AUI" = "yes" ; then
49475 BUILT_WX_LIBS
="aui $BUILT_WX_LIBS"
49477 if test "$wxUSE_PROPGRID" = "yes" ; then
49478 BUILT_WX_LIBS
="propgrid $BUILT_WX_LIBS"
49480 if test "$wxUSE_RIBBON" = "yes" ; then
49481 BUILT_WX_LIBS
="ribbon $BUILT_WX_LIBS"
49483 if test "$wxUSE_RICHTEXT" = "yes" ; then
49484 BUILT_WX_LIBS
="richtext $BUILT_WX_LIBS"
49486 if test "$wxUSE_STC" = "yes" ; then
49487 BUILT_WX_LIBS
="stc $BUILT_WX_LIBS"
49489 if test "$wxUSE_WEBVIEW" = "yes" ; then
49490 STD_GUI_LIBS
="webview $STD_GUI_LIBS"
49491 BUILT_WX_LIBS
="webview $BUILT_WX_LIBS"
49493 if test "$wxUSE_XRC" = "yes" ; then
49494 STD_GUI_LIBS
="xrc $STD_GUI_LIBS"
49495 BUILT_WX_LIBS
="xrc $BUILT_WX_LIBS"
49506 if test "$wxUSE_MAC" = 1 ; then
49507 if test "$USE_DARWIN" = 1; then
49508 if test "$wxUSE_OSX_IPHONE" = 1; then
49509 EXTRA_FRAMEWORKS
="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
49511 EXTRA_FRAMEWORKS
="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL -framework QuickTime"
49515 if test "$wxUSE_OLD_COCOA" = 1 ; then
49516 EXTRA_FRAMEWORKS
="-framework IOKit -framework Cocoa"
49517 if test "$wxUSE_MEDIACTRL" = "yes"; then
49518 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework QuickTime"
49521 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
49522 EXTRA_FRAMEWORKS
="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
49525 LDFLAGS
="$LDFLAGS $EXTRA_FRAMEWORKS"
49526 WXCONFIG_LDFLAGS
="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
49528 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
49530 if test "$wxUSE_GUI" = "yes"; then
49533 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
49534 erase event exec font image minimal render \
49535 shaped svg taborder vscroll widgets wrapsizer"
49537 if test "$wxUSE_MONOLITHIC" != "yes"; then
49538 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS console"
49540 if test "$TOOLKIT" = "MSW"; then
49541 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS regtest"
49542 if test "$wxUSE_UNIVERSAL" != "yes"; then
49543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
49546 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
49547 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ownerdrw"
49550 SAMPLES_SUBDIRS
="console"
49551 if test "$wxUSE_SOCKETS" = "yes" ; then
49552 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
49554 if test "$wxUSE_IPC" = "yes" ; then
49555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS ipc"
49560 if test "x$INTELCC" = "xyes" ; then
49561 CWARNINGS
="-Wall -wd810,869,981,1418,1572,1684,2259"
49562 elif test "$GCC" = yes ; then
49563 CWARNINGS
="-Wall -Wundef"
49566 if test "x$INTELCXX" = "xyes" ; then
49567 CXXWARNINGS
="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
49568 elif test "$GXX" = yes ; then
49569 CXXWARNINGS
="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
49570 { echo "$as_me:$LINENO: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
49571 echo $ECHO_N "checking CXXWARNINGS for gcc -Woverloaded-virtual... $ECHO_C" >&6; }
49572 if test "${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+set}" = set; then
49573 echo $ECHO_N "(cached) $ECHO_C" >&6
49575 ac_cv_cxxflags_gcc_option__Woverloaded_virtual
="no, unknown"
49578 ac_cpp
='$CXXCPP $CPPFLAGS'
49579 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49580 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49581 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
49583 ac_save_CXXFLAGS
="$CXXFLAGS"
49584 for ac_arg
in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
49585 do CXXFLAGS
="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
49586 cat >conftest.
$ac_ext <<_ACEOF
49589 cat confdefs.h
>>conftest.
$ac_ext
49590 cat >>conftest.
$ac_ext <<_ACEOF
49591 /* end confdefs.h. */
49601 rm -f conftest.
$ac_objext
49602 if { (ac_try
="$ac_compile"
49603 case "(($ac_try" in
49604 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
49605 *) ac_try_echo=$ac_try;;
49607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49608 (eval "$ac_compile") 2>conftest.er1
49610 grep -v '^ *+' conftest.er1 >conftest.err
49612 cat conftest.err >&5
49613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49614 (exit $ac_status); } && {
49615 test -z "$ac_cxx_werror_flag" ||
49616 test ! -s conftest.err
49617 } && test -s conftest.$ac_objext; then
49618 ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
49620 echo "$as_me: failed program was:" >&5
49621 sed 's/^/| /' conftest.$ac_ext >&5
49626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49628 CXXFLAGS="$ac_save_CXXFLAGS"
49630 ac_cpp='$CPP $CPPFLAGS'
49631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49637 { echo "$as_me:$LINENO: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
49638 echo "${ECHO_T}$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
49639 case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
49643 if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
49644 then { (echo "$as_me:$LINENO: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual") >&5
49645 (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
49647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49648 (exit $ac_status); }
49649 else { (echo "$as_me:$LINENO: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\"") >&5
49650 (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
49652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49653 (exit $ac_status); }
49654 CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
49660 if test "$wxUSE_MAC" = 1 ; then
49661 CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
49666 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
49667 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
49670 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
49671 -I\\${wx_top_builddir}/lib
/wx
/include
/${TOOLCHAIN_FULLNAME} \
49672 -I\\${top_srcdir}/include
$TOOLKIT_INCLUDE \
49675 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
49676 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
49677 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
49678 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
49679 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
49681 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
49684 if test "x$MWCC" = "xyes"; then
49686 CC="$CC -cwd source -I-"
49687 CXX="$CXX -cwd source -I-"
49692 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
49693 EXTRALIBS_XML="$EXPAT_LINK"
49694 EXTRALIBS_HTML="$MSPACK_LINK"
49695 EXTRALIBS_MEDIA="$GST_LIBS"
49696 EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
49697 if test "$wxUSE_GUI" = "yes"; then
49698 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
49700 if test "$wxUSE_OPENGL" = "yes"; then
49701 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
49704 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
49706 WXCONFIG_LIBS="$LIBS"
49708 if test "$wxUSE_REGEX" = "builtin" ; then
49709 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
49711 if test "$wxUSE_EXPAT" = "builtin" ; then
49712 wxconfig_3rdparty="expat $wxconfig_3rdparty"
49714 if test "$wxUSE_LIBTIFF" = "builtin" ; then
49715 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
49717 if test "$wxUSE_LIBJPEG" = "builtin" ; then
49718 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
49720 if test "$wxUSE_LIBPNG" = "builtin" ; then
49721 wxconfig_3rdparty="png $wxconfig_3rdparty"
49723 if test "$wxUSE_ZLIB" = "builtin" ; then
49724 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
49727 for i in $wxconfig_3rdparty ; do
49728 WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
49732 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
49735 case "$wxUNIV_THEMES" in
49737 cat >>confdefs.h <<\_ACEOF
49738 #define wxUSE_ALL_THEMES 1
49744 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
49745 cat >>confdefs.h <<_ACEOF
49746 #define wxUSE_THEME_$t 1
49762 if test $wxUSE_MONOLITHIC = "yes" ; then
49768 if test $wxUSE_PLUGINS = "yes" ; then
49774 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
49780 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
49812 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
49825 TOOLKIT_DESC="GTK+"
49826 if test "$WXGTK2" = 1; then
49827 TOOLKIT_DESC="$TOOLKIT_DESC 2"
49828 if test "$wxUSE_GTKPRINT" = "yes" ; then
49829 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
49831 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
49832 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
49834 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
49835 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
49837 if test "$wxUSE_LIBHILDON" = "yes"; then
49838 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49840 if test "$wxUSE_LIBHILDON2" = "yes"; then
49841 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
49844 if test "$TOOLKIT_EXTRA" != ""; then
49845 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
49851 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
49855 TOOLKIT_DESC="base only"
49859 if test "$wxUSE_WINE" = "yes"; then
49860 BAKEFILE_FORCE_PLATFORM=win32
49863 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
49865 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
49866 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
49867 if test "${wx_cv_gcc_pch_bug+set}" = set; then
49868 echo $ECHO_N "(cached) $ECHO_C" >&6
49871 echo '#include <stdio.h>
49872 const wchar_t test_var[] = L"awidetest";' > conftest.h
49874 echo '#include "conftest.h"
49877 printf("%ls", test_var);
49881 wx_cv_gcc_pch_bug="pch not supported"
49883 if $CXX conftest.h >/dev/null 2>&1
49887 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
49889 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
49890 grep awidetest >/dev/null
49892 wx_cv_gcc_pch_bug=no
49894 wx_cv_gcc_pch_bug=yes
49899 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
49902 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
49903 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
49905 if test "$wx_cv_gcc_pch_bug" = yes; then
49916 if test "x$BAKEFILE_HOST" = "x"; then
49917 if test "x${host}" = "x" ; then
49918 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
49919 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
49920 { (exit 1); exit 1; }; }
49923 BAKEFILE_HOST="${host}"
49926 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
49928 if test -n "$ac_tool_prefix"; then
49929 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
49930 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
49931 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49932 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49933 if test "${ac_cv_prog_RANLIB+set}" = set; then
49934 echo $ECHO_N "(cached) $ECHO_C" >&6
49936 if test -n "$RANLIB"; then
49937 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
49939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49940 for as_dir in $PATH
49943 test -z "$as_dir" && as_dir=.
49944 for ac_exec_ext in '' $ac_executable_extensions; do
49945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49946 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
49947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49956 RANLIB=$ac_cv_prog_RANLIB
49957 if test -n "$RANLIB"; then
49958 { echo "$as_me:$LINENO: result: $RANLIB" >&5
49959 echo "${ECHO_T}$RANLIB" >&6; }
49961 { echo "$as_me:$LINENO: result: no" >&5
49962 echo "${ECHO_T}no" >&6; }
49967 if test -z "$ac_cv_prog_RANLIB"; then
49968 ac_ct_RANLIB=$RANLIB
49969 # Extract the first word of "ranlib", so it can be a program name with args.
49970 set dummy ranlib; ac_word=$2
49971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49973 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
49974 echo $ECHO_N "(cached) $ECHO_C" >&6
49976 if test -n "$ac_ct_RANLIB"; then
49977 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
49979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49980 for as_dir in $PATH
49983 test -z "$as_dir" && as_dir=.
49984 for ac_exec_ext in '' $ac_executable_extensions; do
49985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49986 ac_cv_prog_ac_ct_RANLIB="ranlib"
49987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49996 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
49997 if test -n "$ac_ct_RANLIB"; then
49998 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
49999 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
50001 { echo "$as_me:$LINENO: result: no" >&5
50002 echo "${ECHO_T}no" >&6; }
50005 if test "x$ac_ct_RANLIB" = x; then
50008 case $cross_compiling:$ac_tool_warned in
50010 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50011 whose name does not start with the host triplet. If you think this
50012 configuration is useful to you, please write to autoconf@gnu.org." >&5
50013 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50014 whose name does not start with the host triplet. If you think this
50015 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50016 ac_tool_warned=yes ;;
50018 RANLIB=$ac_ct_RANLIB
50021 RANLIB="$ac_cv_prog_RANLIB"
50024 # Find a good install program. We prefer a C program (faster),
50025 # so one script is as good as another. But avoid the broken or
50026 # incompatible versions:
50027 # SysV /etc/install, /usr/sbin/install
50028 # SunOS /usr/etc/install
50029 # IRIX /sbin/install
50031 # AmigaOS /C/install, which installs bootblocks on floppy discs
50032 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
50033 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
50034 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
50035 # OS/2's system install, which has a completely different semantic
50036 # ./install, which can be erroneously created by make from ./install.sh.
50037 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
50038 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
50039 if test -z "$INSTALL"; then
50040 if test "${ac_cv_path_install+set}" = set; then
50041 echo $ECHO_N "(cached) $ECHO_C" >&6
50043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50044 for as_dir in $PATH
50047 test -z "$as_dir" && as_dir=.
50048 # Account for people who put trailing slashes in PATH elements.
50050 ./ | .// | /cC/* | \
50051 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
50052 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
50055 # OSF1 and SCO ODT 3.0 have their own names for install.
50056 # Don't use installbsd from OSF since it installs stuff as root
50058 for ac_prog in ginstall scoinst install; do
50059 for ac_exec_ext in '' $ac_executable_extensions; do
50060 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
50061 if test $ac_prog = install &&
50062 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50063 # AIX install. It has an incompatible calling convention.
50065 elif test $ac_prog = install &&
50066 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
50067 # program-specific install script used by HP pwplus--don't use.
50070 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
50083 if test "${ac_cv_path_install+set}" = set; then
50084 INSTALL=$ac_cv_path_install
50086 # As a last resort, use the slow shell script. Don't cache a
50087 # value for INSTALL within a source directory, because that will
50088 # break other packages using the cache if that directory is
50089 # removed, or if the value is a relative name.
50090 INSTALL=$ac_install_sh
50093 { echo "$as_me:$LINENO: result: $INSTALL" >&5
50094 echo "${ECHO_T}$INSTALL" >&6; }
50096 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
50097 # It thinks the first close brace ends the variable substitution.
50098 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
50100 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
50102 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
50104 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
50105 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
50107 if test "$LN_S" = "ln -s"; then
50108 { echo "$as_me:$LINENO: result: yes" >&5
50109 echo "${ECHO_T}yes" >&6; }
50111 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
50112 echo "${ECHO_T}no, using $LN_S" >&6; }
50116 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50117 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50118 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50119 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50120 echo $ECHO_N "(cached) $ECHO_C" >&6
50122 cat >conftest.make <<\_ACEOF
50125 @echo '@@@%%%=$(MAKE)=@@@%%%'
50127 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50128 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
50129 *@@@%%%=?*=@@@%%%*)
50130 eval ac_cv_prog_make_${ac_make}_set=yes;;
50132 eval ac_cv_prog_make_${ac_make}_set=no;;
50134 rm -f conftest.make
50136 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50137 { echo "$as_me:$LINENO: result: yes" >&5
50138 echo "${ECHO_T}yes" >&6; }
50141 { echo "$as_me:$LINENO: result: no" >&5
50142 echo "${ECHO_T}no" >&6; }
50143 SET_MAKE="MAKE=${MAKE-make}"
50148 if test "x$SUNCXX" = "xyes"; then
50150 AROPTIONS="-xar -o"
50152 elif test "x$SGICC" = "xyes"; then
50157 if test -n "$ac_tool_prefix"; then
50158 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
50159 set dummy ${ac_tool_prefix}ar; ac_word=$2
50160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50162 if test "${ac_cv_prog_AR+set}" = set; then
50163 echo $ECHO_N "(cached) $ECHO_C" >&6
50165 if test -n "$AR"; then
50166 ac_cv_prog_AR="$AR" # Let the user override the test.
50168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50169 for as_dir in $PATH
50172 test -z "$as_dir" && as_dir=.
50173 for ac_exec_ext in '' $ac_executable_extensions; do
50174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50175 ac_cv_prog_AR="${ac_tool_prefix}ar"
50176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50186 if test -n "$AR"; then
50187 { echo "$as_me:$LINENO: result: $AR" >&5
50188 echo "${ECHO_T}$AR" >&6; }
50190 { echo "$as_me:$LINENO: result: no" >&5
50191 echo "${ECHO_T}no" >&6; }
50196 if test -z "$ac_cv_prog_AR"; then
50198 # Extract the first word of "ar", so it can be a program name with args.
50199 set dummy ar; ac_word=$2
50200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50202 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
50203 echo $ECHO_N "(cached) $ECHO_C" >&6
50205 if test -n "$ac_ct_AR"; then
50206 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
50208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50209 for as_dir in $PATH
50212 test -z "$as_dir" && as_dir=.
50213 for ac_exec_ext in '' $ac_executable_extensions; do
50214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50215 ac_cv_prog_ac_ct_AR="ar"
50216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50225 ac_ct_AR=$ac_cv_prog_ac_ct_AR
50226 if test -n "$ac_ct_AR"; then
50227 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
50228 echo "${ECHO_T}$ac_ct_AR" >&6; }
50230 { echo "$as_me:$LINENO: result: no" >&5
50231 echo "${ECHO_T}no" >&6; }
50234 if test "x$ac_ct_AR" = x; then
50237 case $cross_compiling:$ac_tool_warned in
50239 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50240 whose name does not start with the host triplet. If you think this
50241 configuration is useful to you, please write to autoconf@gnu.org." >&5
50242 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50243 whose name does not start with the host triplet. If you think this
50244 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50245 ac_tool_warned=yes ;;
50250 AR="$ac_cv_prog_AR"
50257 if test -n "$ac_tool_prefix"; then
50258 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
50259 set dummy ${ac_tool_prefix}strip; ac_word=$2
50260 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50262 if test "${ac_cv_prog_STRIP+set}" = set; then
50263 echo $ECHO_N "(cached) $ECHO_C" >&6
50265 if test -n "$STRIP"; then
50266 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
50268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50269 for as_dir in $PATH
50272 test -z "$as_dir" && as_dir=.
50273 for ac_exec_ext in '' $ac_executable_extensions; do
50274 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50275 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
50276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50285 STRIP=$ac_cv_prog_STRIP
50286 if test -n "$STRIP"; then
50287 { echo "$as_me:$LINENO: result: $STRIP" >&5
50288 echo "${ECHO_T}$STRIP" >&6; }
50290 { echo "$as_me:$LINENO: result: no" >&5
50291 echo "${ECHO_T}no" >&6; }
50296 if test -z "$ac_cv_prog_STRIP"; then
50298 # Extract the first word of "strip", so it can be a program name with args.
50299 set dummy strip; ac_word=$2
50300 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50302 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
50303 echo $ECHO_N "(cached) $ECHO_C" >&6
50305 if test -n "$ac_ct_STRIP"; then
50306 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
50308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50309 for as_dir in $PATH
50312 test -z "$as_dir" && as_dir=.
50313 for ac_exec_ext in '' $ac_executable_extensions; do
50314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50315 ac_cv_prog_ac_ct_STRIP="strip"
50316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50325 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
50326 if test -n "$ac_ct_STRIP"; then
50327 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
50328 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
50330 { echo "$as_me:$LINENO: result: no" >&5
50331 echo "${ECHO_T}no" >&6; }
50334 if test "x$ac_ct_STRIP" = x; then
50337 case $cross_compiling:$ac_tool_warned in
50339 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50340 whose name does not start with the host triplet. If you think this
50341 configuration is useful to you, please write to autoconf@gnu.org." >&5
50342 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50343 whose name does not start with the host triplet. If you think this
50344 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50345 ac_tool_warned=yes ;;
50350 STRIP="$ac_cv_prog_STRIP"
50353 if test -n "$ac_tool_prefix"; then
50354 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
50355 set dummy ${ac_tool_prefix}nm; ac_word=$2
50356 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50358 if test "${ac_cv_prog_NM+set}" = set; then
50359 echo $ECHO_N "(cached) $ECHO_C" >&6
50361 if test -n "$NM"; then
50362 ac_cv_prog_NM="$NM" # Let the user override the test.
50364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50365 for as_dir in $PATH
50368 test -z "$as_dir" && as_dir=.
50369 for ac_exec_ext in '' $ac_executable_extensions; do
50370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50371 ac_cv_prog_NM="${ac_tool_prefix}nm"
50372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50382 if test -n "$NM"; then
50383 { echo "$as_me:$LINENO: result: $NM" >&5
50384 echo "${ECHO_T}$NM" >&6; }
50386 { echo "$as_me:$LINENO: result: no" >&5
50387 echo "${ECHO_T}no" >&6; }
50392 if test -z "$ac_cv_prog_NM"; then
50394 # Extract the first word of "nm", so it can be a program name with args.
50395 set dummy nm; ac_word=$2
50396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50398 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
50399 echo $ECHO_N "(cached) $ECHO_C" >&6
50401 if test -n "$ac_ct_NM"; then
50402 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
50404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50405 for as_dir in $PATH
50408 test -z "$as_dir" && as_dir=.
50409 for ac_exec_ext in '' $ac_executable_extensions; do
50410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50411 ac_cv_prog_ac_ct_NM="nm"
50412 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50421 ac_ct_NM=$ac_cv_prog_ac_ct_NM
50422 if test -n "$ac_ct_NM"; then
50423 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
50424 echo "${ECHO_T}$ac_ct_NM" >&6; }
50426 { echo "$as_me:$LINENO: result: no" >&5
50427 echo "${ECHO_T}no" >&6; }
50430 if test "x$ac_ct_NM" = x; then
50433 case $cross_compiling:$ac_tool_warned in
50435 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
50436 whose name does not start with the host triplet. If you think this
50437 configuration is useful to you, please write to autoconf@gnu.org." >&5
50438 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
50439 whose name does not start with the host triplet. If you think this
50440 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
50441 ac_tool_warned=yes ;;
50446 NM="$ac_cv_prog_NM"
50450 INSTALL_DIR="mkdir -p"
50454 case ${BAKEFILE_HOST} in
50455 *-*-cygwin* | *-*-mingw32* )
50456 LDFLAGS_GUI="-mwindows"
50462 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
50463 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
50464 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
50465 echo $ECHO_N "(cached) $ECHO_C" >&6
50468 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
50469 egrep -s GNU > /dev/null); then
50470 bakefile_cv_prog_makeisgnu="yes"
50472 bakefile_cv_prog_makeisgnu="no"
50476 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
50477 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
50479 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
50496 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
50497 case "${BAKEFILE_HOST}" in
50504 *-pc-os2_emx | *-pc-os2-emx )
50514 powerpc-apple-macos* )
50523 case "$BAKEFILE_FORCE_PLATFORM" in
50544 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
50545 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
50546 { (exit 1); exit 1; }; }
50561 # Check whether --enable-omf was given.
50562 if test "${enable_omf+set}" = set; then
50563 enableval=$enable_omf; bk_os2_use_omf="$enableval"
50567 case "${BAKEFILE_HOST}" in
50569 if test "x$GCC" = "xyes"; then
50570 CFLAGS="$CFLAGS -fno-common"
50571 CXXFLAGS="$CXXFLAGS -fno-common"
50573 if test "x$XLCC" = "xyes"; then
50574 CFLAGS="$CFLAGS -qnocommon"
50575 CXXFLAGS="$CXXFLAGS -qnocommon"
50579 *-pc-os2_emx | *-pc-os2-emx )
50580 if test "x$bk_os2_use_omf" = "xyes" ; then
50583 LDFLAGS="-Zomf $LDFLAGS"
50584 CFLAGS="-Zomf $CFLAGS"
50585 CXXFLAGS="-Zomf $CXXFLAGS"
50593 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
50599 SO_SUFFIX_MODULE="so"
50604 DLLPREFIX_MODULE=""
50608 case "${BAKEFILE_HOST}" in
50613 SO_SUFFIX_MODULE="sl"
50617 SO_SUFFIX_MODULE="a"
50621 SO_SUFFIX_MODULE="dll"
50622 DLLIMP_SUFFIX="dll.a"
50629 SO_SUFFIX_MODULE="dll"
50630 DLLIMP_SUFFIX="dll.a"
50640 *-pc-os2_emx | *-pc-os2-emx )
50642 SO_SUFFIX_MODULE="dll"
50643 DLLIMP_SUFFIX=$OS2_LIBEXT
50647 LIBEXT=".$OS2_LIBEXT"
50652 SO_SUFFIX_MODULE="bundle"
50656 if test "x$DLLIMP_SUFFIX" = "x" ; then
50657 DLLIMP_SUFFIX="$SO_SUFFIX"
50672 if test "x$GCC" = "xyes"; then
50676 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
50677 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
50680 case "${BAKEFILE_HOST}" in
50682 if test "x$GCC" != "xyes"; then
50683 LDFLAGS="$LDFLAGS -L/usr/lib"
50685 SHARED_LD_CC="${CC} -b -o"
50686 SHARED_LD_CXX="${CXX} -b -o"
50692 if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
50694 elif test "x$SUNCXX" = "xyes"; then
50695 SHARED_LD_CC="${CC} -G -o"
50696 SHARED_LD_CXX="${CXX} -G -o"
50702 if test "x$SUNCXX" = xyes ; then
50703 SHARED_LD_CC="${CC} -G -o"
50704 SHARED_LD_CXX="${CXX} -G -o"
50712 cat <<EOF >shared-ld-sh
50714 #-----------------------------------------------------------------------------
50715 #-- Name: distrib/mac/shared-ld-sh
50716 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
50717 #-- Author: Gilles Depeyrot
50718 #-- Copyright: (c) 2002 Gilles Depeyrot
50719 #-- Licence: any use permitted
50720 #-----------------------------------------------------------------------------
50725 linking_flag="-dynamiclib"
50726 ldargs="-r -keep_private_externs -nostdlib"
50728 if test "x${D}CXX" = "x"; then
50732 while test ${D}# -gt 0; do
50739 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
50740 # collect these options and values
50741 args="${D}{args} ${D}1 ${D}2"
50746 # collect these options and values
50747 ldargs="${D}{ldargs} ${D}1 ${D}2"
50752 # collect these load args
50753 ldargs="${D}{ldargs} ${D}1"
50756 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
50757 # collect these options
50758 args="${D}{args} ${D}1"
50761 -dynamiclib|-bundle)
50762 linking_flag="${D}1"
50766 echo "shared-ld: unhandled option '${D}1'"
50770 *.o | *.a | *.dylib)
50771 # collect object files
50772 objects="${D}{objects} ${D}1"
50776 echo "shared-ld: unhandled argument '${D}1'"
50787 # Link one module containing all the others
50789 if test ${D}{verbose} = 1; then
50790 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
50792 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
50796 # Link the shared library from the single module created, but only if the
50797 # previous command didn't fail:
50799 if test ${D}{status} = 0; then
50800 if test ${D}{verbose} = 1; then
50801 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
50803 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
50808 # Remove intermediate module
50810 rm -f master.${D}${D}.o
50815 chmod +x shared-ld-sh
50817 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
50818 SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
50821 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
50822 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
50823 if test "${bakefile_cv_gcc31+set}" = set; then
50824 echo $ECHO_N "(cached) $ECHO_C" >&6
50827 cat >conftest.$ac_ext <<_ACEOF
50830 cat confdefs.h >>conftest.$ac_ext
50831 cat >>conftest.$ac_ext <<_ACEOF
50832 /* end confdefs.h. */
50838 #if (__GNUC__ < 3) || \
50839 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
50847 rm -f conftest.$ac_objext
50848 if { (ac_try="$ac_compile"
50849 case "(($ac_try" in
50850 *\"* | *\`* | *\\*) ac_try_echo
=\
$ac_try;;
50851 *) ac_try_echo
=$ac_try;;
50853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
50854 (eval "$ac_compile") 2>conftest.er1
50856 grep -v '^ *+' conftest.er1
>conftest.err
50858 cat conftest.err
>&5
50859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50860 (exit $ac_status); } && {
50861 test -z "$ac_c_werror_flag" ||
50862 test ! -s conftest.err
50863 } && test -s conftest.
$ac_objext; then
50865 bakefile_cv_gcc31
=yes
50868 echo "$as_me: failed program was:" >&5
50869 sed 's/^/| /' conftest.
$ac_ext >&5
50872 bakefile_cv_gcc31
=no
50877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50880 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
50881 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
50882 if test "$bakefile_cv_gcc31" = "no"; then
50883 SHARED_LD_CC
="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
50884 SHARED_LD_CXX
="$SHARED_LD_CC"
50886 SHARED_LD_CC
="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
50887 SHARED_LD_CXX
="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
50890 if test "x$GCC" == "xyes"; then
50891 PIC_FLAG
="-dynamic -fPIC"
50893 if test "x$XLCC" = "xyes"; then
50894 PIC_FLAG
="-dynamic -DPIC"
50899 if test "x$GCC" = "xyes"; then
50902 case "${BAKEFILE_HOST}" in
50904 LD_EXPFULL
="-Wl,-bexpfull"
50908 SHARED_LD_CC
="\$(CC) -shared $LD_EXPFULL -o"
50909 SHARED_LD_CXX
="\$(CXX) -shared $LD_EXPFULL -o"
50911 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
50912 set dummy makeC
++SharedLib
; ac_word
=$2
50913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50915 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
50916 echo $ECHO_N "(cached) $ECHO_C" >&6
50918 if test -n "$AIX_CXX_LD"; then
50919 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
50921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50922 for as_dir
in $PATH
50925 test -z "$as_dir" && as_dir
=.
50926 for ac_exec_ext
in '' $ac_executable_extensions; do
50927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50928 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
50929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50936 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
50939 AIX_CXX_LD
=$ac_cv_prog_AIX_CXX_LD
50940 if test -n "$AIX_CXX_LD"; then
50941 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
50942 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
50944 { echo "$as_me:$LINENO: result: no" >&5
50945 echo "${ECHO_T}no" >&6; }
50949 SHARED_LD_CC
="$AIX_CC_LD -p 0 -o"
50950 SHARED_LD_CXX
="$AIX_CXX_LD -p 0 -o"
50955 SHARED_LD_CC
="${LD} -nostart -o"
50956 SHARED_LD_CXX
="${LD} -nostart -o"
50960 if test "x$GCC" != "xyes"; then
50965 *-*-cygwin* | *-*-mingw32* )
50967 SHARED_LD_CC
="\$(CC) -shared -o"
50968 SHARED_LD_CXX
="\$(CXX) -shared -o"
50972 *-pc-os2_emx | *-pc-os2-emx )
50973 SHARED_LD_CC
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50974 SHARED_LD_CXX
="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50978 cat <<EOF >dllar.sh
50981 # dllar - a tool to build both a .dll and an .a file
50982 # from a set of object (.o) files for EMX/OS2.
50984 # Written by Andrew Zabolotny, bit@freya.etu.ru
50985 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
50987 # This script will accept a set of files on the command line.
50988 # All the public symbols from the .o files will be exported into
50989 # a .DEF file, then linker will be run (through gcc) against them to
50990 # build a shared library consisting of all given .o files. All libraries
50991 # (.a) will be first decompressed into component .o files then act as
50992 # described above. You can optionally give a description (-d "description")
50993 # which will be put into .DLL. To see the list of accepted options (as well
50994 # as command-line format) simply run this program without options. The .DLL
50995 # is built to be imported by name (there is no guarantee that new versions
50996 # of the library you build will have same ordinals for same symbols).
50998 # dllar is free software; you can redistribute it and/or modify
50999 # it under the terms of the GNU General Public License as published by
51000 # the Free Software Foundation; either version 2, or (at your option)
51001 # any later version.
51003 # dllar is distributed in the hope that it will be useful,
51004 # but WITHOUT ANY WARRANTY; without even the implied warranty of
51005 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
51006 # GNU General Public License for more details.
51008 # You should have received a copy of the GNU General Public License
51009 # along with dllar; see the file COPYING. If not, write to the Free
51010 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
51013 # To successfuly run this program you will need:
51014 # - Current drive should have LFN support (HPFS, ext2, network, etc)
51015 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
51017 # (used to build the .dll)
51019 # (used to create .def file from .o files)
51021 # (used to create .a file from .def file)
51022 # - GNU text utilites (cat, sort, uniq)
51023 # used to process emxexp output
51024 # - GNU file utilities (mv, rm)
51026 # - lxlite (optional, see flag below)
51027 # (used for general .dll cleanup)
51034 # basnam, variant of basename, which does _not_ remove the path, _iff_
51035 # second argument (suffix to remove) is given
51039 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
51042 echo ${D}1 | sed 's/'${D}2'${D}//'
51045 echo "error in basnam ${D}*"
51051 # Cleanup temporary files and output
51054 for i in ${D}inputFiles ; do
51057 rm -rf \`basnam ${D}i !\`
51064 # Kill result in case of failure as there is just to many stupid make/nmake
51065 # things out there which doesn't do this.
51066 if [ ${D}# -eq 0 ]; then
51067 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
51071 # Print usage and exit script with rc=1.
51073 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
51074 echo ' [-name-mangler-script script.sh]'
51075 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
51076 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
51077 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
51078 echo ' [*.o] [*.a]'
51079 echo '*> "output_file" should have no extension.'
51080 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
51081 echo ' The import library name is derived from this and is set to "name".a,'
51082 echo ' unless overridden by -import'
51083 echo '*> "importlib_name" should have no extension.'
51084 echo ' If it has the .o, or .a extension, it is automatically removed.'
51085 echo ' This name is used as the import library name and may be longer and'
51086 echo ' more descriptive than the DLL name which has to follow the old '
51087 echo ' 8.3 convention of FAT.'
51088 echo '*> "script.sh may be given to override the output_file name by a'
51089 echo ' different name. It is mainly useful if the regular make process'
51090 echo ' of some package does not take into account OS/2 restriction of'
51091 echo ' DLL name lengths. It takes the importlib name as input and is'
51092 echo ' supposed to procude a shorter name as output. The script should'
51093 echo ' expect to get importlib_name without extension and should produce'
51094 echo ' a (max.) 8 letter name without extension.'
51095 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
51096 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
51097 echo ' These flags will be put at the start of GCC command line.'
51098 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
51099 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
51100 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
51101 echo ' If the last character of a symbol is "*", all symbols beginning'
51102 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
51103 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
51104 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
51105 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
51106 echo ' C runtime DLLs.'
51107 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
51108 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
51109 echo ' unchanged to GCC at the end of command line.'
51110 echo '*> If you create a DLL from a library and you do not specify -o,'
51111 echo ' the basename for DLL and import library will be set to library name,'
51112 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
51113 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
51114 echo ' library will be renamed into gcc_s.a.'
51117 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
51118 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
51123 # Execute a command.
51124 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
51125 # @Uses Whatever CleanUp() uses.
51131 if [ ${D}rcCmd -ne 0 ]; then
51132 echo "command failed, exit code="${D}rcCmd
51147 CFLAGS="-s -Zcrtdll"
51149 EXPORT_BY_ORDINALS=0
51154 case ${D}curDirS in
51158 curDirS=${D}{curDirS}"/"
51161 # Parse commandline
51164 while [ ${D}1 ]; do
51167 EXPORT_BY_ORDINALS=1;
51177 -name-mangler-script)
51198 exclude_symbols=${D}{exclude_symbols}${D}1" "
51202 library_flags=${D}{library_flags}${D}1" "
51221 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51224 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
51225 if [ ${D}omfLinking -eq 1 ]; then
51226 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
51228 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
51233 if [ ${D}libsToLink -ne 0 ]; then
51234 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
51236 for file in ${D}1 ; do
51237 if [ -f ${D}file ]; then
51238 inputFiles="${D}{inputFiles} ${D}file"
51242 if [ ${D}found -eq 0 ]; then
51243 echo "ERROR: No file(s) found: "${D}1
51250 done # iterate cmdline words
51253 if [ -z "${D}inputFiles" ]; then
51254 echo "dllar: no input files"
51258 # Now extract all .o files from .a files
51260 for file in ${D}inputFiles ; do
51271 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
51276 dirname=\`basnam ${D}file ${D}suffix\`"_%"
51278 if [ ${D}? -ne 0 ]; then
51279 echo "Failed to create subdirectory ./${D}dirname"
51283 # Append '!' to indicate archive
51284 newInputFiles="${D}newInputFiles ${D}{dirname}!"
51285 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
51288 for subfile in ${D}dirname/*.o* ; do
51289 if [ -f ${D}subfile ]; then
51291 if [ -s ${D}subfile ]; then
51292 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
51293 newInputFiles="${D}newInputFiles ${D}subfile"
51297 if [ ${D}found -eq 0 ]; then
51298 echo "WARNING: there are no files in archive \\'${D}file\\'"
51302 newInputFiles="${D}{newInputFiles} ${D}file"
51306 inputFiles="${D}newInputFiles"
51308 # Output filename(s).
51310 if [ -z ${D}outFile ]; then
51312 set outFile ${D}inputFiles; outFile=${D}2
51315 # If it is an archive, remove the '!' and the '_%' suffixes
51316 case ${D}outFile in
51318 outFile=\`basnam ${D}outFile _%!\`
51323 case ${D}outFile in
51325 outFile=\`basnam ${D}outFile .dll\`
51328 outFile=\`basnam ${D}outFile .DLL\`
51331 outFile=\`basnam ${D}outFile .o\`
51334 outFile=\`basnam ${D}outFile .obj\`
51337 outFile=\`basnam ${D}outFile .a\`
51340 outFile=\`basnam ${D}outFile .lib\`
51345 case ${D}outimpFile in
51347 outimpFile=\`basnam ${D}outimpFile .a\`
51350 outimpFile=\`basnam ${D}outimpFile .lib\`
51355 if [ -z ${D}outimpFile ]; then
51356 outimpFile=${D}outFile
51358 defFile="${D}{outFile}.def"
51359 arcFile="${D}{outimpFile}.a"
51360 arcFile2="${D}{outimpFile}.lib"
51362 #create ${D}dllFile as something matching 8.3 restrictions,
51363 if [ -z ${D}renameScript ] ; then
51364 dllFile="${D}outFile"
51366 dllFile=\`${D}renameScript ${D}outimpFile\`
51369 if [ ${D}do_backup -ne 0 ] ; then
51370 if [ -f ${D}arcFile ] ; then
51371 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
51373 if [ -f ${D}arcFile2 ] ; then
51374 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
51378 # Extract public symbols from all the object files.
51379 tmpdefFile=${D}{defFile}_%
51380 rm -f ${D}tmpdefFile
51381 for file in ${D}inputFiles ; do
51386 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
51391 # Create the def file.
51393 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
51394 dllFile="${D}{dllFile}.dll"
51395 if [ ! -z ${D}description ]; then
51396 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
51398 echo "EXPORTS" >> ${D}defFile
51400 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
51401 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
51403 # Checks if the export is ok or not.
51404 for word in ${D}exclude_symbols; do
51405 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
51406 mv ${D}{tmpdefFile}% ${D}tmpdefFile
51410 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51411 sed "=" < ${D}tmpdefFile | \\
51415 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
51417 ' > ${D}{tmpdefFile}%
51418 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
51420 rm -f ${D}{tmpdefFile}%
51422 cat ${D}tmpdefFile >> ${D}defFile
51423 rm -f ${D}tmpdefFile
51425 # Do linking, create implib, and apply lxlite.
51427 for file in ${D}inputFiles ; do
51432 gccCmdl="${D}gccCmdl ${D}file"
51436 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
51437 touch "${D}{outFile}.dll"
51439 doCommand "emximp -o ${D}arcFile ${D}defFile"
51440 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
51442 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
51445 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
51447 doCommand "emxomf -s -l ${D}arcFile"
51457 powerpc
-apple-macos* | \
51458 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd
*-gnu | \
51468 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
51469 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
51470 { (exit 1); exit 1; }; }
51473 if test "x$PIC_FLAG" != "x" ; then
51474 PIC_FLAG
="$PIC_FLAG -DPIC"
51477 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
51478 SHARED_LD_MODULE_CC
="$SHARED_LD_CC"
51480 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
51481 SHARED_LD_MODULE_CXX
="$SHARED_LD_CXX"
51496 USE_SOTWOSYMLINKS
=0
51500 case "${BAKEFILE_HOST}" in
51501 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
51502 *-*-k*bsd
*-gnu | *-*-mirbsd* )
51503 if test "x$SUNCXX" = "xyes"; then
51506 SONAME_FLAG
="-Wl,-soname,"
51510 USE_SOTWOSYMLINKS
=1
51522 USE_SOTWOSYMLINKS
=1
51540 # Check whether --enable-dependency-tracking was given.
51541 if test "${enable_dependency_tracking+set}" = set; then
51542 enableval
=$enable_dependency_tracking; bk_use_trackdeps
="$enableval"
51546 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
51547 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
51550 if test "x$bk_use_trackdeps" = "xno" ; then
51552 { echo "$as_me:$LINENO: result: disabled" >&5
51553 echo "${ECHO_T}disabled" >&6; }
51557 if test "x$GCC" = "xyes"; then
51559 case "${BAKEFILE_HOST}" in
51561 DEPSFLAG
="-no-cpp-precomp -MMD"
51567 { echo "$as_me:$LINENO: result: gcc" >&5
51568 echo "${ECHO_T}gcc" >&6; }
51569 elif test "x$MWCC" = "xyes"; then
51572 { echo "$as_me:$LINENO: result: mwcc" >&5
51573 echo "${ECHO_T}mwcc" >&6; }
51574 elif test "x$SUNCC" = "xyes"; then
51577 { echo "$as_me:$LINENO: result: Sun cc" >&5
51578 echo "${ECHO_T}Sun cc" >&6; }
51579 elif test "x$SGICC" = "xyes"; then
51582 { echo "$as_me:$LINENO: result: SGI cc" >&5
51583 echo "${ECHO_T}SGI cc" >&6; }
51584 elif test "x$HPCC" = "xyes"; then
51587 { echo "$as_me:$LINENO: result: HP cc" >&5
51588 echo "${ECHO_T}HP cc" >&6; }
51589 elif test "x$COMPAQCC" = "xyes"; then
51592 { echo "$as_me:$LINENO: result: Compaq cc" >&5
51593 echo "${ECHO_T}Compaq cc" >&6; }
51596 { echo "$as_me:$LINENO: result: none" >&5
51597 echo "${ECHO_T}none" >&6; }
51600 if test $DEPS_TRACKING = 1 ; then
51606 # This script is part of Bakefile (http://www.bakefile.org) autoconf
51607 # script. It is used to track C/C++ files dependencies in portable way.
51609 # Permission is given to use this file in any way.
51611 DEPSMODE=${DEPSMODE}
51612 DEPSFLAG="${DEPSFLAG}"
51615 if test ${D}DEPSMODE = gcc ; then
51616 ${D}* ${D}{DEPSFLAG}
51619 # determine location of created files:
51620 while test ${D}# -gt 0; do
51634 objfilebase=\`basename ${D}objfile\`
51635 builddir=\`dirname ${D}objfile\`
51636 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
51637 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
51638 depsdir=${D}builddir/${D}DEPSDIRBASE
51639 mkdir -p ${D}depsdir
51641 # if the compiler failed, we're done:
51642 if test ${D}{status} != 0 ; then
51647 # move created file to the location we want it in:
51648 if test -f ${D}depfile ; then
51649 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51652 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
51653 depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
51654 if test ! -f ${D}depfile ; then
51655 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
51656 depfile="${D}objfile.d"
51658 if test -f ${D}depfile ; then
51659 sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
51665 elif test ${D}DEPSMODE = mwcc ; then
51666 ${D}* || exit ${D}?
51667 # Run mwcc again with -MM and redirect into the dep file we want
51668 # NOTE: We can't use shift here because we need ${D}* to be valid
51670 for arg in ${D}* ; do
51671 if test "${D}prevarg" = "-o"; then
51685 objfilebase=\`basename ${D}objfile\`
51686 builddir=\`dirname ${D}objfile\`
51687 depsdir=${D}builddir/${D}DEPSDIRBASE
51688 mkdir -p ${D}depsdir
51690 ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
51693 elif test ${D}DEPSMODE = unixcc; then
51694 ${D}* || exit ${D}?
51695 # Run compiler again with deps flag and redirect into the dep file.
51696 # It doesn't work if the '-o FILE' option is used, but without it the
51697 # dependency file will contain the wrong name for the object. So it is
51698 # removed from the command line, and the dep file is fixed with sed.
51700 while test ${D}# -gt 0; do
51707 eval arg${D}#=\\${D}1
51708 cmd="${D}cmd \\${D}arg${D}#"
51714 objfilebase=\`basename ${D}objfile\`
51715 builddir=\`dirname ${D}objfile\`
51716 depsdir=${D}builddir/${D}DEPSDIRBASE
51717 mkdir -p ${D}depsdir
51719 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
51729 BK_DEPS
="`pwd`/bk-deps"
51737 case ${BAKEFILE_HOST} in
51738 *-*-cygwin* | *-*-mingw32* )
51739 if test -n "$ac_tool_prefix"; then
51740 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
51741 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
51742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51744 if test "${ac_cv_prog_WINDRES+set}" = set; then
51745 echo $ECHO_N "(cached) $ECHO_C" >&6
51747 if test -n "$WINDRES"; then
51748 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
51750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51751 for as_dir
in $PATH
51754 test -z "$as_dir" && as_dir
=.
51755 for ac_exec_ext
in '' $ac_executable_extensions; do
51756 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51757 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
51758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51767 WINDRES
=$ac_cv_prog_WINDRES
51768 if test -n "$WINDRES"; then
51769 { echo "$as_me:$LINENO: result: $WINDRES" >&5
51770 echo "${ECHO_T}$WINDRES" >&6; }
51772 { echo "$as_me:$LINENO: result: no" >&5
51773 echo "${ECHO_T}no" >&6; }
51778 if test -z "$ac_cv_prog_WINDRES"; then
51779 ac_ct_WINDRES
=$WINDRES
51780 # Extract the first word of "windres", so it can be a program name with args.
51781 set dummy windres
; ac_word
=$2
51782 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51784 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
51785 echo $ECHO_N "(cached) $ECHO_C" >&6
51787 if test -n "$ac_ct_WINDRES"; then
51788 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
51790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51791 for as_dir
in $PATH
51794 test -z "$as_dir" && as_dir
=.
51795 for ac_exec_ext
in '' $ac_executable_extensions; do
51796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51797 ac_cv_prog_ac_ct_WINDRES
="windres"
51798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51807 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
51808 if test -n "$ac_ct_WINDRES"; then
51809 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
51810 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
51812 { echo "$as_me:$LINENO: result: no" >&5
51813 echo "${ECHO_T}no" >&6; }
51816 if test "x$ac_ct_WINDRES" = x
; then
51819 case $cross_compiling:$ac_tool_warned in
51821 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
51822 whose name does not start with the host triplet. If you think this
51823 configuration is useful to you, please write to autoconf@gnu.org." >&5
51824 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
51825 whose name does not start with the host triplet. If you think this
51826 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
51827 ac_tool_warned
=yes ;;
51829 WINDRES
=$ac_ct_WINDRES
51832 WINDRES
="$ac_cv_prog_WINDRES"
51837 *-*-darwin* | powerpc
-apple-macos* )
51838 # Extract the first word of "Rez", so it can be a program name with args.
51839 set dummy Rez
; ac_word
=$2
51840 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51842 if test "${ac_cv_prog_REZ+set}" = set; then
51843 echo $ECHO_N "(cached) $ECHO_C" >&6
51845 if test -n "$REZ"; then
51846 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
51848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51849 for as_dir
in $PATH
51852 test -z "$as_dir" && as_dir
=.
51853 for ac_exec_ext
in '' $ac_executable_extensions; do
51854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51855 ac_cv_prog_REZ
="Rez"
51856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51863 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
51866 REZ
=$ac_cv_prog_REZ
51867 if test -n "$REZ"; then
51868 { echo "$as_me:$LINENO: result: $REZ" >&5
51869 echo "${ECHO_T}$REZ" >&6; }
51871 { echo "$as_me:$LINENO: result: no" >&5
51872 echo "${ECHO_T}no" >&6; }
51876 # Extract the first word of "SetFile", so it can be a program name with args.
51877 set dummy SetFile
; ac_word
=$2
51878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
51879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
51880 if test "${ac_cv_prog_SETFILE+set}" = set; then
51881 echo $ECHO_N "(cached) $ECHO_C" >&6
51883 if test -n "$SETFILE"; then
51884 ac_cv_prog_SETFILE
="$SETFILE" # Let the user override the test.
51886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
51887 for as_dir
in $PATH
51890 test -z "$as_dir" && as_dir
=.
51891 for ac_exec_ext
in '' $ac_executable_extensions; do
51892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
51893 ac_cv_prog_SETFILE
="SetFile"
51894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
51901 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE
="/Developer/Tools/SetFile"
51904 SETFILE
=$ac_cv_prog_SETFILE
51905 if test -n "$SETFILE"; then
51906 { echo "$as_me:$LINENO: result: $SETFILE" >&5
51907 echo "${ECHO_T}$SETFILE" >&6; }
51909 { echo "$as_me:$LINENO: result: no" >&5
51910 echo "${ECHO_T}no" >&6; }
51925 BAKEFILE_BAKEFILE_M4_VERSION
="0.2.9"
51928 BAKEFILE_AUTOCONF_INC_M4_VERSION
="0.2.9"
51932 # Check whether --enable-precomp-headers was given.
51933 if test "${enable_precomp_headers+set}" = set; then
51934 enableval
=$enable_precomp_headers; bk_use_pch
="$enableval"
51943 case ${BAKEFILE_HOST} in
51949 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
51950 if test "x$GCC" = "xyes"; then
51951 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
51952 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
51953 cat >conftest.
$ac_ext <<_ACEOF
51956 cat confdefs.h
>>conftest.
$ac_ext
51957 cat >>conftest.
$ac_ext <<_ACEOF
51958 /* end confdefs.h. */
51964 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
51965 There is no PCH support
51968 There is no PCH support
51970 #if (__GNUC__ == 3) && \
51971 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
51972 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
51973 ( defined(__INTEL_COMPILER) )
51974 There is no PCH support
51981 rm -f conftest.
$ac_objext
51982 if { (ac_try
="$ac_compile"
51983 case "(($ac_try" in
51984 *\"* | *\
`* | *\\*) ac_try_echo=\$ac_try;;
51985 *) ac_try_echo=$ac_try;;
51987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
51988 (eval "$ac_compile") 2>conftest.er1
51990 grep -v '^ *+' conftest.er1 >conftest.err
51992 cat conftest.err >&5
51993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51994 (exit $ac_status); } && {
51995 test -z "$ac_c_werror_flag" ||
51996 test ! -s conftest.err
51997 } && test -s conftest.$ac_objext; then
51999 { echo "$as_me:$LINENO: result: yes" >&5
52000 echo "${ECHO_T}yes" >&6; }
52004 echo "$as_me: failed program was:" >&5
52005 sed 's/^/| /' conftest.$ac_ext >&5
52008 if test "$INTELCXX8" = "yes"; then
52009 { echo "$as_me:$LINENO: result: yes" >&5
52010 echo "${ECHO_T}yes" >&6; }
52012 if test "$INTELCXX10" = "yes"; then
52013 ICC_PCH_CREATE_SWITCH="-pch-create"
52014 ICC_PCH_USE_SWITCH="-pch-use"
52016 ICC_PCH_CREATE_SWITCH="-create-pch"
52017 ICC_PCH_USE_SWITCH="-use-pch"
52020 { echo "$as_me:$LINENO: result: no" >&5
52021 echo "${ECHO_T}no" >&6; }
52026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52027 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
52031 cat <<EOF >bk-make-pch
52034 # This script is part of Bakefile (http://www.bakefile.org) autoconf
52035 # script. It is used to generated precompiled headers.
52037 # Permission is given to use this file in any way.
52044 builddir=\`echo ${D}outfile
| sed -e 's,/\\.pch/.*${D},,g'\
`
52049 while test ${D}{#} -gt 0; do
52053 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\
`
52054 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
52055 headerfile="${D}{incdir}/${D}{header}"
52058 -use-pch|-use_pch|-pch-use )
52063 if test ${D}add_to_cmdline = 1 ; then
52064 compiler="${D}{compiler} ${D}{1}"
52069 if test "x${D}{headerfile}" = "x" ; then
52070 echo "error: can't find header ${D}{header} in include paths" >&2
52072 if test -f ${D}{outfile} ; then
52073 rm -f ${D}{outfile}
52075 mkdir -p \`dirname ${D}{outfile
}\
`
52077 depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile
} | tr '/.' '__'\
`.d"
52078 mkdir -p ${D}{builddir}/.deps
52079 if test "x${GCC_PCH}" = "x1" ; then
52080 # can do this because gcc is >= 3.4:
52081 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
52082 elif test "x${ICC_PCH}" = "x1" ; then
52083 filename=pch_gen-${D}${D}
52084 file=${D}{filename}.c
52085 dfile=${D}{filename}.d
52086 cat > ${D}file <<EOT
52087 #include "${D}header"
52089 # using -MF icc complains about differing command lines in creation/use
52090 ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
52091 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
52092 rm -f ${D}file ${D}dfile ${D}{filename}.o
52098 chmod +x bk-make-pch
52099 BK_MAKE_PCH="`pwd`/bk-make-pch"
52110 COND_BUILD_DEBUG="#"
52111 if test "x$BUILD" = "xdebug" ; then
52112 COND_BUILD_DEBUG=""
52115 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
52116 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52117 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
52120 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
52121 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52122 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
52125 COND_BUILD_DEBUG_UNICODE_0="#"
52126 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52127 COND_BUILD_DEBUG_UNICODE_0=""
52130 COND_BUILD_DEBUG_UNICODE_1="#"
52131 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52132 COND_BUILD_DEBUG_UNICODE_1=""
52135 COND_BUILD_RELEASE="#"
52136 if test "x$BUILD" = "xrelease" ; then
52137 COND_BUILD_RELEASE=""
52140 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
52141 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52142 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
52145 COND_BUILD_RELEASE_UNICODE_0="#"
52146 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52147 COND_BUILD_RELEASE_UNICODE_0=""
52150 COND_BUILD_RELEASE_UNICODE_1="#"
52151 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52152 COND_BUILD_RELEASE_UNICODE_1=""
52155 COND_BUILD_debug="#"
52156 if test "x$BUILD" = "xdebug" ; then
52157 COND_BUILD_debug=""
52160 COND_BUILD_debug_DEBUG_FLAG_default="#"
52161 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
52162 COND_BUILD_debug_DEBUG_FLAG_default=""
52165 COND_BUILD_debug_DEBUG_INFO_default="#"
52166 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
52167 COND_BUILD_debug_DEBUG_INFO_default=""
52170 COND_BUILD_debug_UNICODE_0="#"
52171 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
52172 COND_BUILD_debug_UNICODE_0=""
52175 COND_BUILD_debug_UNICODE_1="#"
52176 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
52177 COND_BUILD_debug_UNICODE_1=""
52180 COND_BUILD_release="#"
52181 if test "x$BUILD" = "xrelease" ; then
52182 COND_BUILD_release=""
52185 COND_BUILD_release_DEBUG_INFO_default="#"
52186 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
52187 COND_BUILD_release_DEBUG_INFO_default=""
52190 COND_BUILD_release_UNICODE_0="#"
52191 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
52192 COND_BUILD_release_UNICODE_0=""
52195 COND_BUILD_release_UNICODE_1="#"
52196 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
52197 COND_BUILD_release_UNICODE_1=""
52200 COND_DEBUG_FLAG_0="#"
52201 if test "x$DEBUG_FLAG" = "x0" ; then
52202 COND_DEBUG_FLAG_0=""
52205 COND_DEBUG_FLAG_1="#"
52206 if test "x$DEBUG_FLAG" = "x1" ; then
52207 COND_DEBUG_FLAG_1=""
52210 COND_DEBUG_INFO_0="#"
52211 if test "x$DEBUG_INFO" = "x0" ; then
52212 COND_DEBUG_INFO_0=""
52215 COND_DEBUG_INFO_1="#"
52216 if test "x$DEBUG_INFO" = "x1" ; then
52217 COND_DEBUG_INFO_1=""
52220 COND_DEPS_TRACKING_0="#"
52221 if test "x$DEPS_TRACKING" = "x0" ; then
52222 COND_DEPS_TRACKING_0=""
52225 COND_DEPS_TRACKING_1="#"
52226 if test "x$DEPS_TRACKING" = "x1" ; then
52227 COND_DEPS_TRACKING_1=""
52231 if test "x$GCC_PCH" = "x1" ; then
52236 if test "x$ICC_PCH" = "x1" ; then
52240 COND_MONOLITHIC_0="#"
52241 if test "x$MONOLITHIC" = "x0" ; then
52242 COND_MONOLITHIC_0=""
52245 COND_MONOLITHIC_0_SHARED_0="#"
52246 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
52247 COND_MONOLITHIC_0_SHARED_0=""
52250 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
52251 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
52252 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
52255 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
52256 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
52257 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
52260 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
52261 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52262 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
52265 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
52266 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52267 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
52270 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
52271 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52272 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
52275 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
52276 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
52277 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
52280 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
52281 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52282 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
52285 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
52286 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52287 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
52290 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
52291 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52292 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
52295 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
52296 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52297 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
52300 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
52301 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
52302 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
52305 COND_MONOLITHIC_0_SHARED_1="#"
52306 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
52307 COND_MONOLITHIC_0_SHARED_1=""
52310 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
52311 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
52312 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
52315 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
52316 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
52317 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
52320 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
52321 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
52322 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
52325 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
52326 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52327 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
52330 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
52331 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
52332 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
52335 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
52336 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
52337 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
52340 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
52341 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
52342 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
52345 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
52346 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
52347 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
52350 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
52351 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
52352 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
52355 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
52356 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
52357 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
52360 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
52361 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
52362 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
52365 COND_MONOLITHIC_0_USE_AUI_1="#"
52366 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
52367 COND_MONOLITHIC_0_USE_AUI_1=""
52370 COND_MONOLITHIC_0_USE_GUI_1="#"
52371 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
52372 COND_MONOLITHIC_0_USE_GUI_1=""
52375 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
52376 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
52377 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
52380 COND_MONOLITHIC_0_USE_HTML_1="#"
52381 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
52382 COND_MONOLITHIC_0_USE_HTML_1=""
52385 COND_MONOLITHIC_0_USE_MEDIA_1="#"
52386 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
52387 COND_MONOLITHIC_0_USE_MEDIA_1=""
52390 COND_MONOLITHIC_0_USE_PROPGRID_1="#"
52391 if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
52392 COND_MONOLITHIC_0_USE_PROPGRID_1=""
52395 COND_MONOLITHIC_0_USE_QA_1="#"
52396 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
52397 COND_MONOLITHIC_0_USE_QA_1=""
52400 COND_MONOLITHIC_0_USE_RIBBON_1="#"
52401 if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
52402 COND_MONOLITHIC_0_USE_RIBBON_1=""
52405 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
52406 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
52407 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
52410 COND_MONOLITHIC_0_USE_STC_1="#"
52411 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
52412 COND_MONOLITHIC_0_USE_STC_1=""
52415 COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
52416 if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
52417 COND_MONOLITHIC_0_USE_WEBVIEW_1=""
52420 COND_MONOLITHIC_0_USE_XRC_1="#"
52421 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
52422 COND_MONOLITHIC_0_USE_XRC_1=""
52425 COND_MONOLITHIC_1="#"
52426 if test "x$MONOLITHIC" = "x1" ; then
52427 COND_MONOLITHIC_1=""
52430 COND_MONOLITHIC_1_SHARED_0="#"
52431 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
52432 COND_MONOLITHIC_1_SHARED_0=""
52435 COND_MONOLITHIC_1_SHARED_1="#"
52436 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
52437 COND_MONOLITHIC_1_SHARED_1=""
52440 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
52441 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
52442 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
52445 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
52446 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
52447 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
52450 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
52451 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52452 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
52455 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
52456 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
52457 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
52460 COND_PLATFORM_MACOSX_1="#"
52461 if test "x$PLATFORM_MACOSX" = "x1" ; then
52462 COND_PLATFORM_MACOSX_1=""
52465 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
52466 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
52467 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
52470 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
52471 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52472 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
52475 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52476 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52477 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52480 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
52481 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52482 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
52485 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52486 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52487 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52490 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
52491 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52492 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
52495 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52496 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52497 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52500 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52501 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52502 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52505 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
52506 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
52507 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
52510 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
52511 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52512 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
52515 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
52516 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52517 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
52520 COND_PLATFORM_MACOS_1="#"
52521 if test "x$PLATFORM_MACOS" = "x1" ; then
52522 COND_PLATFORM_MACOS_1=""
52525 COND_PLATFORM_MAC_0="#"
52526 if test "x$PLATFORM_MAC" = "x0" ; then
52527 COND_PLATFORM_MAC_0=""
52530 COND_PLATFORM_MAC_1="#"
52531 if test "x$PLATFORM_MAC" = "x1" ; then
52532 COND_PLATFORM_MAC_1=""
52535 COND_PLATFORM_MSDOS_0="#"
52536 if test "x$PLATFORM_MSDOS" = "x0" ; then
52537 COND_PLATFORM_MSDOS_0=""
52540 COND_PLATFORM_MSDOS_1="#"
52541 if test "x$PLATFORM_MSDOS" = "x1" ; then
52542 COND_PLATFORM_MSDOS_1=""
52545 COND_PLATFORM_OS2_1="#"
52546 if test "x$PLATFORM_OS2" = "x1" ; then
52547 COND_PLATFORM_OS2_1=""
52550 COND_PLATFORM_UNIX_0="#"
52551 if test "x$PLATFORM_UNIX" = "x0" ; then
52552 COND_PLATFORM_UNIX_0=""
52555 COND_PLATFORM_UNIX_1="#"
52556 if test "x$PLATFORM_UNIX" = "x1" ; then
52557 COND_PLATFORM_UNIX_1=""
52560 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
52561 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
52562 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
52565 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
52566 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52567 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
52570 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
52571 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
52572 COND_PLATFORM_UNIX_1_USE_GUI_1=""
52575 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
52576 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
52577 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
52580 COND_PLATFORM_WIN32_0="#"
52581 if test "x$PLATFORM_WIN32" = "x0" ; then
52582 COND_PLATFORM_WIN32_0=""
52585 COND_PLATFORM_WIN32_1="#"
52586 if test "x$PLATFORM_WIN32" = "x1" ; then
52587 COND_PLATFORM_WIN32_1=""
52590 COND_PLATFORM_WIN32_1_SHARED_0="#"
52591 if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
52592 COND_PLATFORM_WIN32_1_SHARED_0=""
52596 if test "x$SHARED" = "x0" ; then
52600 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
52601 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
52602 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
52605 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
52606 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52607 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
52610 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
52611 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
52612 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
52615 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
52616 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52617 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
52620 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52621 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52622 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52625 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52626 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52627 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52630 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52631 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52632 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52635 COND_SHARED_0_USE_STC_1="#"
52636 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
52637 COND_SHARED_0_USE_STC_1=""
52640 COND_SHARED_0_wxUSE_EXPAT_builtin="#"
52641 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
52642 COND_SHARED_0_wxUSE_EXPAT_builtin=""
52645 COND_SHARED_0_wxUSE_REGEX_builtin="#"
52646 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
52647 COND_SHARED_0_wxUSE_REGEX_builtin=""
52650 COND_SHARED_0_wxUSE_ZLIB_builtin="#"
52651 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
52652 COND_SHARED_0_wxUSE_ZLIB_builtin=""
52656 if test "x$SHARED" = "x1" ; then
52660 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
52661 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52662 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
52666 if test "x$TOOLKIT" = "x" ; then
52670 COND_TOOLKIT_COCOA="#"
52671 if test "x$TOOLKIT" = "xCOCOA" ; then
52672 COND_TOOLKIT_COCOA=""
52675 COND_TOOLKIT_COCOA_USE_GUI_1="#"
52676 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
52677 COND_TOOLKIT_COCOA_USE_GUI_1=""
52680 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
52681 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52682 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
52685 COND_TOOLKIT_DFB="#"
52686 if test "x$TOOLKIT" = "xDFB" ; then
52687 COND_TOOLKIT_DFB=""
52690 COND_TOOLKIT_DFB_USE_GUI_1="#"
52691 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
52692 COND_TOOLKIT_DFB_USE_GUI_1=""
52695 COND_TOOLKIT_GTK="#"
52696 if test "x$TOOLKIT" = "xGTK" ; then
52697 COND_TOOLKIT_GTK=""
52700 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
52701 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
52702 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
52705 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
52706 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
52707 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
52710 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
52711 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
52712 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
52715 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
52716 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52717 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
52720 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
52721 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
52722 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
52725 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
52726 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52727 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
52730 COND_TOOLKIT_GTK_USE_GUI_1="#"
52731 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
52732 COND_TOOLKIT_GTK_USE_GUI_1=""
52735 COND_TOOLKIT_MAC="#"
52736 if test "x$TOOLKIT" = "xMAC" ; then
52737 COND_TOOLKIT_MAC=""
52740 COND_TOOLKIT_MGL="#"
52741 if test "x$TOOLKIT" = "xMGL" ; then
52742 COND_TOOLKIT_MGL=""
52745 COND_TOOLKIT_MGL_USE_GUI_1="#"
52746 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
52747 COND_TOOLKIT_MGL_USE_GUI_1=""
52750 COND_TOOLKIT_MOTIF="#"
52751 if test "x$TOOLKIT" = "xMOTIF" ; then
52752 COND_TOOLKIT_MOTIF=""
52755 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
52756 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
52757 COND_TOOLKIT_MOTIF_USE_GUI_1=""
52760 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
52761 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52762 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
52765 COND_TOOLKIT_MSW="#"
52766 if test "x$TOOLKIT" = "xMSW" ; then
52767 COND_TOOLKIT_MSW=""
52770 COND_TOOLKIT_MSW_USE_GUI_1="#"
52771 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
52772 COND_TOOLKIT_MSW_USE_GUI_1=""
52775 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
52776 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52777 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
52780 COND_TOOLKIT_MSW_WXUNIV_0="#"
52781 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
52782 COND_TOOLKIT_MSW_WXUNIV_0=""
52785 COND_TOOLKIT_OSX_CARBON="#"
52786 if test "x$TOOLKIT" = "xOSX_CARBON" ; then
52787 COND_TOOLKIT_OSX_CARBON=""
52790 COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
52791 if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
52792 COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
52795 COND_TOOLKIT_OSX_COCOA="#"
52796 if test "x$TOOLKIT" = "xOSX_COCOA" ; then
52797 COND_TOOLKIT_OSX_COCOA=""
52800 COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
52801 if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
52802 COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
52805 COND_TOOLKIT_OSX_IPHONE="#"
52806 if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
52807 COND_TOOLKIT_OSX_IPHONE=""
52810 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
52811 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
52812 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
52815 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
52816 if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52817 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
52820 COND_TOOLKIT_PM="#"
52821 if test "x$TOOLKIT" = "xPM" ; then
52825 COND_TOOLKIT_PM_USE_GUI_1="#"
52826 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
52827 COND_TOOLKIT_PM_USE_GUI_1=""
52830 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
52831 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52832 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
52835 COND_TOOLKIT_WINCE="#"
52836 if test "x$TOOLKIT" = "xWINCE" ; then
52837 COND_TOOLKIT_WINCE=""
52840 COND_TOOLKIT_WINCE_USE_GUI_1="#"
52841 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
52842 COND_TOOLKIT_WINCE_USE_GUI_1=""
52845 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
52846 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52847 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
52850 COND_TOOLKIT_WINCE_WXUNIV_0="#"
52851 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
52852 COND_TOOLKIT_WINCE_WXUNIV_0=""
52855 COND_TOOLKIT_X11="#"
52856 if test "x$TOOLKIT" = "xX11" ; then
52857 COND_TOOLKIT_X11=""
52860 COND_TOOLKIT_X11_USE_GUI_1="#"
52861 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
52862 COND_TOOLKIT_X11_USE_GUI_1=""
52866 if test "x$UNICODE" = "x1" ; then
52870 COND_USE_CAIRO_1="#"
52871 if test "x$USE_CAIRO" = "x1" ; then
52872 COND_USE_CAIRO_1=""
52875 COND_USE_EXCEPTIONS_0="#"
52876 if test "x$USE_EXCEPTIONS" = "x0" ; then
52877 COND_USE_EXCEPTIONS_0=""
52880 COND_USE_EXCEPTIONS_1="#"
52881 if test "x$USE_EXCEPTIONS" = "x1" ; then
52882 COND_USE_EXCEPTIONS_1=""
52886 if test "x$USE_GUI" = "x0" ; then
52891 if test "x$USE_GUI" = "x1" ; then
52895 COND_USE_GUI_1_USE_OPENGL_1="#"
52896 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
52897 COND_USE_GUI_1_USE_OPENGL_1=""
52900 COND_USE_GUI_1_WXUNIV_0="#"
52901 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
52902 COND_USE_GUI_1_WXUNIV_0=""
52905 COND_USE_GUI_1_WXUNIV_1="#"
52906 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
52907 COND_USE_GUI_1_WXUNIV_1=""
52910 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
52911 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52912 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
52915 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
52916 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52917 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
52920 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
52921 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52922 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
52925 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
52926 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
52927 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
52930 COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
52931 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
52932 COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
52935 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
52936 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
52937 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
52940 COND_USE_OPENGL_1="#"
52941 if test "x$USE_OPENGL" = "x1" ; then
52942 COND_USE_OPENGL_1=""
52946 if test "x$USE_PCH" = "x1" ; then
52950 COND_USE_PLUGINS_0="#"
52951 if test "x$USE_PLUGINS" = "x0" ; then
52952 COND_USE_PLUGINS_0=""
52955 COND_USE_RTTI_0="#"
52956 if test "x$USE_RTTI" = "x0" ; then
52960 COND_USE_RTTI_1="#"
52961 if test "x$USE_RTTI" = "x1" ; then
52965 COND_USE_SOTWOSYMLINKS_1="#"
52966 if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
52967 COND_USE_SOTWOSYMLINKS_1=""
52970 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
52971 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
52972 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
52975 COND_USE_SOVERLINUX_1="#"
52976 if test "x$USE_SOVERLINUX" = "x1" ; then
52977 COND_USE_SOVERLINUX_1=""
52980 COND_USE_SOVERSION_0="#"
52981 if test "x$USE_SOVERSION" = "x0" ; then
52982 COND_USE_SOVERSION_0=""
52985 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
52986 if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
52987 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
52990 COND_USE_SOVERSOLARIS_1="#"
52991 if test "x$USE_SOVERSOLARIS" = "x1" ; then
52992 COND_USE_SOVERSOLARIS_1=""
52996 if test "x$USE_STC" = "x1" ; then
53000 COND_USE_THREADS_0="#"
53001 if test "x$USE_THREADS" = "x0" ; then
53002 COND_USE_THREADS_0=""
53005 COND_USE_THREADS_1="#"
53006 if test "x$USE_THREADS" = "x1" ; then
53007 COND_USE_THREADS_1=""
53011 if test "x$USE_XRC" = "x1" ; then
53015 COND_WINDOWS_IMPLIB_1="#"
53016 if test "x$WINDOWS_IMPLIB" = "x1" ; then
53017 COND_WINDOWS_IMPLIB_1=""
53020 COND_WITH_PLUGIN_SDL_1="#"
53021 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
53022 COND_WITH_PLUGIN_SDL_1=""
53026 if test "x$WXUNIV" = "x0" ; then
53031 if test "x$WXUNIV" = "x1" ; then
53035 COND_WXUSE_EXPAT_BUILTIN="#"
53036 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
53037 COND_WXUSE_EXPAT_BUILTIN=""
53040 COND_WXUSE_LIBJPEG_BUILTIN="#"
53041 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53042 COND_WXUSE_LIBJPEG_BUILTIN=""
53045 COND_WXUSE_LIBPNG_BUILTIN="#"
53046 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53047 COND_WXUSE_LIBPNG_BUILTIN=""
53050 COND_WXUSE_LIBTIFF_BUILTIN="#"
53051 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53052 COND_WXUSE_LIBTIFF_BUILTIN=""
53055 COND_WXUSE_REGEX_BUILTIN="#"
53056 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
53057 COND_WXUSE_REGEX_BUILTIN=""
53060 COND_WXUSE_ZLIB_BUILTIN="#"
53061 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
53062 COND_WXUSE_ZLIB_BUILTIN=""
53065 COND_wxUSE_EXPAT_builtin="#"
53066 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
53067 COND_wxUSE_EXPAT_builtin=""
53070 COND_wxUSE_LIBJPEG_builtin="#"
53071 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
53072 COND_wxUSE_LIBJPEG_builtin=""
53075 COND_wxUSE_LIBPNG_builtin="#"
53076 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
53077 COND_wxUSE_LIBPNG_builtin=""
53080 COND_wxUSE_LIBTIFF_builtin="#"
53081 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
53082 COND_wxUSE_LIBTIFF_builtin=""
53085 COND_wxUSE_REGEX_builtin="#"
53086 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
53087 COND_wxUSE_REGEX_builtin=""
53090 COND_wxUSE_ZLIB_builtin="#"
53091 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
53092 COND_wxUSE_ZLIB_builtin=""
53097 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
53098 { { 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
53099 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;}
53100 { (exit 1); exit 1; }; }
53103 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
53104 { { 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
53105 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;}
53106 { (exit 1); exit 1; }; }
53113 ?:* ) # Drive letter, considered as absolute.
53116 INSTALL=`pwd`/${INSTALL} ;;
53119 if test "$wxUSE_GUI" = "yes"; then
53121 if test "$wxUSE_MSW" = 1 ; then
53122 if test "x$WINDRES" = "x"; then
53123 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
53124 echo "$as_me: error: Required windres program not found" >&2;}
53125 { (exit 1); exit 1; }; }
53131 if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
53132 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
53133 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
53135 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
53137 # Extract the first word of "DeRez", so it can be a program name with args.
53138 set dummy DeRez; ac_word=$2
53139 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53141 if test "${ac_cv_prog_DEREZ+set}" = set; then
53142 echo $ECHO_N "(cached) $ECHO_C" >&6
53144 if test -n "$DEREZ"; then
53145 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
53147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53148 for as_dir in $PATH
53151 test -z "$as_dir" && as_dir=.
53152 for ac_exec_ext in '' $ac_executable_extensions; do
53153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53154 ac_cv_prog_DEREZ="DeRez"
53155 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53162 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
53165 DEREZ=$ac_cv_prog_DEREZ
53166 if test -n "$DEREZ"; then
53167 { echo "$as_me:$LINENO: result: $DEREZ" >&5
53168 echo "${ECHO_T}$DEREZ" >&6; }
53170 { echo "$as_me:$LINENO: result: no" >&5
53171 echo "${ECHO_T}no" >&6; }
53176 MACSETFILE="\$(SETFILE)"
53178 if test "$wxUSE_OSX_CARBON" = 1; then
53179 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
53181 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
53183 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
53184 RESCOMP="cat /dev/null \| $REZ"
53185 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
53191 if test "$wxUSE_PM" = 1; then
53193 WXCONFIG_RESFLAGS="-ep"
53195 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
53197 POSTLINK_COMMAND="@true"
53204 if test $GCC_PCH = 1
53206 if test "$wx_cv_gcc_pch_bug" = yes; then
53207 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
53208 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
53209 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
53210 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
53211 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
53212 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
53215 # Our WX_PRECOMP flag does not make sense for any language except C++ because
53216 # the headers that benefit from precompilation are mostly C++ headers.
53217 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
53218 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
53219 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
53223 if test "$wxUSE_MAC" = 1 ; then
53224 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
53225 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
53231 if test "$wxUSE_SHARED" = "yes"; then
53233 *-pc-os2_emx | *-pc-os2-emx )
53234 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53235 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
53236 cp -p ${srcdir}/src/os2/dllnames.sh .
53237 cp -p ${srcdir}/src/os2/dllar.sh .
53241 if test "$wxUSE_OMF" = "yes"; then
53243 *-pc-os2_emx | *-pc-os2-emx )
53244 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
53245 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53246 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
53251 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
53256 if test "$GCC" = yes; then
53257 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
53258 LIBS=`echo $LIBS | sed 's/-mt//'`
53259 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
53264 if test "x$SUNCXX" = xyes; then
53265 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
53266 LIBS=`echo $LIBS | sed 's/-pthread//'`
53267 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
53272 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
53273 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
53274 OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
53275 OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
53277 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
53338 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
53339 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
53340 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
53341 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
53342 echo $ECHO_N "(cached) $ECHO_C" >&6
53344 cat >conftest.make <<\_ACEOF
53347 @echo '@@@%%%=$(MAKE)=@@@%%%'
53349 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
53350 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
53351 *@@@%%%=?*=@@@%%%*)
53352 eval ac_cv_prog_make_${ac_make}_set=yes;;
53354 eval ac_cv_prog_make_${ac_make}_set=no;;
53356 rm -f conftest.make
53358 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
53359 { echo "$as_me:$LINENO: result: yes" >&5
53360 echo "${ECHO_T}yes" >&6; }
53363 { echo "$as_me:$LINENO: result: no" >&5
53364 echo "${ECHO_T}no" >&6; }
53365 SET_MAKE="MAKE=${MAKE-make}"
53370 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
53373 if test "$USE_WIN32" = 1; then
53374 ac_config_commands="$ac_config_commands rcdefs.h"
53378 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
53381 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
53384 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
53387 if test "$wx_cv_version_script" = "yes"; then
53388 ac_config_files="$ac_config_files version-script"
53391 ac_config_files="$ac_config_files Makefile"
53394 ac_config_commands="$ac_config_commands wx-config"
53398 if test "$wxWITH_SUBDIRS" != "no"; then
53399 if test "$wxUSE_GUI" = "yes"; then
53400 SUBDIRS="samples demos utils"
53402 SUBDIRS="samples utils"
53407 # Check whether --with-cppunit-prefix was given.
53408 if test "${with_cppunit_prefix+set}" = set; then
53409 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
53411 cppunit_config_prefix=""
53415 # Check whether --with-cppunit-exec-prefix was given.
53416 if test "${with_cppunit_exec_prefix+set}" = set; then
53417 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
53419 cppunit_config_exec_prefix=""
53423 if test x$cppunit_config_exec_prefix != x ; then
53424 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
53425 if test x${CPPUNIT_CONFIG+set} != xset ; then
53426 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
53429 if test x$cppunit_config_prefix != x ; then
53430 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
53431 if test x${CPPUNIT_CONFIG+set} != xset ; then
53432 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
53436 # Extract the first word of "cppunit-config", so it can be a program name with args.
53437 set dummy cppunit-config; ac_word=$2
53438 { echo "$as_me:$LINENO: checking for $ac_word" >&5
53439 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
53440 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
53441 echo $ECHO_N "(cached) $ECHO_C" >&6
53443 case $CPPUNIT_CONFIG in
53445 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
53448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
53449 for as_dir in $PATH
53452 test -z "$as_dir" && as_dir=.
53453 for ac_exec_ext in '' $ac_executable_extensions; do
53454 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
53455 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
53456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
53463 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
53467 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
53468 if test -n "$CPPUNIT_CONFIG"; then
53469 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
53470 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
53472 { echo "$as_me:$LINENO: result: no" >&5
53473 echo "${ECHO_T}no" >&6; }
53477 cppunit_version_min=1.8.0
53479 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
53480 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
53482 if test "$CPPUNIT_CONFIG" = "no" ; then
53483 { echo "$as_me:$LINENO: result: no" >&5
53484 echo "${ECHO_T}no" >&6; }
53487 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
53488 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
53489 cppunit_version=`$CPPUNIT_CONFIG --version`
53491 cppunit_major_version=`echo $cppunit_version | \
53492 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53493 cppunit_minor_version=`echo $cppunit_version | \
53494 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53495 cppunit_micro_version=`echo $cppunit_version | \
53496 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53498 cppunit_major_min=`echo $cppunit_version_min | \
53499 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
53500 cppunit_minor_min=`echo $cppunit_version_min | \
53501 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
53502 cppunit_micro_min=`echo $cppunit_version_min | \
53503 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
53505 cppunit_version_proper=`expr \
53506 $cppunit_major_version \
> $cppunit_major_min \
| \
53507 $cppunit_major_version \
= $cppunit_major_min \
& \
53508 $cppunit_minor_version \
> $cppunit_minor_min \
| \
53509 $cppunit_major_version \
= $cppunit_major_min \
& \
53510 $cppunit_minor_version \
= $cppunit_minor_min \
& \
53511 $cppunit_micro_version \
>= $cppunit_micro_min `
53513 if test "$cppunit_version_proper" = "1" ; then
53514 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
53515 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
53517 { echo "$as_me:$LINENO: result: no" >&5
53518 echo "${ECHO_T}no" >&6; }
53523 if test "x$no_cppunit" = x ; then
53524 SUBDIRS="$SUBDIRS tests"
53535 for subdir in $SUBDIRS; do
53536 if test -d ${srcdir}/${subdir} ; then
53537 if test "$wxUSE_GUI" = "yes"; then
53538 if test ${subdir} = "samples"; then
53539 makefiles="samples/Makefile.in $makefiles"
53540 for sample in $SAMPLES_SUBDIRS; do
53541 if test -d $srcdir/samples/$sample; then
53542 makefiles="samples/$sample/Makefile.in $makefiles"
53546 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
53547 eval "disabled=\$$disabled_var"
53548 disabled=/`echo X
$disabled | sed 's@ @/|/@g'`/
53549 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in) | $EGREP -v "$disabled"`
53552 if test ${subdir} = "samples"; then
53553 makefiles="samples/Makefile.in $makefiles"
53554 for sample in `echo $SAMPLES_SUBDIRS`; do
53555 if test -d $srcdir/samples/$sample; then
53556 makefiles="samples/$sample/Makefile.in $makefiles"
53559 elif test ${subdir} = "utils"; then
53561 for util in ifacecheck ; do
53562 if test -d $srcdir/utils/$util ; then
53563 makefiles="utils/$util/src/Makefile.in \
53568 makefiles=`(cd $srcdir ; find $subdir -name Makefile.
in)`
53572 for mkin in $makefiles ; do
53573 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
53574 ac_config_files="$ac_config_files $mk"
53580 cat >confcache <<\_ACEOF
53581 # This file is a shell script that caches the results of configure
53582 # tests run on this system so they can be shared between configure
53583 # scripts and configure runs, see configure's option --config-cache.
53584 # It is not useful on other systems. If it contains results you don't
53585 # want to keep, you may remove or edit it.
53587 # config.status only pays attention to the cache file if you give it
53588 # the --recheck option to rerun configure.
53590 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
53591 # loading this file, other *unset* `ac_cv_foo' will be assigned the
53592 # following values.
53596 # The following way of writing the cache mishandles newlines in values,
53597 # but we know of no workaround that is simple, portable, and efficient.
53598 # So, we kill variables containing newlines.
53599 # Ultrix sh set writes to stderr and can't be redirected directly,
53600 # and sets the high bit in the cache file unless we assign to the vars.
53602 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
53603 eval ac_val
=\$
$ac_var
53607 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
53608 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
53611 _
| IFS
| as_nl
) ;; #(
53612 *) $as_unset $ac_var ;;
53618 case $as_nl`(ac_space=' '; set) 2>&1` in #(
53619 *${as_nl}ac_space
=\
*)
53620 # `set' does not quote correctly, so add quotes (double-quote
53621 # substitution turns \\\\ into \\, and sed turns \\ into \).
53624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
53627 # `set' quotes correctly as required by POSIX, so do not add quotes.
53628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
53637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
53639 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
53641 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
53642 if test -w "$cache_file"; then
53643 test "x$cache_file" != "x/dev/null" &&
53644 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
53645 echo "$as_me: updating cache $cache_file" >&6;}
53646 cat confcache
>$cache_file
53648 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
53649 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
53654 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
53655 # Let make expand exec_prefix.
53656 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
53658 DEFS
=-DHAVE_CONFIG_H
53662 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
53663 # 1. Remove the extension, and $U if already installed.
53664 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
53665 ac_i
=`echo "$ac_i" | sed "$ac_script"`
53666 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
53667 # will be set to the directory where LIBOBJS objects are built.
53668 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
53669 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
53671 LIBOBJS
=$ac_libobjs
53673 LTLIBOBJS
=$ac_ltlibobjs
53677 : ${CONFIG_STATUS=./config.status}
53678 ac_clean_files_save
=$ac_clean_files
53679 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
53680 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
53681 echo "$as_me: creating $CONFIG_STATUS" >&6;}
53682 cat >$CONFIG_STATUS <<_ACEOF
53684 # Generated by $as_me.
53685 # Run this file to recreate the current configuration.
53686 # Compiler output produced by configure, useful for debugging
53687 # configure, is in config.log if it exists.
53690 ac_cs_recheck=false
53692 SHELL=\${CONFIG_SHELL-$SHELL}
53695 cat >>$CONFIG_STATUS <<\_ACEOF
53696 ## --------------------- ##
53697 ## M4sh Initialization. ##
53698 ## --------------------- ##
53700 # Be more Bourne compatible
53701 DUALCASE
=1; export DUALCASE
# for MKS sh
53702 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
53705 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
53706 # is contrary to our usage. Disable this feature.
53707 alias -g '${1+"$@"}'='"$@"'
53708 setopt NO_GLOB_SUBST
53710 case `(set -o) 2>/dev/null` in
53711 *posix
*) set -o posix
;;
53720 # Avoid depending upon Character Ranges.
53721 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
53722 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
53723 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
53724 as_cr_digits
='0123456789'
53725 as_cr_alnum
=$as_cr_Letters$as_cr_digits
53727 # The user is always right.
53728 if test "${PATH_SEPARATOR+set}" != set; then
53729 echo "#! /bin/sh" >conf$$.sh
53730 echo "exit 0" >>conf$$.sh
53732 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
53740 # Support unset when possible.
53741 if ( (MAIL
=60; unset MAIL
) || exit) >/dev
/null
2>&1; then
53749 # We need space, tab and new line, in precisely that order. Quoting is
53750 # there to prevent editors from complaining about space-tab.
53751 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
53752 # splitting by setting IFS to empty value.)
53757 # Find who we are. Look in the path if we contain no directory separator.
53759 *[\\/]* ) as_myself
=$0 ;;
53760 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
53761 for as_dir
in $PATH
53764 test -z "$as_dir" && as_dir
=.
53765 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
53771 # We did not find ourselves, most probably we were run as `sh COMMAND'
53772 # in which case we are not to be found in the path.
53773 if test "x$as_myself" = x
; then
53776 if test ! -f "$as_myself"; then
53777 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
53778 { (exit 1); exit 1; }
53781 # Work around bugs in pre-3.0 UWIN ksh.
53782 for as_var
in ENV MAIL MAILPATH
53783 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53791 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
53792 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
53793 LC_TELEPHONE LC_TIME
53795 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
53796 eval $as_var=C
; export $as_var
53798 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
53802 # Required to use basename.
53803 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53804 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53810 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
53811 as_basename
=basename
53817 # Name of the executable.
53818 as_me
=`$as_basename -- "$0" ||
53819 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
53820 X"$0" : 'X\(//\)$' \| \
53821 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
53823 sed '/^.*\/\([^/][^/]*\)\/*$/{
53842 as_lineno_1
=$LINENO
53843 as_lineno_2
=$LINENO
53844 test "x$as_lineno_1" != "x$as_lineno_2" &&
53845 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
53847 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
53848 # uniformly replaced by the line number. The first 'sed' inserts a
53849 # line-number line after each line using $LINENO; the second 'sed'
53850 # does the real work. The second script uses 'N' to pair each
53851 # line-number line with the line containing $LINENO, and appends
53852 # trailing '-' during substitution so that $LINENO is not a special
53853 # case at line end.
53854 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
53855 # scripts with optimization help from Paolo Bonzini. Blame Lee
53856 # E. McMahon (1931-1989) for sed's syntax. :-)
53868 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
53871 ' >$as_me.lineno
&&
53872 chmod +x
"$as_me.lineno" ||
53873 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
53874 { (exit 1); exit 1; }; }
53876 # Don't try to exec as it changes $[0], causing all sort of problems
53877 # (the dirname of $[0] is not the place where we might find the
53878 # original and so on. Autoconf is especially sensitive to this).
53879 .
"./$as_me.lineno"
53880 # Exit status is that of the last command.
53885 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
53891 ECHO_C
= ECHO_N
= ECHO_T
=
53892 case `echo -n x` in
53894 case `echo 'x\c'` in
53895 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
53902 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
53903 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
53909 rm -f conf$$ conf$$.exe conf$$.
file
53910 if test -d conf$$.dir
; then
53911 rm -f conf$$.dir
/conf$$.
file
53917 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
53919 # ... but there are two gotchas:
53920 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
53921 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
53922 # In both cases, we have to default to `cp -p'.
53923 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe
||
53925 elif ln conf$$.
file conf$$
2>/dev
/null
; then
53930 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
53931 rmdir conf$$.dir
2>/dev
/null
53933 if mkdir -p .
2>/dev
/null
; then
53936 test -d .
/-p && rmdir .
/-p
53940 if test -x / >/dev
/null
2>&1; then
53941 as_test_x
='test -x'
53943 if ls -dL / >/dev
/null
2>&1; then
53950 if test -d "$1"; then
53956 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
53957 ???[sx]*):;;*)false;;esac;fi
53961 as_executable_p
=$as_test_x
53963 # Sed expression to map a string onto a valid CPP name.
53964 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
53966 # Sed expression to map a string onto a valid variable name.
53967 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
53972 # Save the log message, to keep $[0] and so on meaningful, and to
53973 # report actual input values of CONFIG_FILES etc. instead of their
53974 # values after options handling.
53976 This file was extended by wxWidgets $as_me 2.9.3, which was
53977 generated by GNU Autoconf 2.61. Invocation command line was
53979 CONFIG_FILES = $CONFIG_FILES
53980 CONFIG_HEADERS = $CONFIG_HEADERS
53981 CONFIG_LINKS = $CONFIG_LINKS
53982 CONFIG_COMMANDS = $CONFIG_COMMANDS
53985 on `(hostname || uname -n) 2>/dev/null | sed 1q`
53990 cat >>$CONFIG_STATUS <<_ACEOF
53991 # Files that config.status was made for.
53992 config_files="$ac_config_files"
53993 config_headers="$ac_config_headers"
53994 config_commands="$ac_config_commands"
53998 cat >>$CONFIG_STATUS <<\_ACEOF
54000 \`$as_me' instantiates files from templates according to the
54001 current configuration.
54003 Usage: $0 [OPTIONS] [FILE]...
54005 -h, --help print this help, then exit
54006 -V, --version print version number and configuration settings, then exit
54007 -q, --quiet do not print progress messages
54008 -d, --debug don't remove temporary files
54009 --recheck update $as_me by reconfiguring in the same conditions
54010 --file=FILE[:TEMPLATE]
54011 instantiate the configuration file FILE
54012 --header=FILE[:TEMPLATE]
54013 instantiate the configuration header FILE
54015 Configuration files:
54018 Configuration headers:
54021 Configuration commands:
54024 Report bugs to <bug-autoconf@gnu.org>."
54027 cat >>$CONFIG_STATUS <<_ACEOF
54029 wxWidgets config.status 2.9.3
54030 configured by $0, generated by GNU Autoconf 2.61,
54031 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
54033 Copyright (C) 2006 Free Software Foundation, Inc.
54034 This config.status script is free software; the Free Software Foundation
54035 gives unlimited permission to copy, distribute and modify it."
54042 cat >>$CONFIG_STATUS <<\_ACEOF
54043 # If no file are specified by the user, then we need to provide default
54044 # value. By we need to know if files were specified by the user.
54050 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
54051 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
54062 # Handling of the options.
54063 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
54065 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
54066 echo "$ac_cs_version"; exit ;;
54067 --debug | --debu | --deb | --de | --d | -d )
54069 --file | --fil | --fi | --f )
54071 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
54072 ac_need_defaults
=false
;;
54073 --header | --heade | --head | --hea )
54075 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
54076 ac_need_defaults
=false
;;
54078 # Conflict between --help and --header
54079 { echo "$as_me: error: ambiguous option: $1
54080 Try \`$0 --help' for more information." >&2
54081 { (exit 1); exit 1; }; };;
54082 --help | --hel | -h )
54083 echo "$ac_cs_usage"; exit ;;
54084 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
54085 | -silent | --silent | --silen | --sile | --sil | --si | --s)
54088 # This is an error.
54089 -*) { echo "$as_me: error: unrecognized option: $1
54090 Try \`$0 --help' for more information." >&2
54091 { (exit 1); exit 1; }; } ;;
54093 *) ac_config_targets
="$ac_config_targets $1"
54094 ac_need_defaults
=false
;;
54100 ac_configure_extra_args
=
54102 if $ac_cs_silent; then
54104 ac_configure_extra_args
="$ac_configure_extra_args --silent"
54108 cat >>$CONFIG_STATUS <<_ACEOF
54109 if \$ac_cs_recheck; then
54110 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
54111 CONFIG_SHELL=$SHELL
54112 export CONFIG_SHELL
54113 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
54117 cat >>$CONFIG_STATUS <<\_ACEOF
54121 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
54122 ## Running $as_me. ##
54128 cat >>$CONFIG_STATUS <<_ACEOF
54134 infile="$srcdir/include/wx/msw/genrcdefs.h"
54135 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
54138 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54139 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54140 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
54146 cat >>$CONFIG_STATUS <<\_ACEOF
54148 # Handling of arguments.
54149 for ac_config_target
in $ac_config_targets
54151 case $ac_config_target in
54152 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS
="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
54153 "rcdefs.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS rcdefs.h" ;;
54154 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
54155 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES
="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
54156 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES
="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
54157 "version-script") CONFIG_FILES
="$CONFIG_FILES version-script" ;;
54158 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
54159 "wx-config") CONFIG_COMMANDS
="$CONFIG_COMMANDS wx-config" ;;
54160 "$mk") CONFIG_FILES
="$CONFIG_FILES $mk" ;;
54162 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
54163 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
54164 { (exit 1); exit 1; }; };;
54169 # If the user did not use the arguments to specify the items to instantiate,
54170 # then the envvar interface is used. Set only those that are not.
54171 # We use the long form for the default assignment because of an extremely
54172 # bizarre bug on SunOS 4.1.3.
54173 if $ac_need_defaults; then
54174 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
54175 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
54176 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
54179 # Have a temporary directory for convenience. Make it in the build tree
54180 # simply because there is no reason against having it here, and in addition,
54181 # creating and moving files from /tmp can sometimes cause problems.
54182 # Hook for its removal unless debugging.
54183 # Note that there is a small window in which the directory will not be cleaned:
54184 # after its creation but before its name has been assigned to `$tmp'.
54188 trap 'exit_status=$?
54189 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
54191 trap '{ (exit 1); exit 1; }' 1 2 13 15
54193 # Create a (secure) tmp directory for tmp files.
54196 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
54197 test -n "$tmp" && test -d "$tmp"
54200 tmp
=.
/conf$$
-$RANDOM
54201 (umask 077 && mkdir "$tmp")
54204 echo "$me: cannot create a temporary directory in ." >&2
54205 { (exit 1); exit 1; }
54209 # Set up the sed scripts for CONFIG_FILES section.
54212 # No need to generate the scripts if there are no CONFIG_FILES.
54213 # This happens for instance when ./config.status config.h
54214 if test -n "$CONFIG_FILES"; then
54221 for ac_last_try
in false false false false false
:; do
54222 cat >conf$
$subs.
sed <<_ACEOF
54223 SHELL!$SHELL$ac_delim
54224 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
54225 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
54226 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
54227 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
54228 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
54229 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
54230 exec_prefix!$exec_prefix$ac_delim
54231 prefix!$prefix$ac_delim
54232 program_transform_name!$program_transform_name$ac_delim
54233 bindir!$bindir$ac_delim
54234 sbindir!$sbindir$ac_delim
54235 libexecdir!$libexecdir$ac_delim
54236 datarootdir!$datarootdir$ac_delim
54237 datadir!$datadir$ac_delim
54238 sysconfdir!$sysconfdir$ac_delim
54239 sharedstatedir!$sharedstatedir$ac_delim
54240 localstatedir!$localstatedir$ac_delim
54241 includedir!$includedir$ac_delim
54242 oldincludedir!$oldincludedir$ac_delim
54243 docdir!$docdir$ac_delim
54244 infodir!$infodir$ac_delim
54245 htmldir!$htmldir$ac_delim
54246 dvidir!$dvidir$ac_delim
54247 pdfdir!$pdfdir$ac_delim
54248 psdir!$psdir$ac_delim
54249 libdir!$libdir$ac_delim
54250 localedir!$localedir$ac_delim
54251 mandir!$mandir$ac_delim
54252 DEFS!$DEFS$ac_delim
54253 ECHO_C!$ECHO_C$ac_delim
54254 ECHO_N!$ECHO_N$ac_delim
54255 ECHO_T!$ECHO_T$ac_delim
54256 LIBS!$LIBS$ac_delim
54257 build_alias!$build_alias$ac_delim
54258 host_alias!$host_alias$ac_delim
54259 target_alias!$target_alias$ac_delim
54260 build!$build$ac_delim
54261 build_cpu!$build_cpu$ac_delim
54262 build_vendor!$build_vendor$ac_delim
54263 build_os!$build_os$ac_delim
54264 host!$host$ac_delim
54265 host_cpu!$host_cpu$ac_delim
54266 host_vendor!$host_vendor$ac_delim
54267 host_os!$host_os$ac_delim
54268 wx_top_builddir!$wx_top_builddir$ac_delim
54270 CFLAGS!$CFLAGS$ac_delim
54271 LDFLAGS!$LDFLAGS$ac_delim
54272 CPPFLAGS!$CPPFLAGS$ac_delim
54273 ac_ct_CC!$ac_ct_CC$ac_delim
54274 EXEEXT!$EXEEXT$ac_delim
54275 OBJEXT!$OBJEXT$ac_delim
54277 GREP!$GREP$ac_delim
54278 EGREP!$EGREP$ac_delim
54280 CXXFLAGS!$CXXFLAGS$ac_delim
54281 ac_ct_CXX!$ac_ct_CXX$ac_delim
54283 OSX_SW_VERS!$OSX_SW_VERS$ac_delim
54284 CXXCPP!$CXXCPP$ac_delim
54285 subdirs!$subdirs$ac_delim
54286 PKG_CONFIG!$PKG_CONFIG$ac_delim
54287 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
54288 GTK_LIBS!$GTK_LIBS$ac_delim
54289 GTK_CONFIG!$GTK_CONFIG$ac_delim
54290 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
54291 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
54292 XMKMF!$XMKMF$ac_delim
54293 X_CFLAGS!$X_CFLAGS$ac_delim
54294 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
54295 X_LIBS!$X_LIBS$ac_delim
54296 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
54297 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
54298 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
54299 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
54300 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
54301 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
54302 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
54303 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
54304 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
54305 LIBICONV!$LIBICONV$ac_delim
54306 GXX_VERSION!$GXX_VERSION$ac_delim
54307 SDL_CONFIG!$SDL_CONFIG$ac_delim
54308 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
54309 SDL_LIBS!$SDL_LIBS$ac_delim
54310 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
54311 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
54312 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
54313 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
54314 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
54315 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
54316 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
54317 HILDON_LIBS!$HILDON_LIBS$ac_delim
54318 HILDON2_CFLAGS!$HILDON2_CFLAGS$ac_delim
54319 HILDON2_LIBS!$HILDON2_LIBS$ac_delim
54322 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54324 elif $ac_last_try; then
54325 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54326 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54327 { (exit 1); exit 1; }; }
54329 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54333 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54334 if test -n "$ac_eof"; then
54335 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54336 ac_eof
=`expr $ac_eof + 1`
54339 cat >>$CONFIG_STATUS <<_ACEOF
54340 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
54341 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54344 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54345 s/^/s,@/; s/!/@,|#_!!_#|/
54348 s/'"$ac_delim"'$/,g/; t
54350 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54351 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54352 rm -f conf$
$subs.
sed
54353 cat >>$CONFIG_STATUS <<_ACEOF
54359 for ac_last_try
in false false false false false
:; do
54360 cat >conf$
$subs.
sed <<_ACEOF
54361 PYTHON!$PYTHON$ac_delim
54362 COND_PYTHON!$COND_PYTHON$ac_delim
54363 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
54364 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
54365 GST_CFLAGS!$GST_CFLAGS$ac_delim
54366 GST_LIBS!$GST_LIBS$ac_delim
54367 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
54368 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
54369 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
54370 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
54371 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
54372 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
54373 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
54374 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
54375 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
54376 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
54377 VENDOR!$VENDOR$ac_delim
54378 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
54379 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
54380 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
54381 WXUNIV!$WXUNIV$ac_delim
54382 MONOLITHIC!$MONOLITHIC$ac_delim
54383 USE_PLUGINS!$USE_PLUGINS$ac_delim
54384 CXXWARNINGS!$CXXWARNINGS$ac_delim
54385 EXTRALIBS!$EXTRALIBS$ac_delim
54386 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
54387 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
54388 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
54389 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
54390 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
54391 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
54392 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
54393 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
54394 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
54395 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
54396 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
54397 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
54398 UNICODE!$UNICODE$ac_delim
54399 DEBUG_INFO!$DEBUG_INFO$ac_delim
54400 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
54401 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
54402 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
54403 DYLIB_RPATH_INSTALL!$DYLIB_RPATH_INSTALL$ac_delim
54404 DYLIB_RPATH_POSTLINK!$DYLIB_RPATH_POSTLINK$ac_delim
54405 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
54406 HEADER_PAD_OPTION!$HEADER_PAD_OPTION$ac_delim
54407 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
54408 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
54409 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
54410 RANLIB!$RANLIB$ac_delim
54411 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
54412 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
54413 INSTALL_DATA!$INSTALL_DATA$ac_delim
54414 LN_S!$LN_S$ac_delim
54415 SET_MAKE!$SET_MAKE$ac_delim
54416 MAKE_SET!$MAKE_SET$ac_delim
54417 AROPTIONS!$AROPTIONS$ac_delim
54418 STRIP!$STRIP$ac_delim
54420 INSTALL_DIR!$INSTALL_DIR$ac_delim
54421 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
54422 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
54423 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
54424 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
54425 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
54426 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
54427 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
54428 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
54429 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
54430 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
54431 SO_SUFFIX!$SO_SUFFIX$ac_delim
54432 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
54433 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
54434 LIBPREFIX!$LIBPREFIX$ac_delim
54435 LIBEXT!$LIBEXT$ac_delim
54436 DLLPREFIX!$DLLPREFIX$ac_delim
54437 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
54438 dlldir!$dlldir$ac_delim
54439 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
54440 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
54441 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
54442 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
54443 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
54444 PIC_FLAG!$PIC_FLAG$ac_delim
54445 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
54446 USE_SOVERSION!$USE_SOVERSION$ac_delim
54447 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
54448 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
54449 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
54450 USE_MACVERSION!$USE_MACVERSION$ac_delim
54451 USE_SOTWOSYMLINKS!$USE_SOTWOSYMLINKS$ac_delim
54452 SONAME_FLAG!$SONAME_FLAG$ac_delim
54453 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
54454 BK_DEPS!$BK_DEPS$ac_delim
54455 WINDRES!$WINDRES$ac_delim
54457 SETFILE!$SETFILE$ac_delim
54460 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54462 elif $ac_last_try; then
54463 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54464 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54465 { (exit 1); exit 1; }; }
54467 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54471 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54472 if test -n "$ac_eof"; then
54473 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54474 ac_eof
=`expr $ac_eof + 1`
54477 cat >>$CONFIG_STATUS <<_ACEOF
54478 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
54479 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54482 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54483 s/^/s,@/; s/!/@,|#_!!_#|/
54486 s/'"$ac_delim"'$/,g/; t
54488 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54489 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54490 rm -f conf$
$subs.
sed
54491 cat >>$CONFIG_STATUS <<_ACEOF
54497 for ac_last_try
in false false false false false
:; do
54498 cat >conf$
$subs.
sed <<_ACEOF
54499 OBJCXXFLAGS!$OBJCXXFLAGS$ac_delim
54500 GCC_PCH!$GCC_PCH$ac_delim
54501 ICC_PCH!$ICC_PCH$ac_delim
54502 ICC_PCH_CREATE_SWITCH!$ICC_PCH_CREATE_SWITCH$ac_delim
54503 ICC_PCH_USE_SWITCH!$ICC_PCH_USE_SWITCH$ac_delim
54504 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
54505 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
54506 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
54507 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
54508 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
54509 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
54510 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
54511 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
54512 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
54513 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
54514 COND_BUILD_debug!$COND_BUILD_debug$ac_delim
54515 COND_BUILD_debug_DEBUG_FLAG_default!$COND_BUILD_debug_DEBUG_FLAG_default$ac_delim
54516 COND_BUILD_debug_DEBUG_INFO_default!$COND_BUILD_debug_DEBUG_INFO_default$ac_delim
54517 COND_BUILD_debug_UNICODE_0!$COND_BUILD_debug_UNICODE_0$ac_delim
54518 COND_BUILD_debug_UNICODE_1!$COND_BUILD_debug_UNICODE_1$ac_delim
54519 COND_BUILD_release!$COND_BUILD_release$ac_delim
54520 COND_BUILD_release_DEBUG_INFO_default!$COND_BUILD_release_DEBUG_INFO_default$ac_delim
54521 COND_BUILD_release_UNICODE_0!$COND_BUILD_release_UNICODE_0$ac_delim
54522 COND_BUILD_release_UNICODE_1!$COND_BUILD_release_UNICODE_1$ac_delim
54523 COND_DEBUG_FLAG_0!$COND_DEBUG_FLAG_0$ac_delim
54524 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
54525 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
54526 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
54527 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
54528 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
54529 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
54530 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
54531 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
54532 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
54533 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
54534 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
54535 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
54536 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54537 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
54538 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1$ac_delim
54539 COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1$ac_delim
54540 COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1$ac_delim
54541 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
54542 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
54543 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
54544 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
54545 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
54546 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
54547 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
54548 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
54549 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
54550 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1$ac_delim
54551 COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1!$COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1$ac_delim
54552 COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1!$COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1$ac_delim
54553 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
54554 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
54555 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
54556 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
54557 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
54558 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
54559 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
54560 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
54561 COND_MONOLITHIC_0_USE_PROPGRID_1!$COND_MONOLITHIC_0_USE_PROPGRID_1$ac_delim
54562 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
54563 COND_MONOLITHIC_0_USE_RIBBON_1!$COND_MONOLITHIC_0_USE_RIBBON_1$ac_delim
54564 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
54565 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
54566 COND_MONOLITHIC_0_USE_WEBVIEW_1!$COND_MONOLITHIC_0_USE_WEBVIEW_1$ac_delim
54567 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
54568 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
54569 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
54570 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
54571 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
54572 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
54573 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
54574 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
54575 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
54576 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
54577 COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0$ac_delim
54578 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54579 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
54580 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54581 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
54582 COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54583 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
54584 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
54585 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
54586 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
54587 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
54588 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
54589 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
54590 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
54591 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
54592 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
54593 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
54594 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
54595 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
54598 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54600 elif $ac_last_try; then
54601 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54602 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54603 { (exit 1); exit 1; }; }
54605 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54609 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54610 if test -n "$ac_eof"; then
54611 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54612 ac_eof
=`expr $ac_eof + 1`
54615 cat >>$CONFIG_STATUS <<_ACEOF
54616 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
54617 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54620 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54621 s/^/s,@/; s/!/@,|#_!!_#|/
54624 s/'"$ac_delim"'$/,g/; t
54626 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54627 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54628 rm -f conf$
$subs.
sed
54629 cat >>$CONFIG_STATUS <<_ACEOF
54635 for ac_last_try
in false false false false false
:; do
54636 cat >conf$
$subs.
sed <<_ACEOF
54637 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
54638 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
54639 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
54640 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
54641 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
54642 COND_PLATFORM_WIN32_1_SHARED_0!$COND_PLATFORM_WIN32_1_SHARED_0$ac_delim
54643 COND_SHARED_0!$COND_SHARED_0$ac_delim
54644 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
54645 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
54646 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
54647 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
54648 COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54649 COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54650 COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54651 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
54652 COND_SHARED_0_wxUSE_EXPAT_builtin!$COND_SHARED_0_wxUSE_EXPAT_builtin$ac_delim
54653 COND_SHARED_0_wxUSE_REGEX_builtin!$COND_SHARED_0_wxUSE_REGEX_builtin$ac_delim
54654 COND_SHARED_0_wxUSE_ZLIB_builtin!$COND_SHARED_0_wxUSE_ZLIB_builtin$ac_delim
54655 COND_SHARED_1!$COND_SHARED_1$ac_delim
54656 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
54657 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
54658 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
54659 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
54660 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
54661 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
54662 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
54663 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
54664 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
54665 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
54666 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
54667 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
54668 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
54669 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
54670 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
54671 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
54672 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
54673 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
54674 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
54675 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
54676 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
54677 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
54678 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
54679 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
54680 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
54681 COND_TOOLKIT_OSX_CARBON!$COND_TOOLKIT_OSX_CARBON$ac_delim
54682 COND_TOOLKIT_OSX_CARBON_USE_GUI_1!$COND_TOOLKIT_OSX_CARBON_USE_GUI_1$ac_delim
54683 COND_TOOLKIT_OSX_COCOA!$COND_TOOLKIT_OSX_COCOA$ac_delim
54684 COND_TOOLKIT_OSX_COCOA_USE_GUI_1!$COND_TOOLKIT_OSX_COCOA_USE_GUI_1$ac_delim
54685 COND_TOOLKIT_OSX_IPHONE!$COND_TOOLKIT_OSX_IPHONE$ac_delim
54686 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1$ac_delim
54687 COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0$ac_delim
54688 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
54689 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
54690 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
54691 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
54692 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
54693 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
54694 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
54695 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
54696 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
54697 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
54698 COND_USE_CAIRO_1!$COND_USE_CAIRO_1$ac_delim
54699 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
54700 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
54701 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
54702 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
54703 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
54704 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
54705 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
54706 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
54707 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
54708 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
54709 COND_USE_GUI_1_wxUSE_LIBJPEG_builtin!$COND_USE_GUI_1_wxUSE_LIBJPEG_builtin$ac_delim
54710 COND_USE_GUI_1_wxUSE_LIBPNG_builtin!$COND_USE_GUI_1_wxUSE_LIBPNG_builtin$ac_delim
54711 COND_USE_GUI_1_wxUSE_LIBTIFF_builtin!$COND_USE_GUI_1_wxUSE_LIBTIFF_builtin$ac_delim
54712 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
54713 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
54714 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
54715 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
54716 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
54717 COND_USE_SOTWOSYMLINKS_1!$COND_USE_SOTWOSYMLINKS_1$ac_delim
54718 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
54719 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
54720 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
54721 COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1!$COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1$ac_delim
54722 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
54723 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
54724 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
54725 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
54726 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
54727 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
54728 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
54729 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
54730 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
54731 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
54732 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
54733 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
54736 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
54738 elif $ac_last_try; then
54739 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54740 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54741 { (exit 1); exit 1; }; }
54743 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54747 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54748 if test -n "$ac_eof"; then
54749 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54750 ac_eof
=`expr $ac_eof + 1`
54753 cat >>$CONFIG_STATUS <<_ACEOF
54754 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
54755 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
54758 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54759 s/^/s,@/; s/!/@,|#_!!_#|/
54762 s/'"$ac_delim"'$/,g/; t
54764 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54765 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54766 rm -f conf$
$subs.
sed
54767 cat >>$CONFIG_STATUS <<_ACEOF
54773 for ac_last_try
in false false false false false
:; do
54774 cat >conf$
$subs.
sed <<_ACEOF
54775 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
54776 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
54777 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
54778 COND_wxUSE_EXPAT_builtin!$COND_wxUSE_EXPAT_builtin$ac_delim
54779 COND_wxUSE_LIBJPEG_builtin!$COND_wxUSE_LIBJPEG_builtin$ac_delim
54780 COND_wxUSE_LIBPNG_builtin!$COND_wxUSE_LIBPNG_builtin$ac_delim
54781 COND_wxUSE_LIBTIFF_builtin!$COND_wxUSE_LIBTIFF_builtin$ac_delim
54782 COND_wxUSE_REGEX_builtin!$COND_wxUSE_REGEX_builtin$ac_delim
54783 COND_wxUSE_ZLIB_builtin!$COND_wxUSE_ZLIB_builtin$ac_delim
54784 DEREZ!$DEREZ$ac_delim
54785 SHARED!$SHARED$ac_delim
54786 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
54787 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
54788 USE_GUI!$USE_GUI$ac_delim
54789 AFMINSTALL!$AFMINSTALL$ac_delim
54790 WIN32INSTALL!$WIN32INSTALL$ac_delim
54791 TOOLKIT!$TOOLKIT$ac_delim
54792 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
54793 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
54794 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
54795 cross_compiling!$cross_compiling$ac_delim
54796 WIDGET_SET!$WIDGET_SET$ac_delim
54797 WX_RELEASE!$WX_RELEASE$ac_delim
54798 WX_VERSION!$WX_VERSION$ac_delim
54799 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
54800 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
54801 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
54802 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
54803 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
54804 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
54805 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
54806 WXCONFIG_LDFLAGS!$WXCONFIG_LDFLAGS$ac_delim
54807 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
54808 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
54809 GUIDIST!$GUIDIST$ac_delim
54810 DISTDIR!$DISTDIR$ac_delim
54811 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
54812 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
54813 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
54814 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
54815 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
54816 RESCOMP!$RESCOMP$ac_delim
54817 RESFLAGS!$RESFLAGS$ac_delim
54818 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
54819 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
54820 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
54821 LIBWXMACRES!$LIBWXMACRES$ac_delim
54822 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
54823 MACSETFILE!$MACSETFILE$ac_delim
54825 DLLTOOL!$DLLTOOL$ac_delim
54826 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
54827 LIBOBJS!$LIBOBJS$ac_delim
54828 LTLIBOBJS!$LTLIBOBJS$ac_delim
54831 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 54; then
54833 elif $ac_last_try; then
54834 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
54835 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
54836 { (exit 1); exit 1; }; }
54838 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
54842 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
54843 if test -n "$ac_eof"; then
54844 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
54845 ac_eof
=`expr $ac_eof + 1`
54848 cat >>$CONFIG_STATUS <<_ACEOF
54849 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
54850 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
54853 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
54854 s/^/s,@/; s/!/@,|#_!!_#|/
54857 s/'"$ac_delim"'$/,g/; t
54859 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
54860 ' >>$CONFIG_STATUS <conf$
$subs.
sed
54861 rm -f conf$
$subs.
sed
54862 cat >>$CONFIG_STATUS <<_ACEOF
54869 # VPATH may cause trouble with some makes, so we remove $(srcdir),
54870 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
54871 # trailing colons and then remove the whole line if VPATH becomes empty
54872 # (actually we leave an empty line to preserve line numbers).
54873 if test "x$srcdir" = x.
; then
54874 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
54875 s/:*\$(srcdir):*/:/
54876 s/:*\${srcdir}:*/:/
54878 s/^\([^=]*=[ ]*\):*/\1/
54884 cat >>$CONFIG_STATUS <<\_ACEOF
54885 fi # test -n "$CONFIG_FILES"
54888 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
54891 :[FHLC
]) ac_mode
=$ac_tag; continue;;
54893 case $ac_mode$ac_tag in
54895 :L
* | :C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
54896 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
54897 { (exit 1); exit 1; }; };;
54898 :[FH
]-) ac_tag
=-:-;;
54899 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
54916 -) ac_f
="$tmp/stdin";;
54917 *) # Look for the file first in the build tree, then in the source tree
54918 # (if the path is not absolute). The absolute path cannot be DOS-style,
54919 # because $ac_f cannot contain `:'.
54923 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
54925 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
54926 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
54927 { (exit 1); exit 1; }; };;
54929 ac_file_inputs
="$ac_file_inputs $ac_f"
54932 # Let's still pretend it is `configure' which instantiates (i.e., don't
54933 # use $as_me), people would be surprised to read:
54934 # /* config.h. Generated by config.status. */
54935 configure_input
="Generated from "`IFS=:
54936 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
54937 if test x
"$ac_file" != x
-; then
54938 configure_input
="$ac_file. $configure_input"
54939 { echo "$as_me:$LINENO: creating $ac_file" >&5
54940 echo "$as_me: creating $ac_file" >&6;}
54944 *:-:* | *:-) cat >"$tmp/stdin";;
54949 ac_dir
=`$as_dirname -- "$ac_file" ||
54950 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54951 X"$ac_file" : 'X\(//\)[^/]' \| \
54952 X"$ac_file" : 'X\(//\)$' \| \
54953 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
54955 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54959 /^X\(\/\/\)[^/].*/{
54974 -*) as_dir
=.
/$as_dir;;
54976 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
54980 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
54981 *) as_qdir
=$as_dir;;
54983 as_dirs
="'$as_qdir' $as_dirs"
54984 as_dir
=`$as_dirname -- "$as_dir" ||
54985 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54986 X"$as_dir" : 'X\(//\)[^/]' \| \
54987 X"$as_dir" : 'X\(//\)$' \| \
54988 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
54990 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
54994 /^X\(\/\/\)[^/].*/{
55007 test -d "$as_dir" && break
55009 test -z "$as_dirs" || eval "mkdir $as_dirs"
55010 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55011 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55012 { (exit 1); exit 1; }; }; }
55016 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55018 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55019 # A ".." for each directory in $ac_dir_suffix.
55020 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55021 case $ac_top_builddir_sub in
55022 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55023 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
55026 ac_abs_top_builddir
=$ac_pwd
55027 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
55028 # for backward compatibility:
55029 ac_top_builddir
=$ac_top_build_prefix
55032 .
) # We are building in place.
55034 ac_top_srcdir
=$ac_top_builddir_sub
55035 ac_abs_top_srcdir
=$ac_pwd ;;
55036 [\\/]* | ?
:[\\/]* ) # Absolute name.
55037 ac_srcdir
=$srcdir$ac_dir_suffix;
55038 ac_top_srcdir
=$srcdir
55039 ac_abs_top_srcdir
=$srcdir ;;
55040 *) # Relative name.
55041 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
55042 ac_top_srcdir
=$ac_top_build_prefix$srcdir
55043 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
55045 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
55055 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
55056 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
55060 cat >>$CONFIG_STATUS <<\_ACEOF
55061 # If the template does not know about datarootdir, expand it.
55062 # FIXME: This hack should be removed a few years after 2.60.
55063 ac_datarootdir_hack
=; ac_datarootdir_seen
=
55065 case `sed -n '/datarootdir/ {
55074 ' $ac_file_inputs` in
55075 *datarootdir
*) ac_datarootdir_seen
=yes;;
55076 *@datadir@
*|*@docdir@
*|*@infodir@
*|*@localedir@
*|*@mandir@
*)
55077 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
55078 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
55080 cat >>$CONFIG_STATUS <<_ACEOF
55081 ac_datarootdir_hack='
55082 s&@datadir@&$datadir&g
55083 s&@docdir@&$docdir&g
55084 s&@infodir@&$infodir&g
55085 s&@localedir@&$localedir&g
55086 s&@mandir@&$mandir&g
55087 s&\\\${datarootdir}&$datarootdir&g' ;;
55091 # Neutralize VPATH when `$srcdir' = `.'.
55092 # Shell code in configure.ac might set extrasub.
55093 # FIXME: do we really want to maintain this feature?
55094 cat >>$CONFIG_STATUS <<_ACEOF
55098 cat >>$CONFIG_STATUS <<\_ACEOF
55100 /@
[a
-zA-Z_][a
-zA-Z_0-9]*@
/!b
55101 s
&@configure_input@
&$configure_input&;t t
55102 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
55103 s
&@srcdir@
&$ac_srcdir&;t t
55104 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
55105 s
&@top_srcdir@
&$ac_top_srcdir&;t t
55106 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
55107 s
&@builddir@
&$ac_builddir&;t t
55108 s
&@abs_builddir@
&$ac_abs_builddir&;t t
55109 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
55110 s
&@INSTALL@
&$ac_INSTALL&;t t
55111 $ac_datarootdir_hack
55112 " $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
55114 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
55115 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
55116 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
55117 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
55118 which seems to be undefined. Please make sure it is defined." >&5
55119 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
55120 which seems to be undefined. Please make sure it is defined." >&2;}
55124 -) cat "$tmp/out"; rm -f "$tmp/out";;
55125 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
55134 # Transform confdefs.h into a sed script `conftest.defines', that
55135 # substitutes the proper values into config.h.in to produce config.h.
55136 rm -f conftest.defines conftest.
tail
55137 # First, append a space to every undef/define line, to ease matching.
55138 echo 's/$/ /' >conftest.defines
55139 # Then, protect against being on the right side of a sed subst, or in
55140 # an unquoted here document, in config.status. If some macros were
55141 # called several times there might be several #defines for the same
55142 # symbol, which is useless. But do not sort them, since the last
55143 # AC_DEFINE must be honored.
55144 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
55145 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
55146 # NAME is the cpp macro being defined, VALUE is the value it is being given.
55147 # PARAMS is the parameter list in the macro definition--in most cases, it's
55148 # just an empty string.
55149 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
55150 ac_dB
='\\)[ (].*,\\1define\\2'
55158 s/^[ ]*#[ ]*define[ ][ ]*//
55163 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
55164 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
55165 ' >>conftest.defines
55167 # Remove the space that was appended to ease matching.
55168 # Then replace #undef with comments. This is necessary, for
55169 # example, in the case of _POSIX_SOURCE, which is predefined and required
55170 # on some systems where configure will not decide to define it.
55171 # (The regexp can be short, since the line contains either #define or #undef.)
55173 s,^[ #]*u.*,/* & */,' >>conftest.defines
55175 # Break up conftest.defines:
55176 ac_max_sed_lines
=50
55178 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
55179 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
55180 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
55182 ac_in
='$ac_file_inputs'
55183 ac_out
='"$tmp/out1"'
55184 ac_nxt
='"$tmp/out2"'
55188 # Write a here document:
55189 cat >>$CONFIG_STATUS <<_ACEOF
55190 # First, check the format of the line:
55191 cat >"\$tmp/defines.sed" <<\\CEOF
55192 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
55193 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
55197 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
55199 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
55200 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
55201 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
55202 grep . conftest.
tail >/dev
/null
|| break
55203 rm -f conftest.defines
55204 mv conftest.
tail conftest.defines
55206 rm -f conftest.defines conftest.
tail
55208 echo "ac_result=$ac_in" >>$CONFIG_STATUS
55209 cat >>$CONFIG_STATUS <<\_ACEOF
55210 if test x
"$ac_file" != x
-; then
55211 echo "/* $configure_input */" >"$tmp/config.h"
55212 cat "$ac_result" >>"$tmp/config.h"
55213 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
55214 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
55215 echo "$as_me: $ac_file is unchanged" >&6;}
55218 mv "$tmp/config.h" $ac_file
55221 echo "/* $configure_input */"
55227 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
55228 echo "$as_me: executing $ac_file commands" >&6;}
55233 case $ac_file$ac_mode in
55235 mkdir -p $outdir &&
55236 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
55238 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/${TOOLCHAIN_FULLNAME} ;;
55239 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F
) chmod +x lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} ;;
55240 "utils/ifacecheck/rungccxml.sh":F
) chmod +x utils
/ifacecheck
/rungccxml.sh
;;
55241 "wx-config":C
) rm -f wx
-config
55242 ${LN_S} lib
/wx
/config
/inplace
-${TOOLCHAIN_FULLNAME} wx
-config
55249 { (exit 0); exit 0; }
55251 chmod +x
$CONFIG_STATUS
55252 ac_clean_files
=$ac_clean_files_save
55255 # configure is writing to config.log, and then calls config.status.
55256 # config.status does its own redirection, appending to config.log.
55257 # Unfortunately, on DOS this fails, as config.log is still kept open
55258 # by configure, so config.status won't be able to write to it; its
55259 # output is simply discarded. So we exec the FD to /dev/null,
55260 # effectively closing config.log, so it can be properly (re)opened and
55261 # appended to by config.status. When coming back to configure, we
55262 # need to make the FD available again.
55263 if test "$no_create" != yes; then
55265 ac_config_status_args
=
55266 test "$silent" = yes &&
55267 ac_config_status_args
="$ac_config_status_args --quiet"
55269 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
55271 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
55272 # would make configure fail if this is the last instruction.
55273 $ac_cs_success || { (exit 1); exit 1; }
55277 # CONFIG_SUBDIRS section.
55279 if test "$no_recursion" != yes; then
55281 # Remove --cache-file and --srcdir arguments so they do not pile up.
55282 ac_sub_configure_args
=
55284 eval "set x $ac_configure_args"
55288 if test -n "$ac_prev"; then
55293 -cache-file | --cache-file | --cache-fil | --cache-fi \
55294 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
55295 ac_prev
=cache_file
;;
55296 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
55297 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
55300 --config-cache | -C)
55302 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
55304 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
55306 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
55308 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
55312 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55314 ac_sub_configure_args
="$ac_sub_configure_args '$ac_arg'" ;;
55318 # Always prepend --prefix to ensure using the same prefix
55319 # in subdir configurations.
55320 ac_arg
="--prefix=$prefix"
55322 *\'*) ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
55324 ac_sub_configure_args
="'$ac_arg' $ac_sub_configure_args"
55327 if test "$silent" = yes; then
55328 ac_sub_configure_args
="--silent $ac_sub_configure_args"
55332 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
55334 # Do not complain, so a configure script can configure whichever
55335 # parts of a large source tree are present.
55336 test -d "$srcdir/$ac_dir" || continue
55338 ac_msg
="=== configuring in $ac_dir (`pwd`/$ac_dir)"
55339 echo "$as_me:$LINENO: $ac_msg" >&5
55343 -*) as_dir
=.
/$as_dir;;
55345 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
55349 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
55350 *) as_qdir
=$as_dir;;
55352 as_dirs
="'$as_qdir' $as_dirs"
55353 as_dir
=`$as_dirname -- "$as_dir" ||
55354 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
55355 X"$as_dir" : 'X\(//\)[^/]' \| \
55356 X"$as_dir" : 'X\(//\)$' \| \
55357 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
55359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
55363 /^X\(\/\/\)[^/].*/{
55376 test -d "$as_dir" && break
55378 test -z "$as_dirs" || eval "mkdir $as_dirs"
55379 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
55380 echo "$as_me: error: cannot create directory $as_dir" >&2;}
55381 { (exit 1); exit 1; }; }; }
55385 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55387 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
55388 # A ".." for each directory in $ac_dir_suffix.
55389 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
55390 case $ac_top_builddir_sub in
55391 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
55392 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
55395 ac_abs_top_builddir
=$ac_pwd
55396 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
55397 # for backward compatibility:
55398 ac_top_builddir
=$ac_top_build_prefix
55401 .
) # We are building in place.
55403 ac_top_srcdir
=$ac_top_builddir_sub
55404 ac_abs_top_srcdir
=$ac_pwd ;;
55405 [\\/]* | ?
:[\\/]* ) # Absolute name.
55406 ac_srcdir
=$srcdir$ac_dir_suffix;
55407 ac_top_srcdir
=$srcdir
55408 ac_abs_top_srcdir
=$srcdir ;;
55409 *) # Relative name.
55410 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
55411 ac_top_srcdir
=$ac_top_build_prefix$srcdir
55412 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
55414 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
55419 # Check for guested configure; otherwise get Cygnus style configure.
55420 if test -f "$ac_srcdir/configure.gnu"; then
55421 ac_sub_configure
=$ac_srcdir/configure.gnu
55422 elif test -f "$ac_srcdir/configure"; then
55423 ac_sub_configure
=$ac_srcdir/configure
55424 elif test -f "$ac_srcdir/configure.in"; then
55425 # This should be Cygnus configure.
55426 ac_sub_configure
=$ac_aux_dir/configure
55428 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
55429 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
55433 # The recursion is here.
55434 if test -n "$ac_sub_configure"; then
55435 # Make the cache file name correct relative to the subdirectory.
55436 case $cache_file in
55437 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
55438 *) # Relative name.
55439 ac_sub_cache_file
=$ac_top_build_prefix$cache_file ;;
55442 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
55443 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
55444 # The eval makes quoting arguments work.
55445 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
55446 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
55447 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
55448 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
55449 { (exit 1); exit 1; }; }
55458 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
55460 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
55461 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
55462 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
55463 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
55464 if test "$wxUSE_UNICODE" = "yes"; then
55465 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
55466 echo " (using UTF-8)"
55468 echo " (using wchar_t)"
55474 echo " What level of wxWidgets compatibility should be enabled?"
55475 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
55476 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
55478 echo " Which libraries should wxWidgets use?"
55479 echo " STL ${wxUSE_STL}"
55480 echo " jpeg ${wxUSE_LIBJPEG-none}"
55481 echo " png ${wxUSE_LIBPNG-none}"
55482 echo " regex ${wxUSE_REGEX}"
55483 echo " tiff ${wxUSE_LIBTIFF-none}"
55484 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
55485 echo " xpm ${wxUSE_LIBXPM-none}"
55487 echo " zlib ${wxUSE_ZLIB}"
55488 echo " expat ${wxUSE_EXPAT}"
55489 echo " libmspack ${wxUSE_LIBMSPACK}"
55490 echo " sdl ${wxUSE_LIBSDL}"